diff options
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/coff-rs6000.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index daf5ca3..cf5d913 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,9 @@ 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. * aout-target.h: Likewise. * aoutx.h: Likewise. diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c index a18aa5e..025372d 100644 --- a/bfd/coff-rs6000.c +++ b/bfd/coff-rs6000.c @@ -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; |