summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2011-02-18 21:44:53 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2011-02-18 21:44:53 +0000
commit699ef3129bdda98a0a0164e4d221a0273dfc24d8 (patch)
treee069082d5276eb511e5621c24cb299f4d260312d /sys/conf
parent58abb279f50d5ad9fbad30a39da04296664ec6cb (diff)
downloadFreeBSD-src-699ef3129bdda98a0a0164e4d221a0273dfc24d8.zip
FreeBSD-src-699ef3129bdda98a0a0164e4d221a0273dfc24d8.tar.gz
Turn off default generation of userland dot symbols on powerpc64 now that
we have a binutils that supports it. Kernel dot symbols remain on to assist DDB.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kern.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index 8d01660..01b1438 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -82,6 +82,13 @@ INLINE_LIMIT?= 15000
.endif
#
+# Use dot symbols on powerpc64 to make ddb happy
+#
+.if ${MACHINE_ARCH} == "powerpc64"
+CFLAGS+= -mcall-aixdesc
+.endif
+
+#
# For MIPS we also tell gcc to use floating point emulation
#
.if ${MACHINE_CPUARCH} == "mips"
OpenPOWER on IntegriCloud