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
This commit is contained in:
parent
6a92ab4ec1
commit
5472a7b2d2
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user