musl/arch/mips
Rich Felker b61df2294f fix signal return for sh/fdpic
the restorer function pointer provided in the kernel sigaction
structure is interpreted by the kernel as a raw code address, not a
function descriptor.

this commit moves the declarations of the __restore and __restore_rt
symbols to ksigaction.h so that arch versions of the file can override
them, and introduces a version for sh which declares them as objects
rather than functions.

an alternate solution would have been defining SA_RESTORER to 0 so
that the functions are not used, but this both requires executable
stack (since the sh kernel does not have a vdso page with permanent
restorer functions) and crashes on qemu user-level emulation.
2015-09-23 18:33:49 +00:00
..
bits socket.h: cleanup/reorder mips and powerpc bits/socket.h 2015-07-21 19:14:58 -04:00
atomic.h add explicit barrier operation to internal atomic.h API 2014-10-10 18:17:09 -04:00
crt_arch.h fix stack alignment code in mips crt_arch.h 2015-05-24 23:03:47 -04:00
ksigaction.h fix signal return for sh/fdpic 2015-09-23 18:33:49 +00:00
pthread_arch.h fix local-dynamic model TLS on mips and powerpc 2015-06-25 22:22:00 +00:00
reloc.h new dlstart stage-2 chaining for mips 2015-09-17 07:20:43 +00:00
syscall_arch.h fix __syscall declaration with wrong visibility in syscall_arch.h 2015-04-30 16:22:57 -04:00