From 2b69fecb9d0681a124662dfba89291ad473aa55f Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sun, 10 Jun 2018 13:57:32 -0400 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/hppa/Makefile | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 94830c806e5..0a4c0ff6d9b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-06-10 John David Anglin + + [BZ #23174] + * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack. + 2018-06-08 Adhemerval Zanella [BZ #23264] diff --git a/sysdeps/unix/sysv/linux/hppa/Makefile b/sysdeps/unix/sysv/linux/hppa/Makefile index 68569013fba..e1637f54f50 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 -- 2.47.2