mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
accomodate sun nm format
This commit is contained in:
parent
c71af67adc
commit
190857f93e
1 changed files with 2 additions and 2 deletions
4
bin/9l
4
bin/9l
|
@ -21,7 +21,7 @@ then
|
|||
for i
|
||||
do
|
||||
case "$i" in
|
||||
[^-]*.o)
|
||||
*.o)
|
||||
ofiles="$ofiles $i"
|
||||
;;
|
||||
esac
|
||||
|
@ -34,7 +34,7 @@ then
|
|||
a=`
|
||||
nm $ofiles |
|
||||
grep '__p9l_autolib_[a-zA-Z0-9+-]*$' |
|
||||
sed 's/.* __p9l_autolib_//' |
|
||||
sed 's/.*__p9l_autolib_//' |
|
||||
sort -u
|
||||
`
|
||||
for i in $a
|
||||
|
|
Loading…
Reference in a new issue