From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EB257385840D; Sun, 21 Nov 2021 16:45:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EB257385840D From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug general/28608] elflint elfstrmerge fails with ld.gold Date: Sun, 21 Nov 2021 16:45:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: general X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Nov 2021 16:45:03 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28608 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at klomp dot org --- Comment #1 from Mark Wielaard --- That looks like a bug in ld.gold. tests/elfstrmerge is a simple ET_EXEC file. When SHF_MERGE is set, then sh_entsize should be set to the size of the elements that should be merged (unless SHF_STRING is also set). For me .rodata doesn't have the SHF_MERGE flag set: [15] .rodata PROGBITS 0000000000002d68 00002d68 00000837 = 0 A=20 0 0 8 --=20 You are receiving this mail because: You are on the CC list for the bug.=