diff options
author | Jeff Law <law@gcc.gnu.org> | 1998-06-29 15:40:49 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-06-29 15:40:49 -0600 |
commit | 9ec36da574f8272705a3ead59bbd289f23793429 (patch) | |
tree | 1ec056a51ca5f7af70d48889aab8bbf9c1f9d9aa /gcc/gcc.c | |
parent | ad2c71b764c066471608c85695392c7fb49c7bc7 (diff) | |
download | gcc-9ec36da574f8272705a3ead59bbd289f23793429.zip gcc-9ec36da574f8272705a3ead59bbd289f23793429.tar.gz gcc-9ec36da574f8272705a3ead59bbd289f23793429.tar.bz2 |
* Merge from gcc2 June 9, 1998 snapshot. See ChangeLog.13 for
details.
From-SVN: r20808
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -321,7 +321,7 @@ or with constant text in a single argument. This allows config.h to specify part of the spec for running as. %A process ASM_FINAL_SPEC as a spec. A capital A is actually used here. This can be used to run a post-processor after the - assembler has done it's job. + assembler has done its job. %D Dump out a -L option for each directory in startfile_prefixes. If multilib_dir is set, extra entries are generated with it affixed. %l process LINK_SPEC as a spec. @@ -749,6 +749,12 @@ static int n_default_compilers /* We want %{T*} after %{L*} and %D so that it can be used to specify linker scripts which exist in user specified directories, or in standard directories. */ +#ifdef LINK_COMMAND_SPEC +/* Provide option to override link_command_spec from machine specific + configuration files. */ +static char *link_command_spec = + LINK_COMMAND_SPEC; +#else #ifdef LINK_LIBGCC_SPECIAL /* Don't generate -L options. */ static char *link_command_spec = "\ @@ -774,6 +780,7 @@ static char *link_command_spec = "\ %{T*}\ \n }}}}}}"; #endif +#endif /* A vector of options to give to the linker. These options are accumulated by %x, |