aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-rs6000.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-06-25 07:40:49 +0000
committerAlan Modra <amodra@gmail.com>2002-06-25 07:40:49 +0000
commit021d60964250852fb1ca3f5a028de42822d73ae7 (patch)
treeb3ef782d66fa69488cc2af5cfeae5b21f6af773a /bfd/coff-rs6000.c
parentbfac230e83701e00199759cbd126fb02802fc187 (diff)
downloadgdb-021d60964250852fb1ca3f5a028de42822d73ae7.zip
gdb-021d60964250852fb1ca3f5a028de42822d73ae7.tar.gz
gdb-021d60964250852fb1ca3f5a028de42822d73ae7.tar.bz2
* coff-rs6000.c (xcoff_generate_rtinit): Fix typo.
Diffstat (limited to 'bfd/coff-rs6000.c')
-rw-r--r--bfd/coff-rs6000.c2
1 files changed, 1 insertions, 1 deletions
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;