This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] fix rx-elf libgcc build
- From: Nathan Froyd <froydnj at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: nickc at redhat dot com
- Date: Fri, 8 Oct 2010 09:14:34 -0400
- Subject: [PATCH] fix rx-elf libgcc build
This patch adds a definition of TARGET_EXCEPT_UNWIND_INFO so that libgcc
will build again.
Tested with cross to rx-elf. OK to commit?
-Nathan
* config/rx/rx.c (TARGET_EXCEPT_UNWIND_INFO): Define.
Index: config/rx/rx.c
===================================================================
--- config/rx/rx.c (revision 165177)
+++ config/rx/rx.c (working copy)
@@ -2837,6 +2837,9 @@ rx_memory_move_cost (enum machine_mode m
#undef TARGET_OPTION_OPTIMIZATION
#define TARGET_OPTION_OPTIMIZATION rx_option_optimization
+#undef TARGET_EXCEPT_UNWIND_INFO
+#define TARGET_EXCEPT_UNWIND_INFO sjlj_except_unwind_info
+
struct gcc_target targetm = TARGET_INITIALIZER;
/* #include "gt-rx.h" */