rafael accepted this revision. rafael added a comment. This revision is now accepted and ready to land. LGTM, but please change getTlsLocalDynamicReloc to isTlsLocalDynamicReloc (and global equivalent) in a followup commit. http://reviews.llvm.org/D14586