svn commit: r337927 - head/stand/libsa

Warner Losh imp at FreeBSD.org
Thu Aug 16 19:39:03 UTC 2018


Author: imp
Date: Thu Aug 16 19:39:02 2018
New Revision: 337927
URL: https://svnweb.freebsd.org/changeset/base/337927

Log:
  Add ashldi3 and ashrdi3 to mips.
  
  Now that we're using -Os, mips needs these routines.

Modified:
  head/stand/libsa/Makefile

Modified: head/stand/libsa/Makefile
==============================================================================
--- head/stand/libsa/Makefile	Thu Aug 16 19:28:44 2018	(r337926)
+++ head/stand/libsa/Makefile	Thu Aug 16 19:39:02 2018	(r337927)
@@ -77,6 +77,11 @@ SRCS+=	ashldi3.c ashrdi3.c
 SRCS+=	syncicache.c
 .endif
 
+.if ${MACHINE_CPUARCH} == "mips"
+.PATH: ${LIBC_SRC}/quad
+SRCS+=	ashldi3.c ashrdi3.c
+.endif
+
 # uuid functions from libc
 .PATH: ${LIBC_SRC}/uuid
 SRCS+= uuid_create_nil.c uuid_equal.c uuid_from_string.c uuid_is_nil.c uuid_to_string.c


More information about the svn-src-head mailing list