aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-09-29 07:14:05 +0000
committerAlan Modra <amodra@gmail.com>2000-09-29 07:14:05 +0000
commitef6acf5b5f793ca2aa13f8c06db61c423fdc2775 (patch)
tree364adbc00638012dbea182b076b7a81e804ed88a /bfd/elf.c
parent6c99a5c30b701c9eacaa5c33e60a4cc8e977746e (diff)
downloadgdb-ef6acf5b5f793ca2aa13f8c06db61c423fdc2775.zip
gdb-ef6acf5b5f793ca2aa13f8c06db61c423fdc2775.tar.gz
gdb-ef6acf5b5f793ca2aa13f8c06db61c423fdc2775.tar.bz2
That'll teach me not to type little patches in by hand. Get
the parentheses right.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 7423761..e14135b 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;