1 # RUN: yaml2obj %s > %t
2 # RUN: llvm-objcopy %t %t2
3 # RUN: llvm-readobj -symbols %t2 | FileCheck %s
17 Index: SHN_HEXAGON_SCOMMON
20 Index: SHN_HEXAGON_SCOMMON_2
23 Index: SHN_HEXAGON_SCOMMON_4
26 Index: SHN_HEXAGON_SCOMMON_8
32 #CHECK-NEXT: Value: 0x0
34 #CHECK-NEXT: Binding: Local (0x0)
35 #CHECK-NEXT: Type: None (0x0)
37 #CHECK-NEXT: Section: Undefined (0x0)
40 #CHECK-NEXT: Name: test
41 #CHECK-NEXT: Value: 0x1234
43 #CHECK-NEXT: Binding: Global (0x1)
44 #CHECK-NEXT: Type: None (0x0)
46 #CHECK-NEXT: Section: Common (0xFFF2)
49 #CHECK-NEXT: Name: test2
50 #CHECK-NEXT: Value: 0x1235
52 #CHECK-NEXT: Binding: Global (0x1)
53 #CHECK-NEXT: Type: None (0x0)
55 #CHECK-NEXT: Section: Processor Specific (0xFF00)
58 #CHECK-NEXT: Name: test3
59 #CHECK-NEXT: Value: 0x1236
61 #CHECK-NEXT: Binding: Global (0x1)
62 #CHECK-NEXT: Type: None (0x0)
64 #CHECK-NEXT: Section: Processor Specific (0xFF02)
67 #CHECK-NEXT: Name: test4
68 #CHECK-NEXT: Value: 0x1237
70 #CHECK-NEXT: Binding: Global (0x1)
71 #CHECK-NEXT: Type: None (0x0)
73 #CHECK-NEXT: Section: Processor Specific (0xFF03)
76 #CHECK-NEXT: Name: test5
77 #CHECK-NEXT: Value: 0x1238
79 #CHECK-NEXT: Binding: Global (0x1)
80 #CHECK-NEXT: Type: None (0x0)
82 #CHECK-NEXT: Section: Processor Specific (0xFF04)