mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 11:00:01 +08:00
2009-10-30 Doug Kwan <dougkwan@google.com>
* arm.cc (Stub_addend_reader): Fix bug in previouls check-in.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
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>
|
2009-10-30 Doug Kwan <dougkwan@google.com>
|
||||||
|
|
||||||
* arm.cc (Stub_addend_reader): New struct template definition
|
* arm.cc (Stub_addend_reader): New struct template definition
|
||||||
|
@ -1042,8 +1042,7 @@ struct Stub_addend_reader
|
|||||||
unsigned int /* r_type */,
|
unsigned int /* r_type */,
|
||||||
const unsigned char* /* view */,
|
const unsigned char* /* view */,
|
||||||
const typename Reloc_types<sh_type,
|
const typename Reloc_types<sh_type,
|
||||||
32, big_endian>::Reloc& /* reloc */) const
|
32, big_endian>::Reloc& /* reloc */) const;
|
||||||
{ gold_unreachable(); }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Specialized Stub_addend_reader for SHT_REL type relocation sections.
|
// 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,
|
unsigned int,
|
||||||
const unsigned char*,
|
const unsigned char*,
|
||||||
const typename Reloc_types<elfcpp::SHT_RELA, 32,
|
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
|
// Utilities for manipulating integers of up to 32-bits
|
||||||
|
Reference in New Issue
Block a user