DLLs with thread local storage use the relocaction type IMAGE_REL_AMD64_SECREL which have no bitsize specified leading to a linking failure with lld. This adds the bitsize from ld.bfd https://github.com/bminor/binutils-gdb/blob/3024a17ae029ec7f55b498e99ddd6238e22fe565/bfd/coff-x86_64.c#L340
Would need someone to commit this for me if accepted