Cleanup elf macros

Only define EF_MIPS_ABI when not already supplied
Remove old now unused ARM macros

Reported by:	imp
Approved by:	re (kib)
This commit is contained in:
bapt 2013-09-11 06:42:55 +00:00
parent 55cc853a4d
commit fee688be70

View File

@ -58,16 +58,12 @@ static struct _elf_corres endian_corres[] = {
{ -1, NULL}
};
#define EF_MIPS_ABI 0x0000F000
#ifndef EF_MIPS_ABI
#define EF_MIPS_ABI 0x0000f000
#endif
#define E_MIPS_ABI_O32 0x00001000
#define E_MIPS_ABI_N32 0x00000020
#define EF_ARM_NEW_ABI 0x80
#define EF_ARM_OLD_ABI 0x100
#define EF_ARM_SOFT_FLOAT 0x200
#define EF_ARM_VFP_FLOAT 0x400
#define NT_VERSION 1
#define NT_ARCH 2