2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
[binutils-gdb.git] / gas / config / tc-maxq.h
index 073578549aae096648eb5541d9e48e62910ac5ce..647138d4b069bc8b276633791e5c9d5fee5dfd0a 100644 (file)
@@ -1,6 +1,6 @@
-/* tc-maxq.h -- Header file for the asssembler(MAXQ)
+/* tc-maxq.h -- Header file for the assembler(MAXQ)
 
-   Copyright 2004  Free Software Foundation, Inc.
+   Copyright 2004, 2005, 2006, 2007  Free Software Foundation, Inc.
 
    Contributed by HCL Technologies Pvt. Ltd.
 
@@ -11,7 +11,7 @@
 
    GAS is free software; you can redistribute it and/or modify it under the
    terms of the GNU General Public License as published by the Free Software
-   Foundation; either version 2, or (at your option) any later version.
+   Foundation; either version 3, or (at your option) any later version.
 
    GAS is distributed in the hope that it will be useful, but WITHOUT ANY
    WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
@@ -50,10 +50,6 @@ typedef enum _RELOC_ENUM
 }
 RELOC_ENUM;
 
-#ifndef NEED_FX_R_TYPE
-#define NEED_FX_R_TYPE         /* For defining our own rloc type.  */
-#endif
-
 #ifndef MAX_STACK
 #define MAX_STACK 0xf
 #endif
@@ -86,9 +82,6 @@ RELOC_ENUM;
 /* Locally defined symbol shoudnot be adjusted to section symbol.  */
 #define tc_fix_adjustable(FIX) 0
 
-#define TC_COFF_SIZEMACHDEP(frag) tc_coff_sizemachdep (frag)
-extern int tc_coff_sizemachdep (fragS * frag);
-
 /* This specifies that the target has been defined as little endian -
    default.  */
 #define TARGET_BYTES_BIG_ENDIAN 0
@@ -107,23 +100,6 @@ extern int tc_coff_sizemachdep (fragS * frag);
 #define TARGET_MACH            maxq20_mach ()
 extern unsigned long maxq20_mach (void);
 
-/* COFF format.  */
-#ifndef BFD_ASSEMBLER
-
-/* Defines the magic number we are using for the maxq-coff. defined in coff.h.  */
-#define COFF_MAGIC   MAXQ20MAGIC
-#define BFD_ARCH     bfd_arch_maxq
-
-/* Whether the reloc should be outputted to the file or not. This
-   is only true if the symbol we are relocating for is not empty.  */
-#define TC_COUNT_RELOC(fixp) ((fixp) -> fx_addsy != NULL)
-
-/* This macro translates between an internal fix and an coff reloc type.  */
-#define TC_COFF_FIX2RTYPE(fixP) tc_coff_fix2rtype (fixP)
-extern short tc_coff_fix2rtype (struct fix *);
-
-#endif /* BFD_ASSEMBLER */
-
 #ifndef LEX_AT
 /* We define this macro to generate a fixup for a data allocation pseudo-op.  */
 #define TC_CONS_FIX_NEW(FRAG,OFF,LEN,EXP) maxq20_cons_fix_new (FRAG,OFF,LEN,EXP)
@@ -140,10 +116,10 @@ extern void maxq20_cons_fix_new (fragS *, unsigned int, unsigned int, expression
 extern void maxq_number_to_chars (char *, valueT, int);
 
 /* If this macro is defined, it is a pointer to a NULL terminated list of
-   chracters which may appear in an operand. GAS already assumes that all
-   alphanumeric chracters, and '$', '.', and '_' may appear in an
+   characters which may appear in an operand. GAS already assumes that all
+   alphanumeric characters, and '$', '.', and '_' may appear in an
    operand("symbol_char"in app.c). This macro may be defined to treat
-   additional chracters as appearing in an operand. This affects the way in
+   additional characters as appearing in an operand. This affects the way in
    which GAS removes whitespaces before passing the string to md_assemble.  */
 #define tc_symbol_chars_extra_symbol_chars