Add a cast to avoid a compilation error.
2010-05-21 Doug Kwan <dougkwan@google.com> PR gold/11619 * arm.cc (Arm_input_section::do_output_offset): Add a cast to avoid a compilation error.
This commit is contained in:
parent
98d206de68
commit
7629558884
|
@ -1,3 +1,9 @@
|
||||||
|
2010-05-21 Doug Kwan <dougkwan@google.com>
|
||||||
|
|
||||||
|
PR gold/11619
|
||||||
|
* arm.cc (Arm_input_section::do_output_offset): Add a cast to
|
||||||
|
avoid a compilation error.
|
||||||
|
|
||||||
2010-05-19 Rafael Espindola <espindola@google.com>
|
2010-05-19 Rafael Espindola <espindola@google.com>
|
||||||
|
|
||||||
* script-sections.cc (Output_section_definition::allocate_to_segment):
|
* script-sections.cc (Output_section_definition::allocate_to_segment):
|
||||||
|
|
|
@ -1202,7 +1202,7 @@ class Arm_input_section : public Output_relaxed_input_section
|
||||||
if ((object == this->relobj())
|
if ((object == this->relobj())
|
||||||
&& (shndx == this->shndx())
|
&& (shndx == this->shndx())
|
||||||
&& (offset >= 0)
|
&& (offset >= 0)
|
||||||
&& (offset <= this->original_size_))
|
&& (offset <= static_cast<section_offset_type>(this->original_size_)))
|
||||||
{
|
{
|
||||||
*poutput = offset;
|
*poutput = offset;
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue