This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Avoid relocation in fptr code used by rtld.
- From: Ulrich Drepper <drepper at gmail dot com>
- To: "Carlos O'Donell" <carlos at codesourcery dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Wed, 6 Jul 2011 22:40:30 -0400
- Subject: Re: [PATCH] Avoid relocation in fptr code used by rtld.
- References: <4DE53C5B.80901@codesourcery.com>
On Tue, May 31, 2011 at 15:07, Carlos O'Donell <carlos@codesourcery.com> wrote:
> The fptr code as written causes a relocation against the rtld's text section
> to fixup the value written into local.root (elf/dl-fptr.c).
Why would this write into the text section? local is not const and
therefore is placed in the data segment.
If PA does something even more stupid than ia64 then contain this to
the PA code.