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:
parent
88f0ea342d
commit
239c0f4ceb
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue