This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: linux and EGCS PATCH
- To: "Martin.Dalecki" <dalecki at u23 dot num dot math dot uni-goettingen dot de>
- Subject: Re: linux and EGCS PATCH
- From: Linus Torvalds <torvalds at transmeta dot com>
- Date: Fri, 5 Dec 1997 09:52:45 -0800 (PST)
- cc: egcs at cygnus dot com, linux kernel <linux-kernel at vger dot rutgers dot edu>
On Fri, 5 Dec 1997, Martin.Dalecki wrote:
>
> The following little patch resolvs the compilation problems for the linux
> kernel with the just releases egcs-1.0 compiler. It seems to be correct
> anyway.
I much prefer to just mark the "load_ldt()" asm as volatile, or as
changing memory. Both of those should correctly tell egcs that it
shouldn't move the ldt loading to before the ldt is set up completely.
Good to see that egcs seems to be much more aggressive at these things, as
far as I can tell egcs did the right thing given the constraints it had.
Linus