Ver código fonte

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.

Bernd Schmidt 18 anos atrás
pai
commit
1a98c1f87e
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      libc/sysdeps/linux/bfin/sys/procfs.h

+ 2 - 2
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