aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-02-19 13:10:47 +1030
committerAndreas K. Huettel <dilfridge@gentoo.org>2020-02-29 18:42:34 +0100
commit81f4cd43fb87b85effb16a4660ccd636ea56c74a (patch)
treeeb11da26da9756c88363b8ac4ddcf235f3e79fd3
parentRe: PR24511, nm should not mark symbols in .init_array as "t" (diff)
downloadbinutils-gdb-81f4cd43fb87b85effb16a4660ccd636ea56c74a.tar.gz
binutils-gdb-81f4cd43fb87b85effb16a4660ccd636ea56c74a.tar.bz2
binutils-gdb-81f4cd43fb87b85effb16a4660ccd636ea56c74a.zip
Adjust PR25355 testcase
* testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result. (cherry picked from commit 2e3cd5d013cee36c5bc26c0468d471878300ed22)
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/testsuite/ld-plugin/pr25355.d4
2 files changed, 8 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index ebbf64e893..58ee70b1b6 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2020-02-28 Alan Modra <amodra@gmail.com>
+
+ Apply from master
+ 2020-02-19 Alan Modra <amodra@gmail.com>
+ * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
+
2020-02-22 Alan Modra <amodra@gmail.com>
PR 25585
diff --git a/ld/testsuite/ld-plugin/pr25355.d b/ld/testsuite/ld-plugin/pr25355.d
index 98d10aba1c..409189959a 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