mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-06 02:24:14 +08:00
d603c8e184
Cc: Borislav Petkov <bp@alien8.de> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: Brian Gerst <brgerst@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
11 lines
169 B
Bash
Executable File
11 lines
169 B
Bash
Executable File
#!/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
|