[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH] linux-user/sparc: Implement v8plus signals
From: |
Laurent Vivier |
Subject: |
Re: [RFC PATCH] linux-user/sparc: Implement v8plus signals |
Date: |
Tue, 15 Jun 2021 08:48:19 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
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.henderson@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
- Re: [RFC PATCH] linux-user/sparc: Implement v8plus signals,
Laurent Vivier <=