aboutsummaryrefslogtreecommitdiff
path: root/test/MC/MachO/i386-large-relocations.s
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2015-12-30 11:46:15 +0000
committerDimitry Andric <dim@FreeBSD.org>2015-12-30 11:46:15 +0000
commitdd58ef019b700900793a1eb48b52123db01b654e (patch)
treefcfbb4df56a744f4ddc6122c50521dd3f1c5e196 /test/MC/MachO/i386-large-relocations.s
parent2fe5752e3a7c345cdb59e869278d36af33c13fa4 (diff)
downloadsrc-dd58ef019b700900793a1eb48b52123db01b654e.tar.gz
src-dd58ef019b700900793a1eb48b52123db01b654e.zip
Vendor import of llvm trunk r256633:
Notes
Notes: svn path=/vendor/llvm/dist/; revision=292915
Diffstat (limited to 'test/MC/MachO/i386-large-relocations.s')
-rw-r--r--test/MC/MachO/i386-large-relocations.s24
1 files changed, 9 insertions, 15 deletions
diff --git a/test/MC/MachO/i386-large-relocations.s b/test/MC/MachO/i386-large-relocations.s
index e5a1cfb2c5ef..e8805d37e4a1 100644
--- a/test/MC/MachO/i386-large-relocations.s
+++ b/test/MC/MachO/i386-large-relocations.s
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple i386-apple-darwin10 %s -filetype=obj -o - | macho-dump | FileCheck %s
+// RUN: llvm-mc -triple i386-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -r | FileCheck %s
.space 0x1ed280
.section __DATA,__const
@@ -20,17 +20,11 @@ _foo:
// so the assembler falls back to non-scattered relocations.
// rdar://12358909
-// CHECK: ('_relocations', [
-// CHECK: # Relocation 0
-// CHECK: (('word-0', 0x5181034),
-// CHECK: ('word-1', 0x4000003)),
-// CHECK: # Relocation 1
-// CHECK: (('word-0', 0x518102c),
-// CHECK: ('word-1', 0x4000003)),
-// CHECK: # Relocation 2
-// CHECK: (('word-0', 0x5181028),
-// CHECK: ('word-1', 0x4000003)),
-// CHECK: # Relocation 3
-// CHECK: (('word-0', 0x5181020),
-// CHECK: ('word-1', 0x4000003)),
-// CHECK: ])
+// CHECK: Relocations [
+// CHECK: Section __const {
+// CHECK: 0x5181034 0 2 0 GENERIC_RELOC_VANILLA 0 __bss
+// CHECK: 0x518102C 0 2 0 GENERIC_RELOC_VANILLA 0 __bss
+// CHECK: 0x5181028 0 2 0 GENERIC_RELOC_VANILLA 0 __bss
+// CHECK: 0x5181020 0 2 0 GENERIC_RELOC_VANILLA 0 __bss
+// CHECK: }
+// CHECK: ]