diff options
Diffstat (limited to 'test/MC/ELF/relocation.s')
-rw-r--r-- | test/MC/ELF/relocation.s | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/test/MC/ELF/relocation.s b/test/MC/ELF/relocation.s index 45c863e..99d2bba 100644 --- a/test/MC/ELF/relocation.s +++ b/test/MC/ELF/relocation.s @@ -10,48 +10,48 @@ bar: movq bar, %rdx // R_X86_64_32S .long bar // R_X86_64_32 -// CHECK: # Section 1 -// CHECK: (('sh_name', 1) # '.text' - -// CHECK: # Symbol 2 -// CHECK: (('st_name', 0) # '' -// CHECK: ('st_bind', 0) -// CHECK ('st_type', 3) -// CHECK: ('st_other', 0) -// CHECK: ('st_shndx', 1) - -// CHECK: # Relocation 0 -// CHECK-NEXT: (('r_offset', 1) -// CHECK-NEXT: ('r_sym', 2) -// CHECK-NEXT: ('r_type', 10) +// 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) +// CHECK-NEXT: ('r_type', 0x0000000a) // CHECK-NEXT: ('r_addend', -// CHECK: # Relocation 1 -// CHECK-NEXT: (('r_offset', 8) -// CHECK-NEXT: ('r_sym', 2) -// CHECK-NEXT: ('r_type', 11) +// CHECK: # Relocation 0x00000001 +// CHECK-NEXT: (('r_offset', 0x00000008) +// CHECK-NEXT: ('r_sym', 0x00000002) +// CHECK-NEXT: ('r_type', 0x0000000b) // CHECK-NEXT: ('r_addend', -// CHECK: # Relocation 2 -// CHECK-NEXT: (('r_offset', 19) -// CHECK-NEXT: ('r_sym', 2) -// CHECK-NEXT: ('r_type', 11) +// CHECK: # Relocation 0x00000002 +// CHECK-NEXT: (('r_offset', 0x00000013) +// CHECK-NEXT: ('r_sym', 0x00000002) +// CHECK-NEXT: ('r_type', 0x0000000b) // CHECK-NEXT: ('r_addend', -// CHECK: # Relocation 3 -// CHECK-NEXT: (('r_offset', 26) -// CHECK-NEXT: ('r_sym', 2) -// CHECK-NEXT: ('r_type', 11) +// CHECK: # Relocation 0x00000003 +// CHECK-NEXT: (('r_offset', 0x0000001a) +// CHECK-NEXT: ('r_sym', 0x00000002) +// CHECK-NEXT: ('r_type', 0x0000000b) // CHECK-NEXT: ('r_addend', -// CHECK: # Relocation 4 -// CHECK-NEXT: (('r_offset', 34) -// CHECK-NEXT: ('r_sym', 2) -// CHECK-NEXT: ('r_type', 11) +// CHECK: # Relocation 0x00000004 +// CHECK-NEXT: (('r_offset', 0x00000022) +// CHECK-NEXT: ('r_sym', 0x00000002) +// CHECK-NEXT: ('r_type', 0x0000000b) // CHECK-NEXT: ('r_addend', -// CHECK: # Relocation 5 -// CHECK-NEXT: (('r_offset', 38) -// CHECK-NEXT: ('r_sym', 2) -// CHECK-NEXT: ('r_type', 10) +// CHECK: # Relocation 0x00000005 +// CHECK-NEXT: (('r_offset', 0x00000026) +// CHECK-NEXT: ('r_sym', 0x00000002) +// CHECK-NEXT: ('r_type', 0x0000000a) // CHECK-NEXT: ('r_addend', |