https://sourceware.org/bugzilla/show_bug.cgi?id=32665
--- Comment #2 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <h...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d4d66eb19fd5ace50e1d40f53f14e76fe8b8963d commit d4d66eb19fd5ace50e1d40f53f14e76fe8b8963d Author: H.J. Lu <hjl.to...@gmail.com> Date: Sun Feb 9 15:13:38 2025 +0800 x86: Return error for invalid relocation offset Return error if relocation offset + relocation size > section size. bfd/ PR ld/32665 * elf32-i386.c (elf_i386_scan_relocs): Return error for invalid relocation offset. * elf64-x86-64.c (elf_x86_64_scan_relocs): Likewise. ld/ PR ld/32665 * testsuite/ld-x86-64/pr32665.err: New file. * testsuite/ld-x86-64/pr32665.o.bz2: Likewise. * testsuite/ld-x86-64/x86-64.exp: Run PR ld/32665 test. Signed-off-by: H.J. Lu <hjl.to...@gmail.com> -- You are receiving this mail because: You are on the CC list for the bug.