mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 20:43:45 +08:00
Sigh. Null pointer return might be right in some cases; don't abort.
This commit is contained in:
parent
94dbb655ba
commit
15012ad131
@ -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…
Reference in New Issue
Block a user