* config/{h8500.mt, tc-h8500.c, tc-h8500.h, obj-coffbfd.c,

obj-coffbfd.h}: support for the H8/500
This commit is contained in:
Steve Chamberlain
1993-02-04 20:47:48 +00:00
parent a3b3dbdda5
commit 033400ec8d
6 changed files with 1609 additions and 3 deletions

View File

@ -36,6 +36,7 @@ coff_gnu.h
cplus-dem.c
ebmon29k.mt
h8300.mt
h8500.mt
h8300hds.mt
ho-ansi.h
ho-decstation.h
@ -84,6 +85,8 @@ tc-generic.c
tc-generic.h
tc-h8300.c
tc-h8300.h
tc-h8500.c
tc-h8500.h
tc-i386.c
tc-i386.h
tc-i860.c
@ -139,6 +142,10 @@ echo Done in `pwd`.
#
#
# $Log$
# Revision 1.32 1993/02/04 20:47:35 sac
# * config/{h8500.mt, tc-h8500.c, tc-h8500.h, obj-coffbfd.c,
# obj-coffbfd.h}: support for the H8/500
#
# Revision 1.31 1992/12/30 20:34:14 ian
# Wed Dec 30 10:18:57 1992 Ian Lance Taylor (ian@cygnus.com)
#

3
gas/config/h8500.mt Normal file
View File

@ -0,0 +1,3 @@
TARG_CPU_DEPENDENTS=$(srcdir)/../opcodes/h8500-opc.h
LOCAL_LOADLIBES=../bfd/libbfd.a
TDEFINES=-DBFD_HEADERS -DMANY_SEGMENTS -DBFD

View File

@ -31,7 +31,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
Hacked for BFDness by steve chamberlain
This object module now supports the Hitachi H8/300 and the AMD 29k
This object module now supports the Hitachi H8/{3|5}00 and the AMD 29k
sac@cygnus.com
*/

View File

@ -49,6 +49,11 @@
#define TARGET_FORMAT "coff-h8300"
#endif
#ifdef TC_H8500
#include "coff/h8500.h"
#define TARGET_FORMAT "coff-h8500"
#endif
#ifdef TC_M68K
#include "coff/m68k.h"
#define TARGET_FORMAT "coff-m68k"

1550
gas/config/tc-h8500.c Normal file

File diff suppressed because it is too large Load Diff

41
gas/config/tc-h8500.h Normal file
View File

@ -0,0 +1,41 @@
/* This file is tc-h8500.h
Copyright (C) 1993 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
GAS is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GAS is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GAS; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define TC_H8500
/* This macro translates between an internal fix and an coff reloc type */
#define TC_COFF_FIX2RTYPE(fixP) abort();
#define BFD_ARCH bfd_arch_h8500
#define COFF_MAGIC 0x8500
#define TC_COUNT_RELOC(x) (1)
#define IGNORE_NONSTANDARD_ESCAPES
#define TC_RELOC_MANGLE(a,b,c) tc_reloc_mangle(a,b,c)
#define DO_NOT_STRIP 0
#define DO_STRIP 0
#define LISTING_HEADER "Hitachi H8/500 GAS "
#define NEED_FX_R_TYPE 1
#define RELOC_32 1234
#define COFF_FLAGS 1
/* end of tc-h8500.h */