changeset 99087:9e243867e168

* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h. Use sol2-6.h for Solaris 7-9. * s/sol2-10.h: New file.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 23 Oct 2008 19:32:19 +0000
parents 136aa69efbfd
children df7905beb96c
files ChangeLog configure configure.in src/ChangeLog src/s/sol2-10.h
diffstat 5 files changed, 43 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Oct 23 13:46:17 2008 +0000
+++ b/ChangeLog	Thu Oct 23 19:32:19 2008 +0000
@@ -1,3 +1,8 @@
+2008-10-23  Ali Bahrami <ali_gnu@emvision.com>  (tiny change)
+
+	* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
+	Use sol2-6.h for Solaris 7-9.
+
 2008-10-18  Ulrich Mueller  <ulm@gentoo.org>
 
 	* configure.in: Add support for GNU/Linux on SuperH.
--- a/configure	Thu Oct 23 13:46:17 2008 +0000
+++ b/configure	Thu Oct 23 19:32:19 2008 +0000
@@ -2581,8 +2581,13 @@
 		NON_GNU_CPP=/usr/ccs/lib/cpp
 		RANLIB="ar -ts"
 		;;
+      *-sunos5.[7-9]* | *-solaris[7-9]* )
+		opsys=sol2-6
+		emacs_check_sunpro_c=yes
+		NON_GNU_CPP=/usr/ccs/lib/cpp
+
       *-sunos5* | *-solaris* )
-		opsys=sol2-6
+		opsys=sol2-10
 		emacs_check_sunpro_c=yes
 		NON_GNU_CPP=/usr/ccs/lib/cpp
 		;;
--- a/configure.in	Thu Oct 23 13:46:17 2008 +0000
+++ b/configure.in	Thu Oct 23 19:32:19 2008 +0000
@@ -471,8 +471,13 @@
 		NON_GNU_CPP=/usr/ccs/lib/cpp
 		RANLIB="ar -ts"
 		;;
+      *-sunos5.[7-9]* | *-solaris[7-9]* )
+		opsys=sol2-6
+		emacs_check_sunpro_c=yes
+		NON_GNU_CPP=/usr/ccs/lib/cpp
+
       *-sunos5* | *-solaris* )
-		opsys=sol2-6
+		opsys=sol2-10
 		emacs_check_sunpro_c=yes
 		NON_GNU_CPP=/usr/ccs/lib/cpp
 		;;
--- a/src/ChangeLog	Thu Oct 23 13:46:17 2008 +0000
+++ b/src/ChangeLog	Thu Oct 23 19:32:19 2008 +0000
@@ -1,3 +1,7 @@
+2008-10-23  Ali Bahrami <ali_gnu@emvision.com>  (tiny change)
+
+	* s/sol2-10.h: New file.
+
 2008-10-23  Juanma Barranquero  <lekktu@gmail.com>
 
 	* xdisp.c (fill_glyph_string): Fix typo in source (though the
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/s/sol2-10.h	Thu Oct 23 19:32:19 2008 +0000
@@ -0,0 +1,22 @@
+/* Handle Solaris 2.10.  */
+
+#include "sol2-6.h"
+
+#define SYSTEM_MALLOC
+
+/*
+ * Use the Solaris dldump() function, called from unexsol.c, to dump
+ * emacs, instead of the generic ELF dump code found in unexelf.c.
+ * The resulting binary has a complete symbol table, and is better
+ * for debugging and other observabilty tools (debuggers, pstack, etc).
+ *
+ * If you encounter a problem using dldump(), please consider sending
+ * a message to the OpenSolaris tools-linking mailing list:
+ *      http://mail.opensolaris.org/mailman/listinfo/tools-linking
+ *
+ * It is likely that dldump() works with older Solaris too,
+ * but this has not been tested, and so, this change is for
+ * Solaris 10 and newer only at this time.
+ */
+#undef UNEXEC
+#define UNEXEC unexsol.o