From: Rich Felker Date: Tue, 8 Mar 2022 22:21:49 +0000 (-0500) Subject: fix __WORDSIZE on x32 sys/user.h X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=760f5d7efed4d4761875334f8c4e6398be308cc9;p=musl fix __WORDSIZE on x32 sys/user.h sys/reg.h already had it right as 32, to which it was explicitly changed when commit 664cd341921007cea52c8891f27ce35927dca378 derived x32 from x86_64. but the copy exposed in sys/user.h was missed. --- diff --git a/arch/x32/bits/user.h b/arch/x32/bits/user.h index 4073cc06..eac82a14 100644 --- a/arch/x32/bits/user.h +++ b/arch/x32/bits/user.h @@ -1,5 +1,5 @@ #undef __WORDSIZE -#define __WORDSIZE 64 +#define __WORDSIZE 32 typedef struct user_fpregs_struct { uint16_t cwd, swd, ftw, fop;