summaryrefslogtreecommitdiff
path: root/src/setjmp/i386
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-06-13 20:28:14 -0400
committerRich Felker <dalias@aerifal.cx>2011-06-13 20:28:14 -0400
commit1e4f1cf154d18d2bd13cd4524a8bbae6786efd02 (patch)
treeeca66e8c61211ca5a192f78db4ef0c5d275e63e5 /src/setjmp/i386
parent76100a724ee714a64f773e325d084fd0422aea3d (diff)
downloadmusl-1e4f1cf154d18d2bd13cd4524a8bbae6786efd02.tar.gz
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/i386')
-rw-r--r--src/setjmp/i386/longjmp.s4
-rw-r--r--src/setjmp/i386/setjmp.s6
2 files changed, 0 insertions, 10 deletions
diff --git a/src/setjmp/i386/longjmp.s b/src/setjmp/i386/longjmp.s
index 249d7b4d..b139d9fe 100644
--- a/src/setjmp/i386/longjmp.s
+++ b/src/setjmp/i386/longjmp.s
@@ -1,7 +1,5 @@
.global _longjmp
.global longjmp
-.type _longjmp,%function
-.type longjmp,%function
_longjmp:
longjmp:
mov 4(%esp),%edx
@@ -18,5 +16,3 @@ longjmp:
mov %ecx,%esp
mov 20(%edx),%ecx
jmp *%ecx
-.size _longjmp,.-_longjmp
-.size longjmp,.-longjmp
diff --git a/src/setjmp/i386/setjmp.s b/src/setjmp/i386/setjmp.s
index 89e614fa..d53c1a63 100644
--- a/src/setjmp/i386/setjmp.s
+++ b/src/setjmp/i386/setjmp.s
@@ -1,9 +1,6 @@
.global __setjmp
.global _setjmp
.global setjmp
-.type __setjmp,%function
-.type _setjmp,%function
-.type setjmp,%function
__setjmp:
_setjmp:
setjmp:
@@ -18,6 +15,3 @@ setjmp:
mov %ecx, 20(%eax)
xor %eax, %eax
ret
-.size __setjmp,.-__setjmp
-.size _setjmp,.-_setjmp
-.size setjmp,.-setjmp