make microblaze build with -Wwrite-strings
[deliverable/binutils-gdb.git] / gas / config / tc-i370.h
... / ...
CommitLineData
1/* tc-i370.h -- Header file for tc-i370.c.
2 Copyright (C) 1994-2016 Free Software Foundation, Inc.
3 Written by Ian Lance Taylor, Cygnus Support.
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 published by
9 the Free Software Foundation; either version 3, or (at your option)
10 any later version.
11
12 GAS is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GAS; see the file COPYING. If not, write to the Free
19 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
20 02110-1301, USA. */
21
22#define TC_I370
23
24struct fix;
25
26/* Set the endianness we are using. Default to big endian. */
27#ifndef TARGET_BYTES_BIG_ENDIAN
28#define TARGET_BYTES_BIG_ENDIAN 1
29#endif
30
31/* The target BFD architecture. */
32#define TARGET_ARCH (i370_arch ())
33extern enum bfd_architecture i370_arch (void);
34
35/* Whether or not the target is big endian. */
36extern int target_big_endian;
37
38/* The target BFD format. */
39#define TARGET_FORMAT ("elf32-i370")
40
41/* Permit temporary numeric labels. */
42#define LOCAL_LABELS_FB 1
43
44/* $ is used to refer to the current location. */
45/* #define DOLLAR_DOT */
46
47/* foo-. gets turned into PC relative relocs. */
48#define DIFF_EXPR_OK
49
50/* Values passed to md_apply_fix don't include the symbol value. */
51#define MD_APPLY_SYM_VALUE(FIX) 0
52
53/* We don't need to handle .word strangely. */
54#define WORKING_DOT_WORD
55
56/* Call md_pcrel_from_section, not md_pcrel_from. */
57#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
58extern long md_pcrel_from_section (struct fix *, segT);
59
60#define md_operand(x)
61
62#define tc_comment_chars i370_comment_chars
63extern const char *i370_comment_chars;
This page took 0.024352 seconds and 4 git commands to generate.