about summary refs log tree commit diff
path: root/sysdeps/unix
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 /sysdeps/unix
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.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/hppa/Makefile7
1 files changed, 7 insertions, 0 deletions
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