aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfcode.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-06-22 21:39:40 +0000
committerKen Raeburn <raeburn@cygnus>1993-06-22 21:39:40 +0000
commit15012ad1313363d739abec0725d5165066e5daf8 (patch)
tree739b07b7b537c085d19934cddf458f5188e18b03 /bfd/elfcode.h
parent94dbb655ba031243dc532eb1afc3542c40642fb7 (diff)
downloadfsf-binutils-gdb-15012ad1313363d739abec0725d5165066e5daf8.zip
fsf-binutils-gdb-15012ad1313363d739abec0725d5165066e5daf8.tar.gz
fsf-binutils-gdb-15012ad1313363d739abec0725d5165066e5daf8.tar.bz2
Sigh. Null pointer return might be right in some cases; don't abort.
Diffstat (limited to 'bfd/elfcode.h')
-rw-r--r--bfd/elfcode.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h
index da830f5..fbaa47b 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: