]> git.ipfire.org Git - thirdparty/gcc.git/commit
spell ldscript correctly in outputs.exp et al
authorAlexandre Oliva <oliva@adacore.com>
Tue, 2 Jun 2020 17:33:38 +0000 (14:33 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Tue, 2 Jun 2020 17:33:38 +0000 (14:33 -0300)
commitce95db102aab4dea9af24a20de78db2f57c0a37b
tree5f612db62c4cdd2a8e7cc56643d89e183282a0f0
parentb2672dd630c81513e08829adc63294ffeedf5693
spell ldscript correctly in outputs.exp et al

In my recent changes to outputs.exp and gcc-defs.exp, I misreferenced
dejagnu board property ldscript, singular, as ldscripts, plural.

This probably didn't have much impact on gcc-defs.exp: the code there
would just prefix with -Wl, any options that amounted to file names,
and linker scripts probably wouldn't be named without a -T or even an
-Wl,-T, prefix.

The visible effects were in outputs.exp, that also intended to add the
ldscript, if present, to the set of options to be passed to the
compiler driver for linking.  Using the wrong option name, that
wouldn't work.

for  gcc/testsuite/ChangeLog

* gcc.misc-tests/outputs.exp: Spell ldscript correctly.
* lib/gcc-defs.exp (gcc_adjust_linker_flags): Likewise.
gcc/testsuite/gcc.misc-tests/outputs.exp
gcc/testsuite/lib/gcc-defs.exp