12 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o3# RUN: echo "SECTIONS { .text 0x200000 : { *(.text) } }" > %t.script4# RUN: ld.lld -T %t.script -Ttext 0x100000 %t.o -o %t5# RUN: llvm-readelf -S %t | FileCheck %s6 7# CHECK: .text PROGBITS 00000000001000008 9.global _start10_start:11nop12