Skip to content

Commit

Permalink
* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
Browse files Browse the repository at this point in the history
	(sigcontext_struct) [__WORDSIZE == 32]: Define.
  • Loading branch information
Ulrich Drepper committed Jan 20, 2006
1 parent a6df738 commit 437d785
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2006-01-20 Alexandre Oliva <aoliva@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
(sigcontext_struct) [__WORDSIZE == 32]: Define.

2006-01-20 Kaz Kojima <kkojima@rr.iij4u.or.jp>

* sysdeps/sh/sh4/__longjmp.S: Demangle also r14 and r15.
Expand Down
8 changes: 8 additions & 0 deletions sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ struct _fpstate
__uint32_t padding[56];
};

#ifndef sigcontext_struct
/* Kernel headers before 2.1.1 define a struct sigcontext_struct, but
we need sigcontext. Some packages have come to rely on
sigcontext_struct being defined on 32-bit x86, so define this for
their benefit. */
# define sigcontext_struct sigcontext
#endif

struct sigcontext
{
unsigned short gs, __gsh;
Expand Down

0 comments on commit 437d785

Please sign in to comment.