Removed the typedefs for Elf32 word types

This commit is contained in:
Charles Rozhon
2014-08-20 15:21:41 -05:00
parent d84b2f3be4
commit 965b1f1f2c
2 changed files with 49 additions and 55 deletions

View File

@ -5,14 +5,15 @@
#include <string>
#include "Common/Common.h"
#include "Common/CommonTypes.h"
#include "Core/Boot/ElfReader.h"
#include "Core/Debugger/Debugger_SymbolMap.h"
#include "Core/HW/Memmap.h"
#include "Core/PowerPC/PPCSymbolDB.h"
static void bswap(Elf32_Word &w) {w = Common::swap32(w);}
static void bswap(Elf32_Half &w) {w = Common::swap16(w);}
static void bswap(u32 &w) {w = Common::swap32(w);}
static void bswap(u16 &w) {w = Common::swap16(w);}
static void byteswapHeader(Elf32_Ehdr &ELF_H)
{