This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is there a static relocatable ELF loader currently available on linux/cygwin?


Hi,

On 9/3/07, PRC <panruochen@gmail.com> wrote:
> Hi All,
>
> I wonder weather there is such an utility currently available on linux/cygwin,
> which can `load` an relocatable ELF image to a specified address,
> fix all relocation entries based on the specifed address so that the fixed image
> can actually run in the specified address, and finally output the fixed image to
> another ELF file.

What you want sounds like prelinking . http://en.wikipedia.org/wiki/Prelinking
Read this : http://people.redhat.com/jakub/prelink.pdf

The prelinker works on GNU/Linux systems - I am not aware of a cygwin port.


cheers
Ramana



>
> The mkimage utility in linux kernel/u-boot looks kind of like the utility I want.
> But it seems that mkimage can't output an ELF file.
>
>
>
> Best regards.
> -----------------
> Panruochen
> 2007/9/3
>
>


-- 
Ramana Radhakrishnan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]