tst-API.sh 348 B

12345678910111213141516
  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. egrep -v "(UND|LOCAL|^Symbol table for image:|^[[:space:]]*Num[[:space:]])" | \
  9. $AWK '{print $NF}'; \
  10. done | sort | uniq > $uclibc_out
  11. for code in $cod; do cat $code.$std.syms; done | sort | uniq > $glibc_out
  12. result=0
  13. exit $result