diff options
author | Ian Lance Taylor <ian@airs.com> | 2008-05-16 15:27:49 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2008-05-16 15:27:49 +0000 |
commit | a984ee1d25de86d678270ec5a8b7491a3ab68a57 (patch) | |
tree | e00b99c221ba969ec795dbf7435efeff3afdf8b1 /gold/output.cc | |
parent | 907fc2026807534a7c2772aac13ab8ab0b42aa92 (diff) | |
download | gdb-a984ee1d25de86d678270ec5a8b7491a3ab68a57.zip gdb-a984ee1d25de86d678270ec5a8b7491a3ab68a57.tar.gz gdb-a984ee1d25de86d678270ec5a8b7491a3ab68a57.tar.bz2 |
* output.cc (Output_reloc::get_address): Change return type to
Elf_Addr.
* output.h (class Output_reloc): Update get_address declaration.
* x86_64.cc (Output_data_plt_x86_64::do_write): Use 64-bit types
for section addresses.
Diffstat (limited to 'gold/output.cc')
-rw-r--r-- | gold/output.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/output.cc b/gold/output.cc index 1285896..ce29b53 100644 --- a/gold/output.cc +++ b/gold/output.cc @@ -854,7 +854,7 @@ Output_reloc<elfcpp::SHT_REL, dynamic, size, big_endian>:: // Get the output address of a relocation. template<bool dynamic, int size, bool big_endian> -section_offset_type +typename elfcpp::Elf_types<size>::Elf_Addr Output_reloc<elfcpp::SHT_REL, dynamic, size, big_endian>::get_address() const { Address address = this->address_; |