llvm/lib
Daniel Sanders 2922c601c3 [mips][ias] Work around incorrect microMIPS relocation evaluation exposed by r268900
microMIPS has a special case that is not correctly implemented in LLVM. If we
have a symbol 'foo' which is equivalent to '.text+0x10'. The value of an
R_MICROMIPS_LO16 relocation using 'foo' is 'foo+0x11' and not 'foo+0x10'. The
in-place addend should therefore be 0x11.

Work around this by partially reverting the effect of r268900 by keeping the
symbol when the STO_MIPS_MICROMIPS flag is set. This fixes
SingleSource/Regression/C/PR640 for microMIPS.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269196 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-11 15:44:23 +00:00
..
Analysis NFC. Introduce Value::isPointerDereferenceable 2016-05-11 14:43:28 +00:00
AsmParser Refactor duplicated check for valid declaration linkage. NFC. 2016-05-11 13:51:39 +00:00
Bitcode Restore "[ThinLTO] Emit individual index files for distributed backends" 2016-05-10 13:48:23 +00:00
CodeGen Merge two unreachable cases. 2016-05-11 14:41:30 +00:00
DebugInfo Fix some Clang-tidy modernize-deprecated-headers and Include What You Use warnings; other minor fixes. 2016-05-09 23:11:38 +00:00
ExecutionEngine [Orc] Rename OrcArchitectureSupport to OrcABISupport and add Win32 ABI support. 2016-05-07 03:36:38 +00:00
Fuzzer [libFuzzer] add a driver file to use AFL on LLVMFuzzerTestOneInput 2016-05-10 23:46:50 +00:00
IR NFC. Introduce Value::isPointerDereferenceable 2016-05-11 14:43:28 +00:00
IRReader
LibDriver
LineEditor
Linker
LTO [ThinLTO] Add option to emit imports files for distributed backends 2016-05-10 15:54:09 +00:00
MC [mips] Correct the ordering of HI/LO pairs in the relocation table. 2016-05-06 13:49:25 +00:00
Object Fix bug where temporary file would be left behind every time an archive was updated. 2016-05-09 13:31:11 +00:00
ObjectYAML
Option
Passes [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
ProfileData Revert r269131 2016-05-10 23:26:04 +00:00
Support [Power9] Add support for -mcpu=pwr9 in the back end 2016-05-09 18:54:58 +00:00
TableGen
Target [mips][ias] Work around incorrect microMIPS relocation evaluation exposed by r268900 2016-05-11 15:44:23 +00:00
Transforms Delete mayBeOverridden. 2016-05-11 01:26:06 +00:00
CMakeLists.txt
LLVMBuild.txt