https://sourceware.org/bugzilla/show_bug.cgi?id=33291
--- Comment #29 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jan Beulich <jbeul...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=74f045d47ab9060bc4e8b82e62bdf2d0ef730cb5 commit 74f045d47ab9060bc4e8b82e62bdf2d0ef730cb5 Author: Jan Beulich <jbeul...@suse.com> Date: Tue Aug 26 10:42:03 2025 +0200 ld: entry size and merge/strings attributes propagation While commit 9c0adb10c7fc ("elf: Clear entsize when clearing SEC_MERGE|SEC_STRINGS") addressed the particular issue reported in PR ld/33291, it didn't go quite far enough to deal with related aspects as well: As indicated in other recent commits, the three properties can be largely independent (ELF generally being the target here): Entry size doesn't require either of merge/strings, and strings also doesn't require merge. Commit 98e6d3f5bd4e ("gas/ELF: allow specifying entity size for arbitrary sections") uncovered issues with ld's handling. Zap entry size when it doesn't match between input sections. In that case SEC_MERGE and SEC_STRINGS also need to be removed, as their underlying granularity is lost. Then deal with SEC_MERGE and SEC_STRINGS separately. Otoh record entry size from the first input independent of SEC_MERGE. -- You are receiving this mail because: You are on the CC list for the bug.