[PATCH] RTEMS: Improve GCC specification
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Apr 7 07:31:54 UTC 2020
On 07/04/2020 09:29, Sebastian Huber wrote:
> Add a start/end file specification if the -qrtems option is present.
> Allow targets to customize it.
>
> Support the standard -nodefaultlibs option.
>
> gcc/
>
> * config/rs6000/rtems.h (RTEMS_STARTFILE_SPEC): Define.
> (RTEMS_ENDFILE_SPEC): Likewise.
>
> * config/rtems.h (RTEMS_STARTFILE_SPEC): Define if undefined.
> (RTEMS_ENDFILE_SPEC): Likewise.
> (STARTFILE_SPEC): Update comment. Add RTEMS_STARTFILE_SPEC.
> (ENDFILE_SPEC): Add RTEMS_ENDFILE_SPEC.
> (LIB_SPECS): Support -nodefaultlibs option.
This change is intended for GCC 10 and RTEMS 6:
https://devel.rtems.org/ticket/3937
I will add this patch to the RTEMS 6 RSB build and try to build the BSPs
without a bsp_specs file with it.
More information about the devel
mailing list