This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Accessing fixed addresses


"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.