From 93a6d0820430bfe3d09695a1376c07abf6d2214f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 20 Jun 2014 19:50:16 -0700 Subject: Clean up stack-coloring macros. --- sysdeps/x86_64/nptl/Makefile | 7 ------- sysdeps/x86_64/stack-aliasing.h | 1 + 2 files changed, 1 insertion(+), 7 deletions(-) create mode 100644 sysdeps/x86_64/stack-aliasing.h (limited to 'sysdeps/x86_64') diff --git a/sysdeps/x86_64/nptl/Makefile b/sysdeps/x86_64/nptl/Makefile index de43419bc9..c696cd5911 100644 --- a/sysdeps/x86_64/nptl/Makefile +++ b/sysdeps/x86_64/nptl/Makefile @@ -18,10 +18,3 @@ 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 diff --git a/sysdeps/x86_64/stack-aliasing.h b/sysdeps/x86_64/stack-aliasing.h new file mode 100644 index 0000000000..2efdacb3b4 --- /dev/null +++ b/sysdeps/x86_64/stack-aliasing.h @@ -0,0 +1 @@ +#include -- cgit 1.4.1