[binutils-gdb] Adjust PR25355 testcase

Alan Modra amodra@sourceware.org
Wed Feb 19 03:29:00 GMT 2020


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2e3cd5d013cee36c5bc26c0468d471878300ed22

commit 2e3cd5d013cee36c5bc26c0468d471878300ed22
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Feb 19 13:10:47 2020 +1030

    Adjust PR25355 testcase
    
    	* testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.

Diff:
---
 ld/ChangeLog                     | 4 ++++
 ld/testsuite/ld-plugin/pr25355.d | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index 57c215f..aa655d7 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2020-02-19  Alan Modra  <amodra@gmail.com>
+
+	* testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
+
 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
 
 	PR binutils/25355
diff --git a/ld/testsuite/ld-plugin/pr25355.d b/ld/testsuite/ld-plugin/pr25355.d
index 98d10ab..4091899 100644
--- a/ld/testsuite/ld-plugin/pr25355.d
+++ b/ld/testsuite/ld-plugin/pr25355.d
@@ -1,4 +1,4 @@
 #...
-[0-9a-f]+ B _?nm_test_var
-[0-9a-f]+ D _?nm_test_var2
+[0-9a-f]+ [BS] _?nm_test_var
+[0-9a-f]+ [DG] _?nm_test_var2
 #pass



More information about the Binutils-cvs mailing list