Add SH5 support. (Missed these during the last sweep of my local tree)
This commit is contained in:
parent
ca8d36994e
commit
4c8e482124
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nlist_private.h,v 1.14 2002/06/06 20:31:24 fredette Exp $ */
|
||||
/* $NetBSD: nlist_private.h,v 1.15 2002/07/11 21:46:21 scw Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Christopher G. Demetriou
|
||||
|
@ -51,6 +51,9 @@
|
|||
# define NLIST_AOUT
|
||||
# define NLIST_ELF32
|
||||
# define NLIST_ELF64
|
||||
#elif defined(__SH5__)
|
||||
# define NLIST_ELF32
|
||||
# define NLIST_ELF64
|
||||
#elif defined(__sh__)
|
||||
# define NLIST_COFF
|
||||
# define NLIST_ELF32
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.12 2001/12/12 22:14:46 fredette Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2002/07/11 21:46:22 scw Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -15,6 +15,8 @@ CPPFLAGS+=-DNLIST_ELF64 -DNLIST_ECOFF
|
|||
CPPFLAGS+=-DNLIST_ELF32
|
||||
.elif ${MACHINE_ARCH} == "sh3eb" || ${MACHINE_ARCH} == "sh3el"
|
||||
CPPFLAGS+=-DNLIST_ELF32 -DNLIST_COFF
|
||||
.elif ${MACHINE_ARCH} == "sh5eb" || ${MACHINE_ARCH} == "sh5el"
|
||||
CPPFLAGS+=-DNLIST_ELF32 -DNLIST_ELF64
|
||||
.elif ${MACHINE_ARCH} == "sparc64"
|
||||
CPPFLAGS+=-DNLIST_AOUT -DNLIST_ELF32 -DNLIST_ELF64
|
||||
.elif ${MACHINE_CPU} == "arm" || \
|
||||
|
|
Loading…
Reference in New Issue