From 77e0d252d4aa54416c3ad2b8f3d6b577d481326f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 16 Feb 2005 08:46:15 +0000 Subject: [PATCH] 2004-12-21 Jakub Jelinek [BZ #723] * Makefile (tests): Add tst-align. * tst-align.c: New test. * sysdeps/i386/Makefile (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. --- linuxthreads/Makefile | 2 +- linuxthreads/sysdeps/i386/Makefile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile index 3f06c41276f..3d8ab386474 100644 --- a/linuxthreads/Makefile +++ b/linuxthreads/Makefile @@ -111,7 +111,7 @@ tests = ex1 ex2 ex3 ex4 ex5 ex6 ex7 ex8 ex9 $(librt-tests) ex12 ex13 joinrace \ ex17 ex18 tst-cancel tst-context bug-sleep \ tst-cancel1 tst-cancel2 tst-cancel3 tst-cancel4 tst-cancel5 \ tst-cancel6 tst-cancel7 tst-cancel8 tst-popen tst-popen2 tst-attr1 \ - tst-stack1 + tst-stack1 tst-align test-srcs = tst-signal # These tests are linked with libc before libpthread tests-reverse += tst-cancel5 diff --git a/linuxthreads/sysdeps/i386/Makefile b/linuxthreads/sysdeps/i386/Makefile index 45183d1cd38..418fa5c6efe 100644 --- a/linuxthreads/sysdeps/i386/Makefile +++ b/linuxthreads/sysdeps/i386/Makefile @@ -15,6 +15,7 @@ CFLAGS-pthread.c += -fno-omit-frame-pointer -mpreferred-stack-boundary=4 CFLAGS-ptlongjmp.c += -fno-omit-frame-pointer CFLAGS-semaphore.c += -fno-omit-frame-pointer CFLAGS-sighandler.c += -fno-omit-frame-pointer -mpreferred-stack-boundary=4 +CFLAGS-tst-align.c += -mpreferred-stack-boundary=4 endif ifeq ($(subdir),csu) -- 2.47.2