diff options
author | Tim Northover <Tim.Northover@arm.com> | 2012-12-07 16:50:23 +0000 |
---|---|---|
committer | Tim Northover <Tim.Northover@arm.com> | 2012-12-07 16:50:23 +0000 |
commit | 5cc3dc86bbbb320bd8fd7d67e27c69e8c0e13a01 (patch) | |
tree | 75aa892a590d959400c1cf385b855508b6f075c5 /llvm/test/CodeGen/ARM | |
parent | 7a93668614641a1b14aaa9973505a4db01f7b96a (diff) | |
download | bcm5719-llvm-5cc3dc86bbbb320bd8fd7d67e27c69e8c0e13a01.tar.gz bcm5719-llvm-5cc3dc86bbbb320bd8fd7d67e27c69e8c0e13a01.zip |
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
Diffstat (limited to 'llvm/test/CodeGen/ARM')
-rw-r--r-- | llvm/test/CodeGen/ARM/2010-11-30-reloc-movt.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/2010-11-30-reloc-movt.ll b/llvm/test/CodeGen/ARM/2010-11-30-reloc-movt.ll index 8b164c5d91f..94a05412f5d 100644 --- a/llvm/test/CodeGen/ARM/2010-11-30-reloc-movt.ll +++ b/llvm/test/CodeGen/ARM/2010-11-30-reloc-movt.ll @@ -23,7 +23,7 @@ entry: ; OBJ: Relocation 0 ; OBJ-NEXT: 'r_offset', 0x00000004 -; OBJ-NEXT: 'r_sym', 0x000007 +; OBJ-NEXT: 'r_sym', 0x000009 ; OBJ-NEXT: 'r_type', 0x2b ; OBJ: Relocation 1 @@ -33,7 +33,7 @@ entry: ; OBJ: # Relocation 2 ; OBJ-NEXT: 'r_offset', 0x0000000c -; OBJ-NEXT: 'r_sym', 0x000008 +; OBJ-NEXT: 'r_sym', 0x00000a ; OBJ-NEXT: 'r_type', 0x1c } |