[PATCH] [lld] [ELF] Support for general dynamic TLS relocations on X86_64

Joerg Sonnenberger joerg at NetBSD.org
Fri Sep 26 14:59:18 PDT 2014


I'm not sure this patch is the right direction. Essentially, for statically linked binaries, libc is responsible for providing the symbol. For dynamically linked binaries, libc or libdl //may// provide a definition, but it is a symbol that is explicitly known. This leads back to the main issue that lld deals badly with symbols that are known to be defined somewhere, but not necessarily explicitly. IMO it would be better to address that issue first.

http://reviews.llvm.org/D5505






More information about the llvm-commits mailing list