This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb/users/hjl/linux/master] ld/testing: Extend comment on run_dump_test
- From: H.J.Lu <hjl at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 11 Jan 2015 16:21:05 -0000
- Subject: [binutils-gdb/users/hjl/linux/master] ld/testing: Extend comment on run_dump_test
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8d983e3645b62e72373b3ba4a9af548b82fb43bc
commit 8d983e3645b62e72373b3ba4a9af548b82fb43bc
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Date: Tue Jan 6 15:58:57 2015 +0000
ld/testing: Extend comment on run_dump_test
Mention that readelf can be used as a test program in the comment of
run_dump_test.
ld/testsuite/ChangeLog:
* lib/ld-lib.exp (run_dump_test): Extend comment to mention
readelf.
Diff:
---
ld/testsuite/ChangeLog | 5 +++++
ld/testsuite/lib/ld-lib.exp | 7 ++++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 541c329..c9b3ecb 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * lib/ld-lib.exp (run_dump_test): Extend comment to mention
+ readelf.
+
2015-01-01 Alan Modra <amodra@gmail.com>
Update year range in copyright notice of all files.
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp
index b968b6b..3d980c9 100644
--- a/ld/testsuite/lib/ld-lib.exp
+++ b/ld/testsuite/lib/ld-lib.exp
@@ -509,6 +509,7 @@ proc ld_simple_link_defsyms {} {
# run_dump_test will guess which program to run by seeing which of
# the flags options below is present.
#
+# readelf: FLAGS
# objdump: FLAGS
# nm: FLAGS
# objcopy: FLAGS
@@ -545,9 +546,9 @@ proc ld_simple_link_defsyms {} {
#
# error: REGEX
# An error with message matching REGEX must be emitted for the test
-# to pass. The PROG, objdump, nm and objcopy options have no
-# meaning and need not supplied if this is present. Multiple "error"
-# directives append to the expected linker error message.
+# to pass. The PROG, readelf, objdump, nm and objcopy options have
+# no meaning and need not be supplied if this is present. Multiple
+# "error" directives append to the expected linker error message.
#
# warning: REGEX
# Expect a linker warning matching REGEX. It is an error to issue