bfd/
[binutils-gdb.git] / gas / config / tc-m68k.h
index 559d5e311ec14cc1a446fe42e5b9729aaa8103da..7f4659276e09bb4cb982d54082366dc258957b4d 100644 (file)
@@ -1,6 +1,6 @@
 /* This file is tc-m68k.h
    Copyright 1987, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
 /* This file is tc-m68k.h
    Copyright 1987, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
-   1998, 1999, 2000, 2001, 2002, 2003, 2004
+   1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
    You should have received a copy of the GNU General Public License
    along with GAS; see the file COPYING.  If not, write to the Free
 
    You should have received a copy of the GNU General Public License
    along with GAS; see the file COPYING.  If not, write to the Free
-   Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-   02111-1307, USA.  */
+   Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
+   02110-1301, USA.  */
 
 #define TC_M68K 1
 
 
 #define TC_M68K 1
 
-#ifdef ANSI_PROTOTYPES
 struct fix;
 struct fix;
-#endif
 
 #define TARGET_BYTES_BIG_ENDIAN 1
 
 
 #define TARGET_BYTES_BIG_ENDIAN 1
 
@@ -53,9 +51,6 @@ struct fix;
 #undef OBJ_COFF_OMIT_OPTIONAL_HEADER
 #endif
 
 #undef OBJ_COFF_OMIT_OPTIONAL_HEADER
 #endif
 
-#ifdef TE_LYNX
-#define TARGET_FORMAT          "coff-m68k-lynx"
-#endif
 #ifdef TE_AUX
 #define TARGET_FORMAT          "coff-m68k-aux"
 #endif
 #ifdef TE_AUX
 #define TARGET_FORMAT          "coff-m68k-aux"
 #endif
@@ -73,7 +68,7 @@ struct fix;
 
 #define TC_COFF_FIX2RTYPE(FIX) tc_coff_fix2rtype(FIX)
 #define TC_COFF_SIZEMACHDEP(frag) tc_coff_sizemachdep(frag)
 
 #define TC_COFF_FIX2RTYPE(FIX) tc_coff_fix2rtype(FIX)
 #define TC_COFF_SIZEMACHDEP(frag) tc_coff_sizemachdep(frag)
-extern int tc_coff_sizemachdep PARAMS ((struct frag *));
+extern int tc_coff_sizemachdep (struct frag *);
 #ifdef TE_SUN3
 /* This variable contains the value to write out at the beginning of
    the a.out file.  The 2<<16 means that this is a 68020 file instead
 #ifdef TE_SUN3
 /* This variable contains the value to write out at the beginning of
    the a.out file.  The 2<<16 means that this is a 68020 file instead
@@ -132,19 +127,19 @@ extern const char *m68k_comment_chars;
 #endif
 #endif
 
 #endif
 #endif
 
-extern void m68k_mri_mode_change PARAMS ((int));
+extern void m68k_mri_mode_change (int);
 #define MRI_MODE_CHANGE(i) m68k_mri_mode_change (i)
 
 #define MRI_MODE_CHANGE(i) m68k_mri_mode_change (i)
 
-extern int m68k_conditional_pseudoop PARAMS ((pseudo_typeS *));
+extern int m68k_conditional_pseudoop (pseudo_typeS *);
 #define tc_conditional_pseudoop(pop) m68k_conditional_pseudoop (pop)
 
 #define tc_conditional_pseudoop(pop) m68k_conditional_pseudoop (pop)
 
-extern void m68k_frob_label PARAMS ((symbolS *));
+extern void m68k_frob_label (symbolS *);
 #define tc_frob_label(sym) m68k_frob_label (sym)
 
 #define tc_frob_label(sym) m68k_frob_label (sym)
 
-extern void m68k_flush_pending_output PARAMS ((void));
+extern void m68k_flush_pending_output (void);
 #define md_flush_pending_output() m68k_flush_pending_output ()
 
 #define md_flush_pending_output() m68k_flush_pending_output ()
 
-extern void m68k_frob_symbol PARAMS ((symbolS *));
+extern void m68k_frob_symbol (symbolS *);
 
 #ifdef BFD_ASSEMBLER
 
 
 #ifdef BFD_ASSEMBLER
 
@@ -167,7 +162,7 @@ while (0)
 
 #ifdef OBJ_ELF
 #define tc_fix_adjustable(X) tc_m68k_fix_adjustable(X)
 
 #ifdef OBJ_ELF
 #define tc_fix_adjustable(X) tc_m68k_fix_adjustable(X)
-extern int tc_m68k_fix_adjustable PARAMS ((struct fix *));
+extern int tc_m68k_fix_adjustable (struct fix *);
 
 /* Target *-*-elf implies an embedded target.  No shared libs.
    *-*-uclinux also requires special casing to prevent GAS from
 
 /* Target *-*-elf implies an embedded target.  No shared libs.
    *-*-uclinux also requires special casing to prevent GAS from
@@ -175,11 +170,11 @@ extern int tc_m68k_fix_adjustable PARAMS ((struct fix *));
 #define EXTERN_FORCE_RELOC \
   ((strcmp (TARGET_OS, "elf") != 0) && (strcmp (TARGET_OS, "uclinux") != 0))
 
 #define EXTERN_FORCE_RELOC \
   ((strcmp (TARGET_OS, "elf") != 0) && (strcmp (TARGET_OS, "uclinux") != 0))
 
-/* Values passed to md_apply_fix3 don't include symbol values.  */
+/* Values passed to md_apply_fix don't include symbol values.  */
 #define MD_APPLY_SYM_VALUE(FIX) 0
 
 #define elf_tc_final_processing m68k_elf_final_processing
 #define MD_APPLY_SYM_VALUE(FIX) 0
 
 #define elf_tc_final_processing m68k_elf_final_processing
-extern void m68k_elf_final_processing PARAMS ((void));
+extern void m68k_elf_final_processing (void);
 #endif
 
 #else /* ! BFD_ASSEMBLER */
 #endif
 
 #else /* ! BFD_ASSEMBLER */
@@ -198,15 +193,14 @@ extern void m68k_elf_final_processing PARAMS ((void));
 
 #define DIFF_EXPR_OK
 
 
 #define DIFF_EXPR_OK
 
-extern void m68k_init_after_args PARAMS ((void));
+extern void m68k_init_after_args (void);
 #define tc_init_after_args m68k_init_after_args
 
 #define tc_init_after_args m68k_init_after_args
 
-extern int m68k_parse_long_option PARAMS ((char *));
+extern int m68k_parse_long_option (char *);
 #define md_parse_long_option m68k_parse_long_option
 
 #define md_operand(x)
 
 #define md_parse_long_option m68k_parse_long_option
 
 #define md_operand(x)
 
-#define TARGET_WORD_SIZE 32
 #define TARGET_ARCH bfd_arch_m68k
 
 extern struct relax_type md_relax_table[];
 #define TARGET_ARCH bfd_arch_m68k
 
 extern struct relax_type md_relax_table[];