This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Relocating the executable
- From: Christoph Csebits <christoph dot csebits at frequentis dot com>
- To: "N.Suresh" <nsuresh at cdotb dot ernet dot in>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Wed, 19 Dec 2001 07:42:56 +0100
- Subject: Re: [ECOS] Relocating the executable
- References: <3C202FE1.58287A80@cdotb.ernet.in>
Hi,
On Wed, Dec 19, 2001 at 11:42:49AM +0530, N.Suresh wrote:
> I want to generate an elf which can be loaded at some other
> location.
> I tried to change the origin and size of ram.ldi and ram.h file of
> MBX platform but it didn't work.
change 0x1cd00 in line
CYG_LABEL_DEFN(__reserved_for_rom) = ALIGN (0x10); . = CYG_LABEL_DEFN(__reserved_for_rom) + 0x1cd00;
e.g. for 0xfcd00 you get an entry point at 0x100000.
Thats how i did it.
christoph