[LLVMdev] MC JIT on ARM can't generate valid code for external functions call

Joerg Sonnenberger joerg at britannica.bec.de
Tue Mar 13 06:47:06 PDT 2012


On Tue, Mar 13, 2012 at 05:27:58PM +0400, Shamil Kurmangaleev wrote:
> Because the ELF file in memory generated by MC JIT does not have the
> .plt section, but we need to have the following code to be emitted in it:

Why do you need it to emit PIC? You know the offsets of all functions it
is calling.

Joerg



More information about the llvm-dev mailing list