diff options
author | Roland McGrath <roland@gnu.org> | 2012-11-01 23:27:00 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2012-11-01 23:27:00 +0000 |
commit | 62fe925ad4724f379e9bec4f19408dc71d416042 (patch) | |
tree | a38eb108a77b95f8198287b49496b30877edde02 /gold/target-reloc.h | |
parent | c06dec1422120f824d5d10a898527c75a48eaf5f (diff) | |
download | gdb-62fe925ad4724f379e9bec4f19408dc71d416042.zip gdb-62fe925ad4724f379e9bec4f19408dc71d416042.tar.gz gdb-62fe925ad4724f379e9bec4f19408dc71d416042.tar.bz2 |
gold/
* target.h (Sized_target::relocate_relocs): Use Elf_Off
for offset_in_output_section parameter.
(Sized_target::relocate_special_relocatable): Likewise.
* arm.cc (Target_arm::relocate_relocs): Likewise.
(Target_arm::relocate_special_relocatable): Likewise.
* i386.cc (Target_i386::relocate_relocs): Likewise.
* powerpc.cc (Target_powerpc::relocate_relocs): Likewise.
* sparc.cc (Target_sparc::relocate_relocs): Likewise.
* target-reloc.h (relocate_relocs): Likewise.
* testsuite/testfile.cc (Target_test): Likewise.
* tilegx.cc (Target_tilegx::relocate_relocs): Likewise.
* x86_64.cc (Target_x86_64::relocate_relocs): Likewise.
Diffstat (limited to 'gold/target-reloc.h')
-rw-r--r-- | gold/target-reloc.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gold/target-reloc.h b/gold/target-reloc.h index 769a524..039621c 100644 --- a/gold/target-reloc.h +++ b/gold/target-reloc.h @@ -1,6 +1,7 @@ // target-reloc.h -- target specific relocation support -*- C++ -*- -// Copyright 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. +// Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012 +// Free Software Foundation, Inc. // Written by Ian Lance Taylor <iant@google.com>. // This file is part of gold. @@ -87,7 +88,7 @@ scan_relocs( // // FIXME: We should issue a warning if this is an // allocated section; is this the best place to do it? - // + // // FIXME: The old GNU linker would in some cases look // for the linkonce section which caused this section to // be discarded, and, if the other section was the same @@ -311,7 +312,7 @@ relocate_section( // If the local symbol belongs to a section we are discarding, // and that section is a debug section, try to find the // corresponding kept section and map this symbol to its - // counterpart in the kept section. The symbol must not + // counterpart in the kept section. The symbol must not // correspond to a section we are folding. bool is_ordinary; shndx = psymval->input_shndx(&is_ordinary); @@ -606,7 +607,7 @@ relocate_relocs( const unsigned char* prelocs, size_t reloc_count, Output_section* output_section, - typename elfcpp::Elf_types<size>::Elf_Addr offset_in_output_section, + typename elfcpp::Elf_types<size>::Elf_Off offset_in_output_section, const Relocatable_relocs* rr, unsigned char* view, typename elfcpp::Elf_types<size>::Elf_Addr view_address, |