generic-morestack.c (__splitstack_releasecontext): Correct call to __morestack_release_segments.

* generic-morestack.c (__splitstack_releasecontext): Correct call
	to __morestack_release_segments.

From-SVN: r184634
This commit is contained in:
Ian Lance Taylor 2012-02-28 17:43:43 +00:00
parent cdbfc61de4
commit e9e053ebfd
2 changed files with 10 additions and 3 deletions

View File

@ -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>

View File

@ -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