1999-05-03 07:29:11 +00:00
|
|
|
/* tc-a29k.h -- Assemble for the AMD 29000.
|
2005-03-24 20:40:28 +00:00
|
|
|
Copyright 1989, 1990, 1991, 1992, 1993, 1995, 1998, 2003, 2005
|
2001-03-08 23:24:26 +00:00
|
|
|
Free Software Foundation, Inc.
|
1999-05-03 07:29:11 +00:00
|
|
|
|
2005-03-24 20:40:28 +00:00
|
|
|
This file is part of GAS, the GNU Assembler.
|
1999-05-03 07:29:11 +00:00
|
|
|
|
2005-03-24 20:40:28 +00:00
|
|
|
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.
|
1999-05-03 07:29:11 +00:00
|
|
|
|
2005-03-24 20:40:28 +00:00
|
|
|
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.
|
1999-05-03 07:29:11 +00:00
|
|
|
|
2005-03-24 20:40:28 +00:00
|
|
|
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
|
2005-05-05 09:13:19 +00:00
|
|
|
Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
|
|
|
|
02110-1301, USA. */
|
1999-05-03 07:29:11 +00:00
|
|
|
|
|
|
|
#define TC_A29K
|
|
|
|
|
|
|
|
#define TARGET_BYTES_BIG_ENDIAN 1
|
|
|
|
|
|
|
|
#define WORKING_DOT_WORD
|
|
|
|
|
|
|
|
#define LEX_DOLLAR 1
|
|
|
|
|
|
|
|
#define tc_unrecognized_line(c) a29k_unrecognized_line (c)
|
2005-03-24 20:40:28 +00:00
|
|
|
extern int a29k_unrecognized_line (int);
|
1999-05-03 07:29:11 +00:00
|
|
|
|
2005-03-24 20:40:28 +00:00
|
|
|
#define tc_headers_hook(a) ; /* Not used. */
|
|
|
|
#define tc_headers_hook(a) ; /* Not used. */
|
|
|
|
#define tc_crawl_symbol_chain(a) ; /* Not used. */
|
|
|
|
#define tc_coff_symbol_emit_hook(a) ; /* Not used. */
|
1999-05-03 07:29:11 +00:00
|
|
|
|
|
|
|
#define AOUT_MACHTYPE 101
|
2005-03-24 20:40:28 +00:00
|
|
|
#define TC_COFF_FIX2RTYPE(fix_ptr) tc_coff_fix2rtype (fix_ptr)
|
1999-05-03 07:29:11 +00:00
|
|
|
#define BFD_ARCH bfd_arch_a29k
|
|
|
|
#define COFF_MAGIC SIPFBOMAGIC
|
|
|
|
/* Should the reloc be output ?
|
2003-11-21 00:24:40 +00:00
|
|
|
on the 29k, this is true only if there is a symbol attached.
|
2005-03-24 20:40:28 +00:00
|
|
|
on the h8, this is always true, since no fixup is done. */
|
1999-05-03 07:29:11 +00:00
|
|
|
#define TC_COUNT_RELOC(x) (x->fx_addsy)
|
|
|
|
#define TC_CONS_RELOC RELOC_32
|
|
|
|
|
|
|
|
#define COFF_FLAGS F_AR32W
|
|
|
|
#define reloc_type int
|
|
|
|
#define NEED_FX_R_TYPE
|
|
|
|
|
|
|
|
#define ZERO_BASED_SEGMENTS
|
|
|
|
|