[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r1699 - in /trunk/libc: ChangeLog.eglibc elf/dl-profile.c



Author: joseph
Date: Mon Mar 12 17:46:15 2007
New Revision: 1699

Log:
2007-03-12  Nathan Froyd  <froydnj@xxxxxxxxxxxxxxxx>

	* elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
	as being properly aligned.

Modified:
    trunk/libc/ChangeLog.eglibc
    trunk/libc/elf/dl-profile.c

Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Mon Mar 12 17:46:15 2007
@@ -1,3 +1,8 @@
+2007-03-12  Nathan Froyd  <froydnj@xxxxxxxxxxxxxxxx>
+
+	* elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
+	as being properly aligned.
+
 2007-03-05  Jim Blandy  <jimb@xxxxxxxxxxxxxxxx>
 
 	* EGLIBC.cross-testing: Note inter-machine user issues.

Modified: trunk/libc/elf/dl-profile.c
==============================================================================
--- trunk/libc/elf/dl-profile.c (original)
+++ trunk/libc/elf/dl-profile.c Mon Mar 12 17:46:15 2007
@@ -131,7 +131,7 @@
   {
     uintptr_t from_pc;
     uintptr_t self_pc;
-    uint32_t count;
+    uint32_t count __attribute__((aligned(__alignof__(uint32_t))));
   } __attribute__ ((packed));
 
 static struct here_cg_arc_record *data;