x86: Add _bfd_x86_elf_gc_mark_hook
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 1 Sep 2017 21:51:58 +0000 (14:51 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 1 Sep 2017 21:51:58 +0000 (14:51 -0700)
commit4f501a245f67d0b43f245b09515c87bfeec983ec
tree640bd84069dbeddffb62a05436d26692808c0774
parenteeb2f20a764bee3a6a1edb9872467d044aaad848
x86: Add _bfd_x86_elf_gc_mark_hook

Since R_X86_64_GNU_VTINHERIT == R_386_GNU_VTINHERIT and
R_X86_64_GNU_VTENTRY == R_386_GNU_VTENTRY, we can share
_bfd_x86_elf_gc_mark_hook in elf32-i386.c and elf64-x86-64.c.

* elf32-i386.c (elf_i386_gc_mark_hook): Removed.
(elf_backend_gc_mark_hook): Likewise.
* elf64-x86-64.c (elf_x86_64_gc_mark_hook): Likewise.
(elf_backend_gc_mark_hook): Likewise.
* elfxx-x86.c (_bfd_x86_elf_gc_mark_hook): New function.
* elfxx-x86.h (_bfd_x86_elf_gc_mark_hook): New.
(elf_backend_gc_mark_hook): Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c
bfd/elfxx-x86.c
bfd/elfxx-x86.h
This page took 0.030303 seconds and 4 git commands to generate.