svn commit: trunk/uClibc/libc/sysdeps/linux/bfin/sys

bernds at uclibc.org bernds at uclibc.org
Thu Nov 22 17:22:13 UTC 2007


Author: bernds
Date: 2007-11-22 09:22:13 -0800 (Thu, 22 Nov 2007)
New Revision: 20477

Log:
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.



Modified:
   trunk/uClibc/libc/sysdeps/linux/bfin/sys/procfs.h


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/bfin/sys/procfs.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/bfin/sys/procfs.h	2007-11-22 17:12:19 UTC (rev 20476)
+++ trunk/uClibc/libc/sysdeps/linux/bfin/sys/procfs.h	2007-11-22 17:22:13 UTC (rev 20477)
@@ -45,8 +45,8 @@
 #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




More information about the uClibc-cvs mailing list