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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to