2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
4 # RUN: echo "SECTIONS { . = SIZEOF_HEADERS; \
5 # RUN: .text : { *(.text) } \
6 # RUN: .nonalloc : { *(.nonalloc) } \
9 # RUN: ld.lld -o %t2 --script %t.script %t
10 # RUN: llvm-objdump -section-headers -t %t2 | FileCheck %s
13 # CHECK: .nonalloc 00000008 0000000000000000
15 # CHECK: SYMBOL TABLE:
16 # CHECK: 0000000000000008 .nonalloc 00000000 Sym