Typos in ChangeLog :-(
[deliverable/binutils-gdb.git] / gas / config / tc-bfin.h
index 773030cbb720c7526889a0da5bd69ae95f78fc1f..5544dea169f54703f324f77d000db810bb5ca98a 100644 (file)
@@ -1,12 +1,12 @@
 /* tc-bfin.h - header file for tc-bfin.c
-   Copyright 2005
+   Copyright 2005, 2007, 2008
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
    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)
+   the Free Software Foundation; either version 3, or (at your option)
    any later version.
 
    GAS is distributed in the hope that it will be useful,
@@ -39,8 +39,8 @@
 
 #define WORKING_DOT_WORD
 
-extern void bfin_start_line_hook PARAMS ((void));
-extern bfd_boolean bfin_start_label PARAMS ((char *));
+extern void bfin_start_line_hook (void);
+extern bfd_boolean bfin_start_label (char *);
 
 #define md_start_line_hook()    bfin_start_line_hook()
 #define md_number_to_chars     number_to_chars_littleendian
@@ -50,11 +50,11 @@ extern bfd_boolean bfin_start_label PARAMS ((char *));
 #define LEX_BR 6
 
 #define TC_EOL_IN_INSN(PTR) (bfin_eol_in_insn(PTR) ? 1 : 0)
-extern bfd_boolean bfin_eol_in_insn PARAMS ((char *));
+extern bfd_boolean bfin_eol_in_insn (char *);
+
+/* Almost all instructions of Blackfin contain an = character.  */
+#define TC_EQUAL_IN_INSN(C, NAME) 1
 
-/* The instruction is permitted to contain an = character.  */
-#define TC_EQUAL_IN_INSN(C, NAME) (bfin_name_is_register (NAME) ? 1 : 0)
-extern bfd_boolean bfin_name_is_register PARAMS ((char *));
 #define NOP_OPCODE 0x0000 
 
 #define LOCAL_LABELS_FB 1
@@ -63,16 +63,19 @@ extern bfd_boolean bfin_name_is_register PARAMS ((char *));
 
 #define TC_START_LABEL(ch ,ptr) (ch == ':' && bfin_start_label (ptr))
 #define tc_fix_adjustable(FIX) bfin_fix_adjustable (FIX)
-extern bfd_boolean bfin_fix_adjustable PARAMS ((struct fix *));
+extern bfd_boolean bfin_fix_adjustable (struct fix *);
 
 #define TC_FORCE_RELOCATION(FIX) bfin_force_relocation (FIX)
-extern int bfin_force_relocation PARAMS ((struct fix *));
+extern int bfin_force_relocation (struct fix *);
 
 /* Call md_pcrel_from_section(), not md_pcrel_from().  */
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
-extern long md_pcrel_from_section PARAMS ((struct fix *, segT));
+extern long md_pcrel_from_section (struct fix *, segT);
 
 /* Values passed to md_apply_fix3 don't include symbol values.  */
 #define MD_APPLY_SYM_VALUE(FIX) 0
 
+/* This target is buggy, and sets fix size too large.  */
+#define TC_FX_SIZE_SLACK(FIX) 2
+
 /* end of tc-bfin.h */
This page took 0.024188 seconds and 4 git commands to generate.