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

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 10 15:12:22 PST 2015


Use = 0.

On 10 November 2015 at 17:36, Michael Spencer <bigcheesegs at gmail.com> wrote:
> 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