From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 042C93858C39; Fri, 13 Jan 2023 09:58:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 042C93858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673603937; bh=9fWacIa5/bv3WoBNOZ5yPo9a0DkBHmiJn1y65t01YUY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aKK1+YqCppXtpIOoChQCkFbwN0t/XIZizMFE+qObT0qkvVoHs90QbsIyvcyijoV0a eB0H52sxttLpguCvQ1HuRLPr142bYhE2kYvjYvia3Ae53kyiuKUg0hby8qtS0Jf9g6 GnavCqMwGE+iQY6MsPK8mbRz2MGOTsozGj+iyy5k= From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug general/28608] elflint elfstrmerge fails with ld.gold Date: Fri, 13 Jan 2023 09:58:56 +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: NEW 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: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D28608 --- Comment #5 from Mark Wielaard --- (In reply to Martin Liska from comment #4) > So it fails for: > $ /home/marxin/Programming/elfutils/src/elflint --gnu > /home/marxin/Programming/elfutils/tests/elfstrmerge > section [17] '.rodata': merge flag set but entry size is zero >=20 > $ readelf -SW /home/marxin/Programming/elfutils/tests/elfstrmerge | grep = roda > [17] .rodata PROGBITS 0000000000402ea0 002ea0 0007bf 00 > AMS 0 0 8 >=20 > As seen the section has SHF_STRING flag, thus having sh_entsize =3D=3D 0 = should > be fine. >=20 > @Mark: Can you please take a look? If both SHF_STRING and SHF_MERGE are set then sh_entsize is the char size (normally 1). --=20 You are receiving this mail because: You are on the CC list for the bug.=