Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Add SH5 support. (Missed these during the last sweep of my l...



details:   https://anonhg.NetBSD.org/src/rev/52984bef6a54
branches:  trunk
changeset: 533985:52984bef6a54
user:      scw <scw%NetBSD.org@localhost>
date:      Thu Jul 11 21:46:21 2002 +0000

description:
Add SH5 support. (Missed these during the last sweep of my local tree)

diffstat:

 lib/libc/gen/nlist_private.h      |  5 ++++-
 usr.bin/crunch/crunchide/Makefile |  4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 148648cf801d -r 52984bef6a54 lib/libc/gen/nlist_private.h
--- a/lib/libc/gen/nlist_private.h      Thu Jul 11 21:42:23 2002 +0000
+++ b/lib/libc/gen/nlist_private.h      Thu Jul 11 21:46:21 2002 +0000
@@ -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
diff -r 148648cf801d -r 52984bef6a54 usr.bin/crunch/crunchide/Makefile
--- a/usr.bin/crunch/crunchide/Makefile Thu Jul 11 21:42:23 2002 +0000
+++ b/usr.bin/crunch/crunchide/Makefile Thu Jul 11 21:46:21 2002 +0000
@@ -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_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" || \



Home | Main Index | Thread Index | Old Index