Add ashldi3 and ashrdi3 to mips.

Now that we're using -Os, mips needs these routines.
This commit is contained in:
Warner Losh 2018-08-16 19:39:02 +00:00
parent f0af0b312f
commit bd7c104abf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=337927

View File

@ -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