edd190b01db9515c3162af029e04415bc7ae3fda
[platform/upstream/binutils.git] / gas / config / tc-arc.h
1 /* tc-arc.h - Macros and type defines for the ARC.
2    Copyright (C) 1994, 1995 Free Software Foundation, Inc.
3    Contributed by Doug Evans (dje@cygnus.com).
4
5    This file is part of GAS, the GNU Assembler.
6
7    GAS is free software; you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as
9    published by the Free Software Foundation; either version 2,
10    or (at your option) any later version.
11
12    GAS is distributed in the hope that it will be useful, but
13    WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
15    the GNU General Public License for more details.
16
17    You should have received a copy of the GNU General Public
18    License along with GAS; see the file COPYING.  If not, write
19    to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
20
21 #define TC_ARC 1
22
23 #define LOCAL_LABELS_FB
24
25 #define TARGET_ARCH bfd_arch_arc
26 #define TARGET_FORMAT "elf32-arc"
27 #define LOCAL_LABEL(name)       ((name)[0] == '.' && (name)[1] == 'L')
28 #define WORKING_DOT_WORD
29
30 #define LISTING_HEADER "ARC GAS "
31
32 #define TC_HANDLES_FX_DONE
33
34 #if 0
35 /* Extra stuff that we need to keep track of for each symbol.  */
36 struct arc_tc_sy
37 {
38   /* The real name, if the symbol was renamed.  */
39   char *real_name;
40 };
41
42 #define TC_SYMFIELD_TYPE struct arc_tc_sy
43
44 /* Finish up the symbol.  */
45 extern int arc_frob_symbol PARAMS ((struct symbol *));
46 #define tc_frob_symbol(sym, punt) punt = arc_frob_symbol (sym)
47 #endif