This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Fix ld for ELF/PPC
On Mon, Sep 30, 2002 at 11:00:26AM +0930, Alan Modra wrote:
> On Sun, Sep 29, 2002 at 05:01:40PM -0700, H. J. Lu wrote:
> > * ld/emulparams/elf32ppclinux.sh (OTHER_GOT_RELOC_SECTIONS): New.
>
> The elf32ppc.sh change is OK, but this one is hardly necessary since
> elf32ppclinux.sh sources elf32ppc.sh.
>
> Also, I'm about to commit a more comprehensive fix.
>
> * emultempl/elf32.em (output_rel_find): Always place orphan loadable
> reloc sections just before .rel.plt/.rela.plt.
Shouldn't the ".plt" be replaced by some macro, defaulting to ".plt" but
changeable by target scripts?
E.g. IA-64 names that section .rela.IA-64.pltoff, some other arch might
have another confusing name.
Jakub