diff options
author | Alan Modra <amodra@gmail.com> | 2016-05-13 11:34:56 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-05-13 14:34:45 +0930 |
commit | c8e44c6d168f8e68b7bbb1119065e0059a16fe34 (patch) | |
tree | 5914ed6dc158389ab6ef298841c4904f2d74f842 /bfd/elf-m10300.c | |
parent | add39d2344036db9334bdeb1ec20a90beaa3ca49 (diff) | |
download | gdb-c8e44c6d168f8e68b7bbb1119065e0059a16fe34.zip gdb-c8e44c6d168f8e68b7bbb1119065e0059a16fe34.tar.gz gdb-c8e44c6d168f8e68b7bbb1119065e0059a16fe34.tar.bz2 |
ld -z combreloc elf_link_sort_relocs
A linker script may put .rela.plt in with other .rela.dyn relocs.
The change to elf_reloc_type_class puts any PLT relocs last. This
patch makes the input section layout better match the sorted relocs.
* elflink.c (elf_link_sort_relocs): Wrap overlong lines. Fix
octets_per_byte. Put dynamic .rela.plt last in link orders.
Assign output_offset for reloc sections rather than writing
sorted relocs from block corresponding to output_offset.
Diffstat (limited to 'bfd/elf-m10300.c')
0 files changed, 0 insertions, 0 deletions