From: Alan Modra Date: Fri, 29 Sep 2000 07:14:05 +0000 (+0000) Subject: That'll teach me not to type little patches in by hand. Get X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef6acf5b5f793ca2aa13f8c06db61c423fdc2775;p=binutils-gdb.git That'll teach me not to type little patches in by hand. Get the parentheses right. --- diff --git a/bfd/elf.c b/bfd/elf.c index 742376173c2..e14135b737a 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -1787,7 +1787,7 @@ elf_fake_sections (abfd, asect, failedptrarg) || this_hdr->sh_info == elf_tdata (abfd)->cverrefs); } else if ((asect->flags & SEC_ALLOC) != 0 - && ((asect->flags & (SEC_LOAD | SEC_HAS_CONTENTS) == 0))) + && ((asect->flags & (SEC_LOAD | SEC_HAS_CONTENTS)) == 0)) this_hdr->sh_type = SHT_NOBITS; else this_hdr->sh_type = SHT_PROGBITS;