diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-08-20 20:54:39 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-08-20 20:54:39 +0200 |
commit | 29af7775cfef6ed3b466b92e44387574122ed61b (patch) | |
tree | c968738daba6d87d69dc4e8b4cb1445a7b6420cb /mach | |
parent | 4893e0ed57daaff901442bacc10ae09cd3e1850f (diff) | |
parent | f76453c31593957fec1a99b986bfa5506618b79c (diff) |
Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_Whittaker
Diffstat (limited to 'mach')
-rw-r--r-- | mach/Machrules | 2 | ||||
-rw-r--r-- | mach/Makefile | 6 | ||||
-rw-r--r-- | mach/Versions | 18 | ||||
-rw-r--r-- | mach/devstream.c | 2 | ||||
-rw-r--r-- | mach/lock-intern.h | 2 | ||||
-rw-r--r-- | mach/mach.h | 2 | ||||
-rw-r--r-- | mach/mach/mach_traps.h | 4 | ||||
-rw-r--r-- | mach/mach/mig_support.h | 2 | ||||
-rw-r--r-- | mach/mach_init.c | 4 | ||||
-rw-r--r-- | mach/mach_init.h | 2 | ||||
-rw-r--r-- | mach/mig-alloc.c | 2 | ||||
-rw-r--r-- | mach/mig-dealloc.c | 2 | ||||
-rw-r--r-- | mach/mig-reply.c | 2 | ||||
-rw-r--r-- | mach/msgserver.c | 2 | ||||
-rw-r--r-- | mach/mutex-init.c | 2 | ||||
-rw-r--r-- | mach/mutex-solid.c | 2 | ||||
-rw-r--r-- | mach/setup-thread.c | 2 | ||||
-rw-r--r-- | mach/spin-lock.h | 2 | ||||
-rw-r--r-- | mach/spin-solid.c | 2 |
19 files changed, 20 insertions, 42 deletions
diff --git a/mach/Machrules b/mach/Machrules index 8b35cf6690..297794a3ad 100644 --- a/mach/Machrules +++ b/mach/Machrules @@ -1,5 +1,5 @@ # Rules for MiG interfaces that want to go into the C library. -# Copyright (C) 1991-2014 Free Software Foundation, Inc. +# Copyright (C) 1991-2015 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 diff --git a/mach/Makefile b/mach/Makefile index 5131e26009..c6867faabb 100644 --- a/mach/Makefile +++ b/mach/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1991-2014 Free Software Foundation, Inc. +# Copyright (C) 1991-2015 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 @@ -17,12 +17,8 @@ subdir := mach -all: - -# Some things below (but before including Rules) use configuration variables. 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 diff --git a/mach/Versions b/mach/Versions index 18ec511d91..45260c7c0a 100644 --- a/mach/Versions +++ b/mach/Versions @@ -1,27 +1,11 @@ -%define SHARED -%include <shlib-compat.h> - libc { GLIBC_2.0 { -%if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1) - # This symbol is here only for binary compatibility with the - # pre-versioning libc.so.0.2 ABI. When the soname changes, - # it can be removed. - __vm_allocate; -%endif - # variables used in Mach-specific macros __mach_task_self_; __vm_page_size; # functions used in inline functions and macros __mach_port_deallocate; __mach_thread_self; -%if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2) - __mutex_init; __mutex_lock; __mutex_lock_solid; __mutex_trylock; - __mutex_unlock; __mutex_unlock_solid; - __spin_lock; __spin_lock_init; __spin_lock_solid; __spin_try_lock; - __spin_unlock; -%endif # functions used by RPC stubs __mach_msg; __mach_msg_overwrite; @@ -71,12 +55,10 @@ libc { mig_strncpy; } -%if !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2) HURD_CTHREADS_0.3 { __mutex_init; __mutex_lock; __mutex_lock_solid; __mutex_trylock; __mutex_unlock; __mutex_unlock_solid; __spin_lock; __spin_lock_init; __spin_lock_solid; __spin_try_lock; __spin_unlock; } -%endif } diff --git a/mach/devstream.c b/mach/devstream.c index 66ad9193d5..032e486523 100644 --- a/mach/devstream.c +++ b/mach/devstream.c @@ -1,6 +1,6 @@ /* stdio on a Mach device port. Translates \n to \r\n on output, echos and translates \r to \n on input. - Copyright (C) 1992-2014 Free Software Foundation, Inc. + Copyright (C) 1992-2015 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 diff --git a/mach/lock-intern.h b/mach/lock-intern.h index 6d315bbb6b..df3d1c4e2f 100644 --- a/mach/lock-intern.h +++ b/mach/lock-intern.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1994-2014 Free Software Foundation, Inc. +/* Copyright (C) 1994-2015 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 diff --git a/mach/mach.h b/mach/mach.h index f70a45375c..41479f61cc 100644 --- a/mach/mach.h +++ b/mach/mach.h @@ -1,5 +1,5 @@ /* Standard header for all Mach programs. - Copyright (C) 1993-2014 Free Software Foundation, Inc. + Copyright (C) 1993-2015 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 diff --git a/mach/mach/mach_traps.h b/mach/mach/mach_traps.h index 1c0bdf2278..53ec21e2d2 100644 --- a/mach/mach/mach_traps.h +++ b/mach/mach/mach_traps.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1994-2014 Free Software Foundation, Inc. +/* Copyright (C) 1994-2015 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 @@ -57,7 +57,7 @@ extern boolean_t __swtch (void); extern boolean_t swtch_pri (int priority); extern boolean_t __swtch_pri (int priority); -/* Attempt to context switch the current thread of the processor. Try +/* Attempt to context switch the current thread off the processor. Try to run NEW_THREAD next, ignoring normal scheduling policies. The OPTION value comes from <mach/thread_switch.h>. If OPTION is SWITCH_OPTION_WAIT, then block the current thread for TIME diff --git a/mach/mach/mig_support.h b/mach/mach/mig_support.h index 0d0a61bb41..eca79b3837 100644 --- a/mach/mach/mig_support.h +++ b/mach/mach/mig_support.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1993-2014 Free Software Foundation, Inc. +/* Copyright (C) 1993-2015 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 diff --git a/mach/mach_init.c b/mach/mach_init.c index 0aa8155572..cf8ac3bb31 100644 --- a/mach/mach_init.c +++ b/mach/mach_init.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992-2014 Free Software Foundation, Inc. +/* Copyright (C) 1992-2015 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 @@ -36,7 +36,7 @@ __mach_init (void) __mach_task_self_ = (__mach_task_self) (); __mig_init (0); -#if HAVE_HOST_PAGE_SIZE +#ifdef HAVE_HOST_PAGE_SIZE if (err = __host_page_size (__mach_host_self (), &__vm_page_size)) _exit (err); #else diff --git a/mach/mach_init.h b/mach/mach_init.h index d7ca27f1b7..44a7ce2c50 100644 --- a/mach/mach_init.h +++ b/mach/mach_init.h @@ -1,5 +1,5 @@ /* Declarations and macros for the basic Mach things set at startup. - Copyright (C) 1993-2014 Free Software Foundation, Inc. + Copyright (C) 1993-2015 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 diff --git a/mach/mig-alloc.c b/mach/mig-alloc.c index 383e0d01ea..a1ab8ba5d8 100644 --- a/mach/mig-alloc.c +++ b/mach/mig-alloc.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992-2014 Free Software Foundation, Inc. +/* Copyright (C) 1992-2015 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 diff --git a/mach/mig-dealloc.c b/mach/mig-dealloc.c index 0c658070f4..830ee78d72 100644 --- a/mach/mig-dealloc.c +++ b/mach/mig-dealloc.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992-2014 Free Software Foundation, Inc. +/* Copyright (C) 1992-2015 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 diff --git a/mach/mig-reply.c b/mach/mig-reply.c index 871aa33dfe..e39b717f08 100644 --- a/mach/mig-reply.c +++ b/mach/mig-reply.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992-2014 Free Software Foundation, Inc. +/* Copyright (C) 1992-2015 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 diff --git a/mach/msgserver.c b/mach/msgserver.c index 711800a10b..2f4a08ee3a 100644 --- a/mach/msgserver.c +++ b/mach/msgserver.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993-2014 Free Software Foundation, Inc. +/* Copyright (C) 1993-2015 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 diff --git a/mach/mutex-init.c b/mach/mutex-init.c index fc3a5e5c3d..c68320d1dd 100644 --- a/mach/mutex-init.c +++ b/mach/mutex-init.c @@ -1,5 +1,5 @@ /* Initialize a cthreads mutex structure. - Copyright (C) 1995-2014 Free Software Foundation, Inc. + Copyright (C) 1995-2015 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 diff --git a/mach/mutex-solid.c b/mach/mutex-solid.c index 70e8333944..8e52a7ae4a 100644 --- a/mach/mutex-solid.c +++ b/mach/mutex-solid.c @@ -1,5 +1,5 @@ /* Stub versions of mutex_lock_solid/mutex_unlock_solid for no -lthreads. - Copyright (C) 1995-2014 Free Software Foundation, Inc. + Copyright (C) 1995-2015 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 diff --git a/mach/setup-thread.c b/mach/setup-thread.c index 2fab79c391..397c913da2 100644 --- a/mach/setup-thread.c +++ b/mach/setup-thread.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2014 Free Software Foundation, Inc. +/* Copyright (C) 1991-2015 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 diff --git a/mach/spin-lock.h b/mach/spin-lock.h index fc21b1e984..62ef17e9e9 100644 --- a/mach/spin-lock.h +++ b/mach/spin-lock.h @@ -1,5 +1,5 @@ /* Definitions of user-visible names for spin locks. - Copyright (C) 1994-2014 Free Software Foundation, Inc. + Copyright (C) 1994-2015 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 diff --git a/mach/spin-solid.c b/mach/spin-solid.c index e1e154bdd6..758d1a8dc2 100644 --- a/mach/spin-solid.c +++ b/mach/spin-solid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1994-2014 Free Software Foundation, Inc. +/* Copyright (C) 1994-2015 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 |