History log of /seL4-test-master/projects/musllibc/arch/sh/pthread_arch.h
Revision Date Author Comments
# cb1bf2f3 01-Nov-2015 Rich Felker <dalias@aerifal.cx>

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.


# aacd3486 27-Feb-2014 Rich Felker <dalias@aerifal.cx>

rename superh port to "sh" for consistency

linux, gcc, etc. all use "sh" as the name for the superh arch. there
was already some inconsistency internally in musl: the dynamic linker
was searching for "ld-musl-sh.path" as its path file despite its own
name being "ld-musl-superh.so.1". there was some sentiment in both
directions as to how to resolve the inconsistency, but overall "sh"
was favored.