X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Fconfig%2Ftc-bfin.h;fp=gas%2Fconfig%2Ftc-bfin.h;h=c5819fcbac0c422c3f62a6e40d474839165fdb73;hp=9730825d578bf53b56b426e1b1f57d4499027ffa;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/config/tc-bfin.h b/gas/config/tc-bfin.h index 9730825..c5819fc 100644 --- a/gas/config/tc-bfin.h +++ b/gas/config/tc-bfin.h @@ -1,5 +1,5 @@ /* tc-bfin.h - header file for tc-bfin.c - Copyright 2005, 2007 + Copyright 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -39,10 +39,8 @@ #define WORKING_DOT_WORD -extern void bfin_start_line_hook PARAMS ((void)); -extern bfd_boolean bfin_start_label PARAMS ((char *)); +extern bfd_boolean bfin_start_label (char *, char *); -#define md_start_line_hook() bfin_start_line_hook() #define md_number_to_chars number_to_chars_littleendian #define md_convert_frag(b,s,f) as_fatal ("bfin convert_frag\n"); @@ -50,7 +48,7 @@ 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 @@ -61,16 +59,16 @@ extern bfd_boolean bfin_eol_in_insn PARAMS ((char *)); #define DOUBLESLASH_LINE_COMMENTS -#define TC_START_LABEL(ch ,ptr) (ch == ':' && bfin_start_label (ptr)) +#define TC_START_LABEL(c, s, ptr) (c == ':' && bfin_start_label (s, 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 @@ -78,4 +76,10 @@ extern long md_pcrel_from_section PARAMS ((struct fix *, segT)); /* This target is buggy, and sets fix size too large. */ #define TC_FX_SIZE_SLACK(FIX) 2 +extern unsigned int bfin_anomaly_checks; + +/* Anomaly checking */ +#define AC_05000074 0x00000001 +#define ENABLE_AC_05000074 (bfin_anomaly_checks & AC_05000074) + /* end of tc-bfin.h */