re PR libobjc/16448 (FAIL: objc/execute/IMP.m compilation, -O0)

2004-09-16  Andrew Pinski  <pinskia@physics.uc.edu>

        PR libobjc/16448
        * exception.c: Include config.h
        (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
        SJLJ_EXCEPTIONS.
        * configure.ac: Find out what exception handling code we use.
        * configure: Regenerate.
        * config.h.in: New file, regenerate.

From-SVN: r88379
This commit is contained in:
Andrew Pinski 2004-10-01 03:46:39 +00:00 committed by Andrew Pinski
parent bd042dbb63
commit 049bc40445
5 changed files with 457 additions and 53 deletions

View file

@ -25,6 +25,7 @@ Boston, MA 02111-1307, USA. */
executable file might be covered by the GNU General Public License. */
#include <stdlib.h>
#include "config.h"
#include "objc/objc-api.h"
#include "unwind.h"
#include "unwind-pe.h"
@ -356,7 +357,7 @@ objc_exception_throw (id value)
header->base.exception_cleanup = __objc_exception_cleanup;
header->value = value;
#ifdef _GLIBCXX_SJLJ_EXCEPTIONS
#ifdef SJLJ_EXCEPTIONS
_Unwind_SjLj_RaiseException (&header->base);
#else
_Unwind_RaiseException (&header->base);