summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-28 17:43:43 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-28 17:43:43 +0000
commit154b49cdc6e6afa5e55d74887987d0b14fda6eb0 (patch)
treef89bd33b400cf663db72130c6b81d94f47aba71d /libgcc
parent042a76cfb348780f5efd9ae86318ddeaf7be8fc2 (diff)
downloadgcc-154b49cdc6e6afa5e55d74887987d0b14fda6eb0.tar.gz
* generic-morestack.c (__splitstack_releasecontext): Correct call
to __morestack_release_segments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184634 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog9
-rw-r--r--libgcc/generic-morestack.c4
2 files changed, 10 insertions, 3 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 036d46a82b7..8324c743687 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-28 Ian Lance Taylor <iant@google.com>
+
+ * generic-morestack.c (__splitstack_releasecontext): Correct call
+ to __morestack_release_segments.
+
2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
PR target/52390
@@ -38,7 +43,7 @@
PR libitm/52220
* config/darwin-crt-tm.c: Correct typo.
-
+
2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
Patrick Marlier <patrick.marlier@gmail.com>
@@ -51,7 +56,7 @@
PR libitm/52042
* config/darwin-crt-tm.c (getTMCloneTable): New function.
(__doTMRegistrations): Call it.
- (__doTMdeRegistrations): Likewise.
+ (__doTMdeRegistrations): Likewise.
2012-01-15 Georg-Johann Lay <avr@gjlay.de>
Anatoly Sokolov <aesok@post.ru>
diff --git a/libgcc/generic-morestack.c b/libgcc/generic-morestack.c
index 6182a379558..fad3d9b02a3 100644
--- a/libgcc/generic-morestack.c
+++ b/libgcc/generic-morestack.c
@@ -1104,7 +1104,9 @@ __splitstack_resetcontext (void *context[10], size_t *size)
void
__splitstack_releasecontext (void *context[10])
{
- __morestack_release_segments (context[MORESTACK_SEGMENTS], 1);
+ __morestack_release_segments (((struct stack_segment **)
+ &context[MORESTACK_SEGMENTS]),
+ 1);
}
/* Like __splitstack_block_signals, but operating on CONTEXT, rather