[PATCH] powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning

Meelis Roos mroos at linux.ee
Sun Feb 17 06:15:37 AEDT 2019


> Rather than relying on that we can pass an explict end_pos based on
> the sizeof(vrsave). The result should be exactly the same but it's
> more obviously not over-reading/writing the stack and it avoids the
> compiler warning.

It works on my PowerMac G4 with Debian-ports unstable with gcc 8.

-- 
Meelis Roos


More information about the Linuxppc-dev mailing list