ld-linux

Brian Blietz bblietz@iastate.edu
Sat Jan 31 19:40:00 GMT 2004


If I use -dynamic-linker ANYTHING
the elf file ends up with

/usr/lib/libc.so.1 as its loader, which of course
gives the following error when running:
/usr/lib/libc.so.1: bad ELF interpreter: No such file or directory


Brian


Daniel Jacobowitz wrote:

>On Sat, Jan 31, 2004 at 12:59:33PM -0600, Brian Blietz wrote:
>  
>
>>Ok a little more detail.
>>I would like to use another dynamic loader, ld-linux-new.so.2
>>
>>What all do I need to modify, to make this show up in the elf header?
>>I am guessing all I need to modify is ld/configure.host
>>    
>>
>
>I suggest you read the manual section for -dynamic-linker, and simply
>/pass -dynamic-linker lib/ld-linux-new.so.2 to ld.
>
>
>  
>

-- 
Brian Blietz
bblietz@iastate.edu

"There are 10 types of people in the world...
Those who understand binary, and those who don't."



More information about the Binutils mailing list