[patch] remove .size directives from libc/sysdeps/linux/powerpc/crtn.S
Douglas Mencken
dougmencken at gmail.com
Wed Mar 23 20:26:57 UTC 2011
> crti.o has these already, why would we need references in crtn.o as well? When we link some app/lib, crti.o and crtn.o are used together, so the functions are around, I think we need only the .section init/fini.
This requires some testing. I may perform that tomorrow.
> Does the ppc assembler fail on all *.S files that use .size or only if the function is not also defined in the same file? So .size would be correct (assembly-wise in crti.S, but not crtn.S), I know that we should not need it at all (glibc compiles these *initfini* with inhibit-size-directive)
Currently, 'as' fails on any .size directive. crti.S doesn't have any
.size at all.
More information about the uClibc
mailing list