aboutsummaryrefslogtreecommitdiff
path: root/gold/arm.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-06-03 14:05:07 +0000
committerIan Lance Taylor <ian@airs.com>2009-06-03 14:05:07 +0000
commit07800fab6ed5c7c3de13ce703b2b32eb1a92ffd6 (patch)
treebabe2d06ca3c2ee4ee699bc4b6ccd019f3e49811 /gold/arm.cc
parent0018b0a3d56c9f71bc9590cfc0a1c90a05662ff1 (diff)
downloadgdb-07800fab6ed5c7c3de13ce703b2b32eb1a92ffd6.zip
gdb-07800fab6ed5c7c3de13ce703b2b32eb1a92ffd6.tar.gz
gdb-07800fab6ed5c7c3de13ce703b2b32eb1a92ffd6.tar.bz2
* arm.cc (Target_arm::scan::global): Use || instead of |.
Diffstat (limited to 'gold/arm.cc')
-rw-r--r--gold/arm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/arm.cc b/gold/arm.cc
index fd1aae5..8f4da12 100644
--- a/gold/arm.cc
+++ b/gold/arm.cc
@@ -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))
{