changeset 6930:4d3971045057

Rewrite to use netbsd.h and define NO_SHARED_LIBS.
author Richard M. Stallman <rms@gnu.org>
date Sun, 17 Apr 1994 05:04:12 +0000
parents c85f8c33d16b
children 2d0ee7ef620a
files src/s/freebsd.h
diffstat 1 files changed, 9 insertions(+), 37 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/freebsd.h	Sat Apr 16 19:01:56 1994 +0000
+++ b/src/s/freebsd.h	Sun Apr 17 05:04:12 1994 +0000
@@ -1,41 +1,13 @@
 /* s/ file for freebsd system.  */
 
-/* Get most of the stuff from bsd4.3 */
-#include "bsd4-3.h"
-
-#undef SYSTEM_TYPE
-#define SYSTEM_TYPE "freebsd"
-
-#undef KERNEL_FILE
-#define KERNEL_FILE "/386bsd"
-
-#undef LDAV_SYMBOL
-#define LDAV_SYMBOL "_averunnable"
-
-#define SIGNALS_VIA_CHARACTERS
-
-#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
-
-#define A_TEXT_OFFSET(x) (sizeof (struct exec))
-#define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
+/* '__FreeBSD__' is defined by the preprocessor on FreeBSD-1.1 and up.
+   Earlier versions do not have shared libraries, so inhibit them.  */
+#ifndef __FreeBSD__
+#define NO_SHARED_LIBS
+#endif
 
-#define LIBS_DEBUG
-#define LIBS_SYSTEM -lutil
-
-#define HAVE_GETLOADAVG
-
-/* For mem-limits.h.  */
-#define BSD4_2
+#include "netbsd.h"
 
-/* Shared library stuff. */
-#define TEXT_START 0
-#define DATA_START 0
-#define UNEXEC unexfreebsd.o
-#define RUN_TIME_REMAP
-#define LINKER cc
-
-/* Reread the time zone on startup.  */
-#define LOCALTIME_CACHE
-
-#define HAVE_TERMIOS
-#define NO_TERMIO
+#undef LIB_GCC
+#define LIB_GCC -lgcc
+#undef NEED_ERRNO