1 /* This file is tc-z8k.h 2 Copyright 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1995, 1997, 1998, 3 2000 4 Free Software Foundation, Inc. 5 6 This file is part of GAS, the GNU Assembler. 7 8 GAS is free software; you can redistribute it and/or modify 9 it under the terms of the GNU General Public License as published by 10 the Free Software Foundation; either version 2, or (at your option) 11 any later version. 12 13 GAS is distributed in the hope that it will be useful, 14 but WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 GNU General Public License for more details. 17 18 You should have received a copy of the GNU General Public License 19 along with GAS; see the file COPYING. If not, write to the Free 20 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 21 02111-1307, USA. */ 22 23 #define TC_Z8K 24 #define TARGET_BYTES_BIG_ENDIAN 1 25 26 struct internal_reloc; 27 28 #define WORKING_DOT_WORD 29 30 #ifndef BFD_ASSEMBLER 31 #define LOCAL_LABEL(x) 0 32 #endif 33 34 /* This macro translates between an internal fix and a coff reloc type. */ 35 #define TC_COFF_FIX2RTYPE(fixP) abort (); 36 37 #define BFD_ARCH bfd_arch_z8k 38 #define COFF_MAGIC 0x8000 39 #define TC_COUNT_RELOC(x) (1) 40 #define IGNORE_NONSTANDARD_ESCAPES 41 #undef WARN_SIGNED_OVERFLOW_WORD 42 43 #define TC_RELOC_MANGLE(s,a,b,c) tc_reloc_mangle(a,b,c) 44 extern void tc_reloc_mangle 45 PARAMS ((struct fix *, struct internal_reloc *, bfd_vma)); 46 47 #define DO_NOT_STRIP 0 48 #define LISTING_HEADER "Zilog Z8000 GAS " 49 #define NEED_FX_R_TYPE 1 50 #define RELOC_32 1234 51 52 #define md_operand(x) 53