[LLVMdev] External constants and RIP relative addressing

Chris Stavrakakis stavr.chris at gmail.com
Tue May 17 09:37:47 PDT 2011


  On 05/17/2011 07:08 PM, Chris Lattner wrote:
> 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

That worked fine!

Thanks Chris, Anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110517/36965464/attachment.html>


More information about the llvm-dev mailing list