diff --git a/gold/ChangeLog b/gold/ChangeLog index ed61c258b1..c9ecbe7994 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,9 @@ +2010-05-21 Doug Kwan + + PR gold/11619 + * arm.cc (Arm_input_section::do_output_offset): Add a cast to + avoid a compilation error. + 2010-05-19 Rafael Espindola * script-sections.cc (Output_section_definition::allocate_to_segment): diff --git a/gold/arm.cc b/gold/arm.cc index 3dc2f22023..31454e9562 100644 --- a/gold/arm.cc +++ b/gold/arm.cc @@ -1202,7 +1202,7 @@ class Arm_input_section : public Output_relaxed_input_section if ((object == this->relobj()) && (shndx == this->shndx()) && (offset >= 0) - && (offset <= this->original_size_)) + && (offset <= static_cast(this->original_size_))) { *poutput = offset; return true;