2009-04-09 Catherine Moore <clm@codesourcery.com>
authorCatherine Moore <clm@redhat.com>
Thu, 9 Apr 2009 15:55:59 +0000 (15:55 +0000)
committerCatherine Moore <clm@redhat.com>
Thu, 9 Apr 2009 15:55:59 +0000 (15:55 +0000)
commit6a32d87432882fa1e7bcfca440b080d6667792c3
tree25d73571a34619a8af0ffe46d21c9ad64ae63226
parentef699244c2601d69942baa0d913875f3eda3dce6
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.
gas/ChangeLog
gas/config/tc-mips.c
gas/doc/c-mips.texi
gas/testsuite/gas/mips/eret.d [new file with mode: 0644]
gas/testsuite/gas/mips/eret.l [new file with mode: 0644]
gas/testsuite/gas/mips/eret.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp