# HG changeset patch # User Dan Nicolaescu # Date 1224790339 0 # Node ID 9e243867e16898a3a6ec11e83cd7491e09d85c07 # Parent 136aa69efbfd9f20364ceb5feaef6ed99810a6f5 * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h. Use sol2-6.h for Solaris 7-9. * s/sol2-10.h: New file. diff -r 136aa69efbfd -r 9e243867e168 ChangeLog --- 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 (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 * configure.in: Add support for GNU/Linux on SuperH. diff -r 136aa69efbfd -r 9e243867e168 configure --- 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 ;; diff -r 136aa69efbfd -r 9e243867e168 configure.in --- 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 ;; diff -r 136aa69efbfd -r 9e243867e168 src/ChangeLog --- 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 (tiny change) + + * s/sol2-10.h: New file. + 2008-10-23 Juanma Barranquero * xdisp.c (fill_glyph_string): Fix typo in source (though the diff -r 136aa69efbfd -r 9e243867e168 src/s/sol2-10.h --- /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