about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>2013-08-20 14:13:59 +0200
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2013-08-20 14:13:59 +0200
commit4e39af6eca18a984c346cb3396940a9dcbed02ab (patch)
tree0e71320e0868953693a7a700bfeaf050c346f505 /sysdeps
parentf315524e034cfc644157cb4af5ecc99f645dd067 (diff)
downloadglibc-4e39af6eca18a984c346cb3396940a9dcbed02ab.tar.gz
glibc-4e39af6eca18a984c346cb3396940a9dcbed02ab.tar.xz
glibc-4e39af6eca18a984c346cb3396940a9dcbed02ab.zip
* sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
	Align 32 bit compat elf_greg to 8 bytes.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/s390/sys/procfs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/sys/procfs.h b/sysdeps/unix/sysv/linux/s390/sys/procfs.h
index 36088f1627..c27c660a94 100644
--- a/sysdeps/unix/sysv/linux/s390/sys/procfs.h
+++ b/sysdeps/unix/sysv/linux/s390/sys/procfs.h
@@ -123,7 +123,8 @@ typedef struct elf_prpsinfo prpsinfo_t;
    core files.  */
 #define ELF_NGREG32	36
 typedef unsigned int elf_greg_t32;
-typedef elf_greg_t32 elf_gregset_t32[ELF_NGREG32];
+typedef elf_greg_t32
+  elf_gregset_t32[ELF_NGREG32] __attribute__ ((__aligned__ (8)));
 typedef elf_fpregset_t elf_fpregset_t32;
 
 struct elf_prstatus32