diff options
author | Cary Coutant <ccoutant@gmail.com> | 2015-12-11 14:20:41 -0800 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2015-12-11 14:23:59 -0800 |
commit | 6e0813d359c6eaddc481b3b902ca4ccc1251febe (patch) | |
tree | bdaf54f3dd7530be90481e07a020f5ca8ce1cc88 /gold/powerpc.cc | |
parent | 6b2353a53a621680dc839366f4b2b4f96eccb6da (diff) | |
download | fsf-binutils-gdb-6e0813d359c6eaddc481b3b902ca4ccc1251febe.zip fsf-binutils-gdb-6e0813d359c6eaddc481b3b902ca4ccc1251febe.tar.gz fsf-binutils-gdb-6e0813d359c6eaddc481b3b902ca4ccc1251febe.tar.bz2 |
Pass relocations to Target::do_calls_non_split.
gold/
* target.h (Target::calls_non_split): Add prelocs, reloc_count
parameters.
(Target::do_calls_non_split): Likewise.
* target.cc (Target::do_calls_non_split): Likewise.
* reloc.cc (Sized_relobj_file::split_stack_adjust_reltype): Adjust
call to Target::calls_non_split.
* i386.cc (Target_i386::do_calls_non_split): Add prelocs, reloc_count
parameters.
* powerpc.cc (Target_powerpc::do_calls_non_split): Likewise.
* x86_64.cc (Target_x86_64::do_calls_non_split): Likewise.
Diffstat (limited to 'gold/powerpc.cc')
-rw-r--r-- | gold/powerpc.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gold/powerpc.cc b/gold/powerpc.cc index 59d04b3..71e38f9 100644 --- a/gold/powerpc.cc +++ b/gold/powerpc.cc @@ -631,6 +631,7 @@ class Target_powerpc : public Sized_target<size, big_endian> void do_calls_non_split(Relobj* object, unsigned int shndx, section_offset_type fnoffset, section_size_type fnsize, + const unsigned char* prelocs, size_t reloc_count, unsigned char* view, section_size_type view_size, std::string* from, std::string* to) const; @@ -6590,6 +6591,8 @@ Target_powerpc<size, big_endian>::do_calls_non_split( unsigned int shndx, section_offset_type fnoffset, section_size_type fnsize, + const unsigned char* prelocs, + size_t reloc_count, unsigned char* view, section_size_type view_size, std::string* from, @@ -6600,7 +6603,8 @@ Target_powerpc<size, big_endian>::do_calls_non_split( { // warn Target::do_calls_non_split(object, shndx, fnoffset, fnsize, - view, view_size, from, to); + prelocs, reloc_count, view, view_size, + from, to); return; } |