# HG changeset patch # User Dan Nicolaescu # Date 1246627143 0 # Node ID bae3b52cda0773e67be24680f589123daa27d022 # Parent 6f4661f3af1c663dee3e610d46b6ad8d914a3484 * 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. diff -r 6f4661f3af1c -r bae3b52cda07 ChangeLog --- 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 * configure.in (--enable-profiling): New option. + (mips-*-netbsd*, mipsel-*-netbsd*, mipseb-*-netbsd*): Use machine=mips. 2009-06-27 Glenn Morris - * configure: Restore netbsd on mips, mipsel, mipseb. + * configure.in: Restore netbsd on mips, mipsel, mipseb. 2009-06-26 Dan Nicolaescu diff -r 6f4661f3af1c -r bae3b52cda07 configure --- 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 ;; diff -r 6f4661f3af1c -r bae3b52cda07 configure.in --- 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 ;; diff -r 6f4661f3af1c -r bae3b52cda07 src/ChangeLog --- 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 + + * m/mips.h: Mention this file is also used for netbsd. + * m/pmax.h: Remove file. + 2009-07-03 Jan Djärv * xterm.h (struct x_display_info): Add invisible_cursor. diff -r 6f4661f3af1c -r bae3b52cda07 src/m/mips.h --- 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 diff -r 6f4661f3af1c -r bae3b52cda07 src/m/pmax.h --- 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 . */ - -#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) */