summaryrefslogtreecommitdiff
path: root/gas/config/tc-v850.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-v850.c')
-rw-r--r--gas/config/tc-v850.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-v850.c b/gas/config/tc-v850.c
index f42e767dcf6..109131636f3 100644
--- a/gas/config/tc-v850.c
+++ b/gas/config/tc-v850.c
@@ -1879,7 +1879,7 @@ valueT
md_section_align (asection *seg, valueT addr)
{
int align = bfd_get_section_alignment (stdoutput, seg);
- return ((addr + (1 << align) - 1) & (-1 << align));
+ return ((addr + (1 << align) - 1) & -(1 << align));
}
void