diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-07-02 13:08:09 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-07-02 13:08:09 -0700 |
commit | b638b5d57fafc84a8dc0ff91d7579a3c24aad90c (patch) | |
tree | f4663f1aba02dfe318906ed1f925b2c362a78842 /ld/testsuite/ld-x86-64/x86-64.exp | |
parent | eac61af65bcd24a48633da375527eb3f36ab47ed (diff) | |
download | gdb-b638b5d57fafc84a8dc0ff91d7579a3c24aad90c.zip gdb-b638b5d57fafc84a8dc0ff91d7579a3c24aad90c.tar.gz gdb-b638b5d57fafc84a8dc0ff91d7579a3c24aad90c.tar.bz2 |
x86-64: Clear the R_X86_64_converted_reloc_bit bit
We need to clear the R_X86_64_converted_reloc_bit bit after setting it
to avoid leaking it out by --emit-relocs.
bfd/
PR ld/23324
* elf64-x86-64.c (elf_x86_64_relocate_section): Clear the
R_X86_64_converted_reloc_bit bit.
ld/
PR ld/23324
* testsuite/ld-x86-64/pr23324.s: New file.
* testsuite/ld-x86-64/pr23324a.d: Likewise.
* testsuite/ld-x86-64/pr23324b.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-x86-64/x86-64.exp')
-rw-r--r-- | ld/testsuite/ld-x86-64/x86-64.exp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp index d07054c..e6ec049 100644 --- a/ld/testsuite/ld-x86-64/x86-64.exp +++ b/ld/testsuite/ld-x86-64/x86-64.exp @@ -397,6 +397,8 @@ run_dump_test "pr22782a" run_dump_test "pr22782b" run_dump_test "pr23189" run_dump_test "pr23194" +run_dump_test "pr23324a" +run_dump_test "pr23324b" if { ![istarget "x86_64-*-linux*"] && ![istarget "x86_64-*-nacl*"]} { return |