Accessing fixed addresses

Greg McGary gkm@eng.ascend.com
Thu Mar 4 12:35:00 GMT 1999


"John Breen" <jab3@hotmail.com> writes:

> The second is probably the better one in the long run.  I had considered 
> using the link file, but I was still thinking in terms of pointers, 
> rather than variables that actually reside at the hardware location.  I 
> think this will do what I want.  I'll have to read up a bit more on the 
> link file syntax and see how clever I can be :).

If there are only a handful of such definitions, you can avoid hacking
linker scripts and just pass --defsym <SYMBOL>=<ADDR> on the command
line.
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.



More information about the crossgcc mailing list