tile: fix type of prfpregset_t in <sys/procfs.h>

The previous dummy definition (as type int) was fine in general, since
tile doesn't have floating-point registers, but it confused gdb's
configure, leading to later compile errors.  This change also makes
prfpregset_t parallel to prgregset_t, which seems like generally the
right thing regardless of the non-existence of the actual registers :-)
This commit is contained in:
Chris Metcalf 2012-09-06 11:43:56 -04:00
parent 9207320187
commit 48bac3debb
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2012-09-06 Chris Metcalf <cmetcalf@tilera.com>
* sysdeps/unix/sysv/linux/tile/sys/procfs.h: Fix type of prfpregset_t.
[BZ #14237]
* sysdeps/tile/__tls_get_addr.S: Fix TLS module initialization bug.

View File

@ -113,7 +113,7 @@ typedef void *psaddr_t;
typedef elf_gregset_t prgregset_t;
/* Provide dummy declaration here; we don't have FP registers. */
typedef int prfpregset_t;
typedef elf_fpregset_t prfpregset_t;
/* We don't have any differences between processes and threads,
therefore have only one PID type. */