Back to home page

OSCL-LXR

 
 

    


0001 #!/bin/sh
0002 objdump="$1"
0003 file="$2"
0004 $objdump -t "$file" | grep '*UUND*' | grep -v '#scratch' > /dev/null 2>&1
0005 if [ $? -eq 1 ]; then
0006     exit 0
0007 else
0008     echo "$file: undefined symbols found" >&2
0009     exit 1
0010 fi