ia64 support. Hide a.out support solely under i386. While alpha never

was released in a.out form, it does define the a.out data structures.
The ia64 port does not.
This commit is contained in:
Peter Wemm
2001-10-23 10:18:41 +00:00
parent ab5e5d7be9
commit 2b30bcbb41
2 changed files with 8 additions and 1 deletions
+5 -1
View File
@@ -1,6 +1,10 @@
# $FreeBSD$
PROG= crunchide
SRCS= crunchide.c exec_aout.c exec_elf32.c exec_elf64.c
SRCS= crunchide.c exec_elf32.c exec_elf64.c
.if ${MACHINE_ARCH} == i386
SRCS+= exec_aout.c
.endif
.include <bsd.prog.mk>
+3
View File
@@ -1,4 +1,5 @@
/* $NetBSD: crunchide.c,v 1.8 1997/11/01 06:51:45 lukem Exp $ */
/* $FreeBSD$ */
/*
* Copyright (c) 1997 Christopher G. Demetriou. All rights reserved.
* Copyright (c) 1994 University of Maryland
@@ -207,9 +208,11 @@ struct {
int (*check)(int, const char *); /* 1 if match, zero if not */
int (*hide)(int, const char *); /* non-zero if error */
} exec_formats[] = {
#ifdef __i386__
#ifdef NLIST_AOUT
{ "a.out", check_aout, hide_aout, },
#endif
#endif
#ifdef NLIST_ECOFF
{ "ECOFF", check_elf64, hide_elf64, },
#endif