summaryrefslogtreecommitdiff
path: root/gas/config/tc-iq2000.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-iq2000.c')
-rw-r--r--gas/config/tc-iq2000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-iq2000.c b/gas/config/tc-iq2000.c
index 2d55da12090..381d627432d 100644
--- a/gas/config/tc-iq2000.c
+++ b/gas/config/tc-iq2000.c
@@ -432,7 +432,7 @@ valueT
md_section_align (segT segment, valueT size)
{
int align = bfd_get_section_alignment (stdoutput, segment);
- return ((size + (1 << align) - 1) & (-1 << align));
+ return ((size + (1 << align) - 1) & -(1 << align));
}
symbolS *