[Patch] [MIPS] Add -mips16e option to gas

Catherine Moore clm@codesourcery.com
Fri May 21 16:32:00 GMT 2010


This patch adds the -mips16e option to gas enabling backwards 
compatibility with the SDE toolchain.

Does this look okay to install?
Thanks,
Catherine

gas/
* config/tc-mips.c (md_longopts): Support mips16e and no-mips16e.


Index: tc-mips.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-mips.c,v
retrieving revision 1.417
diff -u -r1.417 tc-mips.c
--- tc-mips.c   25 Feb 2010 11:15:47 -0000      1.417
+++ tc-mips.c   21 May 2010 16:17:03 -0000
@@ -11358,6 +11358,9 @@
    {"mno-smartmips", no_argument, NULL, OPTION_NO_SMARTMIPS},
    {"mdspr2", no_argument, NULL, OPTION_DSPR2},
    {"mno-dspr2", no_argument, NULL, OPTION_NO_DSPR2},
+  /* SDE backward compatibility alias.  */
+  {"mips16e", no_argument, NULL, OPTION_MIPS16},
+  {"no-mips16e", no_argument, NULL, OPTION_NO_MIPS16},

    /* Old-style architecture options.  Don't add more of these.  */
    {"m4650", no_argument, NULL, OPTION_M4650},



More information about the Binutils mailing list