pre egcs-1.1 testing and Linux 2.1.x

Dax Kelson (dkelson@inconnect.com)
Fri, 21 Aug 1998 23:12:08 -0600 (MDT)



---------- Forwarded message ----------
Date: Fri, 21 Aug 1998 14:24:54 -0600
From: Jeffrey A Law <law@cygnus.com>
To: Andi Kleen <ak@muc.de>
Cc: H.J. Lu <hjl@lucon.org>,
manfred@s-direktnet.de,
Manfred.Hollstein@ks.sel.alcatel.de,
egcs@cygnus.com
Subject: Re: egcs-1.1 status

In message <19980821221249.A16758@kali.lrz-muenchen.de>you write:
> I was refering to 2.1 kernels. There were some fixes in 2.1, but it seems t hey
> were not enough to make it work in all cases. If you look at
> include/asm-i386/string.h in a Linux installation you'll see that it is
> rather hairy asm code, that is why I suggested to replace the non speed
> critical things with C functions.

Oh. Someone would have to take a very careful look at them to see
if they're really correct.

> A new problem that just has appeared today is that Linux 2.1 uses
> __attribute__((regparm)) for some critical functions, and at least egcs 1.0
> seems to have problems to generate correct code with this in all cases.

Oh god. Please stop them from doing this. regparm does not work on
the x86 and will never work correctly on the x86. They're just going
to shoot themselves in the foot.

jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html