Date: Thu, 30 May 2019 18:54:34 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r348443 - head/contrib/elftoolchain/readelf Message-ID: <201905301854.x4UIsYJk040660@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Thu May 30 18:54:34 2019 New Revision: 348443 URL: https://svnweb.freebsd.org/changeset/base/348443 Log: readelf: Make -t imply -S, for compatibility with GNU binutils. Reported by: jhb Reviewed by: emaste MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20475 Modified: head/contrib/elftoolchain/readelf/readelf.1 head/contrib/elftoolchain/readelf/readelf.c Modified: head/contrib/elftoolchain/readelf/readelf.1 ============================================================================== --- head/contrib/elftoolchain/readelf/readelf.1 Thu May 30 18:44:19 2019 (r348442) +++ head/contrib/elftoolchain/readelf/readelf.1 Thu May 30 18:54:34 2019 (r348443) @@ -24,7 +24,7 @@ .\" .\" $Id: readelf.1 3642 2018-10-14 14:24:28Z jkoshy $ .\" -.Dd September 13, 2012 +.Dd May 30, 2019 .Dt READELF 1 .Os .Sh NAME @@ -113,6 +113,8 @@ Print symbol tables. .It Fl t | Fl -section-details Print additional information about sections, such as the flags fields in section headers. +Implies +.Fl S . .It Fl v | Fl -version Prints a version identifier for .Nm Modified: head/contrib/elftoolchain/readelf/readelf.c ============================================================================== --- head/contrib/elftoolchain/readelf/readelf.c Thu May 30 18:44:19 2019 (r348442) +++ head/contrib/elftoolchain/readelf/readelf.c Thu May 30 18:54:34 2019 (r348443) @@ -7500,7 +7500,7 @@ main(int argc, char **argv) re->options |= RE_S; break; case 't': - re->options |= RE_T; + re->options |= RE_SS | RE_T; break; case 'u': re->options |= RE_U;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905301854.x4UIsYJk040660>