<div dir="ltr">Thanks!</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 19, 2016 at 1:52 PM, Rafael Espindola via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: rafael<br>
Date: Tue Apr 19 15:52:28 2016<br>
New Revision: 266819<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=266819&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=266819&view=rev</a><br>
Log:<br>
Document how a binary file was created.<br>
<br>
Modified:<br>
    lld/trunk/test/ELF/gotpcrelx.s<br>
<br>
Modified: lld/trunk/test/ELF/gotpcrelx.s<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gotpcrelx.s?rev=266819&r1=266818&r2=266819&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gotpcrelx.s?rev=266819&r1=266818&r2=266819&view=diff</a><br>
==============================================================================<br>
--- lld/trunk/test/ELF/gotpcrelx.s (original)<br>
+++ lld/trunk/test/ELF/gotpcrelx.s Tue Apr 19 15:52:28 2016<br>
@@ -1,6 +1,12 @@<br>
 // RUN: ld.lld %p/Inputs/gotpcrelx.o -o %t.so -shared<br>
 // RUN: llvm-readobj -s -r %t.so | FileCheck %s<br>
<br>
+// The gotpcrelx.o is just this file assembled with gas. We should switch to<br>
+// llvm-mc once it starts producing R_X86_64_GOTPCRELX and<br>
+// R_X86_64_REX_GOTPCRELX.<br>
+movq foo@GOTPCREL(%rip), %rax<br>
+movl bar@GOTPCREL(%rip), %eax<br>
+<br>
 // CHECK:      Name: .got<br>
 // CHECK-NEXT: Type: SHT_PROGBITS<br>
 // CHECK-NEXT: Flags [<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>