summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2008-09-20 11:28:42 +0000
committermarius <marius@FreeBSD.org>2008-09-20 11:28:42 +0000
commit61259ef0e1700bc23ad0d759ed93007e27fe1f09 (patch)
tree5d41beb34f67e2d745fd7079fd0b73949504e767 /sys
parent5f0e19e7dfea53f7e3b21d64021a42f35ee2d45f (diff)
downloadFreeBSD-src-61259ef0e1700bc23ad0d759ed93007e27fe1f09.zip
FreeBSD-src-61259ef0e1700bc23ad0d759ed93007e27fe1f09.tar.gz
Some of the assembly files depend on v9a/v9b-only instructions so
compile these with -mcpu=ultrasparc (which is the hard-coded default of our system compiler), which allows the remainder of the kernel to be compiled with "only" -mcpu=v9 for reference and testing purposes.
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/files.sparc6411
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/conf/files.sparc64 b/sys/conf/files.sparc64
index d51f3d4..33d7df0 100644
--- a/sys/conf/files.sparc64
+++ b/sys/conf/files.sparc64
@@ -100,20 +100,23 @@ sparc64/sparc64/db_trace.c optional ddb
sparc64/sparc64/db_hwwatch.c optional ddb
sparc64/sparc64/dump_machdep.c standard
sparc64/sparc64/elf_machdep.c standard
-sparc64/sparc64/exception.S standard no-obj
+sparc64/sparc64/exception.S standard no-obj \
+ compile-with "${NORMAL_S} -mcpu=ultrasparc"
sparc64/sparc64/eeprom.c optional eeprom ebus | eeprom fhc | \
eeprom sbus
sparc64/sparc64/gdb_machdep.c optional gdb
sparc64/sparc64/identcpu.c standard
sparc64/sparc64/in_cksum.c optional inet
-sparc64/sparc64/interrupt.S standard no-obj
+sparc64/sparc64/interrupt.S standard no-obj \
+ compile-with "${NORMAL_S} -mcpu=ultrasparc"
sparc64/sparc64/intr_machdep.c standard
sparc64/sparc64/iommu.c standard
sparc64/sparc64/jbusppm.c standard
sparc64/sparc64/locore.S standard no-obj
sparc64/sparc64/machdep.c standard
sparc64/sparc64/mem.c optional mem
-sparc64/sparc64/mp_exception.S optional smp
+sparc64/sparc64/mp_exception.S optional smp \
+ compile-with "${NORMAL_S} -mcpu=ultrasparc"
sparc64/sparc64/mp_locore.S optional smp
sparc64/sparc64/mp_machdep.c optional smp
sparc64/sparc64/nexus.c standard
@@ -127,6 +130,8 @@ sparc64/sparc64/sc_machdep.c optional sc
sparc64/sparc64/schppm.c standard
sparc64/sparc64/spitfire.c standard
sparc64/sparc64/stack_machdep.c optional ddb | stack
+sparc64/sparc64/support.S standard \
+ compile-with "${NORMAL_S} -mcpu=ultrasparc"
sparc64/sparc64/support.S standard
sparc64/sparc64/sys_machdep.c standard
sparc64/sparc64/swtch.S standard
OpenPOWER on IntegriCloud