<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Oct 25, 2016 at 2:48 PM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">You get the code you want with<br>
<br>
@foo = external hidden global i8<br>
<br>
or<br>
<br>
@foo = external protected global i8<br></blockquote><div><br></div><div>No, that produces this when PIC is on:</div><div>        leaq    foo(%rip), %rax</div><div>        addq    %rdi, %rax</div><div>        retq</div><div> </div><div>We need a way to communicate that foo is really an immediate and not PC-relative.</div></div></div></div>