1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/lib
Daniel Sanders ace879545c [mips][ias] Work around incorrect another microMIPS relocation evaluation exposed by r268900
As explained in r269196, 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.

This commit reverts a little more of the effect of r268900 by keeping the
symbol when the STO_MIPS_MICROMIPS flag is set for R_MIPS_GPREL32 relocations.
This fixes SingleSource/UnitTests/2003-08-11-VaListArg, and
SingleSource/UnitTests/2003-05-07-VarArgs for microMIPS.

I believe there are additional relocations that have the same issue (e.g.
R_MIPS_64, and R_MIPS_GPREL16) but for now I'm focusing on restoring our
internal buildbots back to the green state we had in r268899.

llvm-svn: 269294
2016-05-12 13:39:13 +00:00
..
Analysis [SCEVExpander] Fix a failed cast<> assertion 2016-05-11 17:41:41 +00:00
AsmParser Refactor duplicated code. NFC. 2016-05-12 12:37:52 +00:00
Bitcode [ThinLTO] Fix Windows debug failure in new iterator 2016-05-11 20:46:22 +00:00
CodeGen [SelectionDAG] Attempt to split BITREVERSE vector legalization into BSWAP and BITREVERSE stages 2016-05-12 13:09:49 +00:00
DebugInfo Fix build breakage in DebugInfoCodeview 2016-05-11 17:54:20 +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 Appease MSVC with curly braces 2016-05-12 01:38:08 +00:00
IRReader
LibDriver LibDriver: Silently do nothing when provided no inputs. 2016-04-13 19:36:04 +00:00
LineEditor Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes. 2016-03-28 17:40:08 +00:00
Linker Return a StringRef from getSection. 2016-05-11 18:21:59 +00:00
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 Return a StringRef from getSection. 2016-05-11 18:21:59 +00:00
ObjectYAML [lanai] Add Lanai backend. 2016-03-28 13:09:54 +00:00
Option Option parser: class for consuming a joined arg in addition to all remaining args 2016-04-15 00:23:30 +00:00
Passes [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
ProfileData [ProfileData] Use SoftInstrProfErrors to count soft errors, NFC 2016-05-11 19:42:19 +00:00
Support [Power9] Add support for -mcpu=pwr9 in the back end 2016-05-09 18:54:58 +00:00
TableGen [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
Target [mips][ias] Work around incorrect another microMIPS relocation evaluation exposed by r268900 2016-05-12 13:39:13 +00:00
Transforms [SCCP] Resolve shifts beyond the bitwidth to undef 2016-05-12 03:07:40 +00:00
CMakeLists.txt Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
LLVMBuild.txt Add LLVMBuild for ObjectYAML. 2016-03-01 21:29:33 +00:00