_init magic for c++ (on sparc64)

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Nov 30 11:29:00 UTC 2010

On 11/30/2010 12:15 PM, Ralf Corsepius wrote:
>> Also RTEMS does not care about the functions referenced by the array
>> sections.
> Correct, GCC does the ground work.

Can you please provide me with a hint where I can find this in the GCC sources?
 Tests with the ARM EABI tool chain showed that I need the array section
support in the linker command file and that I have to call the __libc_{init,
fini}_array() functions provided by Newlib.

Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

More information about the users mailing list