http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47458

--- Comment #2 from Joel Sherrill <joel at gcc dot gnu.org> 2011-01-25 16:19:28 
UTC ---
I can now build C/C++ for m32r-rtems*.  

m32c-rtems* builds ok without any patches.

OK to commit this and close this PR?

Index: gcc/config/m32r/m32r.c
===================================================================
--- gcc/config/m32r/m32r.c    (revision 169182)
+++ gcc/config/m32r/m32r.c    (working copy)
@@ -1,6 +1,6 @@
 /* Subroutines used for code generation on the Renesas M32R cpu.
    Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-   2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+   2005, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.

    This file is part of GCC.

@@ -210,6 +210,9 @@
 #undef TARGET_TRAMPOLINE_INIT
 #define TARGET_TRAMPOLINE_INIT m32r_trampoline_init

+#undef  TARGET_EXCEPT_UNWIND_INFO
+#define TARGET_EXCEPT_UNWIND_INFO        sjlj_except_unwind_info
+
 struct gcc_target targetm = TARGET_INITIALIZER;


 /* Implement TARGET_HANDLE_OPTION.  */

Reply via email to