1 # RUN: yaml2obj %s > %t
2 # RUN: llvm-objcopy %t %t2
3 # RUN: llvm-readobj --symbols %t2 | FileCheck %s
17 Index: SHN_HEXAGON_SCOMMON
21 Index: SHN_HEXAGON_SCOMMON_2
25 Index: SHN_HEXAGON_SCOMMON_4
29 Index: SHN_HEXAGON_SCOMMON_8
36 #CHECK-NEXT: Value: 0x0
38 #CHECK-NEXT: Binding: Local (0x0)
39 #CHECK-NEXT: Type: None (0x0)
41 #CHECK-NEXT: Section: Undefined (0x0)
44 #CHECK-NEXT: Name: test
45 #CHECK-NEXT: Value: 0x1234
47 #CHECK-NEXT: Binding: Global (0x1)
48 #CHECK-NEXT: Type: None (0x0)
50 #CHECK-NEXT: Section: Common (0xFFF2)
53 #CHECK-NEXT: Name: test2
54 #CHECK-NEXT: Value: 0x1235
56 #CHECK-NEXT: Binding: Global (0x1)
57 #CHECK-NEXT: Type: None (0x0)
59 #CHECK-NEXT: Section: Processor Specific (0xFF00)
62 #CHECK-NEXT: Name: test3
63 #CHECK-NEXT: Value: 0x1236
65 #CHECK-NEXT: Binding: Global (0x1)
66 #CHECK-NEXT: Type: None (0x0)
68 #CHECK-NEXT: Section: Processor Specific (0xFF02)
71 #CHECK-NEXT: Name: test4
72 #CHECK-NEXT: Value: 0x1237
74 #CHECK-NEXT: Binding: Global (0x1)
75 #CHECK-NEXT: Type: None (0x0)
77 #CHECK-NEXT: Section: Processor Specific (0xFF03)
80 #CHECK-NEXT: Name: test5
81 #CHECK-NEXT: Value: 0x1238
83 #CHECK-NEXT: Binding: Global (0x1)
84 #CHECK-NEXT: Type: None (0x0)
86 #CHECK-NEXT: Section: Processor Specific (0xFF04)