summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2000-09-29 07:14:05 +0000
committerAlan Modra <amodra@bigpond.net.au>2000-09-29 07:14:05 +0000
commit47bedd7598f0ecaea4a910a49ea6bc1c124c9b22 (patch)
tree220c8ca457b22e3b64c9a1466b4413183ba36597 /bfd
parent381a5c13f8257880c9bb80deaaddb2a12ca77bf7 (diff)
downloadgdb-47bedd7598f0ecaea4a910a49ea6bc1c124c9b22.tar.gz
That'll teach me not to type little patches in by hand. Get
the parentheses right.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/elf.c2
1 files changed, 1 insertions, 1 deletions
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;