summaryrefslogtreecommitdiffstats
path: root/libgcc
diff options
context:
space:
mode:
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2014-02-18 17:02:54 +0000
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2014-02-18 17:02:54 +0000
commitdb5ce3d97e7a54e28c1647871d24ef93e387aff4 (patch)
tree90f10f3ad8c53a30f399191c31a4832435b45b93 /libgcc
parentbebe77887b981158eff88d3b7623940bcd3b9789 (diff)
downloadppe42-gcc-db5ce3d97e7a54e28c1647871d24ef93e387aff4.tar.gz
ppe42-gcc-db5ce3d97e7a54e28c1647871d24ef93e387aff4.zip
2014-02-18 Kai Tietz <ktietz@redhat.com>
Jonathan Schleifer <js@webkeks.org> PR objc/56870 * unwind-seh.c (_GCC_specific_handler): Pass proper value to unwind-handler. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207849 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog7
-rw-r--r--libgcc/unwind-seh.c5
2 files changed, 10 insertions, 2 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index c60d2fa7efd..4c3ff9181f6 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,10 @@
+2014-02-18 Kai Tietz <ktietz@redhat.com>
+ Jonathan Schleifer <js@webkeks.org>
+
+ PR objc/56870
+ * unwind-seh.c (_GCC_specific_handler): Pass proper
+ value to unwind-handler.
+
2014-02-12 Joseph Myers <joseph@codesourcery.com>
* soft-fp/adddf3.c: Update from glibc.
diff --git a/libgcc/unwind-seh.c b/libgcc/unwind-seh.c
index 125af979cf8..b4a3ca1e34b 100644
--- a/libgcc/unwind-seh.c
+++ b/libgcc/unwind-seh.c
@@ -313,8 +313,9 @@ _GCC_specific_handler (PEXCEPTION_RECORD ms_exc, void *this_frame,
ms_exc->ExceptionInformation[3] = gcc_context.reg[1];
/* Begin phase 2. Perform the unwinding. */
- RtlUnwindEx (this_frame, gcc_context.ra, ms_exc, gcc_exc,
- ms_orig_context, ms_disp->HistoryTable);
+ RtlUnwindEx (this_frame, gcc_context.ra, ms_exc,
+ (PVOID)gcc_context.reg[0], ms_orig_context,
+ ms_disp->HistoryTable);
}
/* In _Unwind_RaiseException we return _URC_FATAL_PHASE1_ERROR. */
OpenPOWER on IntegriCloud