1# REQUIRES: x86 2# RUN: echo '.section foo, "a"; .byte 0' \ 3# RUN: | llvm-mc -filetype=obj -triple=x86_64-unknown-linux - -o %t.o 4# RUN: ld.lld -o %t1 --script %s %t.o 5 6# RUN: llvm-objdump --section-headers %t1 | FileCheck %s 7# CHECK: Sections: 8# CHECK-NEXT: Idx Name Size 9# CHECK-NEXT: 0 00000000 10# CHECK-NEXT: 1 foo 00000001 11 12SECTIONS { 13 foo : { 14 *(.foo) 15 CONSTRUCTORS 16 } 17} 18