diff options
Diffstat (limited to 'src/setjmp/ppc')
-rw-r--r-- | src/setjmp/ppc/longjmp.S | 17 | ||||
-rw-r--r-- | src/setjmp/ppc/setjmp.S | 18 |
2 files changed, 0 insertions, 35 deletions
diff --git a/src/setjmp/ppc/longjmp.S b/src/setjmp/ppc/longjmp.S deleted file mode 100644 index df13c7b1..00000000 --- a/src/setjmp/ppc/longjmp.S +++ /dev/null @@ -1,17 +0,0 @@ -#include <bits/asm.h> - .global _longjmp - .global longjmp - .type _longjmp,@function - .type longjmp,@function -_longjmp: -longjmp: - cmpi 7, 0, r3, 0 - bne 7, 1f - addi r3, r3, 1 -1: lmw r8, 4(r3) // load r8-r31 - mr r6, r4 - mtlr r11 - mtcr r12 - mr r2, r9 - mr r1, r10 - blr diff --git a/src/setjmp/ppc/setjmp.S b/src/setjmp/ppc/setjmp.S deleted file mode 100644 index 7d0b9ac5..00000000 --- a/src/setjmp/ppc/setjmp.S +++ /dev/null @@ -1,18 +0,0 @@ -#include <bits/asm.h> - .global __setjmp - .global _setjmp - .global setjmp - .type __setjmp,@function - .type _setjmp,@function - .type setjmp,@function -__setjmp: -_setjmp: -setjmp: - mflr r11 - mfcr r12 - mr r10, r1 - mr r9, r2 - stmw r8, 0(r3) // save r8-r31 - li r3,0 - blr - |