This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] x86: Add _bfd_x86_elf_gc_mark_hook
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Fri, 01 Sep 2017 18:15:24 -0400
- Subject: [binutils-gdb] x86: Add _bfd_x86_elf_gc_mark_hook
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 4f501a245f67d0b43f245b09515c87bfeec983ec ***
Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 4f501a245f67d0b43f245b09515c87bfeec983ec
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.