* coff-rs6000.c (xcoff_generate_rtinit): Fix typo.
authorAlan Modra <amodra@gmail.com>
Tue, 25 Jun 2002 07:40:49 +0000 (07:40 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 25 Jun 2002 07:40:49 +0000 (07:40 +0000)
bfd/ChangeLog
bfd/coff-rs6000.c

index daf5ca3f0c24099bb969ff4237a57902a46e2b13..cf5d913a0d8d66975e0d20e2c85ff171341bef35 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * coff-rs6000.c (xcoff_generate_rtinit): Fix typo.
+
 2002-06-25  Alan Modra  <amodra@bigpond.net.au>
 
        * aout-adobe.c: Don't compare against "true" or "false.
index a18aa5e9054abff77dc4baa111b4e70d4f527fce..025372d11633881b0f279219251921f38286d024 100644 (file)
@@ -3752,7 +3752,7 @@ xcoff_generate_rtinit  (abfd, init, fini, rtld)
     {
       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;