diff options
author | Bernd Schmidt <bernds@codesourcery.com> | 2009-08-11 18:44:12 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@codesourcery.com> | 2009-08-11 18:44:12 +0000 |
commit | 6306cd859b2bcf64e05f546679c7d7b4a8baa9a8 (patch) | |
tree | 217162df131351065693a82523c2cf7aeb2bcf40 /gas/config/tc-bfin.h | |
parent | d55cb1c59e12fdb19d25fab16efc564fa5d85a8a (diff) | |
download | gdb-6306cd859b2bcf64e05f546679c7d7b4a8baa9a8.zip gdb-6306cd859b2bcf64e05f546679c7d7b4a8baa9a8.tar.gz gdb-6306cd859b2bcf64e05f546679c7d7b4a8baa9a8.tar.bz2 |
From Jie Zhang <jie.zhang@analog.com>
* config/tc-bfin.h (bfin_anomaly_checks): Declare.
(AC_05000074): Define.
(ENABLE_AC_05000074): Define.
* config/tc-bfin.c (enum bfin_cpu_type): New.
(bfin_cpu_t): Typedef.
(bfin_cpu_type): Define.
(bfin_si_revision): Define.
(bfin_anomaly_checks): Define.
(struct bfin_cpu): New.
(bfin_cpus[]): New. (struct bfin_cpu_isa): Define.
(bfin_isa): New global variable.
(OPTION_MCPU): Define.
(md_longopts[]): Add -mcpu option.
(md_parse_option): Deal with -mcpu option and initialize
bfin_anomaly_checks.
* doc/c-bfin.texi: Rename BFIN to Blackfin throughout. Document
-mcpu option.
* config/bfin-parse.y (gen_multi_instr_1): Check anomaly
05000074.
Diffstat (limited to 'gas/config/tc-bfin.h')
-rw-r--r-- | gas/config/tc-bfin.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/config/tc-bfin.h b/gas/config/tc-bfin.h index 5544dea..2c9f4f3 100644 --- a/gas/config/tc-bfin.h +++ b/gas/config/tc-bfin.h @@ -78,4 +78,10 @@ extern long md_pcrel_from_section (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 */ |