llvm-6502/lib/MC
Rafael Espindola 5d4918dbd1 There are two reasons why we might want to use
foo = a - b
.long foo
instead of just
.long a - b

First, on darwin9 64 bits the assembler produces the wrong result. Second,
if "a" is the end of the section all darwin assemblers (9, 10 and mc) will not
consider a - b to be a constant but will if the dummy foo is created.

Split how we handle these cases. The first one is something MC should take care
of. The second one has to be handled by the caller.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120889 91177308-0d34-0410-b5e6-96231b3b80d8
2010-12-04 03:21:47 +00:00
..
MCDisassembler Merge System into Support. 2010-11-29 18:16:10 +00:00
MCParser Factor some code to parseSectionFlags and fix the default type of a section. 2010-11-25 15:32:56 +00:00
CMakeLists.txt MC-JIT: Stub out "pure" streamer. 2010-11-17 16:06:47 +00:00
ELFObjectWriter.cpp The sections that the ELF object writer has to create are very simple and 2010-12-02 03:09:06 +00:00
MachObjectWriter.cpp Add support for binary encoding of ARM 'adr' instructions referencing constant 2010-12-02 00:28:45 +00:00
Makefile
MCAsmInfo.cpp There are two reasons why we might want to use 2010-12-04 03:21:47 +00:00
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp Next step: Only pad debug_line when the target is darwin. Add a FIXME to avoid 2010-12-04 00:31:13 +00:00
MCAsmStreamer.cpp There are two reasons why we might want to use 2010-12-04 03:21:47 +00:00
MCAssembler.cpp The sections that the ELF object writer has to create are very simple and 2010-12-02 03:09:06 +00:00
MCCodeEmitter.cpp Define generic 1, 2 and 4 byte pc relative relocations. They are common 2010-11-28 14:17:56 +00:00
MCContext.cpp Rename temporary symbols if they conflict with artificial symbols created 2010-12-01 20:46:11 +00:00
MCDisassembler.cpp
MCDwarf.cpp There are two reasons why we might want to use 2010-12-04 03:21:47 +00:00
MCELFStreamer.cpp Try to resolve symbol differences early, and if successful create a plain 2010-12-03 00:55:40 +00:00
MCExpr.cpp Try to resolve symbol differences early, and if successful create a plain 2010-12-03 00:55:40 +00:00
MCInst.cpp
MCInstPrinter.cpp
MCLabel.cpp
MCLoggingStreamer.cpp There are two reasons why we might want to use 2010-12-04 03:21:47 +00:00
MCMachOStreamer.cpp Try to resolve symbol differences early, and if successful create a plain 2010-12-03 00:55:40 +00:00
MCNullStreamer.cpp There are two reasons why we might want to use 2010-12-04 03:21:47 +00:00
MCObjectFormat.cpp
MCObjectStreamer.cpp There are two reasons why we might want to use 2010-12-04 03:21:47 +00:00
MCObjectWriter.cpp
MCPureStreamer.cpp Forgot the MCPureStreamer::EmitValue in the previous commit. 2010-11-28 23:13:47 +00:00
MCSection.cpp
MCSectionCOFF.cpp make isVirtualSection a virtual method on MCSection. Chris' suggestion. 2010-11-17 20:03:54 +00:00
MCSectionELF.cpp make isVirtualSection a virtual method on MCSection. Chris' suggestion. 2010-11-17 20:03:54 +00:00
MCSectionMachO.cpp make isVirtualSection a virtual method on MCSection. Chris' suggestion. 2010-11-17 20:03:54 +00:00
MCStreamer.cpp Make EmitIntValue more efficient and more like what we do for leb128. The 2010-12-03 02:54:21 +00:00
MCSymbol.cpp Change MCExpr::EvaluateAsRelocatableImpl of variables to return the original 2010-11-15 16:33:49 +00:00
MCValue.cpp
TargetAsmBackend.cpp Remove the unused TheTarget member. 2010-11-26 04:24:21 +00:00
WinCOFFObjectWriter.cpp Merge System into Support. 2010-11-29 18:16:10 +00:00
WinCOFFStreamer.cpp Move EmitValueToOffset to the ObjectStreamer. 2010-12-02 05:59:38 +00:00