1# REQUIRES: x86 2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o 3# RUN: echo "SECTIONS { .text : { *(.text) *(.nonalloc) } }" > %t.script 4# RUN: ld.lld -shared -o %t.exe %t.script %t.o 5# RUN: llvm-objdump -syms %t.exe | FileCheck %s 6 7# CHECK: .text 00000000 nonalloc_start 8 9_start: 10 nop 11 12.section .nonalloc,"",@progbits 13nonalloc_start: 14 .long 0xcafe 15