summaryrefslogtreecommitdiff
path: root/bfd/coff-rs6000.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-06-25 07:40:49 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-06-25 07:40:49 +0000
commit46c5aa959a0b0d3354b636c1492e5c7303e8f2d8 (patch)
treeff9527982bf995ab1b1fc3d5febed3c3597c56c9 /bfd/coff-rs6000.c
parent8a6809e310caa8fd3af9df750d5ac02077c8a049 (diff)
downloadgdb-46c5aa959a0b0d3354b636c1492e5c7303e8f2d8.tar.gz
* 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 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;