[uClibc] PATCH: corrections to uclibc

Joakim Tjernlund joakim.tjernlund at lumentis.se
Wed Oct 6 09:35:46 UTC 2004


> On Wed, 6 Oct 2004, Joakim Tjernlund wrote:
> 
> > > On Tue, 5 Oct 2004, Joakim Tjernlund wrote:
> > > 
> > > > > Hello!
> > > > > 
> > > > > The attached patches remove unneeded -D<somedefine>, and uses instead 
> > > > > #ifdef __somedefine__
> > > > > 
> > > > > Peter
> > > > 
> > > > Applied the ldd part. The ldso part clashed with Peter Kjellerstedts stuff.
> > > > Can you rediff the ldso part?
> > > 
> > > Attached.
> > > 2 others:
> > > 1. PIE option correction for Config.in
> > > 2. puts common defines into dl-defs.h (in ldso/include) from dl-elf.h and 
> > > dl-cache.h and make use of it. Also disables the lib-path-redundancy check 
> > > for the case the cache is not used. Makes use of _PRELOAD_FILE_SUPPORT.
> > > 
> > > Peter
> > 
> > All applied.
> > 
> > I noticed that ldconfig -p prints (unknown) for every lib but ld-uClibc, probably harmless but
> > it is confusing. Finally, why not strip trailing / in ldconfig.c at all times?
> 
> I think unknown is printed because LIB_ELF_LIBC0 is missing from 
> cache_print (ldconfig.c)

Appears so, but I wounder about LIB_ELF_LIBC{5,6}. Aren't these specific for glibc?

> 
> The stripping can be done, I only wanted to disable the duplicate check if 
> the cache is not used.

I see.



More information about the uClibc mailing list