Commit 498de6e8 authored by Ghislain MARY's avatar Ghislain MARY

List symbols for both static and dynamic libraries in lorder.

parent 9ddfbb56
......@@ -60,7 +60,9 @@ for file in "$@"; do echo "$file $file" ; done
#
# if the line has " U " it's a globally undefined symbol, put it into
# the reference file.
${NM:-nm} -go "$@" | sed "
static=`${NM:-nm} -go "$@"`
dynamic=`${NM:-nm} -Dgo "$@"`
echo "$static\n$dynamic" | sed "
/ [TDGR] / {
s/:.* [TDGR] / /
w $S
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment