diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-08 19:24:29 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-08 19:24:29 +0000 |
commit | ce93f5696730614a8659dea6d90fae3cd353745c (patch) | |
tree | e70f7727e5a6a23a1bd0c4bd8b1d28dc7ea54a24 | |
parent | 70ef870f017ec5260ca763cfa225f01dc60d290b (diff) | |
download | fsf-binutils-gdb-ce93f5696730614a8659dea6d90fae3cd353745c.zip fsf-binutils-gdb-ce93f5696730614a8659dea6d90fae3cd353745c.tar.gz fsf-binutils-gdb-ce93f5696730614a8659dea6d90fae3cd353745c.tar.bz2 |
* 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.
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/hosts/i386bsd.h | 22 |
2 files changed, 10 insertions, 18 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 98efe7c..181b472 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 bbabe2a..56d7522 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 |