* arm.cc (Target_arm::scan::global): Use || instead of |.

This commit is contained in:
Ian Lance Taylor 2009-06-03 14:05:07 +00:00
parent 0018b0a3d5
commit 07800fab6e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-06-03 Ian Lance Taylor <iant@google.com>
* arm.cc (Target_arm::scan::global): Use || instead of |.
2009-05-31 Mikolaj Zalewski <mikolajz@google.com>
* incremental.cc (Incremental_inputs::report_command_line): Filter

View File

@ -943,7 +943,7 @@ Target_arm<big_endian>::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))
{