Added Mapping Symbols for ARM ELF
authorTim Northover <Tim.Northover@arm.com>
Fri, 7 Dec 2012 16:50:23 +0000 (16:50 +0000)
committerTim Northover <Tim.Northover@arm.com>
Fri, 7 Dec 2012 16:50:23 +0000 (16:50 +0000)
commit5cc3dc86bbbb320bd8fd7d67e27c69e8c0e13a01
tree75aa892a590d959400c1cf385b855508b6f075c5
parent7a93668614641a1b14aaa9973505a4db01f7b96a
Added Mapping Symbols for ARM ELF

Before this patch, when you objdump an LLVM-compiled file, objdump tried to
decode data-in-code sections as if they were code.  This patch adds the missing
Mapping Symbols, as defined by "ELF for the ARM Architecture" (ARM IHI 0044D).

Patch based on work by Greg Fitzgerald.

llvm-svn: 169609
19 files changed:
llvm/include/llvm/MC/MCELF.h [moved from llvm/lib/MC/MCELF.h with 100% similarity]
llvm/lib/MC/ELFObjectWriter.cpp
llvm/lib/MC/MCELF.cpp
llvm/lib/MC/MCELFStreamer.cpp
llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp [new file with mode: 0644]
llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.h [new file with mode: 0644]
llvm/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
llvm/lib/Target/ARM/MCTargetDesc/CMakeLists.txt
llvm/test/CodeGen/ARM/2010-11-30-reloc-movt.ll
llvm/test/MC/ARM/data-in-code.ll [new file with mode: 0644]
llvm/test/MC/ARM/elf-reloc-01.ll
llvm/test/MC/ARM/elf-reloc-02.ll
llvm/test/MC/ARM/elf-reloc-03.ll
llvm/test/MC/ARM/elf-reloc-condcall.s
llvm/test/MC/ARM/elf-thumbfunc-reloc.ll
llvm/test/MC/ARM/elf-thumbfunc.s
llvm/test/MC/ARM/mapping-within-section.s [new file with mode: 0644]
llvm/test/MC/ARM/multi-section-mapping.s [new file with mode: 0644]
llvm/test/MC/ARM/relocated-mapping.s [new file with mode: 0644]