m68k: force alignment of sem_t

This commit is contained in:
Andreas Schwab 2011-01-02 20:14:41 +01:00
parent 038f24265e
commit 9524dbd1f3
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-01-10 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h (sem_t):
Force alignment.
2010-12-26 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/m68k/stackinfo.h (DEFAULT_STACK_PERMS): Define.

View File

@ -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 <maxim@codesourcery.com>, 2010.
@ -32,5 +32,5 @@
typedef union
{
char __size[__SIZEOF_SEM_T];
long int __align;
long int __align __attribute__ ((aligned (4)));
} sem_t;