Sounds reasonable. Since the undefined references for __tls_get_addr are usually not weak by themselves, should we add a special case to the reader to convert them to weak undefines? http://reviews.llvm.org/D5505