diff options
author | Dimitar Dimitrov <dimitar@dinux.eu> | 2016-12-30 12:39:59 +0200 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-12-31 12:00:42 +1030 |
commit | 517c4166988047036a57f4bb36e00458b51ade62 (patch) | |
tree | 341ad312f9b9d54071e70f31bc9c2b285f57f295 /bfd/elf-bfd.h | |
parent | 3f66c01be30edcfaedd11d475078f78e464ca4a0 (diff) | |
download | gdb-517c4166988047036a57f4bb36e00458b51ade62.zip gdb-517c4166988047036a57f4bb36e00458b51ade62.tar.gz gdb-517c4166988047036a57f4bb36e00458b51ade62.tar.bz2 |
ld testsuite: Sanitize output from ld
Leading dashes from an LD error message confuse send_log, because the
string is taken to be an option.
This patch fixes the following DejaGnu error:
--defsym:1: undefined symbol `foo2' referenced in expression
failed with: <--defsym:1: undefined symbol `foo2' referenced in expression>, no expected output
ERROR: tcl error sourcing .../ld/testsuite/ld-gc/gc.exp.
ERROR: usage: send [args] string
while executing
"send_log "$comp_output\n""
(procedure "run_dump_test" line 376)
* testsuite/lib/ld-lib.exp (run_dump_test): Pass -- to send_log.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
Diffstat (limited to 'bfd/elf-bfd.h')
0 files changed, 0 insertions, 0 deletions