From 8d983e3645b62e72373b3ba4a9af548b82fb43bc Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Tue, 6 Jan 2015 15:58:57 +0000 Subject: [PATCH] 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. --- 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 + + * lib/ld-lib.exp (run_dump_test): Extend comment to mention + readelf. + 2015-01-01 Alan Modra 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 -- 2.7.4