[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Automatic manager initialisation



Ralf Corsepius wrote:
On Fri, 2004-06-04 at 04:48, Chris Johns wrote:
>> 
>>
>>Does the gcc '__attribute((section("xxxx")))' extension work for COFF ?
> 
> Basically yes.
> 

This is all that is used so COFF should be ok.

> 
>>Can I assume you do not build the networking stack for SH COFF targets ?
> 
> I do, but I have never used it and I don't know if others have done.
> 

A simple test to see the sections are being created is to run:

   $ m68k-rtems-objdump -t librtemscpu.a | \
      grep __set_sysctl_set_sym_sysctl___kern_osrelease
   0000000c l     O set_sysctl_set 00000004 \
                        __set_sysctl_set_sym_sysctl___kern_osrelease

--
Chris Johns