3 # RUN: echo ".section .aaa, \"a\"; .quad 0; .section .bbb, \"a\"; .quad 0;" \
4 # RUN: | llvm-mc -filetype=obj -triple=x86_64-pc-linux - -o %t
5 # RUN: ld.lld %t --script %s -o %t2
7 # RUN: llvm-objdump --section-headers %t2 | FileCheck %s
8 # CHECK: .aaa 00000008 0000000000001008 DATA
9 # CHECK: .bbb 00000008 0000000000001000 DATA
12 REGION (rwx) : ORIGIN = 0x1000, LENGTH = 0x100
16 .aaa ORIGIN(REGION) + 0x8 : { *(.aaa) } > REGION
18 .bbb ORIGIN(REGION) : { *(.bbb) } > REGION