diff options
author | Alexandre Oliva <oliva@adacore.com> | 2020-07-24 15:38:35 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2020-07-24 16:13:37 -0300 |
commit | 5fa1767aa45e1a927e832ccc09e959d4c8a9548c (patch) | |
tree | ca3d07d8a8c62b692e82c12294fa2ff1a85db468 /gcc/gcc.c | |
parent | aa7e7eff5ec165dc8463a0e74309801b15d1feda (diff) | |
download | gcc-5fa1767aa45e1a927e832ccc09e959d4c8a9548c.zip gcc-5fa1767aa45e1a927e832ccc09e959d4c8a9548c.tar.gz gcc-5fa1767aa45e1a927e832ccc09e959d4c8a9548c.tar.bz2 |
[PR95720] protect gluefile and wrap_flags with -Wl too
The testglue object file gets interpreted as another input file,
changing the dump and aux output names in GCC unless it is protected
by -Wl, like board file-named extra inputs.
Refactor the code that modifies the board settings so that it can be
used to modify regular variables as well, and do so.
for gcc/testsuite/ChangeLog
PR testsuite/95720
* lib/gcc-defs.exp (gcc_adjust_linker_flags_list): Split out of...
(gcc_adjust_linker_flags): ... this. Protect gluefile and
wrap_flags.
* gcc.misc-tests/outputs.exp: Use gcc_adjust_linker_flags_list.
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions