aboutsummaryrefslogtreecommitdiff
path: root/test/MC/ELF/basic-elf-32.s
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-08-04 14:39:30 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-08-04 14:39:30 +0000
commitf81f6758f3188e1fd8be6b3707301959268dbbf0 (patch)
tree64586f57d47b581187d9b0020eb70269e435e6df /test/MC/ELF/basic-elf-32.s
parent65ad8dc807174b53615181a8170befdf60b6771d (diff)
Print r_type with the correct number of bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136872 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ELF/basic-elf-32.s')
-rw-r--r--test/MC/ELF/basic-elf-32.s8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/MC/ELF/basic-elf-32.s b/test/MC/ELF/basic-elf-32.s
index 4435a7f786..6a28a46f1f 100644
--- a/test/MC/ELF/basic-elf-32.s
+++ b/test/MC/ELF/basic-elf-32.s
@@ -44,19 +44,19 @@ main: # @main
// CHECK: ('_relocations', [
// CHECK: # Relocation 0
// CHECK: (('r_offset', 0x00000006)
-// CHECK: ('r_type', 0x00000001)
+// CHECK: ('r_type', 0x01)
// CHECK: ),
// CHECK: # Relocation 1
// CHECK: (('r_offset', 0x0000000b)
-// CHECK: ('r_type', 0x00000002)
+// CHECK: ('r_type', 0x02)
// CHECK: ),
// CHECK: # Relocation 2
// CHECK: (('r_offset', 0x00000012)
-// CHECK: ('r_type', 0x00000001)
+// CHECK: ('r_type', 0x01)
// CHECK: ),
// CHECK: # Relocation 3
// CHECK: (('r_offset', 0x00000017)
-// CHECK: ('r_type', 0x00000002)
+// CHECK: ('r_type', 0x02)
// CHECK: ),
// CHECK: ])