diff options
author | Bernd Schmidt <bernds_cb1@t-online.de> | 2007-11-22 17:22:13 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds_cb1@t-online.de> | 2007-11-22 17:22:13 +0000 |
commit | 1a98c1f87e98ea3cf3f2e41b63ce1ee7fc14fc52 (patch) | |
tree | 2a9a6ccea5a75fcc7a47e559a895af51106f956d /libc/sysdeps | |
parent | 640cb909d1233201c9f86baa3241722adaa09f57 (diff) |
sys/procfs.h defines a typedef for floating point registers that references an
undefined structure. This typedef is used in linuxthreads.old-db, causing a
compilation failure. Fixed by defining an empty structure for it - we don't
have fp regs anyway.
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/bfin/sys/procfs.h | 4 |
1 files changed, 2 insertions, 2 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 |