1 /* tc-visium.h -- Header file for tc-visium.c.
3 Copyright (C) 2005-2019 Free Software Foundation, Inc.
5 This file is part of GAS, the GNU Assembler.
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 2, or (at your option)
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.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
20 MA 02110-1301, USA. */
24 #define LISTING_HEADER "VISIUM GAS "
26 /* The target BFD architecture. */
27 #define TARGET_ARCH bfd_arch_visium
29 #define TARGET_BYTES_BIG_ENDIAN 1
31 #define TARGET_FORMAT "elf32-visium"
33 /* Permit temporary numeric labels. */
34 #define LOCAL_LABELS_FB 1
36 /* .-foo gets turned into PC relative relocs. */
39 /* We don't support external symbols overriding. */
40 #define EXTERN_FORCE_RELOC 0
42 /* We don't need to handle .word strangely. */
43 #define WORKING_DOT_WORD
45 #define tc_fix_adjustable(FIXP) visium_fix_adjustable (FIXP)
46 extern bfd_boolean
visium_fix_adjustable (struct fix
*);
48 #define HANDLE_ALIGN(FRAGP) \
49 if ((FRAGP)->fr_type == rs_align_code) \
50 visium_handle_align (FRAGP);
51 extern void visium_handle_align (struct frag
*);
53 #define md_relax_frag(segment, fragp, stretch) \
54 visium_relax_frag (segment, fragp, stretch)
55 extern int visium_relax_frag (asection
*, struct frag
*, long);
57 /* Call md_pcrel_from_section, not md_pcrel_from. */
58 #define MD_PCREL_FROM_SECTION(FIXP, SEC) visium_pcrel_from_section (FIXP, SEC)
59 extern long visium_pcrel_from_section (struct fix
*, segT
);
61 /* Values passed to md_apply_fix3 don't include the symbol value. */
62 #define MD_APPLY_SYM_VALUE(FIX) 0
66 #define tc_comment_chars visium_comment_chars
67 extern const char *visium_comment_chars
;
69 #define TARGET_USE_CFIPOP 1
71 #define tc_cfi_frame_initial_instructions visium_cfi_frame_initial_instructions
72 extern void visium_cfi_frame_initial_instructions (void);
74 #define tc_regname_to_dw2regnum visium_regname_to_dw2regnum
75 extern int visium_regname_to_dw2regnum (char *regname
);
77 #define DWARF2_LINE_MIN_INSN_LENGTH 4
78 #define DWARF2_DEFAULT_RETURN_COLUMN 21
79 #define DWARF2_CIE_DATA_ALIGNMENT (-4)
This page took 0.031728 seconds and 4 git commands to generate.