]> git.ipfire.org Git - thirdparty/gcc.git/commit
RTEMS: Improve GCC specification
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Mon, 6 Apr 2020 14:34:50 +0000 (16:34 +0200)
committerSebastian Huber <sebastian.huber@embedded-brains.de>
Mon, 11 May 2020 09:02:44 +0000 (11:02 +0200)
commit0eb6021c8536880cf7ceac9d9f2c600e168a5121
tree7e2ba9a9828244c81bee8d2e9c8ad1e16c25ea73
parent340c711bc0835346000d7863155fbf82af42828e
RTEMS: Improve GCC specification

Add a start/end file specification if the -qrtems option is present.
Allow targets to customize it.

Support the standard -nodefaultlibs option.

gcc/

* 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.
* config/or1k/rtems.h (RTEMS_STARTFILE_SPEC): Define.
(RTEMS_ENDFILE_SPEC): Likewise.
* config/rs6000/rtems.h (RTEMS_STARTFILE_SPEC): Likewise.
(RTEMS_ENDFILE_SPEC): Likewise.
* config/v850/rtems.h (RTEMS_STARTFILE_SPEC): Likewise.
(RTEMS_ENDFILE_SPEC): Likewise.
gcc/ChangeLog
gcc/config/or1k/rtems.h
gcc/config/rs6000/rtems.h
gcc/config/rtems.h
gcc/config/v850/rtems.h