Le 26/05/2021 à 03:13, Richard Henderson a écrit :
> Sparc v8plus is a sparc64 running a 32-bit ABI.
> The significant difference vs sparc32 is that all 64 bits of
> the %g and %o registers, plus %xcc, are saved across interrupts,
> context switches, and signals.
> 
> There's a special marker in the saved %psr value that's used to
> indicate that %xcc and the high bits are present in the frame.
> 
> Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
> ---
> 
> I have been unable to find an extant v8plus distribution with
> which to test this beyond compilation.  Thus the RFC.  I know
> debian used to have one, but they have moved to pure sparc64 now.
> 
> Thoughts?

In my test, I use debian wheezy, and it seems to be sparc32plus v8+:

$ file chroot/sparc/wheezy/bin/ls
chroot/sparc/wheezy/bin/ls: ELF 32-bit MSB executable, SPARC32PLUS, V8+ 
Required, total store
ordering, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, 
for GNU/Linux
2.6.26, BuildID[sha1]=3fdfb5b9f829824f6110b7a2d91efd9947614263, stripped

I get wheezy from http://archive.debian.org/debian

If you want I can make a try with your patch.

Thanks,
Laurent

Reply via email to