On Wed, Sep 30, 2015 at 2:11 AM, Alan Modra <amo...@gmail.com> wrote:
> For other ABIs, -msingle-pic-base makes gcc omit loading of the PIC
> register in function prologues.  This patch makes the option affect
> ELFv2 too.
>
> I wrote a patch like this during the initial ELFv2 effort, but there
> were many more important patches to push and this one somehow got
> dropped.  Dusted off and retested at the request of powerpc64 kernel
> people who'd like an option to disable ELFv2 global entry code for
> the kernel.  OK mainline?
>
>         * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't set
>         r2_setup_needed when TARGET_SINGLE_PIC_BASE.
>         (rs6000_output_mi_thunk): Likewise.

Okay.

Thanks, David

Reply via email to