Fix SH GOT allocation in the presence of linker garbage collection.
authorNick Clifton <nickc@redhat.com>
Tue, 2 Aug 2016 10:56:55 +0000 (11:56 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 2 Aug 2016 10:56:55 +0000 (11:56 +0100)
commita94d834c9d0108f0bb50ddc311554d1bed320f54
tree38a2844c27456130d6b787866d05d7961c1cc27e
parent2d5bddc1eb5d2c04ed142c7ba6fc13e2e3a28079
Fix SH GOT allocation in the presence of linker garbage collection.

PR ld/17739
ld * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
valye 'yes'.
* emulparams/shelf32.sh: Likewise.
* emulparams/shelf32.sh: Likewise.
* emulparams/shelf_nto.sh: Likewise.
* emulparams/shelf_nto.sh: Likewise.
* emulparams/shelf_vxworks.sh: Likewise.
* emulparams/shelf_vxworks.sh: Likewise.
* emulparams/shlelf32_linux.sh: Likewise.
* emulparams/shlelf32_linux.sh: Likewise.
* emulparams/shlelf_linux.sh: Likewise.
* emulparams/shlelf_linux.sh: Likewise.
* emulparams/shlelf_nto.sh: Likewise.
* emulparams/shlelf_nto.sh: Likewise.

bfd * elf32-sh.c (sh_elf_gc_sweep_hook): Delete.
(elf_backend_sweep_hook): Delete.
bfd/ChangeLog
bfd/elf32-sh.c
ld/ChangeLog
ld/emulparams/shelf.sh
ld/emulparams/shelf32.sh
ld/emulparams/shelf_nto.sh
ld/emulparams/shelf_vxworks.sh
ld/emulparams/shlelf32_linux.sh
ld/emulparams/shlelf_linux.sh
ld/emulparams/shlelf_nto.sh