musl/arch
Rich Felker cb1bf2f321 properly access mcontext_t program counter in cancellation handler
using the actual mcontext_t definition rather than an overlaid pointer
array both improves correctness/readability and eliminates some ugly
hacks for archs with 64-bit registers bit 32-bit program counter.

also fix UB due to comparison of pointers not in a common array
object.
2015-11-02 12:41:49 -05:00
..
aarch64 properly access mcontext_t program counter in cancellation handler 2015-11-02 12:41:49 -05:00
arm properly access mcontext_t program counter in cancellation handler 2015-11-02 12:41:49 -05:00
i386 properly access mcontext_t program counter in cancellation handler 2015-11-02 12:41:49 -05:00
microblaze properly access mcontext_t program counter in cancellation handler 2015-11-02 12:41:49 -05:00
mips properly access mcontext_t program counter in cancellation handler 2015-11-02 12:41:49 -05:00
or1k properly access mcontext_t program counter in cancellation handler 2015-11-02 12:41:49 -05:00
powerpc properly access mcontext_t program counter in cancellation handler 2015-11-02 12:41:49 -05:00
sh properly access mcontext_t program counter in cancellation handler 2015-11-02 12:41:49 -05:00
x32 properly access mcontext_t program counter in cancellation handler 2015-11-02 12:41:49 -05:00
x86_64 properly access mcontext_t program counter in cancellation handler 2015-11-02 12:41:49 -05:00