RTEMS: Fix default linker script
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Mon, 25 Jan 2021 11:29:05 +0000 (12:29 +0100)
committerSebastian Huber <sebastian.huber@embedded-brains.de>
Mon, 25 Jan 2021 11:31:23 +0000 (12:31 +0100)
commit0433fc2d7d44eafd61017cd0b6c4cab1fcb16990
tree91b6dca36fc7cf9c65fc7df9a78a3d9bdb38662a
parent5d01fc7c11606fa0fa36210309df6b10b6e07775
RTEMS: Fix default linker script

We have to use ENDFILE_SPEC for the default linker script and not
STARTFILE_SPEC, since STARTFILE_SPEC is place before the user provided
library search paths.

gcc/

* config/rtems.h (STARTFILE_SPEC): Remove qnolinkcmds.
(ENDFILE_SPEC): Evaluate qnolinkcmds.
gcc/config/rtems.h