aboutsummaryrefslogtreecommitdiff
path: root/gold/reloc.cc
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@gmail.com>2015-12-11 14:20:41 -0800
committerCary Coutant <ccoutant@gmail.com>2015-12-11 14:23:59 -0800
commit6e0813d359c6eaddc481b3b902ca4ccc1251febe (patch)
treebdaf54f3dd7530be90481e07a020f5ca8ce1cc88 /gold/reloc.cc
parent6b2353a53a621680dc839366f4b2b4f96eccb6da (diff)
downloadgdb-6e0813d359c6eaddc481b3b902ca4ccc1251febe.zip
gdb-6e0813d359c6eaddc481b3b902ca4ccc1251febe.tar.gz
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/reloc.cc')
-rw-r--r--gold/reloc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gold/reloc.cc b/gold/reloc.cc
index b83a962..c0c06c5 100644
--- a/gold/reloc.cc
+++ b/gold/reloc.cc
@@ -1364,6 +1364,7 @@ Sized_relobj_file<size, big_endian>::split_stack_adjust_reltype(
std::string from;
std::string to;
parameters->target().calls_non_split(this, shndx, p->first, p->second,
+ prelocs, reloc_count,
view, view_size, &from, &to);
if (!from.empty())
{