aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-05-12 23:59:26 +0930
committerAlan Modra <amodra@gmail.com>2016-05-13 00:17:19 +0930
commit1997c9943a1979a7407f3c70ead92493a799e13e (patch)
tree3fc21aa19c361af9bcad48f47ccb7aa8771363f9 /bfd/elf-bfd.h
parent001c250f57f5ef42189de5391db9eac9225b5971 (diff)
downloadgdb-1997c9943a1979a7407f3c70ead92493a799e13e.zip
gdb-1997c9943a1979a7407f3c70ead92493a799e13e.tar.gz
gdb-1997c9943a1979a7407f3c70ead92493a799e13e.tar.bz2
ld -z combreloc reloc sorting
PLT relocs don't appear in .rela.dyn, at least not when using normal linker scripts. However, if they do, then they ought to be placed last rather than in the middle of other relocs. * elf-bfd.h (elf_reloc_type_class): Put reloc_class_plt last.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 863fc39..fc552ad 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -703,9 +703,9 @@ struct elf_size_info {
enum elf_reloc_type_class {
reloc_class_normal,
reloc_class_relative,
- reloc_class_plt,
reloc_class_copy,
- reloc_class_ifunc
+ reloc_class_ifunc,
+ reloc_class_plt
};
struct elf_reloc_cookie