Displaying 3 results from an estimated 3 matches for "applyrelocation".
2015 Feb 09
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
A bit off topic: ARM Group relocations define a logical set of consequent instructions to be relocated to form one single address. For such relocations a 1 to 1 relation is also met, so no need of special processing in applyRelocation.
Concerning native format: it also introduced unneeded code complexity to me when I wanted to set calculated relocation addend back into the Reference object in the relocation handler to simplify further processing.
Since it crashed in tests because of native format conversion, I needed to keep ca...
2015 Feb 09
2
[LLVMdev] [lld] Representation of lld::Reference with a fake target
...vensky at accesssoftek.com> wrote:
>
>> A bit off topic: ARM Group relocations define a logical set of consequent
>> instructions to be relocated to form one single address. For such
>> relocations a 1 to 1 relation is also met, so no need of special processing
>> in applyRelocation.
>>
>> Concerning native format: it also introduced unneeded code complexity to
>> me when I wanted to set calculated relocation addend back into the
>> Reference object in the relocation handler to simplify further processing.
>> Since it crashed in tests because of n...
2015 Feb 05
5
[LLVMdev] [lld] Representation of lld::Reference with a fake target
Hi,
I need an advice on implementation of a very specific kind of relocations
used by MIPS N64 ABI. As usual the main problem is how to pass target specific
data over Native/YAML conversion barrier.
In this ABI relocation record r_info field in fact consists of five subfields:
* r_sym - symbol index
* r_ssym - special symbol
* r_type3 - third relocation type
* r_type2 - second relocation type