diff --git a/gold/ChangeLog b/gold/ChangeLog index c638b8cfb4..7689897c90 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,7 @@ +2009-06-03 Ian Lance Taylor + + * arm.cc (Target_arm::scan::global): Use || instead of |. + 2009-05-31 Mikolaj Zalewski * incremental.cc (Incremental_inputs::report_command_line): Filter diff --git a/gold/arm.cc b/gold/arm.cc index fd1aae5286..8f4da126f2 100644 --- a/gold/arm.cc +++ b/gold/arm.cc @@ -943,7 +943,7 @@ Target_arm::Scan::global(const General_options&, // Make a dynamic relocation if necessary. int flags = Symbol::NON_PIC_REF; if (gsym->type() == elfcpp::STT_FUNC - | gsym->type() == elfcpp::STT_ARM_TFUNC) + || gsym->type() == elfcpp::STT_ARM_TFUNC) flags |= Symbol::FUNCTION_CALL; if (gsym->needs_dynamic_reloc(flags)) {