svn commit: r255468 - head/usr.sbin/pkg

Baptiste Daroussin bapt at FreeBSD.org
Wed Sep 11 06:42:56 UTC 2013


Author: bapt
Date: Wed Sep 11 06:42:55 2013
New Revision: 255468
URL: http://svnweb.freebsd.org/changeset/base/255468

Log:
  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)

Modified:
  head/usr.sbin/pkg/elf_tables.h

Modified: head/usr.sbin/pkg/elf_tables.h
==============================================================================
--- head/usr.sbin/pkg/elf_tables.h	Wed Sep 11 06:41:15 2013	(r255467)
+++ head/usr.sbin/pkg/elf_tables.h	Wed Sep 11 06:42:55 2013	(r255468)
@@ -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
 


More information about the svn-src-head mailing list