This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: How is "CYGBLD_ATTRIB_SECTION" used in ecos?
- From: Sergei Gavrikov <sergei dot gavrikov at gmail dot com>
- To: Ajit Mittal <ajitmittal at gmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 3 Sep 2009 07:59:44 +0300
- Subject: Re: [ECOS] How is "CYGBLD_ATTRIB_SECTION" used in ecos?
- References: <dfa7268c0909021903gfa573b6p74f7df6dc26ecb49@mail.gmail.com>
On Wed, Sep 02, 2009 at 10:03:43PM -0400, Ajit Mittal wrote:
> I want to understand how "CYGBLD_ATTRIB_SECTION" is used in ecos. How
> is it related to attribute.
That's it
infra/current/include/cyg_type.h:425
# define CYGBLD_ATTRIB_SECTION(__sect__) __attribute__((section (__sect__)))
http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html
A few examples of usage
find $ECOS_REPOSITORY -type f -print0 | xargs -0 grep -l CYGBLD_ATTRIB_SECT
Sergei
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss