summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-11-24 13:54:46 +0000
committerpeter <peter@FreeBSD.org>1999-11-24 13:54:46 +0000
commit89bff97f82ea7fa73aad3bc76c656d2180050758 (patch)
tree8b83d5e4a853d2a5a4db971864dc751b2ea34f4a
parent48603c7746f57ffcad2316c665d396c1614a89d2 (diff)
downloadFreeBSD-src-89bff97f82ea7fa73aad3bc76c656d2180050758.zip
FreeBSD-src-89bff97f82ea7fa73aad3bc76c656d2180050758.tar.gz
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.
-rw-r--r--lib/libstand/alpha/_setjmp.S9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/libstand/alpha/_setjmp.S b/lib/libstand/alpha/_setjmp.S
index 2aa8c55..96be5ec 100644
--- a/lib/libstand/alpha/_setjmp.S
+++ b/lib/libstand/alpha/_setjmp.S
@@ -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)
OpenPOWER on IntegriCloud