summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-05 09:33:14 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-05 09:33:14 +0200
commit5cf382c0f98d1943bcf51ffa8bde6103e1f102ab (patch)
tree90979785c296b1f80d770b2fceb774ec09493303 /libc
parent2297e6e1e075070d6e62dfe7cccfab600de12870 (diff)
i386: fix .size of _init/_fini
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@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/i386/crtn.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/i386/crtn.S b/libc/sysdeps/linux/i386/crtn.S
index 191250487..ce2608383 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