aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-09-21 14:25:09 +0000
committerNick Clifton <nickc@redhat.com>2001-09-21 14:25:09 +0000
commit1e738b87c87fe468ba6dd11f8e94e937d0ee665f (patch)
tree3b3e27dbacad4771a4eaae2c0a2b191c322a0670 /bfd/coffcode.h
parent2ca0d95257f38e932db032b87e17a4b538e47d49 (diff)
downloadgdb-1e738b87c87fe468ba6dd11f8e94e937d0ee665f.zip
gdb-1e738b87c87fe468ba6dd11f8e94e937d0ee665f.tar.gz
gdb-1e738b87c87fe468ba6dd11f8e94e937d0ee665f.tar.bz2
Fix compile time warnings
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index dff0839..7c0f3e1 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -1438,7 +1438,10 @@ coff_set_custom_section_alignment (abfd, section, alignment_table, table_size)
return;
if (alignment_table[i].default_alignment_max != COFF_ALIGNMENT_FIELD_EMPTY
- && default_alignment > alignment_table[i].default_alignment_max)
+#if COFF_DEFAULT_SECTION_ALIGNMENT_POWER != 0
+ && default_alignment > alignment_table[i].default_alignment_max
+#endif
+ )
return;
section->alignment_power = alignment_table[i].alignment_power;