1 /* tc-i860.h -- Header file for the i860.
2 Copyright 1991, 1992, 1995, 1998, 2000, 2001, 2002, 2003
3 Free Software Foundation, Inc.
5 Brought back from the dead and completely reworked
6 by Jason Eckhardt <jle@cygnus.com>.
8 This file is part of GAS, the GNU Assembler.
10 GAS is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2, or (at your option)
15 GAS is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License along
21 with GAS; see the file COPYING. If not, write to the Free Software
22 Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
28 #error i860 support requires BFD_ASSEMBLER
37 OP_IMM_SPLIT16
= 0x00008,
38 OP_IMM_BR26
= 0x00010,
39 OP_IMM_BR16
= 0x00020,
47 OP_SEL_GOTOFF
= 0x02000,
55 /* Set the endianness we are using. Default to little endian. */
56 #ifndef TARGET_BYTES_BIG_ENDIAN
57 #define TARGET_BYTES_BIG_ENDIAN 0
60 /* Whether or not the target is big endian. */
61 extern int target_big_endian
;
63 /* BFD target architecture. */
64 #define TARGET_ARCH bfd_arch_i860
66 /* The target BFD format. */
68 #define TARGET_FORMAT (target_big_endian ? "elf32-i860" : "elf32-i860-little")
70 #error i860 GAS currently supports only the ELF object format
73 #define WORKING_DOT_WORD
76 /* Permit temporary numeric labels. */
77 #define LOCAL_LABELS_FB 1
78 #define LISTING_HEADER "GAS for i860"
80 #define md_convert_frag(b,s,f) as_fatal (_("i860_convert_frag\n"));
82 /* Values passed to md_apply_fix3 don't include the symbol value. */
83 #define MD_APPLY_SYM_VALUE(FIX) 0
85 /* No shared lib support, so we don't need to ensure externally
86 visible symbols can be overridden. */
87 #define EXTERN_FORCE_RELOC 0
89 /* Bits for post-processing of a user defined label to check if
90 it has a double colon (Intel syntax only). */
91 extern void i860_check_label (symbolS
*labelsym
);
92 #define tc_check_label(ls) i860_check_label (ls)
94 /* Bits for filling in rs_align_code fragments with NOPs. */
95 extern void i860_handle_align (struct frag
*);
96 #define HANDLE_ALIGN(fragp) i860_handle_align (fragp)
98 #define MAX_MEM_FOR_RS_ALIGN_CODE (3 + 4 + 4)