1# REQUIRES: x86 2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t 3 4# RUN: echo "SECTIONS {.foo : {*(.foo.*)} }" > %t.script 5# RUN: ld.lld -o %t1 --script %t.script %t 6# RUN: llvm-objdump --section-headers %t1 | FileCheck %s 7# CHECK: Sections: 8# CHECK-NEXT: Idx Name Size VMA Type 9# CHECK-NOT: .foo 10# CHECK: .foo 00000008 {{.*}} DATA 11# CHECK-NOT: .foo 12 13 14.global _start 15_start: 16 nop 17 18.section .foo.1,"a" 19foo1: 20 .long 0 21 22.section .foo.2,"aw" 23foo2: 24 .long 0 25