mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
2.0 KiB

  1. 2005-02-21 Alan Modra <amodra@bigpond.net.au>
  2. * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
  3. use __uint128_t.
  4. Fixes
  5. In file included from ../linuxthreads_db/proc_service.h:20,
  6. from ../linuxthreads_db/thread_dbP.h:7,
  7. from ../linuxthreads/descr.h:44,
  8. from ../linuxthreads/internals.h:30,
  9. from ../linuxthreads/sysdeps/pthread/bits/libc-lock.h:27,
  10. from ../sysdeps/generic/ldsodefs.h:38,
  11. from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
  12. from <stdin>:2:
  13. ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:57: error: syntax error before 'elf_vrreg_t'
  14. ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:57: warning: type defaults to 'int' in declaration of 'elf_vrreg_t'
  15. ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:57: warning: data definition has no type or storage class
  16. ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:58: error: syntax error before 'elf_vrregset_t'
  17. ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:58: warning: type defaults to 'int' in declaration of 'elf_vrregset_t'
  18. ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:58: warning: data definition has no type or storage class
  19. ===================================================================
  20. RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h,v
  21. retrieving revision 1.11
  22. retrieving revision 1.12
  23. diff -u -r1.11 -r1.12
  24. --- libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h 2003/12/17 23:09:34 1.11
  25. +++ libc/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h 2005/03/02 20:11:38 1.12
  26. @@ -46,15 +46,10 @@
  27. typedef double elf_fpreg_t;
  28. typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
  29. -/* gcc 3.1 and newer support __uint128_t. */
  30. -#if !__GNUC_PREREQ(3,1)
  31. -typedef struct {
  32. - unsigned long u[4];
  33. -} __attribute((aligned(16))) __uint128_t;
  34. -#endif
  35. -
  36. /* Altivec registers */
  37. -typedef __uint128_t elf_vrreg_t;
  38. +typedef struct {
  39. + unsigned int u[4];
  40. +} __attribute__ ((aligned (16))) elf_vrreg_t;
  41. typedef elf_vrreg_t elf_vrregset_t[ELF_NVRREG];
  42. #endif