pr13839 fix

Alan Modra amodra@gmail.com
Fri Mar 16 00:20:00 GMT 2012


On Wed, Mar 14, 2012 at 08:57:05AM -0700, H.J. Lu wrote:
> I checked in this testcase.

Needs tweaking for powerpc64.

	* ld-gc/pr13683.d: Accept powerpc64 function descriptor syms.

Index: ld/testsuite/ld-gc/pr13683.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-gc/pr13683.d,v
retrieving revision 1.2
diff -u -p -r1.2 pr13683.d
--- ld/testsuite/ld-gc/pr13683.d	5 Mar 2012 23:09:10 -0000	1.2
+++ ld/testsuite/ld-gc/pr13683.d	15 Mar 2012 13:03:09 -0000
@@ -7,6 +7,6 @@
 # Note - look for both "foo" and "foo2" being defined, non-zero function symbols
 
 #...
-0*[1-9a-f]+[0-9a-f]*[ 	]T[ 	]_*foo
-0*[1-9a-f]+[0-9a-f]*[ 	]T[ 	]_*foo2
+0*[1-9a-f]+[0-9a-f]*[ 	](T|D)[ 	]_*foo
+0*[1-9a-f]+[0-9a-f]*[ 	](T|D)[ 	]_*foo2
 #...

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list