From: Andreas Schwab Date: Sun, 2 Jan 2011 19:14:41 +0000 (+0100) Subject: m68k: force alignment of sem_t X-Git-Tag: upstream/2.30~10627^2~430 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9524dbd1f3f91a9b381bb0e17dc5e150fe8be75a;p=external%2Fglibc.git m68k: force alignment of sem_t --- diff --git a/ChangeLog.m68k b/ChangeLog.m68k index ccd8b4e..feba28e 100644 --- a/ChangeLog.m68k +++ b/ChangeLog.m68k @@ -1,3 +1,8 @@ +2011-01-10 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h (sem_t): + Force alignment. + 2010-12-26 Andreas Schwab * sysdeps/m68k/stackinfo.h (DEFAULT_STACK_PERMS): Define. diff --git a/sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h b/sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h index 2950cc9..baaa9eb 100644 --- a/sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h +++ b/sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2010 Free Software Foundation, Inc. +/* Copyright (C) 2010, 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Maxim Kuvyrkov , 2010. @@ -32,5 +32,5 @@ typedef union { char __size[__SIZEOF_SEM_T]; - long int __align; + long int __align __attribute__ ((aligned (4))); } sem_t;