+2020-06-04 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elfxx-x86.h (elf_x86_link_hash_table): Remove target_id.
+ (is_x86_elf): Check elf.hash_table_id instead of target_id.
+ * elfxx-x86.c (_bfd_x86_elf_link_hash_table_create): Updated.
+
2020-06-04 H.J. Lu <hongjiu.lu@intel.com>
PR ld/26080
ret->tls_get_addr = "___tls_get_addr";
}
}
- ret->target_id = bed->target_id;
ret->target_os = get_elf_x86_backend_data (abfd)->target_os;
ret->loc_hash_table = htab_try_create (1024,
bfd_vma (*r_info) (bfd_vma, bfd_vma);
bfd_vma (*r_sym) (bfd_vma);
bfd_boolean (*is_reloc_section) (const char *);
- enum elf_target_id target_id;
enum elf_x86_target_os target_os;
unsigned int sizeof_reloc;
unsigned int dt_reloc;
#define is_x86_elf(bfd, htab) \
(bfd_get_flavour (bfd) == bfd_target_elf_flavour \
&& elf_tdata (bfd) != NULL \
- && elf_object_id (bfd) == (htab)->target_id)
+ && elf_object_id (bfd) == (htab)->elf.hash_table_id)
extern bfd_boolean _bfd_x86_elf_mkobject
(bfd *);