tst-API.sh 316 B

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