From 3c1cfd03761af94cfef4a61852e6822322453a31 Mon Sep 17 00:00:00 2001 From: benno Date: Wed, 27 Jun 2001 12:10:25 +0000 Subject: Add -msoft-float to COPTS to stop GCC attempting to be "smart" and using floating point registers for various optimisation tweaks. --- sys/conf/Makefile.powerpc | 2 +- sys/conf/files.powerpc | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'sys/conf') 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 -- cgit v1.1