diff options
author | Fred Fish <fnf@specifix.com> | 1993-08-05 17:22:58 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1993-08-05 17:22:58 +0000 |
commit | 8b9773776868bf28698d15edb0ea1e78424c12b7 (patch) | |
tree | 71273c8f2f1baf424e246117239e482e49744cab /bfd | |
parent | f4dfe788b8e8e569cf4cc722f65033b5e75be57a (diff) | |
download | gdb-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')
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rw-r--r-- | bfd/nlmcode.h | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b97b947..74b03de 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +Thu Aug 5 10:07:43 1993 Fred Fish (fnf@cygnus.com) + + * 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. + Wed Aug 4 16:22:55 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) * config/go32.mh: remove HDEFINES; since __MSDOS__ and __GO32__ 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) |