summaryrefslogtreecommitdiff
path: root/src/internal
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/internal
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/internal')
-rw-r--r--src/internal/i386/syscall.s2
-rw-r--r--src/internal/x86_64/syscall.s2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/internal/i386/syscall.s b/src/internal/i386/syscall.s
index 5b19a1b8..083db1ce 100644
--- a/src/internal/i386/syscall.s
+++ b/src/internal/i386/syscall.s
@@ -1,5 +1,4 @@
.global __syscall
-.type __syscall,%function
__syscall:
pushl %ebx
pushl %esi
@@ -18,4 +17,3 @@ __syscall:
popl %esi
popl %ebx
ret
-.size __syscall,.-__syscall
diff --git a/src/internal/x86_64/syscall.s b/src/internal/x86_64/syscall.s
index 776cde21..931f44f6 100644
--- a/src/internal/x86_64/syscall.s
+++ b/src/internal/x86_64/syscall.s
@@ -1,5 +1,4 @@
.global __syscall
-.type __syscall,%function
__syscall:
movq %rdi,%rax
movq %rsi,%rdi
@@ -10,4 +9,3 @@ __syscall:
movq 8(%rsp),%r9
syscall
ret
-.size __syscall,.-__syscall