public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] How is "CYGBLD_ATTRIB_SECTION" used in ecos?
@ 2009-09-03  2:03 Ajit Mittal
  2009-09-03  4:59 ` Sergei Gavrikov
  0 siblings, 1 reply; 2+ messages in thread
From: Ajit Mittal @ 2009-09-03  2:03 UTC (permalink / raw)
  To: ecos-discuss

I want to understand how "CYGBLD_ATTRIB_SECTION" is used in ecos. How
is it related to attribute.


Thanks

-- 
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] 2+ messages in thread

* Re: [ECOS] How is "CYGBLD_ATTRIB_SECTION" used in ecos?
  2009-09-03  2:03 [ECOS] How is "CYGBLD_ATTRIB_SECTION" used in ecos? Ajit Mittal
@ 2009-09-03  4:59 ` Sergei Gavrikov
  0 siblings, 0 replies; 2+ messages in thread
From: Sergei Gavrikov @ 2009-09-03  4:59 UTC (permalink / raw)
  To: Ajit Mittal; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-03  4:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-03  2:03 [ECOS] How is "CYGBLD_ATTRIB_SECTION" used in ecos? Ajit Mittal
2009-09-03  4:59 ` Sergei Gavrikov

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).