OSDN Git Service

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)
commit6eb3e87df04f8b035562d9865292c23f5b79f1a2
tree189363ed072d39585a62b2cd032333fead485a1e
parent69c0239a2673ea97e2adbcf0562dc2396b5df35c
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.

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