changeset 107036:467d1fce4215

Fixes for NetBSD (Bug#4629, Bug#2072). * m/mips.h: Remove DATA_START. Suggested by Dan Nicolaescu. * m/alpha.h: Don't define DATA_START on NetBSD (Bug#4629).
author Chong Yidong <cyd@stupidchicken.com>
date Thu, 28 Jan 2010 12:33:28 -0500
parents 2b8253dbde29
children 6e7738cc419f
files src/ChangeLog src/m/alpha.h src/m/mips.h
diffstat 3 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Jan 28 16:24:50 2010 +0000
+++ b/src/ChangeLog	Thu Jan 28 12:33:28 2010 -0500
@@ -1,3 +1,9 @@
+2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
+
+	* m/mips.h: Remove DATA_START.  Suggested by Dan Nicolaescu.
+
+	* m/alpha.h: Don't define DATA_START on NetBSD (Bug#4629).
+
 2010-01-28  Jan Djärv  <jan.h.d@swipnet.se>
 
 	* xfns.c (Fx_create_frame): Remove window size matching code from
--- a/src/m/alpha.h	Thu Jan 28 16:24:50 2010 +0000
+++ b/src/m/alpha.h	Thu Jan 28 12:33:28 2010 -0500
@@ -95,7 +95,7 @@
 
 #undef UNEXEC
 #define UNEXEC unexelf.o
-#ifndef GNU_LINUX
+#if !defined(GNU_LINUX) && !defined(__NetBSD__)
 #define DATA_START    0x140000000
 #endif
 
--- a/src/m/mips.h	Thu Jan 28 16:24:50 2010 +0000
+++ b/src/m/mips.h	Thu Jan 28 12:33:28 2010 -0500
@@ -50,10 +50,6 @@
 
 #define TEXT_START      0x00400000
 
-#ifndef GNU_LINUX
-#define DATA_START      0x10000000
-#endif
-
 
 #if 0 /* These definitions were advantageous when not using
 	 USE_LSB_TAG.  With that, they get ignored but cause errors.  */