20 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t3# RUN: ld.lld -o %t1 %t4# RUN: llvm-objdump --section-headers %t1 | FileCheck %s5# RUN: ld.lld -r -o %t1 %t6# RUN: llvm-objdump --section-headers %t1 | FileCheck --check-prefix=RELOCATABLE %s7 8# CHECK-NOT: .aaa9# RELOCATABLE: .aaa10 11.globl _start12_start:13 jmp _start14 15.section .aaa,"ae"16 .quad .bbb17 18.section .bbb,"a"19 .quad 020