Skip to content

Commit

Permalink
Print all the bits in the addend.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136867 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
espindola committed Aug 4, 2011
1 parent f42e9b2 commit d7c9b63
Show file tree
Hide file tree
Showing 26 changed files with 123 additions and 129 deletions.
4 changes: 2 additions & 2 deletions test/MC/ELF/alias-reloc.s
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ foo2:
// CHECK-NEXT: (('r_offset', 0x00000001)
// CHECK-NEXT: ('r_sym', 0x00000001)
// CHECK-NEXT: ('r_type', 0x00000004)
// CHECK-NEXT: ('r_addend', 0xfffffffc)
// CHECK-NEXT: ('r_addend', 0xfffffffffffffffc)
// CHECK-NEXT: ),

// CHECK: # Relocation 0x00000001
// CHECK-NEXT: (('r_offset', 0x00000005)
// CHECK-NEXT: ('r_sym', 0x00000006)
// CHECK-NEXT: ('r_type', 0x00000001)
// CHECK-NEXT: ('r_addend', 0x00000000)
// CHECK-NEXT: ('r_addend', 0x0000000000000000)
// CHECK-NEXT: ),

// CHECK: # Symbol 0x00000001
Expand Down
8 changes: 4 additions & 4 deletions test/MC/ELF/basic-elf-64.s
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,22 @@ main: # @main
// CHECK: # Relocation 0x00000000
// CHECK: (('r_offset', 0x00000005)
// CHECK: ('r_type', 0x0000000a)
// CHECK: ('r_addend', 0x00000000)
// CHECK: ('r_addend', 0x0000000000000000)
// CHECK: ),
// CHECK: # Relocation 0x00000001
// CHECK: (('r_offset', 0x0000000a)
// CHECK: ('r_type', 0x00000002)
// CHECK: ('r_addend', 0xfffffffc)
// CHECK: ('r_addend', 0xfffffffffffffffc)
// CHECK: ),
// CHECK: # Relocation 0x00000002
// CHECK: (('r_offset', 0x0000000f)
// CHECK: ('r_type', 0x0000000a)
// CHECK: ('r_addend', 0x00000006)
// CHECK: ('r_addend', 0x0000000000000006)
// CHECK: ),
// CHECK: # Relocation 0x00000003
// CHECK: (('r_offset', 0x00000014)
// CHECK: ('r_type', 0x00000002)
// CHECK: ('r_addend', 0xfffffffc)
// CHECK: ('r_addend', 0xfffffffffffffffc)
// CHECK: ),
// CHECK: ])

Expand Down
2 changes: 1 addition & 1 deletion test/MC/ELF/cfi-adjust-cfa-offset.s
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ f:
// CHECK-NEXT: (('r_offset', 0x00000020)
// CHECK-NEXT: ('r_sym', 0x00000002)
// CHECK-NEXT: ('r_type', 0x00000002)
// CHECK-NEXT: ('r_addend', 0x00000000)
// CHECK-NEXT: ('r_addend', 0x0000000000000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ])
// CHECK-NEXT: ),
2 changes: 1 addition & 1 deletion test/MC/ELF/cfi-advance-loc2.s
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ f:
// CHECK-NEXT: (('r_offset', 0x00000020)
// CHECK-NEXT: ('r_sym', 0x00000002)
// CHECK-NEXT: ('r_type', 0x00000002)
// CHECK-NEXT: ('r_addend', 0x00000000)
// CHECK-NEXT: ('r_addend', 0x0000000000000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ])
// CHECK-NEXT: ),
2 changes: 1 addition & 1 deletion test/MC/ELF/cfi-def-cfa-offset.s
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ f:
// CHECK-NEXT: (('r_offset', 0x00000020)
// CHECK-NEXT: ('r_sym', 0x00000002)
// CHECK-NEXT: ('r_type', 0x00000002)
// CHECK-NEXT: ('r_addend', 0x00000000)
// CHECK-NEXT: ('r_addend', 0x0000000000000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ])
// CHECK-NEXT: ),
2 changes: 1 addition & 1 deletion test/MC/ELF/cfi-def-cfa-register.s
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ f:
// CHECK-NEXT: (('r_offset', 0x00000020)
// CHECK-NEXT: ('r_sym', 0x00000002)
// CHECK-NEXT: ('r_type', 0x00000002)
// CHECK-NEXT: ('r_addend', 0x00000000)
// CHECK-NEXT: ('r_addend', 0x0000000000000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ])
// CHECK-NEXT: ),
2 changes: 1 addition & 1 deletion test/MC/ELF/cfi-def-cfa.s
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ f:
// CHECK-NEXT: (('r_offset', 0x00000020)
// CHECK-NEXT: ('r_sym', 0x00000002)
// CHECK-NEXT: ('r_type', 0x00000002)
// CHECK-NEXT: ('r_addend', 0x00000000)
// CHECK-NEXT: ('r_addend', 0x0000000000000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ])
// CHECK-NEXT: ),
2 changes: 1 addition & 1 deletion test/MC/ELF/cfi-offset.s
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ f:
// CHECK-NEXT: (('r_offset', 0x00000020)
// CHECK-NEXT: ('r_sym', 0x00000002)
// CHECK-NEXT: ('r_type', 0x00000002)
// CHECK-NEXT: ('r_addend', 0x00000000)
// CHECK-NEXT: ('r_addend', 0x0000000000000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ])
// CHECK-NEXT: ),
2 changes: 1 addition & 1 deletion test/MC/ELF/cfi-rel-offset.s
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ f:
// CHECK-NEXT: (('r_offset', 0x00000020)
// CHECK-NEXT: ('r_sym', 0x00000002)
// CHECK-NEXT: ('r_type', 0x00000002)
// CHECK-NEXT: ('r_addend', 0x00000000)
// CHECK-NEXT: ('r_addend', 0x0000000000000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ])
// CHECK-NEXT: ),
2 changes: 1 addition & 1 deletion test/MC/ELF/cfi-rel-offset2.s
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ f:
// CHECK-NEXT: (('r_offset', 0x00000020)
// CHECK-NEXT: ('r_sym', 0x00000002)
// CHECK-NEXT: ('r_type', 0x00000002)
// CHECK-NEXT: ('r_addend', 0x00000000)
// CHECK-NEXT: ('r_addend', 0x0000000000000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ])
// CHECK-NEXT: ),
2 changes: 1 addition & 1 deletion test/MC/ELF/cfi-remember.s
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ f:
// CHECK-NEXT: (('r_offset', 0x00000020)
// CHECK-NEXT: ('r_sym', 0x00000002)
// CHECK-NEXT: ('r_type', 0x00000002)
// CHECK-NEXT: ('r_addend', 0x00000000)
// CHECK-NEXT: ('r_addend', 0x0000000000000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ])
// CHECK-NEXT: ),
2 changes: 1 addition & 1 deletion test/MC/ELF/cfi-same-value.s
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ f:
// CHECK-NEXT: (('r_offset', 0x00000020)
// CHECK-NEXT: ('r_sym', 0x00000002)
// CHECK-NEXT: ('r_type', 0x00000002)
// CHECK-NEXT: ('r_addend', 0x00000000)
// CHECK-NEXT: ('r_addend', 0x0000000000000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ])
// CHECK-NEXT: ),
2 changes: 1 addition & 1 deletion test/MC/ELF/cfi-zero-addr-delta.s
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ f:
// CHECK-NEXT: (('r_offset', 0x00000020)
// CHECK-NEXT: ('r_sym', 0x00000002)
// CHECK-NEXT: ('r_type', 0x00000002)
// CHECK-NEXT: ('r_addend', 0x00000000)
// CHECK-NEXT: ('r_addend', 0x0000000000000000)
// CHECK-NEXT: ),
// CHECK-NEXT: ])
// CHECK-NEXT: ),
Loading

0 comments on commit d7c9b63

Please sign in to comment.