fix __WORDSIZE on x32 sys/user.h
authorRich Felker <dalias@aerifal.cx>
Tue, 8 Mar 2022 22:21:49 +0000 (17:21 -0500)
committerRich Felker <dalias@aerifal.cx>
Tue, 8 Mar 2022 22:21:49 +0000 (17:21 -0500)
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.

arch/x32/bits/user.h

index 4073cc0..eac82a1 100644 (file)
@@ -1,5 +1,5 @@
 #undef __WORDSIZE
-#define __WORDSIZE 64
+#define __WORDSIZE 32
 
 typedef struct user_fpregs_struct {
        uint16_t cwd, swd, ftw, fop;