Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
	* sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h (enum): Add
	REG_OLDMASK and REG_CR2 to synch with kernel header.
	(NGREG): Increase.
  • Loading branch information
Andreas Jaeger committed Nov 10, 2002
1 parent 2deea07 commit 09b4d75
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
2002-11-10 Andreas Jaeger <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h (enum): Add
REG_OLDMASK and REG_CR2 to synch with kernel header.
(NGREG): Increase.

* nss/getXXent.c (GETFUNC_NAME): Use union type to avoid strict
aliasing problem.
* nss/getXXbyYY_r.c (INTERNAL): Likewise.
Expand Down
8 changes: 6 additions & 2 deletions sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
typedef long int greg_t;

/* Number of general registers. */
#define NGREG 21
#define NGREG 23

/* Container for all general registers. */
typedef greg_t gregset_t[NGREG];
Expand Down Expand Up @@ -82,8 +82,12 @@ enum
# define REG_CSGSFS REG_CSGSFS
REG_ERR,
# define REG_ERR REG_ERR
REG_TRAPNO
REG_TRAPNO,
# define REG_TRAPNO REG_TRAPNO
REG_OLDMASK,
# define REG_OLDMASK REG_OLDMASK
REG_CR2
# define REG_CR2 REG_CR2
};
#endif

Expand Down

0 comments on commit 09b4d75

Please sign in to comment.