15 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t3# RUN: echo "MEMORY { ram (rwx) : ORIGIN = 0, LENGTH = 2K } \4# RUN: SECTIONS { .text : { *(.text*) } > ram }" > %t.script5# RUN: ld.lld -o /dev/null --script %t.script %t6 7.text8.global _start9_start:10 .zero 102411 12.section .text.foo,"ax",%progbits13foo:14 nop15