+2009-10-30 Doug Kwan <dougkwan@google.com>
+
+ * arm.cc (Stub_addend_reader): Fix bug in previouls check-in.
+
2009-10-30 Doug Kwan <dougkwan@google.com>
* arm.cc (Stub_addend_reader): New struct template definition
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.
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