[ECOS] How is "CYGBLD_ATTRIB_SECTION" used in ecos?

Sergei Gavrikov sergei.gavrikov@gmail.com
Thu Sep 3 04:59:00 GMT 2009


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



More information about the Ecos-discuss mailing list