http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58278

            Bug ID: 58278
           Summary: visibility bug from #26905 still happens with the
                    sparc64 backend
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: martin at netbsd dot org

Created attachment 30729
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30729&action=edit
test for bug 26905

Compiling the test from #26905 with -fPIC -shared -S... on sparc64 creates this
output:

--8<--
        .file   "conftest.cc"
        .section        ".text"
        .align 4
        .global _Z8TestFuncv
        .type   _Z8TestFuncv, #function
        .proc   020
_Z8TestFuncv:
.LLFB0:
        .cfi_startproc
        save    %sp, -176, %sp
        .cfi_window_save
        .cfi_register 15, 31
        .cfi_def_cfa_register 30
        call    _ZN10TestStruct4InitEv, 0
         nop
        return  %i7+8
         nop
        .cfi_endproc
.LLFE0:
        .size   _Z8TestFuncv, .-_Z8TestFuncv
        .ident  "GCC: (GNU) 4.8.1"
--8>--

note the missing PLT call.

Reply via email to