Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2003 16:36:03 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 28461 for review
Message-ID:  <200304072336.h37Na3xa048094@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=28461

Change 28461 by peter@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.
 #



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304072336.h37Na3xa048094>