Go to file
Peter Smith 113a59e7db [ELF] Define _GLOBAL_OFFSET_TABLE_ symbol relative to .got
On many architectures gcc and clang will recognize _GLOBAL_OFFSET_TABLE_ - .
and produce a relocation that can be processed without needing to know the
value of _GLOBAL_OFFSET_TABLE_. This is not always the case; for example ARM
gcc produces R_ARM_BASE_PREL but clang produces the more general
R_ARM_REL32 to _GLOBAL_OFFSET_TABLE_. To evaluate this relocation
correctly _GLOBAL_OFFSET_TABLE_ must be defined to be the either the base of
the GOT or end of the GOT dependent on architecture..

If/when llvm-mc is changed to recognize _GLOBAL_OFFSET_TABLE_ - . this
change will not be necessary for new objects. However there may still be
old objects and versions of clang.

Differential Revision: https://reviews.llvm.org/D34355

llvm-svn: 306282
2017-06-26 10:22:17 +00:00
clang [mips] Enable IAS by default for Android 64-bit MIPS target (N64) 2017-06-26 09:58:01 +00:00
clang-tools-extra Remove the script dump_check_docs.py. It was a one-shot migration script. 2017-06-26 02:56:57 +00:00
compiler-rt [esan] Disable flaky tests for PR33590 2017-06-26 01:02:54 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc generic: add missing get_work_dim include 2017-06-02 15:58:35 +00:00
libcxx Updated for the Toronto meeting 2017-06-26 04:25:15 +00:00
libcxxabi Add some catch(...) blocks to the tests so that if they fail, we get a good error message. No functional change. 2017-06-22 00:49:03 +00:00
libunwind Change -1LL to -1ULL to silence a gcc warning about left shifting a negative value. Fixes https://bugs.llvm.org/show_bug.cgi?id=33358 2017-06-21 16:02:53 +00:00
lld [ELF] Define _GLOBAL_OFFSET_TABLE_ symbol relative to .got 2017-06-26 10:22:17 +00:00
lldb Shorten sanitizer plugin names 2017-06-26 08:13:22 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [llvm-stress] Ensure that the C++11 random device respects its min/max values (PR32585) 2017-06-26 10:16:34 +00:00
openmp Set affinity to none/false in child processes 2017-06-15 21:51:07 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [tests] Add forgotten pollyacc REQUIRES line 2017-06-26 06:07:40 +00:00