From patchwork Sat Feb 17 21:58:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 874818 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-90338-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="Rc7wkrnt"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zkP5k6Pxxz9ryn for ; Sun, 18 Feb 2018 08:58:18 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; q=dns; s= default; b=DmvfmvN30RmsiaCdwCln4UrPEd6gxRyAsjXEPhm8MROUSn8ANBq54 mXzeE+Mul/8hPSi5hl8gTjoLwywQWTWseOVic2feolcSoXapHMkBQAQ4emEWRLB/ L4WGa97pDsQthJRYEz0ysSJr2gozO+LLNB5y+R1t2Vg4VHmUYEVWN4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; s=default; bh=Z5lLgouSyxmNQ9P08Unk3m0BPuI=; b=Rc7wkrnt8QvXXmSkvnv5uHX68nsH h+PiK3gTIggx0yXnKsrAVNbvfJChJFZYPjhMRX066DXnVRI9bIWE7pEx1XRK7OgM gLUENSSFlVYm+YtnF64O9GoEuAsOKRhtWw8+Ks+RauXZJUxboCsUb3i3Ivcju36Y 9eJ80VUG/to3RQ4= Received: (qmail 113228 invoked by alias); 17 Feb 2018 21:58:12 -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 113219 invoked by uid 89); 17 Feb 2018 21:58:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy=samuel, Samuel X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited] hurd: Define EXEC_PAGESIZE Date: Sat, 17 Feb 2018 22:58:04 +0100 Message-Id: <20180217215804.3087-1-samuel.thibault@ens-lyon.org> * mach/Makefile (headers): Add mach/param.h. * sysdeps/mach/hurd/bits/param.h: Include . * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE --- ChangeLog | 6 ++++++ mach/Makefile | 2 +- sysdeps/mach/hurd/bits/param.h | 2 ++ sysdeps/mach/i386/mach/param.h | 25 +++++++++++++++++++++++++ 4 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 sysdeps/mach/i386/mach/param.h diff --git a/ChangeLog b/ChangeLog index 36f08c79cd..fdf0e469bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-02-17 Samuel Thibault + + * mach/Makefile (headers): Add mach/param.h. + * sysdeps/mach/hurd/bits/param.h: Include . + * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE + 2018-02-17 John David Anglin * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and diff --git a/mach/Makefile b/mach/Makefile index 0ef6e1696d..dcf29a32b8 100644 --- a/mach/Makefile +++ b/mach/Makefile @@ -21,7 +21,7 @@ include ../Makeconfig headers = mach_init.h mach.h mach_error.h mach-shortcuts.h mach/mach_traps.h \ $(interface-headers) mach/mach.h mach/mig_support.h mach/error.h \ - $(lock-headers) machine-sp.h + $(lock-headers) machine-sp.h mach/param.h lock = spin-solid spin-lock mutex-init mutex-solid lock-headers = lock-intern.h machine-lock.h spin-lock.h routines = $(mach-syscalls) $(mach-shortcuts) \ diff --git a/sysdeps/mach/hurd/bits/param.h b/sysdeps/mach/hurd/bits/param.h index 736fac1716..7d535712a4 100644 --- a/sysdeps/mach/hurd/bits/param.h +++ b/sysdeps/mach/hurd/bits/param.h @@ -20,6 +20,8 @@ # error "Never use directly; include instead." #endif +#include + /* This file is deprecated and is provided only for compatibility with Unix systems. It is unwise to include this file on programs which are intended only for GNU systems. diff --git a/sysdeps/mach/i386/mach/param.h b/sysdeps/mach/i386/mach/param.h new file mode 100644 index 0000000000..20329ff8fc --- /dev/null +++ b/sysdeps/mach/i386/mach/param.h @@ -0,0 +1,25 @@ +/* Old-style Unix parameters and limits. i386 Mach version. + Copyright (C) 1993-2018 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + . */ + +#ifndef _SYS_PARAM_H +# error "Never use directly; include instead." +#endif + +#ifndef EXEC_PAGESIZE +#define EXEC_PAGESIZE 4096 +#endif