Displaying 1 result from an estimated 1 matches for "getimplicitaddend".
2018 Jun 05
2
lld mishandling R_X86_64_PC32 relocations
...call 11010 <foo>
$ x86_64-elf-ld -melf_i386 -o bug-ld bug.o
$ x86_64-elf-objdump -d bug-ld | grep -A1 -e '<_start>:'
08048060 <_start>:
8048060: e8 0b 00 00 00 call 8048070 <foo>
I'm not at all familiar with the lld source, but this looks a lot like getImplicitAddend() needs to be implemented for the X86_64 class.
Alternatively (but much less useful for me) would be an error message that REL relocations are not supported on x86-64.
I've attached all of the files created above, in case anyone wants to examine them.
Thank you,
Steve
--
Stephen Checkoway...