This is the mail archive of the
mailing list for the binutils project.
Re: [patch 2/9] Nios II port, bfd support
On Wed, Jan 30, 2013 at 02:17:37PM -0700, Sandra Loosemore wrote:
> On 01/28/2013 06:50 PM, Alan Modra wrote:
> >>+ case DT_PLTGOT:
> >>+ name = ".got";
> >>+ goto get_vma;
> >>+ case DT_JMPREL:
> >>+ name = ".rela.plt";
> >>+ get_vma:
> >>+ s = bfd_get_section_by_name (output_bfd, name);
> >elf hash table, srelgot and srelplt.
> I assume sgot rather than srelgot is intended for the first one,
Oh yeah, sorry.
> but.... making this change horribly broke all execution tests for
> the GNU/Linux target. The original code is returning sections in
> the output bfd, while the suggested changes return different
> sections owned by one of the input bfds. Looking at the output from
See eg. elf32-i386.c setting of DT_PLTGOT.
Australia Development Lab, IBM