This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: PATCH: Fix the linker script support
- From: "H . J . Lu" <hjl at lucon dot org>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: GNU C Library <libc-alpha at sources dot redhat dot com>
- Date: Thu, 17 Jan 2002 15:05:02 -0800
- Subject: Re: PATCH: Fix the linker script support
- References: <20020117125345.A4665@lucon.org> <m33d14bncs.fsf@myware.mynet>
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.