https://sourceware.org/bugzilla/show_bug.cgi?id=33291
--- Comment #6 from Sam James <sam at gentoo dot org> ---
Yeah, this hacked in to try it fixes the tiny testcase at least:
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -3766,7 +3766,7 @@ elf_fake_sections (bfd *abfd, asection *asect, void
*fsarg)
if ((asect->flags & (SEC_GROUP | SEC_EXCLUDE)) == SEC_EXCLUDE)
this_hdr->sh_flags |= SHF_EXCLUDE;
- if (this_hdr->sh_entsize == 0)
+ if (bfd_link_relocatable (arg->link_info) && this_hdr->sh_entsize == 0)
this_hdr->sh_entsize = asect->entsize;
/* If the section has relocs, set up a section header for the
--
You are receiving this mail because:
You are on the CC list for the bug.