* frags.h: Remove ANSI_PROTOTYPES conditional code.
[deliverable/binutils-gdb.git] / gas / config / tc-i370.h
1 /* tc-i370.h -- Header file for tc-i370.c.
2 Copyright 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002, 2005
3 Free Software Foundation, Inc.
4 Written by Ian Lance Taylor, Cygnus Support.
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, 51 Franklin Street - Fifth Floor, Boston, MA
21 02110-1301, USA. */
22
23 #define TC_I370
24
25 struct fix;
26
27 /* Set the endianness we are using. Default to big endian. */
28 #ifndef TARGET_BYTES_BIG_ENDIAN
29 #define TARGET_BYTES_BIG_ENDIAN 1
30 #endif
31
32 #ifndef BFD_ASSEMBLER
33 #error I370 support requires BFD_ASSEMBLER
34 #endif
35
36 /* The target BFD architecture. */
37 #define TARGET_ARCH (i370_arch ())
38 extern enum bfd_architecture i370_arch (void);
39
40 /* Whether or not the target is big endian. */
41 extern int target_big_endian;
42
43 /* The target BFD format. */
44 #define TARGET_FORMAT ("elf32-i370")
45
46 /* Permit temporary numeric labels. */
47 #define LOCAL_LABELS_FB 1
48
49 /* $ is used to refer to the current location. */
50 /* #define DOLLAR_DOT */
51
52 /* foo-. gets turned into PC relative relocs. */
53 #define DIFF_EXPR_OK
54
55 /* Values passed to md_apply_fix don't include the symbol value. */
56 #define MD_APPLY_SYM_VALUE(FIX) 0
57
58 /* We don't need to handle .word strangely. */
59 #define WORKING_DOT_WORD
60
61 /* Call md_pcrel_from_section, not md_pcrel_from. */
62 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
63 extern long md_pcrel_from_section (struct fix *, segT);
64
65 #define md_operand(x)
66
67 #define tc_comment_chars i370_comment_chars
68 extern const char *i370_comment_chars;
This page took 0.069748 seconds and 4 git commands to generate.