[git commit] x86_64: fix .size of _init/_fini

Mike Frysinger vapier at gentoo.org
Mon May 9 14:12:15 UTC 2011


On Sun, May 8, 2011 at 10:54, Peter Mazinger wrote:
> How does it come, that glibc does not need .size directive on these files (crti.o and crtn.o) but uClibc would need them?

please dont top post.  i didnt say the .size is necessary for uClibc,
it's just always desirable for objects to have their proper size
declared.  then ELF parsers (like gdb and objdump) can properly label
things.

if it isnt possible with the init/fini sections because the symbol is
split, then dropping the .size makes sense.
-mike


More information about the uClibc mailing list