Commit 3051bc72 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

Rewrite to use netbsd.h and define NO_SHARED_LIBS.

parent 61ef9d86
/* s/ file for freebsd system. */
/* Get most of the stuff from bsd4.3 */
#include "bsd4-3.h"
/* '__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
#undef SYSTEM_TYPE
#define SYSTEM_TYPE "freebsd"
#include "netbsd.h"
#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))
#define LIBS_DEBUG
#define LIBS_SYSTEM -lutil
#define HAVE_GETLOADAVG
/* For mem-limits.h. */
#define BSD4_2
/* 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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment