diff options
| author | Dan Nicolaescu | 2008-10-23 19:32:19 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-10-23 19:32:19 +0000 |
| commit | 9b3362b8a14e134f2f72bb621d76b9cfaf44bedb (patch) | |
| tree | 42a99d8f7a57e7c724ae98921b6645b25dabafc4 | |
| parent | bd07cecc1002004cbd3566ee1a96d994bf8f09f6 (diff) | |
| download | emacs-9b3362b8a14e134f2f72bb621d76b9cfaf44bedb.tar.gz emacs-9b3362b8a14e134f2f72bb621d76b9cfaf44bedb.zip | |
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Use sol2-6.h for Solaris 7-9.
* s/sol2-10.h: New file.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rwxr-xr-x | configure | 7 | ||||
| -rw-r--r-- | configure.in | 7 | ||||
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/s/sol2-10.h | 22 |
5 files changed, 43 insertions, 2 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-10-23 Ali Bahrami <ali_gnu@emvision.com> (tiny change) | ||
| 2 | |||
| 3 | * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h. | ||
| 4 | Use sol2-6.h for Solaris 7-9. | ||
| 5 | |||
| 1 | 2008-10-18 Ulrich Mueller <ulm@gentoo.org> | 6 | 2008-10-18 Ulrich Mueller <ulm@gentoo.org> |
| 2 | 7 | ||
| 3 | * configure.in: Add support for GNU/Linux on SuperH. | 8 | * configure.in: Add support for GNU/Linux on SuperH. |
| @@ -2581,10 +2581,15 @@ _ACEOF | |||
| 2581 | NON_GNU_CPP=/usr/ccs/lib/cpp | 2581 | NON_GNU_CPP=/usr/ccs/lib/cpp |
| 2582 | RANLIB="ar -ts" | 2582 | RANLIB="ar -ts" |
| 2583 | ;; | 2583 | ;; |
| 2584 | *-sunos5* | *-solaris* ) | 2584 | *-sunos5.[7-9]* | *-solaris[7-9]* ) |
| 2585 | opsys=sol2-6 | 2585 | opsys=sol2-6 |
| 2586 | emacs_check_sunpro_c=yes | 2586 | emacs_check_sunpro_c=yes |
| 2587 | NON_GNU_CPP=/usr/ccs/lib/cpp | 2587 | NON_GNU_CPP=/usr/ccs/lib/cpp |
| 2588 | |||
| 2589 | *-sunos5* | *-solaris* ) | ||
| 2590 | opsys=sol2-10 | ||
| 2591 | emacs_check_sunpro_c=yes | ||
| 2592 | NON_GNU_CPP=/usr/ccs/lib/cpp | ||
| 2588 | ;; | 2593 | ;; |
| 2589 | esac | 2594 | esac |
| 2590 | ## Watch out for a compiler that we know will not work. | 2595 | ## Watch out for a compiler that we know will not work. |
diff --git a/configure.in b/configure.in index 326830dc056..6fd1581b787 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -471,10 +471,15 @@ dnl see the `changequote' comment above. | |||
| 471 | NON_GNU_CPP=/usr/ccs/lib/cpp | 471 | NON_GNU_CPP=/usr/ccs/lib/cpp |
| 472 | RANLIB="ar -ts" | 472 | RANLIB="ar -ts" |
| 473 | ;; | 473 | ;; |
| 474 | *-sunos5* | *-solaris* ) | 474 | *-sunos5.[7-9]* | *-solaris[7-9]* ) |
| 475 | opsys=sol2-6 | 475 | opsys=sol2-6 |
| 476 | emacs_check_sunpro_c=yes | 476 | emacs_check_sunpro_c=yes |
| 477 | NON_GNU_CPP=/usr/ccs/lib/cpp | 477 | NON_GNU_CPP=/usr/ccs/lib/cpp |
| 478 | |||
| 479 | *-sunos5* | *-solaris* ) | ||
| 480 | opsys=sol2-10 | ||
| 481 | emacs_check_sunpro_c=yes | ||
| 482 | NON_GNU_CPP=/usr/ccs/lib/cpp | ||
| 478 | ;; | 483 | ;; |
| 479 | esac | 484 | esac |
| 480 | ## Watch out for a compiler that we know will not work. | 485 | ## Watch out for a compiler that we know will not work. |
diff --git a/src/ChangeLog b/src/ChangeLog index de11b21c9e9..eaa5d8299c8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-10-23 Ali Bahrami <ali_gnu@emvision.com> (tiny change) | ||
| 2 | |||
| 3 | * s/sol2-10.h: New file. | ||
| 4 | |||
| 1 | 2008-10-23 Juanma Barranquero <lekktu@gmail.com> | 5 | 2008-10-23 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 6 | ||
| 3 | * xdisp.c (fill_glyph_string): Fix typo in source (though the | 7 | * 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 index 00000000000..7e158e89ccf --- /dev/null +++ b/src/s/sol2-10.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | /* Handle Solaris 2.10. */ | ||
| 2 | |||
| 3 | #include "sol2-6.h" | ||
| 4 | |||
| 5 | #define SYSTEM_MALLOC | ||
| 6 | |||
| 7 | /* | ||
| 8 | * Use the Solaris dldump() function, called from unexsol.c, to dump | ||
| 9 | * emacs, instead of the generic ELF dump code found in unexelf.c. | ||
| 10 | * The resulting binary has a complete symbol table, and is better | ||
| 11 | * for debugging and other observabilty tools (debuggers, pstack, etc). | ||
| 12 | * | ||
| 13 | * If you encounter a problem using dldump(), please consider sending | ||
| 14 | * a message to the OpenSolaris tools-linking mailing list: | ||
| 15 | * http://mail.opensolaris.org/mailman/listinfo/tools-linking | ||
| 16 | * | ||
| 17 | * It is likely that dldump() works with older Solaris too, | ||
| 18 | * but this has not been tested, and so, this change is for | ||
| 19 | * Solaris 10 and newer only at this time. | ||
| 20 | */ | ||
| 21 | #undef UNEXEC | ||
| 22 | #define UNEXEC unexsol.o | ||