mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
18642a57df
Don't quote $nm in the script for checking the vdso for external references. Doing so breaks multiword constructs, like using CROSS_COMPILE='ccache '. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: H. Peter Anvin <hpa@zytor.com> LKML-Reference: <20100728134252.2e4c27cf.sfr@canb.auug.org.au>
10 lines
169 B
Bash
Executable file
10 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
|