Patch - setting SHT_NOBITS
Momchil Velikov
velco@fadata.bg
Thu Sep 28 23:39:00 GMT 2000
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.
Regards,
-velco
More information about the Binutils
mailing list