b29dd6c x86-64: Clear the R_X86_64_converted_reloc_bit bit

Authored and Committed by H.J. Lu 5 years ago
    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.
    
    (cherry picked from commit b638b5d57fafc84a8dc0ff91d7579a3c24aad90c)
    
        
file modified
+6 -0
file modified
+6 -2
file modified
+7 -0