diff options
author | benno <benno@FreeBSD.org> | 2001-06-27 12:10:25 +0000 |
---|---|---|
committer | benno <benno@FreeBSD.org> | 2001-06-27 12:10:25 +0000 |
commit | 3c1cfd03761af94cfef4a61852e6822322453a31 (patch) | |
tree | f587cf191052a7f7d1fa9a7632c130fd5a94945d /sys/conf | |
parent | 22f14eaadfe2f54e3d94f9a549dbb55a301222e1 (diff) | |
download | FreeBSD-src-3c1cfd03761af94cfef4a61852e6822322453a31.zip FreeBSD-src-3c1cfd03761af94cfef4a61852e6822322453a31.tar.gz |
Add -msoft-float to COPTS to stop GCC attempting to be "smart" and using
floating point registers for various optimisation tweaks.
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/Makefile.powerpc | 2 | ||||
-rw-r--r-- | sys/conf/files.powerpc | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index a9ff126..bd6f1fa 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -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". diff --git a/sys/conf/files.powerpc b/sys/conf/files.powerpc index 8422147..225fb95 100644 --- a/sys/conf/files.powerpc +++ b/sys/conf/files.powerpc @@ -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 |