Просмотр исходного кода

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.
Rich Felker 3 лет назад
Родитель
Сommit
760f5d7efe
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      arch/x32/bits/user.h

+ 1 - 1
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;