about summary refs log tree commit diff
path: root/ports/ChangeLog.linux-generic
diff options
context:
space:
mode:
authorChung-Lin Tang <cltang@codesourcery.com>2013-11-20 16:12:18 -0500
committerChris Metcalf <cmetcalf@tilera.com>2013-11-20 16:12:18 -0500
commit7cf8ac4c3179540c63865f7133617684169928c9 (patch)
tree58164760e4e1d6ecbbbaabcb2e90e581a226f28e /ports/ChangeLog.linux-generic
parent4b98b2dcdd89cbef1d2681a8cf0f16a7b3b649af (diff)
downloadglibc-7cf8ac4c3179540c63865f7133617684169928c9.tar.gz
glibc-7cf8ac4c3179540c63865f7133617684169928c9.tar.xz
glibc-7cf8ac4c3179540c63865f7133617684169928c9.zip
linux-generic: fix alignment of struct stat/statfs for nios2
The hard alignment of 8 was appropriate for most platforms for
which 8-byte values are 8-byte aligned, but this is not true
for the nios2 platform, so only align to the alignment of the
8-byte type on the platform.

Remove the explicit alignment of struct statfs as it's redundant.
Diffstat (limited to 'ports/ChangeLog.linux-generic')
-rw-r--r--ports/ChangeLog.linux-generic9
1 files changed, 9 insertions, 0 deletions
diff --git a/ports/ChangeLog.linux-generic b/ports/ChangeLog.linux-generic
index 2e04b65b25..c8acddc88b 100644
--- a/ports/ChangeLog.linux-generic
+++ b/ports/ChangeLog.linux-generic
@@ -1,3 +1,12 @@
+2013-11-13  Chung-Lin Tang  <cltang@codesourcery.com>
+
+	* sysdeps/unix/sysv/linux/generic/bits/stat.h (__field64): Use
+	__alignof__(type64) in alignment attribute instead of 8.
+	* sysdeps/unix/sysv/linux/generic/bits/statfs.h (__field64): Use
+	__alignof__(type64) in alignment attribute instead of 8.
+	(struct statfs): Remove alignment attribute.
+	(struct statfs64): Likewise.
+
 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/unix/sysv/linux/generic/wordsize-32/syscalls.list: