aboutsummaryrefslogtreecommitdiff
path: root/bfd/nlmcode.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1993-08-05 17:22:58 +0000
committerFred Fish <fnf@specifix.com>1993-08-05 17:22:58 +0000
commit8b9773776868bf28698d15edb0ea1e78424c12b7 (patch)
tree71273c8f2f1baf424e246117239e482e49744cab /bfd/nlmcode.h
parentf4dfe788b8e8e569cf4cc722f65033b5e75be57a (diff)
downloadgdb-8b9773776868bf28698d15edb0ea1e78424c12b7.zip
gdb-8b9773776868bf28698d15edb0ea1e78424c12b7.tar.gz
gdb-8b9773776868bf28698d15edb0ea1e78424c12b7.tar.bz2
* nlmcode.h (nlm_get_reloc_upper_bound): Test return value
of nlm_slurp_symbol_table as boolean, not pointer. * nlmcode.h (nlm_canonicalize_reloc): Test return value of nlm_slurp_reloc_fixups as boolean, not pointer.
Diffstat (limited to 'bfd/nlmcode.h')
-rw-r--r--bfd/nlmcode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/nlmcode.h b/bfd/nlmcode.h
index 43ea019..31c5dec 100644
--- a/bfd/nlmcode.h
+++ b/bfd/nlmcode.h
@@ -1245,7 +1245,7 @@ nlm_get_reloc_upper_bound (abfd, sec)
syms = nlm_get_symbols (abfd);
if (syms == NULL)
{
- if (nlm_slurp_symbol_table (abfd) == NULL)
+ if (nlm_slurp_symbol_table (abfd) == false)
return 0;
syms = nlm_get_symbols (abfd);
}
@@ -1280,7 +1280,7 @@ nlm_canonicalize_reloc (abfd, sec, relptr, symbols)
rels = nlm_relocation_fixups (abfd);
if (rels == NULL)
{
- if (nlm_slurp_reloc_fixups (abfd) == NULL)
+ if (nlm_slurp_reloc_fixups (abfd) == false)
return 0;
rels = nlm_relocation_fixups (abfd);
if (rels == NULL)