diff options
author | Ian Lance Taylor <ian@airs.com> | 2009-03-04 06:46:27 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2009-03-04 06:46:27 +0000 |
commit | 031cdbed18938f96e4607b717e864928bbb4643e (patch) | |
tree | 73d294fac4e833a02f6a523a953083822cad402b /gold/powerpc.cc | |
parent | 727fc41e077139570ea8b8ddfd6c546b2a55627c (diff) | |
download | ppe42-binutils-031cdbed18938f96e4607b717e864928bbb4643e.tar.gz ppe42-binutils-031cdbed18938f96e4607b717e864928bbb4643e.zip |
PR 9918
* target-reloc.h (relocate_section): Pass output_section to
relocate.
* i386.cc (Target_i386::should_apply_static_reloc): Add
output_section parameter. Change all callers.
(Target_i386::Relocate::relocate): Add output_section parameter.
* x86_64.cc (Target_x86_64::Relocate::relocate): Likewise.
* sparc.cc (Target_sparc::Relocate::relocate): Likewise.
* powerpc.cc (Target_powerpc::Relocate::relocate): Likewise.
* testsuite/two_file_shared.sh: New script.
* testsuite/Makefile.am (check_SCRIPTS): Add two_file_shared.sh.
(check_DATA): Add two_file_shared.dbg.
(two_file_shared.dbg): New target.
* testsuite/Makefile.in: Rebuild.
Diffstat (limited to 'gold/powerpc.cc')
-rw-r--r-- | gold/powerpc.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gold/powerpc.cc b/gold/powerpc.cc index 8eac78366e..3e8cd75ff2 100644 --- a/gold/powerpc.cc +++ b/gold/powerpc.cc @@ -214,7 +214,8 @@ class Target_powerpc : public Sized_target<size, big_endian> // any warnings about this relocation. inline bool relocate(const Relocate_info<size, big_endian>*, Target_powerpc*, - size_t relnum, const elfcpp::Rela<size, big_endian>&, + Output_section*, size_t relnum, + const elfcpp::Rela<size, big_endian>&, unsigned int r_type, const Sized_symbol<size>*, const Symbol_value<size>*, unsigned char*, @@ -1578,6 +1579,7 @@ inline bool Target_powerpc<size, big_endian>::Relocate::relocate( const Relocate_info<size, big_endian>* relinfo, Target_powerpc* target, + Output_section*, size_t relnum, const elfcpp::Rela<size, big_endian>& rela, unsigned int r_type, |