Go to file
Ed Schouten 639a333730 Make TLS work for PIE executables on x86-64.
While trying to get PIE work on CloudABI for x86-64, I noticed that even
though GNU ld would generate functional binaries, LLD would not. It
turns out that we generate relocations for referencing TLS objects
inside of the text segment, which shouldn't happen.

This change extends the isRelRelative() function to list some additional
relocation types that should be treated as relative. This makes my C
library unit testing binary work on x86-64.

Approved by:	ruiu
Differential Revision:	http://reviews.llvm.org/D18688
Fixes bug:	https://llvm.org/bugs/show_bug.cgi?id=27174

llvm-svn: 265462
2016-04-05 20:51:50 +00:00
clang Fix broken tests from no-jump-table commit 2016-04-05 18:59:37 +00:00
clang-tools-extra [clang-tidy] Add a check to detect static definitions in anonymous namespace. 2016-04-05 11:42:08 +00:00
compiler-rt [tsan] Fix freebsd build. 2016-04-05 05:37:48 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Update copyright year to 2016. 2016-03-30 22:39:03 +00:00
libcxx Remove unused internal routines. No functional change 2016-04-04 23:23:35 +00:00
libcxxabi Update copyright year to 2016. 2016-03-30 22:40:47 +00:00
libunwind [AArch64] Fix libunwind build when using GNU assembler 2016-02-11 21:22:57 +00:00
lld Make TLS work for PIE executables on x86-64. 2016-04-05 20:51:50 +00:00
lldb XFail TestImport.py on Windows because Python 3 import rules don't work that way. 2016-04-05 20:49:09 +00:00
llgo [llgo] add USES_TERMINAL option to check-libgo 2016-03-30 00:29:33 +00:00
llvm [RegisterBank] Provide a way to check if a register bank is valid. 2016-04-05 20:48:32 +00:00
openmp [STATS] Remove trailing whitespace in stats source files 2016-04-05 18:48:48 +00:00
polly Add test case forgotten in r265379. 2016-04-05 17:40:07 +00:00