Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2018 23:50:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229155] "Unsupported relocation type 11 in non-PLT relocations" when running compiled binary
Message-ID:  <bug-229155-227-X42gqDWrc0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229155-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229155-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229155

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org

--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
I presume this is amd64?

#define R_X86_64_32S            11      /* Add 32 bit sign extended symbol
value */

                /*=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                 * missing:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
                 * R_X86_64_GOTPCREL, R_X86_64_32, R_X86_64_32S, R_X86_64_1=
6,=20=20=20
                 * R_X86_64_PC16, R_X86_64_8, R_X86_64_PC8=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                 */=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                default:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                        _rtld_error("%s: Unsupported relocation type %u"=20=
=20=20=20=20=20=20=20
                            " in non-PLT relocations\n", obj->path,=20=20=
=20=20=20=20=20=20=20=20=20=20=20
                            (unsigned int)ELF_R_TYPE(rela->r_info));=20=20=
=20=20=20=20=20=20=20=20=20=20
                        goto done;=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20

The missing R_X86_64_32S comment comes from r115280:

    Initial pass at supporting shared libraries on amd64.  There are still
    a few missing relocation types in amd64/reloc.c, but I have not found
    any of them in use yet. :-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229155-227-X42gqDWrc0>