2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3 # RUN: echo "SECTIONS {" > %t.script
4 # RUN: echo ". = 0x150; . = 0x10; .text : {} }" >> %t.script
5 # RUN: ld.lld %t.o --script %t.script -o %t -shared
6 # RUN: llvm-objdump --section-headers %t | FileCheck %s
8 # CHECK: .text 00000000 0000000000000010
10 # RUN: echo "SECTIONS { . = 0x20; . = ASSERT(0x1, "foo"); }" > %t2.script
11 # RUN: ld.lld %t.o --script %t2.script -o %t -shared