[ECOS] vectors.s

Rupesh S rupeshs@myw.ltindia.com
Wed Apr 16 09:15:00 GMT 2003


I din't feel that the code is linked for Position independency, 'coz the
jump and bra instructions in the dissambled code seems to have 4 byte full
address operands.

----- Original Message -----
From: "Andrew Lunn" <andrew.lunn@ascom.ch>
To: "Rupesh S" <rupeshs@myw.ltindia.com>
Cc: <ecos-discuss@sources.redhat.com>
Sent: Wednesday, April 16, 2003 1:56 AM
Subject: Re: [ECOS] vectors.s


> On Mon, Apr 16, 2001 at 02:28:21PM -0700, Rupesh S wrote:
> > I looked in the dissambled code generated using sh-elf-objdump,
>
> The code will be position independent. It might looked to be linked to
> run at 0x0, but since its position independent, it will run OK at the
> flash high address 0x80000000.
>
>       Andrew
>
> > ----- Original Message -----
> > From: "Andrew Lunn" <andrew.lunn@ascom.ch>
> > To: "Rupesh S" <rupeshs@myw.ltindia.com>
> > Cc: <ecos-discuss@sources.redhat.com>
> > Sent: Wednesday, April 16, 2003 1:00 AM
> > Subject: Re: [ECOS] vectors.s
> >
> >
> > > On Mon, Apr 16, 2001 at 01:35:26PM -0700, Rupesh S wrote:
> > > > My architecture is sh3 processor ,7729.
> > > > As you said, Flash is mapped at 0x0 & 0x80000000.
> > > > But what I don't understand is that, when it jumps to the High
memory,
> > > > (0x8000000e in my case), shouldn't there  be some or the other pice
of
> > code
> > > > attached there,
> > > > But I'm not seeing any instruction placed at that address.
> > >
> > > How are you looking?
> > >
> > >     Andrew
> >


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list