musl/arch
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
..
aarch64 fix namespace violations in aarch64/bits/termios.h 2015-09-15 14:28:07 -04:00
arm implement arm eabi mem* functions 2015-08-31 06:35:01 +00:00
i386 introduce new symbol-lookup-free rcrt1/dlstart stage chaining 2015-09-17 06:30:55 +00:00
microblaze new dlstart stage-2 chaining for microblaze 2015-09-17 07:20:36 +00:00
mips fix signal return for sh/fdpic 2015-09-23 18:33:49 +00:00
or1k new dlstart stage-2 chaining for or1k 2015-09-17 07:20:51 +00:00
powerpc new dlstart stage-2 chaining for powerpc 2015-09-17 07:20:58 +00:00
sh fix signal return for sh/fdpic 2015-09-23 18:33:49 +00:00
x32 new dlstart stage-2 chaining for x86_64 and x32 2015-09-17 07:28:44 +00:00
x86_64 new dlstart stage-2 chaining for x86_64 and x32 2015-09-17 07:28:44 +00:00