Date: Mon, 20 Apr 2015 18:30:06 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281781 - head/usr.sbin/crunch/crunchide Message-ID: <201504201830.t3KIU6j6026505@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Mon Apr 20 18:30:06 2015 New Revision: 281781 URL: https://svnweb.freebsd.org/changeset/base/281781 Log: crunchide: Remove local EM_* ELF definitions provided by system ELF headers Suggested by: imp (in review D2314) Modified: head/usr.sbin/crunch/crunchide/exec_elf32.c Modified: head/usr.sbin/crunch/crunchide/exec_elf32.c ============================================================================== --- head/usr.sbin/crunch/crunchide/exec_elf32.c Mon Apr 20 17:46:09 2015 (r281780) +++ head/usr.sbin/crunch/crunchide/exec_elf32.c Mon Apr 20 18:30:06 2015 (r281781) @@ -178,37 +178,13 @@ ELFNAMEEND(check)(int fd, const char *fn switch (xe16toh(eh.e_machine)) { case EM_386: break; case EM_ALPHA: break; -#ifndef EM_AARCH64 -#define EM_AARCH64 183 -#endif case EM_AARCH64: break; -#ifndef EM_ARM -#define EM_ARM 40 -#endif case EM_ARM: break; -#ifndef EM_MIPS -#define EM_MIPS 8 -#endif -#ifndef EM_MIPS_RS4_BE /* same as EM_MIPS_RS3_LE */ -#define EM_MIPS_RS4_BE 10 -#endif case EM_MIPS: break; case /* EM_MIPS_RS3_LE */ EM_MIPS_RS4_BE: break; -#ifndef EM_PPC -#define EM_PPC 20 -#endif case EM_PPC: break; -#ifndef EM_PPC64 -#define EM_PPC64 21 -#endif case EM_PPC64: break; -#ifndef EM_SPARCV9 -#define EM_SPARCV9 43 -#endif case EM_SPARCV9: break; -#ifndef EM_X86_64 -#define EM_X86_64 62 -#endif case EM_X86_64: break; /* ELFDEFNNAME(MACHDEP_ID_CASES) */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504201830.t3KIU6j6026505>