summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2010-01-28 12:33:28 -0500
committerChong Yidong <cyd@stupidchicken.com>2010-01-28 12:33:28 -0500
commitf8916aa605cfbb6cb9889d0a475b41e55f6d2d0e (patch)
treeb65adaea7e8593500a5cebc13f70cd68a47e488d
parent8d2ef4a68d494061cbdcee2263927b31efd0158b (diff)
downloademacs-f8916aa605cfbb6cb9889d0a475b41e55f6d2d0e.tar.gz
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).
-rw-r--r--src/ChangeLog6
-rw-r--r--src/m/alpha.h2
-rw-r--r--src/m/mips.h4
3 files changed, 7 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 457dfbe8877..ac72a14a326 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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
diff --git a/src/m/alpha.h b/src/m/alpha.h
index 26cdb807452..5abf8bba726 100644
--- a/src/m/alpha.h
+++ b/src/m/alpha.h
@@ -95,7 +95,7 @@ NOTE-END
#undef UNEXEC
#define UNEXEC unexelf.o
-#ifndef GNU_LINUX
+#if !defined(GNU_LINUX) && !defined(__NetBSD__)
#define DATA_START 0x140000000
#endif
diff --git a/src/m/mips.h b/src/m/mips.h
index 2b47dba25fa..7a84b6596c8 100644
--- a/src/m/mips.h
+++ b/src/m/mips.h
@@ -50,10 +50,6 @@ NOTE-END */
#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. */