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
This commit is contained in:
parent
015ff812d6
commit
e1d6d6f924
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user