From 1e4f1cf154d18d2bd13cd4524a8bbae6786efd02 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 13 Jun 2011 20:28:14 -0400 Subject: 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. --- src/internal/i386/syscall.s | 2 -- src/internal/x86_64/syscall.s | 2 -- 2 files changed, 4 deletions(-) (limited to 'src/internal') 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 -- cgit v1.2.1