diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2019-04-17 09:08:46 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2019-04-17 09:08:46 -0700 |
commit | 4e84a8f8bbeab52fa7048873655e582ceb92534d (patch) | |
tree | c73326e0ce7c3d0cab5f06a57f94e73f8445a99b /ld/testsuite/ld-x86-64/x86-64.exp | |
parent | e25de718de3b613cfafb9c5b28dea8e55a8649b8 (diff) | |
download | gdb-4e84a8f8bbeab52fa7048873655e582ceb92534d.zip gdb-4e84a8f8bbeab52fa7048873655e582ceb92534d.tar.gz gdb-4e84a8f8bbeab52fa7048873655e582ceb92534d.tar.bz2 |
x86: Also check x86 linker_def for non-shared definition
Since elf_x86_linker_defined sets linker_def in elf_x86_link_hash_entry
for linker defined symbols, SYMBOL_DEFINED_NON_SHARED_P should also check
linker_def in elf_x86_link_hash_entry.
bfd/
PR ld/24458
* elfxx-x86.h (SYMBOL_DEFINED_NON_SHARED_P): Also check x86
linker_def.
ld/
PR ld/24458
* testsuite/ld-x86-64/x86-64.exp: Run PR ld/24458 tests.
* testsuite/ld-x86-64/pr24458.s: New file.
* testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
* testsuite/ld-x86-64/pr24458a.d: Likewise.
* testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
* testsuite/ld-x86-64/pr24458b.d: Likewise.
* testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
* testsuite/ld-x86-64/pr24458c.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-x86-64/x86-64.exp')
-rw-r--r-- | ld/testsuite/ld-x86-64/x86-64.exp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp index 408e52a..7ebc461 100644 --- a/ld/testsuite/ld-x86-64/x86-64.exp +++ b/ld/testsuite/ld-x86-64/x86-64.exp @@ -450,6 +450,12 @@ run_dump_test "pr24322a" run_dump_test "pr24322a-x32" run_dump_test "pr24322b" run_dump_test "pr24322b-x32" +run_dump_test "pr24458a" +run_dump_test "pr24458a-x32" +run_dump_test "pr24458b" +run_dump_test "pr24458b-x32" +run_dump_test "pr24458c" +run_dump_test "pr24458c-x32" if { ![istarget "x86_64-*-linux*"] && ![istarget "x86_64-*-nacl*"]} { return |