From 5233d5763b249ec354866d8a87495610ef5134d3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 13 Mar 2005 03:28:56 +0000 Subject: * sysdeps/hppa/configure.in: Remove old Makefile leftovers. * sysdeps/hppa/configure: Regenerated. --- nptl/ChangeLog | 4 ++++ nptl/tst-getpid1.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'nptl') diff --git a/nptl/ChangeLog b/nptl/ChangeLog index e4aa9449df..31cd5c37c8 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,7 @@ +2005-03-10 Jakub Jelinek + + * tst-getpid1.c (do_test): Align stack passed to clone{2,}. + 2005-02-25 Roland McGrath * alloca_cutoff.c: Correct license text. diff --git a/nptl/tst-getpid1.c b/nptl/tst-getpid1.c index 497bebed56..f9fd4fc0ca 100644 --- a/nptl/tst-getpid1.c +++ b/nptl/tst-getpid1.c @@ -44,10 +44,10 @@ do_test (void) extern int __clone2 (int (*__fn) (void *__arg), void *__child_stack_base, size_t __child_stack_size, int __flags, void *__arg, ...); - char st[256 * 1024]; + char st[256 * 1024] __attribute__ ((aligned)); pid_t p = __clone2 (f, st, sizeof (st), TEST_CLONE_FLAGS, 0); #else - char st[128 * 1024]; + char st[128 * 1024] __attribute__ ((aligned)); pid_t p = clone (f, st + sizeof (st), TEST_CLONE_FLAGS, 0); #endif if (p == -1) -- cgit v1.2.3