Re: [PATCH] x86/purgatory: Switch to the position-independent small code model

From: Michael Matz
Date: Mon Apr 29 2024 - 08:05:24 EST


Hello,

On Sat, 20 Apr 2024, Borislav Petkov wrote:

> Interesting. I thought gcc doesn't have problems here yet and was
> talking to Matz on Thu about it and it seems he's forgotten about his
> statement too that "you should simply stop using -mcmodel=large. Noone
> should use it." :-)

It may be so ingrained in my brain that I'm not _always_ saying it when
talking about the large code model over a beer. And indeed I know of no
particular problems with it vis GCC, but that doesn't mean it's a good
idea to use :-)

So once again: "everyone should simply stop using -mcmodel=large. Noone
should use it."

So the patch goes strictly into the direction of betterment of the
universe. :)


Ciao,
Michael.