About linkcmds

Aaron Xinhuan Liu xliu at csr.UVic.CA
Fri Apr 21 14:33:02 UTC 2000


Thank you for your help.

I'd like to place the RTEMS entry point to the second long word of the image I
use.

Aaron



Ian Lance Taylor wrote:

>    Date: Fri, 21 Apr 2000 15:04:04 +0100
>    From: Aaron Xinhuan Liu <xliu at csr.UVic.CA>
>
>    Does anyone know how to assign a function address to  a variable in the
>    linkcmds script ? Is it ok if I use " startAddr = &start ; "?  Thanks.
>
> That won't work.
>
> In the linker script language, symbols represent an address in virtual
> memory.  Assigning to a symbol means setting it to an address in
> virtual memory.  So `startAddr = start;' is more likely to be correct.
>
> What are you trying to do?
>
> Ian




More information about the users mailing list