[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[openrisc] ELF code location



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?

   Thanks again
--
To unsubscribe from openrisc mailing list please visit http://www.opencores.org/mailinglists.shtml