1996-12-28 05:59:26 +00:00
|
|
|
/* This file is tc-tic80.h
|
* config/{tc-alpha.h, tc-arc.h, tc-d10v.h, tc-generic.h, tc-i960.h,
tc-mn10200.h, tc-mn10300.h, tc-sh.h, tc-v850.h, tc-vax.h, tc-w65.h}:
Add default definition of zero for TARGET_BYTES_BIG_ENDIAN.
* config/{tc-arm.h, tc-hppa.h, tc-i386.h, tc-mips.h, tc-ns32k.h,
tc-ppc.h, tc-sparc.h}: Move definition of TARGET_BYTES_BIG_ENDIAN
to a location consistent with the rest of the target include files.
* config/tc-i386.c: Remove misleading comment.
* doc/internals.texi (CPU backend): Add description of function
md_undefined_symbol.
start-sanitize-tic80
* config/tc-tic80.c: Add code to insert predefined symbols into the
symbol table so they can be parsed by the standard expression parser.
Remove custom code that use to parse them.
* config/tc-tic80.h: Move definition of TARGET_BYTES_BIG_ENDIAN
to a location consistent with the rest of the target include files.
end-sanitize-tic80
1997-02-14 07:53:14 +00:00
|
|
|
Copyright (C) 1996, 1997, Free Software Foundation, Inc.
|
1996-12-28 05:59:26 +00:00
|
|
|
|
|
|
|
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
|
1997-02-14 23:05:36 +00:00
|
|
|
along with GAS; see the file COPYING. If not, write to the Free
|
|
|
|
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|
|
|
02111-1307, USA. */
|
1996-12-28 05:59:26 +00:00
|
|
|
|
|
|
|
#define TC_TIC80
|
|
|
|
|
* config/{tc-alpha.h, tc-arc.h, tc-d10v.h, tc-generic.h, tc-i960.h,
tc-mn10200.h, tc-mn10300.h, tc-sh.h, tc-v850.h, tc-vax.h, tc-w65.h}:
Add default definition of zero for TARGET_BYTES_BIG_ENDIAN.
* config/{tc-arm.h, tc-hppa.h, tc-i386.h, tc-mips.h, tc-ns32k.h,
tc-ppc.h, tc-sparc.h}: Move definition of TARGET_BYTES_BIG_ENDIAN
to a location consistent with the rest of the target include files.
* config/tc-i386.c: Remove misleading comment.
* doc/internals.texi (CPU backend): Add description of function
md_undefined_symbol.
start-sanitize-tic80
* config/tc-tic80.c: Add code to insert predefined symbols into the
symbol table so they can be parsed by the standard expression parser.
Remove custom code that use to parse them.
* config/tc-tic80.h: Move definition of TARGET_BYTES_BIG_ENDIAN
to a location consistent with the rest of the target include files.
end-sanitize-tic80
1997-02-14 07:53:14 +00:00
|
|
|
#define TARGET_BYTES_BIG_ENDIAN 0
|
|
|
|
|
1996-12-28 05:59:26 +00:00
|
|
|
#define TARGET_ARCH bfd_arch_tic80
|
1997-02-14 01:04:19 +00:00
|
|
|
#define TARGET_FORMAT "coff-tic80"
|
1996-12-28 05:59:26 +00:00
|
|
|
#define BFD_ARCH TARGET_ARCH
|
1997-01-30 20:35:02 +00:00
|
|
|
|
1997-02-23 04:01:39 +00:00
|
|
|
/* We need the extra field in the fixup struct to put the relocation in. */
|
|
|
|
|
|
|
|
#define NEED_FX_R_TYPE
|
|
|
|
|
1997-02-17 01:01:00 +00:00
|
|
|
/* Define md_number_to_chars as the appropriate standard big endian or
|
|
|
|
little endian function. Should we someday support endianness as a
|
|
|
|
runtime decision, this will need to change. */
|
|
|
|
|
1997-01-30 20:35:02 +00:00
|
|
|
#define md_number_to_chars number_to_chars_littleendian
|
|
|
|
|
1997-02-17 01:01:00 +00:00
|
|
|
/* Define away the call to md_operand in the expression parsing code.
|
|
|
|
This is called whenever the expression parser can't parse the input
|
|
|
|
and gives the assembler backend a chance to deal with it instead. */
|
|
|
|
|
1997-01-30 20:35:02 +00:00
|
|
|
#define md_operand(x)
|
|
|
|
|
|
|
|
#ifdef OBJ_COFF
|
1997-02-17 01:01:00 +00:00
|
|
|
|
1997-01-30 20:35:02 +00:00
|
|
|
/* COFF specific definitions. */
|
|
|
|
|
|
|
|
#define COFF_MAGIC TIC80_ARCH_MAGIC
|
|
|
|
|
|
|
|
/* Whether a reloc should be output. */
|
1997-02-17 01:01:00 +00:00
|
|
|
|
1997-01-30 20:35:02 +00:00
|
|
|
#define TC_COUNT_RELOC(fixp) ((fixp) -> fx_addsy != NULL)
|
|
|
|
|
|
|
|
/* This macro translates between an internal fix and an coff reloc type */
|
1997-02-17 01:01:00 +00:00
|
|
|
|
1997-01-30 20:35:02 +00:00
|
|
|
#define TC_COFF_FIX2RTYPE(fixP) tc_coff_fix2rtype(fixP)
|
1997-02-17 01:01:00 +00:00
|
|
|
|
1997-01-30 20:35:02 +00:00
|
|
|
extern short tc_coff_fix2rtype ();
|
|
|
|
|
|
|
|
#endif /* OBJ_COFF */
|
1996-12-28 05:59:26 +00:00
|
|
|
|
|
|
|
/* end of tc-tic80.h */
|