1 2018-03-18 Agustina Arzille <avarzille@riseup.net>
3 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
4 (__libc_cleanup_fct): Define function.
5 (__libc_cleanup_region_start, __libc_cleanup_region_end,
6 __libc_cleanup_end): Rewrite implementation using
7 __attribute__ ((__cleanup__)).
8 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
9 * hurd/Makefile (routines): Add hurdlock.
10 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
12 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13 * hurd/hurdpid.c: Include <lowlevellock.h>
14 (_S_msg_proc_newids): Use lll_wait to synchronize.
15 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
17 * mach/Makefile (lock-headers): Remove machine-lock.h.
18 * mach/lock-intern.h: Include <lowlevellock.h> instead of
20 (__spin_lock_t): New type.
21 (__SPIN_LOCK_INITIALIZER): New macro.
22 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
23 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
24 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
25 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
26 (__mutex_init): Initialize with lll.
27 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
28 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
30 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
32 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
33 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
34 (__setpgid): Use lll for synchronization.
35 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
36 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
37 instead of <cthreads.h>.
38 (_IO_lock_inexpensive): New macro
39 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
40 (__libc_lock_self0): New declaration.
41 (__libc_lock_owner_self): New macro.
42 (__libc_key_t): Remove type.
43 (_LIBC_LOCK_INITIALIZER): New macro.
44 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
45 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
46 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
47 __libc_lock_define_initialized_recursive,
48 __rtld_lock_define_initialized_recursive,
49 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
50 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
51 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
52 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
53 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
54 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
55 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
57 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
58 * hurd/hurdlock.c: New file.
59 * hurd/hurdlock.h: New file.
60 * mach/lowlevellock.h: New file
62 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
64 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
65 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
66 when opening a symlink with O_NOFOLLOW.
67 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
68 path when flags contains O_NOFOLLOW.
69 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
70 if flags contains O_DIRECTORY and the result is a directory.
71 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
72 oneself when the pointer given in D is nul (as set by ext2fs).
73 * sysdeps/mach/hurd/mlockall.c: New file.
74 * sysdeps/mach/hurd/munlockall.c: New file.
76 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
78 * hurd/hurdsig.c: Include <pthread.h>.
79 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
80 get the signal thread stack layout.
81 * hurd/Makefile (headers): Remove threadvar.h.
82 (inline-headers): Remove threadvar.h.
83 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
84 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
85 __hurd_threadvar_max, __hurd_errno_location.
86 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
87 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
88 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
89 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
90 unless TLS is not initialized yet, in which case we do not need a
91 critical section yet anyway.
92 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
94 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
96 (__hurd_threadvar_index): Remove enum.
97 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
98 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
100 (__hurd_reply_port0): New variable declaration.
101 (__hurd_local_reply_port): New macro.
102 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
103 (interrupted_reply_port_location): Add thread_t parameter. Use it
104 with THREAD_TCB to access thread-local variables.
105 (_hurdsig_abort_rpcs): Pass ss->thread to
106 interrupted_reply_port_location.
107 (_hurd_internal_post_signal): Likewise.
108 (_hurdsig_init): Use presence of cthread_fork instead of
109 __hurd_threadvar_stack_mask to start signal thread by hand.
110 Remove signal thread threadvar initialization.
111 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
112 * hurd/sigunwind.c: Include <hurd/threadvar.h>
113 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
115 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
117 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
118 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
119 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
120 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
121 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
122 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
123 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
125 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
127 [IS_IN(rtld)] (rtld_errno): New variable.
128 [IS_IN(rtld)] (__errno_location): New weak function.
129 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
130 * sysdeps/mach/hurd/errno.c: Remove file.
131 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
132 (__fork): Remove THREADVAR_SPACE macro and its use.
133 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
135 (init): Do not initialize threadvar.
136 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
138 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
139 __hurd_local_reply_port instead of threadvar.
140 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
141 _hurd_sigstate fields.
142 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
143 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
144 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
145 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
146 instead of threadvar.
147 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
148 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
149 (use_threadvar, global_reply_port): Remove variables.
150 (__hurd_reply_port0): New variable.
151 (__mig_get_reply_port): Use __hurd_local_reply_port and
152 __hurd_reply_port0 instead of threadvar.
153 (__mig_dealloc_reply_port): Likewise.
154 (__mig_init): Do not initialize threadvar.
155 * sysdeps/mach/hurd/profil.c: Fix comment.
156 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
157 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
158 cthread_keycreate, cthread_getspecific, cthread_setspecific to
159 __cthread_fork, __cthread_detach, __pthread_getattr_np,
160 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
161 __cthread_setspecific.
162 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
163 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
164 __cthread_t instead of cthread_fork, cthread_detach,
165 pthread_getattr_np, pthread_attr_getstack.
166 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
168 (cthread_getspecific): Rename to __cthread_getspecific.
169 (cthread_setspecific): Rename to __cthread_setspecific.
170 (__libc_getspecific): Use __cthread_getspecific instead of
172 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
173 __cthread_keycreate instead of cthread_keycreate.
174 (__libc_setspecific): Use __cthread_setspecific instead of
176 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
178 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
179 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
180 testing whether it is defined.
182 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
184 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
186 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
187 * sysdeps/mach/i386/thread_state.h
188 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
190 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
192 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
194 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
195 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
197 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
199 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
200 descriptor instead of creating a new one.
201 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
203 * mach/setup-thread.c: Include <ldsodefs.h>.
204 (__mach_setup_thread): Call _dl_allocate_tls, pass
205 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
206 MACHINE_THREAD_STATE_FLAVOR, before getting
207 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
208 MACHINE_THREAD_STATE_FLAVOR with the result.
209 * hurd/hurdfault.c (_hurdsig_fault_init): Call
210 MACHINE_THREAD_STATE_FIX_NEW.
211 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
212 too. Add original thread parameter.
214 2018-03-16 Joseph Myers <joseph@codesourcery.com>
216 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
217 Remove inline function.
219 * sysdeps/i386/fpu/libm-test-ulps: Update.
220 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
222 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
224 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
227 2018-03-15 Joseph Myers <joseph@codesourcery.com>
229 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
230 (__sincos_code): Remove define and undefine.
231 [__FAST_MATH__] (__sincos): Remove inline function.
232 [__FAST_MATH__] (__sincosf): Remove inline function.
233 [__FAST_MATH__] (__sincosl): Remove inline function.
234 (__atan2l): Remove inline functions.
235 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
236 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
238 (floor): Remove inline function.
240 [__FAST_MATH__] (__ldexp_code): Remove macro.
241 [__FAST_MATH__] (ldexp): Remove inline function.
242 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
243 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
244 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
245 [__USE_ISOC99] (__lrint_code): Remove macro.
246 [__USE_ISOC99] (__llrint_code): Likewise.
247 [__USE_ISOC99] (lrintf): Remove inline function.
248 [__USE_ISOC99] (lrint): Likewise.
249 [__USE_ISOC99] (lrintl): Likewise.
250 [__USE_ISOC99] (llrint): Likewise.
251 [__USE_ISOC99] (llrintf): Likewise.
252 [__USE_ISOC99] (llrintl): Likewise.
254 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
256 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
257 (__ieee754_sqrtf): Remove.
258 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
259 (__ieee754_sqrtf): Remove.
260 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
261 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
262 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
263 (__ieee754_sqrtf): Remove.
264 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
265 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
268 (__ieee754_sqrt): Remove.
269 (__ieee754_sqrtf): Remove.
270 (__ieee754_sqrtl): Remove.
271 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
272 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
273 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
274 (__ieee754_sqrtf): Remove.
275 (__ieee754_sqrtl): Remove.
277 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
279 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
280 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
281 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
282 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
283 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
284 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
285 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
286 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
288 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
289 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
290 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
291 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
292 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
293 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
294 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
295 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
296 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
297 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
298 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
299 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
300 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
301 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
302 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
303 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
304 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
305 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
306 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
307 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
308 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
309 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
310 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
311 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
312 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
313 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
314 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
315 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
316 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
317 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
318 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
319 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
320 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
321 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
322 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
323 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
324 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
325 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
326 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
327 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
329 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
331 * include/math.h (sqrt): Declare with asm redirect.
334 (sqrtf128): Likewise.
335 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
336 nonlib and libnldbl with -fmath-errno.
337 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
338 * math/w_sqrt_template.c: Likewise.
339 * math/w_sqrtf_compat.c: Likewise.
340 * math/w_sqrtl_compat.c: Likewise.
341 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
342 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
343 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
346 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
348 * benchtests/Makefile: Define _ISOMAC.
349 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
350 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
351 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
352 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
353 * benchtests/bench-timing.h: Define attribute_hidden.
355 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
357 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
360 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
363 * localedata/locales/cs_CZ (mon): Rename to...
365 (mon): Import from CLDR (genitive case).
367 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
370 * localedata/locales/el_CY (abmon): Rename to...
372 (abmon): Import from CLDR (abbreviated genitive case).
373 * localedata/locales/el_GR (abmon): Rename to...
375 (abmon): Import from CLDR (abbreviated genitive case).
377 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
380 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
382 2018-03-15 Robert Buj <robert.buj@gmail.com>
385 * localedata/locales/ca_ES (abmon): Rename to...
386 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
389 (abmon): Import from CLDR (genitive case, month names preceded by
392 (abday): Synchronize with CLDR.
397 (LC_TIME): Improve indentation.
398 (LC_TELEPHONE): Likewise.
400 (LC_ADDRESS): Likewise.
402 2018-03-14 Joseph Myers <joseph@codesourcery.com>
404 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
405 (lrintf): Remove definitions used only with old GCC.
406 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
407 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
408 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
409 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
410 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
411 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
412 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
413 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
414 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
415 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
416 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
417 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
418 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
419 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
420 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
421 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
422 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
423 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
424 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
425 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
426 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
427 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
428 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
429 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
430 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
431 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
432 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
433 [__FAST_MATH__] (__M_SQRT2): Remove macro.
435 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
437 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
438 instruction to unbreak builds with binutils 2.26 and older.
440 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
442 * sysdeps/aarch64/strncmp.S (count): New macro.
443 (strncmp): Store misaligned length in SRC1 in COUNT.
444 (mutual_align): Adjust.
445 (misaligned8): Load dword at a time when it is safe.
447 2018-03-12 Zack Weinberg <zackw@panix.com>
451 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
452 if the _IO_EOF_SEEN bit is already set; update commentary.
453 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
454 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
456 * support/support_openpty.c, support/tty.h: New files.
457 * support/Makefile (libsupport-routines): Add support_openpty.
459 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
461 * libio/Makefile (tests): Add tst-fgetc-after-eof.
462 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
464 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
466 * po/pt_BR.po: Update translations.
468 2018-03-12 David Michael <fedora.dm0@gmail.com>
470 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
471 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
472 get a port to the startup server.
474 2018-03-11 Zack Weinberg <zackw@panix.com>
476 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
477 before nldbl-compat.h.
479 2018-03-10 Zack Weinberg <zackw@panix.com>
481 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
482 math.h or math_private.h.
484 * sysdeps/alpha/fpu/s_isnan.c
485 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
486 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
487 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
488 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
489 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
490 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
491 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
492 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
493 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
496 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
497 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
498 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
499 Include math_private.h.
501 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
502 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
503 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
504 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
505 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
506 * sysdeps/powerpc/power7/fpu/s_logb.c:
507 Include math.h and math_private.h.
509 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
510 uses of $at in .set noat / .set at.
512 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
514 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
515 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
516 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
517 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
520 2018-03-09 Florian Weimer <fweimer@redhat.com>
522 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
525 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
528 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
529 Add nop before __startcontext, add explaining comments.
531 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
534 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
536 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
537 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
538 Do not build hardware transactional code for __SPE__.
539 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
540 (__lll_trylock_elision): Likewise.
541 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
542 (__lll_unlock_elision): Likewise.
544 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
545 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
546 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
547 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
548 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
549 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
550 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
551 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
552 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
553 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
554 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
555 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
556 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
557 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
558 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
559 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
560 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
561 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
562 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
563 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
564 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
565 * sysdeps/unix/sysv/linux/arm/kernel-features.h
566 (__ASSUME_CLONE_BACKWARDS): Define.
567 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
568 __clone2 if __NR_clone2 is defined.
569 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
570 (__ASSUME_CLONE_BACKWARDS): Likewise.
571 * sysdeps/unix/sysv/linux/i386/kernel-features.h
572 (__ASSUME_CLONE_BACKWARDS): Likewise.
573 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
574 (__ASSUME_CLONE2): Likewise.
575 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
576 (__ASSUME_CLONE_BACKWARDS3): Likewise.
577 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
578 variants and the define architecture can use.
579 (__ASSUME_CLONE_DEFAULT): Define as default.
580 * sysdeps/unix/sysv/linux/mips/kernel-features.h
581 (__ASSUME_CLONE_BACKWARDS): Likewise.
582 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
583 (__ASSUME_CLONE_BACKWARDS): Likewise.
584 * sysdeps/unix/sysv/linux/s390/kernel-features.h
585 (__ASSUME_CLONE_BACKWARDS2): Likewise.
587 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
589 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
591 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
594 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
595 (do_test_limit): Likewise.
597 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
598 for every implementation.
601 * benchtests/bench-strncmp.c: Convert output to json.
603 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
605 * io/futimens.c: Add missing start-of-file descriptive comment.
606 * io/utime.c: Likewise.
607 * misc/futimesat.c: Likewise.
608 * misc/utimes.c: Likewise.
609 * sysdeps/mach/hurd/futimesat.c: Likewise.
610 * sysdeps/mach/hurd/utimes.c: Likewise.
611 * sysdeps/posix/utime.c: Likewise.
612 * sysdeps/posix/utimes.c: Likewise.
613 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
614 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
615 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
616 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
618 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
620 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
622 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
623 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
624 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
625 (__futimens): Move implementation to...
626 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
627 utime_tvalue_from_tspec): ... new helper functions.
628 (hurd_futimens): New function.
629 * sysdeps/mach/hurd/futimesat.c: New file.
630 * sysdeps/mach/hurd/utimensat.c: New file.
632 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
634 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
635 UTIME_OMIT): New macros.
636 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
637 before reverting to converting time spec to time value and calling
639 * sysdeps/mach/hurd/utime-helper.c: New file.
640 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
641 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
642 reverting to utime_tvalue_from_tval and __file_utimes.
643 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
644 (__lutimes): Just call hurd_futimens after lookup.
645 * sysdeps/mach/hurd/utimes.c: Likewise.
647 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
649 * bits/sigaction.h: Add include guard.
650 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
651 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
652 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
653 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
654 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
655 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
656 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
657 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
658 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
660 2018-03-05 Joseph Myers <joseph@codesourcery.com>
662 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
663 -Wmaybe-uninitialized for -Os.
664 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
667 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
669 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
670 __INO_T_MATCHES_INO64_T is defined.
671 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
672 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
674 * dirent/alphasort64.c: Likewise.
675 * dirent/scandir.c: Likewise.
676 * dirent/scandir64-tail.c: Likewise.
677 * dirent/scandir64.c: Likewise.
678 * dirent/scandirat.c: Likewise.
679 * dirent/scandirat64.c: Likewise.
680 * dirent/versionsort.c: Likewise.
681 * dirent/versionsort64.c: Likewise.
682 * include/dirent.h: Likewise.
684 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
685 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
686 for socketpair endpoint.
687 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
688 WRITE_BUFFER_SIZE as buffer size for sending socket.
689 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
690 issue on system where send is implemented with sendto syscall.
691 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
692 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
693 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
694 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
697 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
698 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
699 sa_restorer for vDSO case.
700 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
702 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
704 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
705 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
706 * hurd/hurd/ioctl.h: Include <mach/port.h>
707 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
708 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
709 <mach/mach_types.h> and <mach/message.h>.
710 (headers): Move mach/param.h to bits/mach/param.h.
711 * sysdeps/mach/i386/mach/param.h: Move file to ...
712 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
713 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
715 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
716 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
717 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
718 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
719 trivial, for C++ conformity.
720 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
721 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
722 Process mig output through $(migheadersed).
723 * hurd/Makefile (migheadersed): Define variable.
724 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
725 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
727 * hurd/hurd.h: Include <bits/types/sigset_t.h>
728 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
729 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
730 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
731 <bits/types/sigset_t.h>.
732 [!defined __USE_GNU]: Do not #error out.
733 (struct hurd_sigstate): Use _NSIG instead of NSIG.
734 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
735 Include <stddef.h> and <bits/types/sigset_t.h>
736 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
737 instead of sighandler_t.
738 * stdlib/errno.h (error_t): Move definition to...
739 * bits/types/error_t.h: ... new header.
740 * stdlib/Makefile (headers): Add bits/types/error_t.h.
741 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
742 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
743 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
744 * hurd/hurd.h: Include <bits/types/error_t.h>
745 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
746 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
747 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
748 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
749 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
750 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
751 * sysdeps/mach/hurd/futimens.c: New file.
753 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
756 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
757 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
758 * nscd/gai.c (__nss_hosts_database): Readd definition.
759 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
760 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
761 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
763 2018-03-02 Joseph Myers <joseph@codesourcery.com>
765 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
766 (ifunc_one): Likewise.
768 2018-03-01 DJ Delorie <dj@delorie.com>
771 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
774 2018-03-01 Maciej W. Rozycki <macro@mips.com>
776 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
777 `match_pid' parameter.
778 (td_ta_thr_iter): Update accordingly.
780 2018-03-01 Florian Weimer <fweimer@redhat.com>
782 * nptl/Makefile (install-lib-ldscripts): Remove.
783 (install): Remove rule.
784 ($(inst_libdir)/libpthread.so): Likewise.
786 2018-03-01 Mike FABIAN <mfabian@redhat.com>
789 * localedata/locales/an_ES: update month and day names,
790 improve d_fmt, improve postal_fmt, add country_post,
793 2018-03-01 Mike FABIAN <mfabian@redhat.com>
795 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
796 Ukrainian instead of Bulgarian.
798 2018-03-01 Florian Weimer <fweimer@redhat.com>
800 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
803 2018-03-01 Florian Weimer <fweimer@redhat.com>
805 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
806 * nptl/Makefile (routines): Add pthread_atfork.
807 (static-only-routines): Set to pthread_atfork.
808 (libpthread-routines): Remove pthread_atfork.
809 (libpthread-static-only-routines): Remove.
810 (install): Update comment.
811 (libpthread.so): Do not install libpthread_nonshared.a.
812 (tests): Do not link with libpthread_nonshared.a.
813 (generated): Remove libpthread_nonshared.a.
814 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
815 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
816 with libpthread_nonshared.a.
818 2018-02-28 Joseph Myers <joseph@codesourcery.com>
821 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
822 (libc_feholdexcept_setroundf128): New macro.
823 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
826 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
828 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
829 * include/inttypes.h: New file.
831 2018-02-27 Joseph Myers <joseph@codesourcery.com>
833 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
834 -Os in two more places.
836 2018-02-27 Mike FABIAN <mfabian@redhat.com>
838 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
839 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
840 be sorted correctly at the moment because of a bug.
842 2018-02-27 Mike FABIAN <mfabian@redhat.com>
844 [BZ #22550] - es_ES locale (and other es_* locales): collation should
845 treat ñ as a primary different character, sync the collation
846 for Spanish with CLDR.
847 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
848 * localedata/Makefile: Add new test files.
849 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
850 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
852 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
853 * localedata/am_ET.UTF-8.in: New test file.
854 * localedata/az_AZ.UTF-8.in: Likewise.
855 * localedata/be_BY.UTF-8.in: Likewise.
856 * localedata/ber_DZ.UTF-8.in: Likewise.
857 * localedata/ber_MA.UTF-8.in: Likewise.
858 * localedata/bg_BG.UTF-8.in: Likewise.
859 * localedata/br_FR.UTF-8.in: Likewise.
860 * localedata/cmn_TW.UTF-8.in: Likewise.
861 * localedata/crh_UA.UTF-8.in: Likewise.
862 * localedata/csb_PL.UTF-8.in: Likewise.
863 * localedata/cv_RU.UTF-8.in: Likewise.
864 * localedata/cy_GB.UTF-8.in: Likewise.
865 * localedata/dz_BT.UTF-8.in: Likewise.
866 * localedata/eo.UTF-8.in: Likewise.
867 * localedata/es_ES.UTF-8.in: Likewise.
868 * localedata/fa_IR.UTF-8.in: Likewise.
869 * localedata/fi_FI.UTF-8.in: Likewise.
870 * localedata/fil_PH.UTF-8.in: Likewise.
871 * localedata/fur_IT.UTF-8.in: Likewise.
872 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
873 * localedata/ha_NG.UTF-8.in: Likewise.
874 * localedata/ig_NG.UTF-8.in: Likewise.
875 * localedata/ik_CA.UTF-8.in: Likewise.
876 * localedata/kk_KZ.UTF-8.in: Likewise.
877 * localedata/ku_TR.UTF-8.in: Likewise.
878 * localedata/ky_KG.UTF-8.in: Likewise.
879 * localedata/ln_CD.UTF-8.in: Likewise.
880 * localedata/mi_NZ.UTF-8.in: Likewise.
881 * localedata/ml_IN.UTF-8.in: Likewise.
882 * localedata/mn_MN.UTF-8.in: Likewise.
883 * localedata/mr_IN.UTF-8.in: Likewise.
884 * localedata/mt_MT.UTF-8.in: Likewise.
885 * localedata/nb_NO.UTF-8.in: Likewise.
886 * localedata/om_KE.UTF-8.in: Likewise.
887 * localedata/os_RU.UTF-8.in: Likewise.
888 * localedata/ps_AF.UTF-8.in: Likewise.
889 * localedata/ro_RO.UTF-8.in: Likewise.
890 * localedata/ru_RU.UTF-8.in: Likewise.
891 * localedata/sc_IT.UTF-8.in: Likewise.
892 * localedata/se_NO.UTF-8.in: Likewise.
893 * localedata/sq_AL.UTF-8.in: Likewise.
894 * localedata/sv_SE.UTF-8.in: Likewise.
895 * localedata/szl_PL.UTF-8.in: Likewise.
896 * localedata/tg_TJ.UTF-8.in: Likewise.
897 * localedata/tk_TM.UTF-8.in: Likewise.
898 * localedata/tt_RU.UTF-8.in: Likewise.
899 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
900 * localedata/ug_CN.UTF-8.in: Likewise.
901 * localedata/uz_UZ.UTF-8.in: Likewise.
902 * localedata/vi_VN.UTF-8.in: Likewise.
903 * localedata/yi_US.UTF-8.in: Likewise.
904 * localedata/yo_NG.UTF-8.in: Likewise.
905 * localedata/zh_CN.UTF-8.in: Likewise.
906 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
907 file and fix bugs in the collation.
908 * localedata/locales/az_AZ: Likewise.
909 * localedata/locales/be_BY: Likewise.
910 * localedata/locales/ber_DZ: Likewise.
911 * localedata/locales/ber_MA: Likewise.
912 * localedata/locales/bg_BG: Likewise.
913 * localedata/locales/br_FR: Likewise.
914 * localedata/locales/br_FR@euro: Likewise.
915 * localedata/locales/ca_ES: Likewise.
916 * localedata/locales/cns11643_stroke: Likewise.
917 * localedata/locales/crh_UA: Likewise.
918 * localedata/locales/cs_CZ: Likewise.
919 * localedata/locales/csb_PL: Likewise.
920 * localedata/locales/cv_RU: Likewise.
921 * localedata/locales/cy_GB: Likewise.
922 * localedata/locales/da_DK: Likewise.
923 * localedata/locales/dz_BT: Likewise.
924 * localedata/locales/en_CA: Likewise.
925 * localedata/locales/eo: Likewise.
926 * localedata/locales/es_CU: Likewise.
927 * localedata/locales/es_EC: Likewise.
928 * localedata/locales/es_ES: Likewise.
929 * localedata/locales/es_US: Likewise.
930 * localedata/locales/et_EE: Likewise.
931 * localedata/locales/fa_IR: Likewise.
932 * localedata/locales/fi_FI: Likewise.
933 * localedata/locales/fil_PH: Likewise.
934 * localedata/locales/fur_IT: Likewise.
935 * localedata/locales/gez_ER@abegede: Likewise.
936 * localedata/locales/ha_NG: Likewise.
937 * localedata/locales/hr_HR: Likewise.
938 * localedata/locales/hsb_DE: Likewise.
939 * localedata/locales/hu_HU: Likewise.
940 * localedata/locales/ig_NG: Likewise.
941 * localedata/locales/ik_CA: Likewise.
942 * localedata/locales/is_IS: Likewise.
943 * localedata/locales/iso14651_t1_pinyin: Likewise.
944 * localedata/locales/kk_KZ: Likewise.
945 * localedata/locales/ku_TR: Likewise.
946 * localedata/locales/ky_KG: Likewise.
947 * localedata/locales/ln_CD: Likewise.
948 * localedata/locales/lt_LT: Likewise.
949 * localedata/locales/lv_LV: Likewise.
950 * localedata/locales/mi_NZ: Likewise.
951 * localedata/locales/ml_IN: Likewise.
952 * localedata/locales/mn_MN: Likewise.
953 * localedata/locales/mr_IN: Likewise.
954 * localedata/locales/mt_MT: Likewise.
955 * localedata/locales/nb_NO: Likewise.
956 * localedata/locales/om_KE: Likewise.
957 * localedata/locales/os_RU: Likewise.
958 * localedata/locales/pl_PL: Likewise.
959 * localedata/locales/ps_AF: Likewise.
960 * localedata/locales/ro_RO: Likewise.
961 * localedata/locales/ru_RU: Likewise.
962 * localedata/locales/ru_UA: Likewise.
963 * localedata/locales/sc_IT: Likewise.
964 * localedata/locales/se_NO: Likewise.
965 * localedata/locales/si_LK: Likewise.
966 * localedata/locales/sq_AL: Likewise.
967 * localedata/locales/sv_FI: Likewise.
968 * localedata/locales/sv_FI@euro: Likewise.
969 * localedata/locales/sv_SE: Likewise.
970 * localedata/locales/szl_PL: Likewise.
971 * localedata/locales/tg_TJ: Likewise.
972 * localedata/locales/ti_ER: Likewise.
973 * localedata/locales/tk_TM: Likewise.
974 * localedata/locales/tl_PH: Likewise.
975 * localedata/locales/tr_TR: Likewise.
976 * localedata/locales/tt_RU: Likewise.
977 * localedata/locales/tt_RU@iqtelif: Likewise.
978 * localedata/locales/ug_CN: Likewise.
979 * localedata/locales/uk_UA: Likewise.
980 * localedata/locales/uz_UZ: Likewise.
981 * localedata/locales/uz_UZ@cyrillic: Likewise.
982 * localedata/locales/vi_VN: Likewise.
983 * localedata/locales/yi_US: Likewise.
984 * localedata/locales/yo_NG: Likewise.
986 2018-02-27 Mike FABIAN <mfabian@redhat.com>
988 * gen-locales.mk: Make test files which contain @ modifiers in their
990 * localedata/gen-locale.sh: Likewise.
992 2018-02-27 Mike FABIAN <mfabian@redhat.com>
994 * posix/tst-fnmatch.input: Fix results for range expressions
996 * posix/tst-regexloc.c: Do not use a range expression for
997 de_DE.ISO-8859-1 locale.
999 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1001 * posix/bug-regex5.c: Fix test case because with the new
1002 iso14651_t1_common file, the da_DK locale now has 6 collating elements
1003 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
1006 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1008 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
1009 downloaded from ISO, the collation order of @-. and space has changed.
1010 Therefore, this test file needed to be adapted.
1011 * localedata/fr_CA.UTF-8.in: Likewise.
1012 * localedata/fr_FR.UTF-8.in: Likewise.
1013 * localedata/uk_UA.UTF-8.in: Likewise.
1015 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1017 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
1018 order of ȥ in the new iso14651_t1_common file.
1019 * localedata/pl_PL.UTF-8.in: Likewise.
1021 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1023 * localedata/locales/iso14651_t1_common: Add sections for various
1024 scripts to the iso14651_t1_common file.
1026 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1028 * localedata/locales/iso14651_t1_common: Use the code point of a
1029 character in the fourth collation level instead of IGNORE for all
1030 entries which have IGNORE on all 4 levels.
1032 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1034 * localedata/locales/iso14651_t1_common: Add some convenient collation
1035 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
1036 rules similar to those in CLDR.
1038 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1040 * localedata/locales/iso14651_t1_common: The new version of this
1041 file downloaded from ISO contained several syntax errors which
1042 are fixed by this patch.
1044 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1046 * localedata/locales/iso14651_t1_common: replace all <U.....>
1047 with <U000.....> because glibc understands only 4 digit or 8 digit
1049 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1051 * localedata/locales/iso14651_t1_common: Necessary changes
1052 to make the file downloaded from ISO usable by glibc.
1054 2018-02-27 Mike FABIAN <mfabian@redhat.com>
1057 * localedata/locales/iso14651_t1_common: Update file to
1058 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
1060 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1062 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
1063 of <nptl/pthreadP.h>
1064 (thread_attr_compare): Move function to...
1065 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
1066 * sysdeps/nptl/timer_routines.h: ... new header.
1067 * sysdeps/mach/hurd/gai_misc.h: New file.
1069 2018-02-26 Joseph Myers <joseph@codesourcery.com>
1071 * string/strcoll_l.c: Include <libc-diag.h>.
1072 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
1073 declarations of seq1 and seq2.
1076 * stdlib/atoi.c (atoi): Use libc_hidden_def.
1077 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
1079 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
1083 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
1084 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
1085 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
1086 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
1087 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
1088 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
1090 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1092 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
1093 macros used in __ptrace_request.
1095 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
1098 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
1100 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
1101 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
1102 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
1105 2018-02-23 Joseph Myers <joseph@codesourcery.com>
1108 * ctype/ctype.c (tolower): Use libc_hidden_def.
1109 (toupper): Likewise.
1110 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
1111 [!_ISOMAC] (toupper): Likewise.
1113 2018-02-23 Mike FABIAN <mfabian@redhat.com>
1115 * localedata/Makefile: Remove --quiet argument when
1118 2018-02-23 Mike FABIAN <mfabian@redhat.com>
1121 * localedata/locales/pt_BR (LC_TIME): use / instead of -
1123 * localedata/locales/pt_PT (LC_TIME): likewise
1125 2018-02-23 Mike FABIAN <mfabian@redhat.com>
1128 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
1129 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
1130 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
1132 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1136 * nptl/Makefile (routines): Remove unregister-atfork.
1137 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
1138 (fork_handler_alloc): Remove function.
1139 (fork_handlers, fork_handler_init): New variables.
1140 (__fork_lock): Rename to atfork_lock.
1141 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
1142 to use a dynamic array to add/remove atfork handlers.
1143 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1144 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
1146 (fork_handler): Remove next, refcntr, and need_signal member.
1147 (__run_fork_handler_type): New enum.
1148 (__run_fork_handlers): New prototype.
1149 * nptl/register-atfork.c: Remove file.
1150 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
1152 * sysdeps/nptl/nptl-signals.h: Move to ...
1153 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
1155 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
1156 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
1157 unnecessary check for SIGTIMER.
1158 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
1159 remove unnecessary removal of SIGTIMER.
1160 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
1161 include-signals.h rename.
1162 * nptl/pthreadP.h: Likewise.
1163 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
1164 __is_internal_signal instead of __nptl_is_internal_signal.
1166 2018-02-22 Andrew Waterman <andrew@sifive.com>
1169 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
1170 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
1171 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
1172 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
1174 2018-02-22 DJ Delorie <dj@delorie.com>
1176 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
1178 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1180 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
1181 do_misaligned, not misaligned8.
1183 2018-02-22 Steve Ellcey <sellcey@cavium.com>
1185 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1186 Add memcpy_thunderx2.
1187 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
1189 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
1190 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
1191 and IS_THUNDERX2PA checks.
1192 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
1193 Use macro to set name appropriately.
1194 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
1195 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
1196 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
1198 (IS_THUNDERX2): New macro.
1200 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
1202 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1204 2018-02-21 Zack Weinberg <zackw@panix.com>
1206 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
1207 Define here, unconditionally.
1208 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
1209 * libio/libioP.h: Remove #if 0 blocks.
1210 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
1211 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
1212 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
1214 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
1215 Assume weak_alias is always defined.
1217 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
1218 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
1219 Remove #if 0 and #ifdef TODO blocks.
1220 Assume text_set_element is always defined.
1222 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
1223 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
1224 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
1226 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
1227 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
1228 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
1229 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
1230 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
1231 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
1232 Reformat bit flags for _flags field to make occupancy clearer.
1234 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
1235 Keep definitions consistent with those in libio/libio.h.
1237 * libio/libio.h (_IO_file_flags): Remove macro.
1238 All uses changed to _flags.
1240 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
1241 (__HAVE_COLUMN, _IO_BE): Don't define.
1242 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
1243 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
1244 * libio/libioP.h (EOF): Don't define.
1245 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
1246 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
1247 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
1248 testing _IO_UNIFIED_JUMPTABLES.
1250 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
1251 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
1252 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
1253 (_IO_size_t): Delete; all uses changed to size_t.
1254 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
1255 (_IO_off_t): Delete; all uses changed to off_t.
1256 (_IO_off64_t): Delete; all uses changed to off64_t.
1257 (_IO_pid_t): Delete; all uses changed to pid_t.
1258 (_IO_uid_t): Delete; all uses changed to uid_t.
1259 (_IO_wint_t): Delete; all uses changed to wint_t.
1260 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
1261 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
1262 (_IO_cookie_io_functions_t): Delete; all uses changed to
1263 cookie_io_functions_t.
1264 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
1265 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
1266 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
1267 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
1269 * libio/iofopncook.c: Remove unnecessary forward declarations.
1270 * libio/iolibio.h: Correct outdated commentary.
1271 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
1272 * stdio-common/fxprintf.c (__fxprintf_nocancel):
1273 Remove unnecessary casts.
1274 * stdio-common/getline.c: Use _IO_getdelim directly.
1275 Don't redefine ssize_t.
1276 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
1277 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
1278 Remove outdated comments.
1279 * stdio-common/vfscanf.c: Don't redefine va_list.
1281 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
1282 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
1283 Remove preprocessor conditionals on _LIBC and __USE_GNU,
1284 which are always true, and __cplusplus, which is always false.
1286 2018-02-21 Joseph Myers <joseph@codesourcery.com>
1290 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
1291 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
1292 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
1293 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
1295 [!_ISOMAC] (putc_unlocked): Likewise.
1296 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
1297 define inline if [__USE_EXTERN_INLINES].
1298 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
1303 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
1304 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
1305 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
1306 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
1307 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
1309 * time/tzfile.c (__tzfile_read): Likewise.
1311 2018-02-21 Mike FABIAN <mfabian@redhat.com>
1314 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
1316 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
1318 * io/fcntl.h: Fix a typo in a comment.
1320 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
1323 * include/features.h: Add _ISOC11_SOURCE to test for whether to
1324 define _DEFAULT_SOURCE.
1325 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
1327 2018-02-21 Florian Weimer <fweimer@redhat.com>
1330 * elf/cache.c (save_cache): Call fsync on temporary file before
1332 (save_aux_cache): Call fdatasync on temporary file before renaming
1335 2018-02-21 Florian Weimer <fweimer@redhat.com>
1338 * include/caller.h: Remove file.
1339 * elf/dl-caller.c: Likewise.
1340 * elf/Makefile (dl-routines): Remove dl-caller.
1341 (shared-only-routines): Do not add dl-caller.
1342 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
1344 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
1346 (dl_open_worker): Do not call __check_caller.
1347 (_dl_open): Do not set caller_dl_open member.
1348 * elf/rtld.c (_rtld_global_ro): Do not initialize
1349 _dl_check_caller member.
1350 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
1351 _dl_check_caller member.
1352 (_dl_check_caller): Remove declaration.
1353 * sysdeps/unix/sysv/linux/dl-execstack.c
1354 (_dl_make_stack_executable): Do not call __check_caller.
1356 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
1358 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
1359 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
1361 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
1363 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
1366 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
1369 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
1370 of 199606L, 200112L, and 200809L.
1371 (_XOPEN_SOURCE): Document special values of 600 and 700.
1372 (_ISOC11_SOURCE): Document macro.
1373 (_ATFILE_SOURCE): Likewise.
1374 (_FORTIFY_SOURCE): Likewise.
1376 2018-02-19 Joseph Myers <joseph@codesourcery.com>
1380 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
1381 and define as weak alias of __ferror_unlocked. Use
1383 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
1385 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
1386 function if [__USE_EXTERN_INLINES].
1387 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
1390 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
1393 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
1395 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
1398 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
1399 the GLIBC_2.1 version.
1401 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
1404 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
1405 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
1406 intl/tst-gettext-de.po from po/de.po by removing the
1407 POT-Creation-Date line.
1408 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
1410 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
1413 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
1415 * mach/Makefile (headers): Add mach/param.h.
1416 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
1417 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
1418 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
1419 (__ptsname_r): Move implementation to...
1420 (__ptsname_internal): ... new function. Add filling the STP
1423 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
1425 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
1428 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
1430 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
1433 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1435 * nptl/Makefile (tst-mutex8-ENV): Delete.
1436 * nptl/tst-mutex8.c (check_type):
1437 Add runtime check if mutex will be elided.
1439 2018-02-15 Joseph Myers <joseph@codesourcery.com>
1443 * manual/install.texi (Configuring and compiling): Describe
1444 passing CC and CFLAGS on configure command line, not as
1445 environment variables. Use @code markup on those variables.
1446 Specify what options go in CC and what go in CFLAGS. Note the
1447 requirement to compile with optimization.
1448 * INSTALL: Regenerated.
1451 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
1452 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
1453 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
1454 __sigprocmask instead of sigprocmask.
1455 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
1457 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
1458 __sigsetjmp and sigprocmask.
1461 * include/argz.h (argz_next): Use libc_hidden_proto.
1462 (__argz_next): Likewise.
1463 * string-argz-next.c (__argz_next): Use libc_hidden_def.
1464 (argz_next): Use libc_hidden_weak.
1467 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
1469 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
1473 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
1475 * libio/iofputs.c (fputs): Use libc_hidden_weak.
1479 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
1480 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
1481 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
1482 (__feof_unlocked): New declaration, and inline function if
1483 [__USE_EXTERN_INLINES].
1484 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
1485 instead of feof_unlocked.
1486 * intl/localealias.c [_LIBC] (FEOF): Likewise.
1487 * nss/nsswitch.c (nss_parse_file): Likewise.
1488 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
1490 * time/getdate.c (__getdate_r): Likewise.
1491 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
1492 Define as macro to call __feof_unlocked.
1494 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
1496 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
1498 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
1500 * math/Makefile: Remove mpexp.c and mplog.c
1501 * sysdeps/i386/fpu/mpexp.c: Delete file.
1502 * sysdeps/i386/fpu/mplog.c: Likewise.
1503 * sysdeps/ia64/fpu/mpexp.c: Likewise.
1504 * sysdeps/ia64/fpu/mplog.c: Likewise.
1505 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
1506 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
1507 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
1508 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1509 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
1510 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
1511 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
1512 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
1513 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
1514 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
1515 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
1516 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
1517 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
1518 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
1519 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
1520 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
1522 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
1524 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1526 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1528 * sysdeps/sh/libm-test-ulps: Update.
1530 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1532 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
1535 2018-02-12 Zack Weinberg <zackw@panix.com>
1538 * posix/sys/types.h: Don't include sys/sysmacros.h.
1539 * misc/sys/sysmacros.h: Remove the conditional deprecation
1540 warnings for the macros defined by this header.
1542 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
1544 * manual/probes.texi: Remove slowexp probes.
1545 * math/Makefile: Remove slowexp.
1546 * sysdeps/generic/math_private.h (__slowexp): Remove.
1547 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
1548 document error bounds.
1549 * sysdeps/i386/fpu/slowexp.c: Remove.
1550 * sysdeps/ia64/fpu/slowexp.c: Remove.
1551 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
1552 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
1553 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
1554 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
1555 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
1556 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
1557 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
1558 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
1559 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
1560 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
1561 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
1563 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1566 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
1567 * benchtests/pow-inputs: Update comment for slow path cases.
1568 * manual/probes.texi (slowpow_p10): Delete removed probe.
1569 (slowpow_p10): Likewise.
1570 * math/Makefile: Remove halfulp.c and slowpow.c.
1571 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
1572 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
1573 (__halfulp): Remove.
1574 (__slowpow): Remove.
1575 * sysdeps/i386/fpu/halfulp.c: Delete file.
1576 * sysdeps/i386/fpu/slowpow.c: Likewise.
1577 * sysdeps/ia64/fpu/halfulp.c: Likewise.
1578 * sysdeps/ia64/fpu/slowpow.c: Likewise.
1579 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
1580 improve comments and add error analysis.
1581 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
1582 (power1): Remove function:
1583 (log1): Remove error argument, add error analysis.
1584 (my_log2): Remove function.
1585 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
1586 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1587 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
1588 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
1589 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
1590 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
1591 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
1592 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
1593 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
1594 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
1595 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
1596 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
1597 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
1598 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
1600 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1602 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
1603 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
1605 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
1608 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
1609 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
1610 and PTRACE_SETHBPREGS.
1612 2018-02-10 Zack Weinberg <zackw@panix.com>
1615 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
1617 * malloc/tst-malloc-stats-cancellation.c: New test case.
1618 * malloc/Makefile: Add new test case.
1620 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
1622 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
1624 2018-02-10 Joseph Myers <joseph@codesourcery.com>
1626 * math/Makefile (libm-narrow-fns): Add add.
1627 (libm-test-funcs-narrow): Likewise.
1628 * math/Versions (GLIBC_2.28): Add narrowing add functions.
1629 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
1630 * math/gen-auto-libm-tests.c (test_functions): Add add.
1631 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
1632 (NARROW_ADD_ROUND_TO_ODD): Likewise.
1633 (NARROW_ADD_TRIVIAL): Likewise.
1634 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
1636 (__daddl): Likewise.
1637 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
1639 (CFLAGS-nldbl-dadd.c): New variable.
1640 (CFLAGS-nldbl-fadd.c): Likewise.
1641 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
1643 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
1645 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
1646 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
1647 * math/auto-libm-test-in: Add tests of add.
1648 * math/auto-libm-test-out-narrow-add: New generated file.
1649 * math/libm-test-narrow-add.inc: New file.
1650 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
1651 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
1652 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
1653 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
1654 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
1655 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
1656 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
1657 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
1658 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
1660 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
1661 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
1663 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
1664 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
1665 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1666 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
1667 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1669 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
1670 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1671 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1672 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1673 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1674 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1675 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1676 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1677 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1678 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1679 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1680 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1681 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
1684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1686 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1687 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1688 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1689 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1690 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1691 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1692 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
1693 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
1694 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1695 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1697 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
1698 (f128-pairs): New variable.
1699 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
1700 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
1702 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
1703 Also make tests add $(f128-loader-link) to gnulib-tests.
1705 2018-02-09 DJ Delorie <dj@redhat.com>
1708 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
1709 64-bit ELF type for 64-bit ELF objects.
1711 2018-02-09 Joseph Myers <joseph@codesourcery.com>
1713 * math/libm-test-driver.c (snan_tests_arg): New variable.
1714 * math/libm-test-support.h (snan_tests_arg): New declaration.
1715 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
1717 * math/Makefile (test-type-pairs): New variable.
1718 (test-type-pairs-f64xf128-yes): Likewise.
1719 (tests): Add test-narrow-macros.
1720 (libm-test-funcs-narrow): New variable.
1721 (libm-test-c-narrow): Likewise.
1722 (generated): Add $(libm-test-c-narrow).
1723 (libm-tests-base-narrow): New variable.
1724 (libm-tests-narrow): Likewise.
1725 (libm-tests): Add $(libm-tests-narrow).
1726 (libm-tests-for-type): Handle $(libm-tests-narrow).
1727 (libm-test-c-narrow-obj): New variable.
1728 ($(libm-test-c-narrow-obj)): New rule.
1729 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
1730 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
1731 $(o-iterator) to set dependencies and CFLAGS.
1732 * math/gen-auto-libm-tests.c: Document use for narrowing
1734 (output_for_one_input_case): Take argument NARROW.
1735 (generate_output): Likewise. Update call to
1736 output_for_one_input_case.
1737 (main): Take --narrow option. Update call to generate_output.
1738 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
1739 (apply_lit): Update call to _apply_lit.
1740 (apply_arglit): New function.
1741 (parse_args): Handle "a" arguments.
1742 (parse_auto_input): Handle format names using ":".
1743 * math/README.libm-test: Document "a" parameter type.
1744 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
1745 (ARG_TYPE_TRUE_MIN): Likewise.
1746 (ARG_TYPE_MAX): Likwise.
1747 (ARG_MIN_EXP): Likewise.
1748 (ARG_MAX_EXP): Likewise.
1749 (ARG_MANT_DIG): Likewise.
1750 (TEST_COND_arg_ibm128): Likewise.
1751 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
1752 (TEST_COND_arg_fmt): New macro.
1753 (init_max_error): Update prototype.
1754 * math/libm-test-support.c (test_ibm128): New variable.
1755 (init_max_error): Take argument testing_ibm128 and set test_ibm128
1756 instead of using [TEST_COND_ibm128] conditional.
1757 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
1758 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
1759 [TEST_NARROW] (TEST_MSG): New definition.
1760 (arg_plus_zero): New macro.
1761 (arg_minus_zero): Likewise.
1762 (arg_plus_infty): Likewise.
1763 (arg_minus_infty): Likewise.
1764 (arg_qnan_value_pl): Likewise.
1765 (arg_qnan_value): Likewise.
1766 (arg_snan_value_pl): Likewise.
1767 (arg_snan_value): Likewise.
1768 (arg_max_value): Likewise.
1769 (arg_min_value): Likewise.
1770 (arg_min_subnorm_value): Likewise.
1771 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
1772 (RUN_TEST_LOOP_aa_f): New macro.
1773 (TEST_SUFF): New macro.
1774 (TEST_SUFF_STR): Likewise.
1775 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
1776 (TEST_COND_any_ibm128): New macro.
1777 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
1778 this_func. Update call to init_max_error.
1779 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
1780 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
1781 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
1782 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
1783 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
1784 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
1785 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
1786 * math/test-math-scalar.h (TEST_NARROW): Likewise.
1787 * math/test-math-vector.h (TEST_NARROW): Likewise.
1788 * math/test-arg-double.h: New file.
1789 * math/test-arg-float128.h: Likewise.
1790 * math/test-arg-float32x.h: Likewise.
1791 * math/test-arg-float64.h: Likewise.
1792 * math/test-arg-float64x.h: Likewise.
1793 * math/test-arg-ldouble.h: Likewise.
1794 * math/test-math-narrow.h: Likewise.
1795 * math/test-narrow-macros.c: Likewise.
1796 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
1797 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
1798 test-narrow-macros-ldbl-64.
1799 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
1801 * math/bits/mathcalls-narrow.h: New file.
1802 * include/bits/mathcalls-narrow.h: Likewise.
1803 * math/math-narrow.h: Likewise.
1804 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
1805 (__MATHCALL_NARROW_ARGS_2): Likewise.
1806 (__MATHCALL_NARROW_ARGS_3): Likewise.
1807 (__MATHCALL_NARROW_NORMAL): Likewise.
1808 (__MATHCALL_NARROW_REDIR): Likewise.
1809 (__MATHCALL_NARROW): Likewise.
1810 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
1811 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
1813 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1814 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
1815 (libm-narrow-fns): New variable.
1816 (libm-narrow-types-basic): Likewise.
1817 (libm-narrow-types-ldouble-yes): Likewise.
1818 (libm-narrow-types-float128-yes): Likewise.
1819 (libm-narrow-types-float128-alias-yes): Likewise.
1820 (libm-narrow-types): Likewise.
1821 (libm-routines): Add narrowing functions.
1822 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
1823 (libc_feholdexcept_setroundf128): New macro.
1824 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
1825 * sysdeps/ieee754/float128/float128_private.h: Include
1826 <math/math-narrow.h>.
1827 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
1828 Undefine and redefine.
1829 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
1830 (libm_alias_float_ldouble): Undefine and redefine.
1831 (libm_alias_double_ldouble): Likewise.
1833 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
1835 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
1837 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
1840 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
1842 * manual/creature.texi: Convert references to gcc.info to gcc.
1843 * manual/stdio.texi: Likewise.
1844 * manual/string.texi: Likewise.
1846 2018-02-07 Joseph Myers <joseph@codesourcery.com>
1849 * posix/bits/types.h (__int_least8_t): New typedef.
1850 (__uint_least8_t): Likewise.
1851 (__int_least16_t): Likewise.
1852 (__uint_least16_t): Likewise.
1853 (__int_least32_t): Likewise.
1854 (__uint_least32_t): Likewise.
1855 (__int_least64_t): Likewise.
1856 (__uint_least64_t): Likewise.
1857 * sysdeps/generic/stdint.h (int_least8_t): Define using
1859 (int_least16_t): Define using __int_least16_t.
1860 (int_least32_t): Define using __int_least32_t.
1861 (int_least64_t): Define using __int_least64_t.
1862 (uint_least8_t): Define using __uint_least8_t.
1863 (uint_least16_t): Define using __uint_least16_t.
1864 (uint_least32_t): Define using __uint_least32_t.
1865 (uint_least64_t): Define using __uint_least64_t.
1866 * wcsmbs/uchar.h: Include <bits/types.h>.
1867 (char16_t): Define using __uint_least16_t conditional only on
1869 (char32_t): Define using __uint_least32_t conditional only on
1871 * wcsmbs/test-char-types.c: New file.
1872 * wcsmbs/Makefile (tests): Add test-char-types.
1874 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1877 2018-02-07 Zack Weinberg <zackw@panix.com>
1879 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
1880 Delete all contents except for definitions of _G_HAVE_MMAP and
1881 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
1882 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
1883 sysdeps/unix/sysv/linux/_G_config.h. Make same content
1886 * libio/libio.h: Don't include bits/_G_config.h here.
1887 Include stddef.h with __need_wchar_t defined. Include
1888 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
1889 Define _IO_iconv_t here, directly.
1890 Don't define _IO_HAVE_ST_BLKSIZE.
1891 * libio/libioP.h: Include _G_config.h here. Move include of
1892 shlib-compat.h up with rest of includes. Simplify conditionals
1893 controlling definition of _IO_JUMPS_OFFSET.
1895 * csu/init.c: Remove always-true #if around entire file.
1896 Don't include stdio.h. Set _IO_stdin_used to hardwired
1897 constant 0x20001, and update commentary.
1898 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
1899 Replace all uses of _G_va_list with __gnuc_va_list.
1900 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
1901 instead of #if _IO_HAVE_ST_BLKSIZE.
1902 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
1903 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
1906 * libio/bits/libio.h: Move back to libio/libio.h and adjust
1907 multiple-include guard to match.
1908 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
1910 Remove preprocessor conditionals that are always true and/or
1911 redundant to other preprocessor conditionals in the same nest.
1912 Include shlib-compat.h unconditionally.
1913 Error out if _LIBC is not defined, or if _ISOMAC is defined,
1914 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
1915 defined after including stdio.h.
1916 Use __BEGIN_DECLS/__END_DECLS.
1918 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
1919 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
1920 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
1922 2018-02-07 Zack Weinberg <zackw@panix.com>
1924 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
1925 New single-type headers split from _G_config.h.
1926 * libio/bits/types/cookie_io_functions_t.h
1927 * libio/bits/types/struct_FILE.h
1928 New single-type headers split from libio.h.
1930 * libio/Makefile: Install the above new headers. Don't install
1931 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
1933 * libio/_G_config.h, libio/libio.h: Delete file.
1935 * libio/bits/libio.h: Remove improper-inclusion guard.
1936 Include stdio.h and don't repeat anything that it does.
1937 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
1938 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
1939 __io_read_fn as cookie_read_function_t,
1940 __io_write_fn as cookie_write_function_t,
1941 __io_seek_fn as cookie_seek_function_t,
1942 __io_close_fn as cookie_close_function_t,
1943 and _IO_cookie_io_functions_t as cookie_io_functions_t.
1944 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
1945 here, in the "compatibility defines" section. Remove an #if 0
1946 block. Use the "body" macros from bits/types/struct_FILE.h to
1947 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
1948 and _IO_ferror_unlocked.
1949 Move prototypes of __uflow and __overflow...
1951 * libio/stdio.h: ...here. Don't include bits/libio.h.
1952 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
1953 directly from stdarg.h. Include bits/types/__fpos_t.h,
1954 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
1955 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
1956 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
1957 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
1958 cookie_io_functions_t, not _IO_cookie_io_functions_t;
1959 __ssize_t, not _IO_ssize_t. Unconditionally define
1960 BUFSIZ as 8192 and EOF as (-1).
1962 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
1963 macros from bits/types/struct_FILE.h instead of _IO_* macros
1964 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
1965 instead of _IO_ssize_t.
1966 * libio/bits/stdio2.h: Similarly.
1968 * libio/iolibio.h: Add multiple-include guard.
1969 Include bits/libio.h after stdio.h.
1970 * libio/libioP.h: Add multiple-include guard.
1971 Include stdio.h and bits/libio.h before iolibio.h.
1973 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
1974 * include/bits/types/cookie_io_functions_t.h
1975 * include/bits/types/struct_FILE.h: New wrappers.
1977 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
1978 Get definitions of _G_fpos_t and _G_fpos64_t from
1979 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
1980 respectively. Remove improper-inclusion guards.
1982 * conform/data/stdio.h-data: Update expectations of va_list.
1983 * scripts/check-installed-headers.sh: Remove special case for
1984 libio.h and _G_config.h.
1986 2018-02-07 Joseph Myers <joseph@codesourcery.com>
1990 * include/sys/sysmacros.h [!_ISOMAC]
1991 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
1992 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
1993 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
1994 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
1996 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
1997 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
1999 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
2000 Undefine and redefine to add use __gnu_dev_ prefix.
2001 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
2003 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
2004 and define as hidden inline function.
2005 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
2007 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
2009 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
2010 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
2011 (gnu_dev_minor): Likewise.
2012 (gnu_dev_makedev): Likewise.
2013 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
2015 * posix/wordexp.c (exec_comm_child): Likewise.
2016 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
2017 instead of minor and __gnu_dev_major instead of major.
2018 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
2019 __gnu_dev_major instead of major.
2020 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
2021 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
2022 instead of gnu_dev_minor.
2023 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
2024 (SLAVE_P): Likewise.
2025 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
2026 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
2030 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
2032 * locale/weightwc.h (findidx): Likewise.
2034 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
2036 * manual/probes.texi (slowlog): Delete documentation of removed probe.
2037 (slowlog_inexact): Likewise
2038 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
2039 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
2041 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
2044 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
2045 missing second underscore to parameter name.
2047 2018-02-06 Joseph Myers <joseph@codesourcery.com>
2053 * bits/byteswap.h: Update file comment. Do not include
2054 <bits/byteswap-16.h>.
2055 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
2057 (__bswap_16): Define as inline function.
2058 (__bswap_constant_32): Reformat definition.
2059 (__bswap_32): Always define as inline function, not macro, using
2060 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
2061 otherwise __bswap_constant_32.
2062 (__bswap_constant_64): Reformat definition. Do not use
2064 (__bswap_64): Always define as inline function, not macro. Use
2065 __extension__ on function definition. Use __builtin_bswap64 if
2066 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
2067 * string/test-endian-file-scope.c: New file.
2068 * string/test-endian-sign-conversion.c: Likewise.
2069 * string/Makefile (headers): Remove bits/byteswap-16.h.
2070 (tests): Add test-endian-file-scope and
2071 test-endian-sign-conversion.
2072 (CFLAGS-test-endian-sign-conversion.c): New variable.
2073 * bits/byteswap-16.h: Remove file.
2074 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
2075 * sysdeps/ia64/bits/byteswap.h: Likewise.
2076 * sysdeps/m68k/bits/byteswap.h: Likewise.
2077 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2078 * sysdeps/s390/bits/byteswap.h: Likewise.
2079 * sysdeps/tile/bits/byteswap.h: Likewise.
2080 * sysdeps/x86/bits/byteswap-16.h: Likewise.
2081 * sysdeps/x86/bits/byteswap.h: Likewise.
2084 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
2085 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
2086 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
2087 199901L] (__restrict): Define to restrict.
2090 * string/testcopy.c: Include <support/support.h>. Do not include
2091 <malloc.h>. Use <support/test-driver.c>.
2092 (main): Rename to do_test. Make static. Use xmalloc instead of
2096 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
2097 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
2098 (SSIZE_MAX): Define to INT_MAX.
2099 * posix/test-ssize-max.c: New file.
2100 * posix/Makefile (tests): Add test-ssize-max.
2103 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
2104 <support/support.h>. Do not include <malloc.h>.
2105 (query_auxv): Use xmalloc instead of malloc.
2108 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
2109 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
2112 2018-02-06 Florian Weimer <fweimer@redhat.com>
2115 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2116 Use scratch_buffer instead of extend_alloca.
2118 2018-02-06 Zack Weinberg <zackw@panix.com>
2120 * libio/stdio.h: Don't define getc or putc as macros.
2121 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
2122 not _IO_getc and _IO_putc.
2124 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
2125 * stdio-common/tstgetln.c: Don't redefine ssize_t.
2127 2018-02-06 Joseph Myers <joseph@codesourcery.com>
2129 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
2130 (TCP_FASTOPEN_NO_COOKIE): Likewise.
2132 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
2135 * elf/elf.h (NT_PRFPREG): New macro.
2136 (NT_S390_VXRS_LOW): Likewise.
2137 (NT_S390_VXRS_HIGH): Likewise.
2138 (NT_S390_GS_CB): Likewise.
2139 (NT_S390_GS_BC): Likewise.
2140 (NT_S390_RI_CB): Likewise.
2142 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
2143 (MAP_SYNC): New macro.
2144 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
2146 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
2147 (MAP_SYNC): Likewise.
2148 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
2149 (MAP_SYNC): Likewise.
2150 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
2151 (MAP_SYNC): Likewise.
2152 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
2153 (MAP_SYNC): Likewise.
2154 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
2155 (MAP_SYNC): Likewise.
2156 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
2157 (MAP_SYNC): Likewise.
2158 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
2160 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
2163 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
2164 (MAP_SHARED_VALIDATE): New macro.
2165 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
2166 (MAP_SHARED_VALIDATE): Likewise.
2168 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
2170 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
2171 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
2172 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2174 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
2176 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
2177 (DT_NUM): Updated to 35.
2179 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
2181 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
2182 __builtin_expect with __glibc_likely and __glibc_unlikely.
2183 (elf_machine_rela): Likewise.
2184 (elf_machine_lazy_rel): Likewise.
2186 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
2188 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
2189 __builtin_expect with __glibc_likely and __glibc_unlikely.
2190 (elf_machine_lazy_rel): Likewise.
2192 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
2195 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
2197 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
2199 2018-02-05 Andreas Schwab <schwab@suse.de>
2202 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
2205 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2207 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
2208 not check against PTHREAD_STACK_MIN.
2210 2018-02-02 Sean McKean <smckean83@gmail.com>
2213 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
2215 2018-02-02 Florian Weimer <fweimer@redhat.com>
2218 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
2219 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
2220 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
2221 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
2222 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
2223 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
2224 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
2225 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
2226 * manual/llio.texi (Scatter-Gather): Mention offset -1.
2227 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
2228 * misc/tst-preadvwritev2.c (do_test): Call it.
2229 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
2231 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
2233 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
2235 * benchtests/bench-memcmp.c: Print json instead of plain text.
2237 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
2240 2018-02-01 Joseph Myers <joseph@codesourcery.com>
2242 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2244 (s390_sthyi): New syscall.
2246 * sysdeps/generic/ldbl-classify-compat.h: New file.
2247 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
2248 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
2249 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
2250 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
2251 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
2252 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
2253 * sysdeps/ieee754/dbl-64/s_finite.c: Include
2254 <ldbl-classify-compat.h>.
2255 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
2256 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
2257 <ldbl-classify-compat.h>.
2258 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
2259 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
2260 <ldbl-classify-compat.h>.
2261 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
2262 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
2263 <ldbl-classify-compat.h>.
2264 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
2265 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
2266 <ldbl-classify-compat.h>.
2267 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
2268 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
2269 <ldbl-classify-compat.h>.
2270 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
2271 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
2272 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2273 * sysdeps/m68k/coldfire/math_private.h: Remove file.
2274 * sysdeps/microblaze/math_private.h: Likewise.
2275 * sysdeps/nios2/math_private.h: Likewise.
2276 * sysdeps/sh/math_private.h: Likewise.
2278 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
2279 * sysdeps/m68k/coldfire/math_private.h: ... here.
2280 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
2281 * sysdeps/tile/math_private.h: Likewise.
2282 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
2284 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
2287 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
2289 (libc_fetestexcept): Likewise.
2290 (libc_feupdateenv_test): Likewise.
2291 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
2292 (libc_fetestexcept): Likewise.
2293 (libc_feupdateenv_test): Likewise.
2294 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
2295 (libc_fetestexcept): Likewise.
2296 (libc_feupdateenv_test): Likewise.
2297 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
2298 (libc_fetestexcept): Likewise.
2299 (libc_feupdateenv_test): Likewise.
2301 * sysdeps/generic/math_private.h
2302 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
2303 New inline function.
2304 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
2307 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
2308 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
2309 * sysdeps/generic/math_private.h
2310 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
2312 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
2314 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
2316 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
2318 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
2320 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
2322 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
2323 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
2324 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
2325 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
2326 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
2327 (__fegetenv): Likewise.
2328 (fesetenv): Likewise.
2329 (__fesetenv): Likewise.
2330 (feupdateenv): Likewise.
2331 (__feupdateenv): Likewise.
2332 (fegetround): Likewise.
2333 (__fegetround): Likewise.
2334 (fesetround): Likewise.
2335 (__fesetround): Likewise.
2337 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
2338 (feraiseexcept): New macro.
2339 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
2340 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
2342 (__feraiseexcept): Likewise.
2343 (feclearexcept): Likewise.
2344 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
2345 (__feraiseexcept): Likewise.
2346 (feclearexcept): Likewise.
2347 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
2348 (__feraiseexcept): Likewise.
2349 (feclearexcept): Likewise.
2350 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
2351 (__feraiseexcept): Likewise.
2352 (feclearexcept): Likewise.
2353 (fetestexcept): Likewise.
2355 * sysdeps/m68k/coldfire/math-tests.h: New file.
2357 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
2358 * sysdeps/m68k/bits/fenv.h: ... here.
2359 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
2361 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
2363 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
2365 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
2367 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
2369 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
2371 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
2372 (__FE_UNDEFINED): New enum constant.
2373 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
2375 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
2377 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
2379 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
2380 to match generic bits/fenv.h.
2381 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
2384 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
2386 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
2387 * soft-fp/half.h (union _FP_UNION_H): Likewise.
2388 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
2389 * soft-fp/single.h (union _FP_UNION_S): Likewise.
2391 2018-02-01 Carlos O'Donell <carlos@redhat.com>
2392 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
2393 Joseph Myers <joseph@codesourcery.com>
2396 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
2397 (__log1p): Disable -Wmaybe-uninitialized for -Os around
2398 computation using c.
2399 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
2400 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
2401 computation using c.
2403 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
2405 * version.h (RELEASE): Set to "development".
2406 (VERSION): Set to "2.27.9000".
2407 * NEWS (2.28): New section.
2409 * version.h (RELEASE): Set to "stable".
2410 (VERSION): Set to "2.27".
2411 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
2413 * NEWS: Add the list of bugs fixed in 2.27.
2415 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2417 * stdlib/test-atexit-race-common.c (do_test): Check stack size
2418 against PTHREAD_STACK_MIN.
2420 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
2422 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
2424 (Rafal Luzynski, Andreas Schwab): Update.
2426 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
2429 * NEWS: List the languages which actually use the alternative
2430 months feature in this release. Also explain that "alt_mon" and
2431 "ab_alt_mon" are optional.
2433 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
2436 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
2438 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
2440 * manual/install.texi (Tools for Compilation): Update the newest
2441 versions of gcc, binutils, texinfo, gawk, bison, and sed.
2442 * INSTALL: Regenerated.
2444 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2446 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
2447 instead of __builtin_expect.
2449 2018-01-30 Florian Weimer <fweimer@redhat.com>
2451 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
2453 * nss/tst-nss-getpwent.c (do_test): Likewise.
2455 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
2458 * localedata/locales/hr_HR (mon): Rename to...
2460 (mon): Import from CLDR (genitive case).
2461 (d_t_fmt): Update the comment.
2463 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
2465 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
2466 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
2467 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
2469 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2471 * mach/Versions: Fix version when __mach_host_self_ was added.
2472 * hurd/Versions: Fix version when _hurd_exec_paths was added.
2473 * sysdeps/mach/hurd/i386/ld.abilist: New file.
2474 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
2475 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
2476 * sysdeps/mach/hurd/i386/libc.abilist: New file.
2477 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
2478 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
2479 * sysdeps/mach/hurd/i386/libm.abilist: New file.
2480 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
2481 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
2482 * sysdeps/mach/hurd/i386/librt.abilist: New file.
2483 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
2484 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
2485 || to respect codestyle.
2486 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
2487 (do_test_bz20181): Rename accordingly.
2488 * malloc/malloc.c: Include <assert.h>.
2489 (assert): Do not define.
2490 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
2491 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
2492 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
2493 * sysdeps/mach/hurd/hp-timing.h: New file.
2494 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
2496 2018-01-29 Darius Rad <darius@bluespec.com>
2498 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
2500 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
2502 * sysdeps/init_array/crti.S (.section .init_array): Add
2503 PREINIT_FUNCTION when defined.
2504 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
2505 * config.h.in: Regenerate.
2506 * manual/platform.texi: Add RISC-V documenation for
2507 __riscv_flush_icache.
2508 * sysdeps/riscv/__longjmp.S: New file.
2509 * sysdeps/riscv/backtrace.c: Likewise.
2510 * sysdeps/riscv/bits/endian.h: Likewise.
2511 * sysdeps/riscv/bits/setjmp.h: Likewise.
2512 * sysdeps/riscv/bits/wordsize.h: Likewise.
2513 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
2514 * sysdeps/riscv/bsd-setjmp.c: Likewise.
2515 * sysdeps/riscv/dl-trampoline.S: Likewise.
2516 * sysdeps/riscv/gccframe.h: Likewise.
2517 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
2518 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
2519 * sysdeps/riscv/machine-gmon.h: Likewise.
2520 * sysdeps/riscv/memusage.h: Likewise.
2521 * sysdeps/riscv/setjmp.S: Likewise.
2522 * sysdeps/riscv/sys/asm.h: Likewise.
2523 * sysdeps/riscv/tls-macros.h: Likewise.
2524 * sysdeps/riscv/dl-tls.h: New file.
2525 * sysdeps/riscv/libc-tls.c: Likewise.
2526 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
2527 * sysdeps/riscv/nptl/tls.h: Likewise.
2528 * sysdeps/riscv/stackinfo.h: Likewise.
2529 * sysdeps/riscv/bits/fenv.h: New file.
2530 * sysdeps/riscv/e_sqrtl.c: Likewise.
2531 * sysdeps/riscv/fpu_control.h: Likewise.
2532 * sysdeps/riscv/math-tests.h: Likewise.
2533 * sysdeps/riscv/nofpu/Implies: Likewise.
2534 * sysdeps/riscv/sfp-machine.h: Likewise.
2535 * sysdeps/riscv/tininess.h: Likewise.
2536 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
2537 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
2538 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
2539 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
2540 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
2541 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
2542 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
2543 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
2544 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
2545 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
2546 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
2547 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
2548 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
2549 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
2550 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
2551 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
2552 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
2553 * sysdeps/riscv/rvd/s_finite.c: Likewise.
2554 * sysdeps/riscv/rvd/s_fma.c: Likewise.
2555 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
2556 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
2557 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
2558 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
2559 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
2560 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
2561 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
2562 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
2563 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
2564 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
2565 * sysdeps/riscv/rvf/fegetround.c: Likewise.
2566 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
2567 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
2568 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
2569 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
2570 * sysdeps/riscv/rvf/fesetround.c: Likewise.
2571 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
2572 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
2573 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
2574 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
2575 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
2576 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
2577 * sysdeps/riscv/rvf/math_private.h: Likewise.
2578 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
2579 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
2580 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
2581 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
2582 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
2583 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
2584 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
2585 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
2586 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
2587 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
2588 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
2589 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
2590 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
2591 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
2592 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
2593 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
2594 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
2595 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
2596 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
2597 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
2598 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
2599 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
2600 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
2601 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
2602 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2603 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
2604 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
2605 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
2606 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
2607 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
2608 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
2609 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
2610 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
2611 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
2612 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
2613 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
2614 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
2615 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
2616 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
2617 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
2618 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
2619 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
2620 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
2621 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
2622 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
2623 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
2624 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
2625 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
2626 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
2627 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
2628 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
2629 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
2630 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
2631 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2632 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
2633 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
2634 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
2635 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
2636 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
2637 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
2638 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
2639 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
2640 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2641 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
2642 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
2643 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
2644 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
2645 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
2646 * sysdeps/riscv/Implies: New file.
2647 * sysdeps/riscv/Makefile: Likewise.
2648 * sysdeps/riscv/configure: Likewise.
2649 * sysdeps/riscv/configure.ac: Likewise.
2650 * sysdeps/riscv/nptl/Makefile: Likewise.
2651 * sysdeps/riscv/preconfigure: Likewise.
2652 * sysdeps/riscv/rv64/Implies-after: Likewise.
2653 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
2654 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
2655 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
2656 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
2657 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
2658 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
2659 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
2660 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
2661 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
2662 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
2663 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
2664 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
2667 2018-01-29 Florian Weimer <fweimer@redhat.com>
2670 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
2671 libnsl_hidden_proto.
2672 * include/rpcsvc/yp.h (yp_xdrall): Declare with
2673 libnsl_hidden_proto.
2674 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
2675 * nis/Makefile (libnsl-routines): Add nss-default only for
2677 * nis/nis_defaults.c (__nis_default_ttl): Add
2678 libnsl_hidden_nolink_def.
2679 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
2681 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
2682 * nis/ypclnt.c (yp_maplist): Likewise.
2684 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
2686 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2687 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
2689 2018-01-29 Joseph Myers <joseph@codesourcery.com>
2691 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
2692 clean -dxfq for git updates when replacing sources.
2694 * scripts/build-many-glibcs.py (Config.build_gcc): Use
2695 --disable-libcilkrts unconditionally, not just for the final GCC
2698 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2701 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
2704 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
2707 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
2710 * localedata/locales/be_BY (mon): Rename to...
2711 (alt_mon): This, then synchronize with CLDR (nominative case).
2712 (abmon): Rename to...
2713 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
2714 (mon): Import from CLDR (genitive case).
2716 * localedata/locales/be_BY@latin (mon): Rename to...
2718 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
2720 * localedata/locales/be_BY@latin (lang_name): Reworded to
2721 "biełaruskaja mova".
2723 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
2726 * localedata/locales/el_CY (mon): Renamed to...
2728 (mon): Import from CLDR (genitive case).
2729 * localedata/locales/el_GR: Likewise.
2731 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
2734 * localedata/locales/ru_RU (mon): Rename to...
2736 (abmon): Rename to...
2738 (mon): Import from CLDR (genitive case).
2739 (abmon): Copy from the old content except the 5th month which is
2740 now in the genitive case, even when abbreviated.
2741 * localedata/locales/ru_UA: Likewise.
2742 * time/tst-strptime.c (day_tests): Add an actual example of
2743 a difference between %b and %Ob in Russian.
2745 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2747 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
2748 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
2750 * resolv/res-close.c: Include <stdlib.h>.
2751 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
2752 <sys/wait.h>, <time.h>, <sys/uio.h>.
2753 (NOT_CANCEL_H): Add inclusion guard.
2754 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
2755 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
2756 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
2758 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
2759 vm_address_t * to ElfW(Addr) * for dl_main parameter.
2760 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
2762 * sysdeps/pthread/timer_create.c (timer_create): Do not use
2763 timer_ptr2id to cast struct timer_node * to void *.
2764 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
2765 --disable-libcilkrts to gcc configure.
2766 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
2767 and make them the default for now.
2768 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
2769 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
2770 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
2771 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
2772 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
2774 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
2775 __task_terminate would ever return successfully.
2776 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
2778 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
2779 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
2780 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
2781 critical section to make code simpler and avoid warning.
2782 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
2783 critical section to make code simpler and avoid warning.
2784 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
2785 const char * instead of char *.
2786 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
2787 __hurd_file_name_split, hurd_file_name_split,
2788 __hurd_directory_name_split, hurd_directory_name_split,
2789 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
2790 hurd_file_name_path_lookup): Make lookup function parameter take a
2791 const char *name instead of char *name.
2792 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
2793 __hurd_directory_name_split): Likewise.
2794 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2795 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
2796 * sysdeps/mach/hurd/check_native.c: New file.
2797 * sysdeps/mach/hurd/check_pf.c: New file.
2798 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
2799 (__freeifaddrs): Define macro to freeifaddrs.
2800 * sysdeps/mach/hurd/libhurduser.abilist: New file.
2801 * sysdeps/mach/libmachuser.abilist: New file.
2802 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
2803 (do_test_bz20181): Rename accordingly.
2804 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
2805 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
2807 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
2808 version only if __USE_EXTERN_INLINES is defined.
2809 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
2810 __hurd_sockfail): Likewise.
2811 (_hurd_fd_get): Always declare functions, and provide inline versions
2812 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
2813 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
2814 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
2815 _hurd_port_set): Always declare functions, and provide inline versions
2816 only if __USE_EXTERN_INLINES and _LIBC are defined and
2818 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
2819 _hurd_critical_section_unlock): Likewise.
2820 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
2821 * __hurd_threadvar_location): Likewise.
2822 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
2823 _hurd_userlink_clear): Likewise.
2824 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
2825 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
2826 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
2827 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
2828 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
2829 __spin_lock_locked): Likewise.
2830 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
2831 __spin_lock_locked): Likewise.
2832 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
2833 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
2834 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
2835 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
2836 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
2837 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
2838 _POSIX_NO_TRUNC): Define to 0.
2839 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
2840 check size against PTHREAD_STACK_MIN.
2841 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
2842 IS_IN(libpthread)]: Include <sigsetops.h>.
2843 * mach/Makefile (user-interfaces): Add mach/gnumach.
2844 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
2845 * sysdeps/mach/configure (mach_interface_list): Regenerate.
2846 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
2847 instead of invalid -1.
2848 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
2849 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
2850 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
2853 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
2855 * hurd/fcntl-internal.h: New file.
2857 2018-01-27 James Clarke <jrtc27@jrtc27.com>
2859 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2861 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2863 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
2866 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
2867 Build only shared objects.
2869 2018-01-26 Carlos O'Donell <carlos@redhat.com>
2871 * README: Update for hppa.
2873 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
2875 * sysdeps/sparc/fpu/libm-test-ulps: Update
2876 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
2878 2018-01-26 Carlos O'Donell <carlos@redhat.com>
2882 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
2885 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
2886 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
2887 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
2888 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
2891 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
2894 * bits/types/__cancel_jmp_buf_tag.h: New file.
2895 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
2896 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
2897 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
2898 * nptl/Makefile (headers): Add
2899 bits/types/__cancel_jmp_buf_tag.h.
2900 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
2901 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
2902 * sysdeps/nptl/pthread.h: Include
2903 <bits/types/__cancel_jmp_buf_tag.h>.
2904 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
2906 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
2908 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
2911 * localedata/locales/uk_UA (mon): Renamed to...
2913 (alt_digits): "0" removed and then renamed to...
2915 (date_fmt): Definition changed not to use the alternative
2918 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
2920 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
2921 FLAG_RISCV_FLOAT_ABI_DOUBLE.
2922 * elf/elf.h (EF_RISCV_RVC): New define.
2923 (EF_RISCV_FLOAT_ABI): Likewise.
2924 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
2925 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
2926 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
2927 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
2928 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
2930 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
2932 2018-01-25 Andreas Schwab <schwab@suse.de>
2934 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
2936 * sysdeps/gnu/configure: Regenerate.
2937 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
2938 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2940 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
2941 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
2942 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
2943 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
2944 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
2946 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
2948 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
2949 URL, and run autoconf, make it the default for now.
2951 2018-01-24 Joseph Myers <joseph@codesourcery.com>
2953 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2954 soft-float ColdFire configuration.
2956 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
2957 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
2958 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
2960 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
2963 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
2965 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
2967 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
2970 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
2971 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
2972 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
2975 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2978 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
2979 Rename to __reserved and add comment.
2980 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
2981 Rename to __reserved.
2983 2018-01-24 Joseph Myers <joseph@codesourcery.com>
2985 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2986 i686-gnu configurations.
2987 (Context.run_builds): Include mig, gnumach and hurd in components
2989 (Context.checkout): Add mig, gnumach and hurd to components.
2990 (Context.checkout_tar): Add URL mappings for mig, gnumach and
2992 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
2993 (Config.build): Install gnumach headers, build mig and install
2994 hurd headers for 'gnu' OS.
2995 (Config.install_gnumach_headers): New function.
2996 (Config.install_hurd_headers): Likewise.
2997 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
2998 when building for 'gnu' OS.
3000 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
3002 * manual/tunables.texi (Hardware Capability Tunables): Fix
3005 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
3007 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
3008 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
3009 (ALTMON_11, ALTMON_12): Improve documentation.
3010 * manual/time.texi (strftime): Likewise.
3012 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
3015 * localedata/locales/pl_PL: Alternative month names added,
3016 primary month names are genitive now.
3017 * time/tst-strptime.c (day_tests): Actually use a genitive case
3018 of a month name in Polish language.
3020 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
3023 * manual/locale.texi: Document ALTMON_1..12 constants for
3024 nl_langinfo. Specify when to use ALTMON instead of MON.
3025 * manual/time.texi (strftime, strptime): Document GNU extension
3026 permitting O modifier with %B and %b. Specify when to use
3029 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
3032 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
3033 names, define them as the same as abbreviated month names explicitly.
3034 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
3035 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
3036 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
3037 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
3038 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
3039 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
3040 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
3041 _NL_WABALTMON_12): New enum constants.
3042 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
3043 wab_alt_mon, and ab_alt_mon_defined members.
3044 (time_output): Output ab_alt_mon and wab_alt_mon members.
3045 (time_read): Read them, initialize them as copies of abmon and wabmon
3046 respectively if they are missing, initialize ab_alt_mon_defined.
3047 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
3048 * locale/programs/locfile-kw.h: Regenerate.
3049 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
3050 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
3052 * time/strftime_l.c (a_altmonth, aam_len): New macros.
3053 [!COMPILE_WIDE] (ABALTMON_1): New macro.
3054 (__strftime_internal): Handle %Ob and %Oh formats.
3055 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
3056 (__strptime_internal): Handle %Ob and %Oh formats.
3057 * time/tst-strptime.c (day_tests): Add more tests to parse different
3058 forms of month names including the new %Ob format specifier.
3060 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
3063 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
3064 define them as the same as primary full month names explicitly.
3065 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
3066 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
3067 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
3068 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
3069 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
3070 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
3071 _NL_WALTMON_12): New enum constants.
3072 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
3073 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
3075 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
3076 walt_mon, and alt_mon_defined members.
3077 (time_output): Output alt_mon and walt_mon members.
3078 (time_read): Read them, initialize them as copies of mon and wmon
3079 respectively if they are missing, initialize alt_mon_defined.
3080 * locale/programs/locfile-kw.gperf (alt_mon): Define.
3081 * locale/programs/locfile-kw.h: Regenerate.
3082 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
3083 * localedata/tst-langinfo.c (map): Add tests for the new constants
3084 ALTMON_1 .. ALTMON_12.
3085 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
3087 * time/strftime_l.c (f_altmonth): New macro.
3088 (__strftime_internal): Handle %OB format.
3089 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
3090 (__strptime_internal): Handle %OB format.
3091 * time/tst-strptime.c (day_tests): Add tests to parse different forms
3092 of month names including the new %OB format specifier.
3094 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3097 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
3098 from ABORT_TRANSACTION.
3099 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
3100 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
3101 ABORT_TRANSACTION_IMPL): Likewise.
3102 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
3103 Linux code, but remove the code that aborts transactions.
3105 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
3107 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
3109 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
3111 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
3112 in date: "2004-14-09" should be "2004-09-14".
3113 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
3114 "2003-15-09" should be "2003-09-15".
3116 2018-01-18 Arjun Shankar <arjun@redhat.com>
3122 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
3124 (_int_memalign): check for integer overflow before calling
3126 * malloc/tst-malloc-too-large.c: New test.
3127 * malloc/Makefile: Add tst-malloc-too-large.
3129 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
3131 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
3132 in date: "2017-24-07" should be "2017-07-24".
3133 * localedata/locales/mai_IN: Likewise.
3134 * localedata/locales/mai_NP: Likewise.
3136 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
3138 * po/ru.po: Update translations.
3140 2018-01-17 Joseph Myers <joseph@codesourcery.com>
3143 * sysdeps/hppa/backtrace.c: New file.
3145 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
3148 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
3149 align La_x86_64_retval to VEC_SIZE.
3151 2018-01-16 Joseph Myers <joseph@codesourcery.com>
3153 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
3154 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
3156 2018-01-16 Florian Weimer <fweimer@redhat.com>
3158 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
3159 Move tst-thread-exit-clobber ...
3160 [$(CXX)] (tests-unsupported): ... to here.
3162 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
3164 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
3165 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
3166 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3167 (_dl_aarch64_cap_flags): Update.
3168 (_DL_HWCAP_COUNT): Update.
3170 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
3172 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3173 (_DL_HWCAP_LAST): Remove.
3174 (_DL_HWCAP_COUNT): Move to ...
3175 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3176 (_DL_HWCAP_COUNT): ... here.
3178 2018-01-16 Florian Weimer <fweimer@redhat.com>
3180 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
3181 mode with GNU extensions.
3183 2018-01-15 Alan Hayward <alan.hayward@arm.com>
3185 * elf/elf.h (NT_ARM_SVE): Define.
3187 2018-01-15 Florian Weimer <fweimer@redhat.com>
3190 * nptl/tst-minstack-throw.cc: New file.
3191 * nptl/Makefile (tests): Add tst-minstack-throw.
3192 (LDLIBS-tst-minstack-throw): Link with libstdc++.
3193 [!CXX] (tests-unsupported): Add tst-minstack-throw.
3195 2018-01-15 Joseph Myers <joseph@codesourcery.com>
3197 * scripts/build-many-glibcs.py (Context.checkout): Default
3198 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
3201 2018-01-13 Carlos O'Donell <carlos@redhat.com>
3204 * elf/elf.h (DF_1_STUB): Define.
3207 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3210 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
3211 Do not add 0.5 to integer or out-of-range arguments.
3213 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
3215 * po/bg.po: Update translations.
3216 * po/cs.po: Likewise.
3217 * po/de.po: Likewise.
3218 * po/ko.po: Likewise.
3219 * po/pl.po: Likewise.
3220 * po/sv.po: Likewise.
3221 * po/uk.po: Likewise.
3222 * po/vi.po: Likewise.
3224 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
3226 * aarch64/start.S (_start): Use __wrap_main.
3227 (__wrap_main): New local symbol.
3229 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
3233 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
3234 generic_getcwd if the path returned by getcwd syscall is not absolute.
3235 * io/tst-getcwd-abspath.c: New test.
3236 * io/Makefile (tests): Add tst-getcwd-abspath.
3238 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
3240 * malloc/malloc.c (malloc_consolidate): Add size check.
3242 2018-01-12 Florian Weimer <fweimer@redhat.com>
3244 * support/write_message.c (write_message): Preserve errno.
3245 * support/check.c (print_failure): Likewise.
3246 * support/support_test_verify_impl.c (support_test_verify_impl):
3248 * support/support_test_compare_failure.c
3249 (support_test_compare_failure): Likewise.
3251 2018-01-12 Florian Weimer <fweimer@redhat.com>
3254 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
3255 Prevent installation of libnsl.so.
3256 (libnsl-inhibit-o): Do not build (or install) static libraries.
3258 2018-01-12 Egmont Koblinger <egmont@gmail.com>
3261 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
3262 before the day number which may produce a double space.
3263 (date_fmt): Likewise.
3265 2018-01-12 Joseph Myers <joseph@codesourcery.com>
3267 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
3268 instead of fegetenv.
3270 2018-01-11 Joseph Myers <joseph@codesourcery.com>
3273 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
3274 comment to say exceptions are discarded.
3275 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
3277 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
3280 2018-01-11 Florian Weimer <fweimer@redhat.com>
3282 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
3285 2018-01-11 Florian Weimer <fweimer@redhat.com>
3288 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
3289 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
3291 2018-01-10 Joseph Myers <joseph@codesourcery.com>
3294 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
3295 negative arguments in test for NaN or infinity argument.
3297 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
3299 * po/libc.pot: Regenerate.
3301 2018-01-10 Florian Weimer <fweimer@redhat.com>
3304 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
3305 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
3307 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3309 * hurd/hurd/fd.h: Include <fcntl.h>
3310 (__hurd_at_flags): New function.
3311 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
3312 with call to __hurd_at_flags.
3313 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
3314 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
3316 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
3317 (__access_noerrno): Use __faccessat_common instead of access_common.
3318 (__access): Likewise.
3319 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
3320 with a call to __faccessat.
3321 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
3322 (__faccessat_common): ... this. Move implementation of __access into it when
3323 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
3324 reauthenticate_cwdir_at helper to implement AT mechanism.
3325 (__faccessat_noerrno): New function, just calls __faccessat_common.
3326 (__faccessat): New function, just calls __faccessat_common.
3327 (faccessat): Define weak alias.
3329 2018-01-10 Joseph Myers <joseph@codesourcery.com>
3332 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3333 (CFLAGS-s_fmaxmagl.c): New variable.
3334 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
3337 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
3338 long int for arguments of possibly overflowing addition or
3340 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3342 2018-01-09 Joseph Myers <joseph@codesourcery.com>
3345 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3346 (CFLAGS-e_remainderl.c): New variable.
3349 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
3351 (CFLAGS-s_cacoshl.c): Likewise.
3352 (CFLAGS-s_casinhl.c): Likewise.
3353 (CFLAGS-s_catanl.c): Likewise.
3354 (CFLAGS-s_catanhl.c): Likewise.
3355 (CFLAGS-s_cexpl.c): Likewise.
3356 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
3357 (CFLAGS-s_csinhl.c): Likewise.
3358 (CFLAGS-s_clogl.c): Likewise.
3359 (CFLAGS-s_clog10l.c): Likewise.
3360 (CFLAGS-s_csinl.c): Likewise.
3361 (CFLAGS-s_csqrtl.c): Likewise.
3363 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
3364 2017-01-09 Svante Signell <svante.signell@gmail.com>
3366 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
3367 (_hurd_exec_paths): New function.
3368 * hurd/hurd.h (_hurd_exec): Deprecate function.
3369 (_hurd_exec_paths): Declare function.
3370 * hurd/Versions: Export _hurd_exec_paths.
3371 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
3372 (__execve): Use __getcwd to build absolute path, and use
3373 _hurd_exec_paths instead of _hurd_exec.
3374 * sysdeps/mach/hurd/spawni.c: Likewise.
3375 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
3378 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
3380 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
3381 test instead of failing in case of ENOENT returned by posix_openpt.
3383 2018-01-08 Florian Weimer <fweimer@redhat.com>
3385 resolv: Support binary labels in test framework.
3386 * support/resolv_test.c (struct to_be_freed): Remove.
3387 (struct compressed_name): New.
3388 (allocate_compressed_name, ascii_tolower)
3389 (compare_compressed_name): New functions.
3390 (struct resolv_response_builder): Update type of
3391 compression_offsets for use with tsearch. Rempve to_be_freed.
3392 (response_push_pointer_to_free): Remove function.
3393 (resolv_response_add_name): Rewrite using struct compressed_name
3394 and tsearch instead of hsearch_r.
3395 (response_builder_allocate): Remove initialization of
3396 compression_offsets.
3397 (response_builder_free): Update for removal of to_be_freed. Use
3398 tdestroy instead of hdestroy_r.
3399 * resolv/Makefile (tests): Add tst-resolv-binary.
3400 (tst-resolv-binary): Link with -lresolv -lpthread.
3402 2018-01-08 Florian Weimer <fweimer@redhat.com>
3404 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
3405 time. Pass positive flag instead of negative flag to
3406 support_test_compare_failure.
3407 (support_test_compare_failure): Change negative parameter to
3409 * support/support_test_compare_failure.c (report)
3410 (support_test_compare_failure): Likewise.
3411 * support/tst-test_compare.c (return_ssize_t, return_int): New.
3412 (do_test): Check int/size_t, ssize_t/size_t comparisons.
3414 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
3417 * nptl/descr.h (stackblock, stackblock_size): Update comments.
3418 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
3419 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
3421 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
3423 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
3425 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3426 Add s_sincosf-sse2 and s_sincosf-fma.
3427 (CFLAGS-s_sincosf-fma.c): New.
3428 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
3429 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3430 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
3431 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
3432 __sincosf is defined.
3434 2018-01-08 Florian Weimer <fweimer@redhat.com>
3436 * nptl/tst-thread-exit-clobber.cc: New file.
3437 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
3439 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
3440 (tests): Add tst-thread-exit-clobber.
3441 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
3443 2018-01-08 Florian Weimer <fweimer@redhat.com>
3445 * support/check.h (support_static_assert): Define.
3446 (TEST_COMPARE): Use it.
3448 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
3450 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
3451 [!__RLIM_T_MATCHES_RLIM64_T]
3452 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
3453 __getrlimit64. Add libc_hidden_weak.
3455 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
3457 * elf/elf.h (R_RISCV_NONE): New define.
3458 (R_RISCV_32): Likewise.
3459 (R_RISCV_64): Likewise.
3460 (R_RISCV_RELATIVE): Likewise.
3461 (R_RISCV_COPY): Likewise.
3462 (R_RISCV_JUMP_SLOT): Likewise.
3463 (R_RISCV_TLS_DTPMOD32): Likewise.
3464 (R_RISCV_TLS_DTPMOD64): Likewise.
3465 (R_RISCV_TLS_DTPREL32): Likewise.
3466 (R_RISCV_TLS_DTPREL64): Likewise.
3467 (R_RISCV_TLS_TPREL32): Likewise.
3468 (R_RISCV_TLS_TPREL64): Likewise.
3469 * Makerules (make-link-multidir): Make directories before linking into
3471 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
3473 (VDSO_HASH_LINUX_4_15): Likewise.
3474 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
3475 in subdirectories of lib.
3476 * nptl/Makefile (/librt.so): Always depend on
3477 "$(shared-thread-library)".
3479 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
3481 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
3482 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
3483 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
3485 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
3486 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
3488 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
3489 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
3490 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
3491 * sysdeps/gnu/glob-lstat-compat.c: New file.
3492 * sysdeps/gnu/glob64-lstat-compat.c: New file.
3493 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
3495 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3497 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
3498 Reserve 16 chars to reloc_addr before calling _itoa_word.
3500 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
3503 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
3504 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
3506 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
3507 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
3509 * resource/tst-getrlimit.c: Add copyright header.
3511 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
3512 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3514 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
3515 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
3516 Define __GI_getrlimit64 as weak alias of __getrlimit64.
3517 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
3519 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
3520 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
3521 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
3522 RLIM64_INFINITY): Fix values to match the kernel ones.
3523 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
3524 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
3525 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
3526 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
3527 getrlimit64@@GLIBC_2_27.
3528 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
3530 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
3531 getrlimit, setrlimit, getrlimit64 and setrlimit64.
3532 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
3533 setrlimit, getrlimit64 and setrlimit64.
3535 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
3538 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
3539 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
3541 2018-01-04 Joseph Myers <joseph@codesourcery.com>
3543 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
3544 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
3545 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
3547 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3551 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
3552 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
3556 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
3557 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
3558 * sysdeps/alpha/fpu/s_floor.c: Likewise.
3559 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
3561 2018-01-04 Florian Weimer <fweimer@redhat.com>
3564 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
3565 Align the stack before calling exit.
3566 * stdlib/tst-makecontext-align.c: New file.
3567 * stdlib/Makefile (tests): Add tst-makecontext-align.
3569 2018-01-04 Florian Weimer <fweimer@redhat.com>
3571 Add support for calling dlvsym from libc.so.
3572 * include/dlfcn.h (__libc_dlvsym): Declare.
3573 * elf/Makefile (tests-static-internal): Add
3574 tst-libc_dlvsym-static.
3575 (tests-internal): Add tst-libc_dlvsym.
3576 (modules-names): Add tst-libc_dlvsym-dso.
3577 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
3578 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
3579 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
3580 object tst-libc_dlvsym-dso.so needs to be built before running
3582 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
3583 * elf/Versions: Export __libc_dlvsym.
3584 * elf/dl-libc.c (struct do_dlvsym_args): New.
3585 (do_dlvsym, __libc_dlvsym): New functions.
3586 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
3587 (_dl_open_hook2): New variable.
3588 (__libc_register_dl_open_hook): Set it.
3589 * elf/tst-libc_dlvsym-dso.c: New file.
3590 * elf/tst-libc_dlvsym-static.c: Likewise.
3591 * elf/tst-libc_dlvsym.c: Likewise.
3592 * elf/tst-libc_dlvsym.h: Likewise.
3594 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3596 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
3597 include <sys/mount.h>.
3599 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
3601 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
3602 Add __NO_MATH_ERRNO__ check.
3604 2018-01-02 Joseph Myers <joseph@codesourcery.com>
3606 * sysdeps/mips/mips32/libm-test-ulps: Update.
3607 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3609 2018-01-02 Florian Weimer <fweimer@redhat.com>
3611 * misc/tst-pselect.c: Add copyright header.
3613 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
3615 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
3617 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
3619 (settrlimit): Rename into setrlimit.
3620 (__sttrlimit): Rename into __setrlimit.
3622 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
3623 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
3624 never defined in that case.
3626 2018-01-02 Joseph Myers <joseph@codesourcery.com>
3628 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3630 * sysdeps/arm/libm-test-ulps: Update.
3632 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
3633 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
3635 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3637 * NEWS: Add cosf and sincosf to list of optimized functions.
3639 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
3642 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
3643 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
3644 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
3645 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
3647 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
3650 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
3652 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
3653 making a copy of it.
3655 2018-01-01 Joseph Myers <joseph@codesourcery.com>
3657 * manual/texinfo.tex: Update to version 2017-12-26.21 with
3658 trailing whitespace removed.
3659 * scripts/config.guess: Update to version 2018-01-01.
3660 * scripts/config.sub: Update to version 2018-01-01.
3661 * scripts/move-if-change: Update from gnulib.
3663 * NEWS: Update copyright dates.
3664 * catgets/gencat.c (print_version): Likewise.
3665 * csu/version.c (banner): Likewise.
3666 * debug/catchsegv.sh: Likewise.
3667 * debug/pcprofiledump.c (print_version): Likewise.
3668 * debug/xtrace.sh (do_version): Likewise.
3669 * elf/ldconfig.c (print_version): Likewise.
3670 * elf/ldd.bash.in: Likewise.
3671 * elf/pldd.c (print_version): Likewise.
3672 * elf/sotruss.sh: Likewise.
3673 * elf/sprof.c (print_version): Likewise.
3674 * iconv/iconv_prog.c (print_version): Likewise.
3675 * iconv/iconvconfig.c (print_version): Likewise.
3676 * locale/programs/locale.c (print_version): Likewise.
3677 * locale/programs/localedef.c (print_version): Likewise.
3678 * login/programs/pt_chown.c (print_version): Likewise.
3679 * malloc/memusage.sh (do_version): Likewise.
3680 * malloc/memusagestat.c (print_version): Likewise.
3681 * malloc/mtrace.pl: Likewise.
3682 * manual/libc.texinfo: Likewise.
3683 * nptl/version.c (banner): Likewise.
3684 * nscd/nscd.c (print_version): Likewise.
3685 * nss/getent.c (print_version): Likewise.
3686 * nss/makedb.c (print_version): Likewise.
3687 * posix/getconf.c (main): Likewise.
3688 * scripts/test-installation.pl: Likewise.
3689 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3691 * All files with FSF copyright notices: Update copyright dates
3692 using scripts/update-copyrights.
3693 * locale/programs/charmap-kw.h: Regenerated.
3694 * locale/programs/locfile-kw.h: Likewise.
3696 2017-12-31 Zack Weinberg <zackw@panix.com>
3698 * libio/bits/libio-ldbl.h: Correct check for improper
3699 inclusion. Add own multiple include guard.
3701 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
3702 Dmitry V. Levin <ldv@altlinux.org>
3706 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
3707 string token expansion. Check for NULL pointer or empty string possibly
3708 returned by expand_dynamic_string_token.
3709 (decompose_rpath): Check for empty path after dynamic string
3712 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
3715 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
3717 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
3718 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
3719 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
3721 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
3722 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3723 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3724 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3725 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3726 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
3728 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
3729 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
3730 __ptrace_peeksiginfo_flags, ptrace): Move to ...
3731 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
3732 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3733 bits/ptrace-shared.h.
3734 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
3735 <bits/ptrace-shared.h>.
3736 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
3737 __ptrace_peeksiginfo_flags, ptrace): Remove.
3738 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3739 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3740 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3741 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3742 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
3744 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
3747 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
3748 end of the loop. Improve comments.
3750 2017-12-29 Zack Weinberg <zackw@panix.com>
3753 * manual/errno.texi (Checking for Errors): Explicitly say that errno
3754 might be set on success.
3756 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
3759 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
3760 is unchanged on success.
3762 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
3764 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
3766 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
3767 expand_dynamic_string_token): Likewise.
3768 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
3771 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
3774 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
3775 is set and name contains ':', and all code depending on these checks.
3777 2017-12-24 Zack Weinberg <zackw@panix.com>
3779 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
3780 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
3782 * libio/libio.h: Rename the original version of this file to
3783 libio/bits/libio.h. Error out if not included by stdio.h or the
3785 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
3786 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
3787 if not included by bits/libio.h or the stub _G_config.h.
3788 * sysdeps/unix/sysv/linux/_G_config.h: Move to
3789 sysdeps/unix/sysv/linux/bits. Error out if not included by
3790 bits/libio.h or the stub _G_config.h.
3791 * libio/stdio.h: Include bits/libio.h, not libio.h.
3792 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
3793 well as libio.h and _G_config.h.
3795 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
3796 * libio/strfile.h, stdio-common/vfscanf.c
3797 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
3798 Include stdio.h, not _G_config.h nor libio.h.
3799 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
3800 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
3802 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
3804 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
3807 * stdlib/getrandom.c (getrandom): Fix comment.
3808 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
3810 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
3813 * manual/arith.texi (strtoul): Fix a typo.
3816 * manual/arith.texi (finite): Fix the description of the return
3819 2017-12-22 Eric Blake <ebb9@byu.net>
3821 Avoid gcc warnings on cygwin
3822 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
3823 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
3824 Avoid unused variable.
3826 2017-12-22 Florian Weimer <fweimer@redhat.com>
3828 * io/Makefile (routines): Add copy_file_range.
3829 (tests): Add tst-copy_file_range.
3830 (tests-static, tests-internal): Add tst-copy_file_range-compat.
3831 * io/Versions (GLIBC_2.27): Export copy_file_range.
3832 * io/copy_file_range-compat.c: New file.
3833 * io/copy_file_range.c: Likewise.
3834 * io/tst-copy_file_range-compat.c: Likewise.
3835 * io/tst-copy_file_range.c: Likewise.
3836 * manual/llio.texi (Copying File Data): New section.
3837 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
3838 * support/Makefile (libsupport-routines): Add support-xfstat,
3840 * support/support-xfstat.c: New file.
3841 * support/xftruncate.c: Likewise.
3842 * support/xlseek.c: Likewise.
3843 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
3844 * sysdeps/unix/sysv/linux/**.abilist: Update.
3845 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
3847 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3849 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3850 disable-multi-arch variant to aarch64-linux-gnu.
3852 2017-12-20 Joseph Myers <joseph@codesourcery.com>
3854 * manual/texinfo.tex: Update to version 2017-12-18.20 with
3855 trailing whitespace removed.
3856 * scripts/config.guess: Update to version 2017-12-17.
3857 * scripts/config.sub: Update to version 2017-11-23.
3858 * scripts/install-sh: Update to version 2017-09-23.17.
3859 * scripts/move-if-change: Update to version 2017-09-13 06:45.
3861 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3863 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
3864 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
3865 * sysdeps/tile/_mcount.S (__mcount): Likewise.
3866 * sysdeps/tile/crti.S (_init, _fini): Likewise.
3867 * sysdeps/tile/crtn.S: Likewise.
3868 * sysdeps/tile/dl-start.S (_start): Likewise.
3869 * sysdeps/tile/dl-trampoline.S: Likewise.
3870 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
3871 * sysdeps/tile/start.S (_start): Likewise.
3872 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
3873 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
3874 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
3875 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
3876 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
3877 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
3878 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
3880 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
3882 * sysdeps/tile/preconfigure: Remove tilegx folder.
3883 * sysdeps/tile/tilegx/Implies: Move definitions to ...
3884 * sysdeps/tile/Implies: ... here.
3885 * sysdeps/tile/tilegx/Makefile: Move rules to ...
3886 * sysdeps/tile/Makefile: ... here.
3887 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
3888 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
3889 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
3890 * sysdeps/tile/bits/wordsize.h: ... here.
3891 * sysdeps/tile/tilegx/*: Move to ...
3892 * sysdeps/tile/*: ... here.
3893 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
3894 * sysdeps/tile/tilegx32/Implies: ... here.
3895 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
3896 * sysdeps/tile/tilegx64/Implies: ... here.
3897 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
3899 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3900 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
3901 * sysdeps/unix/sysv/linux/tile/*: ... here.
3902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
3903 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
3904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
3905 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
3907 * README: Remove tilepro-*-linux-gnu from supported architecture.
3908 * scripts/build-many-glibcs.py: Likewise.
3909 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
3910 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
3911 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
3912 elf_machine_matches_host, elf_machine_dynamic,
3913 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
3914 howto, elf_machine_rela): Likewise.
3915 * sysdeps/tile/dl-start.S (_start): Likewise.
3916 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
3917 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
3918 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
3919 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
3920 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
3921 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3923 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
3924 * sysdeps/tile/preconfigure: Likewise.
3925 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
3926 POINTER_CHK_GUARD): Likewise.
3927 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
3928 * sysdeps/tile/start.S (_start): Likewise.
3929 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
3931 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
3932 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
3934 * sysdeps/unix/sysv/linux/tile/bits/environments.h
3935 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
3936 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
3938 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
3939 * sysdeps/tile/tilepro/Implies: Remove file.
3940 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3941 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
3942 * sysdeps/tile/tilepro/memchr.c: Likewise.
3943 * sysdeps/tile/tilepro/memcpy.S: Likewise.
3944 * sysdeps/tile/tilepro/memset.c: Likewise.
3945 * sysdeps/tile/tilepro/memusage.h: Likewise.
3946 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
3947 * sysdeps/tile/tilepro/strchr.c: Likewise.
3948 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
3949 * sysdeps/tile/tilepro/strlen.c: Likewise.
3950 * sysdeps/tile/tilepro/strrchr.c: Likewise.
3951 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
3952 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
3953 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
3954 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
3955 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
3956 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3958 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
3959 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3960 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
3961 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
3962 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3963 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
3964 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
3965 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
3966 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
3967 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
3968 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
3969 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
3970 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
3971 tilepro mention in comment.
3973 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
3974 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
3975 * nptl/pthread_join_common.c: New file: common function used on
3976 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
3977 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
3978 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
3979 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3980 (cleanup): Move definition to pthread_join_common.c.
3981 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
3982 Remove superflous checks.
3983 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
3986 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
3988 * sysdeps/aarch64/libm-test-ulps: Update.
3990 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3992 * sysdeps/aarch64/memset.S (MEMSET): Define.
3994 2017-12-20 Florian Weimer <fweimer@redhat.com>
3997 nptl: Provide full implementation of pthread_self in libc.so.
3998 * nptl/Makefile (routines): Add pthread_self.
3999 (libpthread-routines): Replace pthread_self with
4000 compat-pthread_self.
4001 * nptl/forward.c (pthread_self): Remove.
4002 * nptl/nptl-init.c (pthread_functions): Do not initialize
4004 * nptl/pthread_self.c (pthread_self): Remove weak alias.
4005 * nptl/compat-pthread_self.c: New file.
4006 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
4007 Remove ptr_pthread_self.
4009 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
4011 * posix/regcomp.c: Fix spelling in comments.
4012 * posix/regex.h: Likewise.
4013 * posix/regex_internal.c: Likewise.
4014 * posix/regexec.c: Likewise.
4016 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4019 * math/Makefile [C++] (tests): Add test for iseqsig.
4020 * math/math.h [C++] (iseqsig): New implementation, which does
4021 not rely on __MATH_TG/__builtin_types_compatible_p.
4022 * math/test-math-iseqsig.cc: New file.
4023 * sysdeps/powerpc/powerpc64le/Makefile
4024 (CFLAGS-test-math-iseqsig.cc): New variable.
4026 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
4028 * elf/dl-load.c (is_trusted_path): Remove.
4029 (fillin_rpath): Remove check_trusted argument and its use,
4030 all callers changed.
4032 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
4035 * Makeconfig (link-pie-before-libc): Replace -pie with
4036 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
4037 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
4038 (tst-dlopen-aout-no-pie): New.
4039 (LDFLAGS-tst-prelink): Removed.
4040 (tst-prelink-no-pie): New.
4041 (LDFLAGS-tst-main1): Removed.
4042 (tst-main1-no-pie): New.
4043 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
4044 (tst-gmon-no-pie): New.
4046 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
4048 * manual/install.texi: Document that --enable-static-pie
4050 * INSTALL: Regenerated.
4052 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
4055 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
4058 2017-12-19 Joseph Myers <joseph@codesourcery.com>
4062 2017-12-19 Joseph Myers <joseph@codesourcery.com>
4064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4066 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
4068 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
4069 <errno.h>. Include "eexp.tbl".
4070 (half): New constant.
4072 (__ieee754_exp): Rewrite.
4073 (__slowexp): Remove prototype.
4074 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
4075 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
4076 * sysdeps/i386/fpu/slowexp.c: Likewise.
4077 * sysdeps/ia64/fpu/slowexp.c: Likewise.
4078 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
4079 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
4080 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
4081 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4082 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
4083 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
4085 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
4086 (CPPFLAGS-slowexp.c): Remove variable.
4087 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4088 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
4089 (CFLAGS-slowexp-fma.c): Remove variable.
4090 (CFLAGS-slowexp-fma4.c): Likewise.
4091 (CFLAGS-slowexp-avx.c): Likewise.
4092 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
4094 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
4095 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
4096 * math/Makefile (type-double-routines): Remove slowexp.
4097 * manual/probes.texi (slowexp_p6): Remove.
4098 (slowexp_p32): Likewise.
4100 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4102 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
4105 * lib/glob.c (glob): Do not pass NULL to mempcpy.
4107 2017-12-19 Joseph Myers <joseph@codesourcery.com>
4109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4111 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
4113 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
4114 <errno.h>. Include "eexp.tbl".
4115 (half): New constant.
4117 (__ieee754_exp): Rewrite.
4118 (__slowexp): Remove prototype.
4119 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
4120 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
4121 * sysdeps/i386/fpu/slowexp.c: Likewise.
4122 * sysdeps/ia64/fpu/slowexp.c: Likewise.
4123 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
4124 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
4125 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
4126 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4127 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
4128 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
4130 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
4131 (CPPFLAGS-slowexp.c): Remove variable.
4132 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4133 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
4134 (CFLAGS-slowexp-fma.c): Remove variable.
4135 (CFLAGS-slowexp-fma4.c): Likewise.
4136 (CFLAGS-slowexp-avx.c): Likewise.
4137 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
4139 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
4140 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
4141 * math/Makefile (type-double-routines): Remove slowexp.
4142 * manual/probes.texi (slowexp_p6): Remove.
4143 (slowexp_p32): Likewise.
4145 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4146 James Clarke <jrtc27@jrtc27.com>
4149 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
4152 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4155 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
4158 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
4161 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
4162 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
4163 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
4164 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
4167 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
4170 * bits/types/__cancel_jmp_buf_tag.h: New file.
4171 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
4172 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
4173 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
4174 * nptl/Makefile (headers): Add
4175 bits/types/__cancel_jmp_buf_tag.h.
4176 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
4177 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
4178 * sysdeps/nptl/pthread.h: Include
4179 <bits/types/__cancel_jmp_buf_tag.h>.
4180 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
4182 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
4184 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
4186 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4187 --enable-static-pie variants to x86_64, x32 and i686.
4189 2017-12-19 Joseph Myers <joseph@codesourcery.com>
4192 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
4193 argument for attrubutes. All callers changed.
4194 (__inline_mathop1): Likewise. All callers changed.
4195 (__inline_mathop): Likewise. All callers changed.
4196 [__USE_MISC] (scalbn): Use __inline_forward instead of
4198 [__USE_ISOC99] (scalbln): Likewise.
4199 [__USE_ISOC99] (nearbyint): Likewise.
4200 [__USE_ISOC99] (lrint): Likewise.
4201 [__USE_MISC] (scalbnf): Likewise.
4202 [__USE_ISOC99] (scalblnf): Likewise.
4203 [__USE_ISOC99] (nearbyintf): Likewise.
4204 [__USE_ISOC99] (lrintf): Likewise.
4205 [__USE_MISC] (scalbnl): Likewise.
4206 [__USE_ISOC99] (scalblnl): Likewise.
4207 [__USE_ISOC99] (nearbyintl): Likewise.
4208 [__USE_ISOC99] (lrintl): Likewise.
4209 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
4210 __inline_mathop and __m81_defun changed.
4212 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
4213 CPU or FPU for ARM hard-float configurations.
4215 2017-12-18 Joseph Myers <joseph@codesourcery.com>
4217 * nptl/tst-attr3.c: Include <libc-diag.h>.
4218 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
4220 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
4222 * string/tester.c (test_strncat): Also disable -Warray-bounds
4223 warnings for two tests.
4225 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
4228 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
4229 $(cc-pie-default) == yes.
4230 * config.make.in (cc-pie-default): New.
4231 * configure.ac (libc_cv_pie_default): Renamed to ...
4232 (libc_cv_cc_pie_default): This.
4233 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
4234 * configure: Regenerated.
4236 2017-12-18 Florian Weimer <fweimer@redhat.com>
4239 ld.so: Harden dl-libc/libdl hooks.
4240 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
4241 (rtld_active): New function.
4242 * dlfcn/dladdr.c (__dladdr): Call it.
4243 * dlfcn/dladdr1.c (__dladdr1): Likewise.
4244 * dlfcn/dlclose.c (__dlcose): Likewise.
4245 * dlfcn/dlerror.c (__dlerror): Likewise.
4246 * dlfcn/dlinfo.c (__dlinfo): Likewise.
4247 * dlfcn/dlmopen.c (__dlmopen): Likewise.
4248 * dlfcn/dlopen.c (__dlopen): Likewise.
4249 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4250 * dlfcn/dlsym.c (__dlsym): Likewise.
4251 * dlfcn/dlvsym.c (__dlvsym): Likewise.
4252 * libio/vtables.c (_IO_vtable_check): Likewise.
4253 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
4254 (__libc_dlclose): Likewise.
4255 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
4258 2017-12-18 Joseph Myers <joseph@codesourcery.com>
4261 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
4262 buffers for readlink input and output.
4264 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
4267 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
4268 inhibit_stack_protector.
4271 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
4272 inhibit_stack_protector.
4274 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
4277 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
4278 code and invocation.
4280 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
4282 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
4284 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
4287 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
4289 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4291 * sysdeps/s390/fpu/libm-test-ulps: Update.
4293 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4297 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4299 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
4300 constants to s_sincosf.h file.
4301 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4302 * sysdeps/ieee754/flt-32/s_sincosf.c: New
4304 * sysdeps/ieee754/flt-32/s_sincosf.h:
4307 2017-12-12 Carlos O'Donell <carlos@redhat.com>
4310 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
4313 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
4316 * INSTALL: Regenerated.
4317 * Makeconfig (real-static-start-installed-name): New.
4318 (pic-default): Updated for --enable-static-pie.
4319 (pie-default): New for --enable-static-pie.
4320 (default-pie-ldflag): Likewise.
4321 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
4322 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
4323 Replace $(static-start-installed-name) with
4324 $(real-static-start-installed-name).
4325 (+prectorT): Updated for --enable-static-pie.
4326 (+postctorT): Likewise.
4327 (CFLAGS-.o): Add $(pie-default).
4328 (CFLAGS-.op): Likewise.
4329 * NEWS: Mention --enable-static-pie.
4330 * config.h.in (ENABLE_STATIC_PIE): New.
4331 * configure.ac (--enable-static-pie): New configure option.
4332 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
4333 (have-static-pie): Likewise.
4334 Enable static PIE if linker supports --no-dynamic-linker.
4335 (ENABLE_STATIC_PIE): New AC_DEFINE.
4336 (enable-static-pie): New LIBC_CONFIG_VAR.
4337 * configure: Regenerated.
4338 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
4339 gr$(start-installed-name) for --enable-static-pie.
4340 (extra-objs): Likewise.
4341 (install-lib): Likewise.
4342 (extra-objs): Add static-reloc.o and static-reloc.os
4343 ($(objpfx)$(start-installed-name)): Also depend on
4344 $(objpfx)static-reloc.o.
4345 ($(objpfx)r$(start-installed-name)): New.
4346 ($(objpfx)g$(start-installed-name)): Also depend on
4347 $(objpfx)static-reloc.os.
4348 ($(objpfx)gr$(start-installed-name)): New.
4349 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
4351 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
4353 * csu/static-reloc.c: New file.
4354 * elf/Makefile (routines): Add dl-reloc-static-pie.
4355 (elide-routines.os): Likewise.
4356 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
4357 (tst-tls1-static-non-pie-no-pie): New.
4358 * elf/dl-reloc-static-pie.c: New file.
4359 * elf/dl-support.c (_dl_get_dl_main_map): New function.
4360 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
4361 STATIC_PIE_BOOTSTRAP.
4362 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
4363 * gmon/Makefile (tests): Add tst-gmon-static-pie.
4364 (tests-static): Likewise.
4365 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
4366 (tst-gmon-static-no-pie): New.
4367 (CFLAGS-tst-gmon-static-pie.c): Likewise.
4368 (CRT-tst-gmon-static-pie): Likewise.
4369 (tst-gmon-static-pie-ENV): Likewise.
4370 (tests-special): Likewise.
4371 ($(objpfx)tst-gmon-static-pie.out): Likewise.
4372 (clean-tst-gmon-static-pie-data): Likewise.
4373 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
4374 * gmon/tst-gmon-static-pie.c: New file.
4375 * manual/install.texi: Document --enable-static-pie.
4376 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
4377 (_dl_get_dl_main_map): Likewise.
4378 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
4379 * sysdeps/x86_64/configure.ac: Likewise.
4380 * sysdeps/i386/configure: Regenerated.
4381 * sysdeps/x86_64/configure: Likewise.
4382 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
4383 (ASFLAGS-.op): Likewise.
4385 2017-12-15 Joseph Myers <joseph@codesourcery.com>
4387 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
4388 * posix/tst-mmap-offset.c (fname): Use /tmp.
4389 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
4391 2017-12-15 Steve Ellcey <sellcey@cavium.com>
4393 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
4395 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
4397 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
4400 2017-12-15 Joseph Myers <joseph@codesourcery.com>
4402 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
4403 --with-float=hard for arm-linux-gnueabihf configurations.
4406 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
4407 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
4408 ($(mo-installed)): Use $(objpfx)%.mo.
4409 (realclean): Remove rule.
4411 * po/Makefile (linguas): Remove rule and dependencies.
4412 (linguas.mo): Likewise.
4413 (.PHONY): Do not depend on linguas and linguas.mo.
4414 (podir): Remove variable.
4415 (pofiles): Likewise.
4416 [$(pofiles)] (%.po): Remove rule.
4418 * sysdeps/sparc/sparc32/Makefile
4419 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
4420 start-of-line whitespace in argument of echo.
4421 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
4422 with whitespace. Generate __wrap_.udiv alias.
4423 * sysdeps/sparc/sparc32/rem.S: Regenerated.
4424 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4425 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4426 * sysdeps/sparc/sparc32/urem.S: Likewise.
4428 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4430 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
4433 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
4435 * benchtests/bench-strcmp.c: Print output in JSON format.
4437 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
4439 2017-12-14 Florian Weimer <fweimer@redhat.com>
4443 * elf/dl-load.c (_dl_init_paths): Compute number of components in
4444 the expanded path string.
4446 2017-12-14 Florian Weimer <fweimer@redhat.com>
4450 * elf/dl-load.c (system_dirs): Update comment.
4451 (nsystem_dirs_len): Use array_length.
4452 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
4454 2017-12-14 Florian Weimer <fweimer@redhat.com>
4456 Simplify compiling most of support/ outside of glibc.
4457 * support/check_addrinfo.c: Include <string.h>.
4458 * support/check_dns_packet.c: Likewise.
4459 * support/check_hostent.c: Likewise.
4460 * support/support_can_chroot.c: Include <support/xunistd.h>.
4461 * support/support_format_addrinfo.c: Include <stdlib.h>
4462 * support/support_format_dns_packet.c: Include <stdbool.h>.
4463 * support/support_format_hostent.c: Include <stdlib.h>.
4464 * support/support_format_netent.c: Likewise.
4465 * support/support_write_string.c: Include <support/xunistd.h>.
4466 * support/xdlfcn.c: Include <stddef.h>.
4468 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
4470 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
4472 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
4473 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4475 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
4476 (sysdeps_routines): Add memset-niagara7.
4477 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
4479 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
4481 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
4482 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
4483 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
4484 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
4485 Add niagara7 option.
4486 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
4489 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
4490 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
4491 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
4493 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
4495 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
4496 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
4497 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
4498 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
4499 and __memmove_niagara7.
4500 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
4501 Add niagara7 option.
4502 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
4503 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
4504 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
4505 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
4506 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
4508 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
4510 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
4511 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
4512 * sysdeps/sparc/sparc64/memmove.S: Likewise.
4513 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
4515 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
4516 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
4517 _dl_sparc_cap_flags array.
4518 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
4520 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
4522 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
4523 time whenever possible.
4525 2017-12-12 Carlos O'Donell <carlos@redhat.com>
4527 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
4528 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
4530 2017-12-12 Joseph Myers <joseph@codesourcery.com>
4532 * soft-fp/fmadf4.c: Move to ....
4533 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
4534 * soft-fp/fmasf4.c: Move to ....
4535 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
4536 * soft-fp/fmatf4.c: Move to ....
4537 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
4538 * sysdeps/ieee754/soft-fp/Makefile: New file.
4539 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
4540 * sysdeps/arm/preconfigure: Regenerated.
4541 * sysdeps/arm/nofpu/Implies: New file.
4542 * sysdeps/arm/s_fma.c: Remove file.
4543 * sysdeps/arm/s_fmaf.c: Likewise.
4544 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
4545 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
4546 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
4547 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
4548 * sysdeps/microblaze/s_fma.c: Remove file.
4549 * sysdeps/microblaze/s_fmaf.c: Likewise.
4550 * sysdeps/mips/mips32/nofpu/Implies: New file.
4551 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
4552 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
4553 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
4554 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
4555 * sysdeps/mips/ieee754/s_fma.c: Remove file.
4556 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
4557 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
4559 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
4560 * sysdeps/nios2/s_fma.c: Remove file.
4561 * sysdeps/nios2/s_fmaf.c: Likewise.
4562 * sysdeps/sh/nofpu/Implies: New file.
4563 * sysdeps/sh/s_fma.c: Remove file.
4564 * sysdeps/sh/s_fmaf.c: Likewise.
4565 * sysdeps/tile/Implies: Add ieee754/soft-fp.
4566 * sysdeps/tile/s_fma.c: Remove file.
4567 * sysdeps/tile/s_fmaf.c: Likewise.
4569 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
4571 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4572 Add s_cosf-sse2 and s_cosf-fma.
4573 (CFLAGS-s_cosf-fma.c): New.
4574 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
4575 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
4576 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
4578 2017-12-12 Steve Ellcey <sellcey@cavium.com>
4580 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
4582 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4584 * libio/Makefile (tests): Add tst-bz22415.
4585 (tst-bz22415-ENV): New rule.
4586 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
4587 (tests-special): Add tst-bz22415-mem.out.
4588 ($(objpfx)tst-bz22415-mem.out): New rule.
4589 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
4590 in case of a successful seek operation.
4591 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4592 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
4594 * libio/tst-bz22415.c: New test.
4596 * sysdeps/ia64/fpu/libm-test-ulps: Update.
4598 2017-12-12 James Clarke <jrtc27@jrtc27.com>
4600 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
4601 __IPC_64 to 0 to avoid IPC_64 being set.
4603 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
4606 * math/bits/mathcalls.h (nextafter): Remove const.
4607 (nexttoward): Likewise.
4609 2017-12-12 Joseph Myers <joseph@codesourcery.com>
4611 * configure.ac (--with-fp): Remove configure option.
4612 (with_fp_cond): New variable.
4613 (libc_cv_with_fp): New configure test. Use this variable instead
4615 * configure: Regenerated.
4616 * config.make.in (with-fp): Use @libc_cv_with_fp@.
4617 * manual/install.texi (Configuring and compiling): Remove
4619 * INSTALL: Regenerated.
4620 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
4621 * sysdeps/mips/preconfigure (with_fp_cond): Define.
4622 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
4623 * sysdeps/sh/preconfigure (with_fp_cond): Define.
4624 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
4625 use --without-fp to configure glibc.
4627 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
4629 * manual/locale.texi (nl_langinfo): Fix a typo.
4631 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
4634 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
4636 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
4638 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
4639 (CFLAGS-argp-parse.c): Likewise.
4640 (CFLAGS-argp-fmtstream.c): Likewise.
4641 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
4642 (CPPFLAGS-sha512-crypt.c): Likewise.
4643 (CPPFLAGS-md5-crypt.c): Likewise.
4644 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
4645 (CFLAGS-stack_chk_fail_local.c): Likewise.
4646 (CFLAGS-backtrace.c): Likewise.
4647 (CFLAGS-sprintf_chk.c): Likewise.
4648 (CFLAGS-snprintf_chk.c): Likewise.
4649 (CFLAGS-vsprintf_chk.c): Likewise.
4650 (CFLAGS-vsnprintf_chk.c): Likewise.
4651 (CFLAGS-asprintf_chk.c): Likewise.
4652 (CFLAGS-vasprintf_chk.c): Likewise.
4653 (CFLAGS-obprintf_chk.c): Likewise.
4654 (CFLAGS-dprintf_chk.c): Likewise.
4655 (CFLAGS-vdprintf_chk.c): Likewise.
4656 (CFLAGS-printf_chk.c): Likewise.
4657 (CFLAGS-fprintf_chk.c): Likewise.
4658 (CFLAGS-vprintf_chk.c): Likewise.
4659 (CFLAGS-vfprintf_chk.c): Likewise.
4660 (CFLAGS-gets_chk.c): Likewise.
4661 (CFLAGS-fgets_chk.c): Likewise.
4662 (CFLAGS-fgets_u_chk.c): Likewise.
4663 (CFLAGS-fread_chk.c): Likewise.
4664 (CFLAGS-fread_u_chk.c): Likewise.
4665 (CFLAGS-swprintf_chk.c): Likewise.
4666 (CFLAGS-vswprintf_chk.c): Likewise.
4667 (CFLAGS-wprintf_chk.c): Likewise.
4668 (CFLAGS-fwprintf_chk.c): Likewise.
4669 (CFLAGS-vwprintf_chk.c): Likewise.
4670 (CFLAGS-vfwprintf_chk.c): Likewise.
4671 (CFLAGS-fgetws_chk.c): Likewise.
4672 (CFLAGS-fgetws_u_chk.c): Likewise.
4673 (CFLAGS-read_chk.c): Likewise.
4674 (CFLAGS-pread_chk.c): Likewise.
4675 (CFLAGS-pread64_chk.c): Likewise.
4676 (CFLAGS-recv_chk.c): Likewise.
4677 (CFLAGS-recvfrom_chk.c): Likewise.
4678 (CFLAGS-tst-longjmp_chk.c): Likewise.
4679 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
4680 (CFLAGS-tst-longjmp_chk2.c): Likewise.
4681 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
4682 (CFLAGS-tst-longjmp_chk3.c): Likewise.
4683 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4684 (CFLAGS-tst-chk1.c): Likewise.
4685 (CFLAGS-tst-chk2.c): Likewise.
4686 (CFLAGS-tst-chk3.c): Likewise.
4687 (CFLAGS-tst-chk4.cc): Likewise.
4688 (CFLAGS-tst-chk5.cc): Likewise.
4689 (CFLAGS-tst-chk6.cc): Likewise.
4690 (CFLAGS-tst-lfschk1.c): Likewise.
4691 (CFLAGS-tst-lfschk2.c): Likewise.
4692 (CFLAGS-tst-lfschk3.c): Likewise.
4693 (CFLAGS-tst-lfschk4.cc): Likewise.
4694 (CFLAGS-tst-lfschk5.cc): Likewise.
4695 (CFLAGS-tst-lfschk6.cc): Likewise.
4696 (CFLAGS-tst-ssp-1.c): Likewise.
4697 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
4698 (CFLAGS-scandir64.c): Likewise.
4699 (CFLAGS-scandir-tail.c): Likewise.
4700 (CFLAGS-scandir64-tail.c): Likewise.
4701 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
4702 (CFLAGS-dl-tunables.c): Likewise.
4703 (CFLAGS-dl-runtime.c): Likewise.
4704 (CFLAGS-dl-lookup.c): Likewise.
4705 (CFLAGS-dl-iterate-phdr.c): Likewise.
4706 (CFLAGS-vismain.c): Likewise.
4707 (CFLAGS-tst-linkall-static.c): Likewise.
4708 (CFLAGS-tst-linkall-static.c): Likewise.
4709 (CPPFLAGS-dl-load.c): Likewise.
4710 (CFLAGS-ldconfig.c): Likewise.
4711 (CFLAGS-dl-cache.c): Likewise.
4712 (CFLAGS-cache.c): Likewise.
4713 (CFLAGS-rtld.c): Likewise.
4714 (CFLAGS-multiload.c): Likewise.
4715 (CFLAGS-filtmod1.c): Likewise.
4716 (CFLAGS-tst-align.c): Likewise.
4717 (CFLAGS-tst-align2.c): Likewise.
4718 (CFLAGS-tst-alignmod.c): Likewise.
4719 (CFLAGS-tst-alignmod2.c): Likewise.
4720 (CPPFLAGS-tst-execstack.c): Likewise.
4721 (CFLAGS-tst-ptrguard1-static.c): Likewise.
4722 (CFLAGS-tst-latepthreadmod.c): Likewise.
4723 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
4724 (CFLAGS-getgrnam_r.c): Likewise.
4725 (CFLAGS-getgrent_r.c): Likewise.
4726 (CFLAGS-getgrent.c): Likewise.
4727 (CFLAGS-fgetgrent.c): Likewise.
4728 (CFLAGS-fgetgrent_r.c): Likewise.
4729 (CFLAGS-putgrent.c): Likewise.
4730 (CFLAGS-initgroups.c): Likewise.
4731 (CFLAGS-getgrgid.c): Likewise.
4732 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
4733 (CFLAGS-getsgent.c): Likewise.
4734 (CFLAGS-fgetsgent.c): Likewise.
4735 (CFLAGS-fgetsgent_r.c): Likewise.
4736 (CFLAGS-putsgent.c): Likewise.
4737 (CFLAGS-getsgnam.c): Likewise.
4738 (CFLAGS-getsgnam_r.c): Likewise.
4739 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
4740 (CFLAGS-iconv_charmap.c): Likewise.
4741 (CFLAGS-dummy-repertoire.c): Likewise.
4742 (CFLAGS-charmap.c): Likewise.
4743 (CFLAGS-linereader.c): Likewise.
4744 (CFLAGS-simple-hash.c): Likewise.
4745 (CFLAGS-gconv_conf.c): Likewise.
4746 (CFLAGS-iconvconfig.c): Likewise.
4747 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4748 (CFLAGS-gethstbyad.c): Likewise.
4749 (CFLAGS-gethstbynm_r.c): Likewise.
4750 (CFLAGS-gethstbynm.c): Likewise.
4751 (CFLAGS-gethstbynm2_r.c): Likewise.
4752 (CFLAGS-gethstbynm2.c): Likewise.
4753 (CFLAGS-gethstent_r.c): Likewise.
4754 (CFLAGS-gethstent.c): Likewise.
4755 (CFLAGS-rcmd.c): Likewise.
4756 (CFLAGS-getnetbynm_r.c): Likewise.
4757 (CFLAGS-getnetbynm.c): Likewise.
4758 (CFLAGS-getnetbyad_r.c): Likewise.
4759 (CFLAGS-getnetbyad.c): Likewise.
4760 (CFLAGS-getnetent_r.c): Likewise.
4761 (CFLAGS-getnetent.c): Likewise.
4762 (CFLAGS-getaliasent_r.c): Likewise.
4763 (CFLAGS-getaliasent.c): Likewise.
4764 (CFLAGS-getrpcent_r.c): Likewise.
4765 (CFLAGS-getrpcent.c): Likewise.
4766 (CFLAGS-getservent_r.c): Likewise.
4767 (CFLAGS-getservent.c): Likewise.
4768 (CFLAGS-getprtent_r.c): Likewise.
4769 (CFLAGS-getprtent.c): Likewise.
4770 (CFLAGS-either_ntoh.c): Likewise.
4771 (CFLAGS-either_hton.c): Likewise.
4772 (CFLAGS-getnetgrent.c): Likewise.
4773 (CFLAGS-getnetgrent_r.c): Likewise.
4774 (CFLAGS-tst-checks-posix.c): Likewise.
4775 (CFLAGS-tst-sockaddr.c): Likewise.
4776 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
4777 (CFLAGS-tst-translit.c): Likewise.
4778 (CFLAGS-tst-gettext2.c): Likewise.
4779 (CFLAGS-tst-codeset.c): Likewise.
4780 (CFLAGS-tst-gettext3.c): Likewise.
4781 (CFLAGS-tst-gettext4.c): Likewise.
4782 (CFLAGS-tst-gettext5.c): Likewise.
4783 (CFLAGS-tst-gettext6.c): Likewise.
4784 * io/Makefile (CFLAGS-open.c): Likewise.
4785 (CFLAGS-open64.c): Likewise.
4786 (CFLAGS-creat.c): Likewise.
4787 (CFLAGS-creat64.c): Likewise.
4788 (CFLAGS-fcntl.c): Likewise.
4789 (CFLAGS-poll.c): Likewise.
4790 (CFLAGS-ppoll.c): Likewise.
4791 (CFLAGS-lockf.c): Likewise.
4792 (CFLAGS-statfs.c): Likewise.
4793 (CFLAGS-fstatfs.c): Likewise.
4794 (CFLAGS-statvfs.c): Likewise.
4795 (CFLAGS-fstatvfs.c): Likewise.
4796 (CFLAGS-fts.c): Likewise.
4797 (CFLAGS-fts64.c): Likewise.
4798 (CFLAGS-ftw.c): Likewise.
4799 (CFLAGS-ftw64.c): Likewise.
4800 (CFLAGS-lockf.c): Likewise.
4801 (CFLAGS-posix_fallocate.c): Likewise.
4802 (CFLAGS-posix_fallocate64.c): Likewise.
4803 (CFLAGS-fallocate.c): Likewise.
4804 (CFLAGS-fallocate64.c): Likewise.
4805 (CFLAGS-read.c): Likewise.
4806 (CFLAGS-write.c): Likewise.
4807 (CFLAGS-test-stat.c): Likewise.
4808 (CFLAGS-test-lfs.c): Likewise.
4809 * libio/Makefile (CFLAGS-fileops.c): Likewise.
4810 (CFLAGS-fputc.c): Likewise.
4811 (CFLAGS-fputwc.c): Likewise.
4812 (CFLAGS-freopen64.c): Likewise.
4813 (CFLAGS-freopen.c): Likewise.
4814 (CFLAGS-fseek.c): Likewise.
4815 (CFLAGS-fseeko64.c): Likewise.
4816 (CFLAGS-fseeko.c): Likewise.
4817 (CFLAGS-ftello64.c): Likewise.
4818 (CFLAGS-ftello.c): Likewise.
4819 (CFLAGS-fwide.c): Likewise.
4820 (CFLAGS-genops.c): Likewise.
4821 (CFLAGS-getc.c): Likewise.
4822 (CFLAGS-getchar.c): Likewise.
4823 (CFLAGS-getwc.c): Likewise.
4824 (CFLAGS-getwchar.c): Likewise.
4825 (CFLAGS-iofclose.c): Likewise.
4826 (CFLAGS-iofflush.c): Likewise.
4827 (CFLAGS-iofgetpos64.c): Likewise.
4828 (CFLAGS-iofgetpos.c): Likewise.
4829 (CFLAGS-iofgets.c): Likewise.
4830 (CFLAGS-iofgetws.c): Likewise.
4831 (CFLAGS-iofputs.c): Likewise.
4832 (CFLAGS-iofputws.c): Likewise.
4833 (CFLAGS-iofread.c): Likewise.
4834 (CFLAGS-iofsetpos64.c): Likewise.
4835 (CFLAGS-iofsetpos.c): Likewise.
4836 (CFLAGS-ioftell.c): Likewise.
4837 (CFLAGS-iofwrite.c): Likewise.
4838 (CFLAGS-iogetdelim.c): Likewise.
4839 (CFLAGS-iogetline.c): Likewise.
4840 (CFLAGS-iogets.c): Likewise.
4841 (CFLAGS-iogetwline.c): Likewise.
4842 (CFLAGS-ioputs.c): Likewise.
4843 (CFLAGS-ioseekoff.c): Likewise.
4844 (CFLAGS-ioseekpos.c): Likewise.
4845 (CFLAGS-iosetbuffer.c): Likewise.
4846 (CFLAGS-iosetvbuf.c): Likewise.
4847 (CFLAGS-ioungetc.c): Likewise.
4848 (CFLAGS-ioungetwc.c): Likewise.
4849 (CFLAGS-oldfileops.c): Likewise.
4850 (CFLAGS-oldiofclose.c): Likewise.
4851 (CFLAGS-oldiofgetpos64.c): Likewise.
4852 (CFLAGS-oldiofgetpos.c): Likewise.
4853 (CFLAGS-oldiofsetpos64.c): Likewise.
4854 (CFLAGS-oldiofsetpos.c): Likewise.
4855 (CFLAGS-peekc.c): Likewise.
4856 (CFLAGS-putc.c): Likewise.
4857 (CFLAGS-putchar.c): Likewise.
4858 (CFLAGS-putwc.c): Likewise.
4859 (CFLAGS-putwchar.c): Likewise.
4860 (CFLAGS-rewind.c): Likewise.
4861 (CFLAGS-wfileops.c): Likewise.
4862 (CFLAGS-wgenops.c): Likewise.
4863 (CFLAGS-oldiofopen.c): Likewise.
4864 (CFLAGS-iofopen.c): Likewise.
4865 (CFLAGS-iofopen64.c): Likewise.
4866 (CFLAGS-oldtmpfile.c): Likewise.
4867 (CFLAGS-tst_putwc.c): Likewise.
4868 * locale/Makefile (CFLAGS-md5.c): Likewise.
4869 (CFLAGS-charmap.c): Likewise.
4870 (CFLAGS-locfile.c): Likewise.
4871 (CFLAGS-charmap-dir.c): Likewise.
4872 * login/Makefile (CFLAGS-grantpt.c): Likewise.
4873 (CFLAGS-getpt.c): Likewise.
4874 (CFLAGS-pt_chown.c): Likewise.
4875 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
4876 (CFLAGS-obstack.c): Likewise.
4877 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
4878 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
4879 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
4880 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
4881 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
4882 (CFLAGS-test-tgmath.c): Likewise.
4883 (CFLAGS-test-tgmath2.c): Likewise.
4884 (CFLAGS-test-tgmath-ret.c): Likewise.
4885 (CFLAGS-test-powl.c): Likewise.
4886 (CFLAGS-test-snan.c): Likewise.
4887 (CFLAGS-test-signgam-finite.c): Likewise.
4888 (CFLAGS-test-signgam-finite-c99.c): Likewise.
4889 (CFLAGS-test-signgam-finite-c11.c): Likewise.
4890 (CFLAGS-test-signgam-uchar.c): Likewise.
4891 (CFLAGS-test-signgam-uchar-init.c): Likewise.
4892 (CFLAGS-test-signgam-uchar-static.c): Likewise.
4893 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
4894 (CFLAGS-test-signgam-uint.c): Likewise.
4895 (CFLAGS-test-signgam-uint-init.c): Likewise.
4896 (CFLAGS-test-signgam-uint-static.c): Likewise.
4897 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
4898 (CFLAGS-test-signgam-ullong.c): Likewise.
4899 (CFLAGS-test-signgam-ullong-init.c): Likewise.
4900 (CFLAGS-test-signgam-ullong-static.c): Likewise.
4901 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
4902 (CFLAGS-test-math-cxx11.cc): Likewise.
4903 (CFLAGS-test-math-isinff.cc): Likewise.
4904 (CFLAGS-test-math-iszero.cc): Likewise.
4905 (CFLAGS-test-math-issignaling.cc): Likewise.
4906 (CFLAGS-test-math-iscanonical.cc): Likewise.
4907 (CFLAGS-test-iszero-excess-precision.c): Likewise.
4908 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
4909 (CFLAGS-test-flt-eval-method.c): Likewise.
4910 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
4911 (CFLAGS-test-finite-macros.c): Likewise.
4912 * misc/Makefile (CFLAGS-select.c): Likewise.
4913 (CFLAGS-tsearch.c): Likewise.
4914 (CFLAGS-lsearch.c): Likewise.
4915 (CFLAGS-pselect.c): Likewise.
4916 (CFLAGS-readv.c): Likewise.
4917 (CFLAGS-writev.c): Likewise.
4918 (CFLAGS-preadv.c): Likewise.
4919 (CFLAGS-preadv64.c): Likewise.
4920 (CFLAGS-pwritev.c): Likewise.
4921 (CFLAGS-pwritev64.c): Likewise.
4922 (CFLAGS-preadv2.c): Likewise.
4923 (CFLAGS-preadv64v2.c): Likewise.
4924 (CFLAGS-pwritev2.c): Likewise.
4925 (CFLAGS-pwritev64v2.c): Likewise.
4926 (CFLAGS-usleep.c): Likewise.
4927 (CFLAGS-syslog.c): Likewise.
4928 (CFLAGS-error.c): Likewise.
4929 (CFLAGS-getpass.c): Likewise.
4930 (CFLAGS-mkstemp.c): Likewise.
4931 (CFLAGS-mkstemp64.c): Likewise.
4932 (CFLAGS-getsysstats.c): Likewise.
4933 (CFLAGS-getusershell.c): Likewise.
4934 (CFLAGS-err.c): Likewise.
4935 (CFLAGS-tst-tsearch.c): Likewise.
4936 (CFLAGS-msync.c): Likewise.
4937 (CFLAGS-fdatasync.c): Likewise.
4938 (CFLAGS-fsync.c): Likewise.
4939 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
4940 (CFLAGS-unwind.c): Likewise.
4941 (CFLAGS-unwind-forcedunwind.c): Likewise.
4942 (CFLAGS-pthread_cancel.c): Likewise.
4943 (CFLAGS-pthread_setcancelstate.c): Likewise.
4944 (CFLAGS-pthread_setcanceltype.c): Likewise.
4945 (CFLAGS-cancellation.c): Likewise.
4946 (CFLAGS-libc-cancellation.c): Likewise.
4947 (CFLAGS-pthread_exit.c): Likewise.
4948 (CFLAGS-forward.c): Likewise.
4949 (CFLAGS-pthread_testcancel.c): Likewise.
4950 (CFLAGS-pthread_join.c): Likewise.
4951 (CFLAGS-pthread_timedjoin.c): Likewise.
4952 (CFLAGS-pthread_once.c): Likewise.
4953 (CFLAGS-pthread_cond_wait.c): Likewise.
4954 (CFLAGS-sem_wait.c): Likewise.
4955 (CFLAGS-sem_timedwait.c): Likewise.
4956 (CFLAGS-fcntl.c): Likewise.
4957 (CFLAGS-lockf.c): Likewise.
4958 (CFLAGS-pread.c): Likewise.
4959 (CFLAGS-pread64.c): Likewise.
4960 (CFLAGS-pwrite.c): Likewise.
4961 (CFLAGS-pwrite64.c): Likewise.
4962 (CFLAGS-wait.c): Likewise.
4963 (CFLAGS-waitpid.c): Likewise.
4964 (CFLAGS-sigwait.c): Likewise.
4965 (CFLAGS-msgrcv.c): Likewise.
4966 (CFLAGS-msgsnd.c): Likewise.
4967 (CFLAGS-tcdrain.c): Likewise.
4968 (CFLAGS-open.c): Likewise.
4969 (CFLAGS-open64.c): Likewise.
4970 (CFLAGS-pause.c): Likewise.
4971 (CFLAGS-recv.c): Likewise.
4972 (CFLAGS-send.c): Likewise.
4973 (CFLAGS-accept.c): Likewise.
4974 (CFLAGS-sendto.c): Likewise.
4975 (CFLAGS-connect.c): Likewise.
4976 (CFLAGS-recvfrom.c): Likewise.
4977 (CFLAGS-recvmsg.c): Likewise.
4978 (CFLAGS-sendmsg.c): Likewise.
4979 (CFLAGS-close.c): Likewise.
4980 (CFLAGS-read.c): Likewise.
4981 (CFLAGS-write.c): Likewise.
4982 (CFLAGS-nanosleep.c): Likewise.
4983 (CFLAGS-sigsuspend.c): Likewise.
4984 (CFLAGS-msync.c): Likewise.
4985 (CFLAGS-fdatasync.c): Likewise.
4986 (CFLAGS-fsync.c): Likewise.
4987 (CFLAGS-pt-system.c): Likewise.
4988 (CFLAGS-tst-cleanup2.c): Likewise.
4989 (CFLAGS-tst-cleanupx2.c): Likewise.
4990 (CFLAGS-flockfile.c): Likewise.
4991 (CFLAGS-ftrylockfile.c): Likewise.
4992 (CFLAGS-funlockfile.c): Likewise.
4993 (CFLAGS-tst-initializers1.c): Likewise.
4994 (CFLAGS-tst-initializers1-c89.c): Likewise.
4995 (CFLAGS-tst-initializers1-c99.c): Likewise.
4996 (CFLAGS-tst-initializers1-c11.c): Likewise.
4997 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
4998 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
4999 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
5000 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
5001 (CFLAGS-nscd_getgr_r.c): Likewise.
5002 (CFLAGS-nscd_gethst_r.c): Likewise.
5003 (CFLAGS-nscd_getai.c): Likewise.
5004 (CFLAGS-nscd_initgroups.c): Likewise.
5005 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
5006 (CFLAGS-pause.c): Likewise.
5007 (CFLAGS-pread.c): Likewise.
5008 (CFLAGS-pread64.c): Likewise.
5009 (CFLAGS-pwrite.c): Likewise.
5010 (CFLAGS-pwrite64.c): Likewise.
5011 (CFLAGS-sleep.c): Likewise.
5012 (CFLAGS-wait.c): Likewise.
5013 (CFLAGS-waitid.c): Likewise.
5014 (CFLAGS-waitpid.c): Likewise.
5015 (CFLAGS-getopt.c): Likewise.
5016 (CFLAGS-wordexp.c): Likewise.
5017 (CFLAGS-sysconf.c): Likewise.
5018 (CFLAGS-pathconf.c): Likewise.
5019 (CFLAGS-fpathconf.c): Likewise.
5020 (CFLAGS-spawn.c): Likewise.
5021 (CFLAGS-spawnp.c): Likewise.
5022 (CFLAGS-spawni.c): Likewise.
5023 (CFLAGS-glob.c): Likewise.
5024 (CFLAGS-glob64.c): Likewise.
5025 (CFLAGS-getconf.c): Likewise.
5026 (CFLAGS-nanosleep.c): Likewise.
5027 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
5028 (CFLAGS-getpwent.c): Likewise.
5029 (CFLAGS-getpw.c): Likewise.
5030 (CFLAGS-fgetpwent_r.c): Likewise.
5031 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
5032 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
5033 (CFLAGS-mq_timedreceive.c): Likewise.
5034 (CFLAGS-mq_timedsend.c): Likewise.
5035 (CFLAGS-clock_nanosleep.c): Likewise.
5036 (CFLAGS-librt-cancellation.c): Likewise.
5037 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
5038 (CFLAGS-getspent.c): Likewise.
5039 (CFLAGS-fgetspent.c): Likewise.
5040 (CFLAGS-fgetspent_r.c): Likewise.
5041 (CFLAGS-putspent.c): Likewise.
5042 (CFLAGS-getspnam.c): Likewise.
5043 (CFLAGS-getspnam_r.c): Likewise.
5044 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
5045 (CFLAGS-sigsuspend.c): Likewise.
5046 (CFLAGS-sigtimedwait.c): Likewise.
5047 (CFLAGS-sigwait.c): Likewise.
5048 (CFLAGS-sigwaitinfo.c): Likewise.
5049 (CFLAGS-sigreturn.c): Likewise.
5050 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
5051 (CFLAGS-vfwprintf.c): Likewise.
5052 (CFLAGS-tmpfile.c): Likewise.
5053 (CFLAGS-tmpfile64.c): Likewise.
5054 (CFLAGS-tempname.c): Likewise.
5055 (CFLAGS-psignal.c): Likewise.
5056 (CFLAGS-vprintf.c): Likewise.
5057 (CFLAGS-cuserid.c): Likewise.
5058 (CFLAGS-errlist.c): Likewise.
5059 (CFLAGS-siglist.c): Likewise.
5060 (CFLAGS-scanf15.c): Likewise.
5061 (CFLAGS-scanf17.c): Likewise.
5062 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
5063 (CFLAGS-msort.c): Likewise.
5064 (CFLAGS-qsort.c): Likewise.
5065 (CFLAGS-system.c): Likewise.
5066 (CFLAGS-fmtmsg.c): Likewise.
5067 (CFLAGS-strfmon.c): Likewise.
5068 (CFLAGS-strfmon_l.c): Likewise.
5069 (CFLAGS-strfromd.c): Likewise.
5070 (CFLAGS-strfromf.c): Likewise.
5071 (CFLAGS-strfroml.c): Likewise.
5072 (CFLAGS-tst-bsearch.c): Likewise.
5073 (CFLAGS-tst-qsort.c): Likewise.
5074 (CFLAGS-tst-makecontext2.c): Likewise.
5075 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
5076 (CFLAGS-xnlm_prot.c): Likewise.
5077 (CFLAGS-xrstat.c): Likewise.
5078 (CFLAGS-xyppasswd.c): Likewise.
5079 (CFLAGS-xklm_prot.c): Likewise.
5080 (CFLAGS-xrex.c): Likewise.
5081 (CFLAGS-xsm_inter.c): Likewise.
5082 (CFLAGS-xmount.c): Likewise.
5083 (CFLAGS-xrusers.c): Likewise.
5084 (CFLAGS-xspray.c): Likewise.
5085 (CFLAGS-xnfs_prot.c): Likewise.
5086 (CFLAGS-xrquota.c): Likewise.
5087 (CFLAGS-xkey_prot.c): Likewise.
5088 (CFLAGS-auth_unix.c): Likewise.
5089 (CFLAGS-key_call.c): Likewise.
5090 (CFLAGS-pmap_rmt.c): Likewise.
5091 (CFLAGS-clnt_perr.c): Likewise.
5092 (CFLAGS-openchild.c): Likewise.
5093 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
5094 (CFLAGS-msgsnd.c): Likewise.
5095 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
5096 * time/Makefile (CFLAGS-tzfile.c): Likewise.
5097 (CFLAGS-tzset.c): Likewise.
5098 (CFLAGS-getdate.c): Likewise.
5099 (CFLAGS-test_time.c): Likewise.
5100 (CPPFLAGS-tst-tzname.c): Likewise.
5101 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
5102 (CFLAGS-zic.c): Likewise.
5103 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
5104 (CFLAGS-wcswidth.c): Likewise.
5105 (CFLAGS-wcstol.c): Likewise.
5106 (CFLAGS-wcstoul.c): Likewise.
5107 (CFLAGS-wcstoll.c): Likewise.
5108 (CFLAGS-wcstoull.c): Likewise.
5109 (CFLAGS-wcstod.c): Likewise.
5110 (CFLAGS-wcstold.c): Likewise.
5111 (CFLAGS-wcstof128.c): Likewise.
5112 (CFLAGS-wcstof.c): Likewise.
5113 (CFLAGS-wcstol_l.c): Likewise.
5114 (CFLAGS-wcstoul_l.c): Likewise.
5115 (CFLAGS-wcstoll_l.c): Likewise.
5116 (CFLAGS-wcstoull_l.c): Likewise.
5117 (CFLAGS-wcstod_l.c): Likewise.
5118 (CFLAGS-wcstold_l.c): Likewise.
5119 (CFLAGS-wcstof128_l.c): Likewise.
5120 (CFLAGS-wcstof_l.c): Likewise.
5121 (CPPFLAGS-tst-wchar-h.c): Likewise.
5122 (CPPFLAGS-wcstold_l.c): Likewise.
5124 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
5126 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
5128 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5129 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5131 * manual/tunables.texi (Hardware Capability Tunables): Document
5132 glibc.tune.cached_memopt.
5133 * sysdeps/powerpc/cpu-features.c: New file.
5134 * sysdeps/powerpc/cpu-features.h: New file.
5135 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
5136 _dl_powerpc_cpu_features.
5137 * sysdeps/powerpc/dl-tunables.list: New file.
5138 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
5139 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5140 (INIT_ARCH): Initialize use_aligned_memopt.
5141 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
5142 IS_IN(rtld))]: Restrict dl_platform_init availability and
5143 initialize CPU features used by tunables.
5144 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
5145 Add memcpy-power8-cached.
5146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
5147 __memcpy_power8_cached.
5148 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5149 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
5152 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
5154 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
5155 (CFLAGS-noinl-tester.c): Likewise.
5156 (CFLAGS-tst-strlen.c): Likewise.
5157 (CFLAGS-stratcliff.c): Likewise.
5158 (CFLAGS-test-ffs.c): Likewise.
5159 (CFLAGS-tst-inlcall.c): Likewise.
5160 (CFLAGS-tst-xbzero-opt.c): Likewise.
5161 (CFLAGS-memcpy.c): Likewise.
5162 (CFLAGS-wordcopy.c): Likewise.
5164 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5166 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
5167 Store r15 on stack and add cfi rule.
5168 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5171 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
5174 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
5177 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
5179 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5180 Add s_sinf-sse2 and s_sinf-fma.
5181 (CFLAGS-s_sinf-fma.c): New.
5182 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
5183 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
5184 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
5186 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
5188 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
5190 2017-12-07 Joseph Myers <joseph@codesourcery.com>
5193 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
5194 part of result to imaginary part of argument if it is zero and the
5195 real part of the argument is not finite.
5196 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
5197 of result to real part of argument if it is zero and the imaginary
5198 part of the argument is not finite.
5200 2017-12-07 Mike FABIAN <mfabian@redhat.com>
5203 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
5204 and to the list of locales to be built for testing.
5205 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
5206 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
5207 and build the collation rules upon that.
5209 2017-12-07 Joseph Myers <joseph@codesourcery.com>
5211 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
5212 * manual/math.texi (Mathematics): Document support for _Float32.
5213 * math/Makefile (test-types): Add float32.
5214 * math/Versions (GLIBC_2.27): Add _Float32 functions.
5215 * stdlib/Versions (GLIBC_2.27): Likewise.
5216 * wcsmbs/Versions (GLIBC_2.27): Likewise.
5217 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
5218 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5219 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5220 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5221 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5222 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5223 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5224 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5225 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5226 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5227 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5228 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5229 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5230 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5231 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5232 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5233 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5234 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5235 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5236 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5237 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5239 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5240 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5241 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5242 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5243 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5261 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5262 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5263 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5264 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5265 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5266 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5267 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5268 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5269 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5270 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
5273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5279 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5280 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5281 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5282 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5283 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5284 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5285 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5286 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5288 2017-12-06 Joseph Myers <joseph@codesourcery.com>
5290 * stdlib/strtof.c: Include <bits/floatn.h>
5291 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
5292 and later undefine as macro. Define as weak alias if
5294 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
5295 and later undefine as macro. Define as weak alias if
5297 * stdlib/strtof_l.c: Include <bits/floatn.h>
5298 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
5299 and later undefine as macro. Define as weak alias if
5301 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
5302 and later undefine as macro. Define as weak alias if
5305 * stdlib/strfromf.c: Include <bits/floatn.h>.
5306 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
5307 and later undefine as macro and define as weak alias.
5309 * math/test-float32.h: New file.
5311 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
5312 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
5313 (libm_alias_float_other_r): Create f32 alias.
5314 (libm_alias_float_r): Use semicolon before call to
5315 libm_alias_float_other_r.
5317 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
5318 second argument to libm_alias_float_other.
5319 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
5320 second argument to libm_alias_float_other.
5321 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
5322 argument to libm_alias_float_other.
5325 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
5326 real part of result for argument 0 + i * NaN.
5327 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
5328 results for tests of 0 + i * NaN.
5330 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5332 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5334 2017-12-06 David S. Miller <davem@davemloft.net>
5336 * sysdeps/sparc/fpu/libm-test-ulps: Update
5337 exp_{downward,towardzero,upward} ulps.
5339 2017-12-06 Joseph Myers <joseph@codesourcery.com>
5341 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
5344 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
5346 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
5348 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
5350 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
5353 2017-12-06 Mike FABIAN <mfabian@redhat.com>
5356 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
5357 and to the list of locales to be built for testing.
5358 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
5359 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
5360 and build the collation rules upon that.
5362 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5364 * NEWS: Add sinf to list of optimized functions.
5366 2017-12-06 Joseph Myers <joseph@codesourcery.com>
5368 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
5369 (__HAVE_FLOAT32X): Likewise.
5370 * manual/math.texi (Mathematics): Document support for _Float64
5372 * math/Makefile (test-types): Add float64 and float32x.
5373 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
5375 * stdlib/Versions (GLIBC_2.27): Likewise.
5376 * wcsmbs/Versions (GLIBC_2.27): Likewise.
5377 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
5378 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5379 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5380 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5381 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5382 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5383 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5384 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5385 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5386 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5387 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5388 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5389 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5390 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5391 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5392 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5393 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5394 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5395 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5396 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5397 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5399 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5400 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5401 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5402 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5403 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5420 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5421 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5422 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5423 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5424 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5425 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5426 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5427 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5428 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5429 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
5432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5438 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5439 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5440 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5441 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5442 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5443 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5444 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5445 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5447 2017-12-05 Joseph Myers <joseph@codesourcery.com>
5449 * bits/floatn-common.h: Include <bits/long-double.h>.
5450 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
5451 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
5452 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
5453 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
5454 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
5455 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
5456 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
5457 (__builtin_huge_valf64): Use __builtin_huge_vall.
5458 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
5459 (__builtin_inff64): Use __builtin_infl.
5460 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
5461 (__builtin_nanf64): Use __builtin_nanl.
5462 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
5463 (__builtin_nansf64): Use __builtin_nansl.
5465 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
5466 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5467 Carlos O'Donnell <carlos@redhat.com>
5469 * elf/dl-tunables.list: Add elision parameters.
5470 * manual/tunables.texi: Add entries about elision tunable.
5471 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
5472 Add callback functions to dynamically enable/disable elision.
5473 Add multiple callbacks functions to set elision parameters.
5474 Deleted __libc_enable_secure check.
5475 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
5476 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
5477 * configure: Regenerated.
5478 * configure.ac: Option enable_lock_elision was deleted.
5479 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
5480 * config.make.in: Remove references to enable_lock_elision.
5481 * manual/install.texi: Elision configure option was removed.
5482 * INSTALL: Regenerated to remove enable_lock_elision.
5484 Disable elision so it can verify error case for destroying a mutex.
5485 * sysdeps/powerpc/nptl/elide.h:
5486 Cleanup ENABLE_LOCK_ELISION check.
5487 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
5488 * sysdeps/s390/configure: Regenerated.
5489 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
5490 * nptl/tst-mutex8.c:
5491 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
5492 * sysdeps/powerpc/powerpc32/sysdep.h:
5493 Deleted all ENABLE_LOCK_ELISION checks.
5494 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5495 * sysdeps/powerpc/sysdep.h: Likewise.
5496 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5497 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
5498 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5499 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5500 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5501 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
5502 enable-lock-elision.
5504 2017-12-05 Joseph Myers <joseph@codesourcery.com>
5506 * stdlib/strtod.c: Include <bits/floatn.h>.
5507 (BUILD_DOUBLE): New macro.
5508 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
5509 (strtof64): Define and later undefine as macro. Define as weak
5510 alias if [!USE_WIDE_CHAR].
5511 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
5512 (wcstof64): Define and later undefine as macro. Define as weak
5513 alias if [USE_WIDE_CHAR].
5514 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
5515 (strtof32x): Define and later undefine as macro. Define as weak
5516 alias if [!USE_WIDE_CHAR].
5517 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
5518 (wcstof32x): Define and later undefine as macro. Define as weak
5519 alias if [USE_WIDE_CHAR].
5520 * stdlib/strtod_l.c: Include <bits/floatn.h>.
5521 (BUILD_DOUBLE): New macro.
5522 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
5523 (strtof64_l): Define and later undefine as macro. Define as weak
5524 alias if [!USE_WIDE_CHAR].
5525 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
5526 (wcstof64_l): Define and later undefine as macro. Define as weak
5527 alias if [USE_WIDE_CHAR].
5528 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
5529 (strtof32x_l): Define and later undefine as macro. Define as weak
5530 alias if [!USE_WIDE_CHAR].
5531 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
5532 (wcstof32x_l): Define and later undefine as macro. Define as weak
5533 alias if [USE_WIDE_CHAR].
5535 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5537 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
5538 (reduced): Use ones as double instead of integer.
5540 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
5542 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
5544 2017-12-05 Joseph Myers <joseph@codesourcery.com>
5546 * stdlib/strfromd.c: Include <bits/floatn.h>.
5547 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
5548 and later undefine as macro and define as weak alias.
5549 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
5552 * math/test-float32x.h: New file.
5553 * math/test-float64.h: Likewise.
5555 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
5556 (libm_alias_double_other_r_f64): New macro.
5557 (libm_alias_double_other_r_f32x): Likewise.
5558 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
5559 libm_alias_double_other_r_f32x.
5560 (libm_alias_double_r): Use semicolon before call to
5561 libm_alias_double_other_r.
5562 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
5564 (libm_alias_double_other_r_f64): New macro.
5565 (libm_alias_double_other_r_f32x): Likewise.
5566 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
5567 libm_alias_double_other_r_f32x.
5569 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
5571 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
5573 (SINF_FUNC): Likewise. Replace floor with simple casts.
5575 2017-12-05 Mike FABIAN <mfabian@redhat.com>
5578 * localedata/Makefile: Add et_EE.UTF-8 to test-input
5579 and to the list of locales to be built for testing.
5580 * localedata/et_EE.UTF-8.in: New file for testing the collation.
5581 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
5582 and build the collation rules upon that.
5584 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
5586 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
5587 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
5588 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
5589 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
5590 instead of __insn__xxx.
5591 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
5592 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
5593 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
5594 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
5595 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
5596 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
5598 2017-12-05 Florian Weimer <fweimer@redhat.com>
5600 Linux: Implement interfaces for memory protection keys
5601 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
5603 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
5604 * support/xunistd.h (xsysconf): Declare.
5605 * support/xraise.c: New file.
5606 * support/xsigaction.c: Likewise.
5607 * support/xsignal.c: Likewise.
5608 * support/xsysconf.c: Likewise.
5609 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
5610 pkey_set, pkey_get, pkey_mprotect.
5611 [misc] (tests): Add tst-pkey.
5612 (tst-pkey): Link with -lpthread.
5613 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
5614 pkey_free, pkey_set, pkey_get, pkey_mprotect.
5615 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
5616 (PKEY_DISABLE_WRITE): Define.
5617 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
5619 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
5621 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
5622 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
5623 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
5624 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
5626 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
5627 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
5628 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
5629 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
5630 * sysdeps/unix/sysv/linux/**.abilist: Update.
5632 2017-12-05 Florian Weimer <fweimer@redhat.com>
5634 * support/tst-test_compare.c (subprocess): Use long long instead
5635 of long argument for consistent type width across 32-bit and
5636 64-bit architectures.
5637 (do_test): Adjust expected output.
5639 2017-12-05 Joseph Myers <joseph@codesourcery.com>
5641 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
5642 (cosf): Define using libm_alias_float.
5643 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
5644 (fabsf): Define using libm_alias_float.
5645 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
5646 (fmaf): Define using libm_alias_float.
5647 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
5648 (rintf): Define using libm_alias_float.
5649 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
5650 (sinf): Define using libm_alias_float.
5651 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
5652 <libm-alias-float.h>.
5653 (modff): Define using libm_alias_float.
5654 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
5655 <libm-alias-float.h>.
5656 (logbf): Define using libm_alias_float.
5657 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
5658 <libm-alias-float.h>.
5659 (ceilf): Define using libm_alias_float.
5660 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
5661 <libm-alias-float.h>.
5662 (copysignf): Define using libm_alias_float.
5663 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
5664 <libm-alias-float.h>.
5665 (floorf): Define using libm_alias_float.
5666 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
5667 <libm-alias-float.h>.
5668 (llrintf): Define using libm_alias_float.
5669 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
5670 <libm-alias-float.h>.
5671 (llroundf): Define using libm_alias_float.
5672 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
5673 <libm-alias-float.h>.
5674 (lrintf): Define using libm_alias_float.
5675 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
5676 <libm-alias-float.h>.
5677 (lroundf): Define using libm_alias_float.
5678 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
5679 <libm-alias-float.h>.
5680 (nearbyintf): Define using libm_alias_float.
5681 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
5682 <libm-alias-float.h>.
5683 (rintf): Define using libm_alias_float.
5684 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
5685 <libm-alias-float.h>.
5686 (roundf): Define using libm_alias_float.
5687 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
5688 <libm-alias-float.h>.
5689 (truncf): Define using libm_alias_float.
5690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
5691 Include <libm-alias-float.h>.
5692 (ceilf): Define using libm_alias_float.
5693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5694 Include <libm-alias-float.h>.
5695 (copysignf): Define using libm_alias_float.
5696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
5697 Include <libm-alias-float.h>.
5698 (floorf): Define using libm_alias_float.
5699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
5700 Include <libm-alias-float.h>.
5701 (llrintf): Define using libm_alias_float.
5702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
5703 Include <libm-alias-float.h>.
5704 (llroundf): Define using libm_alias_float.
5705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
5706 Include <libm-alias-float.h>.
5707 (logbf): Define using libm_alias_float.
5708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
5709 Include <libm-alias-float.h>.
5710 (lrintf): Define using libm_alias_float.
5711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
5712 Include <libm-alias-float.h>.
5713 (lroundf): Define using libm_alias_float.
5714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
5715 Include <libm-alias-float.h>.
5716 (modff): Define using libm_alias_float.
5717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
5718 Include <libm-alias-float.h>.
5719 (roundf): Define using libm_alias_float.
5720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
5721 Include <libm-alias-float.h>.
5722 (truncf): Define using libm_alias_float.
5723 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
5724 <libm-alias-float.h>.
5725 (llrintf): Define using libm_alias_float.
5726 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
5727 <libm-alias-float.h>.
5728 (llroundf): Define using libm_alias_float.
5729 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
5730 <libm-alias-float.h>.
5731 (ceilf): Define using libm_alias_float.
5732 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
5733 <libm-alias-float.h>.
5734 (floorf): Define using libm_alias_float.
5735 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
5736 <libm-alias-float.h>.
5737 (llroundf): Define using libm_alias_float.
5738 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
5739 <libm-alias-float.h>.
5740 (lroundf): Define using libm_alias_float.
5741 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
5742 <libm-alias-float.h>.
5743 (roundf): Define using libm_alias_float.
5744 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
5745 <libm-alias-float.h>.
5746 (truncf): Define using libm_alias_float.
5747 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
5748 <libm-alias-float.h>.
5749 (copysignf): Define using libm_alias_float.
5750 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
5751 <libm-alias-float.h>.
5752 (llrintf): Define using libm_alias_float.
5753 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
5754 <libm-alias-float.h>.
5755 (llroundf): Define using libm_alias_float.
5756 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
5757 <libm-alias-float.h>.
5758 (lrintf): Define using libm_alias_float.
5759 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
5760 <libm-alias-float.h>.
5761 (lroundf): Define using libm_alias_float.
5762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
5763 <libm-alias-float.h>.
5764 (ceilf): Define using libm_alias_float.
5765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
5766 <libm-alias-float.h>.
5767 (copysignf): Define using libm_alias_float.
5768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
5769 <libm-alias-float.h>.
5770 (cosf): Define using libm_alias_float.
5771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
5772 <libm-alias-float.h>.
5773 (floorf): Define using libm_alias_float.
5774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
5775 <libm-alias-float.h>.
5776 (llrintf): Define using libm_alias_float.
5777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
5778 <libm-alias-float.h>.
5779 (llroundf): Define using libm_alias_float.
5780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
5781 <libm-alias-float.h>.
5782 (logbf): Define using libm_alias_float.
5783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
5784 <libm-alias-float.h>.
5785 (modff): Define using libm_alias_float.
5786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
5787 <libm-alias-float.h>.
5788 (roundf): Define using libm_alias_float.
5789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
5790 <libm-alias-float.h>.
5791 (sinf): Define using libm_alias_float.
5792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
5793 <libm-alias-float.h>.
5794 (truncf): Define using libm_alias_float.
5795 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
5796 <libm-alias-float.h>.
5797 (ceilf): Define using libm_alias_float.
5798 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
5799 <libm-alias-float.h>.
5800 (copysignf): Define using libm_alias_float.
5801 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
5802 <libm-alias-float.h>.
5803 (floorf): Define using libm_alias_float.
5804 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
5805 <libm-alias-float.h>.
5806 (llrintf): Define using libm_alias_float.
5807 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
5808 <libm-alias-float.h>.
5809 (llroundf): Define using libm_alias_float.
5810 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
5811 <libm-alias-float.h>.
5812 (nearbyintf): Define using libm_alias_float.
5813 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
5814 <libm-alias-float.h>.
5815 (rintf): Define using libm_alias_float.
5816 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
5817 <libm-alias-float.h>.
5818 (roundf): Define using libm_alias_float.
5819 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
5820 <libm-alias-float.h>.
5821 (truncf): Define using libm_alias_float.
5822 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
5823 <libm-alias-float.h>.
5824 (ceilf): Define using libm_alias_float.
5825 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
5826 <libm-alias-float.h>.
5827 (floorf): Define using libm_alias_float.
5828 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
5829 <libm-alias-float.h>.
5830 (llroundf): Define using libm_alias_float.
5831 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
5832 <libm-alias-float.h>.
5833 (roundf): Define using libm_alias_float.
5834 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
5835 <libm-alias-float.h>.
5836 (truncf): Define using libm_alias_float.
5837 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
5838 <libm-alias-float.h>.
5839 (copysignf): Define using libm_alias_float.
5840 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
5841 <libm-alias-float.h>.
5842 (llrintf): Define using libm_alias_float.
5843 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
5844 <libm-alias-float.h>.
5845 (llroundf): Define using libm_alias_float.
5846 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
5847 <libm-alias-float.h>.
5848 (cosf): Define using libm_alias_float.
5849 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
5850 <libm-alias-float.h>.
5851 (llrintf): Define using libm_alias_float.
5852 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
5853 <libm-alias-float.h>.
5854 (llroundf): Define using libm_alias_float.
5855 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
5856 <libm-alias-float.h>.
5857 (sinf): Define using libm_alias_float.
5859 2017-12-04 Florian Weimer <fweimer@redhat.com>
5861 * support/check.h (TEST_COMPARE): Define.
5862 (support_test_compare_failure): Declare.
5863 * support/Makefile (libsupport-routines): Add
5864 support_test_compare_failure.
5865 (tests): Add tst-test_compare.
5866 * support /support_test_compare_failure.c: New file.
5867 * support/tst-test_compare.c: Likewise.
5869 2017-12-04 Mike FABIAN <mfabian@redhat.com>
5872 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
5873 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
5874 available, this rewrite of the collation rules does reproduce
5875 the test file in the same order.
5877 2017-12-04 Mike FABIAN <mfabian@redhat.com>
5880 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
5881 digraphs in the month and day names. Using single code points for
5882 digraphs is deprecated. While there are dedicated Unicode
5883 codepoints, for the digraphs, these are included for backwards
5884 compatibility and modern texts use a sequence of Basic Latin
5885 characters. See: https://www.unicode.org/faq/ligature_digraph.html
5886 This makes the month and day names agree exactly with CLDR now,
5887 CLDR does not use the single code points for the digraphs either.
5889 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
5891 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
5893 2017-12-04 Joseph Myers <joseph@codesourcery.com>
5895 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
5898 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
5900 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
5901 Define only for libc.so.
5903 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
5905 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5906 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
5907 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
5908 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
5909 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5911 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5914 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
5916 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
5919 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
5920 PREINIT_FUNCTION_WEAK is nonzero.
5921 (gmon_initializer): New function. Put procedure label for it in
5922 .init_array section.
5923 (_init): Don't call PREINIT_FUNCTION.
5924 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
5925 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
5926 value when map argument is null.
5928 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
5929 depi instruction from PIC pc-relative sequence.
5930 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
5931 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
5932 (elf_machine_load_address): Likewise.
5933 (elf_machine_runtime_setup): Likewise.
5935 2017-12-02 Joseph Myers <joseph@codesourcery.com>
5937 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
5938 <libm-alias-double.h>.
5939 (logb): Define using libm_alias_double.
5940 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
5941 <libm-alias-double.h>.
5942 (copysign): Define using libm_alias_double.
5943 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
5944 <libm-alias-double.h>.
5945 (llrint): Define using libm_alias_double.
5946 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
5947 <libm-alias-double.h>.
5948 (llround): Define using libm_alias_double.
5949 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
5950 <libm-alias-double.h>.
5951 (lrint): Define using libm_alias_double.
5952 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
5953 <libm-alias-double.h>.
5954 (lround): Define using libm_alias_double.
5955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5956 Include <libm-alias-double.h>.
5957 (copysign): Define using libm_alias_double.
5958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
5959 Include <libm-alias-double.h>.
5960 (llrint): Define using libm_alias_double.
5961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
5962 Include <libm-alias-double.h>.
5963 (llround): Define using libm_alias_double.
5964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
5965 <libm-alias-double.h>.
5966 (logb): Define using libm_alias_double.
5967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
5968 Include <libm-alias-double.h>.
5969 (lrint): Define using libm_alias_double.
5970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
5971 Include <libm-alias-double.h>.
5972 (lround): Define using libm_alias_double.
5973 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
5974 <libm-alias-double.h>.
5975 (llrint): Define using libm_alias_double.
5976 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
5977 <libm-alias-double.h>.
5978 (llround): Define using libm_alias_double.
5979 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
5980 <libm-alias-double.h>.
5981 (llround): Define using libm_alias_double.
5982 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
5983 <libm-alias-double.h>.
5984 (lround): Define using libm_alias_double.
5985 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
5986 <libm-alias-double.h>.
5987 (copysign): Define using libm_alias_double.
5988 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
5989 <libm-alias-double.h>.
5990 (llrint): Define using libm_alias_double.
5991 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
5992 <libm-alias-double.h>.
5993 (llround): Define using libm_alias_double.
5994 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
5995 <libm-alias-double.h>.
5996 (lrint): Define using libm_alias_double.
5997 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
5998 <libm-alias-double.h>.
5999 (lround): Define using libm_alias_double.
6000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
6001 <libm-alias-double.h>.
6002 (copysign): Define using libm_alias_double.
6003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
6004 <libm-alias-double.h>.
6005 (llrint): Define using libm_alias_double.
6007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
6008 <libm-alias-double.h>.
6009 (llround): Define using libm_alias_double.
6011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
6012 <libm-alias-double.h>.
6013 (logb): Define using libm_alias_double.
6014 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
6015 <libm-alias-double.h>.
6016 (copysign): Define using libm_alias_double.
6017 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
6018 <libm-alias-double.h>.
6019 (llrint): Define using libm_alias_double.
6021 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
6022 <libm-alias-double.h>.
6023 (llround): Define using libm_alias_double.
6025 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
6026 <libm-alias-double.h>.
6027 (llround): Define using libm_alias_double.
6029 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
6030 <libm-alias-double.h>.
6031 (copysign): Define using libm_alias_double.
6032 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
6033 <libm-alias-double.h>.
6034 (llrint): Define using libm_alias_double.
6036 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
6037 <libm-alias-double.h>.
6038 (llround): Define using libm_alias_double.
6040 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
6041 <libm-alias-double.h>.
6042 (llrint): Define using libm_alias_double.
6044 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
6045 <libm-alias-double.h>.
6046 (llround): Define using libm_alias_double.
6049 2017-12-01 Joseph Myers <joseph@codesourcery.com>
6051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6052 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
6053 compat symbol based on llround.
6055 * sysdeps/powerpc/power7/fpu/s_logb.c
6056 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
6057 symbol based on __logb, not on logb.
6058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
6059 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
6060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
6061 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
6063 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
6064 (rint): Define using libm_alias_double.
6065 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
6066 <libm-alias-double.h>.
6067 (modf): Define using libm_alias_double.
6068 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
6069 <libm-alias-double.h>.
6070 (ceil): Define using libm_alias_double.
6071 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
6072 <libm-alias-double.h>.
6073 (floor): Define using libm_alias_double.
6074 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
6075 <libm-alias-double.h>.
6076 (nearbyint): Define using libm_alias_double.
6077 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
6078 <libm-alias-double.h>.
6079 (rint): Define using libm_alias_double.
6080 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
6081 <libm-alias-double.h>.
6082 (round): Define using libm_alias_double.
6083 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
6084 <libm-alias-double.h>.
6085 (trunc): Define using libm_alias_double.
6086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
6087 <libm-alias-double.h>.
6088 (ceil): Define using libm_alias_double.
6089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
6090 Include <libm-alias-double.h>.
6091 (floor): Define using libm_alias_double.
6092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
6093 <libm-alias-double.h>.
6094 (modf): Define using libm_alias_double.
6095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
6096 Include <libm-alias-double.h>.
6097 (round): Define using libm_alias_double.
6098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
6099 Include <libm-alias-double.h>.
6100 (trunc): Define using libm_alias_double.
6101 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
6102 <libm-alias-double.h>.
6103 (ceil): Define using libm_alias_double.
6104 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
6105 <libm-alias-double.h>.
6106 (floor): Define using libm_alias_double.
6107 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
6108 <libm-alias-double.h>.
6109 (round): Define using libm_alias_double.
6110 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
6111 <libm-alias-double.h>.
6112 (trunc): Define using libm_alias_double.
6113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
6114 <libm-alias-double.h>.
6115 (ceil): Define using libm_alias_double.
6116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
6117 <libm-alias-double.h>.
6118 (floor): Define using libm_alias_double.
6119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
6120 <libm-alias-double.h>.
6121 (modf): Define using libm_alias_double.
6122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
6123 <libm-alias-double.h>.
6124 (round): Define using libm_alias_double.
6125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
6126 <libm-alias-double.h>.
6127 (trunc): Define using libm_alias_double.
6128 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
6129 <libm-alias-double.h>.
6130 (ceil): Define using libm_alias_double.
6131 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
6132 <libm-alias-double.h>.
6133 (floor): Define using libm_alias_double.
6134 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
6135 <libm-alias-double.h>.
6136 (nearbyint): Define using libm_alias_double.
6137 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
6138 <libm-alias-double.h>.
6139 (rint): Define using libm_alias_double.
6140 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
6141 <libm-alias-double.h>.
6142 (round): Define using libm_alias_double.
6143 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
6144 <libm-alias-double.h>.
6145 (trunc): Define using libm_alias_double.
6146 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
6147 <libm-alias-double.h>.
6148 (ceil): Define using libm_alias_double.
6149 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
6150 <libm-alias-double.h>.
6151 (floor): Define using libm_alias_double.
6152 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
6153 <libm-alias-double.h>.
6154 (round): Define using libm_alias_double.
6155 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
6156 <libm-alias-double.h>.
6157 (trunc): Define using libm_alias_double.
6159 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
6160 (fabs): Define using libm_alias_double.
6161 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
6162 (fma): Define using libm_alias_double.
6163 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
6164 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
6165 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
6166 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
6168 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6170 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
6172 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
6173 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
6174 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
6176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
6179 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
6181 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
6183 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6185 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
6186 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
6187 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
6188 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
6190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6191 (libm-sysdep_routines): Add s_nearbyintf-generic and
6192 s_nearbyint-generic.
6193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
6195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
6196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
6198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
6200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
6202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
6205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6206 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
6207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
6209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
6212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
6214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6217 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
6218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
6220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
6221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
6223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
6224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
6225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
6227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6228 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
6229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
6231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
6232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
6234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
6235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
6236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6239 (sysdep_calls): New rule.
6240 (sysdep_routines): Use sysdep_calls as base.
6241 (libm-sysdep_routines): Add generic rule for symbols shared with
6242 libc. Add s_copysign-generic and s_copysign-generic objects.
6243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
6245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
6246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
6248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
6249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
6250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
6252 2017-12-01 Mike FABIAN <mfabian@redhat.com>
6255 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
6256 the list of locales to be built for testing.
6257 * localedata/is_IS.UTF-8.in: New file.
6258 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
6261 2017-12-01 Joseph Myers <joseph@codesourcery.com>
6263 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
6264 <libm-alias-float.h>.
6265 (fabsf): Define using libm_alias_float.
6267 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
6269 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
6271 2017-11-30 Joseph Myers <joseph@codesourcery.com>
6273 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
6274 <libm-alias-float.h>.
6275 (fabsf): Define using libm_alias_float.
6276 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
6277 <libm-alias-float.h>.
6278 (lrintf): Define using libm_alias_float.
6279 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
6280 <libm-alias-float.h>.
6281 (rintf): Define using libm_alias_float.
6283 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
6284 <libm-alias-double.h>.
6285 (fabs): Define using libm_alias_double.
6286 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
6287 <libm-alias-double.h>.
6288 (lrint): Define using libm_alias_double.
6289 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
6290 <libm-alias-double.h>.
6291 (rint): Define using libm_alias_double.
6293 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
6294 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6295 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
6296 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
6297 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
6298 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6299 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
6300 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
6301 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
6302 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
6303 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
6304 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
6305 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
6306 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
6307 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
6308 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
6309 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6310 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
6312 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
6313 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
6314 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
6316 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
6317 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
6318 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
6320 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
6321 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
6322 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
6324 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
6325 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
6326 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
6328 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
6329 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
6330 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
6332 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
6333 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
6334 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
6336 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
6337 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
6339 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
6340 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
6341 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
6343 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
6344 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
6345 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
6346 s_nearbyint_template.c.
6347 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
6348 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
6349 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
6350 s_remquo_template.c.
6351 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
6352 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
6353 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
6355 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6356 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6357 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
6359 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
6360 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
6361 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
6362 s_sincos_template.c.
6363 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
6364 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
6365 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
6367 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
6368 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
6369 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
6371 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
6372 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
6373 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
6375 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
6376 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
6377 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
6378 s_atan.c instead of including s_atan.c.
6379 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
6380 s_atanf.c instead of including s_atanf.c.
6381 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
6382 s_atanl.c instead of including s_atanl.c.
6383 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
6384 instead of s_atan.c.
6385 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
6386 instead of s_atanf.c.
6387 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
6388 instead of s_atanl.c.
6390 * scripts/update-copyrights: Do not handle intl/plural.c
6393 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
6396 * configure.ac (BISON): Require to be present.
6397 * configure: Regenerated.
6398 * intl/Makefile (generated): Add plural.c.
6399 [$(BISON) != no]: Make code unconditional.
6400 (plural.c): Change rule to $(objpfx)plural.c.
6401 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
6402 * intl/plural.c: Remove.
6403 * manual/install.texi (Tools for Compilation): Document bison as
6405 * INSTALL: Regenerated.
6407 2017-11-30 Joseph Myers <joseph@codesourcery.com>
6409 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
6410 <libm-alias-double.h>.
6411 (llrint): Define using libm_alias_double.
6412 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
6413 <libm-alias-float.h>.
6414 (llrintf): Define using libm_alias_float.
6415 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
6416 <libm-alias-ldouble.h>.
6417 (llrintl): Define using libm_alias_ldouble.
6419 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
6420 declare_mgen_alias instead of weak_alias.
6421 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
6422 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
6423 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
6425 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6427 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
6429 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
6430 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
6431 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
6433 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
6434 Add submul_1-generic.
6435 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
6436 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
6437 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
6439 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
6440 Add addmul_1-generic.
6441 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
6442 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
6443 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
6445 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
6447 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
6448 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
6449 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
6451 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
6453 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
6454 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
6455 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
6457 2017-11-30 Mike FABIAN <mfabian@redhat.com>
6459 According to CLDR, collation rules for Serbian and Bosnian
6460 should be the same as for Croatian.
6463 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
6464 and to the list of locales to be built for testing.
6465 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
6466 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
6467 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
6468 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
6470 2017-11-30 Mike FABIAN <mfabian@redhat.com>
6472 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
6473 to make test case pass.
6474 * localedata/hr_HR.UTF-8.in: Add more test strings.
6476 2017-11-30 Mike FABIAN <mfabian@redhat.com>
6478 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
6480 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
6482 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
6483 the list of locales to built for testing.
6484 * localedata/hr_HR.UTF-8.in: New file.
6486 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
6489 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
6491 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
6492 CLDR (except use ligatures for the digraphs, CLDR does not use
6493 the ligatures), add first_workday, some fixes in the date and time
6495 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
6497 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
6498 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
6499 Add int_p_cs_precedes and int_n_cs_precedes.
6500 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
6501 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
6503 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
6504 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
6506 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
6507 and lang_lib. Change postal_fmt.
6509 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
6511 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
6513 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
6514 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
6515 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
6516 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
6517 * sysdeps/generic/setjmpP.h: New file.
6518 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
6519 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
6520 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
6521 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
6522 Add jmp_buf-ssp.sym.
6523 (tests): Add tst-saved_mask-1.
6525 2017-11-30 Arjun Shankar <arjun@redhat.com>
6529 * malloc/malloc.c (__libc_malloc): Use checked_request2size
6530 instead of request2size.
6532 2017-11-30 Joseph Myers <joseph@codesourcery.com>
6534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
6535 (__lllrint): Remove alias.
6536 (lllrint): Likewise.
6537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
6538 (__lllrintf): Likewise.
6539 (lllrintf): Likewise.
6541 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
6542 <libm-alias-float.h>.
6543 (copysignf): Define using libm_alias_float.
6544 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
6545 <libm-alias-float.h>.
6546 (fabsf): Define using libm_alias_float.
6547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6548 Include <libm-alias-float.h>.
6549 (copysignf): Define using libm_alias_float.
6550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
6551 <libm-alias-float.h>.
6552 (fabsf): Define using libm_alias_float.
6553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
6554 <libm-alias-float.h>.
6555 (fdimf): Define using libm_alias_float.
6556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
6557 <libm-alias-float.h>.
6558 (fmaf): Define using libm_alias_float.
6559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
6560 <libm-alias-float.h>.
6561 (llrintf): Define using libm_alias_float.
6562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
6563 Include <libm-alias-float.h>.
6564 (nearbyintf): Define using libm_alias_float.
6565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
6566 <libm-alias-float.h>.
6567 (rintf): Define using libm_alias_float.
6568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
6569 <libm-alias-float.h>.
6570 (llrintf): Define using libm_alias_float.
6571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
6572 <libm-alias-float.h>.
6573 (lrintf): Define using libm_alias_float.
6574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
6575 <libm-alias-float.h>.
6576 (nearbyintf): Define using libm_alias_float.
6577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
6578 <libm-alias-float.h>.
6579 (rintf): Define using libm_alias_float.
6580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
6581 <libm-alias-float.h>.
6582 (ceilf): Define using libm_alias_float.
6583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
6584 <libm-alias-float.h>.
6585 (floorf): Define using libm_alias_float.
6586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
6587 <libm-alias-float.h>.
6588 (fmaf): Define using libm_alias_float.
6589 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
6590 <libm-alias-float.h>.
6591 (lrintf): Define using libm_alias_float.
6592 (llrintf): Likewise.
6593 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
6594 <libm-alias-float.h>.
6595 (nearbyintf): Define using libm_alias_float.
6596 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
6597 <libm-alias-float.h>.
6598 (rintf): Define using libm_alias_float.
6599 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
6600 <libm-alias-float.h>.
6601 (truncf): Define using libm_alias_float.
6602 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
6603 <libm-alias-float.h>.
6604 (copysignf): Define using libm_alias_float.
6605 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
6606 <libm-alias-float.h>.
6607 (fabsf): Define using libm_alias_float.
6608 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
6609 <libm-alias-float.h>.
6610 (lrintf): Define using libm_alias_float.
6611 (llrintf): Likewise.
6612 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
6613 <libm-alias-float.h>.
6614 (nearbyintf): Define using libm_alias_float.
6615 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
6616 <libm-alias-float.h>.
6617 (rintf): Define using libm_alias_float.
6619 2017-11-29 Joseph Myers <joseph@codesourcery.com>
6621 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
6622 <libm-alias-double.h>.
6623 (copysign): Define using libm_alias_double.
6624 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
6625 <libm-alias-double.h>.
6626 (fabs): Define using libm_alias_double.
6627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6628 Include <libm-alias-double.h>.
6629 (copysign): Define using libm_alias_double.
6630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
6631 <libm-alias-double.h>.
6632 (fabs): Define using libm_alias_double.
6633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
6634 <libm-alias-double.h>.
6635 (fdim): Define using libm_alias_double.
6636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
6637 <libm-alias-double.h>.
6638 (fma): Define using libm_alias_double.
6639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
6640 <libm-alias-double.h>.
6641 (llrint): Define using libm_alias_double.
6642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
6643 Include <libm-alias-double.h>.
6644 (nearbyint): Define using libm_alias_double.
6645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
6646 <libm-alias-double.h>.
6647 (rint): Define using libm_alias_double.
6648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
6649 <libm-alias-double.h>.
6650 (fabs): Define using libm_alias_double.
6651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
6652 <libm-alias-double.h>.
6653 (llrint): Define using libm_alias_double.
6654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
6655 <libm-alias-double.h>.
6656 (nearbyint): Define using libm_alias_double.
6657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
6658 <libm-alias-double.h>.
6659 (rint): Define using libm_alias_double.
6660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
6661 <libm-alias-double.h>.
6662 (ceil): Define using libm_alias_double.
6663 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
6664 <libm-alias-double.h>.
6665 (floor): Define using libm_alias_double.
6666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
6667 <libm-alias-double.h>.
6668 (fma): Define using libm_alias_double.
6669 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
6670 <libm-alias-double.h>.
6671 (lrint): Define using libm_alias_double.
6673 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
6674 <libm-alias-double.h>.
6675 (nearbyint): Define using libm_alias_double.
6676 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
6677 <libm-alias-double.h>.
6678 (rint): Define using libm_alias_double.
6679 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
6680 <libm-alias-double.h>.
6681 (trunc): Define using libm_alias_double.
6682 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
6683 <libm-alias-double.h>.
6684 (copysign): Define using libm_alias_double.
6685 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
6686 <libm-alias-double.h>.
6687 (fabs): Define using libm_alias_double.
6688 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
6689 <libm-alias-double.h>.
6690 (lrint): Define using libm_alias_double.
6692 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
6693 <libm-alias-double.h>.
6694 (nearbyint): Define using libm_alias_double.
6695 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
6696 <libm-alias-double.h>.
6697 (rint): Define using libm_alias_double.
6700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
6702 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
6704 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6705 SPARC --disable-multi-arch glibc variants.
6707 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
6708 <libm-alias-float.h>.
6709 (exp2f): Define using libm_alias_float, or libm_alias_float_other
6711 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
6712 <libm-alias-float.h>.
6713 (exp2f): Define using libm_alias_float, or libm_alias_float_other
6715 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
6716 <libm-alias-float.h>.
6717 (exp2f): Define using libm_alias_float, or libm_alias_float_other
6719 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
6720 <libm-alias-float.h>.
6721 (exp2f): Define using libm_alias_float, or libm_alias_float_other
6723 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
6724 <libm-alias-float.h>.
6725 (exp2f): Define using libm_alias_float, or libm_alias_float_other
6727 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
6728 <libm-alias-float.h>.
6729 (ceilf): Define using libm_alias_float.
6730 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
6731 <libm-alias-float.h>.
6732 (floorf): Define using libm_alias_float.
6733 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
6734 <libm-alias-float.h>.
6735 (fmaf): Define using libm_alias_float.
6736 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
6737 <libm-alias-float.h>.
6738 (nearbyintf): Define using libm_alias_float.
6739 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
6740 <libm-alias-float.h>.
6741 (rintf): Define using libm_alias_float.
6742 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
6743 <libm-alias-float.h>.
6744 (truncf): Define using libm_alias_float.
6745 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
6746 (copysignf): Define using libm_alias_float.
6747 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
6748 (cosf): Define using libm_alias_float.
6749 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
6750 (fabsf): Define using libm_alias_float.
6751 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
6752 (fmaxf): Define using libm_alias_float.
6753 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
6754 (fminf): Define using libm_alias_float.
6755 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
6756 (llrintf): Define using libm_alias_float.
6757 [!__ILP32__] (lrintf): Likewise.
6758 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
6759 (sincosf): Define using libm_alias_float.
6760 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
6761 (sinf): Define using libm_alias_float.
6762 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
6763 (lrintf): Define using libm_alias_float.
6765 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
6766 <libm-alias-double.h>.
6767 (atan): Define using libm_alias_double.
6768 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
6769 <libm-alias-double.h>.
6770 (ceil): Define using libm_alias_double.
6771 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
6772 <libm-alias-double.h>.
6773 (floor): Define using libm_alias_double.
6774 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
6775 <libm-alias-double.h>.
6776 (fma): Define using libm_alias_double.
6777 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
6778 <libm-alias-double.h>.
6779 (nearbyint): Define using libm_alias_double.
6780 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
6781 <libm-alias-double.h>.
6782 (rint): Define using libm_alias_double.
6783 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
6784 <libm-alias-double.h>.
6785 (sin): Define using libm_alias_double.
6787 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
6788 <libm-alias-double.h>.
6789 (tan): Define using libm_alias_double.
6790 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
6791 <libm-alias-double.h>.
6792 (trunc): Define using libm_alias_double.
6793 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
6794 (copysign): Define using libm_alias_double.
6795 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
6796 (fabs): Define using libm_alias_double.
6797 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
6798 (fmax): Define using libm_alias_double.
6799 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
6800 (fmin): Define using libm_alias_double.
6801 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
6802 (llrint): Define using libm_alias_double.
6803 [!__ILP32__] (lrint): Likewise.
6804 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
6805 (lrint): Define using libm_alias_double.
6807 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6809 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6810 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
6812 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
6813 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6814 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
6815 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6816 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
6817 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6819 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6820 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
6822 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
6823 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
6824 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
6825 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
6826 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
6827 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6829 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6830 (libm-sysdep_routines): Add s_nearbyint-generic and
6831 s_nearbyintf-generic objects.
6832 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
6833 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
6834 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
6835 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
6836 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
6837 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
6839 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
6840 Add s_finitef-generic and s_finite-generic objects.
6841 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
6842 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
6843 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
6844 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
6845 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
6846 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
6848 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
6849 Add s_isinff-generic and s_isinf-generic objects.
6850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
6851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
6852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
6853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
6854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
6855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6857 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
6858 Add s_isnanf-generic and s_isnan-generic objects.
6859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
6860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
6861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
6862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
6863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
6864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6866 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
6868 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
6870 (sysdep_routines): Use sysdep_calls as base.
6871 (libm-sysdep_routines): Add generic rule for symbols shared with
6872 libc. Add s_signbit-generic and s_signbitf-generic objects.
6873 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
6874 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
6875 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
6876 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
6877 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
6878 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6880 2017-11-29 Joseph Myers <joseph@codesourcery.com>
6882 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
6883 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
6884 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
6885 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
6886 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
6887 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
6888 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
6889 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
6890 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
6891 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
6892 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
6893 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
6894 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
6896 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
6897 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
6899 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
6900 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
6901 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
6902 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
6903 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
6904 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
6905 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
6906 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
6907 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
6908 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
6910 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
6912 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
6913 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
6914 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
6915 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
6916 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
6917 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
6918 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
6919 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
6920 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
6921 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
6922 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
6923 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
6924 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
6925 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
6926 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
6927 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
6928 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
6929 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
6930 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
6932 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
6933 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
6934 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
6935 * sysdeps/ia64/fpu/w_lgammaf_main.c
6936 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
6937 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
6939 2017-11-28 Mike FABIAN <mfabian@redhat.com>
6940 Alexandre Oliva <aoliva@redhat.com>
6943 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
6944 * localedata/fr_CA.UTF-8.in: New file with test data for backward
6946 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
6948 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
6949 * localedata/locales/de_DE (LC_COLLATE): Likewise.
6950 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
6951 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
6952 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
6953 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
6954 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
6955 instead of “ifdef DIACRIT_BACKWARD”.
6957 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6959 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
6960 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
6961 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
6962 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
6963 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
6964 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
6965 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6966 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
6970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
6971 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6972 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6973 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
6974 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
6975 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
6976 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
6977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6978 ($(have-as-vis3) == yes): Remove conditional.
6979 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
6981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
6983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
6985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
6987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
6989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
6990 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
6991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
6992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
6993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
6994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
6995 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
6996 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
6998 2017-11-29 Joseph Myers <joseph@codesourcery.com>
7000 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
7001 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
7002 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
7003 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
7004 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
7005 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
7006 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
7007 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
7008 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
7009 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
7010 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
7011 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
7012 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
7013 libm_alias_double_r.
7014 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
7016 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
7017 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
7018 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
7019 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
7020 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
7021 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
7022 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
7023 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
7024 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
7025 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
7026 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
7028 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
7030 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
7031 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
7032 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
7033 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
7034 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
7035 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
7036 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
7037 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
7038 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
7039 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
7040 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
7041 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
7042 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
7043 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
7044 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
7045 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
7046 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
7047 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
7049 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
7050 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
7051 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
7052 * sysdeps/ia64/fpu/w_lgamma_main.c
7053 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
7054 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
7056 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
7058 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
7059 address of $global$ into %dp register earlier. Use pc-relative
7060 instruction sequence for PIC case.
7062 2017-11-28 Joseph Myers <joseph@codesourcery.com>
7064 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
7065 (asinhf): Define using libm_alias_float.
7066 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
7067 (atanf): Define using libm_alias_float.
7068 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
7069 (cbrtf): Define using libm_alias_float.
7070 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
7071 (ceilf): Define using libm_alias_float.
7072 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
7073 (copysignf): Define using libm_alias_float.
7074 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
7075 (expm1f): Define using libm_alias_float.
7076 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
7077 (fabsf): Define using libm_alias_float.
7078 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
7079 (floorf): Define using libm_alias_float.
7080 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
7081 (fmaxf): Define using libm_alias_float.
7082 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
7083 (fminf): Define using libm_alias_float.
7084 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
7085 (frexpf): Define using libm_alias_float.
7086 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
7087 (llrintf): Define using libm_alias_float.
7088 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
7089 (logbf): Define using libm_alias_float.
7090 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
7091 (lrintf): Define using libm_alias_float.
7092 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
7093 (nearbyintf): Define using libm_alias_float.
7094 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
7095 (remquof): Define using libm_alias_float.
7096 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
7097 (rintf): Define using libm_alias_float.
7098 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
7099 (truncf): Define using libm_alias_float.
7100 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
7101 <libm-alias-float.h>.
7102 (exp2f): Define using libm_alias_float, or libm_alias_float_other
7104 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
7105 <libm-alias-float.h>.
7106 (expf): Define using libm_alias_float, or libm_alias_float_other
7108 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
7109 <libm-alias-float.h>.
7110 (log2f): Define using libm_alias_float, or libm_alias_float_other
7112 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
7113 <libm-alias-float.h>.
7114 (logf): Define using libm_alias_float, or libm_alias_float_other
7116 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
7117 <libm-alias-float.h>.
7118 (powf): Define using libm_alias_float, or libm_alias_float_other
7120 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
7121 <libm-alias-float.h>.
7122 (cosf): Define using libm_alias_float.
7123 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
7124 <libm-alias-float.h>.
7125 (sincosf): Define using libm_alias_float.
7126 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
7127 <libm-alias-float.h>.
7128 (sinf): Define using libm_alias_float.
7129 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
7130 (fmaxf): Define using libm_alias_float.
7131 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
7132 (fminf): Define using libm_alias_float.
7133 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
7134 <libm-alias-float.h>.
7135 (fmaf): Define using libm_alias_float.
7137 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
7138 (asinh): Define using libm_alias_double.
7139 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
7140 (atan): Define using libm_alias_double.
7141 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
7142 (cbrt): Define using libm_alias_double.
7143 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
7144 (ceil): Define using libm_alias_double.
7145 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
7146 (copysign): Define using libm_alias_double.
7147 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
7148 (expm1): Define using libm_alias_double.
7149 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
7150 (fabs): Define using libm_alias_double.
7151 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
7152 (fdim): Define using libm_alias_double.
7153 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
7154 (floor): Define using libm_alias_double.
7155 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
7156 (fmax): Define using libm_alias_double.
7157 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
7158 (fmin): Define using libm_alias_double.
7159 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
7160 (frexp): Define using libm_alias_double.
7161 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
7162 (llrint): Define using libm_alias_double.
7163 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
7164 (logb): Define using libm_alias_double.
7165 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
7166 (lrint): Define using libm_alias_double.
7167 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
7168 (nearbyint): Define using libm_alias_double.
7169 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
7170 (remquo): Define using libm_alias_double.
7171 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
7172 (rint): Define using libm_alias_double.
7173 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
7174 (trunc): Define using libm_alias_double.
7175 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
7176 (fmax): Define using libm_alias_double.
7177 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
7178 (fmin): Define using libm_alias_double.
7179 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
7180 (fma): Define using libm_alias_double.
7182 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
7185 * elf/dl-hwcaps.c (ROUND): Removed.
7186 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
7187 and ELF_NOTE_NEXT_OFFSET.
7188 * elf/dl-load.c (ROUND): Removed.
7189 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
7190 * elf/readelflib.c (ROUND): Removed.
7191 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
7192 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
7193 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
7194 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
7196 2017-11-28 Joseph Myers <joseph@codesourcery.com>
7198 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
7199 [!__fmaf] (fmaf): Define using libm_alias_float.
7201 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
7202 [!__fma] (fma): Define using libm_alias_double.
7203 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
7205 2017-11-28 Mike FABIAN <mfabian@redhat.com>
7208 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
7209 and implement the collation rules for cs from CLDR on top of that.
7210 * Makefile: Add cs_CZ.UTF-8 to test-input.
7211 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
7213 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
7215 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
7217 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
7218 Icarus Sparry <icarus.w.sparry@intel.com>
7220 * benchtests/Makefile:Add BENCHSET to allow subsets of
7221 benchmarks to be run.
7222 * benchtests/README: Add documentation for: Running subsets of
7225 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
7227 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
7228 range of tests names.
7230 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
7231 result from property and remove "max", min" and "mean" from
7232 required properties based on benchtests/bench-skeleton.c.
7234 2017-11-28 Florian Weimer <fweimer@redhat.com>
7237 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
7238 due to Internet requirement.
7239 * posix/Makefile (tests): Remove tst-getaddrinfo4,
7241 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
7243 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7245 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
7246 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
7247 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
7248 (sysdep_routines): Add memset-ultra1.
7249 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
7251 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
7252 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
7253 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
7254 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
7255 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
7256 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
7257 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
7258 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7260 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
7262 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
7263 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
7264 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
7265 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
7266 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
7267 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
7268 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
7270 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
7271 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
7272 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
7273 (sysdep_routines): Add memcpy-ultra1.
7274 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
7275 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
7277 2017-11-28 Joseph Myers <joseph@codesourcery.com>
7279 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
7280 (cfloat_versions): Take function argument without trailing 'f'.
7281 Call libm_alias_float_other.
7282 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
7283 * sysdeps/alpha/fpu/cargf.c: Likewise.
7284 * sysdeps/alpha/fpu/cimagf.c: Likewise.
7285 * sysdeps/alpha/fpu/conjf.c: Likewise.
7286 * sysdeps/alpha/fpu/crealf.c: Likewise.
7287 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
7288 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
7289 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
7290 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
7291 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
7292 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
7293 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
7294 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
7295 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
7296 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
7297 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
7298 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
7299 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
7300 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
7301 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
7302 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
7303 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
7304 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
7305 (clog10f): Use libm_alias_float_other.
7306 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
7307 (ceilf): Define using libm_alias_float.
7308 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
7309 (copysignf): Define using libm_alias_float.
7310 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
7311 (fabsf): Define using libm_alias_float.
7312 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
7313 (floorf): Define using libm_alias_float.
7314 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
7315 (fmaxf): Define using libm_alias_float.
7316 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
7317 (fminf): Define using libm_alias_float.
7318 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
7319 (lrintf): Define using libm_alias_float.
7320 (llrintf): Likewise.
7321 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
7322 (lroundf): Define using libm_alias_float.
7323 (llroundf): Likewise.
7324 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
7325 (rintf): Define using libm_alias_float.
7326 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
7327 (truncf): Define using libm_alias_float.
7329 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
7330 (ceilf): Define using libm_alias_float.
7331 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
7332 (floorf): Define using libm_alias_float.
7333 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
7334 (fmaf): Define using libm_alias_float.
7335 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
7336 (fmaxf): Define using libm_alias_float.
7337 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
7338 (fminf): Define using libm_alias_float.
7339 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
7340 (llrintf): Define using libm_alias_float.
7341 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
7342 (llroundf): Define using libm_alias_float.
7343 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
7344 (lrintf): Define using libm_alias_float.
7345 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
7346 (lroundf): Define using libm_alias_float.
7347 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
7348 <libm-alias-float.h>.
7349 (nearbyintf): Define using libm_alias_float.
7350 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
7351 (rintf): Define using libm_alias_float.
7352 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
7353 (roundf): Define using libm_alias_float.
7354 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
7355 (truncf): Define using libm_alias_float.
7357 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
7358 (ceil): Define using libm_alias_double.
7359 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
7360 (copysign): Define using libm_alias_double.
7361 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
7362 (fabs): Define using libm_alias_double.
7363 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
7364 (floor): Define using libm_alias_double.
7365 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
7366 (fmax): Define using libm_alias_double.
7367 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
7368 (fmin): Define using libm_alias_double.
7369 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
7370 (lrint): Define using libm_alias_double.
7372 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
7373 (lround): Define using libm_alias_double.
7374 (llround): Likewise.
7375 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
7376 (rint): Define using libm_alias_double.
7377 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
7378 (trunc): Define using libm_alias_double.
7380 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
7381 (libm_alias_double_r): Add semicolon after weak_alias call.
7383 2017-11-27 Joseph Myers <joseph@codesourcery.com>
7385 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
7386 (ceil): Define using libm_alias_double.
7387 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
7388 (floor): Define using libm_alias_double.
7389 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
7390 (fma): Define using libm_alias_double.
7391 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
7392 (fmax): Define using libm_alias_double.
7393 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
7394 (fmin): Define using libm_alias_double.
7395 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
7396 (llrint): Define using libm_alias_double.
7397 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
7398 (llround): Define using libm_alias_double.
7399 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
7400 (lrint): Define using libm_alias_double.
7401 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
7402 (lround): Define using libm_alias_double.
7403 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
7404 (nearbyint): Define using libm_alias_double.
7405 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
7406 (rint): Define using libm_alias_double.
7407 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
7408 (round): Define using libm_alias_double.
7409 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
7410 (trunc): Define using libm_alias_double.
7412 2017-11-27 Florian Weimer <fweimer@redhat.com>
7414 * sysdeps/unix/sysv/linux/mlock2.c: New file.
7415 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
7416 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
7417 (tests): Add tst-mlock2.
7418 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
7419 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
7420 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
7421 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
7422 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
7423 for mlock. Document mlock2.
7425 2017-11-27 Joseph Myers <joseph@codesourcery.com>
7427 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
7428 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
7430 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
7432 * sysdeps/x86/Makeconfig: New file.
7433 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
7434 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7435 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
7436 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7437 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
7438 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7439 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
7441 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7442 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
7443 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7444 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
7445 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7446 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
7447 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7448 * manual/math.texi (Mathematics): Document support for _Float64x.
7449 * math/Versions (GLIBC_2.27): Add _Float64x functions.
7450 * stdlib/Versions (GLIBC_2.27): Likewise.
7451 * wcsmbs/Versions (GLIBC_2.27): Likewise.
7452 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
7453 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7454 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7455 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7456 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7457 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7458 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7459 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7460 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7461 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7462 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7467 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7468 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7469 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7470 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7471 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7472 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7473 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7474 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7475 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7476 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7477 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7478 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7479 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7480 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7482 2017-11-27 Andreas Schwab <schwab@suse.de>
7484 * elf/Makefile (dl-routines): Add dl-sort-maps.
7485 * elf/dl-sort-maps.c: New file.
7486 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
7487 (_dl_sort_maps): Declare.
7488 * elf/dl-fini.c (_dl_sort_fini): Remove.
7489 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
7490 * elf/dl-close.c (_dl_close_worker): Likewise.
7491 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
7493 * elf/dl-open.c (dl_open_worker): Likewise.
7495 2017-11-24 Joseph Myers <joseph@codesourcery.com>
7497 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
7498 using libm_alias_float128.
7499 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
7501 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
7503 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
7504 (setpayloadsigf128): Likewise.
7505 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
7507 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
7510 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
7511 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
7512 -mfloat128 to CFLAGS.
7514 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
7516 (CFLAGS-libm-test-support-float64x.c): New variable.
7517 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
7518 $(f128-loader-link) to gnulib-tests.
7520 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
7521 (libm_alias_float128_other_r): If
7522 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
7524 (libm_alias_float128_r): Add semicolon after weak_alias call.
7525 * sysdeps/generic/libm-alias-ldouble.h
7526 (libm_alias_ldouble_other_r_f128): New macro.
7527 (libm_alias_ldouble_other_r_f64x): Likewise.
7528 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
7529 and libm_alias_ldouble_other_r_f64x.
7530 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
7531 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
7532 (libm_alias_ldouble_other_r_f128): New macro.
7533 (libm_alias_ldouble_other_r_f64x): Likewise.
7534 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
7535 and libm_alias_ldouble_other_r_f64x.
7537 * stdlib/strfroml.c: Always include <stdlib.h>.
7538 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
7539 undefine as macro and define as weak alias.
7540 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
7541 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
7543 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
7544 Define and later undefine as macro and define as weak alias.
7546 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
7547 Define and later undefine as macro. Define as weak alias if
7549 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
7550 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
7551 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
7552 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
7553 Define and later undefine as macro. Define as weak alias if
7555 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
7556 Define and later undefine as macro. Define as weak alias if
7558 * sysdeps/ieee754/float128/strtof128_l.c
7559 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
7560 Define and later undefine as macro. Define as weak alias if
7562 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
7563 Define and later undefine as macro. Define as weak alias if
7565 * sysdeps/ieee754/ldbl-128/strtold_l.c
7566 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
7567 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
7568 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
7569 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
7570 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
7571 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
7572 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
7573 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
7574 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
7575 * sysdeps/ieee754/ldbl-96/strtold_l.c
7576 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
7577 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
7578 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
7579 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
7581 * math/test-float64x.h: New file.
7582 * math/Makefile (type-float64x-yes): New variable.
7583 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
7585 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
7586 function-like macro.
7587 (min_of_type_): Likewise.
7588 (min_of_type_l): Likewise.
7589 (min_of_type_f128): Likewise.
7590 (min_of_type): Pass () as last argument of __MATH_TG.
7592 * stdlib/tst-strtod-round-skeleton.c
7593 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
7596 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
7597 for combinations of long double with _Float64 and _Float64x.
7599 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
7600 (__DECL_SIMD_cosf32): Likewise.
7601 (__DECL_SIMD_cosf64): Likewise.
7602 (__DECL_SIMD_cosf32x): Likewise.
7603 (__DECL_SIMD_cosf64x): Likewise.
7604 (__DECL_SIMD_cosf128x): Likewise.
7605 (__DECL_SIMD_sinf16): Likewise.
7606 (__DECL_SIMD_sinf32): Likewise.
7607 (__DECL_SIMD_sinf64): Likewise.
7608 (__DECL_SIMD_sinf32x): Likewise.
7609 (__DECL_SIMD_sinf64x): Likewise.
7610 (__DECL_SIMD_sinf128x): Likewise.
7611 (__DECL_SIMD_sincosf16): Likewise.
7612 (__DECL_SIMD_sincosf32): Likewise.
7613 (__DECL_SIMD_sincosf64): Likewise.
7614 (__DECL_SIMD_sincosf32x): Likewise.
7615 (__DECL_SIMD_sincosf64x): Likewise.
7616 (__DECL_SIMD_sincosf128x): Likewise.
7617 (__DECL_SIMD_logf16): Likewise.
7618 (__DECL_SIMD_logf32): Likewise.
7619 (__DECL_SIMD_logf64): Likewise.
7620 (__DECL_SIMD_logf32x): Likewise.
7621 (__DECL_SIMD_logf64x): Likewise.
7622 (__DECL_SIMD_logf128x): Likewise.
7623 (__DECL_SIMD_expf16): Likewise.
7624 (__DECL_SIMD_expf32): Likewise.
7625 (__DECL_SIMD_expf64): Likewise.
7626 (__DECL_SIMD_expf32x): Likewise.
7627 (__DECL_SIMD_expf64x): Likewise.
7628 (__DECL_SIMD_expf128x): Likewise.
7629 (__DECL_SIMD_powf16): Likewise.
7630 (__DECL_SIMD_powf32): Likewise.
7631 (__DECL_SIMD_powf64): Likewise.
7632 (__DECL_SIMD_powf32x): Likewise.
7633 (__DECL_SIMD_powf64x): Likewise.
7634 (__DECL_SIMD_powf128x): Likewise.
7636 * stdlib/Versions (libc): Move entries for wcstof128 and
7638 * wcsmbs/Versions (libc): ... here.
7639 Include <float128-abi.h>.
7641 2017-11-24 Florian Weimer <fweimer@redhat.com>
7643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7645 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
7646 <bits/mman-shared.h>.
7647 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
7649 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
7650 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
7651 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7652 <bits/mman-shared.h>.
7654 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7657 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
7658 posix_memalign/free.
7659 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
7661 2017-11-22 Mike FABIAN <mfabian@redhat.com>
7664 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
7665 and implement the collation rules for pl from CLDR on top of that.
7666 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
7667 of locales to be built for testing.
7668 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
7670 2017-11-23 Joseph Myers <joseph@codesourcery.com>
7672 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
7673 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
7674 libm_alias_ldouble_other.
7675 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
7676 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
7677 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
7678 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
7679 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
7680 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
7681 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
7682 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
7683 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
7684 libm_alias_ldouble_r.
7685 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
7686 libm_alias_ldouble_other.
7687 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
7689 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
7690 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
7691 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
7692 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
7693 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
7694 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
7695 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
7697 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
7698 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
7699 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
7701 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
7703 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
7704 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
7705 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
7707 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
7708 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
7709 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
7710 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
7711 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
7712 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
7713 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
7714 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
7715 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
7716 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
7717 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
7719 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
7720 libm_alias_ldouble_other.
7721 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
7722 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
7723 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
7725 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
7726 libm_alias_ldouble_other.
7727 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
7728 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
7729 * sysdeps/ia64/fpu/w_lgammal_main.c
7730 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
7731 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
7733 2017-11-23 Florian Weimer <fweimer@redhat.com>
7735 * malloc/malloc.c (tcache_thread_shutdown): Rename from
7736 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
7737 alike. Remove freeres marker.
7738 * malloc/arena.c (arena_thread_freeres): Call
7739 tcache_thread_shutdown.
7741 2017-11-23 Florian Weimer <fweimer@redhat.com>
7744 Export nscd hash function as __nss_hash.
7745 * include/nss.h (__nss_hash): Declare.
7746 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
7748 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
7749 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
7751 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
7752 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
7753 * nss/Makefiles (routines): Add nss_hash.
7754 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
7755 * nss/nss_hash.c: Rename from nis/nis_hash.c.
7756 (__nss_hash): Rename from __nis_hash. Define hidden alias.
7757 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
7759 2017-11-23 Florian Weimer <fweimer@redhat.com>
7762 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
7763 Return error code, not -1.
7764 * signal/tst-sigwait-eintr.c: New file.
7765 * signal/Makefile (tests): Add tst-sigwait-eintr.
7767 2017-11-23 Florian Weimer <fweimer@redhat.com>
7769 Linux: Add memfd_create system call wrapper
7770 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
7772 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7773 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
7774 [__USE_GNU] (memfd_create): Declare.
7775 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
7776 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
7777 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
7778 * sysdeps/unix/sysv/linux/**.abilist: Update.
7779 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
7781 2017-11-22 Joseph Myers <joseph@codesourcery.com>
7783 * localedata/gen-locale.sh: Fix typo in variable name.
7785 * resolv/res_debug.c (p_secstodate): Condition definition on
7786 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
7787 directly as __p_secstodate, and as a compat symbol. Do not use
7788 libresolv_hidden_def.
7789 * resolv/resolv.h (p_secstodate): Remove macro and function
7791 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
7793 * include/resolv.h (__p_secstodate): Do not use
7794 libresolv_hidden_proto.
7795 * resolv/Makefile (tests): Move tst-p_secstodate to ....
7796 (tests-internal): ... here.
7797 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
7798 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
7799 and declare and use __p_secstodate and use compat_symbol_reference
7801 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
7802 implementation returning 77.
7805 * resolv/res_debug.c: Include <libc-diag.h>.
7806 (p_secstodate): Assert time_t at least as wide as u_long. On
7807 overflow, use integer seconds since the epoch as output, or use
7808 "<overflow>" as output and set errno to EOVERFLOW if integer
7809 seconds since the epoch would be 14 or more characters.
7810 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
7812 * resolv/tst-p_secstodate.c: New file.
7813 * resolv/Makefile (tests): Add tst-p_secstodate.
7814 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
7816 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
7817 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7818 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
7820 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
7822 * posix/regcomp.c (init_word_char): Add comments.
7824 2017-11-22 Joseph Myers <joseph@codesourcery.com>
7827 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
7828 strlen to compute length of ut_user and set trailing NUL byte of
7831 2017-11-21 Mike FABIAN <mfabian@redhat.com>
7834 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
7835 using “copy "iso14651_t1"” and then implementing the
7836 collation rules for lv from CLDR on top of that.
7837 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
7838 of locales to be built for testing.
7839 * lv_LV.UTF-8.in: New file with test data to test the Latvian
7842 2017-11-21 Joseph Myers <joseph@codesourcery.com>
7844 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
7845 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
7846 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
7847 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
7848 [__USE_MISC] (MADV_HWPOISON): New macro.
7849 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
7851 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7853 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
7854 -Wmissing-braces on GCC 4.9.
7856 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
7858 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
7859 * sysdeps/s390/s390-32/start.S (_start): Likewise
7860 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
7861 (thread_start): Likewise.
7862 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
7863 (thread_start): Likewise.
7864 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
7865 (__makecontext_ret): Likewise.
7866 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
7867 (__makecontext_ret): Likewise.
7869 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
7871 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
7872 __wcschrnul): Remove attribute_hidden.
7874 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
7876 regex: don't assume uint64_t or uint32_t
7877 This avoids -Werror=overflow errors for 32-bit systems in
7878 the 64-bit case. Problem reported by Joseph Myers in:
7879 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
7880 Also, when this code is used in Gnulib it ports to platforms
7881 that lack uint64_t and uint32_t. The C standard doesn't guarantee
7882 them, and on some 32-bit compilers there is no uint64_t.
7883 Problem reported by Gianluigi Tiesi in:
7884 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
7885 * posix/regcomp.c (init_word_char): Don't assume that the types
7886 uint64_t and uint32_t exist. Adapted from Gnulib patch
7887 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
7888 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
7890 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
7892 * sysdeps/aarch64/memset-reg.h: New file.
7893 * sysdeps/aarch64/memset.S: Use it.
7894 (__memset): Rename to MEMSET macro.
7895 [ZVA_MACRO]: Use zva_macro.
7896 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7897 Add memset_generic and memset_falkor.
7898 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7899 (__libc_ifunc_impl_list): Add memset ifuncs.
7900 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
7901 local variable zva_size.
7902 * sysdeps/aarch64/multiarch/memset.c: New file.
7903 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
7904 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
7905 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
7906 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7907 (DCZID_DZP_MASK): New macro.
7908 (DCZID_BS_MASK): Likewise.
7909 (init_cpu_features): Read and set zva_size.
7910 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
7911 (struct cpu_features): New member zva_size.
7913 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
7914 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
7915 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
7917 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
7918 backwards. Fix timing computation.
7919 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
7920 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
7921 on memset by N at a time. Fix timing computation.
7923 2017-11-20 Florian Weimer <fweimer@redhat.com>
7925 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
7926 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
7928 2017-11-19 Florian Weimer <fweimer@redhat.com>
7930 manual: Document mprotect
7931 * manual/memory.texi (Memory Protection): New section.
7932 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
7933 documentation of PROT_* flags and reference the Memory Protection
7936 2017-11-19 Florian Weimer <fweimer@redhat.com>
7938 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
7939 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
7940 (Scatter-Gather): ... to here. Remove misleading comment.
7942 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
7944 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
7947 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
7948 when /proc/<pid>/setgroups does not exist.
7950 2017-11-18 Florian Weimer <fweimer@redhat.com>
7952 * sysdeps/unix/sysv/linux/tst-ttyname.c
7953 (become_root_in_mount_ns): Remove.
7954 (do_in_chroot_1): Call support_enter_mount_namespace.
7955 (do_in_chroot_2): Likewise.
7956 (do_test): Call support_become_root early.
7958 2017-11-18 Florian Weimer <fweimer@redhat.com>
7960 * support/namespace.h (support_enter_mount_namespace): Declare.
7961 * support/support_enter_mount_namespace.c: New file.
7962 * support/Makefile (libsupport-routines): Add
7963 support_enter_mount_namespace.
7965 2017-11-18 Florian Weimer <fweimer@redhat.com>
7967 * support/temp_file.c (support_create_temp_directory): Use
7968 test_dir and do not rely on the presence of the XXXXXX suffix.
7969 * support/temp_file.h (support_create_temp_directory): Update
7971 * support/tst-xreadlink.c (do_test): Adjust.
7972 * support/support_chroot.c (support_chroot_create): Likewise.
7974 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7976 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
7978 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
7981 2017-11-17 Joseph Myers <joseph@codesourcery.com>
7983 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
7984 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
7985 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
7986 (ceill): Define using libm_alias_ldouble.
7987 * sysdeps/x86_64/fpu/s_copysignl.S: Include
7988 <libm-alias-ldouble.h>.
7989 (copysignl): Define using libm_alias_ldouble.
7990 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
7991 (fabsl): Define using libm_alias_ldouble.
7992 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
7993 (floorl): Define using libm_alias_ldouble.
7994 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
7995 (fmaxl): Define using libm_alias_ldouble.
7996 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
7997 (fminl): Define using libm_alias_ldouble.
7998 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
7999 (llrintl): Define using libm_alias_ldouble.
8001 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
8002 <libm-alias-ldouble.h>.
8003 (nearbyintl): Define using libm_alias_ldouble.
8004 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
8005 (truncl): Define using libm_alias_ldouble.
8006 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
8007 <libm-alias-ldouble.h>.
8008 (lrintl): Define using libm_alias_ldouble.
8010 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
8011 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
8012 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
8013 (asinhl): Define using libm_alias_ldouble.
8014 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
8015 (atanl): Define using libm_alias_ldouble.
8016 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
8017 (cbrtl): Define using libm_alias_ldouble.
8018 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
8019 (ceill): Define using libm_alias_ldouble.
8020 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
8021 (copysignl): Define using libm_alias_ldouble.
8022 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
8023 (fabsl): Define using libm_alias_ldouble.
8024 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
8025 (floorl): Define using libm_alias_ldouble.
8026 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
8027 (fmaxl): Define using libm_alias_ldouble.
8028 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
8029 (fminl): Define using libm_alias_ldouble.
8030 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
8031 (frexpl): Define using libm_alias_ldouble.
8032 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
8033 (llrintl): Define using libm_alias_ldouble.
8034 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
8035 (logbl): Define using libm_alias_ldouble.
8036 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
8037 (lrintl): Define using libm_alias_ldouble.
8038 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
8039 (nearbyintl): Define using libm_alias_ldouble.
8040 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
8041 (nextafterl): Define using libm_alias_ldouble.
8042 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
8043 (remquol): Define using libm_alias_ldouble.
8044 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
8045 (rintl): Define using libm_alias_ldouble.
8046 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
8047 (truncl): Define using libm_alias_ldouble.
8048 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
8049 (fmaxl): Define using libm_alias_ldouble.
8050 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
8051 (fminl): Define using libm_alias_ldouble.
8053 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
8054 to C syntax instead of availability and properties of types.
8055 * bits/floatn.h [!__ASSEMBLER]: Likewise.
8056 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
8057 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
8058 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
8059 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
8060 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
8062 2017-11-17 Florian Weimer <fweimer@redhat.com>
8064 support_become_root: Enable file creation in namespaces.
8065 * support/support_become_root.c (setup_mapping): New function.
8066 (support_become_root): Call it.
8068 2017-11-17 Joseph Myers <joseph@codesourcery.com>
8070 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
8073 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8075 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
8076 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
8078 2017-11-16 Joseph Myers <joseph@codesourcery.com>
8080 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
8082 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8085 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8087 * INSTALL: Fix botched up regeneration.
8089 * NEWS: Update sourceare link to https.
8090 * configure.ac: Likewise.
8091 * crypt/md5test-giant.c: Likewise.
8092 * dlfcn/bug-atexit1.c: Likewise.
8093 * dlfcn/bug-atexit2.c: Likewise.
8094 * localedata/README: Likewise.
8095 * malloc/tst-mallocfork.c: Likewise.
8096 * manual/install.texi: Likewise.
8097 * nptl/tst-pthread-getattr.c: Likewise.
8098 * stdio-common/tst-fgets.c: Likewise.
8099 * stdio-common/tst-fwrite.c: Likewise.
8100 * sunrpc/Makefile: Likewise.
8101 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
8102 * wcsmbs/tst-mbrtowc2.c: Likewise.
8103 * configure: Regenerate.
8104 * INSTALL: Regenerate.
8106 2017-11-15 Martin Sebor <msebor@redhat.com>
8108 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
8109 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
8110 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
8112 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
8115 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
8116 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
8119 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
8120 Defer is_pty check until end of the function.
8121 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8124 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
8125 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
8126 (ttyname): Likewise.
8127 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
8128 (__ttyname_r): Likewise.
8130 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
8133 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
8135 * manual/terminal.texi (Is It a Terminal):
8136 Mention ENODEV for ttyname and ttyname_r.
8138 2017-11-15 Joseph Myers <joseph@codesourcery.com>
8140 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
8143 * sysdeps/unix/sysv/linux/bits/mman-linux.h
8144 [__USE_MISC] (MADV_WIPEONFORK): New macro.
8145 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8146 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
8147 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8148 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8150 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8152 * signal/sigrelse.c (sigrelse): Optimize implementation.
8154 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
8155 (__sigpause): Rely on __sigsuspend to implement single thread
8156 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
8158 2017-11-15 Joseph Myers <joseph@codesourcery.com>
8160 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8161 kernel version to 4.14.
8163 2017-11-15 Steve Ellcey <sellcey@cavium.com>
8166 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
8167 Check if ifname is too long.
8169 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
8171 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
8173 2017-11-15 Mike FABIAN <mfabian@redhat.com>
8175 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
8176 was accidentally lost.
8178 2017-11-15 Mike FABIAN <mfabian@redhat.com>
8180 * localedata/locales/az_IR: Add standard copyright header.
8182 2017-11-15 Florian Weimer <fweimer@redhat.com>
8185 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
8186 not just the top one. Output a new "subheaps" statistic.
8188 2017-11-15 Florian Weimer <fweimer@redhat.com>
8191 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
8192 under the per-arena lock.
8193 * malloc/Makefile (tests): Add tst-malloc_info.
8194 (tst-malloc_info): Link with libpthread.
8195 * malloc/tst-malloc_info.c: New file.
8197 2017-11-15 Joseph Myers <joseph@codesourcery.com>
8200 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
8201 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
8202 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
8203 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
8204 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
8205 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
8206 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
8207 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
8208 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
8209 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
8210 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
8211 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
8212 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
8213 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
8214 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
8215 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
8216 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
8217 (__floating_type): Likewise.
8218 (__real_integer_type): Likewise.
8219 (__complex_integer_type): Likewise.
8220 (__expr_is_real): Likewise.
8221 (__tgmath_real_type_sub): Likewise.
8222 (__tgmath_real_type): Likewise.
8223 (__tgmath_complex_type_sub): Likewise.
8224 (__tgmath_complex_type): Likewise.
8225 (__TGMATH_F128): Likewise.
8226 (__TGMATH_CF128): Likewise.
8227 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
8229 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
8230 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
8232 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
8234 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
8235 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8236 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8237 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
8239 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8240 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
8242 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
8243 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
8244 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
8246 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
8247 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
8248 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
8252 2017-11-14 Joseph Myers <joseph@codesourcery.com>
8254 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
8255 for stpncpy calls for GCC 8.
8256 (test_strncat): Disable -Wstringop-truncation warning for strncat
8257 calls for GCC 8. Disable -Wstringop-overflow= warning for one
8258 strncat call for GCC 7.
8259 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
8261 (test_memcmp): Use memcpy instead of strncpy for calls not copying
8264 * string/bug-strncat1.c: Include <libc-diag.h>.
8265 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
8267 2017-11-13 Claude Paroz <claude@2xlibre.net>
8270 * localedata/locales/aa_DJ: Improved readibility by replacing
8271 <Uxxxx> sequences in the ASCII printable range by their ASCII
8272 character equivalents.
8273 * localedata/locales/aa_ER: Likewise.
8274 * localedata/locales/aa_ER@saaho: Likewise.
8275 * localedata/locales/aa_ET: Likewise.
8276 * localedata/locales/af_ZA: Likewise.
8277 * localedata/locales/agr_PE: Likewise.
8278 * localedata/locales/ak_GH: Likewise.
8279 * localedata/locales/am_ET: Likewise.
8280 * localedata/locales/anp_IN: Likewise.
8281 * localedata/locales/ar_AE: Likewise.
8282 * localedata/locales/ar_BH: Likewise.
8283 * localedata/locales/ar_DZ: Likewise.
8284 * localedata/locales/ar_EG: Likewise.
8285 * localedata/locales/ar_IN: Likewise.
8286 * localedata/locales/ar_IQ: Likewise.
8287 * localedata/locales/ar_JO: Likewise.
8288 * localedata/locales/ar_KW: Likewise.
8289 * localedata/locales/ar_LB: Likewise.
8290 * localedata/locales/ar_LY: Likewise.
8291 * localedata/locales/ar_MA: Likewise.
8292 * localedata/locales/ar_OM: Likewise.
8293 * localedata/locales/ar_QA: Likewise.
8294 * localedata/locales/ar_SA: Likewise.
8295 * localedata/locales/ar_SD: Likewise.
8296 * localedata/locales/ar_SS: Likewise.
8297 * localedata/locales/ar_SY: Likewise.
8298 * localedata/locales/ar_TN: Likewise.
8299 * localedata/locales/ar_YE: Likewise.
8300 * localedata/locales/as_IN: Likewise.
8301 * localedata/locales/ast_ES: Likewise.
8302 * localedata/locales/ayc_PE: Likewise.
8303 * localedata/locales/az_AZ: Likewise.
8304 * localedata/locales/az_IR: Likewise.
8305 * localedata/locales/be_BY: Likewise.
8306 * localedata/locales/be_BY@latin: Likewise.
8307 * localedata/locales/bem_ZM: Likewise.
8308 * localedata/locales/ber_DZ: Likewise.
8309 * localedata/locales/ber_MA: Likewise.
8310 * localedata/locales/bg_BG: Likewise.
8311 * localedata/locales/bhb_IN: Likewise.
8312 * localedata/locales/bho_IN: Likewise.
8313 * localedata/locales/bi_VU: Likewise.
8314 * localedata/locales/bn_BD: Likewise.
8315 * localedata/locales/bn_IN: Likewise.
8316 * localedata/locales/bo_CN: Likewise.
8317 * localedata/locales/bo_IN: Likewise.
8318 * localedata/locales/br_FR: Likewise.
8319 * localedata/locales/brx_IN: Likewise.
8320 * localedata/locales/bs_BA: Likewise.
8321 * localedata/locales/byn_ER: Likewise.
8322 * localedata/locales/ca_AD: Likewise.
8323 * localedata/locales/ca_ES: Likewise.
8324 * localedata/locales/ca_FR: Likewise.
8325 * localedata/locales/ca_IT: Likewise.
8326 * localedata/locales/ce_RU: Likewise.
8327 * localedata/locales/chr_US: Likewise.
8328 * localedata/locales/cmn_TW: Likewise.
8329 * localedata/locales/crh_UA: Likewise.
8330 * localedata/locales/cs_CZ: Likewise.
8331 * localedata/locales/csb_PL: Likewise.
8332 * localedata/locales/cv_RU: Likewise.
8333 * localedata/locales/cy_GB: Likewise.
8334 * localedata/locales/da_DK: Likewise.
8335 * localedata/locales/de_AT: Likewise.
8336 * localedata/locales/de_BE: Likewise.
8337 * localedata/locales/de_CH: Likewise.
8338 * localedata/locales/de_DE: Likewise.
8339 * localedata/locales/de_IT: Likewise.
8340 * localedata/locales/de_LI: Likewise.
8341 * localedata/locales/de_LU: Likewise.
8342 * localedata/locales/doi_IN: Likewise.
8343 * localedata/locales/dv_MV: Likewise.
8344 * localedata/locales/dz_BT: Likewise.
8345 * localedata/locales/el_CY: Likewise.
8346 * localedata/locales/el_GR: Likewise.
8347 * localedata/locales/en_AG: Likewise.
8348 * localedata/locales/en_AU: Likewise.
8349 * localedata/locales/en_BW: Likewise.
8350 * localedata/locales/en_CA: Likewise.
8351 * localedata/locales/en_DK: Likewise.
8352 * localedata/locales/en_GB: Likewise.
8353 * localedata/locales/en_HK: Likewise.
8354 * localedata/locales/en_IE: Likewise.
8355 * localedata/locales/en_IL: Likewise.
8356 * localedata/locales/en_IN: Likewise.
8357 * localedata/locales/en_NG: Likewise.
8358 * localedata/locales/en_NZ: Likewise.
8359 * localedata/locales/en_PH: Likewise.
8360 * localedata/locales/en_SG: Likewise.
8361 * localedata/locales/en_US: Likewise.
8362 * localedata/locales/en_ZA: Likewise.
8363 * localedata/locales/en_ZM: Likewise.
8364 * localedata/locales/en_ZW: Likewise.
8365 * localedata/locales/eo: Likewise.
8366 * localedata/locales/es_AR: Likewise.
8367 * localedata/locales/es_BO: Likewise.
8368 * localedata/locales/es_CL: Likewise.
8369 * localedata/locales/es_CO: Likewise.
8370 * localedata/locales/es_CR: Likewise.
8371 * localedata/locales/es_CU: Likewise.
8372 * localedata/locales/es_DO: Likewise.
8373 * localedata/locales/es_EC: Likewise.
8374 * localedata/locales/es_ES: Likewise.
8375 * localedata/locales/es_GT: Likewise.
8376 * localedata/locales/es_HN: Likewise.
8377 * localedata/locales/es_MX: Likewise.
8378 * localedata/locales/es_NI: Likewise.
8379 * localedata/locales/es_PA: Likewise.
8380 * localedata/locales/es_PE: Likewise.
8381 * localedata/locales/es_PR: Likewise.
8382 * localedata/locales/es_PY: Likewise.
8383 * localedata/locales/es_SV: Likewise.
8384 * localedata/locales/es_US: Likewise.
8385 * localedata/locales/es_UY: Likewise.
8386 * localedata/locales/es_VE: Likewise.
8387 * localedata/locales/et_EE: Likewise.
8388 * localedata/locales/eu_ES: Likewise.
8389 * localedata/locales/eu_ES@euro: Likewise.
8390 * localedata/locales/fa_IR: Likewise.
8391 * localedata/locales/ff_SN: Likewise.
8392 * localedata/locales/fi_FI: Likewise.
8393 * localedata/locales/fil_PH: Likewise.
8394 * localedata/locales/fo_FO: Likewise.
8395 * localedata/locales/fr_BE: Likewise.
8396 * localedata/locales/fr_CA: Likewise.
8397 * localedata/locales/fr_CH: Likewise.
8398 * localedata/locales/fr_FR: Likewise.
8399 * localedata/locales/fr_LU: Likewise.
8400 * localedata/locales/fur_IT: Likewise.
8401 * localedata/locales/fy_DE: Likewise.
8402 * localedata/locales/fy_NL: Likewise.
8403 * localedata/locales/ga_IE: Likewise.
8404 * localedata/locales/gd_GB: Likewise.
8405 * localedata/locales/gez_ER: Likewise.
8406 * localedata/locales/gez_ET: Likewise.
8407 * localedata/locales/gl_ES: Likewise.
8408 * localedata/locales/gu_IN: Likewise.
8409 * localedata/locales/gv_GB: Likewise.
8410 * localedata/locales/ha_NG: Likewise.
8411 * localedata/locales/hak_TW: Likewise.
8412 * localedata/locales/he_IL: Likewise.
8413 * localedata/locales/hi_IN: Likewise.
8414 * localedata/locales/hif_FJ: Likewise.
8415 * localedata/locales/hne_IN: Likewise.
8416 * localedata/locales/hr_HR: Likewise.
8417 * localedata/locales/hsb_DE: Likewise.
8418 * localedata/locales/ht_HT: Likewise.
8419 * localedata/locales/hu_HU: Likewise.
8420 * localedata/locales/hy_AM: Likewise.
8421 * localedata/locales/i18n: Likewise.
8422 * localedata/locales/ia_FR: Likewise.
8423 * localedata/locales/id_ID: Likewise.
8424 * localedata/locales/ig_NG: Likewise.
8425 * localedata/locales/ik_CA: Likewise.
8426 * localedata/locales/is_IS: Likewise.
8427 * localedata/locales/it_CH: Likewise.
8428 * localedata/locales/it_IT: Likewise.
8429 * localedata/locales/iu_CA: Likewise.
8430 * localedata/locales/ja_JP: Likewise.
8431 * localedata/locales/ka_GE: Likewise.
8432 * localedata/locales/kk_KZ: Likewise.
8433 * localedata/locales/kl_GL: Likewise.
8434 * localedata/locales/kn_IN: Likewise.
8435 * localedata/locales/ko_KR: Likewise.
8436 * localedata/locales/kok_IN: Likewise.
8437 * localedata/locales/ks_IN: Likewise.
8438 * localedata/locales/ks_IN@devanagari: Likewise.
8439 * localedata/locales/ku_TR: Likewise.
8440 * localedata/locales/kw_GB: Likewise.
8441 * localedata/locales/ky_KG: Likewise.
8442 * localedata/locales/lb_LU: Likewise.
8443 * localedata/locales/lg_UG: Likewise.
8444 * localedata/locales/li_BE: Likewise.
8445 * localedata/locales/li_NL: Likewise.
8446 * localedata/locales/lij_IT: Likewise.
8447 * localedata/locales/ln_CD: Likewise.
8448 * localedata/locales/lo_LA: Likewise.
8449 * localedata/locales/lt_LT: Likewise.
8450 * localedata/locales/lv_LV: Likewise.
8451 * localedata/locales/lzh_TW: Likewise.
8452 * localedata/locales/mag_IN: Likewise.
8453 * localedata/locales/mai_IN: Likewise.
8454 * localedata/locales/mg_MG: Likewise.
8455 * localedata/locales/mhr_RU: Likewise.
8456 * localedata/locales/mi_NZ: Likewise.
8457 * localedata/locales/mk_MK: Likewise.
8458 * localedata/locales/ml_IN: Likewise.
8459 * localedata/locales/mn_MN: Likewise.
8460 * localedata/locales/mni_IN: Likewise.
8461 * localedata/locales/mr_IN: Likewise.
8462 * localedata/locales/ms_MY: Likewise.
8463 * localedata/locales/mt_MT: Likewise.
8464 * localedata/locales/my_MM: Likewise.
8465 * localedata/locales/nan_TW: Likewise.
8466 * localedata/locales/nan_TW@latin: Likewise.
8467 * localedata/locales/nb_NO: Likewise.
8468 * localedata/locales/nds_DE: Likewise.
8469 * localedata/locales/nds_NL: Likewise.
8470 * localedata/locales/ne_NP: Likewise.
8471 * localedata/locales/nhn_MX: Likewise.
8472 * localedata/locales/niu_NU: Likewise.
8473 * localedata/locales/niu_NZ: Likewise.
8474 * localedata/locales/nl_AW: Likewise.
8475 * localedata/locales/nl_BE: Likewise.
8476 * localedata/locales/nl_NL: Likewise.
8477 * localedata/locales/nn_NO: Likewise.
8478 * localedata/locales/nr_ZA: Likewise.
8479 * localedata/locales/nso_ZA: Likewise.
8480 * localedata/locales/oc_FR: Likewise.
8481 * localedata/locales/om_ET: Likewise.
8482 * localedata/locales/om_KE: Likewise.
8483 * localedata/locales/or_IN: Likewise.
8484 * localedata/locales/os_RU: Likewise.
8485 * localedata/locales/pa_IN: Likewise.
8486 * localedata/locales/pa_PK: Likewise.
8487 * localedata/locales/pap_AW: Likewise.
8488 * localedata/locales/pap_CW: Likewise.
8489 * localedata/locales/pl_PL: Likewise.
8490 * localedata/locales/ps_AF: Likewise.
8491 * localedata/locales/pt_BR: Likewise.
8492 * localedata/locales/pt_PT: Likewise.
8493 * localedata/locales/quz_PE: Likewise.
8494 * localedata/locales/raj_IN: Likewise.
8495 * localedata/locales/ro_RO: Likewise.
8496 * localedata/locales/ru_RU: Likewise.
8497 * localedata/locales/ru_UA: Likewise.
8498 * localedata/locales/rw_RW: Likewise.
8499 * localedata/locales/sa_IN: Likewise.
8500 * localedata/locales/sat_IN: Likewise.
8501 * localedata/locales/sc_IT: Likewise.
8502 * localedata/locales/sd_IN: Likewise.
8503 * localedata/locales/sd_IN@devanagari: Likewise.
8504 * localedata/locales/se_NO: Likewise.
8505 * localedata/locales/sgs_LT: Likewise.
8506 * localedata/locales/shs_CA: Likewise.
8507 * localedata/locales/si_LK: Likewise.
8508 * localedata/locales/sid_ET: Likewise.
8509 * localedata/locales/sk_SK: Likewise.
8510 * localedata/locales/sl_SI: Likewise.
8511 * localedata/locales/sm_WS: Likewise.
8512 * localedata/locales/so_DJ: Likewise.
8513 * localedata/locales/so_ET: Likewise.
8514 * localedata/locales/so_KE: Likewise.
8515 * localedata/locales/so_SO: Likewise.
8516 * localedata/locales/sq_AL: Likewise.
8517 * localedata/locales/sq_MK: Likewise.
8518 * localedata/locales/sr_ME: Likewise.
8519 * localedata/locales/sr_RS: Likewise.
8520 * localedata/locales/sr_RS@latin: Likewise.
8521 * localedata/locales/ss_ZA: Likewise.
8522 * localedata/locales/st_ZA: Likewise.
8523 * localedata/locales/sv_FI: Likewise.
8524 * localedata/locales/sv_SE: Likewise.
8525 * localedata/locales/sw_KE: Likewise.
8526 * localedata/locales/sw_TZ: Likewise.
8527 * localedata/locales/szl_PL: Likewise.
8528 * localedata/locales/ta_IN: Likewise.
8529 * localedata/locales/ta_LK: Likewise.
8530 * localedata/locales/tcy_IN: Likewise.
8531 * localedata/locales/te_IN: Likewise.
8532 * localedata/locales/tg_TJ: Likewise.
8533 * localedata/locales/th_TH: Likewise.
8534 * localedata/locales/the_NP: Likewise.
8535 * localedata/locales/ti_ER: Likewise.
8536 * localedata/locales/ti_ET: Likewise.
8537 * localedata/locales/tig_ER: Likewise.
8538 * localedata/locales/tk_TM: Likewise.
8539 * localedata/locales/tl_PH: Likewise.
8540 * localedata/locales/tn_ZA: Likewise.
8541 * localedata/locales/to_TO: Likewise.
8542 * localedata/locales/tpi_PG: Likewise.
8543 * localedata/locales/tr_CY: Likewise.
8544 * localedata/locales/tr_TR: Likewise.
8545 * localedata/locales/ts_ZA: Likewise.
8546 * localedata/locales/tt_RU: Likewise.
8547 * localedata/locales/tt_RU@iqtelif: Likewise.
8548 * localedata/locales/ug_CN: Likewise.
8549 * localedata/locales/uk_UA: Likewise.
8550 * localedata/locales/unm_US: Likewise.
8551 * localedata/locales/ur_IN: Likewise.
8552 * localedata/locales/ur_PK: Likewise.
8553 * localedata/locales/uz_UZ: Likewise.
8554 * localedata/locales/uz_UZ@cyrillic: Likewise.
8555 * localedata/locales/ve_ZA: Likewise.
8556 * localedata/locales/vi_VN: Likewise.
8557 * localedata/locales/wa_BE: Likewise.
8558 * localedata/locales/wae_CH: Likewise.
8559 * localedata/locales/wal_ET: Likewise.
8560 * localedata/locales/wo_SN: Likewise.
8561 * localedata/locales/xh_ZA: Likewise.
8562 * localedata/locales/yi_US: Likewise.
8563 * localedata/locales/yo_NG: Likewise.
8564 * localedata/locales/yue_HK: Likewise.
8565 * localedata/locales/yuw_PG: Likewise.
8566 * localedata/locales/zh_CN: Likewise.
8567 * localedata/locales/zh_HK: Likewise.
8568 * localedata/locales/zh_SG: Likewise.
8569 * localedata/locales/zh_TW: Likewise.
8570 * localedata/locales/zu_ZA: Likewise.
8572 2017-11-13 Florian Weimer <fweimer@redhat.com>
8574 * support/next_to_fault.h, support/next_to_fault.c: New files.
8575 * support/Makefile (libsupport-routines): Add next_to_fault.
8576 * resolv/tst-inet_pton.c (struct next_to_fault)
8577 (next_to_fault_allocate, next_to_fault_free): Remove.
8578 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
8580 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
8582 * elf/dl-support.c: Include <dl-procruntime.c>.
8583 * include/link.h: Include <link_map.h>.
8584 * sysdeps/generic/dl-procruntime.c: New file.
8585 * sysdeps/generic/link_map.h: Likewise.
8586 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
8587 the writable ld.so namespace.
8589 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
8591 timezone: pacify GCC -Wstringop-truncation
8592 Problem reported by Martin Sebor in:
8593 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
8594 * timezone/zic.c (writezone): Use memcpy, not strncpy.
8596 2017-11-12 Florian Weimer <fweimer@redhat.com>
8598 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
8600 (tests): Add tst-xreadlink.
8601 * support/support.h (xstrndup): Declare.
8602 * support/xunistd.h (xunlink, xreadlink): Declare.
8603 * support/temp_file.h (support_create_temp_directory): Declare.
8604 * support/temp_file.c (support_create_temp_directory): New function.
8605 * support/support_chroot.c (support_chroot_create): Use it.
8606 * support/xreadlink.c: New file.
8607 * support/xstrndup.c: Likewise.
8608 * support/xunlink.c: Likewise.
8609 * support/tst-xreadlink.c: Likewise.
8611 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
8613 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
8615 2017-11-11 Florian Weimer <fweimer@redhat.com>
8619 * resolv/res_comp.c (printable_string, binary_hnok)
8620 (binary_leading_dash): New functions.
8621 (res_hnok): Reimplement using these functions and ns_name_pton.
8622 (res_ownok): Likewise.
8623 (res_mailok): Reimplement using printable_string, ns_name_pton and
8625 (res_dnok): Reimplement using printable_string and ns_name_pton.
8626 * resolv/tst-res_hnok.c (tests): Add additional tests.
8627 (LETTERDIGITS, PRINTABLE): Define.
8628 (do_test): Adjust one_char results.
8630 2017-11-11 Florian Weimer <fweimer@redhat.com>
8633 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
8634 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
8636 2017-11-11 Florian Weimer <fweimer@redhat.com>
8638 * resolv/tst-ns_name_pton.c: New file.
8639 * resolv/Makefile (tests): Add tst-ns_name_pton.
8640 (tst-ns_name_pton): Link against libresolv.
8642 2017-11-11 Florian Weimer <fweimer@redhat.com>
8644 * resolv/tst-res_hnok.c: New file.
8645 * resolv/Makefile (tests): Add tst-res_hnok.
8646 (tst-res_hnok): Link against libresolv.
8648 2017-11-11 Florian Weimer <fweimer@redhat.com>
8650 * resolv/tst-resolv-network.c: Use test framework instead explicit
8653 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
8655 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
8657 [!_ISOMAC] (STR_HELPER): New.
8658 [!_ISOMAC] (STR): Likewise.
8659 [!_ISOMAC] (TEST_SIZE): Likewise.
8660 [!_ISOMAC] (TEST_ALIGN): Likewise.
8661 [!_ISOMAC] (TEST_OFFSET): Likewise.
8662 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
8663 field offsets of jmp_buf as well as sigjmp_buf.
8664 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
8665 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
8666 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
8667 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
8668 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
8669 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
8670 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
8671 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
8672 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
8673 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
8675 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
8677 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
8678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
8680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
8682 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
8683 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
8684 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
8685 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
8686 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
8687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
8689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
8691 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
8692 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
8693 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
8695 2017-11-07 Joseph Myers <joseph@codesourcery.com>
8698 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8699 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
8700 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8701 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
8702 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8703 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
8704 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8705 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
8706 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8707 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
8708 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8709 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
8710 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8711 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
8712 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8713 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
8714 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8715 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
8716 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8717 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
8718 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8719 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
8720 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8721 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
8722 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8723 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
8724 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8725 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
8726 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8727 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
8728 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8729 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
8730 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8731 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
8732 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8733 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
8734 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8735 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
8736 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8737 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
8738 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8739 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
8740 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8741 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
8742 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8743 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
8744 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8745 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
8746 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8747 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
8748 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8749 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
8750 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8751 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
8752 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8753 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
8754 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8755 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
8756 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8757 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
8758 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8759 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
8760 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8761 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
8762 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8763 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
8764 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8765 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
8766 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8767 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
8768 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8769 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
8770 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8771 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
8772 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8773 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
8774 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8775 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
8776 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8777 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
8778 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8779 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
8780 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8781 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
8782 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8783 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
8784 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8785 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
8787 * stdlib/tst-strtod.h (F16): New macro.
8793 (IF_FLOAT16): Likewise.
8794 (IF_FLOAT32): Likewise.
8795 (IF_FLOAT64): Likewise.
8796 (IF_FLOAT32X): Likewise.
8797 (IF_FLOAT64X): Likewise.
8798 (IF_FLOAT128X): Likewise.
8799 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
8800 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
8801 (STRTOD_TEST_FOREACH): Likewise.
8802 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
8803 (CHOOSE_f64): Likewise.
8804 (CHOOSE_f32x): Likewise.
8805 (CHOOSE_f64x): Likewise.
8807 2017-11-07 Andreas Schwab <schwab@suse.de>
8809 * nptl/Makefile (tests-internal): Remove tst-typesizes.
8811 2017-11-07 Mike FABIAN <mfabian@redhat.com>
8814 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
8816 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
8819 2017-11-07 Claude Paroz <claude@2xlibre.net>
8822 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
8824 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
8826 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
8829 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8832 * nptl/allocatestack.c (allocate_stack): Check if
8833 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
8834 __PTHREAD_MUTEX_HAVE_PREV is defined.
8835 * nptl/descr.h (pthread): Likewise.
8836 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
8838 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
8839 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
8840 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
8841 * sysdeps/nptl/bits/thread-shared-types.h
8842 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
8844 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
8845 of __WORDSIZE for internal layout.
8846 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
8847 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
8848 instead of __WORDSIZE whether to use an union for __spins and __list
8850 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
8852 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
8853 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
8855 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
8856 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8858 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
8859 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8861 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
8862 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8864 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
8865 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8867 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
8868 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8870 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
8871 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8873 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
8874 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8876 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
8877 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8879 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
8880 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8882 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
8883 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8885 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
8886 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8888 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
8889 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8891 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
8892 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8894 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
8895 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8898 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
8900 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
8901 checks for expected input type size.
8902 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
8903 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
8905 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8906 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
8907 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8908 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
8909 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
8910 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
8911 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
8912 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
8913 superflous runtime assert check.
8914 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
8916 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
8918 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8920 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
8922 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
8924 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
8926 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
8927 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
8928 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8930 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8932 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
8934 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
8936 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8938 * nptl/pthread_attr_setinheritsched.c
8939 (__pthread_attr_setinheritsched): Likewise.
8940 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
8942 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
8944 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
8945 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
8946 __old_pthread_attr_setstack): Likewise.
8947 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8949 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8951 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
8953 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8954 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
8956 * nptl/tst-typesizes.c: Remove file.
8958 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
8959 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
8960 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
8961 checks for internal pthread_mutex_t offsets.
8962 * sysdeps/aarch64/nptl/pthread-offsets.h
8963 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
8964 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
8965 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
8966 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
8967 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
8968 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
8969 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
8970 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
8971 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
8972 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
8973 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
8974 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
8975 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
8976 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
8977 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
8978 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
8979 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
8980 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
8982 2017-11-07 Florian Weimer <fweimer@redhat.com>
8984 * bits/mman-linux.h: Move ...
8985 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
8987 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
8990 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8992 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
8993 Redefine STRNLEN as __strnlen_power8.
8995 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8997 * signal/sighold.c (sighold): Optimize implementation.
8999 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
9000 __NR_rt_sigqueueinfo.
9002 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
9004 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
9005 assume __NR_rt_sigtimedwait.
9006 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
9007 and add LIBC_CANCEL_HANDLED for cancellation marking.
9008 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9010 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
9011 (sysdeps_routines): Add memchr_noneon.
9012 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
9013 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
9014 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
9015 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
9016 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
9017 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
9018 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
9020 * sysdeps/arm/arm-ifunc.h: New file.
9021 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
9022 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
9023 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
9024 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
9025 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
9026 (__memcpy_neon): Avoid create hidden alias.
9027 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
9028 (__memcpy_vfp): Likewise.
9029 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
9030 (sysdep_routines): Add memcpy_arm.
9031 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
9033 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
9036 * Makerules (make-link-multidir): New.
9037 * config.make.in (multidir): New.
9038 * configure.ac (libc_cv_multidir): New. AC_SUBST.
9039 * configure: Regenerated.
9040 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
9041 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
9042 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
9045 2017-11-06 Joseph Myers <joseph@codesourcery.com>
9048 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
9049 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
9051 2017-11-04 Mike FABIAN <mfabian@redhat.com>
9053 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
9056 2017-11-04 Florian Weimer <fweimer@redhat.com>
9058 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
9060 2017-11-03 Joseph Myers <joseph@codesourcery.com>
9062 * math/math.h [__HAVE_DISTINCT_FLOAT16
9063 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
9064 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
9065 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
9066 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
9067 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
9068 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
9069 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
9070 (__MATH_TG_F32): New macro.
9071 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
9072 (__MATH_TG_F64X): Likewise.
9073 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
9074 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
9076 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
9078 * po/de.po: Update translations.
9079 * po/ru.po: Likewise.
9081 2017-11-03 Florian Weimer <fweimer@redhat.com>
9083 * manual/filesys.texi (Hard Links): Document linkat.
9085 2017-11-03 Joseph Myers <joseph@codesourcery.com>
9087 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
9088 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
9089 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
9090 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
9091 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
9092 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
9093 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
9094 the same as _Float128.
9095 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
9096 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
9097 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
9100 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
9102 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
9104 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
9106 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9107 (strtof32x): Likewise.
9108 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9109 (strtof64x): Likewise.
9110 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9111 (strtof128x): Likewise.
9112 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9113 (strfromf16): Likewise.
9114 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9115 (strfromf32): Likewise.
9116 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9117 (strfromf64): Likewise.
9118 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9119 (strfromf32x): Likewise.
9120 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9121 (strfromf64x): Likewise.
9122 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9123 (strfromf128x): Likewise.
9124 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
9125 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
9126 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
9127 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
9128 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
9129 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
9131 2017-11-03 Richard Henderson <rth@twiddle.net>
9133 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
9135 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9137 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
9139 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9141 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
9142 DT_TLSDESC_GOT initialization.
9143 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
9144 (_dl_tlsdesc_resolve_hold): Likewise.
9145 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
9146 (_dl_tlsdesc_resolve_hold): Likewise.
9147 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
9148 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
9150 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9152 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
9154 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9157 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
9158 non-lazily for R_ARM_TLS_DESC.
9160 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9163 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
9164 R_ARM_TLS_DESC case.
9165 (elf_machine_lazy_rel): Remove the prelink check.
9167 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9169 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
9170 DT_TLSDESC_GOT initialization.
9171 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
9172 (_dl_tlsdesc_resolve_rela): Likewise.
9173 (_dl_tlsdesc_resolve_hold): Likewise.
9174 (_dl_tlsdesc_undefweak): Remove ldar.
9175 (_dl_tlsdesc_dynamic): Likewise.
9176 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
9177 (_dl_tlsdesc_resolve_rela): Likewise.
9178 (_dl_tlsdesc_resolve_hold): Likewise.
9179 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
9180 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
9181 (_dl_tlsdesc_resolve_rela): Likewise.
9182 (_dl_tlsdesc_resolve_hold): Likewise.
9184 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9186 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
9187 binding and initialization non-lazily for R_AARCH64_TLSDESC.
9189 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9191 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
9192 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9194 2017-11-02 Joseph Myers <joseph@codesourcery.com>
9196 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
9198 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
9199 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
9200 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
9201 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
9202 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
9203 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
9204 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
9205 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
9206 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
9207 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
9208 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
9210 2017-11-02 Mike FABIAN <mfabian@redhat.com>
9213 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
9214 * localedata/locales/tpi_PG: Add standard header.
9216 2017-11-02 Florian Weimer <fweimer@redhat.com>
9218 test-errno-linux: quotactl can fail with EPERM in containers.
9219 * sysdeps/unix/sysv/linux/test-errno-linux.c
9220 (LIST, LIST_FORWARD): New macros.
9221 (check_error_in_list): New function.
9222 (test_wrp_rv): Accept list of permitted error codes.
9223 (test_wrp_rv2): Remove.
9224 (test_wrp): Call test_wrp_rv with list of error codes.
9225 (test_wrp2): Accept list of error codes.
9226 (do_test): Adjust. Allow EPERM for quotactl.
9228 2017-11-02 Florian Weimer <fweimer@redhat.com>
9230 * stdio-common/bug16.c (do_test): Use array_length.
9231 * stdio-common/errlist.c (_sys_nerr): Likewise.
9232 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
9233 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
9234 * stdio-common/psiginfo.c (psiginfo): Use array_length.
9235 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
9236 (do_test): Use array_length.
9237 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
9238 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
9239 * stdio-common/tst-printf-round.c (do_test): Likewise.
9240 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
9241 (CHECK): Use array_length.
9242 * stdio-common/tstdiomisc.c (t3, F): Likewise.
9243 * stdio-common/tstscanf.c (main): Likewise.
9244 * stdio-common/vfprintf.c (process_string_arg): Likewise.
9246 2017-11-02 Florian Weimer <fweimer@redhat.com>
9248 Add array_length and array_end macros.
9249 * include/array_length.h: New file.
9251 2017-11-02 Florian Weimer <fweimer@redhat.com>
9254 * posix/tst-glob-tilde.c (do_noescape): New variable.
9255 (one_test): Process it.
9256 (do_test): Set do_noescape. Add unescaping test case.
9258 2017-11-01 Joseph Myers <joseph@codesourcery.com>
9261 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
9262 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
9263 with appropriate macros defined and undefined.
9264 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
9265 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
9266 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
9267 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
9268 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
9269 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
9270 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
9271 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
9272 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
9273 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
9276 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
9277 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
9278 that for long double. Do not condition define and undefine of
9279 _Mdouble_complex_ on [__CFLOAT128].
9281 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
9283 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
9284 of <sysdeps/generic/sysdep.h>.
9285 (ALIGNARG): Removed.
9286 (ASM_SIZE_DIRECTIVE): Likewise.
9289 (ENTRY_CHK): Likewise.
9290 (END_CHK): Likewise.
9291 (syscall_error): Likewise.
9293 (PSEUDO_END): Likewise.
9295 (atom_text_section): Likewise.
9296 * sysdeps/x86/sysdep.h: New file.
9297 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
9298 of <sysdeps/generic/sysdep.h>.
9299 (ALIGNARG): Removed.
9300 (ASM_SIZE_DIRECTIVE): Likewise.
9303 (ENTRY_CHK): Likewise.
9304 (END_CHK): Likewise.
9305 (syscall_error): Likewise.
9307 (PSEUDO_END): Likewise.
9309 (atom_text_section): Likewise.
9311 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
9313 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
9314 category of LC_CTYPE set to "i18n:2012".
9315 * localedata/locales/i18n_ctype: Regenerate.
9317 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
9319 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
9320 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
9321 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9322 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9324 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
9325 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
9326 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
9327 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
9329 2017-10-31 Joseph Myers <joseph@codesourcery.com>
9332 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
9334 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
9336 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
9338 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9339 (CMPLXF32X): Likewise.
9340 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9341 (CMPLXF64X): Likewise.
9342 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9343 (CMPLXF128X): Likewise.
9346 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
9347 (__MATH_EVAL_FMT2): Define to add 0.0f.
9349 2017-10-31 Alan Modra <amodra@gmail.com>
9351 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
9353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
9354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
9355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
9358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
9359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
9360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
9361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
9362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
9363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
9366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
9367 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
9368 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
9369 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
9370 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
9371 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
9372 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
9373 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
9374 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
9375 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
9376 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
9377 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9378 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
9379 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
9380 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
9381 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
9382 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
9383 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
9384 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
9385 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
9386 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
9387 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
9388 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
9389 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
9390 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
9391 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
9392 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9393 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
9394 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
9395 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
9396 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
9397 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
9398 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
9399 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
9400 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
9401 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
9402 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9403 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
9404 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
9405 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
9406 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
9407 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9408 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
9409 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
9410 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
9411 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
9412 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
9413 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9414 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
9415 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
9416 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9417 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
9418 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
9419 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
9420 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
9421 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
9423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
9424 include sysdep.h and math_ldbl_opt.h.
9426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
9427 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
9428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
9429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
9430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
9431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
9432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
9433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
9434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
9435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
9436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
9437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
9438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
9439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
9440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
9441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
9442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
9443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
9444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
9445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
9446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
9447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
9448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
9449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
9450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
9451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
9453 2017-10-31 Alan Modra <amodra@gmail.com>
9455 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
9456 string/strncase_l.c, not string/strncase.c.
9457 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
9458 (libc_hidden_def): Redefine.
9460 2017-10-31 Alan Modra <amodra@gmail.com>
9462 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
9463 (__STRCMP, STRCMP, __strcasecmp_l): Define.
9464 (__strcasecmp): Don't define.
9466 2017-10-31 Alan Modra <amodra@gmail.com>
9468 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
9470 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
9471 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
9472 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
9474 2017-10-31 Alan Modra <amodra@gmail.com>
9476 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
9479 2017-10-31 Alan Modra <amodra@gmail.com>
9481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
9482 Redefine only when SHARED.
9484 2017-10-30 Joseph Myers <joseph@codesourcery.com>
9486 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
9487 Include <bits/math-finite.h> with appropriate macros defined and
9489 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
9490 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
9491 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
9492 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
9493 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
9495 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
9496 [!_Mlong_double_] (_Mlong_double_): Likewise.
9497 [!_Mfloat16_] (_Mfloat16_): Likewise.
9498 [!_Mfloat32_] (_Mfloat32_): Likewise.
9499 [!_Mfloat64_] (_Mfloat64_): Likewise.
9500 [!_Mfloat128_] (_Mfloat128_): Likewise.
9501 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
9502 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
9503 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
9504 (_Mdouble_): Define without indirection through those macros.
9505 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
9506 [!_Mfloat128_] (_Mfloat128_): Likewise.
9507 [_Mlong_double_] (_Mlong_double_): Likewise.
9508 (_Mdouble_): Define without indirection through those macros.
9509 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
9510 not add -D_Mlong_double_=double.
9511 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
9512 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
9514 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
9516 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
9518 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
9520 * sysdeps/x86/libc-start.c: Reformat.
9522 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
9525 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
9529 (L(Src2)): Likewise.
9530 (L(1)): Renamed to ...
9533 2017-10-30 Joseph Myers <joseph@codesourcery.com>
9535 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
9536 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
9537 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
9538 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
9539 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
9540 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
9541 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
9542 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
9543 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
9544 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
9545 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
9546 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
9547 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
9548 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
9549 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
9550 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
9551 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
9552 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
9553 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
9554 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
9555 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
9556 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
9557 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
9558 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
9559 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
9560 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
9561 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
9562 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
9563 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
9564 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
9565 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
9566 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
9567 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
9568 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
9569 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
9570 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
9571 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
9572 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
9573 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
9574 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
9575 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
9576 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
9577 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
9578 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
9579 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
9580 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
9581 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
9582 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
9583 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
9584 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
9585 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
9586 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
9587 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
9588 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
9589 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
9590 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
9591 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
9592 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
9593 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
9594 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
9595 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
9596 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
9597 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
9598 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
9599 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
9600 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
9602 2017-10-30 Florian Weimer <fweimer@redhat.com>
9604 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
9606 * io/tst-mkdirat.c (do_test): Likewise.
9607 * io/tst-mkfifoat.c (do_test): Likewise.
9608 * io/tst-mknodat.c (do_test): Likewise.
9609 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
9610 * locale/programs/locale.c (select_dirs): Likewise.
9611 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
9612 * posix/bug-glob2.c (my_readdir): Likewise.
9613 * posix/tst-dir.c (main): Likewise.
9614 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
9615 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
9617 2017-10-30 Florian Weimer <fweimer@redhat.com>
9619 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
9622 2017-10-30 Florian Weimer <fweimer@redhat.com>
9624 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
9625 Convert to support/test-driver.c.
9626 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
9627 New macro parameters.
9628 (PRINTF): Remove macro. Use test_verbose conditionals instead.
9629 * posix/tst-gnuglob.c: New file.
9630 * posix/tst-gnuglob64.c: Likewise.
9631 * posix/Makefile (tests): Add tst-gnuglob64.
9633 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
9636 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
9637 and use a better translation for March in “mon”.
9638 * localedata/locales/csb_PL: Use more ASCII to improve the
9639 readability of the source.
9641 2017-10-30 Mike FABIAN <mfabian@redhat.com>
9644 * localedata/locales/km_KH: Use ASCII as much
9645 as possible for better readability of the source and
9646 remove useless comments.
9647 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
9648 was commented out and apparently wrong anyway because it was
9649 using Lao characters. If Buddhist era should be used
9650 for km_KH, a native speaker should write the correct formaat
9652 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
9653 (According to CLDR, the first weekday for Cambodia is Sunday).
9654 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
9655 (These were using Lao characters which must be wrong. If we get
9656 the correct data from a native speaker, we could add it back, until
9657 then it is better not to have name_mr and name_mrs at all than
9660 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
9662 * locale/loadlocale.c: Correct size of
9663 _nl_value_type_LC_<category> arrays.
9665 2017-10-27 Joseph Myers <joseph@codesourcery.com>
9667 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
9668 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
9669 with appropriate macros defined and undefined.
9670 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
9671 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
9672 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
9673 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
9674 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
9676 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
9678 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
9681 2017-10-27 Mike FABIAN <mfabian@redhat.com>
9683 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
9684 with lowercase letters to make it agree with CLDR.
9686 2017-10-27 Mike FABIAN <mfabian@redhat.com>
9689 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
9690 first letters of yesstr and nostr in yesexpr and noexpr,
9691 not for the full words.
9692 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
9693 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
9694 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
9695 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
9696 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
9697 first letters of yesstr and nostr in yesexpr and noexpr,
9698 until now only English was matched in yesexpr and noexpr.
9699 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
9700 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
9701 fil but not for tl. As tl and fil are very similar, using fil
9702 is probably better than using English.
9704 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
9707 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
9708 in yesstr and nostr.
9710 2017-10-26 Joseph Myers <joseph@codesourcery.com>
9712 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
9713 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
9714 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
9716 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
9718 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
9720 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
9722 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9723 (SNANF128X): Likewise.
9725 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
9726 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
9727 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9728 (HUGE_VAL_F32): Likewise.
9729 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9730 (HUGE_VAL_F64): Likewise.
9731 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9732 (HUGE_VAL_F32X): Likewise.
9733 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9734 (HUGE_VAL_F64X): Likewise.
9735 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9736 (HUGE_VAL_F128X): Likewise.
9738 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
9740 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
9741 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
9742 for the br_FR locale.
9744 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
9747 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
9749 2017-10-25 Carlos O'Donell <carlos@redhat.com>
9751 * locale/programs/record-status.h: Define globals, and function
9752 prototypes. Move function bodies...
9753 * locale/programs/record-status.c: ... to here. New file.
9754 * iconv/Makefile (iconv_prog-modules): Add record-status.
9755 * locale/Makefile (lib-modules): Likewise.
9756 * iconv/iconv_prog.c: Remove verbose.
9757 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
9758 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
9759 record a warning about ASCII compatibility.
9760 * locale/programs/ld-monetary.c (monetary_finish): If
9761 warn_int_curr_symbol is true then record a warning about the symbol
9762 not being in our ISO 4217 list.
9763 * locale/programs/locale.c: Include record-status.h. Remove verbose.
9764 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
9765 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
9766 (OPT_NO_WARN): Define.
9768 (options): Add entry for --no-warnings, and --warnings.
9769 (set_warnings): New function to enable/disable warnings.
9770 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
9771 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
9772 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
9773 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
9774 Pass flags to generate_locale.
9775 (generate_locale): Accept new flag argument and pass it to localedef
9777 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
9778 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
9780 * localedata/Makefile (test-input-data): Use full file name.
9781 * localedata/da_DK.in: Rename to...
9782 * localedata/da_DK.ISO-8859-1.in: ...this.
9783 * localedata/de_DE.in: Rename to...
9784 * localedata/de_DE.ISO-8859-1.in: ...this.
9785 * localedata/en_US.in: Rename to...
9786 * localedata/en_US.ISO-8859-1.in: ...this.
9787 * localedata/fr_FR.in: Rename to...
9788 * localedata/fr_FR.UTF-8.in: ... this.
9789 * localedata/hr_HR.in: Rename to...
9790 * localedata/hr_HR.ISO-8859-2.in: ...this.
9791 * localedata/hu_HU.in: Rename to...
9792 * localedata/hu_HU.UTF-8.in: ...this.
9793 * localedata/si_LK.in: Rename to...
9794 * localedata/si_LK.UTF-8.in: ...this.
9795 * localedata/sv_SE.in: Rename to...
9796 * localedata/sv_SE.ISO-8859-1.in: ...this.
9797 * localedata/tr_TR.in: Rename to...
9798 * localedata/tr_TR.UTF-8.in: ...this.
9799 * localedata/uk_UA.in: Rename to...
9800 * localedata/uk_UA.UTF-8.in: ...this.
9801 * localedata/sort-test.sh: Test file is locale name with the
9804 * localedata/unicode-gen/Makefile (check_i18n): Rename to
9805 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
9807 * localedata/locales/i18n_ctype: Regenerate.
9808 * localedata/locales/tr_TR: Likewise.
9809 * localedata/locales/translit_circle: Likewise.
9810 * localedata/locales/translit_cjk_compat: Likewise.
9811 * localedata/locales/translit_combining: Likewise.
9812 * localedata/locales/translit_compat: Likewise.
9813 * localedata/locales/translit_font: Likewise.
9814 * localedata/locales/translit_fraction: Likewise.
9816 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9818 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
9819 lxvd2x/stxvd2x with lvx/stvx.
9820 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
9822 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
9824 * include/alloc_buffer.h: Replace "if if " with "if " in
9826 * sysdeps/mips/memcpy.S: Likkewise.
9827 * sysdeps/mips/memset.S: Likewise.
9828 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
9830 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
9832 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
9835 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9838 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
9840 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
9841 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
9842 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
9843 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
9844 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
9845 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
9846 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
9848 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9850 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
9851 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
9852 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
9853 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
9854 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
9855 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
9856 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
9857 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
9858 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
9859 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
9860 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
9861 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
9863 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9865 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
9866 as possible for better readability of the source.
9867 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
9868 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
9869 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
9870 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
9871 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
9872 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
9873 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
9874 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
9875 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
9876 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
9877 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
9878 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
9879 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
9880 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
9881 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
9882 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
9883 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
9884 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
9885 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
9886 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
9887 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
9888 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
9889 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
9890 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
9891 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
9892 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
9893 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
9894 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
9895 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
9896 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
9897 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
9898 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
9899 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
9900 * localedata/locales/en_US (LC_MESSAGES): Likewise.
9901 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
9902 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
9903 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
9904 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
9905 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
9906 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
9907 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
9908 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
9909 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
9910 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
9911 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
9912 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
9913 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
9914 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
9915 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
9916 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
9917 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
9918 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
9919 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
9920 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
9921 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
9922 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
9923 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
9924 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
9925 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
9926 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
9927 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
9928 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
9929 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
9930 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
9931 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
9932 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
9933 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
9934 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
9935 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
9936 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
9937 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
9938 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
9939 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
9940 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
9941 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
9942 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
9943 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
9944 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
9945 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
9946 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
9947 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
9948 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
9949 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
9950 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
9951 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
9952 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
9953 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
9954 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
9955 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
9956 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
9957 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
9958 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
9959 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
9960 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
9961 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
9962 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
9963 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
9964 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
9965 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
9966 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
9967 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
9968 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
9969 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
9970 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
9971 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
9972 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
9973 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
9974 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
9975 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
9976 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
9977 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
9978 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
9979 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
9980 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
9981 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
9982 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
9983 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
9984 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
9985 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
9986 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
9987 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
9988 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
9989 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
9990 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
9991 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
9992 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
9993 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
9994 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
9995 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
9996 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
9997 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
9998 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
9999 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
10000 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
10001 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
10002 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
10003 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
10004 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
10005 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
10006 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
10007 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
10008 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
10009 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
10010 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
10011 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
10012 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
10013 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
10014 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
10015 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
10016 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
10017 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
10018 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
10019 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
10020 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
10021 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
10022 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
10023 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
10024 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
10025 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
10026 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
10027 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
10028 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
10029 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
10030 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
10031 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
10032 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
10033 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
10034 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
10035 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
10036 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
10037 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
10038 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
10039 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
10040 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
10042 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10044 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
10045 (Use first letters of yesstr and nostr correctly instead of using
10048 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10050 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
10051 (Use first letters of yesstr and nostr correctly).
10053 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10055 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
10056 also check for the first characters of yesstr and nostr.
10057 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
10058 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
10060 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10062 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
10063 also check for Chinese characters.
10065 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10067 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
10068 match also for the contents of yesstr and nostr. As the first letter
10069 of yesstr and nostr is equal, checking only for the first letter
10072 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10074 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
10075 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
10077 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10079 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
10080 of main contributor.
10082 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10084 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
10085 instead of using English.
10087 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10089 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
10090 by including the first letters of nostr and yesexpr in the regexp.
10091 Also make it more readable by using ASCII where possible.
10093 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10095 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
10096 the first letter of nostr in the regexp. It agrees with CLDR now.
10097 Also make it more readable by using ASCII where possible.
10099 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10101 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
10102 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
10103 these strings contain a U+17D6 (which somewhat looks like a colon)
10104 instead of a real colon to separate the full words for “yes”
10105 and “no” from the single letter responses.
10107 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10109 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
10110 it agree with CLDR (include the first letter of yesstr).
10111 Also make it more readable by using ASCII where possible.
10113 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10115 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
10116 and improve yesexpr and noexpr. The yesstr and nostr apparently
10117 came from CLDR. And CLDR has a bug there: these strings contain
10118 a U+0903 (which looks like a colon) instead of a real colon
10119 to separate the full words for “yes” and “no” from the single
10122 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10124 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
10125 letters of the full yesstr and nostr in yesexpr and noexpr.
10127 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10129 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
10130 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
10131 * localedata/locales/an_ES: Make source more readable by using ASCII
10134 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10137 * localedata/locales/yuw_PG: New file.
10138 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
10139 * locale/iso-639.def: Add Yau (Uruwa).
10141 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10143 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
10145 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10147 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
10148 (__libc_realloc): Likewise.
10149 (_mid_memalign): Likewise.
10150 (__libc_calloc): Likewise.
10152 2017-10-23 Mike FABIAN <mfabian@redhat.com>
10154 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
10155 by adding the generic +1 and -0 as in all other locales.
10156 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
10157 day names and make it more readable by using ASCII where possible.
10159 2017-10-24 Joseph Myers <joseph@codesourcery.com>
10161 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
10162 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
10164 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10166 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
10167 WNOHANG in waitpid call.
10169 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
10171 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
10172 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
10174 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
10175 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
10176 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
10177 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
10178 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
10179 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
10180 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
10181 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
10184 2017-10-23 Michael Collison <michael.collison@arm.com>
10186 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
10187 with __builtin_sqrt.
10188 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
10189 with __builtin_sqrtf.
10190 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
10191 with __builtin_ceil.
10192 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
10193 with __builtin_ceilf.
10194 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
10195 with __builtin_floor.
10196 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
10197 with __builtin_floorf.
10198 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
10199 with __builtin_fma.
10200 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
10201 with __builtin_fmaf.
10202 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
10203 with __builtin_fmax.
10204 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
10205 with __builtin_fmaxf.
10206 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
10207 with __builtin_fmin.
10208 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
10209 with __builtin_fminf.
10210 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
10211 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
10212 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
10213 with builtin_rint and conversion to int.
10214 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
10215 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
10216 with builtin_llround.
10217 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
10218 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
10219 with builtin_rint and conversion to long int.
10220 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
10221 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
10222 with builtin_lround.
10223 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
10224 with builtin_lroundf.
10225 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
10226 statements with __builtin_nearbyint.
10227 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
10228 statements with __builtin_nearbyintf.
10229 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
10230 with __builtin_rint.
10231 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
10232 with __builtin_rintf.
10233 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
10234 with __builtin_round.
10235 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
10236 with __builtin_roundf.
10237 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
10238 with __builtin_trunc.
10239 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
10240 with __builtin_truncf.
10241 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
10242 and s_l[l]round[f].c too.
10244 2017-10-23 Alan Modra <amodra@gmail.com>
10246 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
10247 Adjust stack after restoring regs. Add missing LR cfi_restore.
10249 2017-10-23 Alan Modra <amodra@gmail.com>
10251 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
10252 Move LR save and frame setup/teardown and LR restore to
10253 immediately around memset call. Provide cfi.
10255 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10257 * sysdeps/i386/fpu/e_powf.S: Removed.
10258 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
10259 * sysdeps/i386/fpu/w_powf.c: Likewise.
10260 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
10261 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10262 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
10264 (CFLAGS-e_powf-sse2.c): New.
10265 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
10266 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
10268 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10270 * sysdeps/i386/fpu/e_log2f.S: Removed.
10271 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
10272 * sysdeps/i386/fpu/w_log2f.c: Likewise.
10273 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
10274 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10275 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
10277 (CFLAGS-e_log2f-sse2.c): New.
10278 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
10279 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
10281 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10283 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10285 (CFLAGS-e_powf-fma.c): New.
10286 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
10287 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
10289 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10291 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10293 (CFLAGS-e_log2f-fma.c): New.
10294 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
10295 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
10297 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10299 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10301 (CFLAGS-e_logf-fma.c): New.
10302 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
10303 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
10305 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10307 * sysdeps/i386/fpu/e_logf.S: Removed.
10308 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
10309 * sysdeps/i386/fpu/w_logf.c: Likewise.
10310 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
10311 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
10312 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10313 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
10315 (CFLAGS-e_logf-sse2.c): New.
10316 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
10317 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
10319 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10321 * sysdeps/i386/fpu/e_exp2f.S: Removed.
10322 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
10323 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
10324 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10325 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
10327 (CFLAGS-e_exp2f-sse2.c): New.
10328 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
10329 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
10331 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10333 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10335 (CFLAGS-e_exp2f-fma.c): New.
10336 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
10337 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
10339 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10341 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
10342 * sysdeps/i386/fpu/e_expf.S: Likewise.
10343 * sysdeps/i386/fpu/math_errf.c: Likewise.
10344 * sysdeps/i386/fpu/w_expf.c: Likewise.
10345 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
10346 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10347 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
10348 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
10349 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10350 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
10351 Remove e_expf-ia32.
10352 (CFLAGS-e_expf-sse2.c): New.
10353 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
10354 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
10356 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10358 * sysdeps/x86_64/fpu/e_expf.S: Removed.
10359 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
10360 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
10361 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
10363 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
10365 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
10366 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
10368 (__redirect_expf): This.
10369 (SYMBOL_NAME): Changed to expf.
10370 (__ieee754_expf): Renamed to ...
10372 (__GI___expf): This.
10373 (__ieee754_expf): Add strong_alias.
10374 (__expf_finite): Likewise.
10376 Include <sysdeps/ieee754/flt-32/e_expf.c>.
10378 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
10381 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
10384 2017-10-21 Florian Weimer <fweimer@redhat.com>
10386 * posix/Makefile (tests): Add tst-glob-tilde.
10387 (tests-special): Add tst-glob-tilde-mem.out
10388 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
10389 (tst-glob-tilde-mem.out): Add mtrace check.
10390 * posix/tst-glob-tilde.c: New file.
10392 2017-10-20 Joseph Myers <joseph@codesourcery.com>
10394 * bits/floatn-common.h: New file.
10395 * math/Makefile (headers): Add bits/floatn-common.h.
10396 * bits/floatn.h: Include <bits/floatn-common.h>.
10397 * sysdeps/ia64/bits/floatn.h: Likewise.
10398 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
10399 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
10400 * sysdeps/powerpc/bits/floatn.h: Likewise.
10401 * sysdeps/x86/bits/floatn.h: Likewise.
10403 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10405 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
10406 indicates whether compiler emits an warning for alias for
10407 functions with incompatible types.
10410 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
10411 the auxiliary process is terminated by a signal before calling _exit
10414 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
10417 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
10419 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
10420 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
10421 and bit_arch_XSAVEC_Usable if needed.
10422 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
10423 and bit_arch_Use_dl_runtime_resolve_opt.
10424 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
10426 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
10427 (bit_arch_Prefer_No_AVX512): Updated.
10428 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
10429 (bit_arch_XSAVEC_Usable): New.
10430 (STATE_SAVE_OFFSET): Likewise.
10431 (STATE_SAVE_MASK): Likewise.
10432 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
10433 (cpu_features): Add xsave_state_size and xsave_state_full_size.
10434 (index_arch_Use_dl_runtime_resolve_opt): Removed.
10435 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
10436 (index_arch_XSAVEC_Usable): New.
10437 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10438 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
10439 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
10441 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
10442 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
10443 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
10444 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
10445 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
10446 _dl_runtime_resolve_xsavec.
10447 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
10449 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
10450 instead of VEC_SIZE.
10451 (REGISTER_SAVE_BND0): Removed.
10452 (REGISTER_SAVE_BND1): Likewise.
10453 (REGISTER_SAVE_BND3): Likewise.
10454 (REGISTER_SAVE_RAX): Always defined to 0.
10456 (_dl_runtime_resolve_avx): Likewise.
10457 (_dl_runtime_resolve_avx_slow): Likewise.
10458 (_dl_runtime_resolve_avx_opt): Likewise.
10459 (_dl_runtime_resolve_avx512): Likewise.
10460 (_dl_runtime_resolve_avx512_opt): Likewise.
10461 (_dl_runtime_resolve_sse): Likewise.
10462 (_dl_runtime_resolve_sse_vex): Likewise.
10464 (_dl_runtime_resolve_fxsave): Likewise.
10465 (USE_XSAVE): Likewise.
10466 (_dl_runtime_resolve_xsave): Likewise.
10467 (USE_XSAVEC): Likewise.
10468 (_dl_runtime_resolve_xsavec): Likewise.
10469 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
10471 (_dl_runtime_resolve_avx512_opt): Likewise.
10472 (_dl_runtime_resolve_avx): Likewise.
10473 (_dl_runtime_resolve_avx_opt): Likewise.
10474 (_dl_runtime_resolve_sse): Likewise.
10475 (_dl_runtime_resolve_sse_vex): Likewise.
10476 (_dl_runtime_resolve_fxsave): New.
10477 (_dl_runtime_resolve_xsave): Likewise.
10478 (_dl_runtime_resolve_xsavec): Likewise.
10480 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
10484 * posix/glob.c (__glob): Fix one-byte overflow.
10486 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
10488 * malloc/malloc.c (sysdep-cancel.h): Add include.
10490 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
10492 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
10494 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
10496 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
10497 (tests): Remove $(objpfx)ga_test depdendency.
10498 * resolv/ga_test.c: Remove file.
10500 2017-10-20 Mike FABIAN <mfabian@redhat.com>
10503 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
10504 * localedata/locales/kab_DZ: New file.
10506 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
10508 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
10509 _dl_relocate_static_pie instead of _dl_start to compute load
10510 address in static PIE.
10512 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
10514 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
10516 2017-10-20 Mike FABIAN <mfabian@redhat.com>
10519 * localedata/SUPPORTED: Add shn_MM/UTF-8.
10520 * localedata/locales/shn_MM: New file.
10522 2017-10-20 Florian Weimer <fweimer@redhat.com>
10525 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
10526 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
10527 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
10528 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
10529 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
10530 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
10532 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
10534 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10536 2017-10-19 Joseph Myers <joseph@codesourcery.com>
10538 * sysdeps/mips/ieee754/bits/floatn.h: New file.
10541 * sysdeps/mips/bits/long-double.h: Move to ....
10542 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
10544 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
10546 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
10548 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
10549 H.J. Lu <hongjiu.lu@intel.com>
10552 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
10553 GLRO(dl_platform) to NULL.
10554 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
10555 (modules-names): Add tst-platformmod-1 and
10556 x86_64/tst-platformmod-2.
10557 (CFLAGS-tst-platform-1.c): New.
10558 (CFLAGS-tst-platformmod-1.c): Likewise.
10559 (CFLAGS-tst-platformmod-2.c): Likewise.
10560 (LDFLAGS-tst-platformmod-2.so): Likewise.
10561 ($(objpfx)tst-platform-1): Likewise.
10562 ($(objpfx)tst-platform-1.out): Likewise.
10563 (tst-platform-1-ENV): Likewise.
10564 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
10565 * sysdeps/x86_64/tst-platform-1.c: New file.
10566 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
10567 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
10569 2017-10-19 Mike FABIAN <mfabian@redhat.com>
10572 * locale/iso-639.def: Add Karbi.
10573 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
10574 * localedata/locales/mjw_IN: New file.
10576 2017-10-18 Joseph Myers <joseph@codesourcery.com>
10578 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
10579 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
10580 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
10581 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
10582 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
10583 (libm_alias_ldouble_other_r): Also create _Float128 alias.
10584 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
10586 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
10587 (libm_alias_ldouble_other_r): Also create _Float128 alias.
10588 * manual/math.texi (Mathematics): Document additional architecture
10589 support for _Float128.
10590 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
10591 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10592 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10593 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10594 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10595 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10596 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10597 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10598 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10599 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10600 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10601 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10602 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10603 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10604 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10606 2017-10-18 Renlin Li <renlin.li@arm.com>
10608 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
10609 _DYNAMIC symbol to calculate load address.
10611 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
10613 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
10614 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
10616 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
10617 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
10619 2017-10-18 Mike FABIAN <mfabian@redhat.com>
10622 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
10623 and improve readability by using more ASCII.
10624 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
10625 and improve readability by using more ASCII.
10627 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
10629 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
10630 not all targets support atomics on bool.
10632 2017-10-17 Joseph Myers <joseph@codesourcery.com>
10634 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
10635 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
10637 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
10638 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
10639 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
10640 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
10641 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
10642 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
10644 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10646 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
10649 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
10652 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
10653 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
10654 (do_check_remalloced_chunk): Fix build bug.
10655 (do_check_malloc_state): Add assert that checks arena->top.
10656 (malloc_consolidate): Remove initialization.
10657 (int_mallinfo): Remove call to malloc_consolidate.
10658 (__libc_mallopt): Clarify why malloc_consolidate is needed.
10660 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
10662 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
10663 (have_fastchunks): Remove.
10664 (clear_fastchunks): Remove.
10665 (set_fastchunks): Remove.
10666 (malloc_state): Add have_fastchunks.
10667 (malloc_init_state): Use have_fastchunks.
10668 (do_check_malloc_state): Remove incorrect invariant checks.
10669 (_int_malloc): Use have_fastchunks.
10670 (_int_free): Likewise.
10671 (malloc_consolidate): Likewise.
10673 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
10675 * malloc/malloc.c (tcache_put): Inline.
10676 (tcache_get): Inline.
10678 2017-10-17 Jordi Mallach <jordi@gnu.org>
10680 Aurelien Jarno <aurelien@aurel32.net>
10682 * localedata/locales/ca_ES@valencia: New file.
10683 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
10685 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
10688 * math/math.h: Let signbit use the builtin in C++ mode with gcc
10691 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10693 * scripts/build-many-glibcs.py (Context.add_all_configs):
10694 Add arm-linux-gnueabihf multiarch extra_glibcs.
10696 * sysdeps/generic/ifunc-init.h: New file.
10697 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
10699 2017-10-17 Mike FABIAN <mfabian@redhat.com>
10702 * localedata/locales/el_GR: Set n_cs_precedes to 0.
10703 * localedata/locales/el_CY: copy "el_GR" because it is identical.
10704 * stdlib/tst-strfmon_l.c: adapt test case.
10706 2017-10-16 Joseph Myers <joseph@codesourcery.com>
10708 * sysdeps/generic/float128-abi.h: New file.
10709 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
10710 non-__prefixed symbols to ....
10711 * math/Versions: ... here. Include <float128-abi.h>.
10712 * stdlib/Versions ... and here. Include <float128-abi.h>
10714 2017-10-16 Florian Weimer <fweimer@redhat.com>
10716 * version.h (VERSION): Switch to ".9000" as the development
10719 2017-10-16 Florian Weimer <fweimer@redhat.com>
10722 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
10723 compat_symbol_reference to access non-default version.
10725 2017-10-16 Florian Weimer <fweimer@redhat.com>
10727 * malloc/Makefile (others-extras): Set to mcheck-init.o.
10729 2017-10-16 Carlos O'Donell <carlos@redhat.com>
10731 * include/shlib-compat.h (compat_symbol_reference): Update
10734 2017-10-16 Joseph Myers <joseph@codesourcery.com>
10736 * math/Makefile (test-types): Add
10737 $(type-float128-$(float128-alias-fcts)).
10738 * math/test-float128.h (TYPE_STR): Define conditional on
10739 [FLT128_MANT_DIG == LDBL_MANT_DIG].
10740 (ULP_IDX): Likewise.
10741 (ULP_I_IDX): Likewise.
10743 * stdlib/strtold.c: Include <bits/floatn.h>
10744 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
10745 and later undefine as macro. Define as weak alias if
10747 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
10748 and later undefine as macro. Define as weak alias if
10750 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
10751 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
10752 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
10753 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
10754 Define and later undefine as macro. Define as weak alias if
10756 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
10758 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
10759 Define and later undefine as macro. Define as weak alias if
10761 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
10762 Define and later undefine as macro. Define as weak alias if
10765 2017-10-15 Carlos O'Donell <carlos@redhat.com>
10767 * localedata/collate-test.c (allocate_arrays): Don't use \n in
10768 record_verbose messages.
10770 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
10773 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
10774 to silence -O3 -Wall warning with GCC 7.
10776 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
10778 * Makeconfig (+link-static-before-libc): Use the first of
10779 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
10780 * gmon/Makefile (tests): Add tst-gmon-static.
10781 (tests-static): Likewise.
10782 (CFLAGS-tst-gmon-static.c): New.
10783 (CRT-tst-gmon-static): Likewise.
10784 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
10785 (tst-gmon-static-ENV): Likewise.
10786 (tests-special): Likewise.
10787 ($(objpfx)tst-gmon-static.out): Likewise.
10788 (clean-tst-gmon-static-data): Likewise.
10789 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
10790 * gmon/tst-gmon-static-gprof.sh: New file.
10791 * gmon/tst-gmon-static.c: Likewise.
10793 2017-10-13 Carlos O'Donell <carlos@redhat.com>
10796 * locale/programs/linereader.c (get_string): Don't warn on
10797 non-symbolic character.
10800 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
10804 * locale/programs/record-status.h: New file
10805 * locale/programs/locale.c: Add comment.
10806 * locale/programs/charmap-dir.c: Don't include error.h.
10807 (charmap_opendir): Use record_error.
10808 * locale/programs/charmap.c: Don't include error.h.
10809 (charmap_read): Use record_error, and record_warning.
10810 (parse_charmap): Likewise.
10811 * locale/programs/ld-address.c: Don't include error.h.
10812 (address_finish): Use record_error, and record_warning.
10813 * locale/programs/ld-collate.c: Don't include error.h.
10814 (collate_finish): Use record_error, and record_error_at_line.
10815 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
10816 (ctype_class_new): Likewise.
10817 (ctype_map_new): Likewise.
10818 (set_one_default): Likewise.
10819 (set_class_defaults): Likewise.
10820 (translit_flatten): Likewise.
10821 (allocate_arrays): Use record_error, and record_verbose.
10822 * locale/programs/ld-identification.c: Don't include error.h.
10823 (indentation_finish): Use record_error and record_warning.
10824 * locale/programs/ld-measurement.c: Don't include error.h.
10825 (measurement_finish): Use record_error.
10826 * locale/programs/ld-messages.c
10827 (message_finish): Likewise.
10828 * locale/programs/ld-monetary.c
10829 (monetary_finish): Likewise.
10830 * locale/programs/ld-name.c (name_finish): Use record_error
10831 and record_warning.
10832 * locale/programs/ld-numeric.c
10833 (numeric_finish): Use record_error.
10834 * locale/programs/ld-paper.c: Don't include error.h.
10835 (paper_finish): Use record_error.
10836 * locale/programs/ld-telephone.c: Don't include error.h.
10837 (telephone_finish): Use record_error.
10838 * locale/programs/ld-time.c (time_finish): Likewise.
10839 * locale/programs/linereader.h (lr_error): Make inline func.
10840 * locale/programs/localedef.c: Define recorded_warning_count,
10841 and recorded_error_count.
10842 (main): Use record_error. Use recorded_error_count and
10843 recorded_warning_count to issue correct error returns.
10844 (add_to_readlist): Use record_error.
10845 (find_locale): Likewise.
10846 (load_locale): Likewise.
10847 * locale/programs/localedef.h: Remove be_quiet
10848 and WITH_CUR_LOCALE.
10849 * locale/programs/locarchive.c (compare_from_file): Use
10851 * locale/programs/locfile.c (write_locale_data): Use
10853 * locale/programs/repertoire.c: Dont include error.h.
10854 (repertoire_complain): Use record_error.
10855 * localedata/tst-fmon.sh: Expect failures from localedef.
10856 * localedata/tst-locale.sh: Likewise.
10857 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
10859 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
10860 (REPORTS): Likewise.
10862 (i18n): Rename to...
10863 (i18n_ctype): ...this.
10864 (i18n-report): Rename to...
10865 (i18n_ctype-report): ...this.
10866 * localedata/locales/i18n_ctype: Regenerate.
10867 * localedata/locales/i18n: copy i18n_ctype.
10869 2017-10-13 Joseph Myers <joseph@codesourcery.com>
10871 * stdlib/strfroml.c: Include <bits/floatn.h>.
10872 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
10873 Define before include of <stdlib.h> and undefine afterwards, then
10874 define as weak alias.
10876 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
10877 Undefine and restore default definition. Use
10878 libm_alias_ldouble_other.
10880 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
10883 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
10886 2017-10-13 James Clarke <jrtc27@jrtc27.com>
10888 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10889 Assign sym_map to be map for local symbols, as TLS relocations
10890 use sym_map to determine whether the symbol is defined and to
10891 extract the TLS information.
10892 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10893 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10895 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10898 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
10899 (math_force_eval): Add powerpc version.
10902 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
10904 (do_test): Likewise.
10905 * stdio-common/tst-printf.sh: Likewise.
10906 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
10907 ifdef clause in order to set the carry bit right. Replace r0 by
10908 0 without changing the behavior.
10910 2017-10-13 Joseph Myers <joseph@codesourcery.com>
10912 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
10913 <libm-alias-ldouble.h>.
10914 (fabsl): Define using libm_alias_ldouble.
10915 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
10916 <libm-alias-ldouble.h>.
10917 (fabsl): Define using libm_alias_ldouble.
10919 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
10920 Remove conditional code.
10922 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
10923 Rename to __clog10_internal_l.
10924 (__clog10_internal_l): Define aliases using
10925 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
10928 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10930 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
10931 * benchtests/sincosf-inputs: New file.
10932 * benchtests/cosf-inputs: New file.
10933 * benchtests/sinf-inputs: New file.
10935 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10937 * posix/tst-spawn.c (do_test): Wait for both children.
10939 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
10942 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
10943 tests-pie): Add tst-gmon-pie.
10944 (CFLAGS-tst-gmon-pie.c): New.
10945 (CRT-tst-gmon-pie): Likewise.
10946 (tst-gmon-pie-ENV): Likewise.
10947 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
10948 ($(objpfx)tst-gmon-pie.out): Likewise.
10949 (clean-tst-gmon-pie-data): Likewise.
10950 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
10951 * gmon/gmon.c [PIC]: Include <link.h>.
10952 [PIC] (callback): New function.
10953 (write_hist): Add an argument for load address. Subtract load
10955 (write_call_graph): Likewise.
10956 (write_gmon): Call __dl_iterate_phdr to get load address, pass
10957 it to write_hist and write_call_graph.
10958 * gmon/tst-gmon-pie.c: New file.
10960 2017-10-11 Joseph Myers <joseph@codesourcery.com>
10962 * math/Makefile (test-types-basic): New variable.
10963 (test-types): Likewise.
10964 (libm-test-support): Use $(test-types) instead of $(types).
10965 (libm-tests-base-normal): Likewise.
10966 (libm-tests-base-finite): Likewise.
10967 (libm-tests-base-inline): Likewise.
10968 (generated): Likewise.
10969 ($(objpfx)libm-test-support-$(t).c): Likewise.
10970 (libm-tests-for-type iterator): Likewise.
10971 (libm-test-support iterator): Likewise.
10972 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
10973 (ulp_idx): Use ULP_IDX.
10974 * math/test-ldouble.h: Include <float.h>.
10975 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
10976 (ULP_IDX): New macro.
10977 (ULP_I_IDX): Likewise.
10978 * math/test-double.h (ULP_IDX): Likewise.
10979 (ULP_I_IDX): Likewise.
10980 * math/test-float.h (ULP_IDX): Likewise.
10981 (ULP_I_IDX): Likewise.
10982 * math/test-float128.h (ULP_IDX): Likewise.
10983 (ULP_I_IDX): Likewise.
10985 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10987 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
10988 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10989 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10990 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
10991 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10992 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
10993 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
10994 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10995 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10996 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10997 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
10998 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10999 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11000 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11001 (SINGLE_THREAD_BY_GLOBAL): Define.
11002 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
11004 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
11006 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
11008 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
11010 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
11011 (SINGLE_THREAD_BY_GLOBAL): Likewise.
11012 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
11015 2017-10-11 Andreas Schwab <schwab@suse.de>
11017 * nis/Makefile (aux): Remove.
11018 * nscd/Makefile (aux): Add nscd_hash.
11019 (nscd-modules): Likewise.
11020 ($(objpfx)nscd): Don't depend on libnsl.
11021 * nscd/nscd_hash.c: New file.
11022 * nscd/nscd_hash.h: Likewise.
11023 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
11024 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
11025 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
11026 instead of <nis/rpcsvc/nis.h>.
11027 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
11029 2017-10-11 Florian Weimer <fweimer@redhat.com>
11032 Avoid large NSS buffers with many addresses, aliases.
11033 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
11034 using dynarrays and struct alloc_buffer.
11035 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
11036 (tst-nss-files-hosts-multi): Link with -ldl.
11037 * nss/tst-nss-files-hosts-multi.c: New file.
11039 2017-10-11 Florian Weimer <fweimer@redhat.com>
11042 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
11043 scratch_buffer. Eliminate gotos.
11045 2017-10-11 Joseph Myers <joseph@codesourcery.com>
11047 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
11048 libm_alias_ldouble_other.
11049 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
11050 undefine and redefine.
11051 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
11052 (exp10l): Do not define here.
11053 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
11054 (weak_alias): Undefine and redefine.
11055 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
11056 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
11057 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
11058 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
11060 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
11061 [!__fma] (fma): Define using libm_alias_double.
11062 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
11063 [!__fmaf] (fmaf): Define using libm_alias_float.
11064 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
11065 (fmal): Define using libm_alias_ldouble.
11067 2017-10-10 Joseph Myers <joseph@codesourcery.com>
11069 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
11071 (libm_alias_double_other): Likewise.
11072 (libm_alias_double_r): Use libm_alias_double_other_r.
11073 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
11075 (libm_alias_float_other): Likewise.
11076 (libm_alias_float_r): Use libm_alias_float_other_r.
11077 * sysdeps/generic/libm-alias-float128.h
11078 (libm_alias_float128_other_r): New macro.
11079 (libm_alias_float128_other): Likewise.
11080 (libm_alias_float128_r): Use libm_alias_float128_other_r.
11081 * sysdeps/generic/libm-alias-ldouble.h
11082 (libm_alias_ldouble_other_r): New macro.
11083 (libm_alias_ldouble_other): Likewise.
11084 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
11085 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
11086 (libm_alias_double_other_r): New macro.
11087 (libm_alias_double_other): Likewise.
11088 (libm_alias_double_r): Use libm_alias_double_other_r.
11089 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
11090 (libm_alias_ldouble_other_r): New macro.
11091 (libm_alias_ldouble_other): Likewise.
11092 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
11093 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
11094 [!USE_AS_COMPAT]: Use libm_alias_double_other.
11095 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
11096 [!USE_AS_COMPAT]: Use libm_alias_float_other.
11097 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
11098 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
11099 * math/w_exp2f.c: Use libm_alias_float_other.
11100 * math/w_expf.c: Likewise.
11101 * math/w_log2f.c: Likewise.
11102 * math/w_logf.c: Likewise.
11103 * math/w_powf.c: Likewise.
11104 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
11105 [!__exp2f]: Use libm_alias_float_other.
11106 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
11107 [!__expf]: Use libm_alias_float_other.
11108 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
11109 [!__log2f]: Use libm_alias_float_other.
11110 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
11111 [!__logf]: Use libm_alias_float_other.
11112 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
11113 [!__powf]: Use libm_alias_float_other.
11115 2017-10-10 Florian Weimer <fweimer@redhat.com>
11117 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
11119 (_nss_files_gethostbyname3_r): Call it.
11121 2017-10-09 Joseph Myers <joseph@codesourcery.com>
11123 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
11124 error. Remove default definition of declare_mgen_alias.
11125 [!declare_mgen_alias_r]: Likewise.
11126 * sysdeps/generic/math-type-macros-double.h
11127 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
11128 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
11129 (declare_mgen_alias_r): Likewise.
11130 * sysdeps/generic/math-type-macros-float128.h
11131 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
11132 * sysdeps/generic/math-type-macros-ldouble.h
11133 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
11134 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
11136 (declare_mgen_alias_r_s): Likewise.
11137 (declare_mgen_alias_r): Likewise.
11138 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
11139 (lgamma_r): Define using libm_alias_double_r.
11140 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
11141 (lgammaf_r): Define using libm_alias_float_r.
11142 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
11143 (lgammal_r): Define using libm_alias_ldouble_r.
11144 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
11145 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
11147 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11149 * lib/glob.c (__glob_pattern_type): Remove now-spurious
11150 extern declaration.
11152 2017-10-09 Joseph Myers <joseph@codesourcery.com>
11154 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
11156 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
11159 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
11160 [__cplusplus >= 201103] (__USE_ISOC99): Define.
11161 * math/Makefile (test-math-cxx11): New test.
11162 * math/test-math-cxx11.cc: New file.
11164 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
11166 * login/openpty.c (openpty): Close slave pty file descriptor on error.
11168 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
11169 call to allocate the slave pty file descriptor.
11171 2017-10-06 Joseph Myers <joseph@codesourcery.com>
11173 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
11174 [!__fma] (fma): Define using libm_alias_double.
11175 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
11176 [!__fma] (fma): Define using libm_alias_double.
11178 * sysdeps/ieee754/float128/float128_private.h: Include
11179 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
11180 (libm_alias_ldouble_r): Undefine and redefine.
11181 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
11182 <libm-alias-ldouble.h>.
11183 (asinhl): Define using libm_alias_ldouble.
11184 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
11185 <libm-alias-ldouble.h>.
11186 (atanl): Define using libm_alias_ldouble.
11187 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
11188 <libm-alias-ldouble.h>.
11189 (cbrtl): Define using libm_alias_ldouble.
11190 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
11191 <libm-alias-ldouble.h>.
11192 (ceill): Define using libm_alias_ldouble.
11193 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
11194 <libm-alias-ldouble.h>.
11195 (copysignl): Define using libm_alias_ldouble.
11196 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
11197 <libm-alias-ldouble.h>.
11198 (cosl): Define using libm_alias_ldouble.
11199 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
11200 <libm-alias-ldouble.h>.
11201 (erfl): Define using libm_alias_ldouble.
11203 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
11204 <libm-alias-ldouble.h>.
11205 (expm1l): Define using libm_alias_ldouble.
11206 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
11207 <libm-alias-ldouble.h>.
11208 (fabsl): Define using libm_alias_ldouble.
11209 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
11210 <libm-alias-ldouble.h>.
11211 (floorl): Define using libm_alias_ldouble.
11212 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
11213 <libm-alias-ldouble.h>.
11214 (fmal): Define using libm_alias_ldouble.
11215 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
11216 <libm-alias-ldouble.h>.
11217 (frexpl): Define using libm_alias_ldouble.
11218 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
11219 libm_alias_ldouble.
11220 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
11221 <libm-alias-ldouble.h>.
11222 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
11223 libm_alias_ldouble.
11224 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
11225 <libm-alias-ldouble.h>.
11226 (getpayloadl): Define using libm_alias_ldouble.
11227 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
11228 <libm-alias-ldouble.h>.
11229 (llrintl): Define using libm_alias_ldouble.
11230 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
11231 <libm-alias-ldouble.h>.
11232 (llroundl): Define using libm_alias_ldouble.
11233 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
11234 <libm-alias-ldouble.h>.
11235 (logbl): Define using libm_alias_ldouble.
11236 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
11237 <libm-alias-ldouble.h>.
11238 (lrintl): Define using libm_alias_ldouble.
11239 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
11240 <libm-alias-ldouble.h>.
11241 (lroundl): Define using libm_alias_ldouble.
11242 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
11243 <libm-alias-ldouble.h>.
11244 (modfl): Define using libm_alias_ldouble.
11245 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
11246 <libm-alias-ldouble.h>.
11247 (nearbyintl): Define using libm_alias_ldouble.
11248 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
11249 <libm-alias-ldouble.h>.
11250 (nextafterl): Define using libm_alias_ldouble.
11251 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
11252 <libm-alias-ldouble.h>.
11253 (nextupl): Define using libm_alias_ldouble.
11254 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
11255 <libm-alias-ldouble.h>.
11256 (remquol): Define using libm_alias_ldouble.
11257 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
11258 <libm-alias-ldouble.h>.
11259 (rintl): Define using libm_alias_ldouble.
11260 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
11261 <libm-alias-ldouble.h>.
11262 (roundevenl): Define using libm_alias_ldouble.
11263 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
11264 <libm-alias-ldouble.h>.
11265 (roundl): Define using libm_alias_ldouble.
11266 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
11267 using libm_alias_ldouble.
11268 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
11269 <libm-alias-ldouble.h>.
11270 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
11271 Define using libm_alias_ldouble.
11272 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
11273 <libm-alias-ldouble.h>.
11274 (sincosl): Define using libm_alias_ldouble.
11275 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
11276 <libm-alias-ldouble.h>.
11277 (sinl): Define using libm_alias_ldouble.
11278 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
11279 <libm-alias-ldouble.h>.
11280 (tanhl): Define using libm_alias_ldouble.
11281 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
11282 <libm-alias-ldouble.h>.
11283 (tanl): Define using libm_alias_ldouble.
11284 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
11285 <libm-alias-ldouble.h>.
11286 (totalorderl): Define using libm_alias_ldouble.
11287 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
11288 <libm-alias-ldouble.h>.
11289 (totalordermagl): Define using libm_alias_ldouble.
11290 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
11291 <libm-alias-ldouble.h>.
11292 (truncl): Define using libm_alias_ldouble.
11293 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
11294 libm_alias_ldouble.
11295 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
11296 libm_alias_ldouble.
11297 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
11298 <libm-alias-ldouble.h>.
11299 (weak_alias): Do not undefine and redefine.
11300 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
11301 (copysignl): Define with long_double_symbol only if [IS_IN
11303 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
11304 <libm-alias-ldouble.h>.
11305 (weak_alias): Do not undefine and redefine.
11306 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
11307 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
11308 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
11309 <libm-alias-ldouble.h>.
11310 (weak_alias): Do not undefine and redefine.
11311 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
11312 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
11313 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
11314 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
11315 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
11316 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
11317 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
11318 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
11319 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
11320 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
11321 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
11322 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
11323 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
11324 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
11325 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
11326 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
11327 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
11328 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
11329 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
11330 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
11331 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
11332 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
11333 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
11334 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
11335 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
11336 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
11338 2017-10-06 Carlos O'Donell <carlos@redhat.com>
11341 * malloc/malloc.c (tcache_shutting_down): Use bool type.
11342 (tcache_thread_freeres): Set tcache_shutting_down before
11343 freeing the tcache.
11344 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
11345 * malloc/tst-malloc-tcache-leak.c: New file.
11347 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11349 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
11350 back to powerpc32 file.
11351 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
11352 (memrchr): Add __memrchr_power8 to ifunc list.
11353 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
11354 extra bytes for unaligned inputs.
11356 2017-10-06 Joseph Myers <joseph@codesourcery.com>
11358 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
11359 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
11360 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
11361 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11362 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11364 2017-10-05 Joseph Myers <joseph@codesourcery.com>
11366 * sysdeps/arm/libm-test-ulps: Update.
11368 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
11369 <libm-alias-ldouble.h>.
11370 (asinhl): Define using libm_alias_ldouble.
11371 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
11372 <libm-alias-ldouble.h>.
11373 (cbrtl): Define using libm_alias_ldouble.
11374 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
11375 <libm-alias-ldouble.h>.
11376 (copysignl): Define using libm_alias_ldouble.
11377 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
11378 <libm-alias-ldouble.h>.
11379 (cosl): Define using libm_alias_ldouble.
11380 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
11381 <libm-alias-ldouble.h>.
11382 (erfl): Define using libm_alias_ldouble.
11384 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
11385 <libm-alias-ldouble.h>.
11386 (fmal): Define using libm_alias_ldouble.
11387 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
11388 <libm-alias-ldouble.h>.
11389 (frexpl): Define using libm_alias_ldouble.
11390 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
11391 libm_alias_ldouble.
11392 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
11393 <libm-alias-ldouble.h>.
11394 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
11395 libm_alias_ldouble.
11396 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
11397 <libm-alias-ldouble.h>.
11398 (getpayloadl): Define using libm_alias_ldouble.
11399 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
11400 <libm-alias-ldouble.h>.
11401 (llrintl): Define using libm_alias_ldouble.
11402 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
11403 <libm-alias-ldouble.h>.
11404 (llroundl): Define using libm_alias_ldouble.
11405 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
11406 <libm-alias-ldouble.h>.
11407 (lrintl): Define using libm_alias_ldouble.
11408 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
11409 <libm-alias-ldouble.h>.
11410 (lroundl): Define using libm_alias_ldouble.
11411 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
11412 <libm-alias-ldouble.h>.
11413 (modfl): Define using libm_alias_ldouble.
11414 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
11415 <libm-alias-ldouble.h>.
11416 (nextupl): Define using libm_alias_ldouble.
11417 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
11418 <libm-alias-ldouble.h>.
11419 (remquol): Define using libm_alias_ldouble.
11420 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
11421 <libm-alias-ldouble.h>.
11422 (roundevenl): Define using libm_alias_ldouble.
11423 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
11424 <libm-alias-ldouble.h>.
11425 (roundl): Define using libm_alias_ldouble.
11426 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
11427 using libm_alias_ldouble.
11428 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
11429 <libm-alias-ldouble.h>.
11430 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
11431 <libm-alias-ldouble.h>.
11432 (setpayloadsigl): Define using libm_alias_ldouble.
11433 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
11434 <libm-alias-ldouble.h>.
11435 (sincosl): Define using libm_alias_ldouble.
11436 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
11437 <libm-alias-ldouble.h>.
11438 (sinl): Define using libm_alias_ldouble.
11439 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
11440 <libm-alias-ldouble.h>.
11441 (tanhl): Define using libm_alias_ldouble.
11442 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
11443 <libm-alias-ldouble.h>.
11444 (tanl): Define using libm_alias_ldouble.
11445 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
11446 <libm-alias-ldouble.h>.
11447 (totalorderl): Define using libm_alias_ldouble.
11448 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
11449 <libm-alias-ldouble.h>.
11450 (totalordermagl): Define using libm_alias_ldouble.
11451 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
11452 libm_alias_ldouble.
11453 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
11454 libm_alias_ldouble.
11456 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
11458 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
11460 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
11461 (__libc_ifunc_impl_list): Likewise.
11462 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
11463 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
11465 * benchtests/bench-memmove-walk.c: New file.
11466 * benchtests/Makefile (string-benchset): Add it.
11468 * benchtests/bench-memset-walk.c: New file.
11469 * benchtests/Makefile (string-benchset): Add it.
11471 * benchtests/bench-memcpy-walk.c: New file.
11472 * benchtests/Makefile (string-benchset): Add it.
11474 2017-10-05 Florian Weimer <fweimer@redhat.com>
11476 nscd: Eliminate compilation time dependency in the build output.
11477 * nscd/nscd_stat.c (STATDATA_VERSION)
11478 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
11479 (STATDATA_VERSION_FULL): New macro definitions.
11480 (compilation): Remove.
11481 (struct statdata): Adjust version member.
11482 (send_stats): Set version from STATDATA_VERSION_FULL.
11483 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
11485 2017-10-05 Joseph Myers <joseph@codesourcery.com>
11487 * configure.ac (--enable-add-ons): Remove option.
11488 (machine): Do not mention add-ons in comment.
11489 (LIBC_PRECONFIGURE): Likewise.
11490 (add_ons): Remove variable and sanity checks and logic to locate
11492 (add_ons_automatic): Remove variable.
11493 (configured_add_ons): Likewise.
11494 (add_ons_sfx): Likewise.
11495 (add_ons_pfx): Likewise.
11496 (add_on_subdirs): Likewise.
11497 (sysnames_add_ons): Likewise. Remove loop over add-ons and
11498 consideration of add-ons in Implies handling.
11499 (sysdeps_add_ons): Likewise.
11500 * configure: Regenerated.
11501 * libidn/configure.ac: Remove.
11502 * libidn/configure: Likewise.
11503 * sysdeps/unix/inet/configure.ac: New file.
11504 * sysdeps/unix/inet/configure: New generated file.
11505 * sysdeps/unix/inet/Subdirs: Add libidn.
11506 * Makeconfig (sysdeps-srcdirs): Remove variable.
11507 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
11508 ($(common-objpfx)config.status): Do not depend on add-on files.
11509 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
11511 (all-subdirs): Do not include $(add-on-subdirs).
11512 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
11513 * config.make.in (add-ons): Remove variable.
11514 (add-on-subdirs): Likewise.
11515 (sysdeps-add-ons): Likewise.
11516 * manual/Makefile (add-chapters): Remove.
11517 ($(objpfx)texis): Do not depend on $(add-chapters).
11518 (nonexamples): Do not handle $(add-chapters).
11519 (examples): Do not handle $(add-ons).
11520 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
11522 * manual/install.texi (Installation): Do not mention add-ons.
11523 (--enable-add-ons): Do not document configure option.
11524 * INSTALL: Regenerated.
11525 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
11526 * manual/maint.texi (Hierarchy Conventions): Do not mention
11528 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
11530 * scripts/gen-sorted.awk: Do not handle Subdirs files from
11532 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
11533 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
11535 2017-10-05 Andreas Schwab <schwab@suse.de>
11538 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
11539 (_IO_flush_all_lockp): Always lock list_all_lock.
11540 (_IO_flush_all_linebuffered): Likewise.
11541 (_IO_unbuffer_all): Likewise.
11543 2017-10-05 Florian Weimer <fweimer@redhat.com>
11546 Do not flush stdio streams on abort.
11547 * stdlib/abort.c (fflush): Remove macro definition.
11548 (abort): Remove stages related to stdio flushing.
11550 2017-10-05 Florian Weimer <fweimer@redhat.com>
11552 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
11554 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
11556 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11558 2017-10-05 Florian Weimer <fweimer@redhat.com>
11560 * support/support_format_hostent.c (support_format_hostent): Add
11561 more error information for NETDB_INTERNAL.
11563 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
11565 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
11566 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
11567 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
11568 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
11569 AC_DEFINE if multi-arch is enabled.
11570 * sysdeps/i386/configure: Regenerated.
11572 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
11574 * Makeconfig (+link-static-before-libc): Use
11575 $(DEFAULT-LDFLAGS-$(@F)).
11576 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
11577 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
11578 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
11580 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
11582 * elf/Makefile (tests): Add tst-main1.
11583 (modules-names): Add tst-main1mod.
11584 ($(objpfx)tst-main1): New.
11585 (CRT-tst-main1): Likewise.
11586 (LDFLAGS-tst-main1): Likewise.
11587 (LDLIBS-tst-main1): Likewise.
11588 (tst-main1mod.so-no-z-defs): Likewise.
11589 * elf/tst-main1.c: New file.
11590 * elf/tst-main1mod.c: Likewise.
11592 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
11594 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
11596 2017-10-04 Joseph Myers <joseph@codesourcery.com>
11598 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
11599 (fma): Define using libm_alias_double.
11600 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
11601 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
11603 (fmal): Do not define as compat symbol here.
11604 * sysdeps/alpha/fpu/s_fma.c: New file.
11606 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
11608 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
11610 2017-10-04 Joseph Myers <joseph@codesourcery.com>
11613 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
11615 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
11617 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
11618 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
11619 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
11620 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
11621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
11622 Include <math_ldbl_opt.h>
11623 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
11625 (compat_symbol): Undefine and redefine.
11626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
11628 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
11629 (compat_symbol): Undefine and redefine.
11630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
11631 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
11632 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
11633 GLIBC_2_1 for libm.
11634 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
11635 GLIBC_2.0 copysignl symbol.
11636 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11637 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
11639 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
11641 2017-10-04 Florian Weimer <fweimer@redhat.com>
11643 * scripts/check-local-headers.sh: Ignore nspr4 header file
11644 directory in addition to nspr.
11646 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
11649 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
11650 * configure: Regenerate.
11651 * crypt/Makefile (nss-cpp-flags): New variable.
11652 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
11653 (CPPFLAGS-md5-crypt.c): Use it.
11654 * scripts/check-local-headers.sh: Ignore nspr header file
11657 2017-10-04 Andreas Schwab <schwab@suse.de>
11659 * nis/Makefile (services): Remove compat.
11660 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
11661 ($(objpfx)libnss_compat.so): Remove rule.
11662 * nis/Versions (libnss_compat): Remove.
11663 * nss/Makefile (services): Add compat.
11664 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
11665 * nss/Versions (libnss_compat): Define.
11666 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
11667 Don't include <rpc/types.h>. Replace bool_t by bool.
11668 * nss/nss_compat/compat-initgroups.c: Likewise.
11669 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
11670 instead of <rpcsrv/ypclnt.h>.
11671 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
11672 yp_get_default_domain.
11673 * nss/nss_compat/compat-pwd.c: Likewise.
11674 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
11675 yp_get_default_domain.
11676 * nss/nss_compat/nisdomain.c: New file.
11677 * nss/nss_compat/nisdomain.h: Likewise.
11679 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
11682 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
11683 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11685 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
11688 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
11689 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
11691 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11693 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
11694 "movl main@GOTOFF(%ebx), %eax".
11696 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11698 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
11699 allow undefined _DYNAMIC in PIE libc.a.
11700 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
11703 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11705 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
11708 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11710 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
11713 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11715 * math/test-math-iscanonical.cc (error): Replace bool with int.
11717 2017-10-03 Joseph Myers <joseph@codesourcery.com>
11719 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
11720 (modf): Define using libm_alias_double, only if [!__modf].
11721 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
11722 <libm-alias-double.h>.
11723 (modf): Define using libm_alias_double, only if [!__modf].
11724 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
11725 compat symbol here.
11726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
11727 (weak_alias): Do not undefine and redefine.
11728 (strong_alias): Likewise.
11729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
11730 (weak_alias): Likewise.
11731 (strong_alias): Likewise.
11733 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
11734 (logb): Define using libm_alias_double, only if [!__logb].
11735 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
11736 <libm-alias-double.h>.
11737 (logb): Define using libm_alias_double, only if [!__logb].
11738 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
11739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
11740 (weak_alias): Do not undefine and redefine.
11741 (strong_alias): Likewise.
11742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
11743 (weak_alias): Likewise.
11744 (strong_alias): Likewise.
11746 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11748 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
11749 Check SHARED instead PIC.
11751 2017-10-03 Joseph Myers <joseph@codesourcery.com>
11753 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
11754 [!__fmaf] (fmaf): Define using libm_alias_float.
11756 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
11757 (frexp): Define using libm_alias_double.
11758 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
11759 <libm-alias-double.h>.
11760 (frexp): Define using libm_alias_double.
11761 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
11762 compat symbol here.
11764 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11767 * math/math.h: Trivial fix for unbalanced parentheses in comment.
11768 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
11769 (CFLAGS-test-math-iscanonical.cc): New variable.
11770 * math/test-math-iscanonical.cc: New file.
11771 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
11772 Provide a C++ implementation based on function overloading,
11773 rather than using __MATH_TG, which uses C-only builtins.
11774 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
11776 * sysdeps/powerpc/powerpc64le/Makefile
11777 (CFLAGS-test-math-iscanonical.cc): New variable.
11779 2017-10-03 Joseph Myers <joseph@codesourcery.com>
11781 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
11782 (ceil): Define using libm_alias_double.
11783 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
11784 (floor): Define using libm_alias_double.
11785 * sysdeps/ieee754/dbl-64/s_llround.c: Include
11786 <libm-alias-double.h>.
11787 (llround): Define using libm_alias_double.
11788 * sysdeps/ieee754/dbl-64/s_lround.c: Include
11789 <libm-alias-double.h>.
11790 (lround): Define using libm_alias_double.
11791 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
11792 <libm-alias-double.h>.
11793 (nearbyint): Define using libm_alias_double.
11794 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
11795 <libm-alias-double.h>.
11796 (remquo): Define using libm_alias_double.
11797 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
11798 (rint): Define using libm_alias_double.
11799 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
11800 (round): Define using libm_alias_double.
11801 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
11802 (trunc): Define using libm_alias_double.
11803 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
11804 <libm-alias-double.h>.
11805 (ceil): Define using libm_alias_double.
11806 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
11807 <libm-alias-double.h>.
11808 (floor): Define using libm_alias_double.
11809 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
11810 <libm-alias-double.h>.
11811 (llround): Define using libm_alias_double.
11812 [_LP64] (lround): Likewise.
11813 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
11814 <libm-alias-double.h>.
11815 [!_LP64] (lround): Define using libm_alias_double.
11816 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
11817 <libm-alias-double.h>.
11818 (nearbyint): Define using libm_alias_double.
11819 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
11820 <libm-alias-double.h>.
11821 (remquo): Define using libm_alias_double.
11822 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
11823 <libm-alias-double.h>.
11824 (rint): Define using libm_alias_double.
11825 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
11826 <libm-alias-double.h>.
11827 (round): Define using libm_alias_double.
11828 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
11829 <libm-alias-double.h>.
11830 (trunc): Define using libm_alias_double.
11831 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
11832 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
11833 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
11834 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
11835 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
11836 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
11837 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
11838 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
11839 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
11841 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
11843 * math/w_remainder.c: New file.
11844 * math/w_remainderf.c: New file.
11845 * math/w_remainderl.c: New file.
11847 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11849 * elf/rtld.c (BOOTSTRAP_MAP): New.
11850 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
11851 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
11853 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
11855 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
11858 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11860 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
11861 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
11862 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
11863 rtld_hidden_data_ver): Define to empty.
11864 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
11865 __assert_perror_fail): Likewise.
11866 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
11867 (__rewinddir): Likewise.
11868 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
11869 (__profile_frequency): Likewise.
11870 * include/setjmp.h (__sigsetjmp): Likewise.
11871 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
11872 __libc_sigaction): Likewise.
11873 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
11874 not set hidden attribute.
11875 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
11876 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
11877 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
11878 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
11879 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
11880 __fxstatat64): Likewise.
11881 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
11882 (__uname): Likewise.
11883 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
11884 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
11885 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
11886 (NO_RTLD_HIDDEN): Set.
11887 * sysdeps/mach/hurd/configure: Refresh.
11888 * config.h.in: Refresh.
11890 2017-10-02 Joseph Myers <joseph@codesourcery.com>
11892 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
11893 (atan): Define using libm_alias_double.
11894 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
11895 (tan): Define using libm_alias_double.
11896 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
11897 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
11899 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
11900 define as weak alias of __atan. Do not define any aliases if
11902 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
11903 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
11904 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
11905 as weak alias of __tan. Do not define any aliases if [__tan].
11906 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
11907 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
11908 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
11910 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
11911 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
11912 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
11913 and define as weak alias of __atan.
11914 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
11916 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
11917 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
11918 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
11919 define as weak alias of __tan.
11921 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11923 * math/w_lgamma.c: New file.
11924 * math/w_lgammaf.c: New file.
11925 * math/w_lgammal.c: New file.
11927 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11929 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
11930 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
11931 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
11932 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
11933 * sysdeps/ieee754/flt-32/w_logf.c: New file.
11934 * sysdeps/ieee754/flt-32/w_powf.c: New file.
11935 * sysdeps/i386/fpu/w_log2f.c: New file.
11936 * sysdeps/i386/fpu/w_logf.c: New file.
11937 * sysdeps/i386/fpu/w_powf.c: New file.
11938 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
11939 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
11940 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
11942 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11943 H.J. Lu <hongjiu.lu@intel.com>
11945 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
11946 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
11947 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
11948 * sysdeps/ieee754/flt-32/w_expf.c: New file.
11949 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
11951 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
11952 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
11953 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
11954 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
11955 * sysdeps/i386/fpu/w_exp2f.c: New file.
11956 * sysdeps/i386/fpu/w_expf.c: New file.
11957 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
11958 * sysdeps/x86_64/fpu/w_expf.c: New file.
11960 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11962 * math/Versions (logf): New libm symbol at GLIBC_2.27.
11965 * math/w_log2f.c: New file.
11966 * math/w_logf.c: New file.
11967 * math/w_powf.c: New file.
11968 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
11969 * math/w_logf_compat.c (__logf_compat): Likewise.
11970 * math/w_powf_compat.c (__powf_compat): Likewise.
11971 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
11972 * sysdeps/ia64/fpu/e_logf.S: Likewise.
11973 * sysdeps/ia64/fpu/e_powf.S: Likewise.
11974 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
11975 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11976 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11977 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11978 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11979 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11980 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11981 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11982 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11983 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11984 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11985 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11994 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11995 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11996 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11997 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11998 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12003 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12004 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12005 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12007 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12009 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12010 (sysdep_routines): Add memrchr_power8.
12011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12012 (memrchr): Add __memrchr_power8 to list of memrchr functions.
12013 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
12015 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
12016 (memrchr): Add __memrchr_power8 to ifunc list.
12017 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
12019 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12022 * sysdeps/unix/sysv/linux/posix_fadvise64.c
12023 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
12025 * sysdeps/unix/sysv/linux/posix_fallocate64.c
12026 (__posix_fallocate64_l64): Likewise.
12028 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12031 * sysdeps/unix/sysv/linux/sched_setaffinity.c
12032 (__sched_setaffinity_new): Add libc_hidden_proto and
12035 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12038 * include/glob.h (__glob64): Add libc_hidden_proto.
12039 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
12042 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12045 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
12048 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12051 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
12053 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12056 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
12059 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12062 * csu/version.c (__libc_print_version): Add attribute_hidden.
12064 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12067 * include/libc-internal.h (__init_misc): Add attribute_hidden.
12069 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12072 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
12074 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12077 * nscd/nscd_helper.c (__nis_hash): New prototype.
12079 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12082 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
12083 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
12085 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12086 * termios/tcgetattr.c (__tcgetattr): Likewise.
12088 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12091 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
12092 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
12093 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
12094 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
12095 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
12097 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12100 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
12102 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12105 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
12106 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
12108 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12111 * intl/hash-string.h (__hash_string): Add attribute_hidden.
12113 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12116 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
12117 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
12119 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12122 * include/ifreq.h: New file.
12123 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
12124 (__ifreq): Likewise.
12125 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
12126 (__ifreq): Likewise.
12128 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12131 * include/idna.h: New file.
12132 * inet/getnameinfo.c: Include <idna.h> instead of
12134 (__idna_to_unicode_lzlz): Removed.
12135 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
12137 (__idna_to_ascii_lz): Removed.
12138 (__idna_to_unicode_lzlz): Likewise.
12140 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12143 * include/plural-exp.h: New file.
12144 * intl/plural-exp.c: Include <plural-exp.h> instead of
12147 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12150 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
12151 "getsourcefilter.h".
12152 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
12153 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
12154 "getsourcefilter.h".
12155 (__get_sol): Removed.
12157 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12160 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
12162 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
12164 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12167 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
12170 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12173 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
12175 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12178 * include/search.h (__tdestroy): Add libc_hidden_proto.
12179 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
12181 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12184 * include/assert.h (__assert_fail_base): Add attribute_hidden.
12186 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12189 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
12192 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12195 * include/signal.h (__kill): Add libc_hidden_proto.
12196 (__sigblock): Likewise.
12197 (__sigprocmask): Likewise.
12198 (__sigaltstack): Likewise.
12199 * signal/kill.c (__kill): Add libc_hidden_def.
12200 * signal/sigblock.c (__sigblock): Likewise.
12201 * signal/sigprocmask.c (__sigprocmask): Likewise.
12202 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
12203 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12204 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12205 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12206 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
12208 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12210 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12211 (__sigprocmask): Likewise.
12212 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
12214 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12215 (__sigprocmask): Likewise.
12216 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12219 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12222 * include/string.h (__strsep): Add libc_hidden_proto.
12223 * string/strsep.c (__strsep): Add libc_hidden_def.
12225 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12228 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
12230 (__spawni): Likewise.
12232 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12235 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
12236 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
12239 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12242 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
12244 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12247 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
12248 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
12249 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
12250 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
12251 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
12253 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
12254 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
12256 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12259 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
12260 (__dcigettext): Likewise.
12262 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12265 * include/sys/sysinfo.h (__get_nprocs_conf): Add
12267 (__get_nprocs): Likewise.
12268 (__get_phys_pages): Likewise.
12269 (__get_avphys_pages): Likewise.
12270 (__get_child_max): Add attribute_hidden.
12271 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
12272 (__get_nprocs): Likewise.
12273 (__get_phys_pages): Likewise.
12274 (__get_avphys_pages): Likewise.
12275 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
12277 (__get_nprocs): Likewise.
12278 (__get_phys_pages): Likewise.
12279 (__get_avphys_pages): Likewise.
12280 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
12282 (__get_nprocs_conf): Likewise.
12283 (__get_phys_pages): Likewise.
12284 (__get_avphys_pages): Likewise.
12286 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12289 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
12291 (__netlink_close): Likewise.
12292 (__netlink_free_handle): Likewise.
12293 (__netlink_request): Likewise.
12295 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12298 * include/rpc/rpc.h (__rpc_thread_variables): Add
12300 (__rpc_thread_svc_cleanup): Likewise.
12301 (__rpc_thread_clnt_cleanup): Likewise.
12302 (__rpc_thread_key_cleanup): Likewise.
12304 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12307 * include/sys/uio.h (__readv): Add libc_hidden_proto.
12308 (__writev): Likewise.
12309 * misc/readv.c (__readv): Add libc_hidden_def.
12310 * misc/writev.c (__writev): Likewise.
12311 * sysdeps/posix/readv.c (__readv): Likewise.
12312 * sysdeps/posix/writev.c (__writev): Likewise.
12313 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
12314 (__readv): Likewise.
12315 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
12316 (__writev): Likewise.
12318 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12321 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
12322 (__regcomp): Add libc_hidden_proto.
12323 (__regexec): Likewise.
12324 (__regfree): Likewise.
12325 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
12326 (__regfree): Likewise.
12327 * posix/regexec.c (__regexec): Likewise.
12329 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12332 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
12333 (__getutent): Likewise.
12334 (__getutid): Likewise.
12335 (__getutline): Likewise.
12336 (__pututline): Likewise.
12337 (__getutent_r): Likewise.
12338 (__getutid_r): Likewise.
12339 (__getutline_r): Likewise.
12340 (__utmpname): Add attribute_hidden.
12341 (__setutent): Likewise.
12342 (__endutent): Likewise.
12343 * login/getutent.c (__getutent): Add libc_hidden_def.
12344 * login/getutent_r.c (__getutent_r): Likewise.
12345 (__pututline): Likewise.
12346 * login/getutid.c (__getutid): Likewise.
12347 * login/getutid_r.c (__getutid_r): Likewise.
12348 * login/getutline.c (__getutline): Likewise.
12349 * login/getutline_r.c (__getutline_r): Likewise.
12350 * login/updwtmp.c (__updwtmp): Likewise.
12352 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12355 * include/dirent.h (__opendir): Always add attribute_hidden.
12356 (__fdopendir): Likewise.
12357 (__closedir): Likewise.
12358 (__readdir): Likewise.
12359 (__readdir64): Add libc_hidden_proto.
12360 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
12361 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
12362 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
12363 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
12366 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12369 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
12370 * include/netdb.h (__gethostbyaddr_r): Likewise.
12371 (__gethostbyname_r): Likewise.
12372 (__gethostbyname2_r): Likewise.
12373 (__getnetbyaddr_r): Likewise.
12374 (__getnetbyname_r): Likewise.
12375 (__getservbyname_r): Likewise.
12376 (__getservbyport_r): Likewise.
12377 (__getprotobyname_r): Likewise.
12378 (__getprotobynumber_r): Likewise.
12379 (__getnetgrent_r): Likewise.
12380 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
12381 (__getrpcbynumber_r): Likewise.
12382 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
12384 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12387 * include/stdio.h (__fcloseall): Add attribute_hidden.
12388 (__getline): Likewise.
12389 (__path_search): Likewise.
12390 (__gen_tempname): Likewise.
12391 (__libc_message): Likewise.
12392 (__flockfile): Likewise.
12393 (__funlockfile): Likewise.
12394 (__fxprintf): Likewise.
12395 (__fxprintf_nocancel): Likewise.
12397 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12400 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
12401 (__sgetsgent_r): Likewise.
12403 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12406 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
12407 (__statfs64): Likewise.
12408 (__fstatfs64): Likewise.
12409 * include/sys/statvfs.h (__statvfs64): Likewise.
12410 (__fstatvfs64): Likewise.
12411 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
12412 (__statfs_filesize_max): Likewise.
12413 (__statfs_symlinks): Likewise.
12414 (__statfs_chown_restricted): Likewise.
12416 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12419 * include/time.h (__tzstring): Add attribute_hidden.
12420 (__tzfile_read): Likewise.
12421 (__tzfile_compute): Likewise.
12422 (__tzfile_default): Likewise.
12423 (__tzset_parse_tz): Likewise.
12424 (__offtime): Likewise.
12425 (__asctime_r): Likewise.
12426 (__tzset): Likewise.
12427 (__tz_convert): Likewise.
12428 (__getdate_r): Likewise.
12429 (__getclktck): Likewise.
12431 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12434 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
12435 (__nscd_unmap): Likewise.
12436 (__nscd_cache_search): Likewise.
12437 (__nscd_get_nl_timestamp): Likewise.
12438 (__nscd_getpwnam_r): Likewise.
12439 (__nscd_getpwuid_r): Likewise.
12440 (__nscd_getgrnam_r): Likewise.
12441 (__nscd_getgrgid_r): Likewise.
12442 (__nscd_gethostbyname_r): Likewise.
12443 (__nscd_gethostbyname2_r): Likewise.
12444 (__nscd_gethostbyaddr_r): Likewise.
12445 (__nscd_getai): Likewise.
12446 (__nscd_getgrouplist): Likewise.
12447 (__nscd_getservbyname_r): Likewise.
12448 (__nscd_getservbyport_r): Likewise.
12449 (__nscd_innetgr): Likewise.
12450 (__nscd_setnetgrent): Likewise.
12452 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12455 * include/gmp.h: Declare internal functions only if _ISOMAC is
12457 (__mpn_extract_double): Add attribute_hidden.
12458 (__mpn_extract_long_double): Likewise.
12459 (__mpn_extract_float128): Likewise.
12460 (__mpn_construct_float): Likewise.
12461 (__mpn_construct_double): Likewise.
12462 (__mpn_construct_long_double): Likewise.
12463 (__mpn_construct_float128): Likewise.
12464 (mpn_add_1): Likewise.
12465 (mpn_addmul_1): Likewise.
12466 (mpn_add_n): Likewise.
12467 (mpn_cmp): Likewise.
12468 (mpn_divrem): Likewise.
12469 (mpn_lshift): Likewise.
12470 (mpn_mul): Likewise.
12471 (mpn_mul_1): Likewise.
12472 (mpn_rshift): Likewise.
12473 (mpn_sub_1): Likewise.
12474 (mpn_submul_1): Likewise.
12475 (mpn_sub_n): Likewise.
12477 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12480 * include/wchar.h (__wcsnlen): Add attribute_hidden.
12481 (__wcscat): Likewise.
12482 (__btowc): Likewise.
12483 (__wcrtomb): Likewise.
12484 (__mbsrtowcs): Likewise.
12485 (__wcsrtombs): Likewise.
12486 (__mbsnrtowcs): Likewise.
12487 (__wcsnrtombs): Likewise.
12488 (__wcsncpy): Likewise.
12489 (__wcpncpy): Likewise.
12490 (__wmemcpy): Likewise.
12491 (__wmempcpy): Likewise.
12492 (__wmemmove): Likewise.
12493 (__wcschrnul): Likewise.
12494 (__vfwscanf): Likewise.
12495 (__vswprintf): Likewise.
12496 (__fwprintf): Likewise.
12497 (__vfwprintf): Likewise.
12499 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12502 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
12503 (__getgrgid_r): Likewise.
12504 (__getgrnam_r): Likewise.
12505 * include/pwd.h (__getpwuid_r): Likewise.
12506 (__getpwnam_r): Likewise.
12507 (__fgetpwent_r): Likewise.
12508 * include/shadow.h (__getspnam_r): Likewise.
12509 (__sgetspent_r): Likewise.
12510 (__fgetspent_r): Likewise.
12512 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12515 * include/unistd.h (__access): Add attribute_hidden.
12516 (__lseek64): Likewise.
12517 (__libc_pread64): Likewise.
12518 (__pipe2): Likewise.
12519 (__sleep): Likewise.
12520 (__chdir): Likewise.
12521 (__fchdir): Likewise.
12522 (__getcwd): Likewise.
12523 (__rmdir): Likewise.
12524 (__execvpe): Likewise.
12525 (__execve): Likewise.
12526 (__setsid): Likewise.
12527 (__getuid): Likewise.
12528 (__geteuid): Likewise.
12529 (__getgid): Likewise.
12530 (__getegid): Likewise.
12531 (__getgroups): Likewise.
12532 (__group_member): Likewise.
12533 (__ttyname_r): Likewise.
12534 (__isatty): Likewise.
12535 (__readlink): Likewise.
12536 (__unlink): Likewise.
12537 (__gethostname): Likewise.
12538 (__profil): Likewise.
12539 (__getdtablesize): Likewise.
12541 (__ftruncate): Likewise.
12542 (__ftruncate64): Likewise.
12544 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12547 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
12548 * argp/argp-fs-xinl.c: Likewise.
12549 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
12550 * argp/argp-parse.c: Include <argp.h>.
12551 * argp/argp-xinl.c: Likewise.
12552 * include/argp-fmtstream.h: New file.
12553 * include/argp.h (__argp_error): Add attribute_hidden.
12554 (__argp_failure): Likewise.
12555 (__argp_input): Likewise.
12556 (__argp_state_help): Likewise.
12558 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12561 * include/wchar.h (____wcstof_l_internal): New prototype.
12562 (____wcstod_l_internal): Likewise.
12563 (____wcstold_l_internal): Likewise.
12564 (____wcstol_l_internal): Likewise.
12565 (____wcstoul_l_internal): Likewise.
12566 (____wcstoll_l_internal): Likewise.
12567 (____wcstoull_l_internal): Likewise.
12568 (____wcstof128_l_internal): Likewise.
12569 * sysdeps/ieee754/float128/wcstof128.c
12570 (____wcstof128_l_internal): Removed.
12571 * sysdeps/ieee754/float128/wcstof128_l.c
12572 (____wcstof128_l_internal): Likewise.
12573 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
12574 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
12575 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
12576 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
12577 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
12578 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
12579 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
12580 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
12581 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
12582 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
12584 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12587 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
12588 instead of <sys/statvfs.h>.
12589 (__internal_statvfs): Removed.
12590 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
12591 instead of <sys/statvfs.h>.
12592 (__internal_statvfs64): Removed.
12593 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
12594 "internal_statvfs.h" instead of <sys/statvfs.h>.
12595 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
12596 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
12597 instead of <sys/statvfs.h>.
12598 (__internal_statvfs): Removed.
12599 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
12600 instead of <sys/statvfs.h>.
12601 (__internal_statvfs64): Removed.
12603 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12606 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
12607 (__gconv_close): Likewise.
12608 (__gconv): Likewise.
12609 (__gconv_find_transform): Likewise.
12610 (__gconv_lookup_cache): Likewise.
12611 (__gconv_compare_alias_cache): Likewise.
12612 (__gconv_load_cache): Likewise.
12613 (__gconv_get_path): Likewise.
12614 (__gconv_close_transform): Likewise.
12615 (__gconv_release_cache): Likewise.
12616 (__gconv_find_shlib): Likewise.
12617 (__gconv_release_shlib): Likewise.
12618 (__gconv_get_builtin_trans): Likewise.
12619 (__gconv_compare_alias): Likewise.
12620 * include/dlfcn.h (_dlerror_run): Likewise.
12621 * include/stdio.h (__fortify_fail_abort): Likewise.
12622 * include/time.h (__tz_compute): Likewise.
12623 (__strptime_internal): Likewise.
12624 * intl/gettextP.h (_nl_find_domain): Likewise.
12625 (_nl_load_domain): Likewise.
12626 (_nl_find_msg): Likewise.
12627 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
12628 (EXTRACT_PLURAL_EXPRESSION): Likewise.
12629 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
12630 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
12631 (__gai_find_request): Likewise.
12632 (__gai_remove_request): Likewise.
12633 (__gai_notify): Likewise.
12634 (__gai_notify_only): Likewise.
12635 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
12636 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
12637 (_dl_non_dynamic_init): Likewise.
12638 (_dl_aux_init): Likewise.
12639 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
12640 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
12642 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
12643 (__wcsmbs_clone_conv): Likewise.
12644 (__wcsmbs_named_conv): Likewise.
12646 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12649 * include/stdlib.h (__random): Add attribute_hidden.
12650 (__random_r): Likewise.
12651 (__srandom_r): Likewise.
12652 (__initstate_r): Likewise.
12653 (__setstate_r): Likewise.
12654 (__erand48_r): Likewise.
12655 (__nrand48_r): Likewise.
12656 (__jrand48_r): Likewise.
12657 (__srand48_r): Likewise.
12658 (__seed48_r): Likewise.
12659 (__lcong48_r): Likewise.
12660 (__drand48_iterate): Likewise.
12661 (__setenv): Likewise.
12662 (__unsetenv): Likewise.
12663 (__clearenv): Likewise.
12664 (__ptsname_r): Likewise.
12665 (__posix_openpt): Likewise.
12666 (__add_to_environ): Likewise.
12667 (__realpath): Add libc_hidden_proto.
12668 (__ecvt_r): Likewise.
12669 (__fcvt_r): Likewise.
12670 (__qecvt_r): Likewise.
12671 (__qfcvt_r): Likewise.
12672 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
12673 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
12675 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12678 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
12679 * include/time.h (__mktime_internal): Likewise.
12680 * libio/iolibio.h (__fopen_internal): Likewise.
12682 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
12684 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
12686 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
12687 Correct offset used to restore PIC register.
12689 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
12692 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
12693 code to load address of __getcontext_ret when generating PIC code.
12695 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
12697 * elf/Makefile (tests-static-internal): Add
12698 tst-tls1-static-non-pie.
12699 (LDFLAGS-tst-tls1-static-non-pie): New.
12700 * elf/tst-tls1-static-non-pie.c: New file.
12702 2017-09-29 Joseph Myers <joseph@codesourcery.com>
12704 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
12705 (asinh): Define using libm_alias_double.
12706 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
12707 (cbrt): Define using libm_alias_double.
12708 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
12709 <libm-alias-double.h>.
12710 (copysign): Define using libm_alias_double.
12711 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
12712 (erf): Define using libm_alias_double.
12714 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
12715 (expm1): Define using libm_alias_double.
12716 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
12717 (fabs): Define using libm_alias_double.
12718 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
12720 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
12721 <libm-alias-double.h>.
12722 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
12724 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
12725 <libm-alias-double.h>.
12726 (getpayload): Define using libm_alias_double.
12727 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
12728 <libm-alias-double.h>.
12729 (llrint): Define using libm_alias_double.
12730 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
12731 (lrint): Define using libm_alias_double.
12732 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
12733 <libm-alias-double.h>.
12734 (nextup): Define using libm_alias_double.
12735 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
12736 <libm-alias-double.h>.
12737 (roundeven): Define using libm_alias_double.
12738 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
12740 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
12741 <libm-alias-double.h>.
12742 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
12743 using libm_alias_double.
12744 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
12745 (cos): Define using libm_alias_double.
12747 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
12748 <libm-alias-double.h>.
12749 (sincos): Define using libm_alias_double.
12750 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
12751 (tanh): Define using libm_alias_double.
12752 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
12753 <libm-alias-double.h>.
12754 (totalorder): Define using libm_alias_double.
12755 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
12756 <libm-alias-double.h>.
12757 (totalordermag): Define using libm_alias_double.
12758 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
12760 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
12762 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
12763 <libm-alias-double.h>.
12764 (getpayload): Define using libm_alias_double.
12765 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
12766 <libm-alias-double.h>.
12767 (roundeven): Define using libm_alias_double.
12768 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
12769 <libm-alias-double.h>.
12770 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
12771 <libm-alias-double.h>.
12772 (totalorder): Define using libm_alias_double.
12773 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
12774 <libm-alias-double.h>.
12775 (totalordermag): Define using libm_alias_double.
12776 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
12777 libc compat symbol here.
12778 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
12779 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
12780 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
12781 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
12782 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
12783 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
12784 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
12785 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
12786 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
12787 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
12789 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
12791 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
12792 _dl_relocate_static_pie instead of _dl_start to compute load
12793 address in static PIE. Return 0 if _DYNAMIC is undefined for
12796 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
12798 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
12799 _DYNAMIC is undefined for static executable.
12801 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
12803 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
12805 2017-09-29 Joseph Myers <joseph@codesourcery.com>
12807 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12809 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
12811 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
12812 (__ieee754_lgamma_r): Use fabs rather than __fabs.
12813 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12814 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12815 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
12816 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
12817 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
12818 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
12819 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
12820 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
12821 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
12822 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12823 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
12824 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
12825 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12826 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12827 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
12829 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
12831 * math/bits/cmathcalls.h (cimag): Remove inline.
12832 (creal): Remove inline.
12833 (conj): Remove inline.
12835 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
12837 * math/Makefile (type-float-routines): Add e_powf_log2_data.
12838 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
12839 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
12840 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
12841 (issignalingf_inline): Likewise.
12842 (POWF_LOG2_TABLE_BITS): Likewise.
12843 (POWF_LOG2_POLY_ORDER): Likewise.
12844 (POWF_SCALE_BITS): Likewise.
12845 (POWF_SCALE): Likewise.
12846 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
12847 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
12848 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
12850 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
12852 * math/Makefile (type-float-routines): Add e_log2f_data.
12853 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
12854 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
12855 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
12856 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
12857 * sysdeps/i386/fpu/e_log2f_data.c: New file.
12858 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
12859 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
12861 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
12863 * math/Makefile (type-float-routines): Add e_logf_data.
12864 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
12865 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
12866 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
12867 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
12868 * sysdeps/i386/fpu/e_logf_data.c: New file.
12869 * sysdeps/ia64/fpu/e_logf_data.c: New file.
12870 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
12872 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
12874 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
12875 undefined _DYNAMIC in PIE libc.a.
12876 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
12879 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
12881 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
12882 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
12883 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
12884 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
12885 (__signbit): Remove.
12886 (__signbitl): Remove.
12887 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
12888 (__signbit): Remove.
12889 (__signbitl): Remove.
12890 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
12891 (__signbit): Remove.
12892 (__signbitl): Remove.
12893 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
12894 (__signbit): Remove.
12895 (__signbitl): Remove.
12896 * sysdeps/tile/bits/mathinline.h: Delete file.
12897 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
12898 (__signbit): Remove.
12899 (__signbitl): Remove.
12901 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
12903 * math/math.h: Improve handling of C99 isgreater macros.
12904 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
12905 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
12906 * sysdeps/powerpc/bits/mathinline.h: Likewise.
12907 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12908 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
12910 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12912 * sysdeps/aarch64/libm-test-ulps: Update.
12914 2017-09-28 Joseph Myers <joseph@codesourcery.com>
12917 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12918 math_opt_barrier on argument when doing arithmetic on it.
12919 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12920 Likewise. Use math_force_eval not math_opt_barrier after
12922 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
12923 math_opt_barrier on argument when doing arithmetic on it.
12924 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12927 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
12929 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
12931 (__freeifaddrs): Likewise.
12933 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12935 * include/dirent.h (__dirfd): New declaration.
12936 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
12938 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
12939 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
12940 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
12941 * include/unistd.h (__revoke): New declaration.
12942 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
12944 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12945 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
12947 * include/dirent.h (__seekdir): New declaration.
12948 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
12949 redefine as weak alias.
12950 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
12952 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
12953 and use libc_hidden_def on them.
12954 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
12956 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
12957 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
12958 instead of getifaddrs and freeifaddrs.
12960 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
12963 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
12964 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
12965 (__dso_handle): Remove declaration.
12966 * dlfcn/tstatexit.c (__dso_handle): Removed.
12967 (main): Don't check __dso_handle.
12968 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
12969 (main): Don't check __dso_handle.
12970 * include/dso_handle.h: New file.
12971 * malloc/mtrace.c: Include <dso_handle.h>.
12972 (mtrace): Pass __dso_handle directly.
12973 * nptl/pthread_atfork.c: Include <dso_handle.h>.
12974 (__dso_handle): Remove declaration.
12975 (__pthread_atfork): Pass __dso_handle directly.
12976 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
12977 (__dso_handle): Removed.
12978 * posix/wordexp-test.c: Include <dso_handle.h>.
12979 (__dso_handle): Remove declaration.
12980 (__app_register_atfork): Pass __dso_handle directly.
12981 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
12982 (__dso_handle): Remove declaration.
12983 (at_quick_exit): Pass __dso_handle directly.
12984 * stdlib/atexit.c: Include <dso_handle.h>.
12985 (__dso_handle): Remove declaration.
12986 (atexit): Pass __dso_handle directly.
12987 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
12988 (__dso_handle): Removed.
12990 2017-09-26 Joseph Myers <joseph@codesourcery.com>
12992 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
12995 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
12997 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
12998 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
12999 values to correct default value for given type.
13001 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
13004 * elf/Makefile (tests): Add tst-debug1.
13005 ($(objpfx)tst-debug1): New.
13006 ($(objpfx)tst-debug1.out): Likewise.
13007 ($(objpfx)tst-debug1mod1.so): Likewise.
13008 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
13009 with p_filesz == 0.
13010 * elf/tst-debug1.c: New file.
13012 2017-09-26 Joseph Myers <joseph@codesourcery.com>
13014 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
13015 Define using __ifunc.
13017 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13019 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
13022 2017-09-26 Joseph Myers <joseph@codesourcery.com>
13025 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
13027 2017-09-26 Florian Weimer <fweimer@redhat.com>
13029 * resolv/Makefile (tests-internal): Fix typo in comment.
13031 2017-09-26 Florian Weimer <fweimer@redhat.com>
13033 * resolv/nss_dns/dns-host.c: Fix typo in comment.
13035 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13037 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
13038 Use an union instead of a max_align_t array for __space,
13039 so that __space is the same size on all platforms.
13040 * malloc/scratch_buffer_grow_preserve.c
13041 (__libc_scratch_buffer_grow_preserve): Likewise.
13044 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
13046 * posix/Makefile (routines): Add glob-lstat-compat and
13047 glob64-lstat-compat.
13048 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
13049 * posix/glob-lstat-compat.c: New file.
13050 * posix/glob64-lstat-compat.c: Likewise.
13051 * posix/tst-glob_lstat_compat.c: Likewise.
13052 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
13053 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
13054 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
13055 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
13057 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
13058 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
13059 * posix/glob.c (glob_lstat): New function.
13060 (glob): Rename to __glob and add versioned symbol to 2.27.
13061 (glob_in_dir): Use glob_lstat.
13062 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
13063 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13064 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
13066 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
13067 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
13068 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
13069 gl_lstat on glob call.
13070 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
13071 and glob64 symbols.
13072 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13073 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13074 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13075 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13076 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13077 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13078 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13079 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13080 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13081 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13082 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13083 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13086 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13088 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13089 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13090 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13091 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13092 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13095 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13096 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13097 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13099 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
13101 * configure.ac (AS): Require binutils 2.25 or later.
13102 * configure: Regenerated.
13104 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
13107 * stdlib/test-atexit-race-common.c (do_test): Minimize required
13110 2017-09-25 DJ Delorie <dj@redhat.com>
13113 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
13116 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13118 * sysdeps/ieee754/dbl-64/sincos32.h
13119 [SINCCOS32_H]: Remove define.
13120 [SINCOS32_H]: Define.
13122 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
13124 * math/Versions (expf): New libm symbol at GLIBC_2.27.
13126 * math/w_exp2f.c: New file.
13127 * math/w_expf.c: New file.
13128 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
13129 * math/w_expf_compat.c (__expf_compat): Likewise.
13130 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
13131 * sysdeps/ia64/fpu/e_expf.S: Likewise.
13132 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
13133 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13134 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13135 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13136 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13137 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13138 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13139 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13140 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13141 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13142 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13143 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13152 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13153 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13154 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13155 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13156 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13161 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13162 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13163 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13165 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
13167 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
13168 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
13169 (roundtoint, converttoint): Likewise.
13170 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
13171 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
13172 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
13173 * sysdeps/ieee754/flt-32/math_config.h: New file.
13174 * sysdeps/ieee754/flt-32/math_errf.c: New file.
13175 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
13176 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
13177 * sysdeps/i386/fpu/math_errf.c: New file.
13178 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
13179 * sysdeps/ia64/fpu/math_errf.c: New file.
13180 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
13181 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
13183 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
13185 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
13186 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
13187 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
13188 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
13189 to make sure that these symbols are defined.
13190 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
13192 (__need_NULL): Do not define.
13193 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
13195 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
13196 CMGROUP_MAX, cmsgcred): Do not define.
13197 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
13199 * bits/socket.h: Likewise.
13200 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
13201 __gettimeofday instead of gettimeofday.
13202 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
13203 instead of settimeofday.
13205 2017-09-22 Joseph Myers <joseph@codesourcery.com>
13207 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
13208 (asinhf): Define using libm_alias_float.
13209 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
13210 (atanf): Define using libm_alias_float.
13211 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
13212 (cbrtf): Define using libm_alias_float.
13213 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
13214 (ceilf): Define using libm_alias_float.
13215 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
13216 <libm-alias-float.h>.
13217 (copysignf): Define using libm_alias_float.
13218 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
13219 (cosf): Define using libm_alias_float.
13220 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
13221 (erff): Define using libm_alias_float.
13223 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
13224 (expm1f): Define using libm_alias_float.
13225 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
13226 (fabsf): Define using libm_alias_float.
13227 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
13228 (floorf): Define using libm_alias_float.
13229 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
13230 (frexpf): Define using libm_alias_float.
13231 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
13233 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
13234 <libm-alias-float.h>.
13235 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
13237 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
13238 <libm-alias-float.h>.
13239 (getpayloadf): Define using libm_alias_float.
13240 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
13241 <libm-alias-float.h>.
13242 (llrintf): Define using libm_alias_float.
13243 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
13244 <libm-alias-float.h>.
13245 (llroundf): Define using libm_alias_float.
13246 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
13247 (logbf): Define using libm_alias_float.
13248 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
13249 (lrintf): Define using libm_alias_float.
13250 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
13251 (lroundf): Define using libm_alias_float.
13252 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
13253 (modff): Define using libm_alias_float.
13254 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
13255 <libm-alias-float.h>.
13256 (nearbyintf): Define using libm_alias_float.
13257 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
13258 <libm-alias-float.h>.
13259 (nextafterf): Define using libm_alias_float.
13260 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
13261 <libm-alias-float.h>.
13262 (nextupf): Define using libm_alias_float.
13263 * sysdeps/ieee754/flt-32/s_remquof.c: Include
13264 <libm-alias-float.h>.
13265 (remquof): Define using libm_alias_float.
13266 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
13267 (rintf): Define using libm_alias_float.
13268 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
13269 <libm-alias-float.h>.
13270 (roundevenf): Define using libm_alias_float.
13271 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
13272 (roundf): Define using libm_alias_float.
13273 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
13274 using libm_alias_float.
13275 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
13276 <libm-alias-float.h>.
13277 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
13278 Define using libm_alias_float.
13279 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
13280 <libm-alias-float.h>.
13281 (sincosf): Define using libm_alias_float.
13282 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
13283 (sinf): Define using libm_alias_float.
13284 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
13285 (tanf): Define using libm_alias_float.
13286 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
13287 (tanhf): Define using libm_alias_float.
13288 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
13289 <libm-alias-float.h>.
13290 (totalorderf): Define using libm_alias_float.
13291 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
13292 <libm-alias-float.h>.
13293 (totalordermagf): Define using libm_alias_float.
13294 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
13295 (truncf): Define using libm_alias_float.
13296 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
13298 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
13301 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13304 math/math.h: Let fpclassify use the builtin in C++ mode, even
13305 when optimazing for size.
13307 2017-09-22 Joseph Myers <joseph@codesourcery.com>
13309 * csu/Makefile (generated): Do not add version-info.h.
13310 (before-compile): Likewise.
13311 (all-Banner-files): Remove variable.
13312 ($(objpfx)version-info.h): Remove rule.
13313 * csu/version.c (banner): Do not include "version-info.h".
13314 * libidn/Banner: Remove.
13315 * manual/contrib.texi (Simon Josefsson): New entry.
13317 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13319 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13320 Remove conditionals on LDBL_MANT_DIG.
13321 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
13322 (__ieee754_lgammal_r): Likewise.
13324 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13326 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
13328 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
13329 _Float128 and L(). Replace _Float128 with long double and L(x)
13330 with xL, throughout the file.
13331 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13332 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
13333 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
13334 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
13336 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13338 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
13339 sysdeps/ieee754/ldbl-128ibm.
13340 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
13341 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
13342 of including it. Keep _Float128 and L() intact. These will be
13343 reviewed by a separate patch.
13344 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13345 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
13346 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
13347 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
13349 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
13352 (__finitef128): Define to __redirect___finitef128.
13353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
13354 (__isinff128): Define to __redirect___isinff128.
13355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
13356 (__isnanf128): Define to __redirect___isnanf128.
13358 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13360 * sysdeps/powerpc/powerpc64le/Makefile
13361 (CFLAGS-tst-strtod-nan-locale.c): New variable.
13362 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
13364 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
13365 Carlos O'Donell <carlos@redhat.com>
13368 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
13369 * stdlib/test-dlclose-exit-race.c: New file.
13370 * stdlib/test-dlclose-exit-race-helper.c: New file.
13371 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
13373 2017-09-21 Joseph Myers <joseph@codesourcery.com>
13375 * crypt/Banner: Remove file.
13376 * nptl/Banner: Likewise.
13377 * resolv/Banner: Likewise.
13378 * soft-fp/Banner: Likewise.
13379 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
13380 ($(objpfx)version.d): Remove dependency on banner.h.
13381 ($(objpfx)version.os): Likewise.
13382 * nptl/version.c (banner): Do not include banner.h.
13383 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
13384 Jelinek and BIND code.
13386 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
13387 Carlos O'Donell <carlos@redhat.com>
13389 * support/xdlfcn.h: New file.
13390 * support/xdlfcn.c: New file.
13391 * support/Makefile (libsupport-routines): Add xdlfcn.
13392 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
13394 2017-09-20 Joseph Myers <joseph@codesourcery.com>
13397 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13398 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
13399 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
13400 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
13401 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
13402 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
13403 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
13404 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
13406 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
13407 Ricky Zhou <rickyz@google.com>
13408 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
13411 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
13413 (__new_exitfn): Fail registration when we finished at_exit processing.
13414 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13415 * stdlib/on_exit.c (__on_exit): Likewise.
13416 * stdlib/exit.c (__exit_funcs_done): New variable.
13417 (__run_exit_handlers): Use __exit_funcs_lock.
13418 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
13420 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
13421 (test-cxa_atexit-race, test-on_exit-race): New tests.
13422 * stdlib/test-atexit-race-common.c: New file.
13423 * stdlib/test-atexit-race.c: New file.
13424 * stdlib/test-at_quick_exit-race.c: New file.
13425 * stdlib/test-cxa_atexit-race.c: New file.
13426 * stdlib/test-on_exit-race.c: New file.
13428 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
13430 * benchtests/Makefile: Add exp2f and log2f benchmarks.
13431 * benchtests/exp2f-inputs: Copy of expf-inputs.
13432 * benchtests/log2f-inputs: Copy of logf-inputs.
13434 2017-09-19 Joseph Myers <joseph@codesourcery.com>
13436 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
13437 Explicitly take address of first element of array arguments in
13438 call to INLINE_SYSCALL.
13440 2017-09-19 Andreas Schwab <schwab@suse.de>
13443 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
13445 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
13447 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
13448 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
13449 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13450 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
13451 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13452 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
13453 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13454 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
13455 * posix/Makefile (tests): Add tst-fexecve.
13456 * posix/tst-fexecve.c: New file.
13458 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
13460 * benchtests/Makefile: Add logf benchmark.
13461 * benchtests/logf-inputs: Add reduced trace from wrf_r.
13463 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
13465 * benchtests/Makefile: Add expf benchmark.
13466 * benchtests/expf-inputs: Add reduced trace from wrf_r.
13468 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
13470 * csu/Makefile: Add -funwind-tables to libc-start.c.
13471 * debug/Makefile: Add -funwind-tables to backtrace.c.
13472 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
13473 * sysdeps/arm/Makefile: Likewise.
13474 * sysdeps/i386/Makefile: Likewise.
13475 * sysdeps/m68k/Makefile: Likewise.
13476 * sysdeps/mips/Makefile: Likewise.
13477 * sysdeps/nios2/Makefile: Likewise.
13478 * sysdeps/sh/Makefile: Likewise.
13479 * sysdeps/sparc/Makefile: Likewise.
13481 2017-09-19 Joseph Myers <joseph@codesourcery.com>
13483 * benchtests/Makefile (bench-math): Add trunc and truncf.
13484 (CFLAGS-bench-trunc.c): New variable.
13485 (CFLAGS-bench-truncf.c): Likewise.
13486 * benchtests/trunc-inputs: New file.
13487 * benchtests/truncf-inputs: Likewise.
13489 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13491 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
13493 2017-09-18 Joseph Myers <joseph@codesourcery.com>
13495 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
13496 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
13498 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
13499 (exp10l): Define as weak alias.
13500 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
13501 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
13503 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
13504 (remainderl): Define as weak alias.
13506 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
13507 (fmal): Define using libm_alias_ldouble.
13508 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
13509 (acoshl): Define using libm_alias_ldouble.
13510 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
13511 (acosl): Define using libm_alias_ldouble.
13512 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
13513 (asinl): Define using libm_alias_ldouble.
13514 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
13515 (atan2l): Define using libm_alias_ldouble.
13516 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
13517 (atanhl): Define using libm_alias_ldouble.
13518 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
13519 (coshl): Define using libm_alias_ldouble.
13520 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
13521 (exp10l): Define using libm_alias_ldouble.
13522 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
13523 (exp2l): Define using libm_alias_ldouble.
13524 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
13525 (expl): Define using libm_alias_ldouble.
13526 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
13527 (fmodl): Define using libm_alias_ldouble.
13528 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
13529 (hypotl): Define using libm_alias_ldouble.
13530 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
13531 (j0l): Define using libm_alias_ldouble.
13533 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
13534 (j1l): Define using libm_alias_ldouble.
13536 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
13537 (jnl): Define using libm_alias_ldouble.
13539 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
13540 (log10l): Define using libm_alias_ldouble.
13541 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
13542 (log2l): Define using libm_alias_ldouble.
13543 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
13544 (logl): Define using libm_alias_ldouble.
13545 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
13546 (powl): Define using libm_alias_ldouble.
13547 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
13548 (remainderl): Define using libm_alias_ldouble.
13549 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
13550 (sinhl): Define using libm_alias_ldouble.
13551 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
13552 (sqrtl): Define using libm_alias_ldouble.
13553 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
13554 (tgammal): Define using libm_alias_ldouble.
13555 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
13556 (exp10l): Do not use long_double_symbol here.
13557 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
13558 [LIBM_SVID_COMPAT] (remainderl): Likewise.
13559 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
13560 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
13561 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
13562 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
13563 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
13564 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
13565 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
13566 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
13567 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
13568 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
13569 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
13570 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
13571 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
13572 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
13573 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
13574 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
13575 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
13576 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
13577 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
13578 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
13580 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
13582 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
13583 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
13585 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13587 * io/read.c (read): Add libc_hidden_weak.
13588 * sysdeps/mach/hurd/read.c (read): Likewise.
13589 * io/write.c (write): Likewise.
13590 * sysdeps/mach/hurd/write.c (write): Likewise.
13591 * io/pread64.c (__pread64): Likewise.
13592 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
13593 * posix/pread64.c (__pread64): Add libc_hidden_def.
13595 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13597 * benchtests/scripts/compare_strings.py: New option -g.
13598 (draw_graph): Print a message that a graph is being generated.
13599 (process_results): Generate graph only if -g is passed.
13600 (main): Process option -g.
13602 * benchtests/scripts/compare_strings.py (process_results):
13603 Better spacing for output.
13605 * benchtests/scripts/compare_strings.py: Use argparse.
13606 * benchtests/README: Document existence of compare_strings.py.
13608 2017-09-15 Joseph Myers <joseph@codesourcery.com>
13610 * math/s_fma.c: Include <libm-alias-double.h>.
13611 (fma): Define using libm_alias_double.
13612 * math/s_nextafter.c: Include <libm-alias-double.h>.
13613 (nextafter): Define using libm_alias_double.
13614 * math/w_acos_compat.c: Include <libm-alias-double.h>.
13615 (acos): Define using libm_alias_double.
13616 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
13617 (aocsh): Define using libm_alias_double.
13618 * math/w_asin_compat.c: Include <libm-alias-double.h>.
13619 (asin): Define using libm_alias_double.
13620 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
13621 (atan2): Define using libm_alias_double.
13622 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
13623 (atanh): Define using libm_alias_double.
13624 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
13625 (cosh): Define using libm_alias_double.
13626 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
13627 (exp10): Define using libm_alias_double.
13628 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
13629 (exp2): Define using libm_alias_double.
13630 * math/w_exp_compat.c: Include <libm-alias-double.h>.
13631 (exp): Define using libm_alias_double.
13632 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
13633 (fmod): Define using libm_alias_double.
13634 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
13635 (hypot): Define using libm_alias_double.
13636 * math/w_j0_compat.c: Include <libm-alias-double.h>.
13637 (j0): Define using libm_alias_double.
13639 * math/w_j1_compat.c: Include <libm-alias-double.h>.
13640 (j1): Define using libm_alias_double.
13642 * math/w_jn_compat.c: Include <libm-alias-double.h>.
13643 (jn): Define using libm_alias_double.
13645 * math/w_log10_compat.c: Include <libm-alias-double.h>.
13646 (log10): Define using libm_alias_double.
13647 * math/w_log2_compat.c: Include <libm-alias-double.h>.
13648 (log2): Define using libm_alias_double.
13649 * math/w_log_compat.c: Include <libm-alias-double.h>.
13650 (log): Define using libm_alias_double.
13651 * math/w_pow_compat.c: Include <libm-alias-double.h>.
13652 (pow): Define using libm_alias_double.
13653 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
13654 (remainder): Define using libm_alias_double.
13655 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
13656 (sinh): Define using libm_alias_double.
13657 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
13658 (sqrt): Define using libm_alias_double.
13659 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
13660 (tgamma): Define using libm_alias_double.
13661 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
13662 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
13663 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
13664 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
13665 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
13666 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
13667 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
13668 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
13669 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
13670 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
13671 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
13672 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
13673 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
13674 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
13675 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
13676 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
13677 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
13678 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
13679 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
13680 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
13681 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
13682 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
13683 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
13684 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
13685 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
13687 * math/e_acoshl.c: Remove.
13688 * math/e_acosl.c: Likewise.
13689 * math/e_asinl.c: Likewise.
13690 * math/e_atan2l.c: Likewise.
13691 * math/e_atanhl.c: Likewise.
13692 * math/e_coshl.c: Likewise.
13693 * math/e_expl.c: Likewise.
13694 * math/e_fmodl.c: Likewise.
13695 * math/e_gammal_r.c: Likewise.
13696 * math/e_hypotl.c: Likewise.
13697 * math/e_j0l.c: Likewise.
13698 * math/e_j1l.c: Likewise.
13699 * math/e_jnl.c: Likewise.
13700 * math/e_lgammal_r.c: Likewise.
13701 * math/e_log10l.c: Likewise.
13702 * math/e_log2l.c: Likewise.
13703 * math/e_logl.c: Likewise.
13704 * math/e_powl.c: Likewise.
13705 * math/e_rem_pio2l.c: Likewise.
13706 * math/e_sinhl.c: Likewise.
13707 * math/e_sqrtf128.c: Likewise.
13708 * math/e_sqrtl.c: Likewise.
13709 * math/k_cosl.c: Likewise.
13710 * math/k_sinl.c: Likewise.
13711 * math/k_tanl.c: Likewise.
13712 * math/s_asinhl.c: Likewise.
13713 * math/s_atanl.c: Likewise.
13714 * math/s_cbrtl.c: Likewise.
13715 * math/s_erfl.c: Likewise.
13716 * math/s_expm1l.c: Likewise.
13717 * math/s_log1pl.c: Likewise.
13718 * math/s_tanhl.c: Likewise.
13720 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13723 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
13724 [$(subdir) = math] (sysdep_calls): New variable. Has the
13725 previous contents of sysdep_routines, but re-sorted..
13726 [$(subdir) = math] (sysdep_routines): Re-use the contents from
13728 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
13729 defined in sysdep_calls and replace by the respective m_* names.
13730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
13731 (compat_symbol): Undefine to avoid duplicated compat symbols in
13734 2017-09-15 Joseph Myers <joseph@codesourcery.com>
13736 * math/s_fmaf.c: Include <libm-alias-float.h>.
13737 (fmaf): Define using libm_alias_float.
13738 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
13739 (acosf): Define using libm_alias_float.
13740 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
13741 (acoshf): Define using libm_alias_float.
13742 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
13743 (asinf): Define using libm_alias_float.
13744 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
13745 (atan2f): Define using libm_alias_float.
13746 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
13747 (atanhf): Define using libm_alias_float.
13748 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
13749 (coshf): Define using libm_alias_float.
13750 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
13751 (exp10f): Define using libm_alias_float.
13752 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
13753 (fmodf): Define using libm_alias_float.
13754 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
13755 (hypotf): Define using libm_alias_float.
13756 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
13757 (j0f): Define using libm_alias_float.
13759 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
13760 (j1f): Define using libm_alias_float.
13762 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
13763 (jnf): Define using libm_alias_float.
13765 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
13766 (log10f): Define using libm_alias_float.
13767 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
13768 (log2f): Define using libm_alias_float.
13769 * math/w_logf_compat.c: Include <libm-alias-float.h>.
13770 (logf): Define using libm_alias_float.
13771 * math/w_powf_compat.c: Include <libm-alias-float.h>.
13772 (powf): Define using libm_alias_float.
13773 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
13774 (remainderf): Define using libm_alias_float.
13775 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
13776 (sinhf): Define using libm_alias_float.
13777 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
13778 (sqrtf): Define using libm_alias_float.
13779 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
13780 (tgammaf): Define using libm_alias_float.
13782 2017-09-14 Joseph Myers <joseph@codesourcery.com>
13784 * include/math.h (roundeven): Change hidden_proto call to
13786 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
13788 [NO_LONG_DOUBLE] (__j0l): New strong alias.
13789 (y0): Rename to __y0 and define as weak alias.
13790 [NO_LONG_DOUBLE] (__y0l): New strong alias.
13791 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
13793 (y0f): Rename to __y0f and define as weak alias.
13794 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
13796 [NO_LONG_DOUBLE] (__j1l): New strong alias.
13797 (y1): Rename to __y1 and define as weak alias.
13798 [NO_LONG_DOUBLE] (__y1l): New strong alias.
13799 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
13801 (y1f): Rename to __y1f and define as weak alias.
13802 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
13804 [NO_LONG_DOUBLE] (__jnl): New strong alias.
13805 (yn): Rename to __yn and define as weak alias.
13806 [NO_LONG_DOUBLE] (__ynl): New strong alias.
13807 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
13809 (ynf): Rename to __ynf and define as weak alias.
13810 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
13811 (fromfp): Define as weak alias.
13812 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
13813 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
13814 (fromfpx): Define as weak alias.
13815 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
13816 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
13817 __getpayload and define as weak alias.
13818 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
13819 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
13820 __roundeven and define as weak alias.
13821 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
13822 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
13824 (setpayload): Define as weak alias.
13825 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
13826 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
13828 (setpayloadsig): Define as weak alias.
13829 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
13830 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
13831 __totalorder and define as weak alias.
13832 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
13833 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
13834 to __totalordermag and define as weak alias.
13835 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
13836 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
13837 (ufromfp): Define as weak alias.
13838 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
13839 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
13841 (ufromfpx): Define as weak alias.
13842 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
13843 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
13844 Rename to __getpayload and define as weak alias.
13845 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
13846 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
13847 Rename to __roundeven and define as weak alias.
13848 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
13849 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
13850 Rename to __totalorder and define as weak alias.
13851 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
13852 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
13853 (totalordermag): Rename to __totalordermag and define as weak
13855 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
13856 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
13858 (__roundevenl): Likewise.
13859 (__totalorderl): Likewise.
13860 (__totalordermagl): Likewise
13861 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
13863 (fromfpf128): Define as weak alias.
13864 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
13866 (fromfpxf128): Define as weak alias.
13867 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
13869 (setpayloadf128): Define as weak alias.
13870 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
13871 __setpayloadsigf128.
13872 (setpayloadsigf128): Define as weak alias.
13873 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
13875 (ufromfpf128): Define as weak alias.
13876 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
13878 (ufromfpxf128): Define as weak alias.
13879 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
13880 (fromfpf): Define as weak alias.
13881 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
13883 (fromfpxf): Define as weak alias.
13884 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
13885 __getpayloadf and define as weak alias.
13886 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
13887 __roundevenf and define as weak alias.
13888 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
13890 (setpayloadf): Define as weak alias.
13891 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
13893 (setpayloadsigf): Define as weak alias.
13894 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
13895 __totalorderf and define as weak alias.
13896 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
13897 Rename to __totalordermagf and define as weak alias.
13898 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
13900 (ufromfpf): Define as weak alias.
13901 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
13903 (ufromfpxf): Define as weak alias.
13904 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
13906 (fromfpl): Define as weak alias.
13907 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
13909 (fromfpxl): Define as weak alias.
13910 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
13911 to __getpayloadl and define as weak alias.
13912 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
13913 __roundevenl and define as weak alias.
13914 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
13916 (setpayloadl): Define as weak alias.
13917 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
13919 (setpayloadsigl): Define as weak alias.
13920 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
13921 to __totalorderl and define as weak alias.
13922 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
13923 Rename to __totalordermagl and define as weak alias.
13924 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
13926 (ufromfpl): Define as weak alias.
13927 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
13929 (ufromfpxl): Define as weak alias.
13930 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
13932 (fromfpl): Define as weak alias.
13933 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
13935 (fromfpxl): Define as weak alias.
13936 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
13937 Rename to __getpayloadl and define as weak alias.
13938 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
13939 to __roundevenl and define as weak alias. Call __roundeven
13940 instead of roundeven.
13941 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
13943 (setpayloadl): Define as weak alias.
13944 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
13946 (setpayloadsigl): Define as weak alias.
13947 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
13948 Rename to __totalorderl and define as weak alias.
13949 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
13950 Rename to __totalordermagl and define as weak alias.
13951 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
13953 (ufromfpl): Define as weak alias.
13954 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
13956 (ufromfpxl): Define as weak alias.
13957 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
13959 (fromfpl): Define as weak alias.
13960 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
13962 (fromfpxl): Define as weak alias.
13963 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
13964 __getpayloadl and define as weak alias.
13965 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
13966 __roundevenl and define as weak alias.
13967 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
13969 (setpayloadl): Define as weak alias.
13970 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
13972 (setpayloadsigl): Define as weak alias.
13973 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
13974 __totalorderl and define as weak alias.
13975 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
13976 Rename to __totalordermagl and define as weak alias.
13977 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
13979 (ufromfpl): Define as weak alias.
13980 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
13982 (ufromfpxl): Define as weak alias.
13984 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13986 * benchtests/bench-string.h (realloc_bufs): New function.
13987 (test_init): Call it.
13988 * benchtests/bench-memset-large.c (do_test): Likewise.
13989 * benchtests/bench-memset.c (do_test): Likewise.
13991 * benchtests/bench-memset-large.c: Print output in JSON
13993 * benchtests/bench-memset.c: Likewise.
13995 2017-09-14 Mike FABIAN <mfabian@redhat.com>
13998 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
13999 * iconvdata/Makefile: Add IBM858.
14000 * iconvdata/gconv-modules: Likewise.
14001 * iconvdata/tst-tables.sh: Likewise.
14002 * iconvdata/ibm858.c: New file.
14003 * localedata/charmaps/IBM858: Likewise.
14005 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
14008 * locales/niu_NZ (LC_TIME): copy "niu_NU".
14009 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
14011 2017-09-14 Mike FABIAN <mfabian@redhat.com>
14014 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
14015 and add tel_int_fmt.
14017 2017-09-14 Joseph Myers <joseph@codesourcery.com>
14019 * sysdeps/generic/libm-alias-float128.h: New file.
14020 * sysdeps/generic/math-type-macros-float128.h: Include
14021 <libm-alias-float128.h>.
14022 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
14024 2017-09-13 Joseph Myers <joseph@codesourcery.com>
14026 * sysdeps/generic/libm-alias-ldouble.h: New file.
14027 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
14028 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
14029 * sysdeps/generic/math-type-macros-ldouble.h: Include
14030 <libm-alias-ldouble.h>.
14031 [!declare_mgen_alias] (declare_mgen_alias): Define to use
14032 libm_alias_ldouble.
14034 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
14036 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
14037 * math/w_exp_compat.c: ... here.
14038 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
14039 * math/w_expf_compat.c: ... here.
14040 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
14041 * math/w_expl_compat.c: ... here.
14042 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
14043 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
14044 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
14045 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
14047 2017-09-13 Joseph Myers <joseph@codesourcery.com>
14049 * math/w_scalbln_template.c (strong_alias): Do not undefine and
14051 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
14053 (ldexpl): Only define as compat symbol for libc, not libm.
14054 (scalbnl): Define as compat symbol for libc here.
14055 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
14056 define for [IS_IN (libc)].
14057 (__ldexpl_2): Remove alias.
14058 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
14059 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
14060 name in long_double_symbol call.
14061 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
14062 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
14063 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
14064 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
14065 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
14067 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
14068 Define as compat symbol.
14070 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14072 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
14073 * sysdeps/unix/sysv/linux/alpha/Makefile
14074 [$(subdir) = csu] (sysdep_routines): Remove rule.
14076 2017-09-13 Joseph Myers <joseph@codesourcery.com>
14078 * sysdeps/generic/libm-alias-double.h: New file.
14079 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
14080 * sysdeps/generic/math-type-macros-double.h: Include
14081 <libm-alias-double.h>.
14082 [declare_mgen_alias] (declare_mgen_alias): Define to use
14084 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
14085 (M_LIBM_NEED_COMPAT): Remove macro.
14086 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
14087 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
14088 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
14090 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14091 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14092 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14093 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14094 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14095 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14096 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14097 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14098 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14099 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14100 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14101 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14102 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14103 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14104 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14105 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14106 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14107 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14108 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14109 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14110 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14111 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14112 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14113 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14114 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14115 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14116 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14117 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
14118 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
14120 (declare_mgen_alias): New macro.
14121 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
14122 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
14123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
14124 (M_LIBM_NEED_COMPAT): Remove macro.
14125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
14126 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
14127 <first-versions.h>.
14128 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
14129 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
14131 2017-09-12 Joseph Myers <joseph@codesourcery.com>
14133 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
14134 (declare_mgen_alias_2): Remove.
14135 * sysdeps/generic/math-type-macros-double.h
14136 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
14138 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
14140 (ldexp): Define with declare_mgen_alias.
14141 (scalbn): Likewise.
14143 2017-09-12 Steve Ellcey <sellcey@cavium.com>
14145 * grp/initgroups.c: Include config.h.
14146 (DEFAULT_CONFIG): New macro.
14147 (internal_getgrouplist): Use DEFAULT_CONFIG.
14148 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14149 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
14150 (DEFAULT_DEFCONFIG): New macro.
14151 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
14152 * nss/grp-lookup.c: Include config.h
14153 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
14154 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
14155 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
14156 * manual/nss.texi: Update default values section.
14158 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
14161 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
14163 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
14164 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14165 Handle MathVec_Prefer_No_AVX512.
14166 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
14167 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
14170 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
14172 * posix/sched_primax.c (__sched_get_priority_max): Add
14174 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
14175 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
14176 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
14177 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
14178 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
14179 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
14180 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
14181 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
14184 2017-09-11 Joseph Myers <joseph@codesourcery.com>
14186 * sysdeps/generic/libm-alias-float.h: New file.
14187 * sysdeps/generic/math-type-macros-float.h: Include
14188 <libm-alias-float.h>.
14189 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
14191 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
14194 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
14195 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
14196 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
14197 (HWCAP_IMPORTANT): Likewise.
14198 (HWCAP_X86_64): New enum.
14199 (HWCAP_X86_AVX512_1): Updated.
14200 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
14201 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
14202 (modules-names): Add x86_64/tst-x86_64mod-1.
14203 (LDFLAGS-tst-x86_64mod-1.so): New.
14204 ($(objpfx)tst-x86_64-1): Likewise.
14205 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
14206 (tst-x86_64-1-clean): Likewise.
14207 * sysdeps/x86_64/tst-x86_64-1.c: New file.
14208 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
14210 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14212 * po/sv.po: Update translations.
14213 * po/fr.po: Likewise.
14215 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14217 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
14219 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
14221 * elf/rtld-Rules: Fix $(error) use.
14223 2017-09-09 Mike FABIAN <mfabian@redhat.com>
14226 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
14227 * locale/iso-639.def: Change “Bengali” to “Bangla”.
14228 * localedata/locales/bn_BD: “Bengali” was still used in some
14229 comments. Change it to “Bangla”.
14231 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
14233 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
14235 2017-09-08 Steve Ellcey <sellcey@cavium.com>
14237 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
14238 thunderx2t99p1 to list of cpu names.
14239 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
14240 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
14242 2017-09-08 Steve Ellcey <sellcey@cavium.com>
14244 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
14245 Use strcmp instead of tunable_is_name.
14247 2017-09-08 Joseph Myers <joseph@codesourcery.com>
14249 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14250 (F_GET_RW_HINT): New macro.
14251 [__USE_GNU] (F_SET_RW_HINT): Likewise.
14252 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
14253 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
14254 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
14255 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
14256 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
14257 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
14258 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
14259 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
14261 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14262 (F_ADD_SEALS): New macro.
14263 [__USE_GNU] (F_GET_SEALS): Likewise.
14264 [__USE_GNU] (F_SEAL_SEAL): Likewise.
14265 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
14266 [__USE_GNU] (F_SEAL_GROW): Likewise.
14267 [__USE_GNU] (F_SEAL_WRITE): Likewise.
14269 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14271 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
14272 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
14273 * posix/glob_internal.h (__glob_pattern_type):
14274 * posix/glob.c (glob):
14275 * posix/glob_pattern_p.c (__glob_pattern_p):
14278 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
14279 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14280 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
14281 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
14282 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
14283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
14284 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
14285 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
14286 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
14287 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14288 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
14289 * sysdeps/wordsize-64/glob.c: Likewise.
14290 * sysdeps/wordsize-64/glob64.c: Likewise.
14291 * sysdeps/wordsize-64/globfree.c: Likewise.
14292 * sysdeps/wordsize-64/globfree64.c: Likewise.
14293 * sysdeps/unix/sysv/linux/glob.c: New file.
14294 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
14295 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
14296 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
14297 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
14298 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
14299 adds !GLOB_NO_OLD_VERSION as an extra condition.
14300 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
14301 using relative path instead of absolute one.
14302 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14303 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14304 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14305 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14306 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
14307 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
14310 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
14311 (glob): Use the same scratch buffer for both getlogin_r and
14312 getpwnam_r. Don’t require preallocation of the login name. This
14313 simplifies storage allocation, and corrects the handling of
14317 * posix/glob.c (glob): Port recent patches to platforms
14318 lacking getpwnam_r.
14319 (glob): Fix longstanding misuse of errno after getpwnam_r, which
14320 returns an error number rather than setting errno.
14322 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
14323 instead of GCC extension.
14324 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
14325 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
14326 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
14330 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
14331 * posix/bug-glob1.c: Remove file.
14332 * posix/tst-glob_symlinks.c: New file.
14333 * posix/glob.c (__lstat64): New macro.
14334 (is_dir): New function.
14335 (glob, glob_in_dir): Match symlinks even if they are dangling.
14336 (link_stat, link_exists_p): Remove. All uses removed.
14340 * posix/glob.c (struct readdir_result): Remove skip_entry member.
14341 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
14346 * posix/Makefile (routines): Add globfree, globfree64, and
14348 * posix/flexmember.h: New file.
14349 * posix/glob_internal.h: Likewise.
14350 * posix/glob_pattern_p.c: Likewise.
14351 * posix/globfree.c: Likewise.
14352 * posix/globfree64.c: Likewise.
14353 * sysdeps/gnu/globfree64.c: Likewise.
14354 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
14355 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
14356 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
14357 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
14358 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
14359 * sysdeps/wordsize-64/globfree.c: Likewise.
14360 * sysdeps/wordsize-64/globfree64.c: Likewise.
14361 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
14362 [NDEBUG): Remove comments.
14363 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
14364 (dirent_type): New type. Use uint_fast8_t not
14365 uint8_t, as C99 does not require uint8_t.
14366 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
14367 (struct readdir_result): Use dirent_type. Do not define skip_entry
14368 unless it is needed; this saves a byte on platforms lacking d_ino.
14369 (readdir_result_type, readdir_result_skip_entry):
14370 New functions, replacing ...
14371 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
14372 these functions, which were removed. This makes the callers
14373 easier to read. All callers changed.
14374 (D_INO_TO_RESULT): Now empty if there is no d_ino.
14375 (size_add_wrapv, glob_use_alloca): New static functions.
14376 (glob, glob_in_dir): Check for size_t overflow in several places,
14377 and fix some size_t checks that were not quite right.
14378 Remove old code using SHELL since Bash no longer
14380 (glob, prefix_array): Separate MS code better.
14381 (glob_in_dir): Remove old Amiga and VMS code.
14382 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
14384 (glob_in_dir): Do not rely on undefined behavior in accessing
14385 struct members beyond their bounds. Use a flexible array member
14387 (link_stat): Rename from link_exists2_p and return -1/0 instead of
14388 0/1. Caller changed.
14389 (glob): Fix memory leaks.
14390 * posix/glob64 (globfree64): Move to separate file.
14391 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
14392 (globfree64): Remove hidden alias.
14393 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
14395 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
14397 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
14399 Move compat code to separate file.
14400 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
14403 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
14405 * resolv/tst-resolv-qtypes.c (domain): Changed to
14406 "const char domain[] =".
14408 2017-09-07 Joseph Myers <joseph@codesourcery.com>
14410 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
14413 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
14414 (TCP_MD5SIG_EXT): Likewise.
14415 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
14416 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
14417 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
14419 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
14421 2017-09-07 Mike FABIAN <mfabian@redhat.com>
14423 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
14425 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
14428 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
14430 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
14432 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
14433 before assuming that the file is empty. Avoid testing buffer content
14436 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14439 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
14441 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
14443 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
14445 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
14447 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
14449 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
14451 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
14454 2017-09-06 Florian Weimer <fweimer@redhat.com>
14456 * malloc/dynarray_emplace_enlarge.c
14457 (__libc_dynarray_emplace_enlarge): Add missing else.
14459 2017-09-06 Florian Weimer <fweimer@redhat.com>
14462 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
14463 case of failure to obtain the global conf object.
14465 2017-09-06 Florian Weimer <fweimer@redhat.com>
14468 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
14469 dynarray allocation failure.
14471 2017-09-06 Florian Weimer <fweimer@redhat.com>
14473 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
14474 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
14475 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
14477 (response): Call them. Add 'p', '6' flag processing.
14478 (test_reverse): New function.
14479 (test_get2_any): Call it.
14480 (test_no_inet6): Add 'p' test.
14481 (test_inet6): Likewise.
14483 2017-09-06 Florian Weimer <fweimer@redhat.com>
14485 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
14486 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
14488 (test_gai): Adjust query names. Add additional tests.
14489 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
14490 test_get2. Adjust query names. Add additional tests.
14491 (test_no_inet6): New function, extracted from threadfunc.
14492 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
14493 Add additional tests.
14495 2017-09-06 Mike FABIAN <mfabian@redhat.com>
14498 * localedata/unicode-gen/utf8_gen.py: Set the width for
14499 characters with Prepended_Concatenation_Mark property to 1
14500 * localedata/charmaps/UTF-8: Updated using the improved script.
14502 2017-09-06 Mike FABIAN <mfabian@redhat.com>
14505 * localedata/unicode-gen/utf8_gen.py: Improve the script to
14506 use the range notation for all ranges of neighbouring characters
14507 with the same width.
14509 2017-09-05 Joseph Myers <joseph@codesourcery.com>
14511 * sysdeps/generic/math-type-macros-double.h: Include
14512 <math-svid-compat.h>.
14513 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
14514 * sysdeps/generic/math-type-macros-float.h: Include
14515 <math-svid-compat.h>.
14516 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
14517 * sysdeps/generic/math-type-macros-ldouble.h: Include
14518 <math-svid-compat.h>.
14519 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
14520 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
14522 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
14523 * math/w_acosf_compat.c: Likewise.
14524 * math/w_acosh_compat.c: Likewise.
14525 * math/w_acoshf_compat.c: Likewise.
14526 * math/w_acoshl_compat.c: Likewise.
14527 * math/w_acosl_compat.c: Likewise.
14528 * math/w_asin_compat.c: Likewise.
14529 * math/w_asinf_compat.c: Likewise.
14530 * math/w_asinl_compat.c: Likewise.
14531 * math/w_atan2_compat.c: Likewise.
14532 * math/w_atan2f_compat.c: Likewise.
14533 * math/w_atan2l_compat.c: Likewise.
14534 * math/w_atanh_compat.c: Likewise.
14535 * math/w_atanhf_compat.c: Likewise.
14536 * math/w_atanhl_compat.c: Likewise.
14537 * math/w_cosh_compat.c: Likewise.
14538 * math/w_coshf_compat.c: Likewise.
14539 * math/w_coshl_compat.c: Likewise.
14540 * math/w_exp10_compat.c: Likewise.
14541 * math/w_exp10f_compat.c: Likewise.
14542 * math/w_exp10l_compat.c: Likewise.
14543 * math/w_exp2_compat.c: Likewise.
14544 * math/w_exp2f_compat.c: Likewise.
14545 * math/w_exp2l_compat.c: Likewise.
14546 * math/w_fmod_compat.c: Likewise.
14547 * math/w_fmodf_compat.c: Likewise.
14548 * math/w_fmodl_compat.c: Likewise.
14549 * math/w_hypot_compat.c: Likewise.
14550 * math/w_hypotf_compat.c: Likewise.
14551 * math/w_hypotl_compat.c: Likewise.
14552 * math/w_j0_compat.c: Likewise.
14553 * math/w_j0f_compat.c: Likewise.
14554 * math/w_j0l_compat.c: Likewise.
14555 * math/w_j1_compat.c: Likewise.
14556 * math/w_j1f_compat.c: Likewise.
14557 * math/w_j1l_compat.c: Likewise.
14558 * math/w_jn_compat.c: Likewise.
14559 * math/w_jnf_compat.c: Likewise.
14560 * math/w_jnl_compat.c: Likewise.
14561 * math/w_lgamma_r_compat.c: Likewise.
14562 * math/w_lgammaf_r_compat.c: Likewise.
14563 * math/w_lgammal_r_compat.c: Likewise.
14564 * math/w_log10_compat.c: Likewise.
14565 * math/w_log10f_compat.c: Likewise.
14566 * math/w_log10l_compat.c: Likewise.
14567 * math/w_log2_compat.c: Likewise.
14568 * math/w_log2f_compat.c: Likewise.
14569 * math/w_log2l_compat.c: Likewise.
14570 * math/w_log_compat.c: Likewise.
14571 * math/w_logf_compat.c: Likewise.
14572 * math/w_logl_compat.c: Likewise.
14573 * math/w_pow_compat.c: Likewise.
14574 * math/w_powf_compat.c: Likewise.
14575 * math/w_powl_compat.c: Likewise.
14576 * math/w_remainder_compat.c: Likewise.
14577 * math/w_remainderf_compat.c: Likewise.
14578 * math/w_remainderl_compat.c: Likewise.
14579 * math/w_sinh_compat.c: Likewise.
14580 * math/w_sinhf_compat.c: Likewise.
14581 * math/w_sinhl_compat.c: Likewise.
14582 * math/w_sqrt_compat.c: Likewise.
14583 * math/w_sqrtf_compat.c: Likewise.
14584 * math/w_sqrtl_compat.c: Likewise.
14585 * math/w_tgamma_compat.c: Likewise.
14586 * math/w_tgammaf_compat.c: Likewise.
14587 * math/w_tgammal_compat.c: Likewise.
14588 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
14589 [LIBM_SVID_COMPAT].
14590 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
14591 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
14592 [LIBM_SVID_COMPAT].
14593 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
14594 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
14595 [LIBM_SVID_COMPAT].
14596 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
14597 * sysdeps/i386/fpu/w_sqrt.c: New file.
14598 * sysdeps/ia64/fpu/w_acos.c: Likewise.
14599 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
14600 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
14601 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
14602 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
14603 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
14604 * sysdeps/ia64/fpu/w_asin.c: Likewise.
14605 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
14606 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
14607 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
14608 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
14609 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
14610 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
14611 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
14612 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
14613 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
14614 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
14615 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
14616 * sysdeps/ia64/fpu/w_exp.c: Likewise.
14617 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
14618 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
14619 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
14620 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
14621 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
14622 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
14623 * sysdeps/ia64/fpu/w_expf.c: Likewise.
14624 * sysdeps/ia64/fpu/w_expl.c: Likewise.
14625 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
14626 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
14627 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
14628 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
14629 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
14630 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
14631 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
14632 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
14633 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
14634 * sysdeps/ia64/fpu/w_log.c: Likewise.
14635 * sysdeps/ia64/fpu/w_log10.c: Likewise.
14636 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
14637 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
14638 * sysdeps/ia64/fpu/w_log2.c: Likewise.
14639 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
14640 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
14641 * sysdeps/ia64/fpu/w_logf.c: Likewise.
14642 * sysdeps/ia64/fpu/w_logl.c: Likewise.
14643 * sysdeps/ia64/fpu/w_pow.c: Likewise.
14644 * sysdeps/ia64/fpu/w_powf.c: Likewise.
14645 * sysdeps/ia64/fpu/w_powl.c: Likewise.
14646 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
14647 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
14648 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
14649 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
14650 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
14651 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
14652 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
14653 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
14654 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
14655 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
14656 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
14657 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
14658 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
14659 [LIBM_SVID_COMPAT].
14660 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
14661 * sysdeps/ieee754/k_standard.c: Likewise.
14662 * sysdeps/ieee754/k_standardf.c: Likewise.
14663 * sysdeps/ieee754/k_standardl.c: Likewise.
14664 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
14665 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
14666 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
14667 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
14668 long_double_symbol call on [LIBM_SVID_COMPAT].
14669 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
14670 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
14671 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
14672 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
14673 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
14674 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
14675 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
14676 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
14677 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
14678 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
14679 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
14680 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
14681 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
14682 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
14683 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
14684 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
14685 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
14686 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
14687 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
14688 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
14689 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
14690 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
14692 2017-09-05 Steve Ellcey <sellcey@cavium.com>
14694 * include/shlib-compat.h (TEST_COMPAT): New Macro.
14695 * malloc/tst-mallocstate.c: Convert from test-skeleton
14696 to test-driver. Ifdef code using TEST_COMPAT macro.
14697 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
14698 * math/test-matherr.c: Likewise.
14700 2017-09-05 Joseph Myers <joseph@codesourcery.com>
14703 * debug/pcprofiledump.c (main): Use byte-swapped mask when
14704 comparing word with byte-swapped constant.
14706 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
14709 * locale/iso-639.def: add Miskito.
14710 * localedata/SUPPORTED: Add miq_NI/UTF-8.
14711 * localedata/locales/miq_NI: New file.
14713 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
14716 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
14717 (__mkdir): Likewise.
14718 * io/chmod.c (__chmod): Add libc_hidden_def.
14719 * io/mkdir.c (__mkdir): Likewise.
14720 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
14721 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
14722 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
14723 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
14725 2017-09-04 Joseph Myers <joseph@codesourcery.com>
14727 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14731 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
14732 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
14734 2017-09-04 Florian Weimer <fweimer@redhat.com>
14736 * math/math.h: Issue warning if log is defined.
14738 2017-09-04 Joseph Myers <joseph@codesourcery.com>
14740 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14741 kernel version to 4.13.
14743 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14745 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
14746 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
14748 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
14749 just <bits/types.h>.
14750 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
14751 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
14752 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
14753 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
14754 * misc/preadv2.c: Include <errno.h>.
14755 * misc/preadv64v2.c: Include <errno.h>.
14756 * misc/pwritev2.c: Include <errno.h>.
14757 * misc/pwritev64v2.c: Include <errno.h>.
14758 * sysdeps/posix/preadv2.c: Include <errno.h>.
14759 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
14760 Fix <unistd.h> inclusion.
14761 * sysdeps/posix/pwritev2.c: Include <errno.h>.
14762 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
14763 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
14764 __strtoul_internal): New functions.
14765 * sysdeps/posix/pause.c: Include <sigsetops.h>.
14766 * sysdeps/posix/system.c: Include <sigsetops.h>.
14767 * sysdeps/mach/hurd/i386/Makefile
14768 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
14769 [$(subdir) = csu] (sysdep-only-routines): Likewise.
14770 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
14771 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
14772 __feraiseexcept_renamed to feraiseexcept instead of
14773 __GI_feraiseexcept.
14774 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
14775 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
14776 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
14777 RWF_NOWAIT): Define to 0 if undefined already.
14778 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
14780 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
14781 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
14783 2017-09-01 Joseph Myers <joseph@codesourcery.com>
14785 * manual/math.texi (pow10): Do not document.
14786 (pow10f): Likewise.
14787 (pow10l): Likewise.
14788 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
14789 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
14790 * math/libm-test-exp10.inc (pow10_test): Remove.
14791 (do_test): Do not call pow10.
14792 * math/w_exp10_compat.c (pow10): Make into compat symbol.
14793 [NO_LONG_DOUBLE] (pow10l): Likewise.
14794 * math/w_exp10f_compat.c (pow10f): Likewise.
14795 * math/w_exp10l_compat.c (pow10l): Likewise.
14796 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
14797 (pow10): Make into compat symbol.
14798 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
14799 (pow10f): Make into compat symbol.
14800 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
14801 (pow10l): Make into compat symbol.
14802 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
14804 (CFLAGS-nldbl-pow10.c): Remove variable..
14805 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
14806 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
14807 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
14808 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
14809 Undefine and redefine.
14810 (pow10l): Make into compat symbol.
14811 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
14812 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14813 * sysdeps/arm/libm-test-ulps: Likewise.
14814 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
14815 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14816 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14817 * sysdeps/microblaze/libm-test-ulps: Likewise.
14818 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14819 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14820 * sysdeps/nios2/libm-test-ulps: Likewise.
14821 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14822 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14823 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14824 * sysdeps/sh/libm-test-ulps: Likewise.
14825 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14826 * sysdeps/tile/libm-test-ulps: Likewise.
14827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14829 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
14831 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
14833 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
14835 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
14836 "../ChangeLog.old/ChangeLog.8".
14837 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
14838 "../ChangeLog.old/ChangeLog.14".
14840 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
14842 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
14845 2017-09-01 Joseph Myers <joseph@codesourcery.com>
14847 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
14849 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
14851 * csu/version.c (banner): Remove "by Roland McGrath et al.".
14852 * nptl/Banner: Remove "by Ulrich Drepper et al.".
14854 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
14856 * stdlib/tst-atexit-common.c (do_test): Test support for at least
14857 32 atexit handlers.
14859 2017-09-01 Zack Weinberg <zackw@panix.com>
14861 * math/math.h (HUGE_VAL): Improve commentary.
14863 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14864 Andreas Schwab <schwab@suse.de>
14867 * include/stdio.h (__gen_tempfd): New function.
14868 * stdio-common/Makefile (routines): Add gentempfd.
14869 * stdio-common/gentempfd.c: New file.
14870 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
14871 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
14872 unnamed file first.
14874 2017-09-01 Florian Weimer <fweimer@redhat.com>
14878 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
14879 result to determine success or failure, not the errno value.
14880 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
14881 (tst-nss-files-hosts-erange): Link with -ldl.
14882 * nss/tst-nss-files-hosts-erange.c: New file.
14883 * nss/tst-resolv-basic.c (response): Handle nodata.example.
14884 (do_test): Add NO_DATA tests.
14885 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
14886 (do_test): Call it.
14888 2017-09-01 Florian Weimer <fweimer@redhat.com>
14891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
14892 coming from gethostbyname2_r.
14894 2017-09-01 Florian Weimer <fweimer@redhat.com>
14896 * support/namespace.h (struct support_chroot_configuration): Add
14898 (struct support_chroot): Add path_hosts, path_host_conf.
14899 * support/support_chroot.c (write_file): New function.
14900 (support_chroot_create): Call it to process /etc/resolv.conf,
14901 /etc/hosts, /etc/host.conf.
14902 (support_chroot_free): Update.
14904 2017-09-01 Florian Weimer <fweimer@redhat.com>
14906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
14907 status indicates it is set.
14909 2017-09-01 Florian Weimer <fweimer@redhat.com>
14912 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
14913 function lookup failures more reliable.
14915 2017-09-01 Florian Weimer <fweimer@redhat.com>
14917 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
14918 (getcanonname): Likewise.
14919 (gaih_inet): Likewise.
14921 2017-09-01 Florian Weimer <fweimer@redhat.com>
14923 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
14924 (getcanonname): Likewise.
14925 (gaih_inet): Likewise.
14927 2017-08-31 Steve Ellcey <sellcey@cavium.com>
14928 Richard Henderson <rth@twiddle.net>
14930 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
14931 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
14932 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
14933 (IREG_SIZE, OREG_SIZE): New macros.
14934 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
14935 (IREG_SIZE, OREG_SIZE): New macros.
14936 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
14937 (IREG_SIZE): New macro.
14938 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
14939 (IREG_SIZE): New macro.
14940 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
14942 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
14943 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
14944 (__CONCATX): Handle exceptions correctly on large values that may
14946 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
14947 Initialize if not already set.
14948 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
14950 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14952 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
14953 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
14955 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
14957 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
14959 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
14961 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
14963 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
14965 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
14967 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
14968 (NO_CANCELLATION): Likewise.
14969 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
14971 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
14973 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
14975 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
14976 (NO_CANCELLATION): Likewise.
14977 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
14978 (NO_CANCELLATION): Likewise.
14979 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
14981 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
14983 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
14985 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
14987 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
14989 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
14990 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
14992 2017-08-31 Steve Ellcey <sellcey@cavium.com>
14994 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
14997 2017-08-31 Florian Weimer <fweimer@redhat.com>
14999 * include/libc-symbols.h (internal_function): Remove.
15001 2017-08-31 Florian Weimer <fweimer@redhat.com>
15003 * stdlib/fmtmsg.c (internal_addseverity): Remove
15006 2017-08-31 Florian Weimer <fweimer@redhat.com>
15008 * stdio-common/printf_fp.c (group_number): Remove
15010 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
15012 2017-08-31 Florian Weimer <fweimer@redhat.com>
15014 * posix/fnmatch.c (internal_function): Remove definition.
15015 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
15016 * posix/regcomp.c (peek_token, init_word_char)
15017 (duplicate_node_closure, fetch_token, peek_token)
15018 (peek_token_bracket, build_range_exp, build_collating_symbol):
15020 * posix/regex_internal.c (re_string_construct_common)
15021 (create_ci_newstate, create_cd_newstate, re_string_allocate)
15022 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
15023 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
15024 (re_string_translate_buffer, re_string_reconstruct)
15025 (re_string_peek_byte_case, re_string_fetch_byte_case)
15026 (re_string_destruct, re_string_context_at, re_node_set_alloc)
15027 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
15028 (re_node_set_add_intersect, re_node_set_init_union)
15029 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
15030 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
15031 (re_dfa_add_node, calc_state_hash, re_acquire_state)
15032 (re_acquire_state_context): Likewise.
15033 * posix/regex_internal.h (internal_function): Remove definition.
15034 (re_string_realloc_buffers, build_wcs_buffer)
15035 (build_wcs_upper_buffer, build_upper_buffer)
15036 (re_string_translate_buffer, re_string_context_at)
15037 (re_string_char_size_at, re_string_wchar_at)
15038 (re_string_elem_size_at): Likewise.
15039 * posix/regexec.c (match_ctx_init, match_ctx_clean)
15040 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
15041 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
15042 (re_search_internal, re_search_2_stub, re_search_stub)
15043 (re_copy_regs, prune_impossible_nodes, check_matching)
15044 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
15045 (free_fail_stack_return, sift_states_iter_mb)
15046 (sift_states_backward, build_sifted_states)
15047 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
15048 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
15049 (check_subexp_limits, sift_states_bkref, merge_state_array)
15050 (find_recover_state, transit_state, merge_state_with_log)
15051 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
15052 (transit_state_mb, transit_state_bkref, get_subexp)
15053 (get_subexp_sub, find_subexp_node, check_arrival)
15054 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
15055 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
15056 (check_node_accept_bytes, find_collation_sequence_value)
15057 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
15058 (acquire_init_state_context, check_halt_node_context)
15059 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
15060 (sub_epsilon_src_nodes): Likewise.
15061 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
15062 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
15063 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
15064 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
15065 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
15066 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
15067 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
15068 * sysdeps/posix/ttyname.c (getttyname): Likewise.
15069 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
15070 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
15071 (PREADV): Likewise.
15072 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
15073 (PREADV): Likewise.
15074 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
15075 (PWRITEV): Likewise.
15076 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
15077 (PWRITEV): Likewise.
15078 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
15079 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
15081 2017-08-31 Florian Weimer <fweimer@redhat.com>
15083 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
15084 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
15085 Remove internal_function.
15086 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15087 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
15088 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
15089 (__deallocate_stack, __libc_pthread_init)
15090 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
15091 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
15092 (__libc_disable_asynccancel, __librt_disable_asynccancel):
15094 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
15095 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
15096 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
15098 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
15099 (__pthread_mutex_unlock_usercnt): Likewise.
15101 2017-08-31 Florian Weimer <fweimer@redhat.com>
15103 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
15104 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
15105 (fts_safe_changedir): Remove internal_function.
15106 * io/ftw.c (internal_function): Remove definition.
15107 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
15109 2017-08-31 Florian Weimer <fweimer@redhat.com>
15111 * inet/deadline.c (__deadline_current_time)
15112 (__deadline_from_timeval, __deadline_to_ms): Remove
15114 * inet/getnameinfo.c (nrl_domainname): Likewise.
15115 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
15116 * inet/inet6_option.c (add_pad): Likewise.
15117 * inet/net-internal.h (__deadline_current_time)
15118 (__deadline_from_timeval, __deadline_to_ms): Likewise.
15119 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
15120 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
15121 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
15123 2017-08-31 Joseph Myers <joseph@codesourcery.com>
15125 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
15126 include <bits/nan.h>.
15127 * math/Makefile (headers): Remove bits/nan.h.
15128 * bits/nan.h: Remove.
15129 * sysdeps/ieee754/bits/nan.h: Likewise.
15130 * sysdeps/mips/bits/nan.h: Likewise.
15132 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
15133 not include <bits/inf.h>.
15134 * math/Makefile (headers): Remove bits/inf.h.
15135 * bits/inf.h: Remove.
15136 * sysdeps/ieee754/bits/inf.h: Likewise.
15138 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
15139 bits/huge_vall.h or bits/huge_val_flt128.h.
15140 (HUGE_VAL): Define directly here.
15141 [__USE_ISOC99] (HUGE_VALF): Likewise.
15142 [__USE_ISOC99] (HUGE_VALL): Likewise.
15143 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15144 (HUGE_VAL_F128): Likewise.
15145 * math/Makefile (headers): Remove bits/huge_val.h,
15146 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
15147 * bits/huge_val.h: Remove.
15148 * bits/huge_val_flt128.h: Likewise.
15149 * bits/huge_valf.h: Likewise.
15150 * bits/huge_vall.h: Likewise.
15151 * sysdeps/ia64/bits/huge_vall.h: Likewise.
15152 * sysdeps/ieee754/bits/huge_val.h: Likewise.
15153 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
15154 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
15155 * sysdeps/sh/bits/huge_val.h: Likewise.
15156 * sysdeps/sparc/bits/huge_vall.h: Likewise.
15157 * sysdeps/x86/bits/huge_vall.h: Likewise.
15159 2017-08-31 Florian Weimer <fweimer@redhat.com>
15161 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
15163 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
15165 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
15166 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15167 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
15168 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
15169 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15170 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15171 * elf/dl-libc.c (dlerror_run): Likewise.
15172 * elf/dl-load.c (add_name_to_object, decompose_rpath)
15173 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
15174 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
15175 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
15177 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
15178 (_dl_higher_prime_number, _dl_strtoul): Likewise.
15179 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
15180 * elf/dl-profile.c (_dl_start_profile): Likewise.
15181 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
15182 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
15184 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
15185 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
15186 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
15187 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
15188 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
15189 (_dl_allocate_tls_storage): Likewise.
15190 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
15191 (_dl_check_all_versions): Likewise.
15192 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
15193 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
15194 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
15195 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
15196 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
15197 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
15198 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
15199 internal_function from __dl_start.
15200 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
15201 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
15202 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
15203 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
15204 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
15205 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
15206 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
15207 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
15208 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
15209 (_dl_next_ld_env_entry, _dl_important_hwcaps)
15210 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
15211 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
15212 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
15213 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
15214 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
15216 (struct rtld_global_ro): Remove internal_function from the
15217 _dl_lookup_symbol_x member.
15218 (_dl_symbol_value): Remove. No longer defined anywhere.
15219 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
15221 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
15222 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15223 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
15224 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
15225 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
15226 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
15227 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
15228 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
15229 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
15230 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
15231 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
15232 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15234 2017-08-31 Florian Weimer <fweimer@redhat.com>
15236 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
15237 Remove internal_function.
15238 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
15240 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
15243 2017-08-31 Florian Weimer <fweimer@redhat.com>
15245 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
15246 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
15247 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
15249 2017-08-31 Florian Weimer <fweimer@redhat.com>
15251 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
15252 (__gai_enqueue_request): Remove internal_function.
15253 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
15254 (__gai_remove_request, __gai_notify, __gai_notify_only)
15255 (__gai_sigqueue): Likewise.
15256 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
15257 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
15258 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
15259 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15262 2017-08-31 Florian Weimer <fweimer@redhat.com>
15264 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
15265 * include/dirent.h (__opendirat, __getdents, __getdents64)
15266 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
15267 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
15268 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
15269 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
15271 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
15273 2017-08-31 Florian Weimer <fweimer@redhat.com>
15275 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
15277 (GETCWD_RETURN_TYPE): Likewise.
15279 2017-08-31 Florian Weimer <fweimer@redhat.com>
15281 * include/time.h (__tz_compute, __strptime_internal): Remove
15283 * time/strptime_l.c (__strptime_internal): Likewise.
15284 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
15286 2017-08-31 Florian Weimer <fweimer@redhat.com>
15288 * iconv/gconv.c (__gconv): Remove internal_function.
15289 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
15290 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
15291 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
15292 (__gconv_release_cache): Likewise.
15293 * iconv/gconv_close.c (__gconv_close): Likewise.
15294 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
15295 (read_conf_file, __gconv_get_path): Likewise.
15296 * iconv/gconv_db.c (derivation_lookup, add_derivation)
15297 (__gconv_release_step, gen_steps, increment_counter)
15298 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
15299 (__gconv_close_transform, free_modules_db): Likewise.
15300 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
15302 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
15303 (__gconv_find_transform, __gconv_lookup_cache)
15304 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
15305 (__gconv_close_transform, __gconv_release_cache)
15306 (__gconv_loaded_object, __gconv_release_shlib)
15307 (__gconv_compare_alias): Likewise.
15308 * iconv/gconv_open.c (__gconv_open): Likewise.
15309 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
15310 * iconv/iconvconfig.c (add_module): Likewise.
15311 * intl/dcigettext.c (plural_lookup, guess_category_value)
15312 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
15313 * intl/eval-plural.h (plural_eval): Likewise.
15314 * intl/finddomain.c (_nl_find_domain): Likewise.
15315 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
15316 (_nl_load_domain, _nl_find_msg): Likewise.
15317 (internal_function): Remove definition.
15318 * intl/loadinfo.h (internal_function): Likewise.
15319 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
15321 * intl/localealias.c (internal_function): Remove definition.
15322 (read_alias_file): Remove internal_function.
15323 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
15324 * intl/plural-exp.h (internal_function): Remove definition.
15325 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
15327 * intl/plural.c: Regenerate.
15328 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
15329 * locale/coll-lookup.c (__collidx_table_lookup)
15330 (__collseq_table_lookup): Likewise.
15331 * locale/coll-lookup.h (__collidx_table_lookup)
15332 (__collseq_table_lookup): Likewise.
15333 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
15334 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15335 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
15336 (_nl_unload_locale): Likewise.
15337 * locale/localeinfo.h (struct __locale_data): Remove
15338 internal_function from cleanup member.
15339 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
15340 (_nl_remove_locale, _nl_load_locale_from_archive)
15341 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
15342 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
15343 (_nl_cleanup_time): Remove internal_function.
15344 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
15345 (_nl_parse_alt_digit): Likewise.
15346 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
15347 (_nl_select_era_entry): Likewise.
15348 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
15349 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
15350 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
15351 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
15352 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
15354 2017-08-31 Florian Weimer <fweimer@redhat.com>
15356 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
15357 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
15358 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
15359 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
15361 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
15362 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
15363 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
15364 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
15366 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
15368 2017-08-31 Florian Weimer <fweimer@redhat.com>
15370 * misc/getttyent.c (skip, value): Remove internal_function.
15371 * misc/syslog.c (openlog_internal): Likewise.
15372 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
15374 2017-08-31 Florian Weimer <fweimer@redhat.com>
15376 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
15377 (__nss_rewrite_field): Remove internal_function.
15378 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15379 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
15380 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15381 * nss/nsswitch.c (nss_parse_file, nss_getline)
15382 (nss_parse_service_list, nss_new_service): Likewise.
15383 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
15384 * nss/valid_field.c (__nss_valid_field): Likewise.
15385 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
15387 2017-08-31 Florian Weimer <fweimer@redhat.com>
15389 * malloc/arena.c (__malloc_fork_lock_parent)
15390 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
15391 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
15392 internal_function from defintions.
15393 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
15394 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
15395 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
15396 internal_function from declarations.
15397 * malloc/malloc.c (internal_function): Do not define.
15398 (mem2mem_check): Remove internal_function from declaration.
15399 (munmap_chunk, mremap_chunk): Remove internal_function.
15400 * malloc/mtrace.c (tr_where): Likewise.
15402 2017-08-31 Florian Weimer <fweimer@redhat.com>
15404 * include/rpc/pmap_clnt.h (__get_socket): Remove
15406 * sunrpc/auth_des.c (synchronize): Likewise.
15407 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
15408 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
15409 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
15410 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
15411 (key_call): Likewise.
15412 * sunrpc/pm_getport.c (__get_socket): Likewise.
15413 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
15414 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
15415 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
15416 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
15417 (invalidate): Likewise.
15418 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
15419 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
15420 (set_input_fragment, get_input_bytes): Likewise.
15422 2017-08-31 Florian Weimer <fweimer@redhat.com>
15424 * malloc/malloc.c (_int_free): Remove locked variable and related
15427 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
15430 * Makerules (build-module-helper-objlist): Filter out
15431 $(elf-objpfx)sofini.os.
15432 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
15435 2017-08-31 Florian Weimer <fweimer@redhat.com>
15437 * libio/fcloseall.c: Assume weak_alias is defined.
15438 * libio/feof.c: Likewise.
15439 * libio/fileno.c: Likewise.
15440 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
15441 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
15443 (_IO_file_open): Call __open directly.
15444 (_IO_new_file_sync): Assume ESPIPE is defined.
15445 (_IO_file_seekoff_maybe_mmap): Call __read directly.
15446 (_IO_new_file_write): Call __write directly.
15447 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
15448 * libio/ftello64.c (__ftello64): Assume EIO is defined.
15449 * libio/genops.c: Assume _LIBC is defined.
15450 (save_for_backup): Remove internal_function.
15451 * libio/getc.c: Assume weak_alias is defined.
15452 * libio/getwc.c: Likewise.
15453 * libio/iofclose.c: Assume _LIBC is defined.
15454 * libio/iofdopen.c: Likewise.
15455 (_IO_fcntl): Remove macro definition.
15456 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
15457 Call __fcntl directly.
15458 * libio/iofflush.c: Assume weak_alias is defined.
15459 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
15461 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
15462 * libio/iofgets.c: Likewise.
15463 * libio/iofopen.c: Assume _LIBC is defined.
15464 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
15465 * libio/iofputs.c: Assume weak_alias is defined.
15466 * libio/iofread.c: Likewise.
15467 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
15468 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
15469 * libio/ioftell.c: Assume weak_alias is defined.
15470 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
15471 * libio/iofwide.c: Assume _LIBC is defined.
15472 (_IO_fwide): Drop SHARED conditional because it is implied by
15474 * libio/iofwrite.c: Assume weak_alias is defined.
15475 * libio/iogetdelim.c: Likewise.
15476 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
15477 * libio/iogetwline.c (wmemcpy): Remove macro definition.
15478 (_IO_getwline): Call __wmemcpy directly.
15479 * libio/iopopen.c: Assume _LIBC is defined.
15480 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
15481 (_IO_close): Remove macro definitions.
15482 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
15484 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
15486 * libio/ioputs.c: Assume weak_alias is defined.
15487 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
15488 * libio/iosetbuffer.c: Assume weak_alias is defined.
15489 * libio/iosetvbuf.c: Likewise.
15490 * libio/ioungetc.c: Likewise.
15491 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
15492 libc_hidden_def, libc_hidden_weak, NULL are defined.
15493 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
15494 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
15496 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
15498 (_IO_old_file_init_internal): Drop SHARED conditional because it
15499 is implied by SHLIB_COMPAT.
15500 (_IO_old_file_fopen): Call __open directly.
15501 (_IO_old_file_sync): Assume ESPIPE is defined.
15502 (_IO_old_file_write): Call __write directly.
15503 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
15504 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
15505 Call __fcntl directly.
15506 * libio/oldiofgetpos.c: Assume weak_alias is defined.
15507 (_IO_old_fgetpos): Assume EIO is defined.
15508 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
15509 (_IO_old_fgetpos64): Assume EIO is defined.
15510 * libio/oldiofsetpos.c: Assume weak_alias is defined.
15511 (_IO_old_fsetpos): Assume EIO is defined.
15512 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
15513 (_IO_old_fsetpos64): Assume EIO is defined.
15514 * libio/oldiopopen.c: Assume _LIBC is defined.
15515 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
15516 (_IO_close): Remove macro definitions.
15517 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
15519 (_IO_old_proc_close): Call __close, __waitpid directly.
15520 * libio/put.c: Assume weak_alias is defined.
15521 * libio/stdfiles.c: Assume _LIBC is defined.
15522 * libio/stdio.c: Likewise.
15523 * libio/wfileops.c: Likewise.
15524 (_IO_wfile_sync): Assume ESPIPE is defined.
15525 * libio/wgenops.c: Assume _LIBC is defined.
15526 (save_for_wbackup): Remove internal_function.
15528 2017-08-31 Florian Weimer <fweimer@redhat.com>
15530 * malloc/malloc.c (top_check): Change return type to void. Remove
15532 * malloc/hooks.c (top_check): Likewise.
15533 (malloc_check, realloc_check, memalign_check): Adjust.
15535 2017-08-30 Joseph Myers <joseph@codesourcery.com>
15538 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
15539 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
15540 sigcontext and namespace requirements.
15541 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
15542 * sysdeps/m68k/sys/ucontext.h: Likewise.
15543 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
15544 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
15545 <bits/sigcontext.h>.
15546 (__ctx): Define earlier.
15547 (mcontext_t): Define structure contents rather than using struct
15549 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
15550 __glibc_reserved1 instead of __reserved.
15551 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
15552 <bits/sigcontext.h>.
15553 (__ctx): Define earlier.
15554 (mcontext_t): Define structure contents rather than using struct
15556 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
15557 mcontext_t instead of struct sigcontext.
15558 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
15559 <bits/sigcontext.h>.
15560 (__ctx): Define earlier.
15561 (mcontext_t): Define structure contents rather than using struct
15563 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
15564 <bits/sigcontext.h>.
15565 (__ctx): Define earlier.
15566 (mcontext_t): Define structure contents rather than using struct
15568 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
15569 mcontext_t instead of struct sigcontext.
15570 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
15571 mcontext_t instead of struct sigcontext.
15572 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
15573 <bits/sigcontext.h>.
15574 (__ctx): New macro.
15575 (struct __ia64_fpreg_mcontext): New type.
15576 (mcontext_t): Define structure contents rather than using struct
15578 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
15579 (uc_sigmask): Define using __ctx.
15580 (uc_stack): Likewise.
15581 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
15582 <bits/sigcontext.h>.
15583 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15584 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
15585 <bits/sigcontext.h>.
15586 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
15587 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
15588 <bits/sigcontext.h>.
15589 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
15590 <bits/sigcontext.h>.
15591 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
15592 <bits/sigcontext.h>.
15593 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
15594 <bits/sigcontext.h>.
15595 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
15596 <bits/sigcontext.h>.
15597 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
15598 <bits/sigcontext.h>.
15599 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
15600 <bits/sigcontext.h>.
15601 (__ctx): Define earlier.
15602 (mcontext_t): Define structure contents rather than using struct
15604 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
15605 <bits/sigcontext.h>. Include <bits/types.h>.
15606 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
15607 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
15608 (test-xfail-XPG42/ucontext.h/conform): Likewise.
15609 (test-xfail-UNIX98/signal.h/conform): Likewise.
15610 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15611 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15612 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15613 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15614 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15615 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15616 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15617 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15618 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15620 2017-08-30 Florian Weimer <fweimer@redhat.com>
15622 * malloc/dynarray_emplace_enlarge.c
15623 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
15624 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
15625 * malloc/tst-dynarray.c (test_long_overflow): New function.
15626 (do_test): Call it.
15628 2017-08-30 Florian Weimer <fweimer@redhat.com>
15630 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
15631 (set_arena_corrupt): Remove definitions.
15632 (mtrim): Do not check for corrupt arena.
15633 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
15636 2017-08-30 Florian Weimer <fweimer@redhat.com>
15639 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
15641 (ptmalloc_init): Do not set or use check_action.
15642 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
15643 call to malloc_printerr. Remove return statement.
15644 (free_check): Likewise. Remove arena unlock.
15645 (top_check): Update comment. Adjust call to malloc_printerr.
15646 Remove heap repair code.
15647 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
15648 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
15649 (sysmalloc): Adjust call to malloc_printerr.
15650 (munmap_chunk, __libc_realloc): Likewise. Remove return
15652 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
15653 Remove errout label and corresponding gotos.
15654 (_int_free): Likewise. Remove arena unlock.
15655 (do_set_mallopt_check): Do not set check_action.
15656 (malloc_printerr): Adjust parameter list. Do not mark arena as
15658 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
15660 * manual/probes.texi (Memory Allocation Probes): Remove
15661 memory_mallopt_check_action.
15663 2017-08-30 Steve Ellcey <sellcey@cavium.com>
15665 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
15666 Use pointer to uint64_t instead of long int for sp.
15668 2017-08-30 Florian Weimer <fweimer@redhat.com>
15671 * malloc/malloc.c (malloc_printerr): Always terminate the process,
15672 without printing a backtrace. Do not leak any information in the
15674 * manual/memory.texi (Heap Consistency Checking): Update.
15675 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
15677 2017-08-30 Florian Weimer <fweimer@redhat.com>
15679 Do not scale NPTL tests with available number of CPUs.
15680 * nptl/tst-cond16.c (count): Set to constant value of 8.
15681 * nptl/tst-cond18.c (count): Likewise.
15683 2017-08-29 Joseph Myers <joseph@codesourcery.com>
15686 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
15687 Define to take a second argument that is a macro that
15688 concatentates a suffix, not the suffix itself.
15689 (__CONCAT_d): New macro.
15690 (__CONCAT_f): Likewise.
15691 (__CONCAT_l): Likewise.
15693 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
15695 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
15698 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15699 Aurelien Jarno <aurelien@aurel32.net>
15700 Maciej W. Rozycki <macro@imgtec.com>
15703 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
15704 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
15705 `mips16-syscall6' and `mips16-syscall7'.
15706 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
15707 (CFLAGS-mips16-syscall7.c): Remove.
15708 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
15709 Remove `__mips16_syscall5', `__mips16_syscall6' and
15710 `__mips16_syscall7'.
15711 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
15712 (__mips16_syscall0): Rename `__mips16_syscall_return' to
15713 `__mips_syscall_return'.
15714 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
15715 (__mips16_syscall1): Likewise.
15716 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
15717 (__mips16_syscall2): Likewise.
15718 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
15719 (__mips16_syscall3): Likewise.
15720 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
15721 (__mips16_syscall4): Likewise.
15722 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
15724 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
15726 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
15728 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
15729 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
15730 `__mips16_syscall5'. Remove prototype.
15731 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
15732 `__mips16_syscall6'. Remove prototype.
15733 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
15734 `__mips16_syscall7'. Remove prototype.
15735 (__nomips16, __mips16_syscall_return): Move to...
15736 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
15737 (__nomips16, __mips_syscall_return): ... here.
15738 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
15739 `__mips16_syscall_return' to `__mips_syscall_return'.
15740 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
15741 `internal_syscall##nr'.
15742 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
15743 `internal_syscall##nr'.
15744 (FORCE_FRAME_POINTER): Remove.
15745 (__mips_syscall5): New prototype.
15746 (internal_syscall5): Rewrite to call `__mips_syscall5'.
15747 (__mips_syscall6): New prototype.
15748 (internal_syscall6): Rewrite to call `__mips_syscall6'.
15749 (__mips_syscall7): New prototype.
15750 (internal_syscall7): Rewrite to call `__mips_syscall7'.
15751 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
15752 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
15753 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
15754 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
15755 (sysdep_routines): Add libc-do-syscall.
15756 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
15757 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
15759 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15762 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
15763 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
15764 (advise_stack_range): New function.
15765 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
15766 stack non required to advise_stack_range at allocatestack.c
15768 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
15770 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
15772 2017-08-29 Florian Weimer <fweimer@redhat.com>
15775 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
15776 __end_fct. Mangle __end_fct after setting it to NULL.
15777 * iconv/Makefile (tests): Add tst-gconv-init-failure.
15778 (modules-names, modules-names-tests): Add
15779 tst-gconv-init-failure-mod.
15780 (gconv-modules): New target.
15781 (tst-gconv-init-failure-mod.so): Link against libsupport.
15782 (tst-gconv-init-failure): Depend on gconv-modules,
15783 tst-gconv-init-failure-mod.so.
15784 * iconv/tst-gconv-init-failure-mod.c: New file.
15785 * iconv/tst-gconv-init-failure.c: Likewise.
15786 * iconv/test-gconv-modules: Likewise.
15788 2017-08-29 Florian Weimer <fweimer@redhat.com>
15791 * iconv/gconv_db.c (free_derivation): Remove redundant
15793 (gen_steps): Unconditionally mangle __btowc_fct after
15795 (increment_counter): Likewise. Do not call init_fct for internal
15798 2017-08-29 Joseph Myers <joseph@codesourcery.com>
15801 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
15802 (_MSUF_): Remove macro.
15803 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
15805 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
15806 (__REDIRFROM_X): New macro.
15807 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
15809 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
15810 (__REDIRTO_X): Likewise.
15811 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
15813 (__MATH_REDIRCALL_2): Likewise.
15814 (__MATH_REDIRCALL_INTERNAL): Likewise.
15815 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
15816 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
15817 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
15818 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
15819 * math/test-finite-macros.c: New file.
15820 * math/Makefile (tests): Add test-finite-macros.
15821 (CFLAGS-test-finite-macros.c): New variable.
15823 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
15824 Jeff Law <law@redhat.com>
15827 Mangle NULL pointers in iconv/gconv.
15828 * iconv/gconv_cache.c (find_module): Demangle init_fct before
15829 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
15830 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
15831 is non-NULL before demangling the end_fct. Check for NULL
15832 end_fct after demangling.
15833 (__gconv_release_step): Demangle the end_fct before checking
15834 it for NULL. Remove assert on __shlibc_handle != NULL.
15835 (gen_steps): Don't check btowc_fct for NULL before mangling.
15836 Demangle init_fct before checking for NULL.
15837 (increment_counter): Likewise.
15838 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
15839 end_fct for NULL before mangling.
15840 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
15843 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
15846 * locale/iso-639.def: add Morisyen.
15848 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15851 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
15852 (iszero): New C++ implementation that does not use
15853 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
15854 signaling nans are enabled, since __builtin_types_compatible_p
15855 is a C-only feature.
15856 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
15857 defined, include ieee754_float128.h for access to the union and
15858 member ieee854_float128.ieee.
15859 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
15860 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
15861 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
15862 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
15863 options of test-math-zero on powerpc64le.
15865 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
15867 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
15868 Change double to float.
15870 2017-08-28 Joseph Myers <joseph@codesourcery.com>
15872 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
15874 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
15875 conditional code; define contents only for [LIBM_SVID_COMPAT].
15877 2017-08-28 Florian Weimer <fweimer@redhat.com>
15879 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
15880 (abi-lp64_be-options): Remove.
15881 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
15882 (abi-hard-options): Likewise.
15883 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
15884 (abi-o32_hard-options, abi-o32_soft_2008-options)
15885 (abi-o32_hard_2008-options, abi-n32_soft-options)
15886 (abi-n32_hard-options, abi-n32_soft_2008-options)
15887 (abi-n32_hard_2008-options, abi-n64_soft-options)
15888 (abi-n64_hard-options, abi-n64_soft_2008-options)
15889 (abi-n64_hard_2008-options): Likewise.
15890 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
15891 (abi-64-v1-options, abi-64-v2-options): Likewise.
15892 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
15893 (abi-64-options): Likewise.
15894 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
15895 (abi-64-options): Likewise.
15896 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
15897 (abi-64-options): Likewise.
15898 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
15899 (abi-64-options, abi-x32-options): Likewise.
15901 2017-08-28 Florian Weimer <fweimer@redhat.com>
15903 Store supported list of SYS_* system calls in the source tree.
15904 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
15905 (bits/syscall.h): Generate from list file.
15906 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
15907 [$(subdir) = misc] (tests): Add tst-syscall-list.
15908 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
15909 [$(subdir) = misc] (tst-syscall-list-macros.list)
15910 [$(subdir) = misc] (tst-syscall-list-nr.list)
15911 (tst-syscall-list-sys.list): Helper targets for new
15912 tst-syscall-list test.
15913 [$(subdir) = misc] (tst-syscall-list.out): Run test script
15914 tst-syscall-list.sh.
15915 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
15916 target. Do not include bits/syscall.d.
15917 [$(subdir) = misc] (generated): Do not update.
15918 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
15919 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
15920 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
15921 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
15923 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15925 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
15926 (tst-cxa_atexit, tst-on_exit): Likewise.
15927 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
15928 tst-cxa_atexit, and tst-on_exit.
15929 * stdlib/tst-atexit-common.c: New file.
15930 * stdlib/tst-atexit.c: New file.
15931 * stdlib/tst-at_quick_exit.c: New file.
15932 * stdlib/tst-cxa_atexit.c: New file.
15933 * stdlib/tst-on_exit.c: New file.
15935 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15937 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
15938 * mach/stack_chk_fail_local.c: New file.
15939 * hurd/stack_chk_fail_local.c: New file.
15940 * mach/Machrules ($(interface-library)-routines): Add
15941 stack_chk_fail_local.
15942 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
15943 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
15944 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
15945 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
15946 * hurd/Makefile (CFLAGS-hurdstartup.o,
15947 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
15949 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
15951 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
15952 (index_cpu_*, index_arch_*): Removed.
15954 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
15956 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
15957 Use uint64_t instead of unsigned long.
15959 2017-08-25 Joseph Myers <joseph@codesourcery.com>
15961 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
15962 [__HAVE_DISTINCT_FLOAT128].
15964 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
15965 of <bits/math-finite.h>.
15966 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
15967 inclusion of <bits/math-finite.h>.
15968 * math/bits/math-finite.h (__REDIRTO_X): Do not define
15969 conditionally on [__MATH_DECLARING_LDOUBLE && defined
15970 __NO_LONG_DOUBLE_MATH].
15971 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
15972 (__MATH_REDIRCALL_2): Likewise.
15973 (__MATH_REDIRCALL_INTERNAL): Likewise.
15974 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
15975 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
15976 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
15978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
15980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
15982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
15984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
15986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
15988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
15990 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
15991 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
15992 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
15993 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
15994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
15995 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
15996 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
15997 w_sqrtf_compat-ppc32.
15999 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16001 * math/math.h [defined __cplusplus] (issignaling): In the long
16002 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
16003 is not defined. Call __issignaling, otherwise.
16005 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16007 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
16008 syscall definitions and replace __builtin_expect with __glibc_likely.
16009 * sysdeps/unix/syscall-template.S: Update comment about cancellable
16011 (SYSCALL_CANCELLABLE): Removedefinition
16012 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
16014 (PSEUDO_END): Likewise.
16015 [IS_IN (libpthread)] (CENABLE): Likewise.
16016 [IS_IN (libpthread)] (CDISABLE): Likewise.
16017 [IS_IN (libc)] (CENABLE): Likewise.
16018 [IS_IN (libc)] (CENABLE): Likewise.
16019 [IS_IN (librt)] (CDISABLE): Likewise.
16020 [IS_IN (librt)] (CDISABLE): Likewise.
16021 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16022 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
16024 (PSEUDO_END): Likewise.
16025 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
16026 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
16027 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
16028 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
16029 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
16030 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
16031 (CENABLE): Likewise.
16032 (CDISABLE): Likewise.
16033 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16034 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
16036 (PSEUDO_END): Likewise.
16037 [IS_IN (libpthread)] (CENABLE): Likewise.
16038 [IS_IN (libpthread)] (CDISABLE): Likewise.
16039 [IS_IN (libc)] (CENABLE): Likewise.
16040 [IS_IN (libc)] (CENABLE): Likewise.
16041 [IS_IN (librt)] (CDISABLE): Likewise.
16042 [IS_IN (librt)] (CDISABLE): Likewise.
16043 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16044 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
16046 (PSEUDO_END): Likewise.
16047 [IS_IN (libpthread)] (CENABLE): Likewise.
16048 [IS_IN (libpthread)] (CDISABLE): Likewise.
16049 [IS_IN (libc)] (CENABLE): Likewise.
16050 [IS_IN (libc)] (CENABLE): Likewise.
16051 [IS_IN (librt)] (CDISABLE): Likewise.
16052 [IS_IN (librt)] (CDISABLE): Likewise.
16053 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16054 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
16056 (PSEUDO_END): Likewise.
16057 [IS_IN (libpthread)] (CENABLE): Likewise.
16058 [IS_IN (libpthread)] (CDISABLE): Likewise.
16059 [IS_IN (libc)] (CENABLE): Likewise.
16060 [IS_IN (libc)] (CENABLE): Likewise.
16061 [IS_IN (librt)] (CDISABLE): Likewise.
16062 [IS_IN (librt)] (CDISABLE): Likewise.
16063 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16064 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
16066 (PSEUDO_END): Likewise.
16067 [IS_IN (libpthread)] (CENABLE): Likewise.
16068 [IS_IN (libpthread)] (CDISABLE): Likewise.
16069 [IS_IN (libc)] (CENABLE): Likewise.
16070 [IS_IN (libc)] (CENABLE): Likewise.
16071 [IS_IN (librt)] (CDISABLE): Likewise.
16072 [IS_IN (librt)] (CDISABLE): Likewise.
16073 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16074 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
16076 (PSEUDO_END): Likewise.
16077 [IS_IN (libpthread)] (CENABLE): Likewise.
16078 [IS_IN (libpthread)] (CDISABLE): Likewise.
16079 [IS_IN (libc)] (CENABLE): Likewise.
16080 [IS_IN (libc)] (CENABLE): Likewise.
16081 [IS_IN (librt)] (CDISABLE): Likewise.
16082 [IS_IN (librt)] (CDISABLE): Likewise.
16083 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16084 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
16086 (PSEUDO_END): Likewise.
16087 [IS_IN (libpthread)] (CENABLE): Likewise.
16088 [IS_IN (libpthread)] (CDISABLE): Likewise.
16089 [IS_IN (libc)] (CENABLE): Likewise.
16090 [IS_IN (libc)] (CENABLE): Likewise.
16091 [IS_IN (librt)] (CDISABLE): Likewise.
16092 [IS_IN (librt)] (CDISABLE): Likewise.
16093 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16094 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
16096 (PSEUDO_END): Likewise.
16097 [IS_IN (libpthread)] (CENABLE): Likewise.
16098 [IS_IN (libpthread)] (CDISABLE): Likewise.
16099 [IS_IN (libc)] (CENABLE): Likewise.
16100 [IS_IN (libc)] (CENABLE): Likewise.
16101 [IS_IN (librt)] (CDISABLE): Likewise.
16102 [IS_IN (librt)] (CDISABLE): Likewise.
16103 (SINGLE_THREAD_P): Likewise.
16104 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
16106 (PSEUDO_END): Likewise.
16107 [IS_IN (libpthread)] (CENABLE): Likewise.
16108 [IS_IN (libpthread)] (CDISABLE): Likewise.
16109 [IS_IN (libc)] (CENABLE): Likewise.
16110 [IS_IN (libc)] (CENABLE): Likewise.
16111 [IS_IN (librt)] (CDISABLE): Likewise.
16112 [IS_IN (librt)] (CDISABLE): Likewise.
16113 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16114 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
16116 (PSEUDO_END): Likewise.
16117 [IS_IN (libpthread)] (CENABLE): Likewise.
16118 [IS_IN (libpthread)] (CDISABLE): Likewise.
16119 [IS_IN (libc)] (CENABLE): Likewise.
16120 [IS_IN (libc)] (CENABLE): Likewise.
16121 [IS_IN (librt)] (CDISABLE): Likewise.
16122 [IS_IN (librt)] (CDISABLE): Likewise.
16123 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16124 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
16125 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
16126 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
16127 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
16129 (PSEUDO_END): Likewise.
16130 [IS_IN (libpthread)] (CENABLE): Likewise.
16131 [IS_IN (libpthread)] (CDISABLE): Likewise.
16132 [IS_IN (libc)] (CENABLE): Likewise.
16133 [IS_IN (libc)] (CENABLE): Likewise.
16134 [IS_IN (librt)] (CDISABLE): Likewise.
16135 [IS_IN (librt)] (CDISABLE): Likewise.
16136 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16137 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
16139 (PSEUDO_END): Likewise.
16140 [IS_IN (libpthread)] (CENABLE): Likewise.
16141 [IS_IN (libpthread)] (CDISABLE): Likewise.
16142 [IS_IN (libc)] (CENABLE): Likewise.
16143 [IS_IN (libc)] (CENABLE): Likewise.
16144 [IS_IN (librt)] (CDISABLE): Likewise.
16145 [IS_IN (librt)] (CDISABLE): Likewise.
16146 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16147 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
16149 (PSEUDO_END): Likewise.
16150 [IS_IN (libpthread)] (CENABLE): Likewise.
16151 [IS_IN (libpthread)] (CDISABLE): Likewise.
16152 [IS_IN (libc)] (CENABLE): Likewise.
16153 [IS_IN (libc)] (CENABLE): Likewise.
16154 [IS_IN (librt)] (CDISABLE): Likewise.
16155 [IS_IN (librt)] (CDISABLE): Likewise.
16156 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
16158 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16159 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
16160 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
16162 (PSEUDO_END): Likewise.
16163 [IS_IN (libpthread)] (CENABLE): Likewise.
16164 [IS_IN (libpthread)] (CDISABLE): Likewise.
16165 [IS_IN (libc)] (CENABLE): Likewise.
16166 [IS_IN (libc)] (CENABLE): Likewise.
16167 [IS_IN (librt)] (CDISABLE): Likewise.
16168 [IS_IN (librt)] (CDISABLE): Likewise.
16169 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16170 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
16172 (PSEUDO_END): Likewise.
16173 [IS_IN (libpthread)] (CENABLE): Likewise.
16174 [IS_IN (libpthread)] (CDISABLE): Likewise.
16175 [IS_IN (libc)] (CENABLE): Likewise.
16176 [IS_IN (libc)] (CENABLE): Likewise.
16177 [IS_IN (librt)] (CDISABLE): Likewise.
16178 [IS_IN (librt)] (CDISABLE): Likewise.
16179 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16181 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16183 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
16185 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
16187 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16189 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
16192 * string/stratcliff.c (do_test): Declare size, nchars, inner,
16193 middle and outer with size_t instead of int. Repleace %d and
16194 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
16195 "MAX (outer, nchars - 64)" to support unsigned outer and
16196 nchars. Also exit loop when outer == 0.
16198 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16200 * include/fcntl.h (__fcntl_nocancel): Remove definition.
16201 * include/signal.h (__sigsuspend_nocancel): Likewise.
16202 * include/time.h (__nanosleep_nocancel): Likewise.
16203 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
16204 * login/utmp_file.c: Include non cancellable syscall header.
16205 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
16208 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
16210 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
16211 .byte sequences with AVX512F instructions.
16212 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
16213 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
16214 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
16215 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
16217 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
16220 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
16221 Steve Ellcey <sellcey@cavium.com>
16223 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
16224 Use PTR_REG macro in cmp instruction.
16226 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16228 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
16229 Change the return type of the ifunc resolver to match the return
16230 type of the target function.
16232 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16234 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
16235 (preadv64): Likewise.
16236 (pwrite64(: Likewise.
16237 (pwritev64): Likewise.
16239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16240 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
16241 (LOAD_ARGS_0): Likewise.
16242 (LOAD_ARGS_1): Likewise.
16243 (LOAD_ARGS_2): Likewise.
16244 (LOAD_ARGS_3): Likewise.
16245 (LOAD_ARGS_4): Likewise.
16246 (LOAD_ARGS_5): Likewise.
16247 (LOAD_ARGS_6): Likewise.
16248 (LOAD_REGS_0): Likewise.
16249 (LOAD_REGS_1): Likewise.
16250 (LOAD_REGS_2): Likewise.
16251 (LOAD_REGS_3): Likewise.
16252 (LOAD_REGS_4): Likewise.
16253 (LOAD_REGS_5): Likewise.
16254 (LOAD_REGS_6): Likewise.
16255 (ASM_ARGS_0): Likewise.
16256 (ASM_ARGS_1): Likewise.
16257 (ASM_ARGS_2): Likewise.
16258 (ASM_ARGS_3): Likewise.
16259 (ASM_ARGS_4): Likewise.
16260 (ASM_ARGS_5): Likewise.
16261 (ASM_ARGS_6): Likewise.
16262 (LOAD_ARGS_TYPES_1): Likewise.
16263 (LOAD_ARGS_TYPES_2): Likewise.
16264 (LOAD_ARGS_TYPES_3): Likewise.
16265 (LOAD_ARGS_TYPES_4): Likewise.
16266 (LOAD_ARGS_TYPES_5): Likewise.
16267 (LOAD_ARGS_TYPES_6): Likewise.
16268 (LOAD_REGS_TYPES_1): Likewise.
16269 (LOAD_REGS_TYPES_2): Likewise.
16270 (LOAD_REGS_TYPES_3): Likewise.
16271 (LOAD_REGS_TYPES_4): Likewise.
16272 (LOAD_REGS_TYPES_5): Likewise.
16273 (LOAD_REGS_TYPES_6): Likewise.
16274 (TYPEFY): New define.
16275 (ARGIFY): Likewise.
16276 (internal_syscall0): Likewise.
16277 (internal_syscall1): Likewise.
16278 (internal_syscall2): Likewise.
16279 (internal_syscall3): Likewise.
16280 (internal_syscall4): Likewise.
16281 (internal_syscall5): Likewise.
16282 (internal_syscall6): Likewise.
16283 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
16284 (INTERNAL_SYSCALL_NCS): Remove define.
16285 (internal_syscall1): Add define.
16287 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16289 * math/w_remainder_compat.c: Remove duplicate inclusion of
16290 math-svid-compat.h.
16291 * math/w_remainderf_compat.c: Likewise.
16292 * math/w_remainderl_compat.c: Likewise.
16294 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16298 2017-08-22 Joseph Myers <joseph@codesourcery.com>
16301 * math/tgmath.h (__floating_type): Simplify definitions.
16302 (__real_integer_type): New macro.
16303 (__complex_integer_type): Likewise.
16304 (__expr_is_real): Likewise.
16305 (__tgmath_real_type_sub): Update comment to describe handling of
16307 (__tgmath_complex_type_sub): New macro.
16308 (__tgmath_complex_type): Likewise.
16309 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16310 (__TGMATH_CF128): Use __expr_is_real.
16311 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
16313 (__TGMATH_BINARY_REAL_IMAG): Likewise.
16314 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
16315 * math/gen-tgmath-tests.py (Type.create_type): Create complex
16318 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16320 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
16322 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
16324 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
16327 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
16328 nanosleep_not_cancel with __nanosleep_nocancel.
16329 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
16330 (__nanosleep_nocancel): New macro.
16331 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
16333 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
16335 (__nanosleep_nocancel): New prototype.
16337 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
16338 pause_not_cancel with __pause_nocancel.
16339 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
16340 (__pause_nocancel): New macro.
16341 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
16343 (__pause_nocancel): New prototype.
16344 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
16346 2017-08-22 Martin Sebor <msebor@redhat.com>
16348 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
16349 to return a pointer to the same type as the target function.
16351 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
16355 * include/printf.h (__printf_fphex): Add attribute_hidden.
16356 (__guess_grouping): New prototype.
16357 * stdio-common/printf_fp.c (__guess_grouping): Removed.
16358 * stdio-common/reg-printf.c (__register_printf_specifier): Add
16359 libc_hidden_proto and libc_hidden_def.
16360 * stdlib/strfmon_l.c (__guess_grouping): Removed.
16361 (__vstrfmon_l): Remove the third argument passed to
16364 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16366 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
16367 definition for issignaling that does not rely on __MATH_TG,
16368 since __MATH_TG uses __builtin_types_compatible_p, which is only
16369 available in C mode.
16370 (CFLAGS-test-math-issignaling.cc): New variable.
16371 * math/Makefile [CXX] (tests): Add test-math-issignaling.
16372 * math/test-math-issignaling.cc: New test for C++ implementation
16373 of type-generic issignaling.
16374 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
16375 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
16376 options of test-math-issignaling on powerpc64le.
16378 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
16380 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
16382 (hidden_proto): Likewise.
16383 (hidden_tls_proto): Likewise.
16384 (__hidden_proto): Likewise.
16386 2017-08-22 Florian Weimer <fweimer@redhat.com>
16388 math: Statically link tests of internal functionality.
16389 * math/Makefile (tests): Remove atest-exp, atest-sincos,
16391 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
16392 (gmp-objs): Remove assignment.
16393 (atest-exp, atest-sincos, atest-exp2): Remove targets.
16395 2017-08-22 Joseph Myers <joseph@codesourcery.com>
16398 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
16400 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
16402 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
16405 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
16406 variable definitions above inclusion of ../Rules.
16408 2017-08-21 Joseph Myers <joseph@codesourcery.com>
16410 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
16411 case calling __builtin_unreachable.
16413 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16415 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
16416 __waitpid_nocancel.
16417 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
16418 (__waitpid_nocancel): New macro.
16419 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
16421 (__waitpid_nocancel): Replace macro with a function.
16422 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
16425 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
16427 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
16428 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
16430 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
16431 __writev_nocancel_nostatus.
16432 (write_call_graph): Likewise.
16433 (write_bb_counts): Likewise.
16434 * resolv/herror.c (herror): Likewise.
16435 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
16437 (__writev_nocancel_nostatus): New macro.
16438 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
16440 (__writev_nocancel_nostatus): New function.
16442 2017-08-21 Joseph Myers <joseph@codesourcery.com>
16445 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16447 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
16449 (hidden_proto): Likewise.
16450 (hidden_tls_proto): Likewise.
16451 (__hidden_proto): Likewise.
16454 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
16455 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
16456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
16458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
16460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
16462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
16464 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
16465 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
16466 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
16467 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
16468 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
16469 GLIBC_2.0 sqrtl symbol.
16471 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
16472 [__USE_MISC] (_LIB_VERSION): Likewise.
16473 [__USE_MISC] (struct exception): Likewise.
16474 [__USE_MISC] (matherr): Likewise.
16475 [__USE_MISC] (DOMAIN): Likewise.
16476 [__USE_MISC] (SING): Likewise.
16477 [__USE_MISC] (OVERFLOW): Likewise.
16478 [__USE_MISC] (UNDERFLOW): Likewise.
16479 [__USE_MISC] (TLOSS): Likewise.
16480 [__USE_MISC] (PLOSS): Likewise.
16481 [__USE_MISC] (HUGE): Likewise.
16482 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
16483 * math/math-svid-compat.h: New file.
16484 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
16486 * include/math.h [!_ISOMAC] (__matherr): Remove.
16487 * manual/arith.texi (FP Exceptions): Do not document matherr.
16488 * math/Makefile (tests): Change test-matherr to test-matherr-3.
16489 (tests-internal): New variable.
16490 (install-lib): Do not add libieee.a.
16491 (non-lib.a): Likewise.
16492 (extra-objs): Do not add libieee.a and ieee-math.o.
16493 (CPPFLAGS-s_lib_version.c): Remove variable.
16494 ($(objpfx)libieee.a): Remove rule.
16495 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
16496 * math/ieee-math.c: Remove.
16497 * math/libm-test-support.c (matherr): Remove.
16498 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
16499 and license notices. Include <math-svid-compat.h> and
16501 (matherr): Undefine as macro. Use compat_symbol_reference.
16502 (_LIB_VERSION): Likewise.
16503 * math/test-matherr-2.c: New file.
16504 * math/test-matherr-3.c: Likewise.
16505 * sysdeps/generic/math_private.h (__kernel_standard): Remove
16507 (__kernel_standard_f): Likewise.
16508 (__kernel_standard_l): Likewise.
16509 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
16510 <math_private.h>. Include <math-svid-compat.h>.
16511 (_LIB_VERSION): Undefine as macro.
16512 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
16513 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
16514 [LIBM_SVID_COMPAT], use compat_symbol.
16515 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
16516 <math_private.h>. Include <math-svid-compat.h>.
16517 (matherr): Undefine as macro.
16518 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
16520 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
16521 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
16522 compat_symbol_reference.
16523 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
16524 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
16525 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
16526 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
16527 (MATHERR_D): Remove declaration.
16528 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
16529 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
16530 [LIBM_BUILD] (pmatherrf): Likewise.
16531 [LIBM_BUILD] (pmatherr): Likewise.
16532 [LIBM_BUILD] (pmatherrl): Likewise.
16533 (DOMAIN): Likewise.
16535 (OVERFLOW): Likewise.
16536 (UNDERFLOW): Likewise.
16539 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
16540 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
16542 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
16543 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
16545 * math/lgamma-compat.h: Include <math-svid-compat.h>.
16546 * math/w_acos_compat.c: Likewise.
16547 * math/w_acosf_compat.c: Likewise.
16548 * math/w_acosh_compat.c: Likewise.
16549 * math/w_acoshf_compat.c: Likewise.
16550 * math/w_acoshl_compat.c: Likewise.
16551 * math/w_acosl_compat.c: Likewise.
16552 * math/w_asin_compat.c: Likewise.
16553 * math/w_asinf_compat.c: Likewise.
16554 * math/w_asinl_compat.c: Likewise.
16555 * math/w_atan2_compat.c: Likewise.
16556 * math/w_atan2f_compat.c: Likewise.
16557 * math/w_atan2l_compat.c: Likewise.
16558 * math/w_atanh_compat.c: Likewise.
16559 * math/w_atanhf_compat.c: Likewise.
16560 * math/w_atanhl_compat.c: Likewise.
16561 * math/w_cosh_compat.c: Likewise.
16562 * math/w_coshf_compat.c: Likewise.
16563 * math/w_coshl_compat.c: Likewise.
16564 * math/w_exp10_compat.c: Likewise.
16565 * math/w_exp10f_compat.c: Likewise.
16566 * math/w_exp10l_compat.c: Likewise.
16567 * math/w_exp2_compat.c: Likewise.
16568 * math/w_exp2f_compat.c: Likewise.
16569 * math/w_exp2l_compat.c: Likewise.
16570 * math/w_fmod_compat.c: Likewise.
16571 * math/w_fmodf_compat.c: Likewise.
16572 * math/w_fmodl_compat.c: Likewise.
16573 * math/w_hypot_compat.c: Likewise.
16574 * math/w_hypotf_compat.c: Likewise.
16575 * math/w_hypotl_compat.c: Likewise.
16576 * math/w_j0_compat.c: Likewise.
16577 * math/w_j0f_compat.c: Likewise.
16578 * math/w_j0l_compat.c: Likewise.
16579 * math/w_j1_compat.c: Likewise.
16580 * math/w_j1f_compat.c: Likewise.
16581 * math/w_j1l_compat.c: Likewise.
16582 * math/w_jn_compat.c: Likewise.
16583 * math/w_jnf_compat.c: Likewise.
16584 * math/w_jnl_compat.c: Likewise.
16585 * math/w_lgamma_main.c: Likewise.
16586 * math/w_lgamma_r_compat.c: Likewise.
16587 * math/w_lgammaf_main.c: Likewise.
16588 * math/w_lgammaf_r_compat.c: Likewise.
16589 * math/w_lgammal_main.c: Likewise.
16590 * math/w_lgammal_r_compat.c: Likewise.
16591 * math/w_log10_compat.c: Likewise.
16592 * math/w_log10f_compat.c: Likewise.
16593 * math/w_log10l_compat.c: Likewise.
16594 * math/w_log2_compat.c: Likewise.
16595 * math/w_log2f_compat.c: Likewise.
16596 * math/w_log2l_compat.c: Likewise.
16597 * math/w_log_compat.c: Likewise.
16598 * math/w_logf_compat.c: Likewise.
16599 * math/w_logl_compat.c: Likewise.
16600 * math/w_pow_compat.c: Likewise.
16601 * math/w_powf_compat.c: Likewise.
16602 * math/w_powl_compat.c: Likewise.
16603 * math/w_remainder_compat.c: Likewise.
16604 * math/w_remainderf_compat.c: Likewise.
16605 * math/w_remainderl_compat.c: Likewise.
16606 * math/w_scalb_compat.c: Likewise.
16607 * math/w_scalbf_compat.c: Likewise.
16608 * math/w_scalbl_compat.c: Likewise.
16609 * math/w_sinh_compat.c: Likewise.
16610 * math/w_sinhf_compat.c: Likewise.
16611 * math/w_sinhl_compat.c: Likewise.
16612 * math/w_sqrt_compat.c: Likewise.
16613 * math/w_sqrtf_compat.c: Likewise.
16614 * math/w_sqrtl_compat.c: Likewise.
16615 * math/w_tgamma_compat.c: Likewise.
16616 * math/w_tgammaf_compat.c: Likewise.
16617 * math/w_tgammal_compat.c: Likewise.
16618 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
16619 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
16620 * sysdeps/ieee754/k_standard.c: Likewise.
16621 * sysdeps/ieee754/k_standardf.c: Likewise.
16622 * sysdeps/ieee754/k_standardl.c: Likewise.
16623 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
16624 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
16625 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
16626 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
16627 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
16628 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
16629 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
16630 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
16631 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
16632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
16634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
16636 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
16637 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
16638 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
16639 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
16641 2017-08-21 Florian Weimer <fweimer@redhat.com>
16644 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
16645 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
16646 Move before inclusion of ../Rules.
16648 2017-08-21 Florian Weimer <fweimer@redhat.com>
16651 * assert/assert.h (assert): Use static_cast (bool) for C++.
16652 Use the ternary operator in the warning branch for GNU C.
16653 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
16654 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
16655 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
16656 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
16657 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
16659 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16662 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16663 (__syscall_clock_gettime): Add attribute_hidden.
16664 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
16665 (__start_context): Likewise.
16667 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16669 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
16671 (hidden_proto): Likewise.
16672 (hidden_tls_proto): Likewise.
16673 (__hidden_proto): Likewise.
16675 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16677 * include/libc-symbols.h (attribute_hidden): Enable hidden
16678 visibility in libc.a compiled with PIE.
16680 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16683 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
16684 Add attribute_hidden.
16686 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16689 * Makerules (all-nonlib): Add $(others-extras).
16690 * catgets/Makefile (others-extras): New.
16691 * elf/Makefile (others-extras): Likewise.
16692 * nss/Makefile (others-extras): Likewise.
16694 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16697 * csu/libc-start.c (__libc_multiple_libcs): Removed.
16698 * elf/dl-open.c: Include <libc-internal.h>.
16699 (__libc_multiple_libcs): Removed.
16700 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
16702 * include/libc-internal.h (__libc_multiple_libcs): New.
16703 * misc/sbrk.c: Include <libc-internal.h>.
16704 (__libc_multiple_libcs): Removed.
16706 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16709 * grp/initgroups.c (__nss_group_database): Removed.
16710 (__nss_initgroups_database): Likewise.
16711 * nscd/gai.c (__nss_hosts_database): Likewise.
16712 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
16713 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16714 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16715 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16716 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
16717 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
16719 * nss/nsswitch.c (__nss_database_custom): Define only if
16720 USE_NSCD is defined.
16721 (__nss_configure_lookup): Use __nss_database_custom only if
16722 USE_NSCD is defined.
16723 * nss/nsswitch.h (__nss_database_custom): Declare only if
16724 USE_NSCD is defined. Add attribute_hidden.
16725 (__nss_setent): Add attribute_hidden.
16726 (__nss_endent): Likewise.
16727 (__nss_getent_r): Likewise.
16728 (__nss_getent): Likewise.
16729 (DEFINE_DATABASE): Declare __nss_##arg##_database.
16731 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
16734 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
16735 libc_hidden_proto and libc_hidden_def.
16737 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
16740 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
16741 Add libc_hidden_proto.
16742 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
16743 Add libc_hidden_def.
16745 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
16748 * gmon/Makefile (routines): Remove bb_init_func and
16750 (elide-routines.os): Removed.
16751 * gmon/bb_exit_func.c: Likewise.
16752 * gmon/bb_init_func.c: Likewise.
16753 * include/sys/gmon.h (__bb): Likewise.
16754 (__bb_init_func): Likewise.
16755 (__bb_exit_func): Likewise.
16756 * sysdeps/alpha/bb_init_func.S: Likewise.
16758 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
16760 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
16761 * include/setjmp.h (____longjmp_chk): Here. Add
16764 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
16767 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
16769 (__strspn_sse2): Likewise.
16771 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16773 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
16774 (close_not_cancel_no_status): Likewise.
16775 (__close_nocancel): New macro.
16776 (__close_nocancel_nostatus): Likewise.
16777 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
16779 (close_not_cancel): Likewise.
16780 (close_not_cancel_no_status): Likewise.
16781 (__close_nocancel): New prototype.
16782 (__close_nocancel_nostatus): New function.
16783 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
16784 * catgets/open_catalog.c (__open_catalog): Replace
16785 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
16786 * gmon/gmon.c (write_gmon): Likewise.
16787 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16788 * intl/loadmsgcat.c (close): Likewise.
16789 * io/ftw.c (open_dir_stream): Likewise.
16790 (ftw_startup): Likewise.
16791 * libio/fileops.c (_IO_file_open): Likewise.
16792 (_IO_file_close_mmap): Likewise.
16793 (_IO_file_close): Likewise.
16794 * libio/iopopen.c (_IO_dup2): Likewise.
16795 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16796 * locale/loadlocale.c (_nl_load_locale): Likewise.
16797 * login/utmp_file.c (pututline_file): Likewise.
16798 (endutent_file): Likewise.
16799 * misc/daemon.c (daemon): Likewise.
16800 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16801 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16802 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
16803 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16804 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16805 * nscd/nscd_helper.c (open_socket): Likewise.
16806 (__nscd_open_socket): Likewise.
16807 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16808 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
16809 (__nscd_innetgr): Likewise.
16810 * nss/nss_db/db-open.c (internal_setent): Likewise.
16811 * resolv/res-close.c (__res_iclose): Likewise.
16812 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
16813 * sysdeps/posix/closedir.c (__closedir): Likewise.
16814 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
16815 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16816 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
16817 (opendir_tail): Likewise.
16818 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
16819 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
16820 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16821 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
16822 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
16823 (gethostid): Likewise.
16824 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
16825 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16827 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16828 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
16829 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
16830 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
16832 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
16833 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
16834 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
16836 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
16837 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16839 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16841 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
16842 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
16843 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
16846 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
16847 (openat_not_cancel_3): Likewise.
16848 (openat64_not_cancel_3): Likewise).
16849 (openat_not_cancel_3): Likewise).
16850 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
16852 (openat_not_cancel_3): Likewise.
16853 (openat64_not_cancel): Likewise.
16854 (openat64_not_cancel_3): Likewise.
16855 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
16856 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
16857 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
16858 __open{64}_nocancel.
16859 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
16860 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16861 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16863 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
16866 * include/argz.h (__argz_create_sep): New function prototype.
16867 (__argz_append): Likewise.
16868 (__argz_add): Likewise.
16869 (__argz_add_sep): Likewise.
16870 (__argz_delete): Likewise.
16871 (__argz_insert): Likewise.
16872 (__argz_replace): Likewise.
16873 * string/argz.h (__argz_create_sep): Removed.
16874 (__argz_append): Likewise.
16875 (__argz_add): Likewise.
16876 (__argz_add_sep): Likewise.
16877 (__argz_delete): Likewise.
16878 (__argz_insert): Likewise.
16879 (__argz_replace): Likewise.
16881 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
16883 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
16884 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
16885 (GNU_PROPERTY_STACK_SIZE): Likewie.
16886 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
16887 (GNU_PROPERTY_LOPROC): Likewise.
16888 (GNU_PROPERTY_HIPROC): Likewise.
16889 (GNU_PROPERTY_LOUSER): Likewise.
16890 (GNU_PROPERTY_HIUSER): Likewise.
16891 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
16892 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
16893 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
16894 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
16895 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
16896 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
16897 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
16898 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
16899 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
16900 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
16901 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
16902 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
16903 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
16904 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
16905 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
16906 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
16907 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
16908 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
16909 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
16910 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
16911 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
16912 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
16913 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
16915 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16917 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
16920 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16923 * math/math.h (isinf): Check if in C or C++ mode before using
16924 __builtin_types_compatible_p, since this is a C mode feature.
16926 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16928 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
16929 (__write_nocancel): New macro.
16930 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
16931 Rewrite as a function prototype.
16932 (write_not_cancel): Remove macro.
16933 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
16934 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
16935 (write_gmon): Likewise.
16936 * libio/fileops.c (_IO_new_file_write): Likewise.
16937 * login/utmp_file.c (pututline_file): Likewise.
16938 (updwtmp_file): Likewise.
16939 * stdio-common/psiginfo.c (psiginfo): Likewise.
16940 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
16941 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
16942 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
16944 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16947 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
16948 (__read_nocancel): New macro.
16949 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
16951 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
16953 (__read_nocancel): New prototype.
16954 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
16955 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
16956 with __read_nocancel.
16957 * intl/loadmsgcat.c (read): Likewise.
16958 * libio/fileops.c (_IO_file_read): Likewise.
16959 * locale/loadlocale.c (_nl_load_locale): Likewise.
16960 * login/utmp_file.c (getutent_r_file): Likewise.
16961 (internal_getut_r): Likewise.
16962 (getutline_r_file): Likewise.
16963 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
16964 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16965 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
16966 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16968 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
16969 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
16970 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
16972 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
16974 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
16976 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16978 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
16980 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
16983 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
16984 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
16987 2017-08-17 DJ Delorie <dj@redhat.com>
16989 * bug17079.c: Update to new test harness.
16990 * test-digits-dots.c: Likewise.
16991 * test-netdb.c: Likewise.
16992 * tst-field.c: Likewise.
16993 * tst-nss-getpwent.c: Likewise.
16994 * tst-nss-static.c: Likewise.
16995 * tst-nss-test1.c: Likewise.
16996 * tst-nss-test2.c: Likewise.
16997 * tst-nss-test3.c: Likewise.
16998 * tst-nss-test4.c: Likewise.
16999 * tst-nss-test5.c: Likewise.
17001 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17003 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
17004 (open_not_cancel_2): Likewise.
17005 (open_nocancel): New macro.
17006 (open64_nocancel): Likewise.
17007 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
17008 (open_not_cancel_2): Likewise.
17009 (__open_nocancel): New prototype.
17010 (__open64_nocancel): Likewise.
17011 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
17013 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
17014 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
17015 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
17016 with __open_nocancel.
17017 * csu/check_fds.c (check_one_fd): Likewise.
17018 * gmon/gmon.c (write_gmon): Likewise.
17019 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
17020 * intl/loadmsgcat.c (open): Likewise.
17021 * libio/fileops.c (_IO_file_open): Likewise.
17022 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17023 * locale/loadlocale.c (_nl_load_locale): Likewise.
17024 * login/utmp_file.c (setutent_file): Likewise.
17025 * misc/daemon.c (daemon): Likewise.
17026 * nss/nss_db/db-open.c (internal_setent): Likewise.
17027 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
17028 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
17029 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
17030 (__opendir): Likewise.
17031 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
17032 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
17033 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
17034 (gethostid): Likewise.
17035 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
17036 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17038 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17039 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
17040 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
17041 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
17043 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
17045 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
17047 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
17049 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17051 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17053 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
17054 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
17056 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
17058 * benchtests/bench-skeleton.c (main): Add support for
17059 latency benchmarking.
17060 * benchtests/scripts/bench.py: Add support for latency benchmarking.
17062 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
17064 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
17065 the startup object.
17067 2017-08-17 Florian Weimer <fweimer@redhat.com>
17069 * include/sys/socket.h (__opensock): Remove internal_function.
17070 * socket/opensock.c (__opensock): Likewise.
17071 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
17073 2017-08-16 Joseph Myers <joseph@codesourcery.com>
17076 * signal/bits/types/__sigval_t.h: New file.
17077 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
17078 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
17079 and define sigval_t using __sigval_t.
17080 * include/bits/types/__sigval_t.h: New file.
17081 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
17082 instead of <bits/types/__sigval_t.h>.
17083 (struct sigevent): Use __sigval_t instead of sigval_t.
17084 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
17085 instead of <bits/types/__sigval_t.h>.
17086 (siginfo_t): Use __sigval_t instead of sigval_t.
17087 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
17088 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
17089 (struct sigevent): Use __sigval_t instead of sigval_t.
17090 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
17091 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
17092 (siginfo_t): Use __sigval_t instead of sigval_t.
17093 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
17095 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
17097 * NEWS: Remove "[Add new features here]" for 2.27.
17099 2017-08-16 Joseph Myers <joseph@codesourcery.com>
17101 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
17104 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
17106 * NEWS: Mention x86-64 FMA optimization.
17108 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
17111 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17113 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
17114 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
17115 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
17117 2017-08-16 Andreas Schwab <schwab@suse.de>
17121 * elf/ldd.bash.in: Never run file directly.
17123 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
17126 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
17127 (L(SP_INF_0)): Likewise.
17129 2017-08-15 Florian Weimer <fweimer@redhat.com>
17131 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
17134 2017-08-15 Florian Weimer <fweimer@redhat.com>
17136 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
17137 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
17138 BROKEN_THREAD_SIGNALS code.
17139 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
17140 request_list): Remove caller_pid member used for
17141 BROKEN_THREAD_SIGNALS.
17142 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
17143 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
17144 Remove BROKEN_THREAD_SIGNALS support.
17145 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
17146 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
17148 2017-08-15 Florian Weimer <fweimer@redhat.com>
17150 * gmon/Makefile (tests): Add tst-gmon.
17151 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
17153 (tests-special): Add tst-gmon-prof.out.
17154 (tst-gmon.out): Depend on clean-tst-gmon-data.
17155 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
17156 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
17157 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
17159 * aclocal.m4 (GPROF): Set and substitute.
17160 * config.amke.in (GPROF): Set.
17161 * configure: Regenerate.
17163 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
17165 * elf/elf.h A (NT_PPC_TAR): New macro.
17166 (NT_PPC_PPR): Likewise.
17167 (NT_PPC_DSCR): Likewise.
17168 (NT_PPC_EBB): Likewise.
17169 (NT_PPC_PMU): Likewise.
17170 (NT_PPC_TM_CGPR): Likewise.
17171 (NT_PPC_TM_CFPR): Likewise.
17172 (NT_PPC_TM_CVMX): Likewise.
17173 (NT_PPC_TM_CVSX): Likewise.
17174 (NT_PPC_TM_SPR): Likewise.
17175 (NT_PPC_TM_CTAR): Likewise.
17176 (NT_PPC_TM_CPPR): Likewise.
17177 (NT_PPC_TM_CDSCR): Likewise.
17179 2017-08-15 Florian Weimer <fweimer@redhat.com>
17181 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
17182 regparm (2) instead of internal_function.
17183 (_MCOUNT_DECL): Adjust.
17185 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17187 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
17188 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
17190 2017-08-14 Joseph Myers <joseph@codesourcery.com>
17192 * conform/data/sys/wait.h-data (si_value): Do not expect for
17195 2017-08-14 Florian Weimer <fweimer@redhat.com>
17198 NSS: Create stubs for accidentally exported lookup functions.
17199 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
17200 Remove declaration.
17201 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
17202 (ether_hostton): Call __nss_ethers_lookup2 instead.
17203 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
17204 (ether_ntohost): Call __nss_ethers_lookup2 instead.
17205 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
17206 (setup): Call __nss_netgroup_lookup2 instead.
17207 * nss/Makefile (routines): Add compat-lookup.
17208 * nss/Versions (GLIBC_2.27): Add symbol version.
17209 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
17210 (DB_COMPAT_FCT): Remove.
17211 * nss/compat-lookup.c: New file.
17212 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
17213 from databases.def.
17214 * nss/service-lookup.c (NO_COMPAT): Remove definition.
17215 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
17216 (netname2user): Call __nss_publickey_lookup2 instead.
17217 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
17218 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
17221 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17222 Sergei Trofimovich <slyfox@inbox.ru>
17225 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
17226 Rename to MMAP2_PAGE_UNIT.
17227 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
17228 __OFF_T_MATCHES_OFF64_T is not defined.
17229 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
17231 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
17232 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
17234 2017-08-14 Florian Weimer <fweimer@redhat.com>
17236 i386: Do not set internal_function.
17237 * config.h.in (USE_REGPARMS, internal_function): Remove.
17238 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
17239 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
17241 2017-08-14 Florian Weimer <fweimer@redhat.com>
17243 * elf/dl-init.c (_dl_init): Remove internal_function.
17244 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
17245 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
17247 2017-08-14 Florian Weimer <fweimer@redhat.com>
17249 * elf/rtld.c (_dl_start): Remove internal_function.
17250 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
17253 2017-08-14 Florian Weimer <fweimer@redhat.com>
17255 * elf/dl-fini.c (_dl_fini): Remove internal_function
17256 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
17258 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
17260 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
17261 (bit_cpu_SHSTK): Likewise.
17262 (index_cpu_IBT): Likewise.
17263 (index_cpu_SHSTK): Likewise.
17264 (reg_IBT): Likewise.
17265 (reg_SHSTK): Likewise.
17266 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17267 Handle index_cpu_IBT and index_cpu_SHSTK.
17269 2017-08-14 Mike FABIAN <mfabian@redhat.com>
17272 * po/fr.po: Fix spelling mistake.
17274 2017-08-13 Florian Weimer <fweimer@redhat.com>
17276 * elf/dl-addr.c (_dl_addr): Remove internal_function.
17277 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
17278 (_dl_catch_error, _dl_receive_error): Likewise.
17279 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
17280 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
17281 (_dl_deallocate_tls): Likewise.
17282 * include/dlfcn.h (_dl_addr): Likewise.
17283 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
17284 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
17285 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
17288 2017-08-13 Florian Weimer <fweimer@redhat.com>
17290 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
17291 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
17293 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
17295 2017-08-13 Florian Weimer <fweimer@redhat.com>
17297 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
17299 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
17300 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
17301 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
17302 internal_function from _dl_make_stack_executable_hook member.
17303 (_dl_make_stack_executable): Remove internal_function.
17304 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
17306 * sysdeps/unix/sysv/linux/dl-execstack.c
17307 (_dl_make_stack_executable): Likewise.
17309 2017-08-13 Florian Weimer <fweimer@redhat.com>
17311 * sysdeps/unix/sysv/linux/netlinkaccess.h
17312 (__netlink_assert_response): Remove internal_function.
17313 * sysdeps/unix/sysv/linux/netlink_assert_response.c
17314 (__netlink_assert_response): Likewise.
17316 2017-08-13 Florian Weimer <fweimer@redhat.com>
17318 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
17320 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
17322 2017-08-13 Florian Weimer <fweimer@redhat.com>
17324 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
17326 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
17327 * inet/netgroup.h (__internal_setnetgrent)
17328 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
17329 * inet/getnetgrent_r.c (__internal_setnetgrent)
17330 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
17331 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
17332 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
17333 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
17334 * nss/nsswitch.h (db_lookup_function): Likewise.
17336 2017-08-13 Florian Weimer <fweimer@redhat.com>
17338 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
17339 Remove internal_function.
17340 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
17341 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
17342 message argument on the stack.
17343 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
17346 2017-08-12 Mike FABIAN <mfabian@redhat.com>
17348 Adapt test case data to the changes in the thousands
17352 * localedata/tst-langinfo.sh: Adapt test case data.
17353 * stdlib/tst-strfmon_l.c: Likewise.
17354 * stdlib/tst-strtod4.c: Likewise.
17355 * stdlib/tst-strtod5i.c: Likewise.
17357 2017-08-11 Florian Weimer <fweimer@redhat.com>
17360 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
17361 Suppress pedantic warning resulting from statement expression.
17362 (__ASSERT_FUNCTION): Add missing __extension__.
17364 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17366 * benchtests/bench-memmove-large.c: Print output in JSON
17368 * benchtests/bench-memmove.c: Likewise.
17370 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
17371 * benchtests/bench-memchr.c (do_one_test): Likewise.
17372 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
17373 * benchtests/bench-memcpy.c (do_one_test): Likewise.
17374 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
17375 * benchtests/bench-memmove.c (do_one_test): Likewise.
17376 * benchtests/bench-memset-large.c (do_one_test): Likewise.
17377 * benchtests/bench-memset.c (do_one_test): Likewise.
17378 * benchtests/bench-string.h (test_init): Remove memsets.
17380 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
17383 (Computing the Width of an Integer Data Type): Rename section to
17384 "Width of an Integer Type". Remove inaccurate statement regarding
17385 lack of C language facilities for determining width of integer
17386 types, and reorder content to improve flow and context of
17389 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
17391 * lang.texi (va_copy): Change standard from ISO to C99.
17392 (__va_copy): Add standard and header annotation.
17393 Update description for clarity of origins and current use.
17395 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17398 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
17399 xssqrtqp requires operands to be in Vector Registers
17400 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
17401 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
17402 (__ieee754_sqrtf128): Likewise.
17404 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
17406 * sysdeps/aarch64/memcmp.S (memcmp):
17407 Rewrite of optimized memcmp.
17409 2017-08-10 Florian Weimer <fweimer@redhat.com>
17411 Introduce ld.so exceptions.
17412 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
17413 (_dl_exception_create, _dl_exception_create_format)
17414 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
17415 (_dl_catch_exception): Declare.
17416 (_dl_catch_error): Update comment.
17417 * elf/dl-error-skeleton.c (struct catch): Replace objname,
17418 errstring, malloced members with exception member.
17419 (_dl_out_of_memory): Remove.
17420 (fatal_error): New function, extracted from _dl_signal_error.
17421 (_dl_signal_exception, _dl_signal_cexception): New functions.
17422 (_dl_signal_error): Call _dl_exception_create to allocate an
17424 (_dl_catch_exception): New function, based on _dl_catch_error.
17425 (_dl_catch_error): Implement using _dl_catch_exception.
17426 * elf/dl-exception.c: New file.
17427 * elf/Makefile (dl-routines): Add dl-exception.
17428 (elide-routines.os): Likewise.
17429 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
17430 _dl_exception_create_format, _dl_exception_free.
17431 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
17432 _dl_signal_exception.
17433 * elf/dl-lookup.c (make_string): Remove.
17434 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
17435 _dl_signal_cexception, _dl_exception_free.
17436 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
17437 _dl_signal_exception.
17438 * elf/dl-sym.c (do_sym): Likewise.
17439 * elf/dl-version.c (make_string): Remove.
17440 (match_symbol): Use _dl_exception_create_format,
17441 _dl_signal_cexception, _dl_exception_free.
17442 (_dl_check_map_versions): Likewise.
17443 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
17444 _dl_catch_exception.
17445 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
17446 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
17447 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
17448 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
17449 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
17450 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
17451 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
17452 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
17454 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
17455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
17457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
17459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
17461 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
17462 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
17463 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
17465 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
17467 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
17469 2017-08-10 Florian Weimer <fweimer@redhat.com>
17471 * inet/net-internal.h (__inet6_scopeid_pton): Remove
17472 attribute_hidden, internal_function.
17473 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
17476 2017-08-10 Florian Weimer <fweimer@redhat.com>
17478 * malloc/malloc.c (get_max_fast): Reimplement as an inline
17479 function which calls __builtin_unreachable.
17481 2017-08-10 Mike FABIAN <mfabian@redhat.com>
17483 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
17484 Indian monetary formatting
17485 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
17488 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
17490 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
17491 Fix typo in comment.
17494 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
17495 PTRACE_SEIZE_DEVEL): Remove.
17496 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17497 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17498 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17499 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17500 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17502 2017-08-09 Joseph Myers <joseph@codesourcery.com>
17504 * posix/bits/types.h (__qaddr_t): Remove.
17507 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
17508 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
17510 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
17511 (ucontext_t): Use __ctx with uc_flags.
17512 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
17513 (__ctxt): Likewise.
17514 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
17516 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
17517 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
17519 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
17520 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
17522 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
17524 (ucontext_t): Use __ctx with uc_flags.
17525 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
17526 (ucontext_t): Use __ctx with uc_flags.
17527 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
17528 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
17529 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
17530 (ucontext_t): Use __ctx with uc_flags.
17531 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
17532 undefine further down.
17533 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
17535 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
17536 undefine further down.
17537 (ucontext_t): Use __ctx with uc_flags.
17538 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
17539 undefine further down.
17540 (ucontext_t): Use __ctx with uc_flags.
17541 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
17542 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
17543 Rename uc_pad to __glibc_reserved1.
17544 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
17545 undefine further down.
17546 (ucontext_t): Use __ctx with uc_flags.
17547 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
17549 (ucontext_t): Use __ctx with uc_flags.
17550 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
17551 __ctx with uc_flags.
17552 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
17553 (ucontext_t): Use __ctx with uc_flags.
17554 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
17555 __ctx with uc_flags.
17557 2017-08-09 Florian Weimer <fweimer@redhat.com>
17560 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
17561 before early return.
17563 2017-08-09 Andreas Schwab <schwab@suse.de>
17566 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
17570 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
17571 tst-compat-forwarder.
17572 (modules-names): Add tst-compat-forwarder-mod.
17573 ($(objpfx)tst-compat-forwarder): Depend on
17574 $(objpfx)tst-compat-forwarder-mod.so.
17575 * nptl/tst-compat-forwarder.c: New file.
17576 * nptl/tst-compat-forwarder-mod.c: New file.
17578 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
17580 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
17583 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
17584 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
17586 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17588 (__libc_ifunc_impl_list): Add __memcpy_falkor.
17589 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
17590 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
17591 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
17593 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
17596 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17599 * manual/setjmp.texi (getcontex): Document uc_stack value
17600 compatibility differences.
17602 2017-08-08 Joseph Myers <joseph@codesourcery.com>
17604 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
17605 (old_malloc_hook): Likewise.
17606 (old_memalign_hook): Likewise.
17607 (old_realloc_hook): Likewise.
17608 (struct hdr): Likewise.
17610 (freehook): Likewise.
17611 (mallochook): Likewise.
17612 (memalignhook): Likewise.
17613 (reallochook): Likewise.
17614 (mprobe): Likewise.
17615 * malloc/mtrace.c (mallwatch): Likewise.
17616 (tr_old_free_hook): Likewise.
17617 (tr_old_malloc_hook): Likewise.
17618 (tr_old_realloc_hook): Likewise.
17619 (tr_old_memalign_hook): Likewise.
17620 (tr_where): Likewise.
17621 (lock_and_info): Likewise.
17622 (tr_freehook): Likewise.
17623 (tr_mallochook): Likewise.
17624 (tr_reallochook): Likewise.
17625 (tr_memalignhook): Likewise.
17626 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
17627 * misc/mmap.c (__mmap): Likewise.
17628 * misc/mmap64.c (__mmap64): Likewise.
17629 * misc/mprotect.c (__mprotect): Likewise.
17630 * misc/msync.c (msync): Likewise.
17631 * misc/munmap.c (__munmap): Likewise.
17632 * posix/posix_madvise.c (posix_madvise): Likewise.
17633 * socket/send.c (__send): Likewise.
17634 * socket/sendto.c (__sendto): Likewise.
17635 * socket/setsockopt.c (__setsockopt): Likewise.
17636 * string/memcmp.c (__ptr_t): Remove macro.
17637 (MEMCMP): Use void * instead of ptr_t.
17638 * string/memrchr.c (__ptr_t): Remove macro.
17639 (__memrchr): Use void * instead of ptr_t.
17640 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
17641 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
17642 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
17643 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
17644 * sysdeps/mach/msync.c (msync): Likewise.
17645 * sysdeps/mach/munmap.c (__munmap): Likewise.
17646 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
17648 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17649 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
17650 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
17651 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
17652 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
17653 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17654 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
17655 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
17657 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17658 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
17659 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
17660 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
17661 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
17662 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
17663 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
17664 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
17665 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
17667 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
17668 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
17669 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
17670 (MEMCMP): Use void * instead of ptr_t.
17671 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
17672 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
17674 2017-08-08 Florian Weimer <fweimer@redhat.com>
17676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
17679 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
17682 * csu/libc-tls.c: Include <startup.h> first.
17683 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
17684 * elf/dl-tunables.c: Include <startup.h> first.
17685 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
17686 * sysdeps/generic/startup.h: New file.
17687 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
17688 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
17689 (I386_USE_SYSENTER): New. Defined to 0.
17691 2017-08-08 Andreas Schwab <schwab@suse.de>
17694 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
17695 * nptl/pt-system.c (system): Likewise.
17697 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17700 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
17702 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17703 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17704 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
17705 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17706 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17707 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17708 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
17710 2017-08-07 Joseph Myers <joseph@codesourcery.com>
17713 * bits/sigaction.h (struct sigaction): Define sa_handler and
17714 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
17715 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17716 [__USE_XOPEN_EXTENDED].
17717 (SA_RESTART): Likewise.
17718 (SA_NODEFER): Likewise.
17719 (SA_RESETHAND): Likewise.
17720 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
17721 (struct sigaction): Define sa_handler and sa_sigaction using union
17722 also for [__USE_XOPEN_EXTENDED].
17723 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17724 [__USE_XOPEN_EXTENDED].
17725 (SA_RESTART): Likewise.
17726 (SA_NODEFER): Likewise.
17727 (SA_RESETHAND): Likewise.
17728 * sysdeps/unix/sysv/linux/bits/sigaction.h
17729 (struct sigaction): Define sa_handler and sa_sigaction using union
17730 also for [__USE_XOPEN_EXTENDED].
17731 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17732 [__USE_XOPEN_EXTENDED].
17733 (SA_RESTART): Likewise.
17734 (SA_NODEFER): Likewise.
17735 (SA_RESETHAND): Likewise.
17736 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
17737 (struct sigaction): Define sa_handler and sa_sigaction using union
17738 also for [__USE_XOPEN_EXTENDED].
17739 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17740 [__USE_XOPEN_EXTENDED].
17741 (SA_RESTART): Likewise.
17742 (SA_NODEFER): Likewise.
17743 (SA_RESETHAND): Likewise.
17744 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
17745 (struct sigaction): Define sa_handler and sa_sigaction using union
17746 also for [__USE_XOPEN_EXTENDED].
17747 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17748 [__USE_XOPEN_EXTENDED].
17749 (SA_RESTART): Likewise.
17750 (SA_NODEFER): Likewise.
17751 (SA_RESETHAND): Likewise.
17752 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
17753 (struct sigaction): Define sa_handler and sa_sigaction using union
17754 also for [__USE_XOPEN_EXTENDED].
17755 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17756 [__USE_XOPEN_EXTENDED].
17757 (SA_RESTART): Likewise.
17758 (SA_NODEFER): Likewise.
17759 (SA_RESETHAND): Likewise.
17760 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17761 (struct sigaction): Define sa_handler and sa_sigaction using union
17762 also for [__USE_XOPEN_EXTENDED].
17763 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17764 [__USE_XOPEN_EXTENDED].
17765 (SA_RESTART): Likewise.
17766 (SA_NODEFER): Likewise.
17767 (SA_RESETHAND): Likewise.
17768 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17769 (struct sigaction): Define sa_handler and sa_sigaction using union
17770 also for [__USE_XOPEN_EXTENDED].
17771 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17772 [__USE_XOPEN_EXTENDED].
17773 (SA_RESTART): Likewise.
17774 (SA_NODEFER): Likewise. Define directly rather than as alias.
17775 (SA_RESETHAND): Likewise.
17776 (SA_INTERRUPT): Define only for [__USE_MISC].
17777 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
17778 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
17780 (SA_STACK): Define only for [__USE_MISC].
17781 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
17782 (struct sigaction): Define sa_handler and sa_sigaction using union
17783 also for [__USE_XOPEN_EXTENDED].
17784 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17785 [__USE_XOPEN_EXTENDED].
17786 (SA_RESTART): Likewise.
17787 (SA_NODEFER): Likewise.
17788 (SA_RESETHAND): Likewise.
17789 (SA_NOPTRACE): Define only for [__USE_MISC].
17791 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
17792 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
17793 (struct catalog_info): Likewise.
17794 * inet/htontest.c (lo): Likewise.
17796 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17797 * inet/inet_net.c (inet_network): Likewise.
17798 * inet/inet_netof.c (inet_netof): Likewise.
17799 * inet/rcmd.c (__ivaliduser): Likewise.
17800 (iruserok): Likewise.
17801 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
17802 * locale/programs/locale-spec.c (locale_special): Likewise.
17803 * nis/nis_findserv.c (struct findserv_req): Likewise.
17804 (__nis_findfastest_with_timeout): Likewise.
17805 * nss/test-netdb.c (test_network): Likewise.
17806 * resolv/inet_neta.c (inet_neta): Likewise.
17807 * resolv/ns_date.c (ns_datetosecs): Likewise.
17808 (SECS_PER_DAY): Likewise.
17809 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
17811 * resolv/res_comp.c (__putlong): Likewise.
17812 (__putshort): Likewise.
17813 (_getlong): Likewise.
17814 (_getshort): Likewise.
17815 * resolv/res_debug.c (p_time): Likewise.
17816 (precsize_ntoa): Likewise.
17817 (precsize_aton): Likewise.
17818 (latlon2ul): Likewise.
17819 (loc_aton): Likewise.
17820 (loc_ntoa): Likewise.
17821 * resolv/res_hconf.c (struct netaddr): Likewise.
17822 (_res_hconf_reorder_addrs): Likewise.
17823 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
17824 (clnttcp_control): Likewise.
17825 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17826 (clntudp_control): Likewise.
17827 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
17828 (clntunix_control): Likewise.
17829 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
17830 * sunrpc/rpc/auth.h (union des_block): Likewise.
17831 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
17832 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
17833 (xdrrec_create): Likewise.
17834 (xdrrec_endofrecord): Likewise.
17835 (flush_out): Likewise.
17836 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
17837 (xdrstdio_putlong): Likewise.
17838 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
17841 * misc/sys/cdefs.h (__long_double_t): Remove.
17842 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
17843 instead of __long_double_t,
17844 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
17846 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17848 * benchtests/scripts/compare_strings.py: Avoid display error when
17849 running on a text terminal.
17851 * benchtests/scripts/compare_strings.py (main): Add an
17852 optional -base option.
17853 (process_results): New argument base_func.
17855 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
17857 * benchtests/bench-memcpy-large.c (test_name): Likewise.
17858 * benchtests/bench-memcpy-random.c (test_name): Likewise.
17860 2017-08-07 Andreas Schwab <schwab@suse.de>
17862 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
17863 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17864 * intl/Makefile ($(objpfx)tst-gettext.out)
17865 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
17866 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
17867 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17868 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17869 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
17870 * posix/Makefile ($(objpfx)globtest.out)
17871 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
17872 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
17873 ($(objpfx)tst-printf.out): Likewise.
17874 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
17875 ($(objpfx)tst-setcontext3.out): Likewise.
17877 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
17879 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17880 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
17881 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
17882 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
17883 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
17885 (CFLAGS-doasin-fma.c): New.
17886 (CFLAGS-dosincos-fma.c): Likewise.
17887 (CFLAGS-e_asin-fma.c): Likewise.
17888 (CFLAGS-e_atan2-fma.c): Likewise.
17889 (CFLAGS-e_exp-fma.c): Likewise.
17890 (CFLAGS-e_log-fma.c): Likewise.
17891 (CFLAGS-e_pow-fma.c): Likewise.
17892 (CFLAGS-halfulp-fma.c): Likewise.
17893 (CFLAGS-mpa-fma.c): Likewise.
17894 (CFLAGS-mpatan-fma.c): Likewise.
17895 (CFLAGS-mpatan2-fma.c): Likewise.
17896 (CFLAGS-mpexp-fma.c): Likewise.
17897 (CFLAGS-mplog-fma.c): Likewise.
17898 (CFLAGS-mpsqrt-fma.c): Likewise.
17899 (CFLAGS-mptan-fma.c): Likewise.
17900 (CFLAGS-s_atan-fma.c): Likewise.
17901 (CFLAGS-sincos32-fma.c): Likewise.
17902 (CFLAGS-slowexp-fma.c): Likewise.
17903 (CFLAGS-slowpow-fma.c): Likewise.
17904 (CFLAGS-s_sin-fma.c): Likewise.
17905 (CFLAGS-s_tan-fma.c): Likewise.
17906 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
17907 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
17908 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
17909 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
17910 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
17911 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17912 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
17913 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
17914 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
17915 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
17916 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
17917 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
17918 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
17919 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17920 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17921 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
17922 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
17923 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
17924 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
17925 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
17926 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
17927 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17928 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17929 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
17930 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17931 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17932 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17933 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17934 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17935 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17936 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17938 2017-08-04 Joseph Myers <joseph@codesourcery.com>
17940 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
17941 (min_of_type_f): New macro.
17942 (min_of_type_): Likewise.
17943 (min_of_type_l): Likewise.
17944 (min_of_type_f128): Likewise.
17945 (min_of_type): Define using __MATH_TG and taking an expression
17947 (math_check_force_underflow): Pass expression instead of type to
17949 (math_check_force_underflow_nonneg): Likewise.
17951 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17953 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
17954 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
17955 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
17957 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17960 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
17961 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
17962 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
17963 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
17964 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
17965 memcpy_chk-nonshared, mempcpy_chk-nonshared,
17966 memmove_chk-nonshared and memset_chk-nonshared
17967 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
17968 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
17969 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
17970 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
17971 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
17972 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
17973 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
17974 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
17975 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
17976 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
17977 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
17978 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
17979 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
17980 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
17981 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
17982 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
17983 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
17984 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
17985 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
17986 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
17987 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
17988 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
17989 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
17990 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
17991 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
17992 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
17993 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
17994 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
17995 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
17996 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
17997 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
17998 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
17999 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
18000 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
18001 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
18002 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
18003 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
18004 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
18005 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
18006 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
18007 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
18008 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
18009 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
18010 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
18011 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
18012 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
18013 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
18014 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
18015 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
18016 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
18017 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
18018 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
18019 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
18020 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
18021 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
18022 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
18023 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
18024 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
18025 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
18026 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
18027 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
18028 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
18029 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
18030 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
18031 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
18032 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
18033 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
18034 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
18035 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
18036 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
18037 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
18038 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18039 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18040 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18041 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18042 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18043 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18044 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18045 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18046 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18047 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18048 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18049 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18050 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18051 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18052 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18053 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18054 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18055 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18056 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18057 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18058 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18059 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18060 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18061 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18062 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18063 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18064 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18065 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18066 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18067 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18068 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18069 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18070 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18071 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18072 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18073 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18074 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18076 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18078 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
18079 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
18080 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
18081 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
18082 svml_d_log2_core-sse2, svml_d_log4_core-sse,
18083 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
18084 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
18085 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
18086 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
18087 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
18088 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
18089 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
18090 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
18091 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
18092 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
18093 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
18094 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
18095 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
18096 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
18097 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
18098 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
18099 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
18100 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
18101 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
18102 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
18103 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
18104 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
18105 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
18106 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
18107 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
18108 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
18109 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
18110 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
18111 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
18112 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
18113 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
18114 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
18115 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
18116 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
18117 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
18118 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
18119 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
18120 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
18121 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
18122 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
18123 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
18124 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
18125 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
18126 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
18127 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
18128 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
18129 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
18130 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
18131 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
18132 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
18133 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
18134 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
18135 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
18136 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
18138 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
18139 Don't include <sysdep.h> nor <init-arch.h>.
18140 (_ZGVbN2v_cos): Removed.
18141 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
18143 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
18144 Don't include <sysdep.h> nor <init-arch.h>.
18145 (_ZGVdN4v_cos): Removed.
18146 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
18148 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
18149 Don't include <sysdep.h> nor <init-arch.h>.
18150 (_ZGVeN8v_cos): Removed.
18151 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
18153 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
18154 Don't include <sysdep.h> nor <init-arch.h>.
18155 (_ZGVbN2v_exp): Removed.
18156 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
18158 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
18159 Don't include <sysdep.h> nor <init-arch.h>.
18160 (_ZGVdN4v_exp): Removed.
18161 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
18163 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
18164 Don't include <sysdep.h> nor <init-arch.h>.
18165 (_ZGVeN8v_exp): Removed.
18166 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
18168 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
18169 Don't include <sysdep.h> nor <init-arch.h>.
18170 (_ZGVbN2v_log): Removed.
18171 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
18173 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
18174 Don't include <sysdep.h> nor <init-arch.h>.
18175 (_ZGVdN4v_log): Removed.
18176 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
18178 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
18179 Don't include <sysdep.h> nor <init-arch.h>.
18180 (_ZGVeN8v_log): Removed.
18181 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
18183 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
18184 Don't include <sysdep.h> nor <init-arch.h>.
18185 (_ZGVbN2vv_pow): Removed.
18186 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
18188 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
18189 Don't include <sysdep.h> nor <init-arch.h>.
18190 (_ZGVdN4vv_pow): Removed.
18191 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
18193 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
18194 Don't include <sysdep.h> nor <init-arch.h>.
18195 (_ZGVeN8vv_pow): Removed.
18196 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
18198 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
18199 Don't include <sysdep.h> nor <init-arch.h>.
18200 (_ZGVbN2v_sin): Removed.
18201 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
18203 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
18204 Don't include <sysdep.h> nor <init-arch.h>.
18205 (_ZGVbN4v_sin): Removed.
18206 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
18208 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
18209 Don't include <sysdep.h> nor <init-arch.h>.
18210 (_ZGVbN8v_sin): Removed.
18211 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
18213 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
18214 Don't include <sysdep.h> nor <init-arch.h>.
18215 (_ZGVbN2vvv_sincos): Removed.
18216 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
18218 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
18219 Don't include <sysdep.h> nor <init-arch.h>.
18220 (_ZGVdN4vvv_sincos): Removed.
18221 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
18223 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
18224 Don't include <sysdep.h> nor <init-arch.h>.
18225 (_ZGVeN8vvv_sincos): Removed.
18226 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
18228 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
18229 Don't include <sysdep.h> nor <init-arch.h>.
18230 (_ZGVeN16v_cosf): Removed.
18231 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
18233 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
18234 Don't include <sysdep.h> nor <init-arch.h>.
18235 (_ZGVbN4v_cosf): Removed.
18236 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
18238 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
18239 Don't include <sysdep.h> nor <init-arch.h>.
18240 (_ZGVdN8v_cosf): Removed.
18241 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
18243 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
18244 Don't include <sysdep.h> nor <init-arch.h>.
18245 (_ZGVeN16v_expf): Removed.
18246 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
18248 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
18249 Don't include <sysdep.h> nor <init-arch.h>.
18250 (_ZGVbN4v_expf): Removed.
18251 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
18253 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
18254 Don't include <sysdep.h> nor <init-arch.h>.
18255 (_ZGVdN8v_expf): Removed.
18256 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
18258 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
18259 Don't include <sysdep.h> nor <init-arch.h>.
18260 (_ZGVeN16v_logf): Removed.
18261 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
18263 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
18264 Don't include <sysdep.h> nor <init-arch.h>.
18265 (_ZGVbN4v_logf): Removed.
18266 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
18268 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
18269 Don't include <sysdep.h> nor <init-arch.h>.
18270 (_ZGVdN8v_logf): Removed.
18271 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
18273 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
18274 Don't include <sysdep.h> nor <init-arch.h>.
18275 (_ZGVeN16vv_powf): Removed.
18276 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
18278 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
18279 Don't include <sysdep.h> nor <init-arch.h>.
18280 (_ZGVbN4vv_powf): Removed.
18281 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
18283 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
18284 Don't include <sysdep.h> nor <init-arch.h>.
18285 (_ZGVdN8vv_powf): Removed.
18286 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
18288 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
18289 Don't include <sysdep.h> nor <init-arch.h>.
18290 (_ZGVeN16vvv_sincosf): Removed.
18291 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
18293 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
18294 Don't include <sysdep.h> nor <init-arch.h>.
18295 (_ZGVbN4vvv_sincosf): Removed.
18296 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
18298 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
18299 Don't include <sysdep.h> nor <init-arch.h>.
18300 (_ZGVdN8vvv_sincosf): Removed.
18301 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
18303 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
18304 Don't include <sysdep.h> nor <init-arch.h>.
18305 (_ZGVeN16v_sinf): Removed.
18306 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
18308 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
18309 Don't include <sysdep.h> nor <init-arch.h>.
18310 (_ZGVbN4v_sinf): Removed.
18311 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
18313 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
18314 Don't include <sysdep.h> nor <init-arch.h>.
18315 (_ZGVdN8v_sinf): Removed.
18317 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18319 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18320 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
18321 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
18322 s_rint-sse4_1 and s_rintf-sse4_1.
18323 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
18324 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
18325 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
18326 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
18327 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
18328 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
18329 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
18330 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
18331 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
18332 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
18333 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
18334 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18336 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
18337 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
18338 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18339 (__ceilf): Removed.
18340 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
18341 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
18342 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18343 (__floor): Removed.
18344 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
18345 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
18346 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18347 (__floorf): Removed.
18348 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
18349 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
18350 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18351 (__nearbyint): Removed.
18352 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
18353 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
18354 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18355 (__nearbyintf): Removed.
18356 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
18357 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
18358 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18360 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
18361 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
18362 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18363 (__rintf): Removed.
18365 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18367 * sysdeps/i386/start.S (_start): Check Check PIC instead of
18368 SHARED. Avoid dynamic relocation against main in static PIE.
18370 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18373 * elf/Makefile (CFLAGS-tst-prelink.c): New.
18374 (LDFLAGS-tst-prelink): Likewise.
18376 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18378 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
18379 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
18380 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
18381 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18382 (INTERNAL_SYSCALL_NCS): Likewise.
18383 (LOADARGS_1): Likewise.
18384 (LOADARGS_5): Likewise.
18385 (RESTOREARGS_1): Likewise.
18386 (RESTOREARGS_5): Likewise.
18388 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18390 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
18391 (MEMPCPY_SYMBOL): Likewise.
18392 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18393 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
18394 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
18396 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18397 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
18399 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
18400 (__hidden_ver1): Don't use in libc.a.
18401 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
18402 (__mempcpy): Don't create a weak alias in libc.a.
18403 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
18405 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
18406 (__hidden_ver1): Don't use in libc.a.
18408 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18410 * config.make.in (have-insert): New.
18411 * configure.ac (libc_cv_insert): New. Set to yes if linker
18412 supports INSERT in linker script.
18413 (AC_SUBST(libc_cv_insert): New.
18414 * configure: Regenerated.
18415 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
18416 if $(have-insert) == yes.
18418 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18420 * elf/Makefile (tests): Add vismain only if
18421 $(have-protected-data) == yes.
18422 (tests-pie): Likewise.
18424 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18427 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
18428 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
18430 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18433 * sysdeps/i386/i586/memset.S
18434 (__memset_zero_constant_len_parameter): Removed.
18435 * sysdeps/i386/i686/memset.S
18436 (__memset_zero_constant_len_parameter): Likewise.
18437 * sysdeps/i386/i686/multiarch/memset_chk.S
18438 (__memset_zero_constant_len_parameter): Likewise.
18439 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
18442 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
18444 * stdlib/getentropy.c (getentropy): Change return type to int.
18446 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
18448 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18450 2017-08-03 Joseph Myers <joseph@codesourcery.com>
18452 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
18454 * math/s_nexttowardf.c (__nexttowardf): Likewise.
18455 * sysdeps/generic/math_private.h (ieee_double_shape_type):
18457 (ieee_float_shape_type): Likewise.
18458 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
18459 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
18460 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18461 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18462 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18463 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
18464 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
18465 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18466 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
18468 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18469 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18470 (__ieee754_yn): Likewise.
18471 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18472 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18473 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
18475 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18476 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
18477 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
18478 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
18479 (__erfc): Likewise.
18480 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
18481 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
18482 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
18483 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
18484 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
18485 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
18487 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
18488 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
18489 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
18490 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
18491 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18492 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
18493 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
18494 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
18495 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
18496 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
18497 (__issignaling): Likewise.
18498 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
18499 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
18500 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18502 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18503 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
18504 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
18505 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
18507 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
18509 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
18510 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
18511 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
18512 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
18513 (__erfcf): Likewise.
18514 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
18515 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
18516 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
18517 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
18519 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
18520 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
18522 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
18523 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
18524 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
18525 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
18526 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
18527 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18528 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
18529 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
18531 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
18533 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
18535 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
18536 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18538 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18540 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18541 (__ieee754_ynl): Likewise.
18542 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18543 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
18545 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
18547 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
18548 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
18549 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18551 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
18552 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
18553 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
18554 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
18555 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
18556 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
18557 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
18558 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
18560 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
18561 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
18562 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
18564 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
18565 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
18566 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
18567 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
18568 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
18569 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18571 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18573 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18575 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18577 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
18578 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18579 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18580 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
18581 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
18582 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
18583 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
18585 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18587 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18588 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18590 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18591 (__ieee754_remainderl): Likewise.
18592 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18593 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18594 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18595 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18597 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18598 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18600 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18601 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
18602 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18603 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
18604 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18605 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18607 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18608 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
18609 (__ieee754_y0l): Likewise.
18612 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18613 (__ieee754_y1l): Likewise.
18616 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18617 (__ieee754_ynl): Likewise.
18618 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
18619 (__ieee754_lgammal_r): Likewise.
18620 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
18622 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
18623 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
18624 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
18625 (__erfcl): Likewise.
18626 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
18627 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
18629 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
18630 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
18631 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
18632 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
18633 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
18634 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18635 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18637 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
18638 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18639 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
18640 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
18641 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18643 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
18644 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
18646 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
18647 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
18648 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
18649 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18650 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
18652 2017-08-03 Florian Weimer <fweimer@redhat.com>
18655 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
18656 on memory allocation failure.
18658 2017-08-03 Alan Modra <amodra@gmail.com>
18660 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
18661 tst-tlsopt-powerpc.c with function name change and no test harness.
18662 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
18663 Call tls_get_addr_opt_test.
18664 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
18665 (modules-names): Add mod-tlsopt-powerpc.
18666 (mod-tlsopt-powerpc.so-no-z-defs): Define.
18667 (tst-tlsopt-powerpc): Depend on .so.
18668 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
18669 define. Expand use in TLS_GD and TLS_LD.
18671 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18673 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
18675 * sysdeps/posix/shm_open.c: Include <pthread.h>.
18677 2017-08-02 Joseph Myers <joseph@codesourcery.com>
18680 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
18681 comparing size with that of double.
18682 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
18683 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
18684 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
18685 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
18686 (__TGMATH_BINARY_REAL_IMAG): Likewise.
18687 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
18688 unsigned __int128 types.
18690 2017-08-02 Steve Ellcey <sellcey@cavium.com>
18692 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
18693 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
18694 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
18695 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
18696 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
18698 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
18700 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
18702 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
18704 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
18706 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18707 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18708 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18709 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18710 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18711 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18712 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18714 2017-08-02 Joseph Myers <joseph@codesourcery.com>
18717 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
18718 bit-field expressions passed to sizeof or typeof.
18719 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
18720 (__TGMATH_F128): Likewise.
18721 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
18722 (__TGMATH_CF128): Likewise.
18723 (__TGMATH_UNARY_REAL_ONLY): Likewise.
18724 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
18725 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
18726 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
18727 (__TGMATH_BINARY_REAL_ONLY): Likewise.
18728 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
18729 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
18730 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
18731 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
18732 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
18733 (__TGMATH_UNARY_REAL_IMAG): Likewise.
18734 (__TGMATH_UNARY_IMAG): Likewise.
18735 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
18736 (__TGMATH_BINARY_REAL_IMAG): Likewise.
18737 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
18739 (define_vars_for_type): Handle bit_field type specially.
18740 (Tests.__init__): Declare structure with bit-field element.
18742 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
18745 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
18746 (MEMCPY_CHK): Define only if SHARED is defined.
18747 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
18749 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
18752 See ChangeLog.18 for earlier changes.