1 # RUN: llvm-mc -triple i386-pc-linux-gnu -filetype=obj -o %t %s
2 # RUN: llvm-readobj -s < %t | FileCheck %s
13 .section .init_arrayfoo
19 .section .fini_arrayfoo
21 .section .preinit_array
23 .section .preinit_array2
25 .section .preinit_arrayfoo
33 # CHECK: Name: .nobits
34 # CHECK-NEXT: Type: SHT_PROGBITS
35 # CHECK: Name: .nobits2
36 # CHECK-NEXT: Type: SHT_PROGBITS
37 # CHECK: Name: .nobitsfoo
38 # CHECK-NEXT: Type: SHT_PROGBITS
39 # CHECK: Name: .init_array
40 # CHECK-NEXT: Type: SHT_INIT_ARRAY
41 # CHECK: Name: .init_array2
42 # CHECK-NEXT: Type: SHT_PROGBITS
43 # CHECK: Name: .init_arrayfoo
44 # CHECK-NEXT: Type: SHT_PROGBITS
45 # CHECK: Name: .fini_array
46 # CHECK-NEXT: Type: SHT_FINI_ARRAY
47 # CHECK: Name: .fini_array2
48 # CHECK-NEXT: Type: SHT_PROGBITS
49 # CHECK: Name: .fini_arrayfoo
50 # CHECK-NEXT: Type: SHT_PROGBITS
51 # CHECK: Name: .preinit_array
52 # CHECK-NEXT: Type: SHT_PREINIT_ARRAY
53 # CHECK: Name: .preinit_array2
54 # CHECK-NEXT: Type: SHT_PROGBITS
55 # CHECK: Name: .preinit_arrayfoo
56 # CHECK-NEXT: Type: SHT_PROGBITS
58 # CHECK-NEXT: Type: SHT_NOTE
60 # CHECK-NEXT: Type: SHT_NOTE
61 # CHECK: Name: .notefoo
62 # CHECK-NEXT: Type: SHT_NOTE