]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2004-12-21 Jakub Jelinek <jakub@redhat.com>
authorRoland McGrath <roland@gnu.org>
Wed, 16 Feb 2005 08:46:15 +0000 (08:46 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 16 Feb 2005 08:46:15 +0000 (08:46 +0000)
[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
linuxthreads/sysdeps/i386/Makefile

index 3f06c41276f4301838b4cb4dcb838e8beedd235a..3d8ab3864748e1825e6b92f892cebfeac0fb8fa0 100644 (file)
@@ -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
index 45183d1cd38e6a54eccd5b553919ba121049b34f..418fa5c6efe0853b6412eb0551abee2ad2c4c291 100644 (file)
@@ -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)