mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-15 15:06:42 +00:00
Add -msoft-float to COPTS to stop GCC attempting to be "smart" and using
floating point registers for various optimisation tweaks.
This commit is contained in:
parent
651974ee92
commit
00267919e1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78874
@ -60,7 +60,7 @@ INCLUDES+= -I$S/../include
|
||||
INCLUDES+= -I/usr/include
|
||||
.endif
|
||||
|
||||
COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -include opt_global.h
|
||||
COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -D__ELF__ -D__FreeBSD__ -include opt_global.h -msoft-float
|
||||
CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}
|
||||
|
||||
# XXX LOCORE means "don't declare C stuff" not "for locore.s".
|
||||
|
@ -17,6 +17,7 @@ powerpc/powerpc/clock.c standard
|
||||
powerpc/powerpc/copyinstr.c standard
|
||||
powerpc/powerpc/copystr.c standard
|
||||
powerpc/powerpc/elf_machdep.c standard
|
||||
powerpc/powerpc/extintr.c standard
|
||||
powerpc/powerpc/fubyte.c standard
|
||||
powerpc/powerpc/fuswintr.c standard
|
||||
powerpc/powerpc/fuword.c standard
|
||||
@ -34,6 +35,11 @@ powerpc/powerpc/swtch.s standard
|
||||
powerpc/powerpc/trap.c standard
|
||||
powerpc/powerpc/vm_machdep.c standard
|
||||
|
||||
powerpc/powerpc/db_disasm.c optional ddb
|
||||
powerpc/powerpc/db_interface.c optional ddb
|
||||
powerpc/powerpc/db_memrw.c optional ddb
|
||||
powerpc/powerpc/db_trace.c optional ddb
|
||||
|
||||
dev/ofw/openfirm.c standard
|
||||
dev/ofw/ofw_console.c standard
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user