diff options
author | Warner Losh <imp@FreeBSD.org> | 2018-08-16 19:39:02 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2018-08-16 19:39:02 +0000 |
commit | bd7c104abfb7772b0da1c8c0ff4e30ff109390e0 (patch) | |
tree | 6d309a92057d53ecc8db7a10be2d02136cfc540f /stand | |
parent | f0af0b312fd38c5ca57c35d30383f3d3e655a6f8 (diff) | |
download | src-bd7c104abfb7772b0da1c8c0ff4e30ff109390e0.tar.gz src-bd7c104abfb7772b0da1c8c0ff4e30ff109390e0.zip |
Add ashldi3 and ashrdi3 to mips.
Now that we're using -Os, mips needs these routines.
Notes
Notes:
svn path=/head/; revision=337927
Diffstat (limited to 'stand')
-rw-r--r-- | stand/libsa/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stand/libsa/Makefile b/stand/libsa/Makefile index 0fd5273d0549..2158a5447454 100644 --- a/stand/libsa/Makefile +++ b/stand/libsa/Makefile @@ -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 |