Allocate a variable in a known physical location

Ian Lance Taylor iant@google.com
Wed Feb 2 22:00:00 GMT 2011


isuru herath <isuru81@yahoo.com> writes:

> Thanks for the reply and suggestion. I am not familiar with section 
> attribute, so I will need sometime to look in to that. Particularly I don't 
> know how to specify a physical address range for a section. I found the 
> following link.
> http://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html
> But it does not explain how to develop a linker script. Any reference would 
> be greatly appreciated. In the mean time I am trying silly things, probably 
> you have seen in my other mails to the list.

Linker scripts are used with the linker and are documented in the linker
manual.

http://sourceware.org/binutils/docs-2.21/ld/Scripts.html

Ian



More information about the Gcc-help mailing list