From patchwork Sun Jun 10 18:10:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 27728 Received: (qmail 52531 invoked by alias); 10 Jun 2018 18:10:18 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 52507 invoked by uid 89); 10 Jun 2018 18:10:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_PASS, UNPARSEABLE_RELAY autolearn=ham version=3.3.2 spammy=Joseph, joseph X-HELO: torfep01.bell.net To: libc-alpha@sourceware.org From: John David Anglin Subject: [committed] xfail check-execstack on hppa Message-ID: <025e5454-f165-2205-596c-0e34818a4523@bell.net> Date: Sun, 10 Jun 2018 14:10:12 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 The hppa linux kernel still requires an executable stack for syscall restarts and signal returns. So, I have xfailed check-execstack as suggested by Joseph. Committed to master. Dave 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