diff options
author | Nick Clifton <nickc@redhat.com> | 2001-09-21 14:25:09 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-09-21 14:25:09 +0000 |
commit | 1e738b87c87fe468ba6dd11f8e94e937d0ee665f (patch) | |
tree | 3b3e27dbacad4771a4eaae2c0a2b191c322a0670 /bfd/coffcode.h | |
parent | 2ca0d95257f38e932db032b87e17a4b538e47d49 (diff) | |
download | gdb-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.h | 5 |
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; |