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/got.s | |
parent | a201c4c2e604a519665ca55dc49e913628444ddb (diff) |
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/got.s')
-rw-r--r-- | test/MC/ELF/got.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/MC/ELF/got.s b/test/MC/ELF/got.s index 798150e0f5..a3abef536a 100644 --- a/test/MC/ELF/got.s +++ b/test/MC/ELF/got.s @@ -6,9 +6,6 @@ movl foo@GOT, %eax movl foo@GOTPCREL(%rip), %eax -// CHECK: (('st_name', 0x00000005) # '_GLOBAL_OFFSET_TABLE_' -// CHECK-NEXT: ('st_bind', 0x00000001) - // CHECK: ('_relocations', [ // CHECK-NEXT: # Relocation 0x00000000 // CHECK-NEXT: (('r_offset', @@ -23,3 +20,6 @@ // CHECK-NEXT: ('r_addend', // CHECK-NEXT: ), // CHECK-NEXT: ]) + +// CHECK: (('st_name', 0x00000005) # '_GLOBAL_OFFSET_TABLE_' +// CHECK-NEXT: ('st_bind', 0x00000001) |