pr24276
authorMatthias Klose <doko@debian.org>
Wed, 27 Feb 2019 21:30:21 +0000 (21:30 +0000)
committerMatthias Klose <doko@debian.org>
Wed, 27 Feb 2019 21:30:21 +0000 (21:30 +0000)
commit7f4fcc6f9bdd7c77866c527be6cbc1f3b75800e4
tree1614c479ccdf08645b05a3e3a11fc9ca65400d31
parent3c6c5caef8db16e6b9db204eef24c6630e8218c0
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