aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/elf-thumbfunc-reloc.ll
diff options
context:
space:
mode:
authorTim Northover <Tim.Northover@arm.com>2012-12-07 16:50:23 +0000
committerTim Northover <Tim.Northover@arm.com>2012-12-07 16:50:23 +0000
commit6eb3e87df04f8b035562d9865292c23f5b79f1a2 (patch)
tree189363ed072d39585a62b2cd032333fead485a1e /test/MC/ARM/elf-thumbfunc-reloc.ll
parent69c0239a2673ea97e2adbcf0562dc2396b5df35c (diff)
downloadexternal_llvm-6eb3e87df04f8b035562d9865292c23f5b79f1a2.zip
external_llvm-6eb3e87df04f8b035562d9865292c23f5b79f1a2.tar.gz
external_llvm-6eb3e87df04f8b035562d9865292c23f5b79f1a2.tar.bz2
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
Diffstat (limited to 'test/MC/ARM/elf-thumbfunc-reloc.ll')
-rw-r--r--test/MC/ARM/elf-thumbfunc-reloc.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/MC/ARM/elf-thumbfunc-reloc.ll b/test/MC/ARM/elf-thumbfunc-reloc.ll
index ecac11d..b2f253d 100644
--- a/test/MC/ARM/elf-thumbfunc-reloc.ll
+++ b/test/MC/ARM/elf-thumbfunc-reloc.ll
@@ -28,10 +28,10 @@ entry:
; 00000008 0000070a R_ARM_THM_CALL 00000001 foo
; CHECK: Relocation 0
; CHECK-NEXT: 'r_offset', 0x00000008
-; CHECK-NEXT: 'r_sym', 0x000007
+; CHECK-NEXT: 'r_sym', 0x000009
; CHECK-NEXT: 'r_type', 0x0a
; make sure foo is thumb function: bit 0 = 1
-; CHECK: Symbol 7
+; CHECK: Symbol 9
; CHECK-NEXT: 'foo'
; CHECK-NEXT: 'st_value', 0x00000001