public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] New section
@ 2002-11-14 21:20 Vinayak P Risbud
       [not found] ` <3DD51DFC.37B3DF8D@cdotb.ernet.in>
  0 siblings, 1 reply; 2+ messages in thread
From: Vinayak P Risbud @ 2002-11-14 21:20 UTC (permalink / raw)
  To: Ecos-Discuss

    I want to create my own new elf section ,
   and I want to map my C code my own
    defined section, instead of standard .text
    section.

    How can I do this ?

    ~
        Vinayak


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

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

* Re: [ECOS] New section
       [not found] ` <3DD51DFC.37B3DF8D@cdotb.ernet.in>
@ 2002-11-14 21:55   ` Vinayak P Risbud
  0 siblings, 0 replies; 2+ messages in thread
From: Vinayak P Risbud @ 2002-11-14 21:55 UTC (permalink / raw)
  To: rejip, manojv; +Cc: Red Hat cossgcc mailing, Ecos-Discuss

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

        Hi,
            Thanks, I am able to do this using a small test program.  I have
            attatched my test program.  The compiler mapped  global variable
            i and the function test_sec() to section mysec.

        Thanks for your kind help

        ~
            Vinayak


[-- Attachment #2: section.c --]
[-- Type: application/x-unknown-content-type-c_auto_file, Size: 271 bytes --]

[-- Attachment #3: Type: text/plain, Size: 146 bytes --]

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

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

end of thread, other threads:[~2002-11-15  5:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-14 21:20 [ECOS] New section Vinayak P Risbud
     [not found] ` <3DD51DFC.37B3DF8D@cdotb.ernet.in>
2002-11-14 21:55   ` Vinayak P Risbud

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