diff options
author | Brendan Kehoe <brendan@cygnus> | 1992-08-27 22:11:48 +0000 |
---|---|---|
committer | Brendan Kehoe <brendan@cygnus> | 1992-08-27 22:11:48 +0000 |
commit | 6697a1a9114df78bbe2c2ee5741023c826012589 (patch) | |
tree | 6a375678e45ad9a5185f4c831c3a1c8350015ae0 | |
parent | 98c0c56d67b50f59e3e7d9d1981b80592f305bd0 (diff) | |
download | gdb-6697a1a9114df78bbe2c2ee5741023c826012589.zip gdb-6697a1a9114df78bbe2c2ee5741023c826012589.tar.gz gdb-6697a1a9114df78bbe2c2ee5741023c826012589.tar.bz2 |
Add preliminary support for the we32k (AT&T 3b2).
-rw-r--r-- | bfd/hosts/we32k.h | 43 | ||||
-rw-r--r-- | bfd/targets.c | 9 | ||||
-rw-r--r-- | include/ChangeLog | 12 | ||||
-rw-r--r-- | include/bfd.h | 1 | ||||
-rw-r--r-- | include/coff/ChangeLog | 7 |
5 files changed, 69 insertions, 3 deletions
diff --git a/bfd/hosts/we32k.h b/bfd/hosts/we32k.h new file mode 100644 index 0000000..6de135e --- /dev/null +++ b/bfd/hosts/we32k.h @@ -0,0 +1,43 @@ +#include <unistd.h> +#include <fcntl.h> +#include <errno.h> +#include <stdio.h> +#include <sys/types.h> +#include <sys/stat.h> +#include <time.h> +#include <ctype.h> +#include <string.h> +#include <sys/file.h> +#ifndef O_ACCMODE +#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) +#endif + +#ifndef DONTDECLARE_MALLOC +extern PTR EXFUN(malloc,(unsigned)); +extern PTR EXFUN(realloc, (PTR, unsigned)); +#endif +extern int EXFUN(abort,(void)); +extern int EXFUN(free,(PTR)); +extern void EXFUN(bcopy,(char*,char*,int)); +extern void EXFUN(exit,(int)); +extern void EXFUN(bzero,(char *, int)); +extern int strtol(); +#define NO_STDARG 1 + +/* 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" diff --git a/bfd/targets.c b/bfd/targets.c index 2cd84eb..8cd9fff 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -18,8 +18,6 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id$ */ - #include "bfd.h" #include "sysdep.h" #include "libbfd.h" @@ -76,7 +74,7 @@ DESCRIPTION INODE bfd_target, , Targets, Targets - +DOCDD SUBSECTION bfd_target @@ -389,10 +387,13 @@ extern bfd_target m88kbcs_vec; extern bfd_target m68kcoff_vec; extern bfd_target i386coff_vec; extern bfd_target i386aout_vec; +extern bfd_target i386linux_vec; extern bfd_target a29kcoff_big_vec; extern bfd_target trad_core_vec; extern bfd_target rs6000coff_vec; extern bfd_target h8300coff_vec; +extern bfd_target z8kcoff_vec; +extern bfd_target we32kcoff_vec; #ifdef hp9000s800 extern bfd_target hppa_vec; #endif @@ -432,6 +433,7 @@ bfd_target *target_vector[] = { &demo_64_vec, /* Only compiled if host has long-long support */ #endif &h8300coff_vec, + &z8kcoff_vec, &m88kbcs_vec, &srec_vec, /* &tekhex_vec,*/ @@ -447,6 +449,7 @@ bfd_target *target_vector[] = { #ifdef hp9000s800 &hppa_vec, #endif + &we32kcoff_vec, #ifdef TRAD_CORE &trad_core_vec, diff --git a/include/ChangeLog b/include/ChangeLog index 6c448fc..ef1b62d 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,15 @@ +Thu Aug 27 12:59:29 1992 Brendan Kehoe (brendan@cygnus.com) + + * bfd.h: add we32k + +Tue Aug 25 15:07:47 1992 Steve Chamberlain (sac@thepub.cygnus.com) + + * bfd.h: new after Z8000 stuff + +Mon Aug 17 09:01:23 1992 Ken Raeburn (raeburn@cygnus.com) + + * bfd.h: Regenerated after page/segment size changes. + Sat Aug 1 13:46:31 1992 Fred Fish (fnf@cygnus.com) * obstack.h: Merge changes from current FSF version. diff --git a/include/bfd.h b/include/bfd.h index 7c040b6..913e284 100644 --- a/include/bfd.h +++ b/include/bfd.h @@ -649,6 +649,7 @@ enum bfd_architecture bfd_arch_rs6000, /* IBM RS/6000 */ bfd_arch_hppa, /* HP PA RISC */ bfd_arch_z8k, /* Zilog Z8000 */ + bfd_arch_we32k, /* AT&T we32000 family (3b2) */ #define bfd_mach_z8001 1 #define bfd_mach_z8002 2 bfd_arch_last diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog index 2dade78..4acc7b3 100644 --- a/include/coff/ChangeLog +++ b/include/coff/ChangeLog @@ -1,5 +1,12 @@ +Thu Aug 27 13:00:01 1992 Brendan Kehoe (brendan@cygnus.com) + + * symconst.h: comment out cruft at the end of #endif + Tue Aug 25 15:06:49 1992 Steve Chamberlain (sac@thepub.cygnus.com) + * internal.h: added #define for STYP_LIT, removed from a29k and + h8300. + * z8k.h: added z8000 support Thu Jul 16 16:32:00 1992 Steve Chamberlain (sac@thepub.cygnus.com) |