mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-17 12:08:43 +00:00
powerpc: Simplify symbol check in prom_init_check.sh
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
ce6d73c94d
commit
fe921c8c39
1 changed files with 6 additions and 16 deletions
|
@ -50,24 +50,14 @@ do
|
||||||
done
|
done
|
||||||
|
|
||||||
# ignore register save/restore funcitons
|
# ignore register save/restore funcitons
|
||||||
if [ "${UNDEF:0:9}" = "_restgpr_" ]; then
|
case $UNDEF in
|
||||||
|
_restgpr_*|_restgpr0_*|_rest32gpr_*)
|
||||||
OK=1
|
OK=1
|
||||||
fi
|
;;
|
||||||
if [ "${UNDEF:0:10}" = "_restgpr0_" ]; then
|
_savegpr_*|_savegpr0_*|_save32gpr_*)
|
||||||
OK=1
|
OK=1
|
||||||
fi
|
;;
|
||||||
if [ "${UNDEF:0:11}" = "_rest32gpr_" ]; then
|
esac
|
||||||
OK=1
|
|
||||||
fi
|
|
||||||
if [ "${UNDEF:0:9}" = "_savegpr_" ]; then
|
|
||||||
OK=1
|
|
||||||
fi
|
|
||||||
if [ "${UNDEF:0:10}" = "_savegpr0_" ]; then
|
|
||||||
OK=1
|
|
||||||
fi
|
|
||||||
if [ "${UNDEF:0:11}" = "_save32gpr_" ]; then
|
|
||||||
OK=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $OK -eq 0 ]; then
|
if [ $OK -eq 0 ]; then
|
||||||
ERROR=1
|
ERROR=1
|
||||||
|
|
Loading…
Add table
Reference in a new issue