summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/bfin/sys
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-06-18 15:40:43 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-06-18 15:40:43 +0000
commit328d2c63d3529eacf2d4c47c949f1f9830bf8470 (patch)
tree4c0e7ebbe8455843c8b09cd5ccd8e3969a972ce3 /libc/sysdeps/linux/bfin/sys
parentfb7f0f49c739f96f2867fbfebdfea4eac4af70db (diff)
downloaduClibc-alpine-328d2c63d3529eacf2d4c47c949f1f9830bf8470.tar.bz2
uClibc-alpine-328d2c63d3529eacf2d4c47c949f1f9830bf8470.tar.xz
Synch libc bfin specific with trunk
Diffstat (limited to 'libc/sysdeps/linux/bfin/sys')
-rw-r--r--libc/sysdeps/linux/bfin/sys/procfs.h4
-rw-r--r--libc/sysdeps/linux/bfin/sys/ucontext.h3
2 files changed, 3 insertions, 4 deletions
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;