summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-03-13 00:47:04 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-03-13 00:47:04 +0000
commit9a4752fec3c1777364469bd5650589cf088a3f5b (patch)
treebb8e5bfb0174ac99870c0b5240f426529ae0b6db
parent9548a871428aa9ba3235893303f58b79c3d3724f (diff)
downloadeglibc2-9a4752fec3c1777364469bd5650589cf088a3f5b.tar.gz
2007-03-12 Nathan Froyd <froydnj@codesourcery.com>
* elf/dl-profile.c (struct here_cg_arc_record): Declare 'count' as being properly aligned. git-svn-id: svn://svn.eglibc.org/branches/eglibc-2_5@1700 7b3dc134-2b1b-0410-93df-9e9f96275f8d
-rw-r--r--libc/ChangeLog.eglibc5
-rw-r--r--libc/elf/dl-profile.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/libc/ChangeLog.eglibc b/libc/ChangeLog.eglibc
index a73a255b4..34ebe6cf6 100644
--- a/libc/ChangeLog.eglibc
+++ b/libc/ChangeLog.eglibc
@@ -1,3 +1,8 @@
+2007-03-12 Nathan Froyd <froydnj@codesourcery.com>
+
+ * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
+ as being properly aligned.
+
2007-03-05 Jim Blandy <jimb@codesourcery.com>
* EGLIBC.cross-testing: Note inter-machine user issues.
diff --git a/libc/elf/dl-profile.c b/libc/elf/dl-profile.c
index 41214c1b0..45910477b 100644
--- a/libc/elf/dl-profile.c
+++ b/libc/elf/dl-profile.c
@@ -131,7 +131,7 @@ struct here_cg_arc_record
{
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;