llvm-6502/lib/MC
David Majnemer e4d89ec8de WinCOFF: Emit common symbols as specified in the COFF spec
Summary:
Local common symbols were properly inserted into the .bss section.
However, putting external common symbols in the .bss section would give
them a strong definition.

Instead, encode them as undefined, external symbols who's symbol value
is equivalent to their size.

Reviewers: Bigcheese, rafael, rnk

CC: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205811 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-08 22:33:40 +00:00
..
MCDisassembler Remove forward declaration for Target class - Target is already defined here. 2014-03-27 01:05:49 +00:00
MCParser DebugInfo: Emit relocation to debug_line section when emitting asm for asm 2014-04-01 07:35:52 +00:00
CMakeLists.txt MachO: Add linker-optimisation hint framework to MC. 2014-03-29 07:34:53 +00:00
ELFObjectWriter.cpp Work around gold bug http://sourceware.org/PR16794. 2014-04-02 12:15:20 +00:00
LLVMBuild.txt
MachObjectWriter.cpp MachO: Add linker-optimisation hint framework to MC. 2014-03-29 07:34:53 +00:00
Makefile
MCAsmBackend.cpp Simplify a really complicated check for Arch == X86_64. 2014-03-11 21:22:57 +00:00
MCAsmInfo.cpp MachO: allow each section to have a linker-private symbol 2014-03-29 07:05:06 +00:00
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp MachO: actually set linker-private prefix at MC level. 2014-03-29 07:33:24 +00:00
MCAsmInfoELF.cpp
MCAsmStreamer.cpp DebugInfo: Avoid creating unnecessary/empty line tables and remove the special case of '0' in DwarfCompileUnit::initStmtList by just always using a label difference 2014-04-01 08:07:52 +00:00
MCAssembler.cpp Simplify compression API by compressing into a SmallVector rather than a MemoryBuffer 2014-04-05 21:53:04 +00:00
MCAtom.cpp
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp MachO: allow each section to have a linker-private symbol 2014-03-29 07:05:06 +00:00
MCDisassembler.cpp [MC] Remove an unused (and broken) variant of the setupForSymbolicDisassembly 2014-03-30 04:27:33 +00:00
MCDwarf.cpp DebugInfo: Avoid creating unnecessary/empty line tables and remove the special case of '0' in DwarfCompileUnit::initStmtList by just always using a label difference 2014-04-01 08:07:52 +00:00
MCELF.cpp
MCELFObjectTargetWriter.cpp Completely rewrite ELFObjectWriter::RecordRelocation. 2014-03-29 06:26:49 +00:00
MCELFStreamer.cpp Mark alias symbols as microMIPS if necessary. Differential Revision: http://llvm-reviews.chandlerc.com/D3080 2014-03-20 09:44:49 +00:00
MCExpr.cpp ARM64: initial backend import 2014-03-29 10:18:08 +00:00
MCExternalSymbolizer.cpp Update MCSymbolizer and its subclasses' constructors to reflect the fact that 2014-03-27 02:39:01 +00:00
MCFixup.cpp Add llvm_unreachable after fully-covered switches to appease GCC 2014-03-20 07:30:40 +00:00
MCFunction.cpp
MCInst.cpp
MCInstPrinter.cpp
MCInstrAnalysis.cpp
MCLabel.cpp
MCLinkerOptimizationHint.cpp [ARM64][CollectLOH] Add some comments to explain how the LOHs 2014-04-02 01:02:28 +00:00
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp MachO: Add linker-optimisation hint framework to MC. 2014-03-29 07:34:53 +00:00
MCModule.cpp
MCModuleYAML.cpp Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
MCNullStreamer.cpp DebugInfo: Improve reuse of file table entries in asm debug info 2014-03-17 01:52:11 +00:00
MCObjectDisassembler.cpp [C++11] Introduce ObjectFile::symbols() to use range-based loops. 2014-03-17 07:28:19 +00:00
MCObjectFileInfo.cpp WinCOFF: Emit common symbols as specified in the COFF spec 2014-04-08 22:33:40 +00:00
MCObjectStreamer.cpp DebugInfo: Emit relocation to debug_line section when emitting asm for asm 2014-04-01 07:35:52 +00:00
MCObjectSymbolizer.cpp Implement getRelocationAddress for MachO and ET_REL elf files. 2014-04-03 23:54:35 +00:00
MCObjectWriter.cpp
MCRegisterInfo.cpp
MCRelocationInfo.cpp
MCSection.cpp
MCSectionCOFF.cpp
MCSectionELF.cpp
MCSectionMachO.cpp MC: Appease the buildbots 2014-03-10 01:04:18 +00:00
MCStreamer.cpp DebugInfo: Avoid creating unnecessary/empty line tables and remove the special case of '0' in DwarfCompileUnit::initStmtList by just always using a label difference 2014-04-01 08:07:52 +00:00
MCSubtargetInfo.cpp
MCSymbol.cpp Revert "Add back r203962, r204028 and r204059." 2014-03-19 00:13:43 +00:00
MCSymbolizer.cpp Move MCSymbolizer's constructor into header. It's trivial - there's no need for 2014-03-27 02:42:52 +00:00
MCValue.cpp MC: add a RefKind field to MCValue 2014-03-29 08:22:20 +00:00
MCWin64EH.cpp
SubtargetFeature.cpp
WinCOFFObjectWriter.cpp WinCOFF: Emit common symbols as specified in the COFF spec 2014-04-08 22:33:40 +00:00
WinCOFFStreamer.cpp WinCOFF: Emit common symbols as specified in the COFF spec 2014-04-08 22:33:40 +00:00