20 lines · plain
1// REQUIRES: x862 3// RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t4// RUN: ld.lld %t -o %t.exe5// RUN: llvm-readobj --sections %t.exe | FileCheck %s6 7// CHECK: Name: .init_array8// CHECK-NEXT: Type: SHT_PROGBITS9// CHECK: Name: .fini_array10// CHECK-NEXT: Type: SHT_PROGBITS11 12.globl _start13_start:14 nop15 16.section .init_array.100, "aw", @progbits17 .byte 018.section .fini_array.100, "aw", @progbits19 .byte 020