1
0
mirror of https://github.com/physwizz/a155-U-u1.git synced 2025-07-25 00:06:55 +00:00
Files
a155-U-u1/kernel-5.10/arch/sparc/vdso/checkundef.sh
physwizz 99537be4e2 first
2024-03-11 06:53:12 +11:00

11 lines
205 B
Bash

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