diff options
author | Liav A <liavalb@gmail.com> | 2022-10-04 03:05:54 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-12-28 11:53:41 +0100 |
commit | 5ff318cf3ac7d12470c357ba0bac8cd7ffa10e3e (patch) | |
tree | 36b3982d64e9602e80f990ed86790d8868827998 /Kernel/Coredump.cpp | |
parent | 32270dcd20344ae2cd753232634cdcd4f0a4300e (diff) | |
download | serenity-5ff318cf3ac7d12470c357ba0bac8cd7ffa10e3e.zip |
Kernel: Remove i686 support
Diffstat (limited to 'Kernel/Coredump.cpp')
-rw-r--r-- | Kernel/Coredump.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Kernel/Coredump.cpp b/Kernel/Coredump.cpp index 4aa70c5230..3ffd60b133 100644 --- a/Kernel/Coredump.cpp +++ b/Kernel/Coredump.cpp @@ -119,9 +119,7 @@ ErrorOr<void> Coredump::write_elf_header() elf_file_header.e_ident[EI_MAG1] = 'E'; elf_file_header.e_ident[EI_MAG2] = 'L'; elf_file_header.e_ident[EI_MAG3] = 'F'; -#if ARCH(I386) - elf_file_header.e_ident[EI_CLASS] = ELFCLASS32; -#elif ARCH(X86_64) || ARCH(AARCH64) +#if ARCH(X86_64) || ARCH(AARCH64) elf_file_header.e_ident[EI_CLASS] = ELFCLASS64; #else # error Unknown architecture @@ -137,9 +135,7 @@ ErrorOr<void> Coredump::write_elf_header() elf_file_header.e_ident[EI_PAD + 5] = 0; elf_file_header.e_ident[EI_PAD + 6] = 0; elf_file_header.e_type = ET_CORE; -#if ARCH(I386) - elf_file_header.e_machine = EM_386; -#elif ARCH(X86_64) +#if ARCH(X86_64) elf_file_header.e_machine = EM_X86_64; #elif ARCH(AARCH64) elf_file_header.e_machine = EM_AARCH64; |