diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-01-22 12:45:49 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-01-25 10:33:52 +0100 |
commit | 28229916e1b131ad5d17a73603f65229e0a92f58 (patch) | |
tree | b00b78a2a63076c7d18ebb822e00797f0e3c6346 /gcc/fortran/resolve.c | |
parent | b7a0507ad9f07492a37325a2f494ed933b217a9a (diff) | |
download | gcc-28229916e1b131ad5d17a73603f65229e0a92f58.zip gcc-28229916e1b131ad5d17a73603f65229e0a92f58.tar.gz gcc-28229916e1b131ad5d17a73603f65229e0a92f58.tar.bz2 |
RTEMS: Fix GCC specification
The use of -nostdlib and -nodefaultlibs disables the processing of
LIB_SPEC (%L) as specified by LINK_COMMAND_SPEC and thus disables the
default linker script for RTEMS. Move the linker script to
STARTFILE_SPEC which is controlled by -nostdlib and -nostartfiles. This
fits better since the linker script defines the platform start file
provided by the board support package in RTEMS.
gcc/
* config/rtems.h (STARTFILE_SPEC): Remove nostdlib and
nostartfiles handling since this is already done by
LINK_COMMAND_SPEC. Evaluate qnolinkcmds.
(ENDFILE_SPEC): Remove nostdlib and nostartfiles handling since this
is already done by LINK_COMMAND_SPEC.
(LIB_SPECS): Remove nostdlib and nodefaultlibs handling since
this is already done by LINK_COMMAND_SPEC. Remove qnolinkcmds
evaluation.
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions