1 # RUN: llvm-mc -triple i386-pc-linux-gnu -filetype=obj -o %t %s
2 # RUN: llvm-readobj -S < %t | FileCheck %s
11 .section .init_array.42
15 .section .init_arrayfoo
21 .section .fini_arrayfoo
23 .section .preinit_array
25 .section .preinit_array2
27 .section .preinit_arrayfoo
43 # CHECK: Name: .nobits
44 # CHECK-NEXT: Type: SHT_PROGBITS
45 # CHECK: Name: .nobits2
46 # CHECK-NEXT: Type: SHT_PROGBITS
47 # CHECK: Name: .nobitsfoo
48 # CHECK-NEXT: Type: SHT_PROGBITS
49 # CHECK: Name: .init_array
50 # CHECK-NEXT: Type: SHT_INIT_ARRAY
51 # CHECK: Name: .init_array.42
52 # CHECK-NEXT: Type: SHT_INIT_ARRAY
53 # CHECK: Name: .init_array2
54 # CHECK-NEXT: Type: SHT_PROGBITS
55 # CHECK: Name: .init_arrayfoo
56 # CHECK-NEXT: Type: SHT_PROGBITS
57 # CHECK: Name: .fini_array
58 # CHECK-NEXT: Type: SHT_FINI_ARRAY
59 # CHECK: Name: .fini_array2
60 # CHECK-NEXT: Type: SHT_PROGBITS
61 # CHECK: Name: .fini_arrayfoo
62 # CHECK-NEXT: Type: SHT_PROGBITS
63 # CHECK: Name: .preinit_array
64 # CHECK-NEXT: Type: SHT_PREINIT_ARRAY
65 # CHECK: Name: .preinit_array2
66 # CHECK-NEXT: Type: SHT_PROGBITS
67 # CHECK: Name: .preinit_arrayfoo
68 # CHECK-NEXT: Type: SHT_PROGBITS
70 # CHECK-NEXT: Type: SHT_NOTE
72 # CHECK-NEXT: Type: SHT_NOTE
73 # CHECK: Name: .notefoo
74 # CHECK-NEXT: Type: SHT_NOTE
76 # CHECK-NEXT: Type: SHT_NOBITS
77 # CHECK: Name: .bss.foo
78 # CHECK-NEXT: Type: SHT_NOBITS
80 # CHECK-NEXT: Type: SHT_NOBITS
81 # CHECK: Name: .tbss.foo
82 # CHECK-NEXT: Type: SHT_NOBITS