From 15012ad1313363d739abec0725d5165066e5daf8 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 22 Jun 1993 21:39:40 +0000 Subject: [PATCH] Sigh. Null pointer return might be right in some cases; don't abort. --- bfd/elfcode.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/bfd/elfcode.h b/bfd/elfcode.h index da830f58e73..fbaa47ba8fa 100644 --- a/bfd/elfcode.h +++ b/bfd/elfcode.h @@ -2641,8 +2641,6 @@ DEFUN (section_from_elf_index, (abfd, index), case SHT_NOBITS: if (!hdr->rawdata) bfd_section_from_shdr (abfd, index); - if (!hdr->rawdata) - abort (); return (struct sec *) hdr->rawdata; default: -- 2.30.2