https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112980

--- Comment #12 from Giuliano Belinassi <giuliano.belinassi at gmail dot com> 
---
With your patch we have:

> .LPFE0:
>       nop
>       nop
>       nop
>       nop
>       nop
>       nop
>       nop
>       nop
>       nop
>       nop
>       nop
>       nop
>       nop
>       nop
>       .type   function, @function
> function:
> .LFB0:
>       .cfi_startproc
> .LCF0:
> 0:    addis 2,12,.TOC.-.LCF0@ha
>       addi 2,2,.TOC.-.LCF0@l
>       .localentry     function,.-function
>       nop
>       nop
>       mflr %r0

Which seems what is expected.

Reply via email to