1 // RUN: llvm-mc -triple i386-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -r | FileCheck %s
4 .section __DATA,__const
15 .zerofill __DATA,__bss,__dummy,0x5d780
16 .zerofill __DATA,__bss,_bar,48,4
18 // Normally scattered relocations are used for sym+offset expressions. When
19 // the value exceeds 24-bits, however, it's outside what MachO can encode,
20 // so the assembler falls back to non-scattered relocations.
23 // CHECK: Relocations [
24 // CHECK: Section __const {
25 // CHECK: 0x5181034 0 2 0 GENERIC_RELOC_VANILLA 0 __bss
26 // CHECK: 0x518102C 0 2 0 GENERIC_RELOC_VANILLA 0 __bss
27 // CHECK: 0x5181028 0 2 0 GENERIC_RELOC_VANILLA 0 __bss
28 // CHECK: 0x5181020 0 2 0 GENERIC_RELOC_VANILLA 0 __bss