diff options
Diffstat (limited to 'src/setjmp/x86_64')
-rw-r--r-- | src/setjmp/x86_64/longjmp.s | 4 | ||||
-rw-r--r-- | src/setjmp/x86_64/setjmp.s | 6 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/setjmp/x86_64/longjmp.s b/src/setjmp/x86_64/longjmp.s index dd893512..70271bf5 100644 --- a/src/setjmp/x86_64/longjmp.s +++ b/src/setjmp/x86_64/longjmp.s @@ -1,8 +1,6 @@ /* Copyright 2011 Nicholas J. Kain, licensed GNU LGPL 2.1 or later */ .global _longjmp .global longjmp -.type _longjmp,%function -.type longjmp,%function _longjmp: longjmp: mov %rsi,%rax /* val will be longjmp return */ @@ -20,5 +18,3 @@ longjmp: mov %rdx,%rsp mov 56(%rdi),%rdx /* this is the instruction pointer */ jmp *%rdx /* goto saved address without altering rsp */ -.size _longjmp,.-_longjmp -.size longjmp,.-longjmp diff --git a/src/setjmp/x86_64/setjmp.s b/src/setjmp/x86_64/setjmp.s index faecd353..d5ff113a 100644 --- a/src/setjmp/x86_64/setjmp.s +++ b/src/setjmp/x86_64/setjmp.s @@ -2,9 +2,6 @@ .global __setjmp .global _setjmp .global setjmp -.type __setjmp,%function -.type _setjmp,%function -.type setjmp,%function __setjmp: _setjmp: setjmp: @@ -20,6 +17,3 @@ setjmp: mov %rdx,56(%rdi) xor %rax,%rax /* always return 0 */ ret -.size __setjmp,.-__setjmp -.size _setjmp,.-_setjmp -.size setjmp,.-setjmp |