Explorar el Código

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.
Valtteri Koskivuori hace 3 años
padre
commit
efbcfe0498
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Userland/Libraries/LibELF/Image.cpp

+ 1 - 1
Userland/Libraries/LibELF/Image.cpp

@@ -303,7 +303,7 @@ Optional<StringView> Image::object_machine_type_to_string(ElfW(Half) type)
     case EM_MIPS:
     case EM_MIPS:
         return "MIPS R3000 Big-Endian only"sv;
         return "MIPS R3000 Big-Endian only"sv;
     case EM_X86_64:
     case EM_X86_64:
-        return "Advanced Micro Devices X86-64"sv;
+        return "x86_64"sv;
     default:
     default:
         return {};
         return {};
     }
     }