Yes, the target is marked obsolete due to this and other segfaults,
but this one is easy enough to fix.
* elf32-arm.c (elf32_arm_final_link_relocate): Don't segfault
on sym_sec not being output.
+2020-08-27 Alan Modra <amodra@gmail.com>
+
+ * elf32-arm.c (elf32_arm_final_link_relocate): Don't segfault
+ on sym_sec not being output.
+
2020-08-27 Alan Modra <amodra@gmail.com>
PR 26416
osec = sym_sec->output_section;
else
osec = input_section->output_section;
- symbol = elf_section_data (osec)->dynindx;
+ symbol = 0;
+ if (osec && elf_section_data (osec))
+ symbol = elf_section_data (osec)->dynindx;
if (symbol == 0)
{
struct elf_link_hash_table *htab = elf_hash_table (info);