1# REQUIRES: x86 2# RUN: echo '.section .bar, "a"; .quad 1;' | \ 3# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux - -o %tfile1.o 4# RUN: echo '.section .zed, "a"; .quad 2;' | \ 5# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux - -o %tfile2.o 6 7## We have a file name and no input sections description. In that case, all 8## sections from the file specified should be included. Check that. 9# RUN: ld.lld -o %t --script %s %tfile1.o %tfile2.o 10# RUN: llvm-objdump -s %t | FileCheck %s 11 12# CHECK: Contents of section .foo: 13# CHECK-NEXT: 01000000 00000000 02000000 00000000 14 15SECTIONS { 16 .foo : { *file1.o *file2.o } 17} 18