1 // RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | macho-dump --dump-section-data | FileCheck %s
3 // FIXME: This is a horrible way of checking the output, we need an llvm-mc
7 // There is an unnecessary relaxation here. After the first jmp slides,
8 // the .align size could be recomputed so that the second jump will be in range
9 // for a 1-byte jump. For performance reasons, this is not currently done.
12 // CHECK: (('section_name', '__text\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
13 // CHECK: ('segment_name', '__TEXT\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
14 // CHECK: ('address', 0)
15 // CHECK: ('size', 322)
16 // CHECK: ('offset', 324)
17 // CHECK: ('alignment', 4)
18 // CHECK: ('reloc_offset', 0)
19 // CHECK: ('num_reloc', 0)
20 // CHECK: ('flags', 0x80000400)
21 // CHECK: ('reserved1', 0)
22 // CHECK: ('reserved2', 0)
28 .space (0xb3 - 0x8f), 0x90
30 .space (0xcd - 0xb5), 0x90
33 .space (0x130 - 0xd0),0x90
37 .zerofill __DATA,__bss,_sym,4,2