[git commit future] x86_64: 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=2297e6e1e075070d6e62dfe7cccfab600de12870
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future
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/x86_64/crtn.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libc/sysdeps/linux/x86_64/crtn.S b/libc/sysdeps/linux/x86_64/crtn.S
index 5b110d9..ec40c21 100644
--- a/libc/sysdeps/linux/x86_64/crtn.S
+++ b/libc/sysdeps/linux/x86_64/crtn.S
@@ -7,7 +7,7 @@
.type _init, %function
addq $8, %rsp
ret
-.size _init,.-_init
+.size _init,.-.init
.section .fini
@@ -15,4 +15,4 @@
.type _fini, %function
addq $8, %rsp
ret
-.size _fini, .-_fini
+.size _fini, .-.fini
--
1.7.3.4
More information about the uClibc-cvs
mailing list