x86-64: Clear the R_X86_64_converted_reloc_bit bit
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 2 Jul 2018 20:08:09 +0000 (13:08 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 2 Jul 2018 20:08:09 +0000 (13:08 -0700)
commitb638b5d57fafc84a8dc0ff91d7579a3c24aad90c
treef4663f1aba02dfe318906ed1f925b2c362a78842
parenteac61af65bcd24a48633da375527eb3f36ab47ed
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.
bfd/ChangeLog
bfd/elf64-x86-64.c
ld/ChangeLog
ld/testsuite/ld-x86-64/pr23324.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/pr23324a.d [new file with mode: 0644]
ld/testsuite/ld-x86-64/pr23324b.d [new file with mode: 0644]
ld/testsuite/ld-x86-64/x86-64.exp
This page took 0.026698 seconds and 4 git commands to generate.