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
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 10.02.2016 13:01, Joerg Sonnenberger wrote:
> On Wed, Feb 10, 2016 at 11:27:55AM +0100, Kamil Rytarowski wrote:
>> 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?
>
> No, but it if is defined in the library and not explicitly hidden,
> the call still needs to go via PLT.
>
> Joerg
>
This function is declared as extern, so it wasn't hidden.
How to pass it there via PLT? Have you got a draft patch or an example?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJWuyejAAoJEEuzCOmwLnZsr/8P/RqMeq3HXXkFrYa3RTY3VlRg
vRXH30JidUyaWpRCOYRK/h9Jf7Gy5HIUEN8ofPZZcNB2Xx79VfhwQEi/rfxRAGM3
KJflAJLH0MIkzokcAQKpjgW20TGDdQiHzRfKOrbZSgZ0rzoqU+J8lIcAGCL0+rqe
edSCzCaGzhTLo6w1NMtYjZamM1ZfLhPubgBZaCLzaC1Y5OIuXH6KU9cv55XqE1+J
Y/I3vsCLXbG17lZlECz/1XjuG9UG6Ja3yY4AwTT1u1oc4cg3k6l6Rc+V3whPP3pu
+7SklKq+F6zqGnHpzDmtmQ+4U5r5vu7NOj4YWzVAaco27ChJsdj+Cy1idFkKD+wC
eLrhtkn9/2hmnhRruZ37gdzvHalWW3MdOanemFuqah33LPYMmRsx53yeoZiEeg+5
t5kMT7MKWyPhYwuq8n3f3q3q5kTVuWumwY+oxvLGJOCGbXMFdzkfE5Y234F8/io3
6R9F01XZ4YuF7Yol1N4JpKDXtDzxyKKzxJyaSeqYNfy093XZB0Cf+rExMC2qypaz
+bM9rz7+eEYRBBCPydmYUYb1VyrD+Y8SFFvF5TVIwRirZfmtX1llLpoKJgG+H/cF
xg6igu8lU5mD1tP/kfkuU6xrODZRajYJtYjYFkeInOYPMjMPPJbw1jLplTjPp4gz
HRyNHB7XH4tC5KD8r43w
=pyyM
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index