llvm-6502/include/llvm/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
..
MCParser Merge System into Support. 2010-11-29 18:16:10 +00:00
EDInstInfo.h Merge System into Support. 2010-11-29 18:16:10 +00:00
MCAsmInfo.h There are two reasons why we might want to use 2010-12-04 03:21:47 +00:00
MCAsmInfoCOFF.h revert 93934, removing the MCAsmInfo endianness bit. I can't 2010-01-20 06:34:14 +00:00
MCAsmInfoDarwin.h revert 93934, removing the MCAsmInfo endianness bit. I can't 2010-01-20 06:34:14 +00:00
MCAsmLayout.h Invalidate the layout on any relaxation, not just Instructions. Bug found by David Meyer. 2010-11-23 08:08:33 +00:00
MCAssembler.h The sections that the ELF object writer has to create are very simple and 2010-12-02 03:09:06 +00:00
MCCodeEmitter.h Comment grammar tweakage. 2010-10-12 18:11:41 +00:00
MCContext.h It may not be an option to skip .debug_line if there are file reference in already emitted debug info. So, for now, emit dummy line table entry to make older linker and assemblers happy. This is not a new behavior, original AsmPrinter emitted similar line table entries. 2010-12-03 00:10:48 +00:00
MCDirectives.h Added support for the Mach-O .symbol_resolver directive. rdar://8673046 2010-11-19 18:39:33 +00:00
MCDisassembler.h Merge System into Support. 2010-11-29 18:16:10 +00:00
MCDwarf.h Next step: Only pad debug_line when the target is darwin. Add a FIXME to avoid 2010-12-04 00:31:13 +00:00
MCELFSymbolFlags.h Implement .weakref. 2010-11-01 14:28:48 +00:00
MCExpr.h Try to resolve symbol differences early, and if successful create a plain 2010-12-03 00:55:40 +00:00
MCFixup.h Merge System into Support. 2010-11-29 18:16:10 +00:00
MCInst.h Merge System into Support. 2010-11-29 18:16:10 +00:00
MCInstPrinter.h trailing whitespace 2010-09-17 21:23:56 +00:00
MCLabel.h Added support in MC for Directional Local Labels. 2010-05-17 23:08:19 +00:00
MCMachOSymbolFlags.h Added support for the Mach-O .symbol_resolver directive. rdar://8673046 2010-11-19 18:39:33 +00:00
MCObjectFormat.h Move the definition of this to the source file to anchor the vtable. 2010-10-19 00:37:30 +00:00
MCObjectStreamer.h There are two reasons why we might want to use 2010-12-04 03:21:47 +00:00
MCObjectWriter.h Merge System into Support. 2010-11-29 18:16:10 +00:00
MCSection.h make isVirtualSection a virtual method on MCSection. Chris' suggestion. 2010-11-17 20:03:54 +00:00
MCSectionCOFF.h make isVirtualSection a virtual method on MCSection. Chris' suggestion. 2010-11-17 20:03:54 +00:00
MCSectionELF.h make isVirtualSection a virtual method on MCSection. Chris' suggestion. 2010-11-17 20:03:54 +00:00
MCSectionMachO.h make isVirtualSection a virtual method on MCSection. Chris' suggestion. 2010-11-17 20:03:54 +00:00
MCStreamer.h There are two reasons why we might want to use 2010-12-04 03:21:47 +00:00
MCSymbol.h Change MCExpr::EvaluateAsRelocatableImpl of variables to return the original 2010-11-15 16:33:49 +00:00
MCValue.h Merge System into Support. 2010-11-29 18:16:10 +00:00
SectionKind.h Trailing whitespace. 2010-07-01 01:00:22 +00:00