[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [openrisc] ELF code location
On Wednesday 16 October 2002 22:44, javier_castillo_villar@yahoo.es wrote:
> Hi again :):
>
> I am trying to execute programs with the or1ksim. Actually I wrote a
> crt0.o file that only contains a start function that calls main.
> I load it into de or1ksim simulator and I write in the 0x100 position a
> l.rfe instruction. Then I put in 0x0 a l.jr to 0x1000074 and a l.nop in the
> 0x04 position because the compiler always locate the code there.
> My question is: Exists a way to say the compiler where he must locate
> the code?
I am sorry, but you are really doing a mess. Things are actually very simple.
See or1ksim/testbench how to compile programs and their boot vectors.
Issue also 'info ld' to see how to write .ld scripts.
Marko
--
To unsubscribe from openrisc mailing list please visit http://www.opencores.org/mailinglists.shtml