diff options
Diffstat (limited to 'gas/config/tc-xc16x.c')
-rw-r--r-- | gas/config/tc-xc16x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-xc16x.c b/gas/config/tc-xc16x.c index bcfc8451751..d5fc3d50e12 100644 --- a/gas/config/tc-xc16x.c +++ b/gas/config/tc-xc16x.c @@ -235,7 +235,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 * |