[musl] Powerpc Linux 'scv' system call ABI proposal take 2

Szabolcs Nagy nsz at port70.net
Thu Apr 16 19:58:00 AEST 2020


* Nicholas Piggin via Libc-alpha <libc-alpha at sourceware.org> [2020-04-16 10:16:54 +1000]:
> Well it would have to test HWCAP and patch in or branch to two 
> completely different sequences including register save/restores yes.
> You could have the same asm and matching clobbers to put the sequence
> inline and then you could patch the one sc/scv instruction I suppose.

how would that 'patch' work?

there are many reasons why you don't
want libc to write its .text


More information about the Linuxppc-dev mailing list