1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-objcopy %t %t2
3 # RUN: llvm-readobj --symbols %t2 | FileCheck %s
12 - Name: test_mips_acommon
13 Index: SHN_MIPS_ACOMMON
16 - Name: test_mips_scommon
17 Index: SHN_MIPS_SCOMMON
20 - Name: test_mips_sundefined
21 Index: SHN_MIPS_SUNDEFINED
26 # CHECK-NEXT: Symbol {
28 # CHECK-NEXT: Value: 0x0
30 # CHECK-NEXT: Binding: Local (0x0)
31 # CHECK-NEXT: Type: None (0x0)
32 # CHECK-NEXT: Other: 0
33 # CHECK-NEXT: Section: Undefined (0x0)
35 # CHECK-NEXT: Symbol {
36 # CHECK-NEXT: Name: test_mips_acommon
37 # CHECK-NEXT: Value: 0x1234
39 # CHECK-NEXT: Binding: Global (0x1)
40 # CHECK-NEXT: Type: None (0x0)
41 # CHECK-NEXT: Other: 0
42 # CHECK-NEXT: Section: Processor Specific (0xFF00)
44 # CHECK-NEXT: Symbol {
45 # CHECK-NEXT: Name: test_mips_scommon
46 # CHECK-NEXT: Value: 0x1237
48 # CHECK-NEXT: Binding: Global (0x1)
49 # CHECK-NEXT: Type: None (0x0)
50 # CHECK-NEXT: Other: 0
51 # CHECK-NEXT: Section: Processor Specific (0xFF03)
53 # CHECK-NEXT: Symbol {
54 # CHECK-NEXT: Name: test_mips_sundefined
55 # CHECK-NEXT: Value: 0x1238
57 # CHECK-NEXT: Binding: Global (0x1)
58 # CHECK-NEXT: Type: None (0x0)
59 # CHECK-NEXT: Other: 0
60 # CHECK-NEXT: Section: Processor Specific (0xFF04)