annotate src/s/sol2-10.h @ 107737:912a8c0c9a8a

Remove extern errno declarations. * xterm.c: * xrdb.c: * w32term.c: * unexec.c: * unexaix.c: * sysdep.c: * process.c: * lread.c: * keyboard.c: * floatfns.c: * filelock.c: * fileio.c: * emacs.c (main): * ecrt0.c: * dispnew.c: * callproc.c: * buffer.c: Remove errno extern declarations. * s/netbsd.h (NEED_ERRNO): Remove. * movemail.c: * etags.c: * emacsclient.c: Remove extern errno declarations.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 01 Apr 2010 20:10:33 -0700
parents 387ca5b2d869
children f8e62c2bf3e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
9e243867e168 * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
7 /*
9e243867e168 * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
8 * Use the Solaris dldump() function, called from unexsol.c, to dump
9e243867e168 * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
9 * emacs, instead of the generic ELF dump code found in unexelf.c.
9e243867e168 * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
10 * The resulting binary has a complete symbol table, and is better
9e243867e168 * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
11 * for debugging and other observabilty tools (debuggers, pstack, etc).
9e243867e168 * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
12 *
9e243867e168 * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
13 * If you encounter a problem using dldump(), please consider sending
9e243867e168 * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
14 * a message to the OpenSolaris tools-linking mailing list:
9e243867e168 * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
15 * http://mail.opensolaris.org/mailman/listinfo/tools-linking
9e243867e168 * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
16 *
9e243867e168 * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
17 * It is likely that dldump() works with older Solaris too,
9e243867e168 * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
18 * but this has not been tested, and so, this change is for
9e243867e168 * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
19 * Solaris 10 and newer only at this time.
9e243867e168 * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
20 */
9e243867e168 * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
21 #undef UNEXEC
9e243867e168 * configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
22 #define UNEXEC unexsol.o
99150
cdad15e238e0 Add arch tagline
Miles Bader <miles@gnu.org>
parents: 99087
diff changeset
23
100567
387ca5b2d869 * sysdep.c (system_process_attributes): Add implementation for Solaris.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 99150
diff changeset
24 /* 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
25 #define HAVE_PROCFS 1
387ca5b2d869 * sysdep.c (system_process_attributes): Add implementation for Solaris.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 99150
diff changeset
26
387ca5b2d869 * sysdep.c (system_process_attributes): Add implementation for Solaris.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 99150
diff changeset
27 /* 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
28 #define _STRUCTURED_PROC 1
387ca5b2d869 * sysdep.c (system_process_attributes): Add implementation for Solaris.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 99150
diff changeset
29
99150
cdad15e238e0 Add arch tagline
Miles Bader <miles@gnu.org>
parents: 99087
diff changeset
30 /* arch-tag: 7c51a134-5469-4d16-aa00-d69224640eeb
cdad15e238e0 Add arch tagline
Miles Bader <miles@gnu.org>
parents: 99087
diff changeset
31 (do not change this comment) */