pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Relocation against symbol can not be used when making a shared object



On 10.02.2016 11:18, Joerg Sonnenberger wrote:
> On Wed, Feb 10, 2016 at 11:00:21AM +0100, Kamil Rytarowski wrote:
>> May someone please give me a hand with it and try to build it
>> please?
> 
> Well, the most important question is whether that symbol is
> supposed to be defined in the library in first place or not. That's
> what you should research first.
> 
> Joerg
> 

Yes, the symbol is defined in the library and called from assembly as
visible in the attached file to this mail.

Maybe there is need to use in assembly _SYMBOL instead of SYMBOL?
src/vm/amd64/ExternalMethodFixupThunk.asm:    extern  ExternalMethodFixupWorker:proc
src/vm/amd64/ExternalMethodFixupThunk.asm:        call            ExternalMethodFixupWorker
src/vm/amd64/ExternalMethodFixupThunk.asm:        call            ExternalMethodFixupWorker
src/vm/amd64/externalmethodfixupthunk.S:        call            C_FUNC(ExternalMethodFixupWorker)
src/vm/amd64/externalmethodfixupthunk.S:        call            C_FUNC(ExternalMethodFixupWorker)
src/vm/arm/asmhelpers.S:    bl          C_FUNC(ExternalMethodFixupWorker)
src/vm/arm/asmhelpers.S:    bl          C_FUNC(ExternalMethodFixupWorker)
src/vm/arm/asmhelpers.asm:    IMPORT ExternalMethodFixupWorker
src/vm/arm/asmhelpers.asm:    bl          ExternalMethodFixupWorker
src/vm/arm/asmhelpers.asm:    bl          ExternalMethodFixupWorker
src/vm/arm64/asmhelpers.S:    bl C_FUNC(ExternalMethodFixupWorker)
src/vm/arm64/asmhelpers.asm:    IMPORT ExternalMethodFixupWorker
src/vm/arm64/asmhelpers.asm:    bl          ExternalMethodFixupWorker
src/vm/cgensys.h:extern "C" PCODE STDCALL ExternalMethodFixupWorker(TransitionBlock * pTransitionBlock, TADDR pIndirection, DWORD sectionIndex, Module * pModule);
src/vm/i386/asmhelpers.asm:EXTERN _ExternalMethodFixupWorker@16:PROC
src/vm/i386/asmhelpers.asm:    call        _ExternalMethodFixupWorker@16
src/vm/i386/asmhelpers.asm:    call        _ExternalMethodFixupWorker@16
src/vm/prestub.cpp:        PORTABILITY_ASSERT("ExternalMethodFixupWorker");
src/vm/prestub.cpp:// It transfers control to ExternalMethodFixupWorker which will patch the jump 
src/vm/prestub.cpp:EXTERN_C PCODE STDCALL ExternalMethodFixupWorker(TransitionBlock * pTransitionBlock, TADDR pIndirection, DWORD sectionIndex, Module * pModule)

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index