<div dir="ltr">Hello,<div><br></div><div>I wanted to know why is there a need for a runtime linker if LLVM can produce fully relocatable code?</div><div><br></div><div>That is, if I ask MCJIT to generate code that uses PC-rel offsets for everything, why would I need a runtime linker at all?</div><div><br></div><div>Is it for name resolution or something I don't get?</div><div><br></div><div>To me the JIT seems like an API that can produce assembly that I should be able to load where-ever I feel like. Only think I can think of is that if I encounter a call instruction I better have an address to give it to. But other than that ...</div><div><br></div><div>What is preventing this from happening? I'm sure it's my limited understanding of the linker space, but I would love to understand.</div><div><br></div><div>Dave</div></div>