Correct reloc section name
* elf.c (_bfd_elf_assign_file_positions_for_non_load): Use .rela prefix for reloc section corresponding to rela section associated with renamed debug section.
This commit is contained in:
parent
2fb9328d8d
commit
91cb26dac4
|
@ -1,3 +1,9 @@
|
||||||
|
2015-07-24 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* elf.c (_bfd_elf_assign_file_positions_for_non_load): Use .rela
|
||||||
|
prefix for reloc section corresponding to rela section associated
|
||||||
|
with renamed debug section.
|
||||||
|
|
||||||
2015-07-24 Alan Modra <amodra@gmail.com>
|
2015-07-24 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* section.c (bfd_get_section_by_name_if): Iterate over entire hash
|
* section.c (bfd_get_section_by_name_if): Iterate over entire hash
|
||||||
|
|
|
@ -5654,7 +5654,7 @@ _bfd_elf_assign_file_positions_for_non_load (bfd *abfd)
|
||||||
if (d->rela.hdr
|
if (d->rela.hdr
|
||||||
&& !_bfd_elf_set_reloc_sh_name (abfd,
|
&& !_bfd_elf_set_reloc_sh_name (abfd,
|
||||||
d->rela.hdr,
|
d->rela.hdr,
|
||||||
name, FALSE))
|
name, TRUE))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
/* Update section size and contents. */
|
/* Update section size and contents. */
|
||||||
|
|
Loading…
Reference in New Issue