The branch main has been updated by emaste:

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

commit e1d6d6f9249d37c10a0df68024c7dacebdc7bf98
Author:     Ed Maste <ema...@freebsd.org>
AuthorDate: 2021-10-18 21:19:53 +0000
Commit:     Ed Maste <ema...@freebsd.org>
CommitDate: 2021-10-18 21:21:17 +0000

    lorder: process read-only data symbols
    
    Previously they were skipped.  lorder(1) serves no functional purpose
    today but we might as well address this longstanding bug while it is
    still in the tree.
    
    PR:             133860
    MFC after:      1 week
    Submitted by:   John Hein
---
 usr.bin/lorder/lorder.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/usr.bin/lorder/lorder.sh b/usr.bin/lorder/lorder.sh
index 390b0b7fe845..676f8995fc92 100644
--- a/usr.bin/lorder/lorder.sh
+++ b/usr.bin/lorder/lorder.sh
@@ -57,14 +57,14 @@ for i in $*; do
        echo $i $i
 done
 
-# if the line has " [TDW] " it's a globally defined symbol, put it
+# if the line has " [RTDW] " it's a globally defined symbol, put it
 # into the symbol file.
 #
 # if the line has " U " it's a globally undefined symbol, put it into
 # the reference file.
 ${NM} ${NMFLAGS} -go $* | sed "
-       / [TDW] / {
-               s/:.* [TDW] / /
+       / [RTDW] / {
+               s/:.* [RTDW] / /
                w $S
                d
        }

Reply via email to