Hello,

you found a nasty piece in the RTEMS Newlib/GCC configuration. Newlib provides a crt0.o file which contains a bunch of global symbols suitable enough to make the GCC link-time configure tests happy. This file must never be used for a real RTEMS application. The default startfile of GCC (which is this Newlib ctr0.o) must be overruled.  This is usually done be the bsp_specs.  See also

https://lists.rtems.org/pipermail/devel/2017-December/019780.html

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

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

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to