bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/18878] _savegpr1_XXX crashes when called through a stub on POWER


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/18878] _savegpr1_XXX crashes when called through a stub on POWERPC64LE
Date: Wed, 02 Sep 2015 08:16:08 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18878

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d49044c7530d28894e73763c21c417a423e4297c

commit d49044c7530d28894e73763c21c417a423e4297c
Author: Alan Modra <address@hidden>
Date:   Wed Sep 2 15:51:59 2015 +0930

    [GOLD] ppc64 out-of-line register save/restore functions

    Gold version of a4b6fadd.  Don't emit long branch or plt branch stubs
    to save/restore functions.  Copy them instead.

        PR 18878
        * powerpc.cc (Target_powerpc): Add savres_section_ and accessor.
        (Target_powerpc::Branch_info::make_stub): Determine whether long
        branch stub is for save/restore function.
        (Branch_stub_ent): Add save_res_, and extra parm to constructor.
        (Stub_table): Add need_save_res_.
        (Stub_table:clear_stubs): Clear need_save_res_.
        (Stub_table:set_address_and_size): Add save/restore section size.
        (Stub_table::add_long_branch_entry): Add save_res param.  Set
        need_save_res_, but don't add space for save/restore stubs.
        (Stub_table::find_long_branch_entry): Return offset to local copy
        of save/restore func.
        (Stub_table::do_write): Don't output save/restore stubs.  Instead
        copy the save/restore functions.
        (Output_data_save_res:contents): New accessor.
        (Target_powerpc::define_save_restore_funcs): Set savres_section_.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]