[PATCH] D14359: [elf2] Add support for R_X86_64_TLSLD.

Rafael Espíndola via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 6 14:51:26 PST 2015


Please add a second " leaq b at tlsld(%rip), %rdi" to show that only a
single R_X86_64_DTPMOD64 is created.

On 6 November 2015 at 17:33, Rafael Ávila de Espíndola
<llvm-commits at lists.llvm.org> wrote:
> rafael added inline comments.
>
> ================
> Comment at: test/elf2/tls-dynamic.s:3
> @@ +2,3 @@
> +// RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
> +// RUN: ld.lld2 -shared %t -o %tout
> +// RUN: llvm-readobj -sections -relocations %tout | FileCheck %s
> ----------------
> When producing an executable gold produces no dynamic relocations. I understand that is just an optimization that we don't have yet.  To avoid changing this test is the future, can you change it to use -shared? With that you can also remove
>
>           .text
>                   .globl  _start
>                 _start:
>
>
>
> http://reviews.llvm.org/D14359
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list