1// REQUIRES: x86 2 3// RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t 4// RUN: ld.lld %t -o %t.exe 5// RUN: llvm-readobj --sections %t.exe | FileCheck %s 6 7// CHECK: Name: .init_array 8// CHECK-NEXT: Type: SHT_INIT_ARRAY 9// CHECK: Name: .fini_array 10// CHECK-NEXT: Type: SHT_FINI_ARRAY 11 12.globl _start 13_start: 14 nop 15 16.section .init_array.100, "aw", @progbits 17 .byte 0 18.section .fini_array.100, "aw", @progbits 19 .byte 0 20