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 cb1efea commit a23bf9bCopy full SHA for a23bf9b
bfd/elflink.c
@@ -13580,7 +13580,7 @@ elf_gc_mark_debug_section (asection *sec ATTRIBUTE_UNUSED,
13580
/* Return the local debug definition section. */
13581
asection *isec = bfd_section_from_elf_index (sec->owner,
13582
sym->st_shndx);
13583
- if ((isec->flags & SEC_DEBUGGING) != 0)
+ if (isec && (isec->flags & SEC_DEBUGGING) != 0)
13584
return isec;
13585
}
13586
0 commit comments