[klibc] testers sought for script to interpret ELF/klibc executables

H. Peter Anvin hpa at zytor.com
Mon Mar 7 06:41:53 PST 2005


H. Peter Anvin wrote:
>>
>> You're probably right.  See also Debian bug #298311, "new ldd breaks
>> initrd-tools on amd64".  This tool would need to:
>> - be based on bfd,
>> - find interp, the dynamic loader
>> - find the NEEDED records from the .dynamic segment
>> - apply LD_LIBRARY_PATH to such records
> 
> No need to base it on bfd.  For just extracting the interpreter, there 
> is pretty much a pointer in the ELF header.
> 

Also, "readelf -l" does print the interpreter.

	-hpa



More information about the klibc mailing list