https://sourceware.org/bugzilla/show_bug.cgi?id=33291
--- Comment #26 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=9c0adb10c7fcfb5a317095201cf144cdada6ca08 commit 9c0adb10c7fcfb5a317095201cf144cdada6ca08 Author: H.J. Lu <hjl.to...@gmail.com> Date: Wed Aug 20 12:27:53 2025 -0700 elf: Clear entsize when clearing SEC_MERGE|SEC_STRINGS When generating an output from input SEC_MERGE|SEC_STRINGS sections with different entsizes, we clear the SEC_MERGE|SEC_STRINGS bits. We also need to clear entsize. PR ld/33291 * ldlang.c (lang_add_section): Clearing entsize when clearing SEC_MERGE|SEC_STRINGS. * testsuite/ld-elf/pr33291.d: New file. * testsuite/ld-elf/pr33291a.s: Likewise. * testsuite/ld-elf/pr33291b.s: Likewise. 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.