[lld] r266819 - Document how a binary file was created.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 19 13:58:29 PDT 2016
Thanks!
On Tue, Apr 19, 2016 at 1:52 PM, Rafael Espindola via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
> Author: rafael
> Date: Tue Apr 19 15:52:28 2016
> New Revision: 266819
>
> URL: http://llvm.org/viewvc/llvm-project?rev=266819&view=rev
> Log:
> Document how a binary file was created.
>
> Modified:
> lld/trunk/test/ELF/gotpcrelx.s
>
> Modified: lld/trunk/test/ELF/gotpcrelx.s
> URL:
> http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gotpcrelx.s?rev=266819&r1=266818&r2=266819&view=diff
>
> ==============================================================================
> --- lld/trunk/test/ELF/gotpcrelx.s (original)
> +++ lld/trunk/test/ELF/gotpcrelx.s Tue Apr 19 15:52:28 2016
> @@ -1,6 +1,12 @@
> // RUN: ld.lld %p/Inputs/gotpcrelx.o -o %t.so -shared
> // RUN: llvm-readobj -s -r %t.so | FileCheck %s
>
> +// The gotpcrelx.o is just this file assembled with gas. We should switch
> to
> +// llvm-mc once it starts producing R_X86_64_GOTPCRELX and
> +// R_X86_64_REX_GOTPCRELX.
> +movq foo at GOTPCREL(%rip), %rax
> +movl bar at GOTPCREL(%rip), %eax
> +
> // CHECK: Name: .got
> // CHECK-NEXT: Type: SHT_PROGBITS
> // CHECK-NEXT: Flags [
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160419/c341e416/attachment.html>
More information about the llvm-commits
mailing list