Switch to GPLv3
[deliverable/binutils-gdb.git] / gas / config / tc-i370.h
CommitLineData
5b93d8bb 1/* tc-i370.h -- Header file for tc-i370.c.
ec2655a6 2 Copyright 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002, 2005, 2007
f7e42eb4 3 Free Software Foundation, Inc.
5b93d8bb
AM
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
ec2655a6 10 the Free Software Foundation; either version 3, or (at your option)
5b93d8bb
AM
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
4b4da160
NC
20 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
21 02110-1301, USA. */
5b93d8bb
AM
22
23#define TC_I370
24
5b93d8bb 25struct fix;
5b93d8bb
AM
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
5b93d8bb
AM
32/* The target BFD architecture. */
33#define TARGET_ARCH (i370_arch ())
ea1562b3 34extern enum bfd_architecture i370_arch (void);
5b93d8bb 35
ea1562b3 36/* Whether or not the target is big endian. */
5b93d8bb
AM
37extern int target_big_endian;
38
39/* The target BFD format. */
5b93d8bb 40#define TARGET_FORMAT ("elf32-i370")
5b93d8bb
AM
41
42/* Permit temporary numeric labels. */
43#define LOCAL_LABELS_FB 1
44
45/* $ is used to refer to the current location. */
46/* #define DOLLAR_DOT */
47
ea1562b3
NC
48/* foo-. gets turned into PC relative relocs. */
49#define DIFF_EXPR_OK
a161fe53 50
55cf6793 51/* Values passed to md_apply_fix don't include the symbol value. */
a161fe53 52#define MD_APPLY_SYM_VALUE(FIX) 0
5b93d8bb
AM
53
54/* We don't need to handle .word strangely. */
55#define WORKING_DOT_WORD
56
94f592af 57/* Call md_pcrel_from_section, not md_pcrel_from. */
ea1562b3
NC
58#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
59extern long md_pcrel_from_section (struct fix *, segT);
5b93d8bb
AM
60
61#define md_operand(x)
184e65b1
TR
62
63#define tc_comment_chars i370_comment_chars
64extern const char *i370_comment_chars;
This page took 0.389585 seconds and 4 git commands to generate.