[git commit] i386: fix .size of _init/_fini

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu May 5 07:33:14 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=5cf382c0f98d1943bcf51ffa8bde6103e1f102ab
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

binutils-2.21 barf on .size that do not evaluate to const, so use
the section size and not a function that is not visible here.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 libc/sysdeps/linux/i386/crtn.S |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libc/sysdeps/linux/i386/crtn.S b/libc/sysdeps/linux/i386/crtn.S
index 1912504..ce26083 100644
--- a/libc/sysdeps/linux/i386/crtn.S
+++ b/libc/sysdeps/linux/i386/crtn.S
@@ -6,7 +6,7 @@
 	popl	%ebx
 	popl	%ebp
 	ret
-.size _init,.-_init
+.size _init,.-.init
 
 
 
@@ -16,7 +16,7 @@
 	popl	%ebx
 	popl	%ebp
 	ret
-.size _fini,.-_fini
+.size _fini,.-.fini
 
 
 
-- 
1.7.3.4



More information about the uClibc-cvs mailing list