about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/i386/Makefile
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-07-20 02:49:44 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-07-20 03:28:14 +0200
commit2d5c41ded92bf1247ba2a29ad2074cf79dc15669 (patch)
tree9580c356237bb892e525b279d28714eae0aaf9fa /sysdeps/mach/hurd/i386/Makefile
parent8ba1520e8c72ad0e2a33235625b37002c2715706 (diff)
downloadglibc-2d5c41ded92bf1247ba2a29ad2074cf79dc15669.tar.gz
glibc-2d5c41ded92bf1247ba2a29ad2074cf79dc15669.tar.xz
glibc-2d5c41ded92bf1247ba2a29ad2074cf79dc15669.zip
check-execstack: Permit sysdeps to xfail some libs
	* scripts/check-execstack.awk: Consider `xfail' variable containing a
	list
	of libraries whose stack executability is expected.
	* elf/Makefile ($(objpfx)check-execstack.out): Pass
	$(check-execstack-xfail) to check-execstack.awk through `xfail'
	variable.
	* sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
	libc.so libpthread.so.
Diffstat (limited to 'sysdeps/mach/hurd/i386/Makefile')
-rw-r--r--sysdeps/mach/hurd/i386/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/i386/Makefile b/sysdeps/mach/hurd/i386/Makefile
index 0b509d9499..9a824fadf3 100644
--- a/sysdeps/mach/hurd/i386/Makefile
+++ b/sysdeps/mach/hurd/i386/Makefile
@@ -96,3 +96,9 @@ endif
 ifeq ($(subdir),mach)
 test-xfail-check-abi-libmachuser = yes
 endif
+
+ifeq ($(subdir),elf)
+# We do use nested functions involving creation of trampolines, notably for
+# callbacks whose parameters don't permit to get the context parameters.
+check-execstack-xfail += ld.so libc.so libpthread.so
+endif