llvm-mirror/lib/MC
Jason W Kim 7342155b4c Teach ARM/MC/ELF about gcc compatible reloc output to get past odd linkage
failures with relocations.

The code committed is a first cut at compatibility for emitted relocations in
ELF .o.

Why do this? because existing ARM tools like emitting relocs symbols as
explicit relocations, not as section-offset relocs.

Result is that with these changes,
1) relocs are now substantially identical what to gcc outputs.
2) larger apps (including many spec2k tests) compile, cross-link, and pass

Added reminder fixme to tests for future conversion to .s form.

llvm-svn: 124996
2011-02-07 01:11:15 +00:00
..
MCDisassembler Fixed version of 121434 with no new memory leaks. 2010-12-10 07:39:47 +00:00
MCParser Do not sign extend floating-point values in the asm parser. 2011-02-03 23:17:47 +00:00
CMakeLists.txt Remove the MCObjectFormat class. 2010-12-18 05:37:28 +00:00
ELFObjectWriter.cpp Teach ARM/MC/ELF about gcc compatible reloc output to get past odd linkage 2011-02-07 01:11:15 +00:00
MachObjectWriter.cpp Teach ARM/MC/ELF to handle R_ARM_JUMP24 relocation type for conditional jumps. 2011-02-04 19:47:15 +00:00
Makefile start straightening out libedis's dependencies and make it fit 2010-07-20 18:25:19 +00:00
MCAsmInfo.cpp Rename NeedsSetToChangeDiffSize to HasAggressiveSymbolFolding which is a much 2010-12-22 21:51:29 +00:00
MCAsmInfoCOFF.cpp Revert part of my last commit. the mingw32 build bot doesn't seem to like it. 2010-08-23 05:25:23 +00:00
MCAsmInfoDarwin.cpp Rename NeedsSetToChangeDiffSize to HasAggressiveSymbolFolding which is a much 2010-12-22 21:51:29 +00:00
MCAsmStreamer.cpp Use common style for .cfi directives 2011-01-14 21:57:39 +00:00
MCAssembler.cpp Add support for the --noexecstack option. 2011-01-23 17:55:27 +00:00
MCCodeEmitter.cpp MC: Move target specific fixup info descriptors to TargetAsmBackend instead of 2010-12-16 03:20:06 +00:00
MCContext.cpp Remove duplicated code. 2011-01-23 04:28:49 +00:00
MCDisassembler.cpp
MCDwarf.cpp Rename TargetFrameInfo into TargetFrameLowering. Also, put couple of FIXMEs and fixes here and there. 2011-01-10 12:39:04 +00:00
MCELFObjectTargetWriter.cpp Move some data to the TargetWriter. 2010-12-18 03:27:34 +00:00
MCELFStreamer.cpp Add support for the --noexecstack option. 2011-01-23 17:55:27 +00:00
MCExpr.cpp Add support for lowercase variants. 2011-01-23 16:11:25 +00:00
MCInst.cpp MC: Change MCInst::dump_pretty to not include a trailing newline. 2010-05-26 15:18:13 +00:00
MCInstPrinter.cpp
MCLabel.cpp Added support in MC for Directional Local Labels. 2010-05-17 23:08:19 +00:00
MCLoggingStreamer.cpp Fixed version of 121434 with no new memory leaks. 2010-12-10 07:39:47 +00:00
MCMachObjectTargetWriter.cpp MC/Mach-O: On second thought, use a custom hook for enabling aggressive 2010-12-17 05:50:29 +00:00
MCMachOStreamer.cpp MC/Mach-O/Thumb: Set the thumb bit in the symbol table. 2010-12-29 14:14:06 +00:00
MCNullStreamer.cpp Fixed version of 121434 with no new memory leaks. 2010-12-10 07:39:47 +00:00
MCObjectStreamer.cpp Model :upper16: and :lower16: as ARM specific MCTargetExpr. This is a step 2011-01-13 07:58:56 +00:00
MCObjectWriter.cpp Merge IsFixupFullyResolved and IsSymbolRefDifferenceFullyResolved. We now 2010-12-24 21:22:02 +00:00
MCPureStreamer.cpp Sorry for such a large commit. The summary is that only MachO cares about the 2010-12-07 00:27:36 +00:00
MCSection.cpp switch MCSectionCOFF from a syntactic to semantic representation, 2010-05-07 17:17:41 +00:00
MCSectionCOFF.cpp make isVirtualSection a virtual method on MCSection. Chris' suggestion. 2010-11-17 20:03:54 +00:00
MCSectionELF.cpp Remove more duplicated code. 2011-01-23 04:43:11 +00:00
MCSectionMachO.cpp Add missing standard headers. Patch by Joerg Sonnenberger! 2010-12-19 20:43:38 +00:00
MCStreamer.cpp Remove second return. 2010-12-29 02:42:33 +00:00
MCSymbol.cpp Change MCExpr::EvaluateAsRelocatableImpl of variables to return the original 2010-11-15 16:33:49 +00:00
MCValue.cpp MCValue: Change to holding MCSymbolRefExprs instead of MCSymbols, we will need this for accessing to symbol modifiers. 2010-03-18 00:59:10 +00:00
TargetAsmBackend.cpp Cast away "comparison between signed and unsigned integer" warnings. 2010-12-28 13:52:52 +00:00
WinCOFFObjectWriter.cpp Merge IsFixupFullyResolved and IsSymbolRefDifferenceFullyResolved. We now 2010-12-24 21:22:02 +00:00
WinCOFFStreamer.cpp Sorry for such a large commit. The summary is that only MachO cares about the 2010-12-07 00:27:36 +00:00