diff options
author | Cupertino Miranda <cmiranda@synopsys.com> | 2016-07-13 18:04:20 +0200 |
---|---|---|
committer | Cupertino Miranda <cmiranda@synopsys.com> | 2016-08-26 12:09:17 +0200 |
commit | 8a36df4dcfa3cb89779e1a3eaca8067426e9cad6 (patch) | |
tree | 160ca14c5636a8cc87f0bb352d1e5a98d2c71c34 /bfd/elf-bfd.h | |
parent | 4dd72ffdfe254fec30fd5eab0c5fd4445df73529 (diff) | |
download | gdb-8a36df4dcfa3cb89779e1a3eaca8067426e9cad6.zip gdb-8a36df4dcfa3cb89779e1a3eaca8067426e9cad6.tar.gz gdb-8a36df4dcfa3cb89779e1a3eaca8067426e9cad6.tar.bz2 |
Several fixes related to ARC PIE support.
Fixed conditions related to dynamic relocs relative offset patching.
Added arc_link_hash_table to be able to always generate and track
.rela.bss section.
bfd/ChangeLog:
Cupertino Miranda <cmiranda@synopsys.com>
* elf-bfd.h: Added ARC_ELF_DATA to enum elf_target_id.
* elf32-arc.c (struct elf_arc_link_hash_entry): Added.
(struct elf_arc_link_hash_table): Likewise.
(elf_arc_link_hash_newfunc): Likewise.
(elf_arc_link_hash_table_free): Likewise.
(arc_elf_link_hash_table_create): Likewise.
(elf_arc_relocate_section): Fixed conditions related to dynamic
(elf_arc_check_relocs): Likewise.
(arc_elf_create_dynamic_sections): Added
(elf_arc_adjust_dynamic_symbol): Changed access to .rela.bss to be done
through the hash table.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 424ea30..d18df17 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -444,6 +444,7 @@ enum elf_target_id { AARCH64_ELF_DATA = 1, ALPHA_ELF_DATA, + ARC_ELF_DATA, ARM_ELF_DATA, AVR_ELF_DATA, BFIN_ELF_DATA, |