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