Go to file
Simon Atanasyan 9e0297b8bc [ELF][MIPS] N32 ABI support
In short the patch introduces support for linking object file conform
MIPS N32 ABI [1]. This ABI is similar to N64 ABI but uses 32-bit
pointer size.

The most non-trivial requirement of this ABI is one more relocation
packing format. N64 ABI puts multiple relocation type into the single
relocation record. The N32 ABI uses series of successive relocations
with the same offset for this purpose. In this patch, new function
`mergeMipsN32RelTypes` handle this case and "convert" N32 relocation to
the N64 relocation so the rest of the code keep unchanged.

For now, linker does not support series of relocations applied to sections
without SHF_ALLOC bit. Probably later I will add the support or insert
some sort of assert into the `relocateNonAlloc` routine to catch this
case.

[1] ftp://www.linux-mips.org/pub/linux/mips/doc/ABI/MIPS-N32-ABI-Handbook.pdf

Differential revision: https://reviews.llvm.org/D26298

llvm-svn: 286052
2016-11-05 22:58:01 +00:00
clang clang-format: Better support for CUDA's triple brackets. 2016-11-05 17:43:16 +00:00
clang-tools-extra [ClangTidy - performance-unnecessary-value-param] Only add "const" when current parameter is not already const qualified 2016-11-04 20:51:31 +00:00
compiler-rt [asan] Add more dynamic CRT mode tests 2016-11-02 15:39:08 +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 Provide vstore_half helper to workaround clc restrictions 2016-09-21 20:15:55 +00:00
libcxx Upgrade in-tree google benchmark to v1.1 2016-11-05 00:30:27 +00:00
libcxxabi [p0012] Implement ABI support for throwing a noexcept function pointer and 2016-11-02 23:41:51 +00:00
libunwind Add support for old versions of MacOS to libunwind. Fixes PR22203. Thanks to Jeremy for the bug report and the patch. 2016-11-02 17:56:05 +00:00
lld [ELF][MIPS] N32 ABI support 2016-11-05 22:58:01 +00:00
lldb make-core.sh: add FreeBSD support 2016-11-05 14:45:13 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm [Hexagon] Relocate pattern-related bits to proper places 2016-11-05 21:44:50 +00:00
openmp fixed typo in comment 2016-11-03 17:48:46 +00:00
parallel-libs [Acxxel] Remove setActiveDeviceForThread 2016-10-28 00:54:02 +00:00
polly IslNodeBuilder: Ensure newly generated memory accesses are well-defined 2016-11-05 21:46:01 +00:00