1# REQUIRES: x86 2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t 3# RUN: echo "MEMORY { ram (rwx) : ORIGIN = 0, LENGTH = 2K } \ 4# RUN: SECTIONS { .text : { *(.text*) } > ram }" > %t.script 5# RUN: ld.lld -o /dev/null --script %t.script %t 6 7.text 8.global _start 9_start: 10 .zero 1024 11 12.section .text.foo,"ax",%progbits 13foo: 14 nop 15