Patchwork lm32 build error

login
register
mail settings
Submitter Joel Sherrill
Date Aug. 7, 2013, 1:52 p.m.
Message ID <52025116.9070209@oarcorp.com>
Download mbox | patch
Permalink /patch/265517/
State New
Headers show

Comments

Joel Sherrill - Aug. 7, 2013, 1:52 p.m.
Hi

This has been around for a while as PR52466 which has
a patch. I have attached the patch.  Is it OK to apply to
the open branches?

2013-08-07  Joel Sherrill <joel.sherrill@oarcorp.com>

     * configure.ac (lm32*-*-*): Use SJLJ exceptions.

Patch

diff --git a/gcc/configure.ac b/gcc/configure.ac
index f629d15..d00c69b 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -1209,6 +1209,10 @@  force_sjlj_exceptions=yes],
     force_sjlj_exceptions=yes
     enableval=yes
     ;;
+  lm32*-*-*)
+    force_sjlj_exceptions=yes
+    enableval=yes
+    ;;
   *)
     force_sjlj_exceptions=no
     ;;