diff options
author | Kevin | 2014-11-15 09:58:27 +0800 |
---|---|---|
committer | Kevin | 2014-11-15 09:58:27 +0800 |
commit | 392e8802486cb573b916e746010e141a75f507e6 (patch) | |
tree | 50029aca02c81f087b90336e670b44e510782330 /ANDROID_3.4.5/arch/x86/um/vdso/checkundef.sh | |
download | FOSSEE-netbook-kernel-source-392e8802486cb573b916e746010e141a75f507e6.tar.gz FOSSEE-netbook-kernel-source-392e8802486cb573b916e746010e141a75f507e6.tar.bz2 FOSSEE-netbook-kernel-source-392e8802486cb573b916e746010e141a75f507e6.zip |
init android origin source code
Diffstat (limited to 'ANDROID_3.4.5/arch/x86/um/vdso/checkundef.sh')
-rw-r--r-- | ANDROID_3.4.5/arch/x86/um/vdso/checkundef.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ANDROID_3.4.5/arch/x86/um/vdso/checkundef.sh b/ANDROID_3.4.5/arch/x86/um/vdso/checkundef.sh new file mode 100644 index 00000000..7ee90a9b --- /dev/null +++ b/ANDROID_3.4.5/arch/x86/um/vdso/checkundef.sh @@ -0,0 +1,10 @@ +#!/bin/sh +nm="$1" +file="$2" +$nm "$file" | grep '^ *U' > /dev/null 2>&1 +if [ $? -eq 1 ]; then + exit 0 +else + echo "$file: undefined symbols found" >&2 + exit 1 +fi |