Oops, forgot to CC to uclibc.

On Wed, Mar 23, 2011 at 8:57 PM, Douglas Mencken <[email protected]> wrote:
>> shouldn't also .globl and .type be removed?
>
> No, it's used by 'as' to generate proper ELF entries.
>
> $ readelf -a crtn.o | grep FUNC
>     8: 00000000    16 FUNC    GLOBAL DEFAULT  UND _init
>     9: 00000000    16 FUNC    GLOBAL DEFAULT  UND _fini
>
> .size was never used, it's useless, and now binutils does right job as
> forcing them to be an error.
> At least, for powerpc assembly.

Well, it's only time for you to figure that out. When your team got
binutils 2.21 (would it happen after a month, a year or 1000 years?).
By the way, linux the kernel guys do actively removing .size
directives from assembly source files.
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to