[llvm-dev] Who patches the fixups?

Jun Koi via llvm-dev llvm-dev at lists.llvm.org
Tue Feb 16 07:07:12 PST 2016


On Tue, Feb 16, 2016 at 10:59 PM, Krzysztof Parzyszek via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> On 2/16/2016 7:04 AM, Jun Koi via llvm-dev wrote:
>
>>
>> I am trying to undertand which code in LLVM patches the fixups generated
>> by assembler.
>>
>>
> What do you mean exactly?  The actual machine code is generated by
> MCCodeEmitter, for example
> lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
>
> The relocations from the object files are applied by the linker, not LLVM.
>

Do you mean the LLVM linker will do the relocation?

Do you have any hints on where to look at linker source of LLVM to see how
this is done?


Thanks.



>
> -Krzysztof
>
>
> --
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted
> by The Linux Foundation
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160216/a40df26c/attachment.html>


More information about the llvm-dev mailing list