This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[GOLD] Modify new test to pass on powerpc64le
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Wed, 6 Aug 2014 22:14:45 +0930
- Subject: [GOLD] Modify new test to pass on powerpc64le
- Authentication-results: sourceware.org; auth=none
For ELFv2, readelf displays this function symbol as
37: 0000000010000710 0 FUNC GLOBAL HIDDEN [<localentry>: 8] 12 bar
(collapsing whitespace to show it on one line here).
Applying as obvious.
* testsuite/defsym_test.sh: Allow ppc64le localentry annotation.
diff --git a/gold/testsuite/defsym_test.sh b/gold/testsuite/defsym_test.sh
index e83fa9f..6c1ff11 100755
--- a/gold/testsuite/defsym_test.sh
+++ b/gold/testsuite/defsym_test.sh
@@ -35,6 +35,6 @@ check()
fi
}
-check defsym_test.syms "FUNC *GLOBAL *HIDDEN *[0-9]* *bar"
+check defsym_test.syms "FUNC *GLOBAL *HIDDEN .* bar"
exit 0
--
Alan Modra
Australia Development Lab, IBM