From: Carlos O'D. <ca...@sy...> - 2009-09-09 18:13:34
|
Architectures using function pointers, like hppa, may need to manipulate the function pointer to compute the result of a comparison. However, the SA_HANDLER function pointer exists only in the address space of the traced process, and can't be manipulated by strace. In order to prevent the compiler from generating code to manipulate SA_HANDLER we cast the function pointers to long. Please apply. Cheers, Carlos. ~~~ Fix function pointer comparison for hppa. * signal.c (sys_sigaction): Cast function pointers to long. (sys_rt_sigaction): Cast function pointers to long. |