[patch] Allow -mcmodel=large for x86-64 target

Frank van der Linden fvdl@wasabisystems.com
Sat Dec 29 19:30:00 GMT 2001


Hi Jan,

On Sat, Dec 29, 2001 at 11:53:34PM +0100, Jan Hubicka wrote:
> Other possibility is the medium model - or I may hack together the mediumkernel
> model allowing code in the negative 32bits and rest anywhere, but I would
> preffer to not introduce such thing to gcc unless there is real need for it.
> Medium code model produce longer and slower code, so it is better to fit
> in kernel one. It is usually not that dificult as it looks, since while
> x86_64 vm works in "signed" way.

I fully understand why using the normal kernel memory model is preferable,
however, the large code model does actually work; I can compile NetBSD
kernels with it and they appear quite stable. So, why not allow people to
use it? If someone really wants to use it -- hey, it's their responsbility
(well, mine in this case ;-))

- Frank

-- 
Frank van der Linden                           fvdl@wasabisystems.com
======================================================================
Quality NetBSD CDs, Support & Service.   http://www.wasabisystems.com/



More information about the Gcc-patches mailing list