This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] [RFC] [GOLD] s390 -fsplit-stack support.


>> I think it's reasonable to expect that a target implementation of
>> do_calls_non_split may need prelocs, reloc_count, and Output_file*, so
>> I don't have a problem adding those to the signatures of
>> Sized_relobj_file::split_stack_adjust,
>> Sized_relobj_file::split_stack_adjust_reltype,
>> Target::calls_non_split, and Target::do_calls_non_split.
>
> With this patch, we won't have to add the Output_file pointer to these
> function signatures.

I've also committed the attached patch to add prelocs and reloc_count
parameters to Target::calls_non_split and Target::do_calls_non_split.

-cary


2015-12-11  Cary Coutant  <ccoutant@gmail.com>

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.

Attachment: calls-non-split-prelocs.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]