Add support for a .secrel32 x86 reloc to allow DWARF" debug information to used
[binutils.git] / gas / config / tc-i370.h
blob81007ac97da216214666ad5e737120fe97fbc820
1 /* tc-i370.h -- Header file for tc-i370.c.
2 Copyright 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002
3 Free Software Foundation, Inc.
4 Written by Ian Lance Taylor, Cygnus Support.
6 This file is part of GAS, the GNU Assembler.
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.
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.
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. */
23 #define TC_I370
25 #ifdef ANSI_PROTOTYPES
26 struct fix;
27 #endif
29 /* Set the endianness we are using. Default to big endian. */
30 #ifndef TARGET_BYTES_BIG_ENDIAN
31 #define TARGET_BYTES_BIG_ENDIAN 1
32 #endif
34 #ifndef BFD_ASSEMBLER
35 #error I370 support requires BFD_ASSEMBLER
36 #endif
38 /* The target BFD architecture. */
39 #define TARGET_ARCH (i370_arch ())
40 extern enum bfd_architecture i370_arch PARAMS ((void));
42 /* Whether or not the target is big endian */
43 extern int target_big_endian;
45 /* The target BFD format. */
46 #define TARGET_FORMAT ("elf32-i370")
48 /* Permit temporary numeric labels. */
49 #define LOCAL_LABELS_FB 1
51 /* $ is used to refer to the current location. */
52 /* #define DOLLAR_DOT */
54 #define DIFF_EXPR_OK /* foo-. gets turned into PC relative relocs */
56 /* Values passed to md_apply_fix3 don't include the symbol value. */
57 #define MD_APPLY_SYM_VALUE(FIX) 0
59 /* We don't need to handle .word strangely. */
60 #define WORKING_DOT_WORD
62 /* Call md_pcrel_from_section, not md_pcrel_from. */
63 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section(FIX, SEC)
64 extern long md_pcrel_from_section PARAMS ((struct fix *, segT));
66 #define md_operand(x)
68 #define tc_comment_chars i370_comment_chars
69 extern const char *i370_comment_chars;