coff-rs6000.c typo fix.

Alan Modra amodra@bigpond.net.au
Tue Jun 25 00:42:00 GMT 2002


A gcc warning alerted me to this one.

	* coff-rs6000.c (xcoff_generate_rtinit): Fix typo.

Committed.

Index: bfd/coff-rs6000.c
===================================================================
RCS file: /cvs/src/src/bfd/coff-rs6000.c,v
retrieving revision 1.44
diff -u -p -r1.44 coff-rs6000.c
--- bfd/coff-rs6000.c	12 Jun 2002 16:04:39 -0000	1.44
+++ bfd/coff-rs6000.c	25 Jun 2002 07:35:39 -0000
@@ -3752,7 +3752,7 @@ xcoff_generate_rtinit  (abfd, init, fini
     {
       string_table_size += 4;
       string_table = (bfd_byte *) bfd_zmalloc (string_table_size);
-      if (string_table_size == NULL)
+      if (string_table == NULL)
 	return false;
 
       val = string_table_size;

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list