From: Alan Modra Date: Tue, 25 Jun 2002 07:40:49 +0000 (+0000) Subject: * coff-rs6000.c (xcoff_generate_rtinit): Fix typo. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=021d60964250852fb1ca3f5a028de42822d73ae7;p=binutils-gdb.git * coff-rs6000.c (xcoff_generate_rtinit): Fix typo. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index daf5ca3f0c2..cf5d913a0d8 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2002-06-25 Alan Modra + + * coff-rs6000.c (xcoff_generate_rtinit): Fix typo. + 2002-06-25 Alan Modra * aout-adobe.c: Don't compare against "true" or "false. diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c index a18aa5e9054..025372d1163 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;