PERFORCE change 28461 for review
Peter Wemm
peter at FreeBSD.org
Mon Apr 7 16:36:05 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=28461
Change 28461 by peter at peter_daintree on 2003/04/07 16:35:32
use -mcmodel=medium for hammer. Otherwise it generates
32 bit instructions for things like invltlb(). kernel model
comes later.
Affected files ...
.. //depot/projects/hammer/sys/conf/kern.mk#3 edit
Differences ...
==== //depot/projects/hammer/sys/conf/kern.mk#3 (text+ko) ====
@@ -53,6 +53,14 @@
.endif
#
+# For AMD x86-64, use a medium model for now. We'll switch to "kernel"
+# once pmap is ready.
+#
+.if ${MACHINE_ARCH} == "x86_64"
+CFLAGS+= -mcmodel=medium
+.endif
+
+#
# GCC 3.0 and above like to do certain optimizations based on the
# assumption that the program is linked against libc. Stop this.
#
More information about the p4-projects
mailing list