comparison src/s/freebsd.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 a2d3c8acc0fe
children c3d63bafd463
comparison
equal deleted inserted replaced
96832:f6418143551e 96833:c06568fd3844
63 63
64 #define SYSV_SYSTEM_DIR 64 #define SYSV_SYSTEM_DIR
65 65
66 /* freebsd has POSIX-style pgrp behavior. */ 66 /* freebsd has POSIX-style pgrp behavior. */
67 #undef BSD_PGRPS 67 #undef BSD_PGRPS
68 #define GETPGRP_NO_ARG
69 68
70 #ifdef __ELF__ 69 #ifdef __ELF__
71 70
72 #define LD_SWITCH_SYSTEM_1 71 #define LD_SWITCH_SYSTEM_1
73 #define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o 72 #define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o
88 #endif /* __FreeBSD_version < 300002 */ 87 #endif /* __FreeBSD_version < 300002 */
89 #define UNEXEC unexsunos4.o 88 #define UNEXEC unexsunos4.o
90 #define RUN_TIME_REMAP 89 #define RUN_TIME_REMAP
91 #define LIB_GCC -lgcc 90 #define LIB_GCC -lgcc
92 91
93 #ifndef N_TRELOFF
94 #define N_TRELOFF(x) N_RELOFF(x)
95 #endif
96 #else /* NO_SHARED_LIBS */ 92 #else /* NO_SHARED_LIBS */
97 #ifdef __FreeBSD__ /* shared libs are available, but the user prefers 93 #ifdef __FreeBSD__ /* shared libs are available, but the user prefers
98 not to use them. */ 94 not to use them. */
99 #define LD_SWITCH_SYSTEM_1 -Bstatic -L/usr/local/lib 95 #define LD_SWITCH_SYSTEM_1 -Bstatic -L/usr/local/lib
100 #define A_TEXT_OFFSET(x) (sizeof (struct exec)) 96 #define A_TEXT_OFFSET(x) (sizeof (struct exec))