x86: Check target_id instead of elf_machine_code
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 30 Aug 2017 18:13:32 +0000 (11:13 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 30 Aug 2017 18:13:32 +0000 (11:13 -0700)
commit5b86dbf4549af98c4428da4764182e03f22c58ab
tree740f6298b78b2f9684ac57f162ea79d0630b2e62
parent765e526c75506a7d9644bc7c137ac1923fdb1369
x86: Check target_id instead of elf_machine_code

Since both elf32-i386.c and elf64-x86-64.c support targets with
different ELF_MACHINE_CODEs, _bfd_x86_elf_link_hash_table_create
should check target_id instead of elf_machine_code.

* elfxx-x86.c (_bfd_x86_elf_link_hash_table_create): Check
target_id instead of elf_machine_code.
bfd/ChangeLog
bfd/elfxx-x86.c
This page took 0.025994 seconds and 4 git commands to generate.