x86: Remove target_id from elf_x86_link_hash_table
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 4 Jun 2020 16:56:25 +0000 (09:56 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 4 Jun 2020 16:56:25 +0000 (09:56 -0700)
commitadd5f777decf9257f46c98dc2aacedb52a3d65e6
tree620e7fe6c7154e862559c5609f9d432f47a38e83
parent1c07a73f66382eb0c95132aaf9690621fdce1e78
x86: Remove target_id from elf_x86_link_hash_table

Since target_id in elf_x86_link_hash_table is the same as hash_table_id
in elf_link_hash_table, we can use elf.hash_table_id instead of target_id.

* 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.
bfd/ChangeLog
bfd/elfxx-x86.c
bfd/elfxx-x86.h
This page took 0.02449 seconds and 4 git commands to generate.