OSDN Git Service

That'll teach me not to type little patches in by hand. Get
authorAlan Modra <amodra@bigpond.net.au>
Fri, 29 Sep 2000 07:14:05 +0000 (07:14 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Fri, 29 Sep 2000 07:14:05 +0000 (07:14 +0000)
the parentheses right.

bfd/elf.c

index 7423761..e14135b 100644 (file)
--- 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;