1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

longjumperror() and abort() don't exist in libstand.. Don't test

for a condition we can't handle (like the x86 longjmp).  This was
highlighted by attempting to build FICL into the alpha loader.
This commit is contained in:
Peter Wemm 1999-11-24 13:54:46 +00:00
parent dc11d19429
commit 0fbac2a6c5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53667

View File

@ -1,4 +1,5 @@
/* $NetBSD: _setjmp.S,v 1.2 1996/10/17 03:08:03 cgd Exp $ */
/* $FreeBSD$ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@ -87,10 +88,6 @@ END(_setjmp)
LEAF(_longjmp, 2)
LDGP(pv)
ldq t0, ((31 + 4) * 8)(a0) /* magic in sc_regs[31] */
ldiq t1, 0xacedbadd
cmpeq t0, t1, t0
beq t0, botch /* If the magic was bad, punt */
ldq ra, (2 * 8)(a0) /* sc_pc = return address */
ldq s0, (( 9 + 4) * 8)(a0) /* saved bits of sc_regs */
@ -116,8 +113,4 @@ LEAF(_longjmp, 2)
mov a1, v0 /* return second arg */
RET
botch:
CALL(longjmperror)
CALL(abort)
RET /* "can't" get here... */
END(_longjmp)