From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C826E3858405; Wed, 30 Mar 2022 11:42:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C826E3858405 From: "dichen at redhat dot com" To: elfutils-devel@sourceware.org Subject: [Bug tools/28928] Wrong dynamic section entry number Date: Wed, 30 Mar 2022 11:42:10 +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: dichen at redhat dot com 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: 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: Wed, 30 Mar 2022 11:42:10 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28928 Di Chen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dichen at redhat dot com --- Comment #1 from Di Chen --- Created attachment 14042 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14042&action=3Ded= it [PATCH] readelf: Don't consider padding DT_NULL as dynamic section when using `$ eu-readelf -d {FILE}` to get the number of dynamic section entris, it wrongly counts the padding DT_NULLs as dynamic section entries. However, DT_NULL Marks end of dynamic section. They should not be considered as dynamic section entries. --=20 You are receiving this mail because: You are on the CC list for the bug.=