llvm-project/llvm/lib/Target/Mips/MCTargetDesc
Daniel Sanders 683ed961e1 [mips] Work around inconsistency in llvm-mc's placement of fixup markers
Summary:
Add a second fixup table to MipsAsmBackend::getFixupKindInfo() to correctly
position llvm-mc's fixup placeholders for big-endian.

See PR19836 for full details of the issue. To summarize, the fixup placeholders
do not account for endianness properly and the implementations of
getFixupKindInfo() for each target are measuring MCFixupKindInfo.TargetOffset
from different ends of the instruction encoding to compensate.

Reviewers: jkolek, zoran.jovanovic, vmedic

Reviewed By: vmedic

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

llvm-svn: 209514
2014-05-23 13:35:24 +00:00
..
CMakeLists.txt [mips] Implement custom MCELFStreamer. 2014-03-27 11:39:03 +00:00
LLVMBuild.txt
Makefile Test commit 2012-06-09 00:27:55 +00:00
MipsAsmBackend.cpp [mips] Work around inconsistency in llvm-mc's placement of fixup markers 2014-05-23 13:35:24 +00:00
MipsAsmBackend.h [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. Mips edition 2014-04-29 07:58:02 +00:00
MipsBaseInfo.h Completely rewrite ELFObjectWriter::RecordRelocation. 2014-03-29 06:26:49 +00:00
MipsELFObjectWriter.cpp Don't relocate with sections if there might be a paired relocation. 2014-03-31 19:00:23 +00:00
MipsELFStreamer.cpp [mips] Implement custom MCELFStreamer. 2014-03-27 11:39:03 +00:00
MipsELFStreamer.h [mips] Remove unused private field. 2014-03-27 12:02:48 +00:00
MipsFixupKinds.h Support for microMIPS TLS relocations. 2013-12-19 16:02:32 +00:00
MipsMCAsmInfo.cpp Add a MCAsmInfoELF class and factor some code into it. 2013-10-16 01:34:32 +00:00
MipsMCAsmInfo.h [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. Mips edition 2014-04-29 07:58:02 +00:00
MipsMCCodeEmitter.cpp [mips][mips64r6] Add Compact indexed jumps. 2014-05-16 13:19:46 +00:00
MipsMCCodeEmitter.h [mips][mips64r6] Add Compact indexed jumps. 2014-05-16 13:19:46 +00:00
MipsMCExpr.cpp [Modules] Fix potential ODR violations by sinking the DEBUG_TYPE 2014-04-22 02:41:26 +00:00
MipsMCExpr.h [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. Mips edition 2014-04-29 07:58:02 +00:00
MipsMCNaCl.h [C++] Use 'nullptr'. 2014-04-28 04:05:08 +00:00
MipsMCTargetDesc.cpp Remove the UseCFI option from createAsmStreamer. 2014-05-07 13:00:43 +00:00
MipsMCTargetDesc.h [mips] 80-column. 2014-03-19 16:29:06 +00:00
MipsNaClELFStreamer.cpp [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. Mips edition 2014-04-29 07:58:02 +00:00
MipsTargetStreamer.cpp [mips] Move expansion of .cpsetup to target streamer. 2014-05-01 10:24:46 +00:00