https://sourceware.org/bugzilla/show_bug.cgi?id=34473
--- Comment #1 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=f94273aeb37908c32aa26530ff56e862f0060daf commit f94273aeb37908c32aa26530ff56e862f0060daf Author: H.J. Lu <[email protected]> Date: Thu Aug 6 10:33:02 2026 +0800 readelf: Don't dump GOT section after seeing error Don't dump GOT section contents after seeing errors in input: readelf: Error: Section 10 has invalid sh_entsize of 0 readelf: Error: (Using the expected size of 18 for the rest of this dump) readelf: Error: Too many program headers - 0x3030 - the file is not that big PR binutils/34473 * elfcomm.c (seen_error): New. (seen_elf_error): Likewise. (clear_elf_error): Likewise. (error): Set seen_error to true. * elfcomm.h (seen_elf_error): New. (clear_elf_error): Likewise. * readelf.c (process_got_section_contents): Return false if seen_elf_error returns true. (main): Call clear_elf_error before calling process_file. Signed-off-by: H.J. Lu <[email protected]> -- You are receiving this mail because: You are on the CC list for the bug.
