Add elf32 for mips.

(probably  doesn't work,  due to GP-register-relative relocs.)
This commit is contained in:
jonathan 1997-08-20 01:21:37 +00:00
parent 332ad95e76
commit 3153b91d91

View File

@ -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. * Copyright (c) 1997 Christopher G. Demetriou. All rights reserved.
@ -34,11 +34,15 @@
#define NLIST_ECOFF #define NLIST_ECOFF
#define NLIST_ELF64 #define NLIST_ELF64
#else #else
#ifdef __mips__
#define NLIST_ELF32
#else
#define NLIST_AOUT #define NLIST_AOUT
/* #define NLIST_ECOFF */ /* #define NLIST_ECOFF */
/* #define NLIST_ELF32 */ /* #define NLIST_ELF32 */
/* #define NLIST_ELF64 */ /* #define NLIST_ELF64 */
#endif #endif
#endif
#ifdef NLIST_AOUT #ifdef NLIST_AOUT
int check_aout(int, const char *); int check_aout(int, const char *);