On 26/04/2021 04:53, Richard Henderson wrote: > There are only a few differences in sparc32 vs sparc64. > This fixes target_shmlba for sparc32plus, which is v9. > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > --- > linux-user/sparc/target_syscall.h | 42 +++++++++++++++++++++-------- > linux-user/sparc64/target_syscall.h | 36 +------------------------ > 2 files changed, 32 insertions(+), 46 deletions(-) > > diff --git a/linux-user/sparc/target_syscall.h > b/linux-user/sparc/target_syscall.h > index d8ea04ea83..15d531f389 100644 > --- a/linux-user/sparc/target_syscall.h > +++ b/linux-user/sparc/target_syscall.h > @@ -3,18 +3,34 @@ ... > -#define UNAME_MACHINE "sparc" > +#ifdef TARGET_SPARC64 > +# define UNAME_MACHINE "sparc64" > +#else > +# define UNAME_MACHINE "sparc" > +#endif > #define UNAME_MINIMUM_RELEASE "2.6.32"
Is it intended to have now an uname defined to "sparc64" with sparc32plus? (it was "sparc" before this change). Thanks, Laurent