From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2CC6A3856DCE; Fri, 15 Apr 2022 15:22:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2CC6A3856DCE From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug tools/28928] Wrong dynamic section entry number Date: Fri, 15 Apr 2022 15:22:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: tools X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dichen at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete cc attachments.created 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: Fri, 15 Apr 2022 15:22:46 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28928 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #14042|0 |1 is obsolete| | CC| |mark at klomp dot org --- Comment #2 from Mark Wielaard --- Created attachment 14064 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14064&action=3Ded= it readelf: Don't consider padding DT_NULL as dynamic section Good find. And binutils readelf does get this right. I see you made this block PR28873. And you are right that we should first g= et this correct before doing the the -D dance going through the dynamic segment showing information. But for -d we don't have to go through the phdrs and the dynamic segment, we can just use the section data directly. I made that adjustment and added some ChangeLog entries. See attached and at: https://code.wildebeest.org/git/user/mjw/elfutils/commit/?h=3Dpr14042 --=20 You are receiving this mail because: You are on the CC list for the bug.=