x86: Add _bfd_x86_elf_mkobject
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 1 Sep 2017 19:09:03 +0000 (12:09 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 1 Sep 2017 19:09:03 +0000 (12:09 -0700)
commit39946cc227a1bfbae6d6a2a968f4935d9f8b92a7
treebb47050130cab5a1d24c2986e8f32b8ef173781a
parenta6798baba212170e427d2f9bd99af12f1078b162
x86: Add _bfd_x86_elf_mkobject

Share _bfd_x86_elf_mkobject in elf32-i386.c and elf64-x86-64.c.

* elf32-i386.c (elf_i386_mkobject): Removed.
(bfd_elf32_mkobject): Likewise.
* elf64-x86-64.c (elf_x86_64_mkobject): Likewise.
(bfd_elf64_mkobject): Likewise.
(bfd_elf32_mkobject): Likewise.
* elfxx-x86.c (_bfd_x86_elf_mkobject): New function.
(_bfd_x86_elf_mkobject): New.
(bfd_elf64_mkobject): Likewise.
(bfd_elf32_mkobject): Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c
bfd/elfxx-x86.c
bfd/elfxx-x86.h