split MACHINE_ARCH sh3e[lb]. userland build still needs checking.

This commit is contained in:
itojun 2001-01-04 07:03:21 +00:00
parent f039f89ec5
commit 1e7e3274f4
9 changed files with 28 additions and 22 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.dreamcast.inc,v 1.2 2001/01/03 18:15:47 itojun Exp $
# $NetBSD: Makefile.dreamcast.inc,v 1.3 2001/01/04 07:03:22 itojun Exp $
MACHINE=dreamcast
MACHINE_ARCH=sh3
MACHINE_ARCH=sh3el

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.2 2001/01/03 18:14:47 itojun Exp $ */
/* $NetBSD: param.h,v 1.3 2001/01/04 07:03:22 itojun Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -53,9 +53,8 @@
#endif
#endif
/* will be changed to sh3el */
#define _MACHINE_ARCH sh3
#define MACHINE_ARCH "sh3"
#define _MACHINE_ARCH sh3el
#define MACHINE_ARCH "sh3el"
#define _MACHINE dreamcast
#define MACHINE "dreamcast"

View File

@ -1,4 +1,3 @@
# $NetBSD: Makefile.evbsh3.inc,v 1.2 2001/01/03 18:15:47 itojun Exp $
# $NetBSD: Makefile.evbsh3.inc,v 1.3 2001/01/04 07:03:22 itojun Exp $
MACHINE=ebsh3eb
MACHINE_ARCH=sh3
MACHINE=ebsh3

View File

@ -1,4 +1,4 @@
# $NetBSD: std.evbsh3.eb,v 1.1 2001/01/03 23:49:22 itojun Exp $
# $NetBSD: std.evbsh3.eb,v 1.2 2001/01/04 07:03:22 itojun Exp $
#
# standard, required NetBSD/evbsh3 'options'
@ -8,3 +8,4 @@ options EXEC_SCRIPT # exec #! scripts
makeoptions ENDIAN="-EB"
makeoptions LDSCRIPTBASE="sh.x" # for big endian
makeoptions MACHINE_ARCH=sh3eb

View File

@ -1,4 +1,4 @@
# $NetBSD: std.evbsh3.el,v 1.1 2001/01/03 23:49:22 itojun Exp $
# $NetBSD: std.evbsh3.el,v 1.2 2001/01/04 07:03:23 itojun Exp $
#
# standard, required NetBSD/evbsh3 'options'
@ -8,3 +8,4 @@ options EXEC_SCRIPT # exec #! scripts
makeoptions ENDIAN="-EL"
makeoptions LDSCRIPTBASE="shl.x" # for little endian
makeoptions MACHINE_ARCH=sh3el

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.6 2001/01/03 18:14:46 itojun Exp $ */
/* $NetBSD: param.h,v 1.7 2001/01/04 07:03:23 itojun Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -53,9 +53,14 @@
#endif
#endif
/* will be changed to sh3eb/el */
#define _MACHINE_ARCH sh3
#define MACHINE_ARCH "sh3"
/* XXX relying upon gcc symbol here... */
#ifdef __LITTLE_ENDIAN__
#define _MACHINE_ARCH sh3el
#define MACHINE_ARCH "sh3el"
#else
#define _MACHINE_ARCH sh3eb
#define MACHINE_ARCH "sh3eb"
#endif
#define _MACHINE evbsh3
#define MACHINE "evbsh3"

View File

@ -1,7 +1,7 @@
# $NetBSD: Makefile.mmeye.inc,v 1.2 2001/01/03 18:15:47 itojun Exp $
# $NetBSD: Makefile.mmeye.inc,v 1.3 2001/01/04 07:03:22 itojun Exp $
MACHINE=mmeye
MACHINE_ARCH=sh3
MACHINE_ARCH=sh3eb
TEXTADDR=8c010000
.if ${OBJECT_FMT} == "ELF"

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.6 2001/01/03 18:14:45 itojun Exp $ */
/* $NetBSD: param.h,v 1.7 2001/01/04 07:03:22 itojun Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -50,9 +50,8 @@
#endif
#endif
/* will be changed to sh3eb */
#define _MACHINE_ARCH sh3
#define MACHINE_ARCH "sh3"
#define _MACHINE_ARCH sh3eb
#define MACHINE_ARCH "sh3eb"
#define _MACHINE mmeye
#define MACHINE "mmeye"

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.4 2000/06/30 17:55:17 itojun Exp $ */
/* $NetBSD: param.h,v 1.5 2001/01/04 07:03:21 itojun Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -50,11 +50,13 @@
#endif
#endif
#if 0 /* machine/param.h should define it */
#define _MACHINE sh3
#define MACHINE "sh3"
#define _MACHINE_ARCH sh3
#define MACHINE_ARCH "sh3"
#define MID_MACHINE MID_SH3
#endif
/*
* Round p (pointer or byte index) up to a correctly-aligned value