We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bee21e commit 0d6fe26Copy full SHA for 0d6fe26
bfd/elflink.c
@@ -13584,7 +13584,7 @@ elf_gc_mark_debug_section (asection *sec ATTRIBUTE_UNUSED,
13584
/* Return the local debug definition section. */
13585
asection *isec = bfd_section_from_elf_index (sec->owner,
13586
sym->st_shndx);
13587
- if ((isec->flags & SEC_DEBUGGING) != 0)
+ if (isec && (isec->flags & SEC_DEBUGGING) != 0)
13588
return isec;
13589
}
13590
0 commit comments