Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3bdfd9c

Browse files
committed
Adjust find_status for newer Linux 'nm' output format.
1 parent 273986b commit 3bdfd9c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/tools/find_static

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ trap "rm -f /tmp/$$" 0 1 2 3 15
1616
# symbol, then the function name.
1717

1818
find . -name '[a-z]*.o' -type f -print | while read FILE
19-
do
20-
nm $FILE | cut -c10-100 |awk '{printf "%s\t%s\t%s\n", "'"$FILE"'",$1,$2}'
19+
do nm $FILE | cut -c17-100 |awk '{printf "%s\t%s\t%s\n", "'"$FILE"'",$1,$2}'
2120
done >/tmp/$$
2221
dropdb debug
2322
createdb debug

0 commit comments

Comments
 (0)