Go to file
Simon Atanasyan 002e244717 [ELF][MIPS] Support MIPS TLS relocations
The patch adds one more partition to the MIPS GOT. This time it is for
TLS related GOT entries. Such entries are located after 'local' and 'global'
ones. We cannot get a final offset for these entries at the time of
creation because we do not know size of 'local' and 'global' partitions.
So we have to adjust the offset later using `getMipsTlsOffset()` method.

All MIPS TLS relocations which need GOT entries operates MIPS style GOT
offset - 'offset from the GOT's beginning' - MipsGPOffset constant. That
is why I add new types of relocation expressions.

One more difference from othe ABIs is that the MIPS ABI does not support
any TLS relocation relaxations. I decided to make a separate function
`handleMipsTlsRelocation` and put MIPS TLS relocation handling code
there. It is similar to `handleTlsRelocation` routine and duplicates its
code. But it allows to make the code cleaner and prevent pollution of
the `handleTlsRelocation` by MIPS 'if' statements.

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

llvm-svn: 273569
2016-06-23 15:26:31 +00:00
clang Restructure the propagation of -fPIC/-fPIE. 2016-06-23 15:07:32 +00:00
clang-tools-extra Fix build of ClangRenameTests 2016-06-21 20:30:40 +00:00
compiler-rt [CMake] Converting darwin_test_archs simple source to C 2016-06-22 23:02:49 +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 Run list debug copy test in C++03. 2016-06-22 08:57:33 +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 MIPS TLS relocations 2016-06-23 15:26:31 +00:00
lldb Add MemoryRegionInfo to SB API 2016-06-23 08:35:37 +00:00
llgo [llgo] llgoi: separate evaluation from printing 2016-04-25 01:18:20 +00:00
llvm Remangle intrinsics names when types are renamed 2016-06-23 15:25:09 +00:00
openmp Fix bug in futex fast path inside kmp_csupport.c 2016-06-22 16:36:07 +00:00
parallel-libs Create parallel-libs subproject in LLVM 2016-06-22 18:24:46 +00:00
polly Fix separator in header comment 2016-06-22 16:29:33 +00:00