summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-09-11 06:42:55 +0000
committerbapt <bapt@FreeBSD.org>2013-09-11 06:42:55 +0000
commitfee688be702f335d54aac7b404d77a37a0852936 (patch)
tree577e367e7c18a4e2e58fa6a043a6176ca15a9208 /usr.sbin/pkg
parent55cc853a4dedac590d07d123dcd1b913974d2d0a (diff)
downloadFreeBSD-src-fee688be702f335d54aac7b404d77a37a0852936.zip
FreeBSD-src-fee688be702f335d54aac7b404d77a37a0852936.tar.gz
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)
Diffstat (limited to 'usr.sbin/pkg')
-rw-r--r--usr.sbin/pkg/elf_tables.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/usr.sbin/pkg/elf_tables.h b/usr.sbin/pkg/elf_tables.h
index d3d689a..0589ecf 100644
--- a/usr.sbin/pkg/elf_tables.h
+++ b/usr.sbin/pkg/elf_tables.h
@@ -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
OpenPOWER on IntegriCloud