_init magic for c++ (on sparc64)

Gedare Bloom gedare at gwmail.gwu.edu
Tue Nov 30 16:42:32 UTC 2010


On Tue, Nov 30, 2010 at 4:28 AM, Ralf Corsepius
<ralf.corsepius at rtems.org> wrote:
> On 11/30/2010 09:21 AM, Sebastian Huber wrote:
<snip>
>> 2010-11-29      Sebastian Huber<sebastian.huber at embedded-brains.de>
<snip>
>> Apart from that, it seems the sparc64 tool chain is a bit unusual.  The
>> crti.o
>> and crtn.o files are normally provided by the tool chain and contain the
>> init
>> and fini sections.
>
> I am inclined not to consider this to be unusual, but your observation to be
> a bug somewhere in RTEMS sparc64 gcc/newlib port.
>
So it might be a good idea for me to look at why newlib / gcc are not
generating the crti.o and crtn.o files, since this may be a root cause
for the missing _init?

-Gedare




More information about the users mailing list