summaryrefslogtreecommitdiffstats
path: root/lib/libstand
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2013-04-28 14:40:29 +0000
committerrwatson <rwatson@FreeBSD.org>2013-04-28 14:40:29 +0000
commit2821386d344ee1ee09e727ed3c7985772fee0ba9 (patch)
treeae0c0ed1931ffb739475066864caab7a165932eb /lib/libstand
parentd73d49d672f14c00aa3294db58ca20ac70109c8d (diff)
downloadFreeBSD-src-2821386d344ee1ee09e727ed3c7985772fee0ba9.zip
FreeBSD-src-2821386d344ee1ee09e727ed3c7985772fee0ba9.tar.gz
Merge @228176 from Perforce to fix a bug introduced in r249553:
Trim two now-unneeded (and likely harmful) lines from the libstand setjmp/longjmp for MIPS. Spotted by: jmallett MFC after: 3 days Sponsored by: DARPA, AFRL
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/mips/_setjmp.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libstand/mips/_setjmp.S b/lib/libstand/mips/_setjmp.S
index 312f581..0289b0e 100644
--- a/lib/libstand/mips/_setjmp.S
+++ b/lib/libstand/mips/_setjmp.S
@@ -72,7 +72,6 @@ LEAF(_setjmp)
REG_S s7, ((S7 + 3) * SZREG)(a0)
REG_S sp, ((SP + 3) * SZREG)(a0)
REG_S s8, ((S8 + 3) * SZREG)(a0)
- REG_S v0, ((32 + 38) * SZREG)(a0)
j ra
move v0, zero
END(_setjmp)
@@ -96,7 +95,6 @@ LEAF(_longjmp)
REG_L s5, ((S5 + 3) * SZREG)(a0)
REG_L s6, ((S6 + 3) * SZREG)(a0)
REG_L s7, ((S7 + 3) * SZREG)(a0)
- REG_L v0, ((32 + 38) * SZREG)(a0) # get fpu status
REG_L sp, ((SP + 3) * SZREG)(a0)
REG_L s8, ((S8 + 3) * SZREG)(a0)
OpenPOWER on IntegriCloud