Date: Thu, 6 Jun 2019 03:01:52 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r348717 - stable/12/contrib/elftoolchain/readelf Message-ID: <201906060301.x5631qnn056620@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Thu Jun 6 03:01:52 2019 New Revision: 348717 URL: https://svnweb.freebsd.org/changeset/base/348717 Log: MFC r348443: readelf: Make -t imply -S, for compatibility with GNU binutils. Modified: stable/12/contrib/elftoolchain/readelf/readelf.1 stable/12/contrib/elftoolchain/readelf/readelf.c Directory Properties: stable/12/ (props changed) Modified: stable/12/contrib/elftoolchain/readelf/readelf.1 ============================================================================== --- stable/12/contrib/elftoolchain/readelf/readelf.1 Thu Jun 6 03:01:05 2019 (r348716) +++ stable/12/contrib/elftoolchain/readelf/readelf.1 Thu Jun 6 03:01:52 2019 (r348717) @@ -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: stable/12/contrib/elftoolchain/readelf/readelf.c ============================================================================== --- stable/12/contrib/elftoolchain/readelf/readelf.c Thu Jun 6 03:01:05 2019 (r348716) +++ stable/12/contrib/elftoolchain/readelf/readelf.c Thu Jun 6 03:01:52 2019 (r348717) @@ -7471,7 +7471,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?201906060301.x5631qnn056620>