[PATCH] D14359: [elf2] Add support for R_X86_64_TLSLD.
Rafael Ávila de Espíndola via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 6 14:33:42 PST 2015
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
More information about the llvm-commits
mailing list