PATCH: PR ld/4504: Copy relocation doesn't preserve section alignment
l l
happyarch@gmail.com
Mon May 14 23:41:00 GMT 2007
Hi,
I just checked up the CVS, but your patch doesn't applied.
Why so?
TIA
2007/5/15, H. J. Lu <hjl@lucon.org>:
> On Mon, May 14, 2007 at 12:52:44PM -0700, H. J. Lu wrote:
> > This patch fixes the longstanding ELF linker bug by applying
> > the maximum alignment to all symbols needing copy relocation. We
> > can get the maximum alignment from the section alignment where
> > they are defined.
> >
> >
>
> Here are an updated patch and a testcase patch.
>
> There may be more than one shared libraries with different section
> alignments. The alignment of .dynbss is the maximum alignment among
> all section alignments. When we align the symbol in .dynbss, we only
> need to apply the current section alignment, not the maximum alignment
> of .dynbss.
>
>
> H.J.
> ---
>
>
More information about the Binutils
mailing list