summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-readobj/ELF/file-header-abi-version.test
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-01-05 14:56:27 -0800
committerFangrui Song <maskray@google.com>2020-01-06 09:25:45 -0800
commit896b84ac2c70ad69075c2496f8f89247704fff0b (patch)
treef570551556d7f807b7231697a32b377f7c69f778 /llvm/test/tools/llvm-readobj/ELF/file-header-abi-version.test
parentba4ca37b814a368f66328e9aee5cc479bf28d727 (diff)
downloadbcm5719-llvm-896b84ac2c70ad69075c2496f8f89247704fff0b.tar.gz
bcm5719-llvm-896b84ac2c70ad69075c2496f8f89247704fff0b.zip
[llvm-readelf] Print EI_ABIVERSION as decimal instead of hexadecimal
This matches GNU readelf and llvm-readobj. Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D72234
Diffstat (limited to 'llvm/test/tools/llvm-readobj/ELF/file-header-abi-version.test')
-rw-r--r--llvm/test/tools/llvm-readobj/ELF/file-header-abi-version.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/tools/llvm-readobj/ELF/file-header-abi-version.test b/llvm/test/tools/llvm-readobj/ELF/file-header-abi-version.test
index f73a1556433..a34f7736a9e 100644
--- a/llvm/test/tools/llvm-readobj/ELF/file-header-abi-version.test
+++ b/llvm/test/tools/llvm-readobj/ELF/file-header-abi-version.test
@@ -14,13 +14,13 @@
# RUN: llvm-readelf --file-headers %t.abiver.max | FileCheck %s --match-full-lines --check-prefix=ABIVER-MAX-GNU
# ABIVER-ZERO-LLVM: ABIVersion: 0
-# ABIVER-ZERO-GNU: ABI Version: 0x0
+# ABIVER-ZERO-GNU: ABI Version: 0
# ABIVER-ANY-LLVM: ABIVersion: 52
-# ABIVER-ANY-GNU: ABI Version: 0x34
+# ABIVER-ANY-GNU: ABI Version: 52
# ABIVER-MAX-LLVM: ABIVersion: 255
-# ABIVER-MAX-GNU: ABI Version: 0xFF
+# ABIVER-MAX-GNU: ABI Version: 255
--- !ELF
FileHeader:
OpenPOWER on IntegriCloud