26 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t4## Check that aabc is not included in text.5# RUN: echo "SECTIONS { \6# RUN: .text : { *(.abc) } }" > %t.script7# RUN: ld.lld -o %t.out --script %t.script %t8# RUN: llvm-objdump --section-headers %t.out | \9# RUN: FileCheck %s10# CHECK: Sections:11# CHECK-NEXT: Idx Name Size12# CHECK-NEXT: 0 0000000013# CHECK-NEXT: 1 .text 0000000414# CHECK-NEXT: 2 aabc 0000000415 16.text17.section .abc,"ax",@progbits18.long 019 20.text21.section aabc,"ax",@progbits22.long 023 24.globl _start25_start:26