This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch - setting SHT_NOBITS


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]