[COMMITTED] x86-64: Use x86_64_elf_howto_table for standard relocations

H.J. Lu hjl.tools@gmail.com
Mon Feb 10 00:43:32 GMT 2025


For standard relocations, use x86_64_elf_howto_table, instead of calling
elf_x86_64_rtype_to_howto.

* elf64-x86-64.c (elf_x86_64_tls_transition): Use
x86_64_elf_howto_table, instead of elf_x86_64_rtype_to_howto.
(elf_x86_64_convert_load_reloc): Use x86_64_elf_howto_table,
instead of elf_x86_64_rtype_to_howto, for R_X86_64_PC32.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x86-64-Use-x86_64_elf_howto_table-for-standard-reloc.patch
Type: text/x-patch
Size: 2033 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20250210/cf9effd9/attachment-0001.bin>


More information about the Binutils mailing list