Source-Changes-HG archive

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

[src/trunk]: src/gnu/usr.bin sh3 split



details:   https://anonhg.NetBSD.org/src/rev/9a8334ff6365
branches:  trunk
changeset: 501585:9a8334ff6365
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Jan 04 10:43:24 2001 +0000

description:
sh3 split

diffstat:

 gnu/usr.bin/egcs/Makefile.inc    |   4 +++-
 gnu/usr.bin/egcs/common/Makefile |   4 +++-
 gnu/usr.bin/gdb/Makefile         |  13 ++++++++-----
 3 files changed, 14 insertions(+), 7 deletions(-)

diffs (77 lines):

diff -r b5ea32d596a6 -r 9a8334ff6365 gnu/usr.bin/egcs/Makefile.inc
--- a/gnu/usr.bin/egcs/Makefile.inc     Thu Jan 04 10:35:25 2001 +0000
+++ b/gnu/usr.bin/egcs/Makefile.inc     Thu Jan 04 10:43:24 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.26 2000/11/09 06:25:52 thorpej Exp $
+#      $NetBSD: Makefile.inc,v 1.27 2001/01/04 10:43:24 itojun Exp $
 
 .if !defined(GCC_MAKEFILE_INC)
 GCC_MAKEFILE_INC=1
@@ -23,6 +23,8 @@
 
 .if (${MACHINE_ARCH} == "mipsel") || (${MACHINE_ARCH} == "mipseb")
 ARCHSUBDIR= mips
+.elif (${MACHINE_ARCH} == "sh3el") || (${MACHINE_ARCH} == "sh3eb")
+ARCHSUBDIR= sh3
 .else
 ARCHSUBDIR= ${MACHINE_ARCH}
 .endif
diff -r b5ea32d596a6 -r 9a8334ff6365 gnu/usr.bin/egcs/common/Makefile
--- a/gnu/usr.bin/egcs/common/Makefile  Thu Jan 04 10:35:25 2001 +0000
+++ b/gnu/usr.bin/egcs/common/Makefile  Thu Jan 04 10:43:24 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.29 2000/07/02 12:31:25 bjh21 Exp $
+#      $NetBSD: Makefile,v 1.30 2001/01/04 10:43:24 itojun Exp $
 
 MKLINKLIB=no
 MKMAN= no
@@ -13,6 +13,8 @@
 # GNU (gcc,gas) uses "mips" as arch-dependent filename for mipsel and mipseb
 .if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
 GCC_ARCH?=     mips
+.elif ${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb"
+GCC_ARCH?=     sh
 .elif (${MACHINE_ARCH} == "sparc64")
 GCC_ARCH?=     sparc
 # GCC uses "arm", not "armv2" internally.
diff -r b5ea32d596a6 -r 9a8334ff6365 gnu/usr.bin/gdb/Makefile
--- a/gnu/usr.bin/gdb/Makefile  Thu Jan 04 10:35:25 2001 +0000
+++ b/gnu/usr.bin/gdb/Makefile  Thu Jan 04 10:43:24 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.42 2000/08/02 22:25:13 pooka Exp $
+#      $NetBSD: Makefile,v 1.43 2001/01/04 10:43:25 itojun Exp $
 
 # for OBJECT_FMT
 .include <bsd.own.mk>
@@ -57,7 +57,7 @@
 NATDEPFILES= infptrace.c inftarg.c fork-child.c corelow.c \
        ${NATDEPFILES.${MACHINE_ARCH}}
 .if (${MACHINE_ARCH} != "arm32") && (${MACHINE_ARCH} != "powerpc") \
-       && (${MACHINE_ARCH} != "sh3")
+       && (${MACHINE_ARCH} != "sh3eb") && (${MACHINE_ARCH} != "sh3el")
 NATDEPFILES+= kcore-nbsd.c
 .endif
 NATDEPFILES+= solib.c
@@ -86,8 +86,11 @@
 NATDEPFILES.powerpc=   ppcnbsd-nat.c
 TDEPFILES.powerpc=     rs6000-tdep.c
 
-NATDEPFILES.sh3=       shnbsd-nat.c
-TDEPFILES.sh3=         sh-tdep.c
+NATDEPFILES.sh3eb=     shnbsd-nat.c
+TDEPFILES.sh3eb=       sh-tdep.c
+
+NATDEPFILES.sh3el=     shnbsd-nat.c
+TDEPFILES.sh3el=       sh-tdep.c
 
 NATDEPFILES.sparc=     sparcnbsd-nat.c
 TDEPFILES.sparc=       sparc-tdep.c
@@ -113,7 +116,7 @@
 
 ${OBJS}: nm.h tm.h xm.h
 
-ARCHSUBDIR= ${MACHINE_GNU_ARCH:C/mipse[bl]/mips/:C/sparc64/sparc/}
+ARCHSUBDIR= ${MACHINE_GNU_ARCH:C/mipse[bl]/mips/:C/sparc64/sparc/:C/sh3e[bl]/sh3/}
 
 nm.h: ${DIST}/gdb/config/${ARCHSUBDIR}/nm-nbsd.h
        @-rm -f $@



Home | Main Index | Thread Index | Old Index