Remove x86 gc_sweep_hook
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 21 Apr 2016 00:12:46 +0000 (17:12 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 21 Apr 2016 00:14:02 +0000 (17:14 -0700)
commite66cdd681f47dc51beaeee3d813f1c9cba27dedf
tree77e6f89a37fb2d7df3c59e3b9ffa21cf90302fd3
parent5ce03cea78d4d8bf00e29e4dfa4952d53f3b1064
Remove x86 gc_sweep_hook

Since x86 backends never see the removed sections, there is no need
for gc_sweep_hook.

* elf32-i386.c (elf_i386_gc_sweep_hook): Removed.
(elf_backend_gc_sweep_hook): Likewise.
* elf64-x86-64.c (elf_x86_64_gc_sweep_hook): Likewise.
(elf_backend_gc_sweep_hook): Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c