* elfcode.h (bfd_section_from_shdr): Use bfd_make_section_anyway
authorIan Lance Taylor <ian@airs.com>
Mon, 25 Apr 1994 19:36:51 +0000 (19:36 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 25 Apr 1994 19:36:51 +0000 (19:36 +0000)
commit2e03ce186124f700f0f7a64886546e4fb7ca9624
tree1569e35244b304c42ab594edc2280183fe350933
parentfeaa9c4bda19bd96f0ab0ac0ed25baca402ad2ee
* elfcode.h (bfd_section_from_shdr): Use bfd_make_section_anyway
to create sections.  Check return value of recursive calls.
(bfd_section_from_phdr): Check return value of bfd_make_section.
(elf_symbol_from_bfd_symbol): Likewise.
(elf_object_p): Check return value of bfd_section_from_shdr.
(section_from_elf_index): Likewise.
(elf_slurp_symbol_table): Check return value of
section_from_elf_index.
(bfd_prstatus): Return boolean value.  Check return value of
bfd_make_section.
(bfd_fpregset): Likewise.
(bfd_prpsinfo): Return boolean value.
(elf_corefile_note): Check return values of bfd_prstatus,
bfd_fpregset, and bfd_prpsinfo.
(elf_core_file_p): Check return value of elf_corefile_note.
bfd/ChangeLog
bfd/elfcode.h