diff options
Diffstat (limited to 'gas/config/tc-tic6x.c')
-rw-r--r-- | gas/config/tc-tic6x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-tic6x.c b/gas/config/tc-tic6x.c index 64d39beecc9..1a8ddde70c2 100644 --- a/gas/config/tc-tic6x.c +++ b/gas/config/tc-tic6x.c @@ -4484,7 +4484,7 @@ md_section_align (segT segment ATTRIBUTE_UNUSED, /* Round up section sizes to ensure that text sections consist of whole fetch packets. */ int align = bfd_get_section_alignment (stdoutput, segment); - return ((size + (1 << align) - 1) & ((valueT) -1 << align)); + return ((size + (1 << align) - 1) & (-((valueT) 1 << align))); } /* No special undefined symbol handling needed for now. */ |