aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/kern.mk
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2020-02-03 17:35:11 +0000
committerWarner Losh <imp@FreeBSD.org>2020-02-03 17:35:11 +0000
commit58aa35d42975c298ca0adba705c042596303c9f5 (patch)
tree2558d2b720cda9c2799970cabc266e2ce4e3a8d3 /sys/conf/kern.mk
parenteb24e1491f9900e922c78e53af588f22a3e9535f (diff)
downloadsrc-58aa35d42975c298ca0adba705c042596303c9f5.tar.gz
src-58aa35d42975c298ca0adba705c042596303c9f5.zip
Remove sparc64 kernel support
Remove all sparc64 specific files Remove all sparc64 ifdefs Removee indireeect sparc64 ifdefs
Notes
Notes: svn path=/head/; revision=357455
Diffstat (limited to 'sys/conf/kern.mk')
-rw-r--r--sys/conf/kern.mk13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index 1e29b58663d4..56c0e76c25f6 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -154,18 +154,6 @@ CFLAGS+= -mno-relax
.endif
#
-# For sparc64 we want the medany code model so modules may be located
-# anywhere in the 64-bit address space. We also tell GCC to use floating
-# point emulation. This avoids using floating point registers for integer
-# operations which it has a tendency to do.
-#
-.if ${MACHINE_CPUARCH} == "sparc64"
-CFLAGS.clang+= -mcmodel=large -fno-dwarf2-cfi-asm
-CFLAGS.gcc+= -mcmodel=medany -msoft-float
-INLINE_LIMIT?= 15000
-.endif
-
-#
# For AMD64, we explicitly prohibit the use of FPU, SSE and other SIMD
# operations inside the kernel itself. These operations are exclusively
# reserved for user applications.
@@ -315,5 +303,4 @@ LD_EMULATION_powerpc= elf32ppc_fbsd
LD_EMULATION_powerpcspe= elf32ppc_fbsd
LD_EMULATION_powerpc64= elf64ppc_fbsd
LD_EMULATION_riscv64= elf64lriscv
-LD_EMULATION_sparc64= elf64_sparc_fbsd
LD_EMULATION=${LD_EMULATION_${MACHINE_ARCH}}