ppc testsuite fix

Alan Modra amodra@bigpond.net.au
Tue Jul 12 12:07:00 GMT 2005
I forgot to commit this the other day.  Unless a var in a shared lib has
a size, it doesn't make any sense to create an entry in .dynbss for it.

	* ld-powerpc/sdalib.s (lib_var): Size it.

Index: ld/testsuite/ld-powerpc/sdalib.s
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-powerpc/sdalib.s,v
retrieving revision 1.1
diff -u -p -r1.1 sdalib.s
--- ld/testsuite/ld-powerpc/sdalib.s	20 May 2005 21:57:12 -0000	1.1
+++ ld/testsuite/ld-powerpc/sdalib.s	12 Jul 2005 09:41:27 -0000
@@ -1,4 +1,5 @@
 	.globl lib_var
 	.type lib_var, @object
+	.size lib_var, 2
 lib_var:
 	.word	1

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list