aboutsummaryrefslogtreecommitdiff
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
parenta2049e7ab219e515b0b182f06c30215a85774a51 (diff)
downloadglibc-7672e712e1cd91a9252bb9db8ac1d9b528e19f2e.tar
glibc-7672e712e1cd91a9252bb9db8ac1d9b528e19f2e.tar.gz
glibc-7672e712e1cd91a9252bb9db8ac1d9b528e19f2e.tar.bz2
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.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/sysv/linux/mips/Makefile6
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 750243bdab..babd209bf7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2016-11-04 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
+ (test-xfail-check-execstack): New variable.
+
* sysdeps/mips/localplt.data: New file.
2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
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)