This is the mail archive of the ecos-devel@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ECOS] Re: ROMRAM .. kind of


On 22.02.2012 06:33, Elad Yosef wrote:

> You can look at the ecos tables.
> The Tables macros assigned section attribute and the linker script
> keeps them all in the section.

I know how to direct code or data into a section. I don't know
how to link it for the address somewhere else, such that
I compile a code for a section starting at e.g. 0x20000000,
but store it somewhere in .rodata or something.

But thanks for the pointer anyway, it gave me a hint what to google
for in the linker documentation ;) Looks that the AT could be what
I am searching for:

http://www.linuxselfhelp.com/gnu/ld/html_chapter/ld_3.html#SEC21

contains an example of exactly what I want.


Regards
-- 
                                   Stano


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