diff options
author | Alan Modra <amodra@gmail.com> | 2010-06-25 05:20:57 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2010-06-25 05:20:57 +0000 |
commit | ba761f19f5658feaff39b69c0bdc84b8716cd3f9 (patch) | |
tree | 16f9055ee52f67720a5b6b08bbb90d2b24ce6419 /include/elf/ppc64.h | |
parent | bded3693aef88c180260497e078c57d5e86a9ea4 (diff) | |
download | binutils-gdb-ba761f19f5658feaff39b69c0bdc84b8716cd3f9.tar.gz |
include/elf/
* ppc64.h (R_PPC64_LO_DS_OPT): Define.
bfd/
* elf64-ppc.c (toc_skip_enum): Define.
(ppc64_elf_edit_toc): Use two low bits of skip array as markers.
Optimize largetoc sequences.
(adjust_toc_syms): Update for skip array change.
(ppc64_elf_relocate_section): Handle R_PPC64_LO_DS_OPT.
ld/
* emultempl/ppc64elf.em (prelim_size_sections): New function.
(ppc_before_allocation): Use it. Size sections before toc edit too.
Diffstat (limited to 'include/elf/ppc64.h')
-rw-r--r-- | include/elf/ppc64.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/elf/ppc64.h b/include/elf/ppc64.h index dfd775da1c4..a18edd68fce 100644 --- a/include/elf/ppc64.h +++ b/include/elf/ppc64.h @@ -140,6 +140,10 @@ START_RELOC_NUMBERS (elf_ppc64_reloc_type) RELOC_NUMBER (R_PPC64_TLSGD, 107) RELOC_NUMBER (R_PPC64_TLSLD, 108) +#ifndef RELOC_MACROS_GEN_FUNC +/* Fake relocation only used internally by ld. */ + RELOC_NUMBER (R_PPC64_LO_DS_OPT, 128) +#endif /* Support STT_GNU_IFUNC plt calls. */ RELOC_NUMBER (R_PPC64_JMP_IREL, 247) RELOC_NUMBER (R_PPC64_IRELATIVE, 248) |