aboutsummaryrefslogtreecommitdiff
path: root/gold/arm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/arm.cc')
-rw-r--r--gold/arm.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/arm.cc b/gold/arm.cc
index 420769f..3e2d70d 100644
--- a/gold/arm.cc
+++ b/gold/arm.cc
@@ -1042,8 +1042,7 @@ struct Stub_addend_reader
unsigned int /* r_type */,
const unsigned char* /* view */,
const typename Reloc_types<sh_type,
- 32, big_endian>::Reloc& /* reloc */) const
- { gold_unreachable(); }
+ 32, big_endian>::Reloc& /* reloc */) const;
};
// Specialized Stub_addend_reader for SHT_REL type relocation sections.
@@ -1071,7 +1070,8 @@ struct Stub_addend_reader<elfcpp::SHT_RELA, big_endian>
unsigned int,
const unsigned char*,
const typename Reloc_types<elfcpp::SHT_RELA, 32,
- big_endian>::Reloc& reloc) const;
+ big_endian>::Reloc& reloc) const
+ { return reloc.get_r_addend(); }
};
// Utilities for manipulating integers of up to 32-bits