]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
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>
Wed, 29 Jan 2020 00:44:12 +0000 (11:14 +1030)
commit7b647b69680015f240b20e6f38d824d71d4bd30d
tree11ab35ce8e43d18a46ab912761dcfc0caee1df0e
parent9d4684ce5baf54f6f9cf73f96de836e255eeb7ba
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.

(cherry picked from commit 3024a17ae029ec7f55b498e99ddd6238e22fe565)
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