This is the mail archive of the ecos-discuss@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: How is "CYGBLD_ATTRIB_SECTION" used in ecos?


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


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