summaryrefslogtreecommitdiff
path: root/nptl/sysdeps/x86_64/Makefile
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-11-26 13:48:49 +0000
committerJakub Jelinek <jakub@redhat.com>2004-11-26 13:48:49 +0000
commitf94203900a978cda33df395c36827a17d171f98e (patch)
treef60c591eb4acb7c1ca6977b86b1b86e3fecd8532 /nptl/sysdeps/x86_64/Makefile
parent945a6124b6aa3047e3d144da4fb47cbbf5da70ee (diff)
Updated to fedora-glibc-20041126T1318cvs/fedora-glibc-2_3_3-85
Diffstat (limited to 'nptl/sysdeps/x86_64/Makefile')
-rw-r--r--nptl/sysdeps/x86_64/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/nptl/sysdeps/x86_64/Makefile b/nptl/sysdeps/x86_64/Makefile
index 24990a2b7e..6e24a26cde 100644
--- a/nptl/sysdeps/x86_64/Makefile
+++ b/nptl/sysdeps/x86_64/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -19,3 +19,10 @@
ifeq ($(subdir),csu)
gen-as-const-headers += tcb-offsets.sym
endif
+
+ifeq ($(subdir),nptl)
+# P4s have problems with 4M aliasing. We disturb the allocation of stacks
+# just enough so the subsequent allocations do not use stack address
+# (mod 4M) == 0.
+CFLAGS-pthread_create.c += -DMULTI_PAGE_ALIASING=65536
+endif