diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sh/sys/ucontext.h | 15 |
2 files changed, 6 insertions, 15 deletions
@@ -1,3 +1,9 @@ +2016-11-15 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]: + Make code unconditional. + [!(__SH4__ || __SH4A__)]: Remove conditional code. + 2016-11-15 Rical Jasan <ricaljasan@pacific.net> * manual/sysinfo.texi (S_APPEND): Delete. diff --git a/sysdeps/unix/sysv/linux/sh/sys/ucontext.h b/sysdeps/unix/sysv/linux/sh/sys/ucontext.h index 2c5fa0431c..4ee0b2872f 100644 --- a/sysdeps/unix/sysv/linux/sh/sys/ucontext.h +++ b/sysdeps/unix/sysv/linux/sh/sys/ucontext.h @@ -76,7 +76,6 @@ enum }; #endif -#if (defined(__SH4__) || defined(__SH4A__)) typedef int freg_t; /* Number of FPU registers. */ @@ -102,20 +101,6 @@ typedef struct unsigned int fpul; unsigned int ownedfp; } mcontext_t; -#else -/* Context to describe whole processor state. */ -typedef struct - { - unsigned int oldmask; - gregset_t gregs; - unsigned int pc; - unsigned int pr; - unsigned int sr; - unsigned int gbr; - unsigned int mach; - unsigned int macl; - } mcontext_t; -#endif /* __SH_FPU_ANY__ */ /* Userlevel context. */ typedef struct ucontext |