OSDN Git Service

i386: fix .size of _init/_fini
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 5 May 2011 07:33:14 +0000 (09:33 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 5 May 2011 07:33:14 +0000 (09:33 +0200)
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>
libc/sysdeps/linux/i386/crtn.S

index 1912504..ce26083 100644 (file)
@@ -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