musl/arch/sh
Rich Felker 234c58467c make sh clone asm fdpic-compatible
clone calls back to a function pointer provided by the caller, which
will actually be a pointer to a function descriptor on fdpic. the
obvious solution is to have a separate version of clone for fdpic, but
I have taken a simpler approach to go around the problem. instead of
calling the pointed-to function from asm, a direct call is made to an
internal C function which then calls the pointed-to function. this
lets the C compiler generate the appropriate calling convention for an
indirect call with no need for ABI-specific assembly.
2015-09-12 02:55:28 +00:00
..
bits fix sh jmp_buf size to match ABI 2015-04-27 20:03:28 -04:00
src make sh clone asm fdpic-compatible 2015-09-12 02:55:28 +00:00
atomic.h inline llsc atomics when building for sh4a 2015-05-19 00:42:07 -04:00
crt_arch.h add .text section directive to all crt_arch.h files missing it 2015-05-22 01:50:05 -04:00
pthread_arch.h rename superh port to "sh" for consistency 2014-02-27 22:03:25 -05:00
reloc.h fix ldso name for sh-nofpu subarch 2015-04-24 13:05:21 -04:00
syscall_arch.h switch to using trap number 31 for syscalls on sh 2015-06-16 15:25:02 +00:00