aboutsummaryrefslogtreecommitdiff
path: root/gold
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
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')
-rw-r--r--gold/ChangeLog4
-rw-r--r--gold/arm.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index c638b8c..7689897 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -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
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))
{