This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi:You might look into the sections in ld manual explaining scripting language. Like below.
I am very new to embedded systems and have a basic question regarding linker scripts. How do I, in my linker script specify a memory region that is initially empty. No input sections. I want a certain memory region allocated for a certaon size. I thereafter intend to specify in my code, that certain objects when created are allocated memory from this region by using the __attribute((section= .. command.
As i understand if there are no input sections, the linker does not create the memory region.
Any insights will be highly appreciated.
Thanks in advance.
-R.
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |