about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/mips
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-11-04 16:42:37 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-11-04 16:42:37 +0000
commit7672e712e1cd91a9252bb9db8ac1d9b528e19f2e (patch)
treecf9d35fb8d7359fdbb9ffe54d7ea398c19a8fc9c /sysdeps/unix/sysv/linux/mips
parenta2049e7ab219e515b0b182f06c30215a85774a51 (diff)
downloadglibc-7672e712e1cd91a9252bb9db8ac1d9b528e19f2e.tar.gz
glibc-7672e712e1cd91a9252bb9db8ac1d9b528e19f2e.tar.xz
glibc-7672e712e1cd91a9252bb9db8ac1d9b528e19f2e.zip
XFAIL check-execstack for MIPS.
This patch marks the check-execstack test as expected to fail for
MIPS, with a comment referencing previous RFC discussion of the
changes that would be needed to support non-executable stacks on MIPS.

Tested for MIPS (all 24 ABIs).

	* sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
	(test-xfail-check-execstack): New variable.
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips')
-rw-r--r--sysdeps/unix/sysv/linux/mips/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/Makefile b/sysdeps/unix/sysv/linux/mips/Makefile
index c6729c15f9..bca11d39e0 100644
--- a/sysdeps/unix/sysv/linux/mips/Makefile
+++ b/sysdeps/unix/sysv/linux/mips/Makefile
@@ -99,6 +99,12 @@ sysdep-dl-routines += dl-static
 
 sysdep_routines += dl-vdso
 endif
+
+# Supporting non-executable stacks on MIPS requires changes to both
+# the Linux kernel and glibc.  See
+# <https://sourceware.org/ml/libc-alpha/2016-01/msg00567.html> and
+# <https://sourceware.org/ml/libc-alpha/2016-01/msg00719.html>.
+test-xfail-check-execstack = yes
 endif
 
 ifeq ($(subdir),stdlib)