1# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1.o 2# RUN: ld.lld -r %t1.o -o %t 3# RUN: llvm-objdump -section-headers %t | FileCheck %s 4 5# CHECK: .text 6# CHECK-NEXT: .rela.text 7# CHECK: .text._init 8# CHECK-NEXT: .rela.text._init 9# CHECK: .text._fini 10# CHECK-NEXT: .rela.text._fini 11 12.globl _start 13_start: 14 call foo 15 nop 16 17.section .xxx,"a" 18 .quad 0 19 20.section .text._init,"ax" 21 .quad .xxx 22foo: 23 call bar 24 nop 25 26 27.section .text._fini,"ax" 28 .quad .xxx 29bar: 30 nop 31