llvm-6502/lib/MC
Jim Grosbach 739b5576ad Don't truncate MachO addresses.
Assigned symbol addresses get truncated to 32-bits, even on 64-bit platforms.
That's obviously bogus.
For example,

 .globl _foo
 .equ _foo, 0x987654321ULL


rdar://9922863



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137158 91177308-0d34-0410-b5e6-96231b3b80d8
2011-08-09 22:12:37 +00:00
..
MCDisassembler I mis-interpreted the MCDisassembler's intended dependencies. Now to fix 2011-07-31 22:00:40 +00:00
MCParser allow \r's in .s files. 2011-08-04 19:31:26 +00:00
CMakeLists.txt Pacify virtual dtor warnings and cmake buildbots. 2011-08-08 19:09:02 +00:00
ELFObjectWriter.cpp Introduce adjustFixupOffset that adjusts the fixup offset of a relocation. 2011-08-04 19:08:19 +00:00
ELFObjectWriter.h Introduce adjustFixupOffset that adjusts the fixup offset of a relocation. 2011-08-04 19:08:19 +00:00
MachObjectWriter.cpp Don't truncate MachO addresses. 2011-08-09 22:12:37 +00:00
Makefile
MCAsmBackend.cpp Rename TargetAsmBackend to MCAsmBackend; rename createAsmBackend to createMCAsmBackend. 2011-07-25 23:24:55 +00:00
MCAsmInfo.cpp Support .code32 and .code64 in X86 assembler. 2011-07-27 00:38:12 +00:00
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp Rename DwarfRequiresRelocationForStmtList to 2011-05-10 20:35:05 +00:00
MCAsmStreamer.cpp Support .code32 and .code64 in X86 assembler. 2011-07-27 00:38:12 +00:00
MCAssembler.cpp Rename TargetAsmBackend to MCAsmBackend; rename createAsmBackend to createMCAsmBackend. 2011-07-25 23:24:55 +00:00
MCCodeEmitter.cpp
MCCodeGenInfo.cpp - Move CodeModel from a TargetMachine global option to MCCodeGenInfo. 2011-07-20 07:51:56 +00:00
MCContext.cpp Goodbye TargetAsmInfo. This eliminate last bit of CodeGen and Target in llvm-mc. 2011-07-20 19:50:42 +00:00
MCDisassembler.cpp No newline at end of files. 2009-10-05 18:43:19 +00:00
MCDwarf.cpp Emit the __compact_unwind section first. If there are any frames which weren't 2011-07-22 21:18:59 +00:00
MCELF.cpp Rename TargetAsmBackend to MCAsmBackend; rename createAsmBackend to createMCAsmBackend. 2011-07-25 23:24:55 +00:00
MCELF.h
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp Support .code32 and .code64 in X86 assembler. 2011-07-27 00:38:12 +00:00
MCELFStreamer.h Rename TargetAsmBackend to MCAsmBackend; rename createAsmBackend to createMCAsmBackend. 2011-07-25 23:24:55 +00:00
MCExpr.cpp Rename TargetAsmBackend to MCAsmBackend; rename createAsmBackend to createMCAsmBackend. 2011-07-25 23:24:55 +00:00
MCInst.cpp
MCInstPrinter.cpp Don't hardcode the %reg format in the streamer. 2011-06-02 02:34:55 +00:00
MCInstrAnalysis.cpp Add MCInstrAnalysis class. This allows the targets to specify own versions of MCInstrDescs functions. 2011-08-08 18:56:44 +00:00
MCLabel.cpp
MCLoggingStreamer.cpp Unfortunately several files in MC are badly violating layering rule by using 2011-07-14 05:43:07 +00:00
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp Support .code32 and .code64 in X86 assembler. 2011-07-27 00:38:12 +00:00
MCNullStreamer.cpp Unfortunately several files in MC are badly violating layering rule by using 2011-07-14 05:43:07 +00:00
MCObjectFileInfo.cpp X86 is the only target that uses coff format. This should fixes test failures running on Windows, Cygwin, or MingW hosts. 2011-07-20 23:53:54 +00:00
MCObjectStreamer.cpp Rename TargetAsmBackend to MCAsmBackend; rename createAsmBackend to createMCAsmBackend. 2011-07-25 23:24:55 +00:00
MCObjectWriter.cpp Gas is very inconsistent about when a relaxation/relocation is needed. Do 2011-02-16 03:25:55 +00:00
MCPureStreamer.cpp Rename TargetAsmBackend to MCAsmBackend; rename createAsmBackend to createMCAsmBackend. 2011-07-25 23:24:55 +00:00
MCSection.cpp
MCSectionCOFF.cpp
MCSectionELF.cpp
MCSectionMachO.cpp
MCStreamer.cpp Assume .cfi_startproc is the first thing in a function. If the function is 2011-08-02 20:24:22 +00:00
MCSubtargetInfo.cpp - Eliminate MCCodeEmitter's dependency on TargetMachine. It now uses MCInstrInfo 2011-07-11 03:57:24 +00:00
MCSymbol.cpp MC: Change variable symbols to be recognized as defined, by assigning their sections based on FindAssociatedSection(). 2011-04-29 18:20:17 +00:00
MCTargetAsmLexer.cpp Rename TargetAsmParser to MCTargetAsmParser and TargetAsmLexer to MCTargetAsmLexer; rename createAsmLexer to createMCAsmLexer and createAsmParser to createMCAsmParser. 2011-07-26 00:24:13 +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
MCWin64EH.cpp Add MCObjectFileInfo and sink the MCSections initialization code from 2011-07-20 05:58:47 +00:00
SubtargetFeature.cpp Change createAsmParser to take a MCSubtargetInfo instead of triple, 2011-07-09 05:47:46 +00:00
WinCOFFObjectWriter.cpp Refactor X86 target to separate MC code from Target code. 2011-07-25 18:43:53 +00:00
WinCOFFStreamer.cpp Rename TargetAsmBackend to MCAsmBackend; rename createAsmBackend to createMCAsmBackend. 2011-07-25 23:24:55 +00:00