mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +08:00
hurd: Define EXEC_PAGESIZE
* mach/Makefile (headers): Add mach/param.h. * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>. * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
This commit is contained in:
parent
6aca1b6102
commit
13768813bc
@ -1,3 +1,9 @@
|
||||
2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||
|
||||
* mach/Makefile (headers): Add mach/param.h.
|
||||
* sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
|
||||
* sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
|
||||
|
||||
2018-02-17 John David Anglin <danglin@gcc.gnu.org>
|
||||
|
||||
* sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
|
||||
|
@ -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) \
|
||||
|
@ -20,6 +20,8 @@
|
||||
# error "Never use <bits/param.h> directly; include <sys/param.h> instead."
|
||||
#endif
|
||||
|
||||
#include <mach/param.h>
|
||||
|
||||
/* 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.
|
||||
|
25
sysdeps/mach/i386/mach/param.h
Normal file
25
sysdeps/mach/i386/mach/param.h
Normal file
@ -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
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _SYS_PARAM_H
|
||||
# error "Never use <mach/param.h> directly; include <sys/param.h> instead."
|
||||
#endif
|
||||
|
||||
#ifndef EXEC_PAGESIZE
|
||||
#define EXEC_PAGESIZE 4096
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user