Index: config/mips/mips.h
===================================================================
--- config/mips/mips.h  (revision 163517)
+++ config/mips/mips.h  (working copy)
@@ -761,7 +761,8 @@ enum mips_code_readable_setting {

  /* A spec that infers the -mdsp setting from an -march argument.  */
  #define BASE_DRIVER_SELF_SPECS \
-  "%{!mno-dsp:%{march=24ke*|march=34k*|march=74k*|march=1004k*: -mdsp}}"
+  "%{!mno-dsp:%{march=24ke*|march=34k*|march=1004k*: -mdsp}} \
+   %{!mno-dspr2:%{march=74k*: -mdspr2}}"

  #define DRIVER_SELF_SPECS BASE_DRIVER_SELF_SPECS

