This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[GOLD] Modify new test to pass on powerpc64le


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]