lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | #!/bin/sh |
2 | |||||
3 | std="$1" | ||||
4 | shift | ||||
5 | cod="$*" | ||||
6 | |||||
7 | result=0 | ||||
8 | |||||
9 | for l in $top_builddir/lib/lib*-*.so; do \ | ||||
10 | readelf -D -W -s $l | \ | ||||
11 | $AWK ' | ||||
12 | /^[[:space:]]*[[:digit:]]/ { if ($8 != "UND") print $NF; } | ||||
13 | '; \ | ||||
14 | done | sort | uniq > $uclibc_out | ||||
15 | for code in $cod; do cat $code.$std.syms; done | sort | uniq > $glibc_out | ||||
16 | result=0 | ||||
17 | exit $result |