From: Doug Kwan Date: Sat, 31 Oct 2009 03:06:59 +0000 (+0000) Subject: 2009-10-30 Doug Kwan X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ebd95253ac689caf2e6b2d2155b544633d293c88;p=binutils-gdb.git 2009-10-30 Doug Kwan * arm.cc (Stub_addend_reader): Fix bug in previouls check-in. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index 4952be1185c..e617cdea086 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,7 @@ +2009-10-30 Doug Kwan + + * arm.cc (Stub_addend_reader): Fix bug in previouls check-in. + 2009-10-30 Doug Kwan * arm.cc (Stub_addend_reader): New struct template definition diff --git a/gold/arm.cc b/gold/arm.cc index 420769f962e..3e2d70d37ed 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::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 unsigned int, const unsigned char*, const typename Reloc_types::Reloc& reloc) const; + big_endian>::Reloc& reloc) const + { return reloc.get_r_addend(); } }; // Utilities for manipulating integers of up to 32-bits