Remove an unwanted SuperH chunk from an Alpha patch.

/trunk/patches/glibc/2.7/190-alpha-asm_elf.patch |   23     0    23     0 -----------------------
 1 file changed, 23 deletions(-)
This commit is contained in:
Yann E. MORIN" 2008-10-22 20:29:32 +00:00
parent 9cce3e2d7c
commit 9d4c07f32f

View File

@ -44,29 +44,6 @@ common code, alpha, and sh fail when used. this should things up.
+
+typedef double elf_fpreg_t;
+typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
+
struct elf_siginfo
{
int si_signo; /* Signal number. */
--- a/sysdeps/unix/sysv/linux/sh/sys/procfs.h
+++ b/sysdeps/unix/sysv/linux/sh/sys/procfs.h
@@ -29,10 +29,19 @@
#include <sys/types.h>
#include <sys/ucontext.h>
#include <sys/user.h>
-#include <asm/elf.h>
__BEGIN_DECLS
+/*
+ * ELF register definitions...
+ */
+typedef unsigned long elf_greg_t;
+
+#define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t))
+typedef elf_greg_t elf_gregset_t[ELF_NGREG];
+
+typedef struct user_fpu_struct elf_fpregset_t;
+
struct elf_siginfo
{