diff options
author | Catherine Moore <clm@redhat.com> | 2009-04-09 15:55:59 +0000 |
---|---|---|
committer | Catherine Moore <clm@redhat.com> | 2009-04-09 15:55:59 +0000 |
commit | 6a32d87432882fa1e7bcfca440b080d6667792c3 (patch) | |
tree | 25d73571a34619a8af0ffe46d21c9ad64ae63226 /gas/doc/c-mips.texi | |
parent | ef699244c2601d69942baa0d913875f3eda3dce6 (diff) | |
download | gdb-6a32d87432882fa1e7bcfca440b080d6667792c3.zip gdb-6a32d87432882fa1e7bcfca440b080d6667792c3.tar.gz gdb-6a32d87432882fa1e7bcfca440b080d6667792c3.tar.bz2 |
2009-04-09 Catherine Moore <clm@codesourcery.com>
* config/tc-mips.c (mips_fix_24k): Declare.
(check_for_24k_errata): New.
(mips_cleanup): Call check_for_24k_errata.
(start_noreorder): Likewise.
(md_mips_end): Likewise.
(s_change_sec): Likewise.
(s_change_section): Likewise.
(append_insn): Call check_for_24k_errata. Prevent
ERET/DERET instructions from being moved into delay
slots.
(OPTION_FIX_24K): New.
(OPTION_NO_FIX_24k) New.
(md_longopts): Add "mfix-24k" and "mno-fix-24k".
(md_parse_option): Handle fix-24k options.
(md_show_usage): Display fix-24k options.
* doc/c-mips.texi: Document.
* testsuite/gas/mips/mips.exp: Run new tests.
* testsuite/gas/mips/eret.s: New test.
* testsuite/gas/mips/eret.d: New test output.
* testsuite/gas/mips/eret.l: New test output.
Diffstat (limited to 'gas/doc/c-mips.texi')
-rw-r--r-- | gas/doc/c-mips.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/doc/c-mips.texi b/gas/doc/c-mips.texi index 91bd822..695176b 100644 --- a/gas/doc/c-mips.texi +++ b/gas/doc/c-mips.texi @@ -182,6 +182,10 @@ all problems in hand-written assembler code. @itemx -no-mfix-vr4130 Insert nops to work around the VR4130 @samp{mflo}/@samp{mfhi} errata. +@item -mfix-24k +@itemx -no-mfix-24k +Insert nops to work around the 24K @samp{eret}/@samp{deret} errata. + @item -m4010 @itemx -no-m4010 Generate code for the LSI @sc{r4010} chip. This tells the assembler to |