Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Apr 2003 10:23:56 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Peter Wemm <peter@FreeBSD.org>
Cc:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   RE: PERFORCE change 28461 for review
Message-ID:  <XFMail.20030408102356.jhb@FreeBSD.org>
In-Reply-To: <200304072336.h37Na3xa048094@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 07-Apr-2003 Peter Wemm wrote:
> 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.

Side topic: are we going to call it amd64 some day instead of x86-64?

> 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.
>  #

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



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