Displaying 1 result from an estimated 1 matches for "deb7cc7".
Did you mean:
deb7cc7e
2017 Mar 23
3
[LLD] Can't create dynamic relocation R_X86_64_64 against local symbol in readonly segment
Rafael Avila de Espindola wrote:
>> $ gcc -o rodatareloc.s.o -c rodatareloc.s
>> $ lld -o rodatareloc.so -shared rodatareloc.s.o
>>
>> ld: error: rodatareloc.s.o:(.rodata+0x0): can't create dynamic
>> relocation
>> R_X86_64_64 against local symbol in readonly segment defined in
>> rodatareloc.s.o
>>
>>
>> Changing the section from