mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Cast _Unwind_GetCFA return to _Unwind_Ptr first
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* unwind.c (unwind_stop): Cast _Unwind_GetCFA return to
|
||||||
|
_Unwind_Ptr first.
|
||||||
|
|
||||||
2012-03-16 David S. Miller <davem@davemloft.net>
|
2012-03-16 David S. Miller <davem@davemloft.net>
|
||||||
|
|
||||||
[BZ #13844]
|
[BZ #13844]
|
||||||
|
@ -68,7 +68,7 @@ unwind_stop (int version, _Unwind_Action actions,
|
|||||||
registered with the old method which would be unwound by this
|
registered with the old method which would be unwound by this
|
||||||
step. */
|
step. */
|
||||||
struct _pthread_cleanup_buffer *oldp = buf->priv.data.cleanup;
|
struct _pthread_cleanup_buffer *oldp = buf->priv.data.cleanup;
|
||||||
void *cfa = (void *) _Unwind_GetCFA (context);
|
void *cfa = (void *) (_Unwind_Ptr) _Unwind_GetCFA (context);
|
||||||
|
|
||||||
if (curp != oldp && (do_longjump || FRAME_LEFT (cfa, curp, adj)))
|
if (curp != oldp && (do_longjump || FRAME_LEFT (cfa, curp, adj)))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user