[Bug 229155] "Unsupported relocation type 11 in non-PLT relocations" when running compiled binary

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 21 23:50:19 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229155

Ed Maste <emaste at freebsd.org> changed:

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

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

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

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

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. :-)

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


More information about the freebsd-bugs mailing list