This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
ppc testsuite fix
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Date: Tue, 12 Jul 2005 21:36:56 +0930
- Subject: ppc testsuite fix
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