This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Patch - setting SHT_NOBITS
- To: Momchil Velikov <velco at fadata dot bg>
- Subject: Re: Patch - setting SHT_NOBITS
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Fri, 29 Sep 2000 15:52:05 +1100 (EST)
- cc: binutils at sourceware dot cygnus dot com
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.
--
Linuxcare. Support for the Revolution.