summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-03-13 00:46:15 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-03-13 00:46:15 +0000
commite97d73d87846a62aff09c388bd938c0b1d410931 (patch)
tree4b6146afdf1537ac35e01ccd33b5f324ce573441 /libc
parent3fbe23bb28ba6458db4216917440e31aa2ba2718 (diff)
downloadeglibc2-e97d73d87846a62aff09c388bd938c0b1d410931.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/trunk@1699 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc')
-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 96cc67bcb..fc3538c98 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 47033f32e..4a6123ca7 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;