summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValtteri Koskivuori <vkoskiv@gmail.com>2021-10-18 02:19:48 +0300
committerAndreas Kling <kling@serenityos.org>2021-10-21 01:14:09 +0200
commitefbcfe0498311e96077562cabb3f347e4c58c35f (patch)
tree6428317fd2208bab870f5acffc5a20dc9fe0fc5a
parentd1adf5bc5e528d44e61c16a8ce379f1c25e7396b (diff)
downloadserenity-efbcfe0498311e96077562cabb3f347e4c58c35f.zip
LibELF: Rename the x86_64 machine type string to be less verbose
It looked a bit unsightly in the `readelf` output, this is much neater while still remaining very unambiguous.
-rw-r--r--Userland/Libraries/LibELF/Image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibELF/Image.cpp b/Userland/Libraries/LibELF/Image.cpp
index 7bea64a696..c3b599448e 100644
--- a/Userland/Libraries/LibELF/Image.cpp
+++ b/Userland/Libraries/LibELF/Image.cpp
@@ -303,7 +303,7 @@ Optional<StringView> Image::object_machine_type_to_string(ElfW(Half) type)
case EM_MIPS:
return "MIPS R3000 Big-Endian only"sv;
case EM_X86_64:
- return "Advanced Micro Devices X86-64"sv;
+ return "x86_64"sv;
default:
return {};
}