File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
test/tools/llvm-readobj/ELF Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ FileHeader:
190
190
# RUN: llvm-readelf --file-headers %t.osabi.arm | FileCheck %s --match-full-lines --check-prefix=OSABI-ARM-GNU
191
191
192
192
# OSABI-ARM-LLVM: OS/ABI: ARM (0x61)
193
- # OSABI-ARM-GNU: OS/ABI: 61
193
+ # OSABI-ARM-GNU: OS/ABI: ARM
194
194
195
195
## Check all EM_TI_C6000 specific values.
196
196
Original file line number Diff line number Diff line change @@ -3553,6 +3553,9 @@ template <class ELFT> void GNUELFDumper<ELFT>::printFileHeaders() {
3553
3553
if (e.e_ident [ELF::EI_OSABI] >= ELF::ELFOSABI_FIRST_ARCH &&
3554
3554
e.e_ident [ELF::EI_OSABI] <= ELF::ELFOSABI_LAST_ARCH) {
3555
3555
switch (e.e_machine ) {
3556
+ case ELF::EM_ARM:
3557
+ OSABI = ArrayRef (ARMElfOSABI);
3558
+ break ;
3556
3559
case ELF::EM_AMDGPU:
3557
3560
OSABI = ArrayRef (AMDGPUElfOSABI);
3558
3561
break ;
You can’t perform that action at this time.
0 commit comments