On Wed, Oct 29, 2014 at 12:21:15PM +0300, Evgeny Stupachenko wrote:
> Patch with the fixes:
> 
> Bootstrap, gcc make check and spec2000 with "-p" passed.
> 
> 2014-10-29  Evgeny Stupachenko  <evstu...@gmail.com>
> 
> gcc/testsuite
>         PR target/63534
>         * gcc.target/i386/mcount_pic.c: New.
> 
> gcc/
>         PR target/63534
>         * config/i386/i386.c (ix86_init_pic_reg): Emit SET_GOT to
>         REAL_PIC_OFFSET_TABLE_REGNUM for mcount profiling.
>         (ix86_save_reg): Save REAL_PIC_OFFSET_TABLE_REGNUM when profiling
>         using mcount in 32bit PIC mode.
>         (ix86_elim_entry_set_got): New.
>         (ix86_expand_prologue): For the mcount profiling emit new SET_GOT
>         in PROLOGUE, delete initial if possible.

Ok, thanks.

        Jakub

Reply via email to