Mercurial > emacs
annotate src/s/sol2-10.h @ 108846:99df2c060155
Merge from mainline.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Tue, 25 May 2010 22:48:43 +0000 |
parents | f8e62c2bf3e9 |
children | faf45a0d7ab2 |
rev | line source |
---|---|
99087
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
1 /* Handle Solaris 2.10. */ |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
2 |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
3 #include "sol2-6.h" |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
4 |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
5 #define SYSTEM_MALLOC |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
6 |
108511
f8e62c2bf3e9
Reformat some comments in src/s/*.h.
Glenn Morris <rgm@gnu.org>
parents:
100567
diff
changeset
|
7 /* Use the Solaris dldump() function, called from unexsol.c, to dump |
f8e62c2bf3e9
Reformat some comments in src/s/*.h.
Glenn Morris <rgm@gnu.org>
parents:
100567
diff
changeset
|
8 emacs, instead of the generic ELF dump code found in unexelf.c. |
f8e62c2bf3e9
Reformat some comments in src/s/*.h.
Glenn Morris <rgm@gnu.org>
parents:
100567
diff
changeset
|
9 The resulting binary has a complete symbol table, and is better |
f8e62c2bf3e9
Reformat some comments in src/s/*.h.
Glenn Morris <rgm@gnu.org>
parents:
100567
diff
changeset
|
10 for debugging and other observabilty tools (debuggers, pstack, etc). |
f8e62c2bf3e9
Reformat some comments in src/s/*.h.
Glenn Morris <rgm@gnu.org>
parents:
100567
diff
changeset
|
11 |
f8e62c2bf3e9
Reformat some comments in src/s/*.h.
Glenn Morris <rgm@gnu.org>
parents:
100567
diff
changeset
|
12 If you encounter a problem using dldump(), please consider sending |
f8e62c2bf3e9
Reformat some comments in src/s/*.h.
Glenn Morris <rgm@gnu.org>
parents:
100567
diff
changeset
|
13 a message to the OpenSolaris tools-linking mailing list: |
f8e62c2bf3e9
Reformat some comments in src/s/*.h.
Glenn Morris <rgm@gnu.org>
parents:
100567
diff
changeset
|
14 http://mail.opensolaris.org/mailman/listinfo/tools-linking |
f8e62c2bf3e9
Reformat some comments in src/s/*.h.
Glenn Morris <rgm@gnu.org>
parents:
100567
diff
changeset
|
15 |
f8e62c2bf3e9
Reformat some comments in src/s/*.h.
Glenn Morris <rgm@gnu.org>
parents:
100567
diff
changeset
|
16 It is likely that dldump() works with older Solaris too, |
f8e62c2bf3e9
Reformat some comments in src/s/*.h.
Glenn Morris <rgm@gnu.org>
parents:
100567
diff
changeset
|
17 but this has not been tested, and so, this change is for |
f8e62c2bf3e9
Reformat some comments in src/s/*.h.
Glenn Morris <rgm@gnu.org>
parents:
100567
diff
changeset
|
18 Solaris 10 and newer only at this time. */ |
99087
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
19 #undef UNEXEC |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
20 #define UNEXEC unexsol.o |
99150 | 21 |
100567
387ca5b2d869
* sysdep.c (system_process_attributes): Add implementation for Solaris.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
99150
diff
changeset
|
22 /* This is used in list_system_processes. */ |
387ca5b2d869
* sysdep.c (system_process_attributes): Add implementation for Solaris.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
99150
diff
changeset
|
23 #define HAVE_PROCFS 1 |
387ca5b2d869
* sysdep.c (system_process_attributes): Add implementation for Solaris.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
99150
diff
changeset
|
24 |
387ca5b2d869
* sysdep.c (system_process_attributes): Add implementation for Solaris.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
99150
diff
changeset
|
25 /* This is needed for the system_process_attributes implementation. */ |
387ca5b2d869
* sysdep.c (system_process_attributes): Add implementation for Solaris.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
99150
diff
changeset
|
26 #define _STRUCTURED_PROC 1 |
387ca5b2d869
* sysdep.c (system_process_attributes): Add implementation for Solaris.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
99150
diff
changeset
|
27 |
99150 | 28 /* arch-tag: 7c51a134-5469-4d16-aa00-d69224640eeb |
29 (do not change this comment) */ |