LibELF: Remove 2 32 bit types that don't exist

This commit is contained in:
Bananymous 2023-11-13 21:29:41 +02:00
parent aa4f3046ff
commit 8faad47843
1 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,8 @@
#pragma once
#ifdef __banan_os__
#include <kernel/Arch.h>
#endif
#include <stdint.h>
@ -155,15 +157,12 @@ namespace LibELF
Elf64Xword p_align;
};
#if ARCH(i386)
using ElfNativeAddr = Elf32Addr;
using ElfNativeOff = Elf32Off;
using ElfNativeHalf = Elf32Half;
using ElfNativeWord = Elf32Word;
using ElfNativeSword = Elf32Sword;
using ElfNativeXword = Elf32Xword;
using ElfNativeSxword = Elf32Sxword;
using ElfNativeFileHeader = Elf32FileHeader;
using ElfNativeSectionHeader = Elf32SectionHeader;
using ElfNativeSymbol = Elf32Symbol;