Pass relocations to Target::do_calls_non_split.
authorCary Coutant <ccoutant@gmail.com>
Fri, 11 Dec 2015 22:20:41 +0000 (14:20 -0800)
committerCary Coutant <ccoutant@gmail.com>
Fri, 11 Dec 2015 22:23:59 +0000 (14:23 -0800)
commit6e0813d359c6eaddc481b3b902ca4ccc1251febe
treebdaf54f3dd7530be90481e07a020f5ca8ce1cc88
parent6b2353a53a621680dc839366f4b2b4f96eccb6da
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.
gold/ChangeLog
gold/i386.cc
gold/powerpc.cc
gold/reloc.cc
gold/target.cc
gold/target.h
gold/x86_64.cc