about summary refs log tree commit diff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-09-28 00:07:18 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-09-28 00:10:13 +0200
commit29d4591b07a4da53320e949557c6946c62c26bde (patch)
treeae703bab73f6185724e06996ee0c292dacb66d22 /sysdeps/x86_64
parent964d15a007d7fb1258f2ad7c8cf4afcfb9a65719 (diff)
downloadglibc-29d4591b07a4da53320e949557c6946c62c26bde.tar.gz
glibc-29d4591b07a4da53320e949557c6946c62c26bde.tar.xz
glibc-29d4591b07a4da53320e949557c6946c62c26bde.zip
hurd: Drop REG_GSFS and REG_ESDS from x86_64's ucontext
These are useless on x86_64, and __NGREG was actually wrong with them.
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r--sysdeps/x86_64/sys/ucontext.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/x86_64/sys/ucontext.h b/sysdeps/x86_64/sys/ucontext.h
index d73a893795..f1b6be77a7 100644
--- a/sysdeps/x86_64/sys/ucontext.h
+++ b/sysdeps/x86_64/sys/ucontext.h
@@ -47,11 +47,7 @@ typedef greg_t gregset_t[__NGREG];
 /* Number of each register in the `gregset_t' array.  */
 enum
 {
-  REG_GSFS = 0,		/* Actually int gs, fs.  */
-# define REG_GSFS	REG_GSFS
-  REG_ESDS,		/* Actually int es, ds.  */
-# define REG_ESDS	REG_ESDS
-  REG_R8,
+  REG_R8 = 0,
 # define REG_R8		REG_R8
   REG_R9,
 # define REG_R9		REG_R9