diff options
author | Rich Felker <dalias@aerifal.cx> | 2016-01-20 01:44:06 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-01-20 01:45:44 +0000 |
commit | 4b9a08f29303661e9680fc1ee1569daa25df7d50 (patch) | |
tree | 13d9b55f34c7cc76235fb4544c8b27e27d7d5ed7 /src/setjmp/sh-nofpu | |
parent | 56764601af17aa6fb8b70b714c6bd8bb1d9f4229 (diff) | |
download | musl-4b9a08f29303661e9680fc1ee1569daa25df7d50.tar.gz musl-4b9a08f29303661e9680fc1ee1569daa25df7d50.tar.xz musl-4b9a08f29303661e9680fc1ee1569daa25df7d50.zip |
switch sh and mips setjmp asm from .sub system to .S files
Diffstat (limited to 'src/setjmp/sh-nofpu')
-rw-r--r-- | src/setjmp/sh-nofpu/longjmp.s | 22 | ||||
-rw-r--r-- | src/setjmp/sh-nofpu/longjmp.sub | 1 | ||||
-rw-r--r-- | src/setjmp/sh-nofpu/setjmp.s | 24 | ||||
-rw-r--r-- | src/setjmp/sh-nofpu/setjmp.sub | 1 |
4 files changed, 0 insertions, 48 deletions
diff --git a/src/setjmp/sh-nofpu/longjmp.s b/src/setjmp/sh-nofpu/longjmp.s deleted file mode 100644 index cda482c5..00000000 --- a/src/setjmp/sh-nofpu/longjmp.s +++ /dev/null @@ -1,22 +0,0 @@ -.global _longjmp -.global longjmp -.type _longjmp, @function -.type longjmp, @function -_longjmp: -longjmp: - mov.l @r4+, r8 - mov.l @r4+, r9 - mov.l @r4+, r10 - mov.l @r4+, r11 - mov.l @r4+, r12 - mov.l @r4+, r13 - mov.l @r4+, r14 - mov.l @r4+, r15 - lds.l @r4+, pr - - tst r5, r5 - movt r0 - add r5, r0 - - rts - nop diff --git a/src/setjmp/sh-nofpu/longjmp.sub b/src/setjmp/sh-nofpu/longjmp.sub deleted file mode 100644 index e80331b6..00000000 --- a/src/setjmp/sh-nofpu/longjmp.sub +++ /dev/null @@ -1 +0,0 @@ -longjmp.s diff --git a/src/setjmp/sh-nofpu/setjmp.s b/src/setjmp/sh-nofpu/setjmp.s deleted file mode 100644 index 41210f92..00000000 --- a/src/setjmp/sh-nofpu/setjmp.s +++ /dev/null @@ -1,24 +0,0 @@ -.global ___setjmp -.hidden ___setjmp -.global __setjmp -.global _setjmp -.global setjmp -.type __setjmp, @function -.type _setjmp, @function -.type setjmp, @function -___setjmp: -__setjmp: -_setjmp: -setjmp: - add #36, r4 - sts.l pr, @-r4 - mov.l r15 @-r4 - mov.l r14, @-r4 - mov.l r13, @-r4 - mov.l r12, @-r4 - mov.l r11, @-r4 - mov.l r10, @-r4 - mov.l r9, @-r4 - mov.l r8, @-r4 - rts - mov #0, r0 diff --git a/src/setjmp/sh-nofpu/setjmp.sub b/src/setjmp/sh-nofpu/setjmp.sub deleted file mode 100644 index b7ad2210..00000000 --- a/src/setjmp/sh-nofpu/setjmp.sub +++ /dev/null @@ -1 +0,0 @@ -setjmp.s |