* [ECOS] using CYGBLD_ATTRIB_SECTION to place data in specific section
@ 2005-08-15 16:24 Will Wagner
0 siblings, 0 replies; only message in thread
From: Will Wagner @ 2005-08-15 16:24 UTC (permalink / raw)
To: eCos Discussion
Hi All,
I'm trying to get the compiler to place an unsigned int at a specific
location in my image.
To do this I have made an addition to the .ldi file that includes the
new section. I then was trying to use the CYGBLD_ATTRIB_SECTION macro to
specify the location I want the data to be placed in.
i.e.
unsigned int myData CYGBLD_ATTRIB_SECTION(.mySection) = 0;
If I try this I get a compile error.
How can I get the compiler to place the data in the specified section?
Many thanks,
Will
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-08-15 16:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-15 16:24 [ECOS] using CYGBLD_ATTRIB_SECTION to place data in specific section Will Wagner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).