From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 385223858D28; Tue, 18 Apr 2023 19:51:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 385223858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1681847492; bh=rlcKZBtQV/s4ZtZ6vcfhcd4vZABuN/WuC7n3Ok1K6jo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mtyyOqDHbw3YP8K6FAhnePXzuF9kq7YPpVujxXoMv8zUuGa8sx7QV6yH+CO0wFqRB X+9qUy5Oxj8xCc7FHC/NtHrarXcAeS/jmP+jVq5oY+Ep5xtbJF1Y/P6+0dEbScpqLv HQL+M67x+NtqQgd+cAeU/Ebn3T4uTx15QpYXgh+o= From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug tools/28873] Implement eu-readelf -D Date: Tue, 18 Apr 2023 19:51:31 +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: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dichen at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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=3D28873 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #9 from Mark Wielaard --- commit 4d8de4b2fa05495d69d09e1a3d335f24d6bf33ee Author: Di Chen Date: Mon Mar 27 10:01:05 2023 +0800 readelf: display dynamic symtab without section headers This commit adds a new option "-D/--use-dynamic" to support printing the dynamic symbol table from the PT_DYNAMIC segment. By using the PT_DYNAMIC segment, eu-readelf can go through the contents of dynamic section entries and the values of each tag. From that, we can get the address and size of the dynamic symbol table, the address of the string table, etc. By using the new option "-D/--use-dynamic", eu-readelf can list the symbols without section headers. Example: $ ./src/readelf -Ds a.out 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UNDEF 1: 0000000000000000 0 FUNC GLOBAL DEFAULT UNDEF __libc_start_main@GLIBC_2.34 (2) 2: 0000000000000000 0 NOTYPE WEAK DEFAULT UNDEF __gmon_start__ https://sourceware.org/bugzilla/show_bug.cgi?id=3D28873 Signed-off-by: Di Chen --=20 You are receiving this mail because: You are on the CC list for the bug.=