diff options
Diffstat (limited to 'gas/config/tc-lm32.c')
-rw-r--r-- | gas/config/tc-lm32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-lm32.c b/gas/config/tc-lm32.c index 3b127fd..032175a 100644 --- a/gas/config/tc-lm32.c +++ b/gas/config/tc-lm32.c @@ -278,7 +278,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)); } /* This function assembles the instructions. It emits the frags/bytes to the |