Sigh. Null pointer return might be right in some cases; don't abort.
This commit is contained in:
parent
94dbb655ba
commit
15012ad131
1 changed files with 0 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue