diff options
author | Marcin KoĆcielnicki <koriakin@0x04.net> | 2016-02-06 01:52:00 +0100 |
---|---|---|
committer | Marcin KoĆcielnicki <koriakin@0x04.net> | 2016-02-06 01:52:00 +0100 |
commit | bd8d853f779692d3d4f8dfb65cf173f7e080f498 (patch) | |
tree | 2b7e6d2aa27455655e4413672b2136071ae8700c /gold/target.cc | |
parent | 148ec36086d9f59825f9c11be450cc8f5f250ed2 (diff) | |
download | gdb-bd8d853f779692d3d4f8dfb65cf173f7e080f498.zip gdb-bd8d853f779692d3d4f8dfb65cf173f7e080f498.tar.gz gdb-bd8d853f779692d3d4f8dfb65cf173f7e080f498.tar.bz2 |
gold: Add view and view_size parameters to is_call_to_non_split.
This is needed by s390 split-stack support, to distinguish call
and load-address relocations.
gold/ChangeLog:
* i386.cc (Target_i386::is_call_to_non_split): Add view and view_size
parameters.
* reloc.cc (Sized_relobj_file::split_stack_adjust_reltype): Pass view
and view_size to is_call_to_non_split.
* target.cc (Target::is_call_to_non_split): Add view and view_size
parameters.
* target.h (class Target): Likewise.
Diffstat (limited to 'gold/target.cc')
-rw-r--r-- | gold/target.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/target.cc b/gold/target.cc index cc3765a..3bae2dd 100644 --- a/gold/target.cc +++ b/gold/target.cc @@ -152,7 +152,8 @@ Target::do_make_output_section(const char* name, elfcpp::Elf_Word type, // whether the symbol is a function. bool -Target::do_is_call_to_non_split(const Symbol* sym, const unsigned char*) const +Target::do_is_call_to_non_split(const Symbol* sym, const unsigned char*, + const unsigned char*, section_size_type) const { return sym->type() == elfcpp::STT_FUNC; } |