Ping! malloc bug, and PIC and flat shared library support for m68k
Bernd Schmidt
bernds_cb1 at t-online.de
Fri Nov 17 16:51:14 UTC 2006
Mike Frysinger wrote:
> On Friday 03 November 2006 04:14, Richard Sandiford wrote:
>> + When using flat shared libraries, every library has a unique
>> + system-wide identifier. Identifier 0 is reserved for
>> + executables and true shared libraries have identifiers
>> + starting at 1. The maximum shared library identifier is
>> + determined by the kernel and is usually 3. Shared library
>> + N must be available on the target system as "/lib/libN.so".
>
> i thought the default setup was:
> ID 1 -> libc.so
> ID 2 -> libpthread.so
That doesn't work so well because there are circular dependencies. On
the Blackfin we currently produce a combined libc & libpthread as
lib2.so, but I don't know whether anyone is actually using it.
> max id -> 255
Definitely lower. Not enough bits, on Blackfin anyway.
Bernd
More information about the uClibc
mailing list