mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
Fix compile time warning for tc-h8300.c when using gcc 5+.
* config/tc-h8300.c (md_section_align): Fix compile time warning about left shifting a negative value.
This commit is contained in:
@ -9,6 +9,11 @@
|
||||
* config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
|
||||
when available.
|
||||
|
||||
2015-06-04 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* config/tc-h8300.c (md_section_align): Fix compile time warning
|
||||
about left shifting a negative value.
|
||||
|
||||
2015-06-03 Matthew Wahab <matthew.wahab@arm.com>
|
||||
|
||||
* config/tc-arm.c (arm_archs): Add "armv8.1-a".
|
||||
|
@ -2256,7 +2256,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) & (-1U << align));
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user