summaryrefslogtreecommitdiff
path: root/test/MC/ELF/cfi-remember.s
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-03-20 18:44:20 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-03-20 18:44:20 +0000
commit7c18fa87a4d4ed8b0cfe1ec65597c748c6d91ca9 (patch)
tree805831560fd2335ffc166f53d3852bacd28e9c67 /test/MC/ELF/cfi-remember.s
parenta201c4c2e604a519665ca55dc49e913628444ddb (diff)
downloadllvm-7c18fa87a4d4ed8b0cfe1ec65597c748c6d91ca9.tar.gz
llvm-7c18fa87a4d4ed8b0cfe1ec65597c748c6d91ca9.tar.bz2
llvm-7c18fa87a4d4ed8b0cfe1ec65597c748c6d91ca9.tar.xz
Write the section table and the section data in the same order that
gun as does. This makes it a lot easier to compare the output of both as the addresses are now a lot closer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127972 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ELF/cfi-remember.s')
-rw-r--r--test/MC/ELF/cfi-remember.s8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/MC/ELF/cfi-remember.s b/test/MC/ELF/cfi-remember.s
index b5b380368f..c282e6f0b8 100644
--- a/test/MC/ELF/cfi-remember.s
+++ b/test/MC/ELF/cfi-remember.s
@@ -23,14 +23,14 @@ f:
// CHECK-NEXT: ('_section_data', '14000000 00000000 017a5200 01781001 1b0c0708 90010000 14000000 1c000000 00000000 03000000 00410a41 0b000000')
// CHECK-NEXT: ),
-// CHECK: # Section 0x00000008
-// CHECK-NEXT: (('sh_name', 0x00000036) # '.rela.eh_frame'
+// CHECK: # Section 0x00000005
+// CHECK-NEXT: (('sh_name', 0x0000001c) # '.rela.eh_frame'
// CHECK-NEXT: ('sh_type', 0x00000004)
// CHECK-NEXT: ('sh_flags', 0x00000000)
// CHECK-NEXT: ('sh_addr', 0x00000000)
-// CHECK-NEXT: ('sh_offset', 0x00000158)
+// CHECK-NEXT: ('sh_offset', 0x00000398)
// CHECK-NEXT: ('sh_size', 0x00000018)
-// CHECK-NEXT: ('sh_link', 0x00000006)
+// CHECK-NEXT: ('sh_link', 0x00000007)
// CHECK-NEXT: ('sh_info', 0x00000004)
// CHECK-NEXT: ('sh_addralign', 0x00000008)
// CHECK-NEXT: ('sh_entsize', 0x00000018)