From 328d2c63d3529eacf2d4c47c949f1f9830bf8470 Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Wed, 18 Jun 2008 15:40:43 +0000 Subject: Synch libc bfin specific with trunk --- libc/sysdeps/linux/bfin/sys/procfs.h | 4 ++-- libc/sysdeps/linux/bfin/sys/ucontext.h | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'libc/sysdeps/linux/bfin/sys') diff --git a/libc/sysdeps/linux/bfin/sys/procfs.h b/libc/sysdeps/linux/bfin/sys/procfs.h index a656d86b2..45a65f391 100644 --- a/libc/sysdeps/linux/bfin/sys/procfs.h +++ b/libc/sysdeps/linux/bfin/sys/procfs.h @@ -45,8 +45,8 @@ typedef unsigned long elf_greg_t; #define ELF_NGREG (sizeof (struct user_regs_struct) / sizeof(elf_greg_t)) typedef elf_greg_t elf_gregset_t[ELF_NGREG]; -/* Register set for the floating-point registers. */ -typedef struct user_bfinfp_struct elf_fpregset_t; +/* Register set for the floating-point registers. Empty on the Blackfin. */ +typedef struct { } elf_fpregset_t; /* Signal info. */ struct elf_siginfo diff --git a/libc/sysdeps/linux/bfin/sys/ucontext.h b/libc/sysdeps/linux/bfin/sys/ucontext.h index 0e16788c5..ac2ef94e2 100644 --- a/libc/sysdeps/linux/bfin/sys/ucontext.h +++ b/libc/sysdeps/linux/bfin/sys/ucontext.h @@ -109,7 +109,7 @@ enum REG_L3 = 35, #define REG_L3 REG_L3 REG_B_0 = 36, -#define REG_B_0 REG_B_0 +#define REG_B0 REG_B0 REG_B1 = 37, #define REG_B1 REG_B1 REG_B2 = 38, @@ -135,7 +135,6 @@ enum /* Context to describe whole processor state. */ typedef struct { - int version; gregset_t gregs; } mcontext_t; -- cgit v1.2.3