comparison src/s/sol2-10.h @ 108882:3ff97bad1c47

Move UNEXEC definition to autoconf. * configure.in (unxec): Do not define and substitute. (UNEXEC_OBJ): New output variable, replaces cpp UNEXEC. * msdos/sed1v2.inp (UNEXEC_OBJ): Use UNEXEC_OBJ instead of unexec. * src/s/usg5-4.h (UNEXEC): Remove, move to configure.in. * src/s/sol2-10.h (UNEXEC): * src/s/irix6-5.h (UNEXEC): * src/s/hpux10-20.h (UNEXEC): * src/s/gnu-linux.h (UNEXEC): * src/s/darwin.h (UNEXEC): * src/s/cygwin.h (UNEXEC): * src/s/bsd-common.h (UNEXEC): * src/s/aix4-2.h (UNEXEC): * src/m/alpha.h (UNEXEC): Likewise. * src/Makefile.in (UNEXEC_OBJ): Define using @UNEXEC_OBJ@.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 03 Jun 2010 15:16:02 -0700
parents faf45a0d7ab2
children 6799ec1a7188
comparison
equal deleted inserted replaced
108881:5582106cddf0 108882:3ff97bad1c47
1 /* Handle Solaris 2.10. */ 1 /* Handle Solaris 2.10. */
2 2
3 #include "sol2-6.h" 3 #include "sol2-6.h"
4 4
5 #define SYSTEM_MALLOC 5 #define SYSTEM_MALLOC
6
7 /* Use the Solaris dldump() function, called from unexsol.c, to dump
8 emacs, instead of the generic ELF dump code found in unexelf.c.
9 The resulting binary has a complete symbol table, and is better
10 for debugging and other observability tools (debuggers, pstack, etc).
11
12 If you encounter a problem using dldump(), please consider sending
13 a message to the OpenSolaris tools-linking mailing list:
14 http://mail.opensolaris.org/mailman/listinfo/tools-linking
15
16 It is likely that dldump() works with older Solaris too, but this has
17 not been tested, so for now this change is for Solaris 10 or newer. */
18 #undef UNEXEC
19 #define UNEXEC unexsol.o
20 6
21 /* This is used in list_system_processes. */ 7 /* This is used in list_system_processes. */
22 #define HAVE_PROCFS 1 8 #define HAVE_PROCFS 1
23 9
24 /* This is needed for the system_process_attributes implementation. */ 10 /* This is needed for the system_process_attributes implementation. */