blob: 7f86ecec29b78881b4e440446a3abce09178d844 [file] [log] [blame]
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: echo "MEMORY { ram (rwx) : ORIGIN = 0, LENGTH = 2K } \
# RUN: SECTIONS { .text : { *(.text*) } > ram }" > %t.script
# RUN: ld.lld -o /dev/null --script %t.script %t
.text
.global _start
_start:
.zero 1024
.section .text.foo,"ax",%progbits
foo:
nop