Failure to build librseq on ppc
Segher Boessenkool
segher at kernel.crashing.org
Thu Jul 9 10:18:37 AEST 2020
On Wed, Jul 08, 2020 at 08:01:23PM -0400, Mathieu Desnoyers wrote:
> > > #define RSEQ_ASM_OP_CMPEQ(var, expect, label) \
> > > LOAD_WORD "%%r17, %[" __rseq_str(var) "]\n\t" \
> >
> > The way this hardcodes r17 *will* break, btw. The compiler will not
> > likely want to use r17 as long as your code (after inlining etc.!) stays
> > small, but there is Murphy's law.
>
> r17 is in the clobber list, so it should be ok.
What protects r17 *after* this asm statement?
Segher
More information about the Linuxppc-dev
mailing list