aboutsummaryrefslogtreecommitdiff
path: root/gold/arm.cc
diff options
context:
space:
mode:
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 9af0e21..e36b3ab 100644
--- a/gold/arm.cc
+++ b/gold/arm.cc
@@ -10202,7 +10202,7 @@ Target_arm<big_endian>::tag_cpu_arch_combine(
// Check we've not got a higher architecture than we know about.
- if (oldtag >= elfcpp::MAX_TAG_CPU_ARCH || newtag >= elfcpp::MAX_TAG_CPU_ARCH)
+ if (oldtag > elfcpp::MAX_TAG_CPU_ARCH || newtag > elfcpp::MAX_TAG_CPU_ARCH)
{
gold_error(_("%s: unknown CPU architecture"), name);
return -1;