[LLVMdev] [MCJIT] Why does it produce non-PIC ELF code?

Yuri yuri at rawbw.com
Fri Jul 8 12:47:36 PDT 2011


On 07/08/2011 11:28, Rafael Ávila de Espíndola wrote:
> My guess is that it is just using the small code model, in which case
> you need to produce 32 bit relocations since that is the size available
> in the instruction (there is no call with a 64 bit immediate for example).

I don't see the difference in the resulting ELF when I set Large 
CodeModel with TargetMachine::setCodeModel.

Yuri



More information about the llvm-dev mailing list