https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116220
--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
Am I missing something here?
libiberty's simple_object_elf_copy_lto_debug_sections also does:
```
dest = simple_object_write_create_section (dobj, pfnname[i - 1],
0, &errmsg, err);
if (dest == NULL)
{
XDELETEVEC (names);
XDELETEVEC (shdrs);
XDELETEVEC (symtab_indices_shndx);
return errmsg;
}
```
but simple_object_write_create_section doesn't touch errmsg?
