2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
3 # RUN: echo "SECTIONS { .text : { *(.text*) } }" > %t.script
4 # RUN: ld.lld %t --gc-sections --script %t.script -o %t1
5 # RUN: llvm-objdump --section-headers %t1 | FileCheck %s
8 # CHECK-NEXT: Name Size
9 # CHECK: .text 00000001
11 .section .text.foo, "ax"
16 .section .text.bar, "ax"