pr24276
authorMatthias Klose <doko@debian.org>
Thu, 6 Feb 2020 17:10:11 +0000 (17:10 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 6 Feb 2020 17:10:11 +0000 (17:10 +0000)
commit48995cfb2a997860b9c0480b4c70a34feaff1301
treeebfb0f2c7a8254a1d194236a95e884160c8553b7
parenta683a134d4e539e00603a496fe70ecaeb5b6440b
pr24276

Skip symbol defined by linker when checking copy reloc on protected
symbol.

bfd/

PR ld/24276
* elf64-x86-64.c (elf_x86_64_check_relocs): Skip symbol defined
by linker when checking copy reloc on protected symbol.

ld/

PR ld/24276
* testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
* testsuite/ld-x86-64/x86-64.exp: Likewise.
* testsuite/ld-i386/pr24276.dso: New file.
* testsuite/ld-i386/pr24276.warn: Likewise.
* testsuite/ld-x86-64/pr24276.dso: Likewise.
* testsuite/ld-x86-64/pr24276.warn: Likewise.

Gbp-Pq: Name pr24276.diff
bfd/elf64-x86-64.c
ld/testsuite/ld-i386/i386.exp
ld/testsuite/ld-i386/pr24276.dso [new file with mode: 0644]
ld/testsuite/ld-i386/pr24276.warn [new file with mode: 0644]
ld/testsuite/ld-x86-64/pr24276.dso [new file with mode: 0644]
ld/testsuite/ld-x86-64/pr24276.warn [new file with mode: 0644]
ld/testsuite/ld-x86-64/x86-64.exp