This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

crossgcc: arbitrary sections?


>>>>> "Josef" == Josef Wolf <jw@raven.inka.de> writes:

    Josef> Hello!  I have built m68k-coff for an embedded environment
    Josef> and it runs great.  But now I need arbitrary named sections
    Josef> to store data which can be changed at run-time but needs to
    Josef> survive across power-downs. Nut gcc says, I can't specify
    Josef> arbitrary named sections with coff.  Would this be possible
    Josef> with aout or elf? Or do I need to specify some wired option
    Josef> while compiling?

Use elf for arbitrary named sections.  See the archives for more
info.  There was a thread recently on implementing --target=m68k-elf,
and it seems to me that there we some gotchas you had to overcome, and 
the info to do so was posted.  

BTW The archives are at http://www.elilabs.com/xgccarc for your
browsing pleasure.

-- 
--------  "And there came a writing to him from Elijah"  [2Ch 21:12]  --------
Robert Jay Brown III rj@eli.elilabs.com  http://www.elilabs.com 1 847 705-0424
Elijah Laboratories Inc.;  37 South Greenwood Avenue;  Palatine, IL 60067-6328
-----  M o d e l i n g   t h e   M e t h o d s   o f   t h e   M i n d  ------