diff mbox

[rl78] define TARGET_UNWIND_WORD_MODE

Message ID 201306111845.r5BIj7oc019292@greed.delorie.com
State New
Headers show

Commit Message

DJ Delorie June 11, 2013, 6:45 p.m. UTC
Fixes a libstdc++v3 build failure.  Committed.

	* config/rl78/rl78.c (TARGET_UNWIND_WORD_MODE): Define.
	(rl78_unwind_word_mode): New.
diff mbox

Patch

Index: config/rl78/rl78.c
===================================================================
--- config/rl78/rl78.c	(revision 199963)
+++ config/rl78/rl78.c	(working copy)
@@ -2736,9 +2736,19 @@  rl78_return_in_memory (const_tree type, 
 {
   const HOST_WIDE_INT size = int_size_in_bytes (type);
   return (size == -1 || size > 8);
 }
 
 
+
+#undef  TARGET_UNWIND_WORD_MODE
+#define TARGET_UNWIND_WORD_MODE rl78_unwind_word_mode
+
+static enum machine_mode
+rl78_unwind_word_mode (void)
+{
+  return HImode;
+}
+
 struct gcc_target targetm = TARGET_INITIALIZER;
 
 #include "gt-rl78.h"