[LLVMdev] External constants and RIP relative addressing

Chris Lattner clattner at apple.com
Tue May 17 09:08:08 PDT 2011


Oh right, that could work.

-Chris

On May 17, 2011, at 6:25 AM, Anton Korobeynikov <anton at korobeynikov.info> wrote:

> 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