diff options
author | grehan <grehan@FreeBSD.org> | 2003-12-10 13:11:03 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2003-12-10 13:11:03 +0000 |
commit | 5472a7b2d252628e26327a3525e083fa0c9f7aac (patch) | |
tree | 7b4c974a9487df5884bf5e81f509c10be2f15923 /lib/libstand | |
parent | 6a92ab4ec16c90f3fef327f229887f868e6216f5 (diff) | |
download | FreeBSD-src-5472a7b2d252628e26327a3525e083fa0c9f7aac.zip FreeBSD-src-5472a7b2d252628e26327a3525e083fa0c9f7aac.tar.gz |
PowerPC-conditional changes:
- include ashldi3.c/ashrdi3.c from libc for UFS 64-bit arith
- pull in syncicache.c from libc, and define _STANDALONE for
loader usage
Diffstat (limited to 'lib/libstand')
-rw-r--r-- | lib/libstand/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile index 0ab312d..f73def7 100644 --- a/lib/libstand/Makefile +++ b/lib/libstand/Makefile @@ -22,7 +22,7 @@ CFLAGS+= -mno-fp-regs CFLAGS+= -mpreferred-stack-boundary=2 .endif .if ${MACHINE_ARCH} == "powerpc" -CFLAGS+= -msoft-float +CFLAGS+= -msoft-float -D_STANDALONE .endif .if ${MACHINE_ARCH} == "amd64" CFLAGS+= -m32 @@ -112,6 +112,12 @@ SRCS+= bcmp.c bcopy.S bzero.S ffs.S index.c memccpy.c memchr.c memcmp.c \ SRCS+= __divdi3.S __divsi3.S __moddi3.S __modsi3.S SRCS+= __udivdi3.S __udivsi3.S __umoddi3.S __umodsi3.S .endif +.if ${MACHINE_ARCH} == "powerpc" +.PATH: ${.CURDIR}/../libc/quad +SRCS+= ashldi3.c ashrdi3.c +.PATH: ${.CURDIR}/../libc/powerpc/gen +SRCS+= syncicache.c +.endif # _setjmp/_longjmp .if ${MACHINE_ARCH} == "amd64" |