about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2018-06-10 13:57:32 -0400
committerJohn David Anglin <danglin@gcc.gnu.org>2018-06-10 13:57:32 -0400
commit2b69fecb9d0681a124662dfba89291ad473aa55f (patch)
treed8477abcb02e4aeb1d4502d024408e4a8398f1a7
parent283d98512272a12cb84e7798c23edbdf1adb287d (diff)
downloadglibc-2b69fecb9d0681a124662dfba89291ad473aa55f.tar.gz
glibc-2b69fecb9d0681a124662dfba89291ad473aa55f.tar.xz
glibc-2b69fecb9d0681a124662dfba89291ad473aa55f.zip
The hppa-linux target still requires an executable stack for kernel
syscall restarts and signal returns.  Thus, we need to xfail the
check-execstack test.

        [BZ #23174]
        * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/hppa/Makefile7
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 94830c806e..0a4c0ff6d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-06-10  John David Anglin  <danglin@gcc.gnu.org>
+
+	[BZ #23174]
+	* sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
+
 2018-06-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
 	[BZ #23264]
diff --git a/sysdeps/unix/sysv/linux/hppa/Makefile b/sysdeps/unix/sysv/linux/hppa/Makefile
index 68569013fb..e1637f54f5 100644
--- a/sysdeps/unix/sysv/linux/hppa/Makefile
+++ b/sysdeps/unix/sysv/linux/hppa/Makefile
@@ -2,3 +2,10 @@
 ifeq ($(subdir),stdlib)
 gen-as-const-headers += ucontext_i.sym
 endif
+
+# Supporting non-executable stacks on HPPA requires changes to both
+# the Linux kernel and glibc. The kernel currently needs an executable
+# stack for syscall restarts and signal returns.
+ifeq ($(subdir),elf)
+test-xfail-check-execstack = yes
+endif