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/thread/x86_64/clone.s | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/thread/x86_64/clone.s') diff --git a/src/thread/x86_64/clone.s b/src/thread/x86_64/clone.s index e006bccd..ce67cc62 100644 --- a/src/thread/x86_64/clone.s +++ b/src/thread/x86_64/clone.s @@ -1,7 +1,6 @@ /* Copyright 2011 Nicholas J. Kain, licensed GNU LGPL 2.1 or later */ .text .global __uniclone -.type __uniclone,%function /* rdi = child_stack, rsi = start, rdx = pthread_struct */ __uniclone: subq $8,%rsp /* pad parent stack to prevent branch later */ @@ -19,4 +18,3 @@ __uniclone: pop %rdi /* child stack: restore pthread_struct * parent stack: undo rsp displacement */ ret -.size __uniclone,.-__uniclone -- cgit v1.2.1