aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2012-09-06 11:43:56 -0400
committerChris Metcalf <cmetcalf@tilera.com>2012-09-06 11:43:56 -0400
commit48bac3debbc7acd0a2e8fe8248780f9d2c043c10 (patch)
tree2578a5cd73f37991381fe3b90c75557ee1e34eab /ports
parent9207320187a9815f2527d9e2ddafb09479bf2a68 (diff)
downloadglibc-48bac3debbc7acd0a2e8fe8248780f9d2c043c10.zip
glibc-48bac3debbc7acd0a2e8fe8248780f9d2c043c10.tar.gz
glibc-48bac3debbc7acd0a2e8fe8248780f9d2c043c10.tar.bz2
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 :-)
Diffstat (limited to 'ports')
-rw-r--r--ports/ChangeLog.tile2
-rw-r--r--ports/sysdeps/unix/sysv/linux/tile/sys/procfs.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/ports/ChangeLog.tile b/ports/ChangeLog.tile
index f02c9d8..a289d24 100644
--- a/ports/ChangeLog.tile
+++ b/ports/ChangeLog.tile
@@ -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.
diff --git a/ports/sysdeps/unix/sysv/linux/tile/sys/procfs.h b/ports/sysdeps/unix/sysv/linux/tile/sys/procfs.h
index 295ae50..f533eb1 100644
--- a/ports/sysdeps/unix/sysv/linux/tile/sys/procfs.h
+++ b/ports/sysdeps/unix/sysv/linux/tile/sys/procfs.h
@@ -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. */