https://sourceware.org/bugzilla/show_bug.cgi?id=34448
--- Comment #5 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <[email protected]>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=283d3198beda5110a8417fd09b336a34bbd2705c commit 283d3198beda5110a8417fd09b336a34bbd2705c Author: H.J. Lu <[email protected]> Date: Fri Jul 31 05:47:15 2026 +0800 x86: Improve relocation error reporting For bfd_reloc_outofrange relocation error, instead of ld: pr34448-bug_4.o(.debug_addr+0x7f000008): reloc against `.text.get_tls': error 4 linker now reports: ld: pr34448-bug_4.o(.debug_addr+0x7f000008): relocation `R_X86_64_64' against `.text.get_tls': out of section range PR ld/34448 * elf32-i386.c (elf_i386_relocate_section): Call _bfd_x86_elf_link_report_relocation_error for relocation error. * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise. * elfxx-x86.c (_bfd_x86_elf_link_report_relocation_error): New. * elfxx-x86.h (_bfd_x86_elf_link_report_relocation_error): New. Signed-off-by: H.J. Lu <[email protected]> -- You are receiving this mail because: You are on the CC list for the bug.
