This is the mail archive of the
mailing list for the binutils project.
Re: Patch - setting SHT_NOBITS
Alan Modra wrote:
> On 28 Sep 2000, Momchil Velikov wrote:
> > * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if
> > is has the SEC_HAS_CONTENTS flags set.
> OK. You may as well remove the redundant
> else if ((asect->flags & SEC_ALLOC) != 0
> && (asect->flags & SEC_LOAD) != 0)
> this_hdr->sh_type = SHT_PROGBITS;
> and the "Who knows?" comment when you check in this change.
OK, I'll send a revised patch. As for the chicking in, someone
else has to do that.