Skip to content

Commit fb2ab1c

Browse files
committed
[llvm-readobj][ARM] Fix build attributes test's vendor name
`armabi` is not one of the recognized vendor names in the public Arm ABI. Use `aeabi` instead. https://github.com/ARM-software/abi-aa/blob/main/aaelf32/aaelf32.rst#registered-vendor-names
1 parent 2c13194 commit fb2ab1c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# RUN: yaml2obj %s -o %t.o
2-
# RUN: llvm-readelf -A %t.o 2>&1 | FileCheck %s
2+
# RUN: llvm-readobj -A %t.o 2>&1 | FileCheck %s
33

44
# CHECK: BuildAttributes {
55
# CHECK-NEXT: FormatVersion: 0x41
66
# CHECK-NEXT: Section 1 {
7-
# CHECK-NEXT: SectionLength: 22
8-
# CHECK-NEXT: Vendor: armabi
7+
# CHECK-NEXT: SectionLength: 6
8+
# CHECK-NEXT: Vendor: aeabi
99
# CHECK-NEXT: }
1010
# CHECK-NEXT: }
1111

@@ -18,6 +18,5 @@ FileHeader:
1818
Sections:
1919
- Name: .ARM.attributes
2020
Type: SHT_ARM_ATTRIBUTES
21-
ContentArray: [ 0x41, 0x00, 0x00, 0x00, 0x16, 0x61, 0x72, 0x6D, 0x61, 0x62,
22-
0x69, 0x00, 0x01, 0x0b, 0x00, 0x00, 0x00, 0x04, 0x01, 0x06, 0x01, 0x08,
23-
0x01 ]
21+
ContentArray: [ 0x41, 0x00, 0x00, 0x00, 0x06, 0x61, 0x65, 0x61, 0x62, 0x69,
22+
0x00 ]

0 commit comments

Comments
 (0)