-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace hard-coded offsets into struct sigcontext with generated file.
* sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: New file. * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = stdlib] (gen-as-const-headers): Add it. * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: Include it instead of defining SC_* macros here.
- Loading branch information
Roland McGrath
committed
Jun 2, 2003
1 parent
4a5f21e
commit 0f501b7
Showing
4 changed files
with
27 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#include <stddef.h> | ||
#include <sys/ucontext.h> | ||
|
||
-- | ||
SC_NAT offsetof (struct sigcontext, sc_nat) | ||
SC_BSP offsetof (struct sigcontext, sc_ar_bsp) | ||
SC_RNAT offsetof (struct sigcontext, sc_ar_rnat) | ||
SC_UNAT offsetof (struct sigcontext, sc_ar_unat) | ||
SC_FPSR offsetof (struct sigcontext, sc_ar_fpsr) | ||
SC_PFS offsetof (struct sigcontext, sc_ar_pfs) | ||
SC_LC offsetof (struct sigcontext, sc_ar_lc) | ||
SC_PR offsetof (struct sigcontext, sc_pr) | ||
SC_BR offsetof (struct sigcontext, sc_br) | ||
SC_GR offsetof (struct sigcontext, sc_gr) | ||
SC_FR offsetof (struct sigcontext, sc_fr) | ||
SC_MASK offsetof (struct sigcontext, sc_mask) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters