summaryrefslogtreecommitdiff
path: root/elf
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 /elf
parent8ba1520e8c72ad0e2a33235625b37002c2715706 (diff)
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 'elf')
-rw-r--r--elf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 84107f6dbb..cd0771307f 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -1103,7 +1103,7 @@ common-generated += $(all-built-dso:$(common-objpfx)%=%.phdr)
$(objpfx)check-execstack.out: $(..)scripts/check-execstack.awk \
$(objpfx)execstack-default \
$(all-built-dso:=.phdr)
- LC_ALL=C $(AWK) -f $^ > $@; \
+ LC_ALL=C $(AWK) -v "xfail=$(check-execstack-xfail)" -f $^ > $@; \
$(evaluate-test)
generated += check-execstack.out