diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-09-28 00:07:18 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-09-28 00:10:13 +0200 |
commit | 29d4591b07a4da53320e949557c6946c62c26bde (patch) | |
tree | ae703bab73f6185724e06996ee0c292dacb66d22 /sysdeps/x86_64 | |
parent | 964d15a007d7fb1258f2ad7c8cf4afcfb9a65719 (diff) | |
download | glibc-29d4591b07a4da53320e949557c6946c62c26bde.zip glibc-29d4591b07a4da53320e949557c6946c62c26bde.tar.gz glibc-29d4591b07a4da53320e949557c6946c62c26bde.tar.bz2 |
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.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/x86_64/sys/ucontext.h b/sysdeps/x86_64/sys/ucontext.h index d73a893..f1b6be7 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 |