This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Is there a static relocatable ELF loader currently available on linux/cygwin?
- From: "Ramana Radhakrishnan" <ramana dot r at gmail dot com>
- To: PRC <panruochen at gmail dot com>
- Cc: binutils <binutils at sourceware dot org>
- Date: Tue, 4 Sep 2007 13:20:10 +0530
- Subject: Re: Is there a static relocatable ELF loader currently available on linux/cygwin?
- References: <200709031943124398213@gmail.com>
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