pr24276
authorMatthias Klose <doko@debian.org>
Thu, 21 Mar 2019 14:49:23 +0000 (14:49 +0000)
committerMatthias Klose <doko@debian.org>
Thu, 21 Mar 2019 14:49:23 +0000 (14:49 +0000)
commit9ee4582c54dbc17c78ce45a625f444833528c3fa
tree15c422a5fbff1ea29436bb8d20ac7d2bab2f084e
parentdd089d43dadaf420777732d7f48ce4ad31be0189
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