[PATCH] elf: Keep zero-sized relocation section in section group

Alan Modra amodra@gmail.com
Fri Apr 3 04:45:12 GMT 2020


On Thu, Apr 02, 2020 at 08:41:18PM -0700, H.J. Lu via Binutils wrote:
> We must keep zero-sized relocation section in a section group.  Otherwise,
> the relocation section will be missing from the section group.

Wouldn't it be better to get rid of these bogus relocation sections?
Should be possible with a change to _bfd_elf_fixup_group_sections, I
think.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list