]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/rl78/rl78.c (TARGET_UNWIND_WORD_MODE): Define.
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Jun 2013 18:44:56 +0000 (18:44 +0000)
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Jun 2013 18:44:56 +0000 (18:44 +0000)
(rl78_unwind_word_mode): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199964 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rl78/rl78.c

index e1b7ce9bd3276d797d20a8f7332ae425ad7ab4a8..baab301427b81d5eb9c865e11839dd7e53855f9a 100644 (file)
@@ -1,3 +1,8 @@
+2013-06-11  DJ Delorie  <dj@redhat.com>
+
+       * config/rl78/rl78.c (TARGET_UNWIND_WORD_MODE): Define.
+       (rl78_unwind_word_mode): New.
+
 2013-06-11  David Malcolm  <dmalcolm@redhat.com>
 
        * final.c (debug_prefix_maps): Make static.
index 82557b8fd5a0aab340c18917b5dd1dcb87b0f67f..c2ed7389bc425ccf3500db91f328b709a9f5e714 100644 (file)
@@ -2739,6 +2739,16 @@ rl78_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED)
 }
 
 \f
+
+#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"