Ping! malloc bug, and PIC and flat shared library support for m68k

Mike Frysinger vapier at
Fri Nov 17 18:40:29 UTC 2006

On Friday 17 November 2006 13:27, Richard Sandiford wrote:
> Are you asking instead whether normal .init_array and .fini_array
> sections are handled by the patch as-is?  If so, the answer's yes.
> It handles both .init/.fini sections and .init_array/.fini_array
> sections, much as __uClibc_main.c already does for "static"
> uClinux executables.

i meant, we have all this code in place already to handle 
__preinit_array_{end,start} in __uClibc_main.c for static binaries and the 
pointers to these things are provided implicitly by the linker

in my mind, there should be no sep code to handle init/fini code with shared 
flat ... so what am i missing ?  is it that since handling of shared flat 
code is such a bastardize project (needed in order to stay so damn small/lean 
compared to ELF), the init/fini arrays cannot be provided by the linker and 
must be set up by the kernel and passed down into userspace ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : 

More information about the uClibc mailing list