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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |MOVED

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Still is a binutils (assembler rather than the linker issue):
        .file   "t.c"
        .text
#APP
        a: .long func@plt - 4
#NO_APP
        .globl  geta
        .type   geta, @function
geta:
.LFB0:
        .cfi_startproc
        pushq   %rbp
        .cfi_def_cfa_offset 16
        .cfi_offset 6, -16
        movq    %rsp, %rbp
        .cfi_def_cfa_register 6
        movq    a@GOTPCREL(%rip), %rax
        movl    (%rax), %eax
        popq    %rbp
        .cfi_def_cfa 7, 8
        ret
        .cfi_endproc
.LFE0:
        .size   geta, .-geta
        .ident  "GCC: (Octeon TX GCC 7 - (Build 116)) 7.3.0"
        .section        .note.GNU-stack,"",@progbits


What GCC outputs does not have the -4 in there.

Reply via email to