diff options
author | Alan Modra <amodra@gmail.com> | 2017-12-14 18:57:02 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-12-14 22:29:42 +1030 |
commit | 4baeffab22b564735be14a90f658c1aee1ceec58 (patch) | |
tree | 0f8269804a52e894592741ae6e509a75443a3b08 /binutils/testsuite/lib | |
parent | 8af5c486ea6153bb84b9257def4e5faa4bc72421 (diff) | |
download | gdb-4baeffab22b564735be14a90f658c1aee1ceec58.zip gdb-4baeffab22b564735be14a90f658c1aee1ceec58.tar.gz gdb-4baeffab22b564735be14a90f658c1aee1ceec58.tar.bz2 |
binutils nm testsuite tidy
We can run the gnu_unique_object symbol test on all ELF targets.
Those that don't support the symbol type and fail to assemble can just
be resolved as "unsupported". This means binutils_assemble can't
report an error on assembly failure, but it probably should never have
done that anyway.
* testsuite/lib/utils-lib.exp (default_binutils_assemble_flags):
Don't perror on assembler diagnostic output.
* testsuite/binutils-all/nm.exp: Run unique symbol test on all
ELF targets. Resolve as "unsupported" on assembly failure.
Diffstat (limited to 'binutils/testsuite/lib')
-rw-r--r-- | binutils/testsuite/lib/utils-lib.exp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/binutils/testsuite/lib/utils-lib.exp b/binutils/testsuite/lib/utils-lib.exp index 40fd98b..5efe702 100644 --- a/binutils/testsuite/lib/utils-lib.exp +++ b/binutils/testsuite/lib/utils-lib.exp @@ -127,7 +127,6 @@ proc default_binutils_assemble_flags { source object asflags } { } else { send_log "$exec_output\n" verbose "$exec_output" - perror "$source: assembly failed" return 0 } } |