PATCH: Fix the linker script support

H . J . Lu hjl@lucon.org
Thu Jan 17 15:05:00 GMT 2002


On Thu, Jan 17, 2002 at 02:53:55PM -0800, Ulrich Drepper wrote:
> "H . J . Lu" <hjl@lucon.org> writes:
> 
> > Not all linker scripts have ". = 0 + SIZEOF_HEADERS". Here is a patch.
> 
> How about unifying the linker scripts?  If this isn't done we'll end
> up with more and more changes like this.  There is no reason to write
> 
>    . = 0x00000
> 

In case of mips, it is

	. = 0x0 + SIZEOF_HEADERS;

> instead of
> 
>    . = 0
> 
> The latter seems to be used predominantly so you could simply change
> the MIPS linker script and be done.

I don't believe we should force people to upgrade ld just because
glibc can't handle the extra `0x'.


H.J.



More information about the Libc-alpha mailing list