From patchwork Fri Nov 4 16:43:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 17189 Received: (qmail 29181 invoked by alias); 4 Nov 2016 16:43:46 -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 28099 invoked by uid 89); 4 Nov 2016 16:43:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL, BAYES_20, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy=sk:c6729c1, check-execstack, msg00719html, sk:sysdep- X-HELO: relay1.mentorg.com Date: Fri, 4 Nov 2016 16:43:27 +0000 From: Joseph Myers To: Subject: XFAIL check-execstack for MIPS [committed] Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) 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). Committed. 2016-11-04 Joseph Myers * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf] (test-xfail-check-execstack): New variable. diff --git a/sysdeps/unix/sysv/linux/mips/Makefile b/sysdeps/unix/sysv/linux/mips/Makefile index c6729c1..bca11d3 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 +# and +# . +test-xfail-check-execstack = yes endif ifeq ($(subdir),stdlib)