]> code.delx.au - gnu-emacs/commitdiff
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
authorDan Nicolaescu <dann@ics.uci.edu>
Thu, 23 Oct 2008 19:32:19 +0000 (19:32 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Thu, 23 Oct 2008 19:32:19 +0000 (19:32 +0000)
Use sol2-6.h for Solaris 7-9.
* s/sol2-10.h: New file.

ChangeLog
configure
configure.in
src/ChangeLog
src/s/sol2-10.h [new file with mode: 0644]

index 831c8e3ffe4a9ccbe1cea155f2557d97fc0bf454..9fbaeb8d803f2c4d62f29e59f548e2a6b6553ec6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index c78ee2cf5dc739ffab4677166501e6f4fa85a467..cc57896cb7eb77e5816eecfa9bb13e10c58be62d 100755 (executable)
--- a/configure
+++ b/configure
@@ -2581,10 +2581,15 @@ _ACEOF
                NON_GNU_CPP=/usr/ccs/lib/cpp
                RANLIB="ar -ts"
                ;;
-      *-sunos5* | *-solaris* )
+      *-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-10
+               emacs_check_sunpro_c=yes
+               NON_GNU_CPP=/usr/ccs/lib/cpp
                ;;
     esac
     ## Watch out for a compiler that we know will not work.
index 326830dc056845011d8c604434fead1802abb9dc..6fd1581b78793e49ed4576e2e5a96b7258945fcb 100644 (file)
@@ -471,10 +471,15 @@ dnl see the `changequote' comment above.
                NON_GNU_CPP=/usr/ccs/lib/cpp
                RANLIB="ar -ts"
                ;;
-      *-sunos5* | *-solaris* )
+      *-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-10
+               emacs_check_sunpro_c=yes
+               NON_GNU_CPP=/usr/ccs/lib/cpp
                ;;
     esac
     ## Watch out for a compiler that we know will not work.
index de11b21c9e97485fb4fc66672a6c26e4d7c55a08..eaa5d8299c871138bbcea8b36a02f3af774d7969 100644 (file)
@@ -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
diff --git a/src/s/sol2-10.h b/src/s/sol2-10.h
new file mode 100644 (file)
index 0000000..7e158e8
--- /dev/null
@@ -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