Go to file
George Rimar 1b3d34a298 [ELF] - Implemented R_386_16 and R_386PC16 relocations
A program or object file using R_386_8, R_386_16, R_386_PC16 or R_386_PC8
relocations is not conformant to latest ABI. The R_386_16, and R_386_8
relocations truncate the computed value to 16 - bits and 8 - bits
respectively. R_386_PC16 and R_386_16 are used by some
applications, for example by FreeBSD loaders.

Previously we did not take addend in account for these relocation,
counting it as 0, what is wrong and was a reason of hangs.

This patch needed for example for FreeBSD pmbr (protective mbr).

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

llvm-svn: 288581
2016-12-03 07:30:30 +00:00
clang Sema: delay the DLL exported member referencing 2016-12-03 01:57:47 +00:00
clang-tools-extra [clang-tidy] Do not trigger unnecessary-value-param check on methods marked as final 2016-12-02 14:44:16 +00:00
compiler-rt [sanitizer] Track architecture and UUID of modules in LoadedModule 2016-12-02 21:27:14 +00:00
debuginfo-tests
libclc Fix build since r286752. 2016-11-14 16:06:33 +00:00
libcxx Turn off testsuite warnings by default with GCC 2016-12-03 03:29:45 +00:00
libcxxabi Check for SD-6 feature test macro when determining which tests should be 2016-12-02 22:14:59 +00:00
libunwind EHABI: mark some functions as exported 2016-11-17 23:53:35 +00:00
lld [ELF] - Implemented R_386_16 and R_386PC16 relocations 2016-12-03 07:30:30 +00:00
lldb Update test expectations after AddressSanitizer text descriptions changed in r288535. 2016-12-02 22:11:26 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm [X86] Fix VEX encoded VPMADDUBSW to not be marked commutable. 2016-12-03 05:35:44 +00:00
openmp fixed type in Windows-specific code 2016-12-01 16:08:52 +00:00
parallel-libs [Acxxel] Remove setActiveDeviceForThread 2016-10-28 00:54:02 +00:00
polly Allow to disable unsigned operations (zext, icmp ugt, ...) 2016-12-02 17:55:41 +00:00