diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-03-20 18:44:20 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-03-20 18:44:20 +0000 |
commit | 7c18fa87a4d4ed8b0cfe1ec65597c748c6d91ca9 (patch) | |
tree | 805831560fd2335ffc166f53d3852bacd28e9c67 /test/MC/ELF/relocation.s | |
parent | a201c4c2e604a519665ca55dc49e913628444ddb (diff) | |
download | external_llvm-7c18fa87a4d4ed8b0cfe1ec65597c748c6d91ca9.zip external_llvm-7c18fa87a4d4ed8b0cfe1ec65597c748c6d91ca9.tar.gz external_llvm-7c18fa87a4d4ed8b0cfe1ec65597c748c6d91ca9.tar.bz2 |
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/relocation.s')
-rw-r--r-- | test/MC/ELF/relocation.s | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/MC/ELF/relocation.s b/test/MC/ELF/relocation.s index dabe721..640ed81 100644 --- a/test/MC/ELF/relocation.s +++ b/test/MC/ELF/relocation.s @@ -22,13 +22,6 @@ bar: // CHECK: # Section 0x00000001 // CHECK: (('sh_name', 0x00000001) # '.text' -// CHECK: # Symbol 0x00000002 -// CHECK: (('st_name', 0x00000000) # '' -// CHECK: ('st_bind', 0x00000000) -// CHECK: ('st_type', 0x00000003) -// CHECK: ('st_other', 0x00000000) -// CHECK: ('st_shndx', 0x00000001) - // CHECK: # Relocation 0x00000000 // CHECK-NEXT: (('r_offset', 0x00000001) // CHECK-NEXT: ('r_sym', 0x00000002) @@ -112,3 +105,10 @@ bar: // CHECK-NEXT: ('r_sym', 0x00000006) // CHECK-NEXT: ('r_type', 0x00000002) // CHECK-NEXT: ('r_addend', 0x0000005c) + +// CHECK: # Symbol 0x00000002 +// CHECK: (('st_name', 0x00000000) # '' +// CHECK: ('st_bind', 0x00000000) +// CHECK: ('st_type', 0x00000003) +// CHECK: ('st_other', 0x00000000) +// CHECK: ('st_shndx', 0x00000001) |