mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
libgcc: arm: fix build for FDPIC target
libgcc/ * unwind-arm-common.inc (__gnu_personality_sigframe_fdpic): Cast last argument of _Unwind_VRS_Set to void *.
This commit is contained in:
parent
78b56a12dd
commit
c2e68ff9ed
@ -248,7 +248,7 @@ __gnu_personality_sigframe_fdpic (_Unwind_State state,
|
||||
+ ARM_SIGCONTEXT_R0;
|
||||
/* Restore regs saved on stack by the kernel. */
|
||||
for (i = 0; i < 16; i++)
|
||||
_Unwind_VRS_Set (context, _UVRSC_CORE, i, _UVRSD_UINT32, sp + 4 * i);
|
||||
_Unwind_VRS_Set (context, _UVRSC_CORE, i, _UVRSD_UINT32, (void *)(sp + 4 * i));
|
||||
|
||||
return _URC_CONTINUE_UNWIND;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user