On Thu, Jul 27, 2017 at 07:28:30AM +0200, Sebastian Huber wrote: > >This deletes eabi.h and I don't see you add all its definitions to > >rtems.h directly (NAME__MAIN etc.) Is this on purpose? > > Yes, I always wondered why GCC added the __eabi() call to main() out of > thin air. In general, there is no main() function in RTEMS. Instead, you > can statically configure initialization threads. We call __eabi() in the > low-level startup code, e.g. > > https://git.rtems.org/rtems/tree/c/src/lib/libbsp/powerpc/qoriq/start/start.S#n144
Heh, I always thought the EABI must require it, but it seems to be a GCC invention. Patch looks fine to me then. You can approve it yourself of course :-) Segher