comparison src/s/netbsd.h @ 96833:c06568fd3844

* s/usg5-4.h (LIBS_SYSTEM): Remove, system for which this was added not supported anymore. * s/usg5-4-2.h (LIBS_SYSTEM): * s/sol2.h (LIBS_SYSTEM): Do not undefine. * s/netbsd.h (GETPGRP_NO_ARG, N_TRELOFF): * s/lynxos.h (GETPGRP_NO_ARG): * s/hpux10-20.h (NO_SIOCTL_H): * s/gnu.h (GETPGRP_NO_ARG): * s/gnu-linux.h (NO_SIOCTL_H): * s/freebsd.h (GETPGRP_NO_ARG, N_TRELOFF): * s/cygwin.h (GETPGRP_NO_ARG): * s/irix6-5.h (LIBS_SYSTEM, GETPGRP_NO_ARG): Remove, unused. (C_DEBUG_SWITCH): Remove duplicate definition. * m/ibms390.h: Remove boilerplate comments. * sysdep.c (closedir): Use SOLARIS2 instead of sun && USG5_4. * process.c (HAVE_SERIAL): Consolidate ifdefs. (wait_reading_process_output): Remove code for SunOS, platform not supported anymore. Use SOLARIS2 instead of sun.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sun, 20 Jul 2008 13:03:56 +0000
parents 3bea8ede5bd0
children c3d63bafd463
comparison
equal deleted inserted replaced
96832:f6418143551e 96833:c06568fd3844
56 #define SYSV_SYSTEM_DIR 56 #define SYSV_SYSTEM_DIR
57 57
58 /* Netbsd has POSIX-style pgrp behavior. */ 58 /* Netbsd has POSIX-style pgrp behavior. */
59 #undef BSD_PGRPS 59 #undef BSD_PGRPS
60 60
61 #define GETPGRP_NO_ARG
62
63 #if !defined (NO_SHARED_LIBS) && ! defined (__ELF__) 61 #if !defined (NO_SHARED_LIBS) && ! defined (__ELF__)
64 /* These definitions should work for either dynamic or static linking, 62 /* These definitions should work for either dynamic or static linking,
65 whichever is the default for `cc -nostdlib'. */ 63 whichever is the default for `cc -nostdlib'. */
66 #define HAVE_TEXT_START /* No need to define `start_of_text'. */ 64 #define HAVE_TEXT_START /* No need to define `start_of_text'. */
67 #define START_FILES pre-crt0.o /usr/lib/crt0.o 65 #define START_FILES pre-crt0.o /usr/lib/crt0.o
68 #define UNEXEC unexsunos4.o 66 #define UNEXEC unexsunos4.o
69 #define RUN_TIME_REMAP 67 #define RUN_TIME_REMAP
70 68
71 /* Try to make this work for both 0.9 and >0.9. */
72 #ifndef N_TRELOFF
73 #define N_TRELOFF(x) N_RELOFF(x)
74 #endif
75 #endif /* not NO_SHARED_LIBS and not ELF */ 69 #endif /* not NO_SHARED_LIBS and not ELF */
76 70
77 #if !defined (NO_SHARED_LIBS) && defined (__ELF__) 71 #if !defined (NO_SHARED_LIBS) && defined (__ELF__)
78 #define START_FILES pre-crt0.o /usr/lib/crt0.o START_FILES_1 /usr/lib/crtbegin.o 72 #define START_FILES pre-crt0.o /usr/lib/crt0.o START_FILES_1 /usr/lib/crtbegin.o
79 #define UNEXEC unexelf.o 73 #define UNEXEC unexelf.o