1# REQUIRES: x86 2# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o 3# RUN: echo "SECTIONS { .text 0x200000 : { *(.text) } }" > %t.script 4# RUN: ld.lld -T %t.script -Ttext 0x100000 %t.o -o %t 5# RUN: llvm-readelf -S %t | FileCheck %s 6 7# CHECK: .text PROGBITS 0000000000100000 8 9.global _start 10_start: 11nop 12