[LLVMdev] External constants and RIP relative addressing

Anton Korobeynikov anton at korobeynikov.info
Tue May 17 06:25:16 PDT 2011


Chris,

> You'll have to hack up the code generator, there is no user visible knob to turn off rip relative addressing.
Why? One can use medium code model which does not do any rip-rel stuff.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list