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

Michael Spencer via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 10 14:36:32 PST 2015


Bigcheese added inline comments.

================
Comment at: ELF/Target.h:72
@@ -69,1 +71,3 @@
   unsigned RelativeReloc;
+  unsigned TlsLocalDynamicReloc{};
+  unsigned TlsModuleIndexReloc{};
----------------
rafael wrote:
> No other entry uses {}
> 
The other entries don't require a default value. This is only set for x86-64, and needs to be defaulted to zero otherwise. TlsModuleIndexReloc doesn't need it though.


http://reviews.llvm.org/D14359





More information about the llvm-commits mailing list