From 3153b91d91593b5255523d536f0bcb3d9e5d48f2 Mon Sep 17 00:00:00 2001 From: jonathan Date: Wed, 20 Aug 1997 01:21:37 +0000 Subject: [PATCH] Add elf32 for mips. (probably doesn't work, due to GP-register-relative relocs.) --- usr.bin/crunch/crunchide/extern.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/usr.bin/crunch/crunchide/extern.h b/usr.bin/crunch/crunchide/extern.h index cc11082e2737..e2b82c8985be 100644 --- a/usr.bin/crunch/crunchide/extern.h +++ b/usr.bin/crunch/crunchide/extern.h @@ -1,4 +1,4 @@ -/* $NetBSD: extern.h,v 1.3 1997/01/22 23:53:58 cgd Exp $ */ +/* $NetBSD: extern.h,v 1.4 1997/08/20 01:21:37 jonathan Exp $ */ /* * Copyright (c) 1997 Christopher G. Demetriou. All rights reserved. @@ -34,11 +34,15 @@ #define NLIST_ECOFF #define NLIST_ELF64 #else +#ifdef __mips__ +#define NLIST_ELF32 +#else #define NLIST_AOUT /* #define NLIST_ECOFF */ /* #define NLIST_ELF32 */ /* #define NLIST_ELF64 */ #endif +#endif #ifdef NLIST_AOUT int check_aout(int, const char *);