Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe921c8c authored by Andreas Schwab's avatar Andreas Schwab Committed by Michael Ellerman
Browse files

powerpc: Simplify symbol check in prom_init_check.sh

parent ce6d73c9
Loading
Loading
Loading
Loading
+6 −16
Original line number Diff line number Diff line
@@ -50,24 +50,14 @@ do
	done

	# ignore register save/restore funcitons
	if [ "${UNDEF:0:9}" = "_restgpr_" ]; then
	case $UNDEF in
	_restgpr_*|_restgpr0_*|_rest32gpr_*)
		OK=1
	fi
	if [ "${UNDEF:0:10}" = "_restgpr0_" ]; then
		OK=1
	fi
	if [ "${UNDEF:0:11}" = "_rest32gpr_" ]; then
		OK=1
	fi
	if [ "${UNDEF:0:9}" = "_savegpr_" ]; then
		;;
	_savegpr_*|_savegpr0_*|_save32gpr_*)
		OK=1
	fi
	if [ "${UNDEF:0:10}" = "_savegpr0_" ]; then
		OK=1
	fi
	if [ "${UNDEF:0:11}" = "_save32gpr_" ]; then
		OK=1
	fi
		;;
	esac

	if [ $OK -eq 0 ]; then
		ERROR=1