Mark all weak aliases for copy relocations
authorAlan Modra <amodra@gmail.com>
Sun, 26 Jan 2020 23:57:42 +0000 (10:27 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 27 Jan 2020 00:23:00 +0000 (10:53 +1030)
commit3024a17ae029ec7f55b498e99ddd6238e22fe565
tree554320c69f99bb0a36f8301e9bcfe539873f6f20
parent27ee3a66bfba776a2af8e9e1248e6a65c31e25a3
Mark all weak aliases for copy relocations

bfd/
PR ld/25458
* elflink.c (_bfd_elf_gc_mark_rsec): Mark all weak aliases.
ld/
PR ld/25458
* testsuite/ld-elf/pr25458.map: New file.
* testsuite/ld-elf/pr25458.rd: Likewise.
* testsuite/ld-elf/pr25458a.s: Likewise.
* testsuite/ld-elf/pr25458b.s: Likewise.
* testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
bfd/ChangeLog
bfd/elflink.c
ld/ChangeLog
ld/testsuite/ld-elf/pr25458.map [new file with mode: 0644]
ld/testsuite/ld-elf/pr25458.rd [new file with mode: 0644]
ld/testsuite/ld-elf/pr25458a.s [new file with mode: 0644]
ld/testsuite/ld-elf/pr25458b.s [new file with mode: 0644]
ld/testsuite/ld-elf/shared.exp