* 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.
This commit is contained in:
Fred Fish 1993-08-05 17:22:58 +00:00
parent f4dfe788b8
commit 8b97737768
2 changed files with 9 additions and 2 deletions

View File

@ -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__

View File

@ -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)