From: Jim Kingdon Date: Thu, 8 Jul 1993 19:24:29 +0000 (+0000) Subject: * hosts/i386bsd.h: Conditionalize HOST_STACK_END_ADDR on __bsdi__. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce93f5696730614a8659dea6d90fae3cd353745c;p=binutils-gdb.git * hosts/i386bsd.h: Conditionalize HOST_STACK_END_ADDR on __bsdi__. i386bsd.c: Remove defines of N_TXT*; the versions in aout64.h should be sufficient. Define TEXT_START_ADDR. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 98efe7c4b1c..181b472be2b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +Thu Jul 8 13:43:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * hosts/i386bsd.h: Conditionalize HOST_STACK_END_ADDR on __bsdi__. + i386bsd.c: Remove defines of N_TXT*; the versions in aout64.h should + be sufficient. Define TEXT_START_ADDR. + Wed Jul 7 10:56:21 1993 Ian Lance Taylor (ian@cygnus.com) * aoutx.h (translate_from_native_sym_flags): Removed statep diff --git a/bfd/hosts/i386bsd.h b/bfd/hosts/i386bsd.h index bbabe2affb3..56d7522a876 100644 --- a/bfd/hosts/i386bsd.h +++ b/bfd/hosts/i386bsd.h @@ -23,9 +23,11 @@ #define HOST_MACHINE_ARCH bfd_arch_i386 #define HOST_TEXT_START_ADDR USRTEXT -#if 0 /* This doesn't work in Jolitz release 0.1 */ +#ifdef __bsdi__ +/* This seems to be the right thing for BSDI. */ #define HOST_STACK_END_ADDR USRSTACK -#else /* Found by experimentation. */ +#else +/* This seems to be the right thing for 386BSD release 0.1. */ #define HOST_STACK_END_ADDR (USRSTACK - MAXSSIZ) #endif @@ -33,22 +35,6 @@ ((core_bfd)->tdata.trad_core_data->u.u_sig) #define u_comm u_kproc.kp_proc.p_comm -/* EXACT TYPES */ -typedef char int8e_type; -typedef unsigned char uint8e_type; -typedef short int16e_type; -typedef unsigned short uint16e_type; -typedef int int32e_type; -typedef unsigned int uint32e_type; - -/* CORRECT SIZE OR GREATER */ -typedef char int8_type; -typedef unsigned char uint8_type; -typedef short int16_type; -typedef unsigned short uint16_type; -typedef int int32_type; -typedef unsigned int uint32_type; - #include "fopen-same.h" #define hosts_i386bsd_H #endif