diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2011-08-18 23:06:39 +0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2011-11-02 17:15:05 +0400 |
commit | 5c48b108ecbf6505d929e64d50dace13ac2bdf34 (patch) | |
tree | 016904f84fbe05aa301c5cdfe712d90f6bb828fe /arch/x86/um/vdso/checkundef.sh | |
parent | 7bbe7204e93734fe79d8aac3e08a7cb4624b5004 (diff) | |
download | linux-5c48b108ecbf6505d929e64d50dace13ac2bdf34.tar.xz |
um: take arch/um/sys-x86 to arch/x86/um
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/x86/um/vdso/checkundef.sh')
-rw-r--r-- | arch/x86/um/vdso/checkundef.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/um/vdso/checkundef.sh b/arch/x86/um/vdso/checkundef.sh new file mode 100644 index 000000000000..7ee90a9b549d --- /dev/null +++ b/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 |