This is the mail archive of the 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.


2015-12-11  Cary Coutant  <>

        * target.h (Target::calls_non_split): Add prelocs, reloc_count
        (Target::do_calls_non_split): Likewise.
        * (Target::do_calls_non_split): Likewise.
        * (Sized_relobj_file::split_stack_adjust_reltype): Adjust
        call to Target::calls_non_split.
        * (Target_i386::do_calls_non_split): Add prelocs, reloc_count
        * (Target_powerpc::do_calls_non_split): Likewise.
        * (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]