Go to file
Simon Atanasyan 4132511cdc [ELF][MIPS] Support GOT entries for non-preemptible symbols with different addends
There are two motivations for this patch. The first one is a preparation
for support MIPS TLS relocations. It might sound like a joke but for GOT
entries related to TLS relocations MIPS ABI uses almost regular approach
with creation of dynamic relocations for each GOT enty etc. But we need
to separate these 'regular' TLS related entries from MIPS specific local
and global parts of GOT. ABI declare simple solution - all TLS related
entries allocated at the end of GOT after local/global parts. The second
motivation it to support GOT relocations for non-preemptible symbols
with addends. If we have more than one GOT relocations against symbol S
with different addends we need to create GOT entries for each unique
Symbol/Addend pairs.

So we store all MIPS GOT entries in separate containers. For non-preemptible
symbols we have to maintain two data structures. The first one is MipsLocal
vector. Each entry corresponds to the GOT entry from the 'local' part
of the GOT contains the symbol's address plus addend. The second one
is MipsLocalMap. It is a map from Symbol/Addend pair to the GOT index.

Differential Revision: http://reviews.llvm.org/D21297

llvm-svn: 273127
2016-06-19 21:39:37 +00:00
clang Revert "Make test less sensitive to the resource directory." 2016-06-19 01:14:35 +00:00
clang-tools-extra [clang-tidy] More doc fixes. NFC. 2016-06-17 12:01:15 +00:00
compiler-rt [sanitizers] [SystemZ] Add __tls_get_offset interceptor. 2016-06-17 20:24:35 +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 configure: Remove device specific defines 2016-06-17 20:30:50 +00:00
libcxx Add entry to CREDITS.TXT for propagate_const 2016-06-19 19:36:28 +00:00
libcxxabi Fix [libcxxabi] Fix warning about uninitialized const member. 2016-06-15 19:59:16 +00:00
libunwind [libunwind] Improve unwinder stack usage - III 2016-06-14 15:51:01 +00:00
lld [ELF][MIPS] Support GOT entries for non-preemptible symbols with different addends 2016-06-19 21:39:37 +00:00
lldb Allow installing watchpoints at less than 8-byte alligned addresses for AArch64 targets 2016-06-16 16:41:22 +00:00
llgo [llgo] llgoi: separate evaluation from printing 2016-04-25 01:18:20 +00:00
llvm Address Eli's post-commit comments 2016-06-19 21:36:35 +00:00
openmp Change hwloc discovery algorithm to print topology only for accessible resources 2016-06-16 20:31:19 +00:00
polly Replace ScalarReplAggregatesPass by SROAPass. 2016-06-15 13:21:28 +00:00