about summary refs log tree commit diff
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
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.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/s390/sys/procfs.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2248393187..18fd09a551 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+	* sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
+	Align 32 bit compat elf_greg to 8 bytes.
+
 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
 
 	* elf/setup-vdso.h (setup_vdso): Fix missing string termination.
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