changeset 103708:bae3b52cda07

* m/mips.h: Mention this file is also used for netbsd. * m/pmax.h: Remove file. * configure.in (--enable-profiling): New option. (mips-*-netbsd*, mipsel-*-netbsd*, mipseb-*-netbsd*): Use machine=mips.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 03 Jul 2009 13:19:03 +0000
parents 6f4661f3af1c
children 15ae1942e576
files ChangeLog configure configure.in src/ChangeLog src/m/mips.h src/m/pmax.h
diffstat 6 files changed, 14 insertions(+), 63 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Jul 03 13:04:57 2009 +0000
+++ b/ChangeLog	Fri Jul 03 13:19:03 2009 +0000
@@ -1,10 +1,11 @@
 2009-07-03  Dan Nicolaescu  <dann@ics.uci.edu>
 
 	* configure.in (--enable-profiling): New option.
+	(mips-*-netbsd*, mipsel-*-netbsd*, mipseb-*-netbsd*): Use machine=mips.
 
 2009-06-27  Glenn Morris  <rgm@gnu.org>
 
-	* configure: Restore netbsd on mips, mipsel, mipseb.
+	* configure.in: Restore netbsd on mips, mipsel, mipseb.
 
 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
 
--- a/configure	Fri Jul 03 13:04:57 2009 +0000
+++ b/configure	Fri Jul 03 13:19:03 2009 +0000
@@ -2535,9 +2535,9 @@
     case "${canonical}" in
       alpha*-*-netbsd*)	machine=alpha ;;
       i[3456]86-*-netbsd*) machine=intel386 ;;
-      mips-*-netbsd*)	machine=pmax ;;
-      mipsel-*-netbsd*)	machine=pmax ;;
-      mipseb-*-netbsd*)	machine=pmax ;;
+      mips-*-netbsd*)	machine=mips ;;
+      mipsel-*-netbsd*)	machine=mips ;;
+      mipseb-*-netbsd*)	machine=mips ;;
       powerpc-*-netbsd*) machine=macppc ;;
       sparc*-*-netbsd*)	machine=sparc ;;
       vax-*-netbsd*)	machine=vax ;;
--- a/configure.in	Fri Jul 03 13:04:57 2009 +0000
+++ b/configure.in	Fri Jul 03 13:19:03 2009 +0000
@@ -406,9 +406,9 @@
     case "${canonical}" in
       alpha*-*-netbsd*)	machine=alpha ;;
       i[3456]86-*-netbsd*) machine=intel386 ;;
-      mips-*-netbsd*)	machine=pmax ;;
-      mipsel-*-netbsd*)	machine=pmax ;;
-      mipseb-*-netbsd*)	machine=pmax ;;
+      mips-*-netbsd*)	machine=mips ;;
+      mipsel-*-netbsd*)	machine=mips ;;
+      mipseb-*-netbsd*)	machine=mips ;;
       powerpc-*-netbsd*) machine=macppc ;;
       sparc*-*-netbsd*)	machine=sparc ;;
       vax-*-netbsd*)	machine=vax ;;
--- a/src/ChangeLog	Fri Jul 03 13:04:57 2009 +0000
+++ b/src/ChangeLog	Fri Jul 03 13:19:03 2009 +0000
@@ -1,3 +1,8 @@
+2009-07-03  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* m/mips.h: Mention this file is also used for netbsd.
+	* m/pmax.h: Remove file.
+
 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
 
 	* xterm.h (struct x_display_info): Add invisible_cursor.
--- a/src/m/mips.h	Fri Jul 03 13:04:57 2009 +0000
+++ b/src/m/mips.h	Fri Jul 03 13:19:03 2009 +0000
@@ -23,7 +23,7 @@
    USUAL-OPSYS="note"
 
 NOTE-START
-This is only used on GNU/Linux.
+This is used on GNU/Linux and netbsd.
 NOTE-END  */
 
 /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
--- a/src/m/pmax.h	Fri Jul 03 13:04:57 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-/* Machine description file for DEC MIPS machines.
-
-   Copyright (C) 1992, 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-                 2008, 2009  Free Software Foundation, Inc.
-
-This file is part of GNU Emacs.
-
-GNU Emacs is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-GNU Emacs is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
-
-#include "mips.h"
-
-/* The following line tells the configuration script what sort of
-   operating system this machine is likely to run.
-   USUAL-OPSYS="netbsd"
-
-NOTE-START
-The only operating system is NetBSD (osf1 and ultrix removed after 22.3).
-NOTE-END  */
-
-#ifndef __MIPSEB__
-#undef WORDS_BIG_ENDIAN
-#endif
-
-#define BROKEN_NOCOMBRELOC
-#undef COFF
-#undef TERMINFO
-#define MAIL_USE_FLOCK
-#define HAVE_UNION_WAIT
-
-#ifdef MACH
-#define START_FILES pre-crt0.o /usr/lib/crt0.o
-#endif
-
-/* Supposedly the following will overcome a kernel bug.  */
-#undef LD_SWITCH_MACHINE
-#undef DATA_START
-#define DATA_START 0x10000000
-#define DATA_SEG_BITS 0x10000000
-
-/* Enable a fix in process.c.  */
-#define SET_CHILD_PTY_PGRP
-
-/* arch-tag: 45d5070e-d2b7-479f-b336-3fd497c36e15
-   (do not change this comment) */