Fixes for "Ignore dynamic references on forced local symbols"
authorAlan Modra <amodra@gmail.com>
Fri, 12 Jan 2018 06:28:04 +0000 (16:58 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 12 Jan 2018 10:43:11 +0000 (21:13 +1030)
commit87e79a6515951fece72ee08871dd6e112b1042ba
tree5eb6fdaf187b68aaefffc2d705c9ba307c269751
parent58807c48a5a317ad3e2d39a8755168a3d4d5fdf8
Fixes for "Ignore dynamic references on forced local symbols"

PowerPC64 has its own mark_dynamic_ref, which needs the same change as
made by d664fd41e1 to the generic ELF version.  Some other targets
discard more than just .data, so allow for that too in expected ld
messages.

bfd/
PR ld/22649
* elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore dynamic
references on forced local symbols.
ld/
PR ld/22649
* testsuite/ld-elf/pr22649.msg: Allow other messages.
* testsuite/ld-elf/shared.exp: Check that --gc-sections is
supported before running ld/22649 tests.
bfd/ChangeLog
bfd/elf64-ppc.c
ld/ChangeLog
ld/testsuite/ld-elf/pr22649.msg
ld/testsuite/ld-elf/shared.exp
This page took 0.030394 seconds and 4 git commands to generate.