re PR ada/67205 (eliminate No_Implicit_Dynamic_Code restriction violations)
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 25 Nov 2016 09:59:45 +0000 (09:59 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 25 Nov 2016 09:59:45 +0000 (09:59 +0000)
PR ada/67205
* config/mips/mips.c (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Define.

From-SVN: r242868

gcc/ChangeLog
gcc/config/mips/mips.c

index 1b18a47d856a1bcf5037e3cc3840782e45bbbbb2..4f37787861caadeff14ad356035ad6f110492e3f 100644 (file)
@@ -1,3 +1,8 @@
+2016-11-25  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR ada/67205
+       * config/mips/mips.c (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Define.
+
 2016-11-25  Martin Jambor  <mjambor@suse.cz>
 
        PR tree-optimization/70965
index d6464c504302130589e61a4cf6a11629b30dfad6..0e83cb4d9c8fbcac693952369efa8048e357b36f 100644 (file)
@@ -22488,6 +22488,10 @@ mips_promote_function_mode (const_tree type ATTRIBUTE_UNUSED,
 #undef TARGET_HARD_REGNO_SCRATCH_OK
 #define TARGET_HARD_REGNO_SCRATCH_OK mips_hard_regno_scratch_ok
 
+/* The architecture reserves bit 0 for MIPS16 so use bit 1 for descriptors.  */
+#undef TARGET_CUSTOM_FUNCTION_DESCRIPTORS
+#define TARGET_CUSTOM_FUNCTION_DESCRIPTORS 2
+
 struct gcc_target targetm = TARGET_INITIALIZER;
 \f
 #include "gt-mips.h"