diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-06-13 20:28:14 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-06-13 20:28:14 -0400 |
commit | 1e4f1cf154d18d2bd13cd4524a8bbae6786efd02 (patch) | |
tree | eca66e8c61211ca5a192f78db4ef0c5d275e63e5 /src/setjmp/x86_64/longjmp.s | |
parent | 76100a724ee714a64f773e325d084fd0422aea3d (diff) | |
download | musl-1e4f1cf154d18d2bd13cd4524a8bbae6786efd02.tar.gz musl-1e4f1cf154d18d2bd13cd4524a8bbae6786efd02.tar.xz musl-1e4f1cf154d18d2bd13cd4524a8bbae6786efd02.zip |
remove all .size and .type directives for functions from the asm
these are useless and have caused problems for users trying to build with non-gnu tools like tcc's assembler.
Diffstat (limited to 'src/setjmp/x86_64/longjmp.s')
-rw-r--r-- | src/setjmp/x86_64/longjmp.s | 4 |
1 files changed, 0 insertions, 4 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 |