git: 1f9c81f259f3 - stable/11 - readelf: document that -u / --unwind is not yet implemented

Ed Maste emaste at FreeBSD.org
Fri Sep 24 01:02:09 UTC 2021


The branch stable/11 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=1f9c81f259f35b8b751e5b79752990858fa26799

commit 1f9c81f259f35b8b751e5b79752990858fa26799
Author:     Ed Maste <emaste at FreeBSD.org>
AuthorDate: 2021-09-17 13:59:41 +0000
Commit:     Ed Maste <emaste at FreeBSD.org>
CommitDate: 2021-09-24 01:01:17 +0000

    readelf: document that -u / --unwind is not yet implemented
    
    ELF tool chain readelf accepts -u / --unwind but just ignores the
    option.  This was previously undocumented, which could be confusing for
    someone encountering `readelf -u` (in a script or GNU readelf example).
    
    Reported by:    markj (in D32003)
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit deef4b8ce8ba7292fe5088bf9f6d4e2e35662fe8)
---
 contrib/elftoolchain/readelf/readelf.1 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/contrib/elftoolchain/readelf/readelf.1 b/contrib/elftoolchain/readelf/readelf.1
index 108b62775712..c4f3408e814a 100644
--- a/contrib/elftoolchain/readelf/readelf.1
+++ b/contrib/elftoolchain/readelf/readelf.1
@@ -43,6 +43,7 @@
 .Op Fl p Ar section | Fl -string-dump Ns = Ns Ar section
 .Op Fl r | Fl -relocs
 .Op Fl t | Fl -section-details
+.Op Fl u | Fl -unwind
 .Op Fl v | Fl -version
 .Oo
 .Fl w Ns Oo Ns Ar afilmoprsFLR Ns Oc |
@@ -118,6 +119,8 @@ Print additional information about sections, such as the flags
 fields in section headers.
 Implies
 .Fl S .
+.It Fl u | Fl -unwind
+Not yet implemented (option accepted but ignored).
 .It Fl v | Fl -version
 Prints a version identifier for
 .Nm


More information about the dev-commits-src-all mailing list