1 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
5 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
7 * hurd/hurdsig.c: Include <pthread.h>.
8 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
9 get the signal thread stack layout.
10 * hurd/Makefile (headers): Remove threadvar.h.
11 (inline-headers): Remove threadvar.h.
12 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
14 __hurd_threadvar_max, __hurd_errno_location.
15 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
17 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
18 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
19 unless TLS is not initialized yet, in which case we do not need a
20 critical section yet anyway.
21 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
23 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
25 (__hurd_threadvar_index): Remove enum.
26 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
27 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
29 (__hurd_reply_port0): New variable declaration.
30 (__hurd_local_reply_port): New macro.
31 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
32 (interrupted_reply_port_location): Add thread_t parameter. Use it
33 with THREAD_TCB to access thread-local variables.
34 (_hurdsig_abort_rpcs): Pass ss->thread to
35 interrupted_reply_port_location.
36 (_hurd_internal_post_signal): Likewise.
37 (_hurdsig_init): Use presence of cthread_fork instead of
38 __hurd_threadvar_stack_mask to start signal thread by hand.
39 Remove signal thread threadvar initialization.
40 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
41 * hurd/sigunwind.c: Include <hurd/threadvar.h>
42 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
44 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
46 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
47 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
48 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
49 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
50 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
51 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
52 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
54 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
56 [IS_IN(rtld)] (rtld_errno): New variable.
57 [IS_IN(rtld)] (__errno_location): New weak function.
58 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
59 * sysdeps/mach/hurd/errno.c: Remove file.
60 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
61 (__fork): Remove THREADVAR_SPACE macro and its use.
62 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
64 (init): Do not initialize threadvar.
65 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
67 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
68 __hurd_local_reply_port instead of threadvar.
69 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
70 _hurd_sigstate fields.
71 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
72 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
73 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
74 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
76 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
77 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
78 (use_threadvar, global_reply_port): Remove variables.
79 (__hurd_reply_port0): New variable.
80 (__mig_get_reply_port): Use __hurd_local_reply_port and
81 __hurd_reply_port0 instead of threadvar.
82 (__mig_dealloc_reply_port): Likewise.
83 (__mig_init): Do not initialize threadvar.
84 * sysdeps/mach/hurd/profil.c: Fix comment.
85 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
86 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
87 cthread_keycreate, cthread_getspecific, cthread_setspecific to
88 __cthread_fork, __cthread_detach, __pthread_getattr_np,
89 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
90 __cthread_setspecific.
91 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
92 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
93 __cthread_t instead of cthread_fork, cthread_detach,
94 pthread_getattr_np, pthread_attr_getstack.
95 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
97 (cthread_getspecific): Rename to __cthread_getspecific.
98 (cthread_setspecific): Rename to __cthread_setspecific.
99 (__libc_getspecific): Use __cthread_getspecific instead of
101 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
102 __cthread_keycreate instead of cthread_keycreate.
103 (__libc_setspecific): Use __cthread_setspecific instead of
105 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
107 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
108 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
109 testing whether it is defined.
111 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
113 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
115 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
116 * sysdeps/mach/i386/thread_state.h
117 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
119 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
121 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
123 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
124 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
126 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
128 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
129 descriptor instead of creating a new one.
130 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
132 * mach/setup-thread.c: Include <ldsodefs.h>.
133 (__mach_setup_thread): Call _dl_allocate_tls, pass
134 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
135 MACHINE_THREAD_STATE_FLAVOR, before getting
136 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
137 MACHINE_THREAD_STATE_FLAVOR with the result.
138 * hurd/hurdfault.c (_hurdsig_fault_init): Call
139 MACHINE_THREAD_STATE_FIX_NEW.
140 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
141 too. Add original thread parameter.
143 2018-03-16 Joseph Myers <joseph@codesourcery.com>
145 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
146 Remove inline function.
148 * sysdeps/i386/fpu/libm-test-ulps: Update.
149 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
151 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
153 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
156 2018-03-15 Joseph Myers <joseph@codesourcery.com>
158 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
159 (__sincos_code): Remove define and undefine.
160 [__FAST_MATH__] (__sincos): Remove inline function.
161 [__FAST_MATH__] (__sincosf): Remove inline function.
162 [__FAST_MATH__] (__sincosl): Remove inline function.
163 (__atan2l): Remove inline functions.
164 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
165 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
167 (floor): Remove inline function.
169 [__FAST_MATH__] (__ldexp_code): Remove macro.
170 [__FAST_MATH__] (ldexp): Remove inline function.
171 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
172 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
173 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
174 [__USE_ISOC99] (__lrint_code): Remove macro.
175 [__USE_ISOC99] (__llrint_code): Likewise.
176 [__USE_ISOC99] (lrintf): Remove inline function.
177 [__USE_ISOC99] (lrint): Likewise.
178 [__USE_ISOC99] (lrintl): Likewise.
179 [__USE_ISOC99] (llrint): Likewise.
180 [__USE_ISOC99] (llrintf): Likewise.
181 [__USE_ISOC99] (llrintl): Likewise.
183 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
185 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
186 (__ieee754_sqrtf): Remove.
187 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
188 (__ieee754_sqrtf): Remove.
189 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
190 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
191 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
192 (__ieee754_sqrtf): Remove.
193 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
194 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
197 (__ieee754_sqrt): Remove.
198 (__ieee754_sqrtf): Remove.
199 (__ieee754_sqrtl): Remove.
200 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
201 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
202 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
203 (__ieee754_sqrtf): Remove.
204 (__ieee754_sqrtl): Remove.
206 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
208 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
209 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
210 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
211 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
212 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
213 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
214 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
215 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
217 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
218 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
219 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
220 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
221 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
222 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
223 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
224 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
225 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
226 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
227 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
228 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
229 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
230 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
231 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
232 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
233 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
234 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
235 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
236 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
237 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
238 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
239 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
240 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
241 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
242 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
243 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
244 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
245 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
246 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
247 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
248 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
249 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
250 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
251 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
252 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
253 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
254 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
255 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
256 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
258 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
260 * include/math.h (sqrt): Declare with asm redirect.
263 (sqrtf128): Likewise.
264 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
265 nonlib and libnldbl with -fmath-errno.
266 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
267 * math/w_sqrt_template.c: Likewise.
268 * math/w_sqrtf_compat.c: Likewise.
269 * math/w_sqrtl_compat.c: Likewise.
270 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
271 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
272 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
275 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
277 * benchtests/Makefile: Define _ISOMAC.
278 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
279 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
280 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
281 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
282 * benchtests/bench-timing.h: Define attribute_hidden.
284 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
286 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
289 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
292 * localedata/locales/cs_CZ (mon): Rename to...
294 (mon): Import from CLDR (genitive case).
296 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
299 * localedata/locales/el_CY (abmon): Rename to...
301 (abmon): Import from CLDR (abbreviated genitive case).
302 * localedata/locales/el_GR (abmon): Rename to...
304 (abmon): Import from CLDR (abbreviated genitive case).
306 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
309 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
311 2018-03-15 Robert Buj <robert.buj@gmail.com>
314 * localedata/locales/ca_ES (abmon): Rename to...
315 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
318 (abmon): Import from CLDR (genitive case, month names preceded by
321 (abday): Synchronize with CLDR.
326 (LC_TIME): Improve indentation.
327 (LC_TELEPHONE): Likewise.
329 (LC_ADDRESS): Likewise.
331 2018-03-14 Joseph Myers <joseph@codesourcery.com>
333 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
334 (lrintf): Remove definitions used only with old GCC.
335 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
336 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
337 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
338 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
339 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
340 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
341 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
342 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
343 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
344 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
345 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
346 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
347 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
348 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
349 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
350 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
351 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
352 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
353 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
354 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
355 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
356 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
357 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
358 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
359 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
360 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
361 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
362 [__FAST_MATH__] (__M_SQRT2): Remove macro.
364 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
366 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
367 instruction to unbreak builds with binutils 2.26 and older.
369 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
371 * sysdeps/aarch64/strncmp.S (count): New macro.
372 (strncmp): Store misaligned length in SRC1 in COUNT.
373 (mutual_align): Adjust.
374 (misaligned8): Load dword at a time when it is safe.
376 2018-03-12 Zack Weinberg <zackw@panix.com>
380 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
381 if the _IO_EOF_SEEN bit is already set; update commentary.
382 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
383 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
385 * support/support_openpty.c, support/tty.h: New files.
386 * support/Makefile (libsupport-routines): Add support_openpty.
388 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
390 * libio/Makefile (tests): Add tst-fgetc-after-eof.
391 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
393 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
395 * po/pt_BR.po: Update translations.
397 2018-03-12 David Michael <fedora.dm0@gmail.com>
399 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
400 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
401 get a port to the startup server.
403 2018-03-11 Zack Weinberg <zackw@panix.com>
405 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
406 before nldbl-compat.h.
408 2018-03-10 Zack Weinberg <zackw@panix.com>
410 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
411 math.h or math_private.h.
413 * sysdeps/alpha/fpu/s_isnan.c
414 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
415 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
416 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
417 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
418 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
419 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
420 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
421 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
422 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
425 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
426 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
427 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
428 Include math_private.h.
430 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
431 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
432 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
433 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
434 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
435 * sysdeps/powerpc/power7/fpu/s_logb.c:
436 Include math.h and math_private.h.
438 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
439 uses of $at in .set noat / .set at.
441 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
443 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
444 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
445 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
446 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
449 2018-03-09 Florian Weimer <fweimer@redhat.com>
451 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
454 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
457 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
458 Add nop before __startcontext, add explaining comments.
460 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
463 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
465 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
466 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
467 Do not build hardware transactional code for __SPE__.
468 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
469 (__lll_trylock_elision): Likewise.
470 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
471 (__lll_unlock_elision): Likewise.
473 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
474 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
475 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
476 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
477 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
478 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
479 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
480 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
481 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
482 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
483 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
484 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
485 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
486 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
487 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
488 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
489 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
490 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
491 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
492 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
493 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
494 * sysdeps/unix/sysv/linux/arm/kernel-features.h
495 (__ASSUME_CLONE_BACKWARDS): Define.
496 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
497 __clone2 if __NR_clone2 is defined.
498 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
499 (__ASSUME_CLONE_BACKWARDS): Likewise.
500 * sysdeps/unix/sysv/linux/i386/kernel-features.h
501 (__ASSUME_CLONE_BACKWARDS): Likewise.
502 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
503 (__ASSUME_CLONE2): Likewise.
504 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
505 (__ASSUME_CLONE_BACKWARDS3): Likewise.
506 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
507 variants and the define architecture can use.
508 (__ASSUME_CLONE_DEFAULT): Define as default.
509 * sysdeps/unix/sysv/linux/mips/kernel-features.h
510 (__ASSUME_CLONE_BACKWARDS): Likewise.
511 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
512 (__ASSUME_CLONE_BACKWARDS): Likewise.
513 * sysdeps/unix/sysv/linux/s390/kernel-features.h
514 (__ASSUME_CLONE_BACKWARDS2): Likewise.
516 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
518 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
520 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
523 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
524 (do_test_limit): Likewise.
526 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
527 for every implementation.
530 * benchtests/bench-strncmp.c: Convert output to json.
532 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
534 * io/futimens.c: Add missing start-of-file descriptive comment.
535 * io/utime.c: Likewise.
536 * misc/futimesat.c: Likewise.
537 * misc/utimes.c: Likewise.
538 * sysdeps/mach/hurd/futimesat.c: Likewise.
539 * sysdeps/mach/hurd/utimes.c: Likewise.
540 * sysdeps/posix/utime.c: Likewise.
541 * sysdeps/posix/utimes.c: Likewise.
542 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
543 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
544 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
545 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
547 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
549 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
551 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
552 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
553 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
554 (__futimens): Move implementation to...
555 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
556 utime_tvalue_from_tspec): ... new helper functions.
557 (hurd_futimens): New function.
558 * sysdeps/mach/hurd/futimesat.c: New file.
559 * sysdeps/mach/hurd/utimensat.c: New file.
561 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
563 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
564 UTIME_OMIT): New macros.
565 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
566 before reverting to converting time spec to time value and calling
568 * sysdeps/mach/hurd/utime-helper.c: New file.
569 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
570 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
571 reverting to utime_tvalue_from_tval and __file_utimes.
572 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
573 (__lutimes): Just call hurd_futimens after lookup.
574 * sysdeps/mach/hurd/utimes.c: Likewise.
576 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
578 * bits/sigaction.h: Add include guard.
579 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
580 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
581 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
582 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
583 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
584 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
585 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
586 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
587 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
589 2018-03-05 Joseph Myers <joseph@codesourcery.com>
591 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
592 -Wmaybe-uninitialized for -Os.
593 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
596 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
598 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
599 __INO_T_MATCHES_INO64_T is defined.
600 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
601 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
603 * dirent/alphasort64.c: Likewise.
604 * dirent/scandir.c: Likewise.
605 * dirent/scandir64-tail.c: Likewise.
606 * dirent/scandir64.c: Likewise.
607 * dirent/scandirat.c: Likewise.
608 * dirent/scandirat64.c: Likewise.
609 * dirent/versionsort.c: Likewise.
610 * dirent/versionsort64.c: Likewise.
611 * include/dirent.h: Likewise.
613 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
614 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
615 for socketpair endpoint.
616 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
617 WRITE_BUFFER_SIZE as buffer size for sending socket.
618 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
619 issue on system where send is implemented with sendto syscall.
620 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
621 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
622 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
623 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
626 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
627 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
628 sa_restorer for vDSO case.
629 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
631 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
633 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
634 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
635 * hurd/hurd/ioctl.h: Include <mach/port.h>
636 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
637 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
638 <mach/mach_types.h> and <mach/message.h>.
639 (headers): Move mach/param.h to bits/mach/param.h.
640 * sysdeps/mach/i386/mach/param.h: Move file to ...
641 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
642 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
644 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
645 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
646 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
647 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
648 trivial, for C++ conformity.
649 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
650 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
651 Process mig output through $(migheadersed).
652 * hurd/Makefile (migheadersed): Define variable.
653 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
654 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
656 * hurd/hurd.h: Include <bits/types/sigset_t.h>
657 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
658 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
659 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
660 <bits/types/sigset_t.h>.
661 [!defined __USE_GNU]: Do not #error out.
662 (struct hurd_sigstate): Use _NSIG instead of NSIG.
663 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
664 Include <stddef.h> and <bits/types/sigset_t.h>
665 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
666 instead of sighandler_t.
667 * stdlib/errno.h (error_t): Move definition to...
668 * bits/types/error_t.h: ... new header.
669 * stdlib/Makefile (headers): Add bits/types/error_t.h.
670 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
671 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
672 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
673 * hurd/hurd.h: Include <bits/types/error_t.h>
674 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
675 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
676 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
677 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
678 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
679 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
680 * sysdeps/mach/hurd/futimens.c: New file.
682 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
685 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
686 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
687 * nscd/gai.c (__nss_hosts_database): Readd definition.
688 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
689 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
690 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
692 2018-03-02 Joseph Myers <joseph@codesourcery.com>
694 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
695 (ifunc_one): Likewise.
697 2018-03-01 DJ Delorie <dj@delorie.com>
700 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
703 2018-03-01 Maciej W. Rozycki <macro@mips.com>
705 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
706 `match_pid' parameter.
707 (td_ta_thr_iter): Update accordingly.
709 2018-03-01 Florian Weimer <fweimer@redhat.com>
711 * nptl/Makefile (install-lib-ldscripts): Remove.
712 (install): Remove rule.
713 ($(inst_libdir)/libpthread.so): Likewise.
715 2018-03-01 Mike FABIAN <mfabian@redhat.com>
718 * localedata/locales/an_ES: update month and day names,
719 improve d_fmt, improve postal_fmt, add country_post,
722 2018-03-01 Mike FABIAN <mfabian@redhat.com>
724 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
725 Ukrainian instead of Bulgarian.
727 2018-03-01 Florian Weimer <fweimer@redhat.com>
729 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
732 2018-03-01 Florian Weimer <fweimer@redhat.com>
734 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
735 * nptl/Makefile (routines): Add pthread_atfork.
736 (static-only-routines): Set to pthread_atfork.
737 (libpthread-routines): Remove pthread_atfork.
738 (libpthread-static-only-routines): Remove.
739 (install): Update comment.
740 (libpthread.so): Do not install libpthread_nonshared.a.
741 (tests): Do not link with libpthread_nonshared.a.
742 (generated): Remove libpthread_nonshared.a.
743 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
744 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
745 with libpthread_nonshared.a.
747 2018-02-28 Joseph Myers <joseph@codesourcery.com>
750 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
751 (libc_feholdexcept_setroundf128): New macro.
752 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
755 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
757 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
758 * include/inttypes.h: New file.
760 2018-02-27 Joseph Myers <joseph@codesourcery.com>
762 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
763 -Os in two more places.
765 2018-02-27 Mike FABIAN <mfabian@redhat.com>
767 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
768 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
769 be sorted correctly at the moment because of a bug.
771 2018-02-27 Mike FABIAN <mfabian@redhat.com>
773 [BZ #22550] - es_ES locale (and other es_* locales): collation should
774 treat ñ as a primary different character, sync the collation
775 for Spanish with CLDR.
776 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
777 * localedata/Makefile: Add new test files.
778 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
779 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
781 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
782 * localedata/am_ET.UTF-8.in: New test file.
783 * localedata/az_AZ.UTF-8.in: Likewise.
784 * localedata/be_BY.UTF-8.in: Likewise.
785 * localedata/ber_DZ.UTF-8.in: Likewise.
786 * localedata/ber_MA.UTF-8.in: Likewise.
787 * localedata/bg_BG.UTF-8.in: Likewise.
788 * localedata/br_FR.UTF-8.in: Likewise.
789 * localedata/cmn_TW.UTF-8.in: Likewise.
790 * localedata/crh_UA.UTF-8.in: Likewise.
791 * localedata/csb_PL.UTF-8.in: Likewise.
792 * localedata/cv_RU.UTF-8.in: Likewise.
793 * localedata/cy_GB.UTF-8.in: Likewise.
794 * localedata/dz_BT.UTF-8.in: Likewise.
795 * localedata/eo.UTF-8.in: Likewise.
796 * localedata/es_ES.UTF-8.in: Likewise.
797 * localedata/fa_IR.UTF-8.in: Likewise.
798 * localedata/fi_FI.UTF-8.in: Likewise.
799 * localedata/fil_PH.UTF-8.in: Likewise.
800 * localedata/fur_IT.UTF-8.in: Likewise.
801 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
802 * localedata/ha_NG.UTF-8.in: Likewise.
803 * localedata/ig_NG.UTF-8.in: Likewise.
804 * localedata/ik_CA.UTF-8.in: Likewise.
805 * localedata/kk_KZ.UTF-8.in: Likewise.
806 * localedata/ku_TR.UTF-8.in: Likewise.
807 * localedata/ky_KG.UTF-8.in: Likewise.
808 * localedata/ln_CD.UTF-8.in: Likewise.
809 * localedata/mi_NZ.UTF-8.in: Likewise.
810 * localedata/ml_IN.UTF-8.in: Likewise.
811 * localedata/mn_MN.UTF-8.in: Likewise.
812 * localedata/mr_IN.UTF-8.in: Likewise.
813 * localedata/mt_MT.UTF-8.in: Likewise.
814 * localedata/nb_NO.UTF-8.in: Likewise.
815 * localedata/om_KE.UTF-8.in: Likewise.
816 * localedata/os_RU.UTF-8.in: Likewise.
817 * localedata/ps_AF.UTF-8.in: Likewise.
818 * localedata/ro_RO.UTF-8.in: Likewise.
819 * localedata/ru_RU.UTF-8.in: Likewise.
820 * localedata/sc_IT.UTF-8.in: Likewise.
821 * localedata/se_NO.UTF-8.in: Likewise.
822 * localedata/sq_AL.UTF-8.in: Likewise.
823 * localedata/sv_SE.UTF-8.in: Likewise.
824 * localedata/szl_PL.UTF-8.in: Likewise.
825 * localedata/tg_TJ.UTF-8.in: Likewise.
826 * localedata/tk_TM.UTF-8.in: Likewise.
827 * localedata/tt_RU.UTF-8.in: Likewise.
828 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
829 * localedata/ug_CN.UTF-8.in: Likewise.
830 * localedata/uz_UZ.UTF-8.in: Likewise.
831 * localedata/vi_VN.UTF-8.in: Likewise.
832 * localedata/yi_US.UTF-8.in: Likewise.
833 * localedata/yo_NG.UTF-8.in: Likewise.
834 * localedata/zh_CN.UTF-8.in: Likewise.
835 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
836 file and fix bugs in the collation.
837 * localedata/locales/az_AZ: Likewise.
838 * localedata/locales/be_BY: Likewise.
839 * localedata/locales/ber_DZ: Likewise.
840 * localedata/locales/ber_MA: Likewise.
841 * localedata/locales/bg_BG: Likewise.
842 * localedata/locales/br_FR: Likewise.
843 * localedata/locales/br_FR@euro: Likewise.
844 * localedata/locales/ca_ES: Likewise.
845 * localedata/locales/cns11643_stroke: Likewise.
846 * localedata/locales/crh_UA: Likewise.
847 * localedata/locales/cs_CZ: Likewise.
848 * localedata/locales/csb_PL: Likewise.
849 * localedata/locales/cv_RU: Likewise.
850 * localedata/locales/cy_GB: Likewise.
851 * localedata/locales/da_DK: Likewise.
852 * localedata/locales/dz_BT: Likewise.
853 * localedata/locales/en_CA: Likewise.
854 * localedata/locales/eo: Likewise.
855 * localedata/locales/es_CU: Likewise.
856 * localedata/locales/es_EC: Likewise.
857 * localedata/locales/es_ES: Likewise.
858 * localedata/locales/es_US: Likewise.
859 * localedata/locales/et_EE: Likewise.
860 * localedata/locales/fa_IR: Likewise.
861 * localedata/locales/fi_FI: Likewise.
862 * localedata/locales/fil_PH: Likewise.
863 * localedata/locales/fur_IT: Likewise.
864 * localedata/locales/gez_ER@abegede: Likewise.
865 * localedata/locales/ha_NG: Likewise.
866 * localedata/locales/hr_HR: Likewise.
867 * localedata/locales/hsb_DE: Likewise.
868 * localedata/locales/hu_HU: Likewise.
869 * localedata/locales/ig_NG: Likewise.
870 * localedata/locales/ik_CA: Likewise.
871 * localedata/locales/is_IS: Likewise.
872 * localedata/locales/iso14651_t1_pinyin: Likewise.
873 * localedata/locales/kk_KZ: Likewise.
874 * localedata/locales/ku_TR: Likewise.
875 * localedata/locales/ky_KG: Likewise.
876 * localedata/locales/ln_CD: Likewise.
877 * localedata/locales/lt_LT: Likewise.
878 * localedata/locales/lv_LV: Likewise.
879 * localedata/locales/mi_NZ: Likewise.
880 * localedata/locales/ml_IN: Likewise.
881 * localedata/locales/mn_MN: Likewise.
882 * localedata/locales/mr_IN: Likewise.
883 * localedata/locales/mt_MT: Likewise.
884 * localedata/locales/nb_NO: Likewise.
885 * localedata/locales/om_KE: Likewise.
886 * localedata/locales/os_RU: Likewise.
887 * localedata/locales/pl_PL: Likewise.
888 * localedata/locales/ps_AF: Likewise.
889 * localedata/locales/ro_RO: Likewise.
890 * localedata/locales/ru_RU: Likewise.
891 * localedata/locales/ru_UA: Likewise.
892 * localedata/locales/sc_IT: Likewise.
893 * localedata/locales/se_NO: Likewise.
894 * localedata/locales/si_LK: Likewise.
895 * localedata/locales/sq_AL: Likewise.
896 * localedata/locales/sv_FI: Likewise.
897 * localedata/locales/sv_FI@euro: Likewise.
898 * localedata/locales/sv_SE: Likewise.
899 * localedata/locales/szl_PL: Likewise.
900 * localedata/locales/tg_TJ: Likewise.
901 * localedata/locales/ti_ER: Likewise.
902 * localedata/locales/tk_TM: Likewise.
903 * localedata/locales/tl_PH: Likewise.
904 * localedata/locales/tr_TR: Likewise.
905 * localedata/locales/tt_RU: Likewise.
906 * localedata/locales/tt_RU@iqtelif: Likewise.
907 * localedata/locales/ug_CN: Likewise.
908 * localedata/locales/uk_UA: Likewise.
909 * localedata/locales/uz_UZ: Likewise.
910 * localedata/locales/uz_UZ@cyrillic: Likewise.
911 * localedata/locales/vi_VN: Likewise.
912 * localedata/locales/yi_US: Likewise.
913 * localedata/locales/yo_NG: Likewise.
915 2018-02-27 Mike FABIAN <mfabian@redhat.com>
917 * gen-locales.mk: Make test files which contain @ modifiers in their
919 * localedata/gen-locale.sh: Likewise.
921 2018-02-27 Mike FABIAN <mfabian@redhat.com>
923 * posix/tst-fnmatch.input: Fix results for range expressions
925 * posix/tst-regexloc.c: Do not use a range expression for
926 de_DE.ISO-8859-1 locale.
928 2018-02-27 Mike FABIAN <mfabian@redhat.com>
930 * posix/bug-regex5.c: Fix test case because with the new
931 iso14651_t1_common file, the da_DK locale now has 6 collating elements
932 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
935 2018-02-27 Mike FABIAN <mfabian@redhat.com>
937 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
938 downloaded from ISO, the collation order of @-. and space has changed.
939 Therefore, this test file needed to be adapted.
940 * localedata/fr_CA.UTF-8.in: Likewise.
941 * localedata/fr_FR.UTF-8.in: Likewise.
942 * localedata/uk_UA.UTF-8.in: Likewise.
944 2018-02-27 Mike FABIAN <mfabian@redhat.com>
946 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
947 order of ȥ in the new iso14651_t1_common file.
948 * localedata/pl_PL.UTF-8.in: Likewise.
950 2018-02-27 Mike FABIAN <mfabian@redhat.com>
952 * localedata/locales/iso14651_t1_common: Add sections for various
953 scripts to the iso14651_t1_common file.
955 2018-02-27 Mike FABIAN <mfabian@redhat.com>
957 * localedata/locales/iso14651_t1_common: Use the code point of a
958 character in the fourth collation level instead of IGNORE for all
959 entries which have IGNORE on all 4 levels.
961 2018-02-27 Mike FABIAN <mfabian@redhat.com>
963 * localedata/locales/iso14651_t1_common: Add some convenient collation
964 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
965 rules similar to those in CLDR.
967 2018-02-27 Mike FABIAN <mfabian@redhat.com>
969 * localedata/locales/iso14651_t1_common: The new version of this
970 file downloaded from ISO contained several syntax errors which
971 are fixed by this patch.
973 2018-02-27 Mike FABIAN <mfabian@redhat.com>
975 * localedata/locales/iso14651_t1_common: replace all <U.....>
976 with <U000.....> because glibc understands only 4 digit or 8 digit
978 2018-02-27 Mike FABIAN <mfabian@redhat.com>
980 * localedata/locales/iso14651_t1_common: Necessary changes
981 to make the file downloaded from ISO usable by glibc.
983 2018-02-27 Mike FABIAN <mfabian@redhat.com>
986 * localedata/locales/iso14651_t1_common: Update file to
987 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
989 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
991 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
993 (thread_attr_compare): Move function to...
994 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
995 * sysdeps/nptl/timer_routines.h: ... new header.
996 * sysdeps/mach/hurd/gai_misc.h: New file.
998 2018-02-26 Joseph Myers <joseph@codesourcery.com>
1000 * string/strcoll_l.c: Include <libc-diag.h>.
1001 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
1002 declarations of seq1 and seq2.
1005 * stdlib/atoi.c (atoi): Use libc_hidden_def.
1006 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
1008 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
1012 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
1013 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
1014 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
1015 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
1016 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
1017 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
1019 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1021 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
1022 macros used in __ptrace_request.
1024 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
1027 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
1029 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
1030 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
1031 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
1034 2018-02-23 Joseph Myers <joseph@codesourcery.com>
1037 * ctype/ctype.c (tolower): Use libc_hidden_def.
1038 (toupper): Likewise.
1039 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
1040 [!_ISOMAC] (toupper): Likewise.
1042 2018-02-23 Mike FABIAN <mfabian@redhat.com>
1044 * localedata/Makefile: Remove --quiet argument when
1047 2018-02-23 Mike FABIAN <mfabian@redhat.com>
1050 * localedata/locales/pt_BR (LC_TIME): use / instead of -
1052 * localedata/locales/pt_PT (LC_TIME): likewise
1054 2018-02-23 Mike FABIAN <mfabian@redhat.com>
1057 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
1058 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
1059 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
1061 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1065 * nptl/Makefile (routines): Remove unregister-atfork.
1066 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
1067 (fork_handler_alloc): Remove function.
1068 (fork_handlers, fork_handler_init): New variables.
1069 (__fork_lock): Rename to atfork_lock.
1070 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
1071 to use a dynamic array to add/remove atfork handlers.
1072 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1073 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
1075 (fork_handler): Remove next, refcntr, and need_signal member.
1076 (__run_fork_handler_type): New enum.
1077 (__run_fork_handlers): New prototype.
1078 * nptl/register-atfork.c: Remove file.
1079 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
1081 * sysdeps/nptl/nptl-signals.h: Move to ...
1082 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
1084 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
1085 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
1086 unnecessary check for SIGTIMER.
1087 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
1088 remove unnecessary removal of SIGTIMER.
1089 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
1090 include-signals.h rename.
1091 * nptl/pthreadP.h: Likewise.
1092 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
1093 __is_internal_signal instead of __nptl_is_internal_signal.
1095 2018-02-22 Andrew Waterman <andrew@sifive.com>
1098 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
1099 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
1100 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
1101 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
1103 2018-02-22 DJ Delorie <dj@delorie.com>
1105 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
1107 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1109 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
1110 do_misaligned, not misaligned8.
1112 2018-02-22 Steve Ellcey <sellcey@cavium.com>
1114 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
1115 Add memcpy_thunderx2.
1116 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
1118 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
1119 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
1120 and IS_THUNDERX2PA checks.
1121 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
1122 Use macro to set name appropriately.
1123 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
1124 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
1125 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
1127 (IS_THUNDERX2): New macro.
1129 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
1131 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1133 2018-02-21 Zack Weinberg <zackw@panix.com>
1135 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
1136 Define here, unconditionally.
1137 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
1138 * libio/libioP.h: Remove #if 0 blocks.
1139 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
1140 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
1141 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
1143 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
1144 Assume weak_alias is always defined.
1146 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
1147 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
1148 Remove #if 0 and #ifdef TODO blocks.
1149 Assume text_set_element is always defined.
1151 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
1152 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
1153 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
1155 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
1156 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
1157 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
1158 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
1159 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
1160 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
1161 Reformat bit flags for _flags field to make occupancy clearer.
1163 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
1164 Keep definitions consistent with those in libio/libio.h.
1166 * libio/libio.h (_IO_file_flags): Remove macro.
1167 All uses changed to _flags.
1169 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
1170 (__HAVE_COLUMN, _IO_BE): Don't define.
1171 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
1172 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
1173 * libio/libioP.h (EOF): Don't define.
1174 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
1175 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
1176 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
1177 testing _IO_UNIFIED_JUMPTABLES.
1179 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
1180 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
1181 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
1182 (_IO_size_t): Delete; all uses changed to size_t.
1183 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
1184 (_IO_off_t): Delete; all uses changed to off_t.
1185 (_IO_off64_t): Delete; all uses changed to off64_t.
1186 (_IO_pid_t): Delete; all uses changed to pid_t.
1187 (_IO_uid_t): Delete; all uses changed to uid_t.
1188 (_IO_wint_t): Delete; all uses changed to wint_t.
1189 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
1190 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
1191 (_IO_cookie_io_functions_t): Delete; all uses changed to
1192 cookie_io_functions_t.
1193 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
1194 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
1195 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
1196 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
1198 * libio/iofopncook.c: Remove unnecessary forward declarations.
1199 * libio/iolibio.h: Correct outdated commentary.
1200 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
1201 * stdio-common/fxprintf.c (__fxprintf_nocancel):
1202 Remove unnecessary casts.
1203 * stdio-common/getline.c: Use _IO_getdelim directly.
1204 Don't redefine ssize_t.
1205 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
1206 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
1207 Remove outdated comments.
1208 * stdio-common/vfscanf.c: Don't redefine va_list.
1210 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
1211 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
1212 Remove preprocessor conditionals on _LIBC and __USE_GNU,
1213 which are always true, and __cplusplus, which is always false.
1215 2018-02-21 Joseph Myers <joseph@codesourcery.com>
1219 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
1220 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
1221 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
1222 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
1224 [!_ISOMAC] (putc_unlocked): Likewise.
1225 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
1226 define inline if [__USE_EXTERN_INLINES].
1227 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
1232 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
1233 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
1234 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
1235 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
1236 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
1238 * time/tzfile.c (__tzfile_read): Likewise.
1240 2018-02-21 Mike FABIAN <mfabian@redhat.com>
1243 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
1245 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
1247 * io/fcntl.h: Fix a typo in a comment.
1249 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
1252 * include/features.h: Add _ISOC11_SOURCE to test for whether to
1253 define _DEFAULT_SOURCE.
1254 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
1256 2018-02-21 Florian Weimer <fweimer@redhat.com>
1259 * elf/cache.c (save_cache): Call fsync on temporary file before
1261 (save_aux_cache): Call fdatasync on temporary file before renaming
1264 2018-02-21 Florian Weimer <fweimer@redhat.com>
1267 * include/caller.h: Remove file.
1268 * elf/dl-caller.c: Likewise.
1269 * elf/Makefile (dl-routines): Remove dl-caller.
1270 (shared-only-routines): Do not add dl-caller.
1271 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
1273 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
1275 (dl_open_worker): Do not call __check_caller.
1276 (_dl_open): Do not set caller_dl_open member.
1277 * elf/rtld.c (_rtld_global_ro): Do not initialize
1278 _dl_check_caller member.
1279 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
1280 _dl_check_caller member.
1281 (_dl_check_caller): Remove declaration.
1282 * sysdeps/unix/sysv/linux/dl-execstack.c
1283 (_dl_make_stack_executable): Do not call __check_caller.
1285 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
1287 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
1288 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
1290 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
1292 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
1295 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
1298 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
1299 of 199606L, 200112L, and 200809L.
1300 (_XOPEN_SOURCE): Document special values of 600 and 700.
1301 (_ISOC11_SOURCE): Document macro.
1302 (_ATFILE_SOURCE): Likewise.
1303 (_FORTIFY_SOURCE): Likewise.
1305 2018-02-19 Joseph Myers <joseph@codesourcery.com>
1309 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
1310 and define as weak alias of __ferror_unlocked. Use
1312 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
1314 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
1315 function if [__USE_EXTERN_INLINES].
1316 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
1319 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
1322 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
1324 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
1327 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
1328 the GLIBC_2.1 version.
1330 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
1333 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
1334 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
1335 intl/tst-gettext-de.po from po/de.po by removing the
1336 POT-Creation-Date line.
1337 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
1339 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
1342 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
1344 * mach/Makefile (headers): Add mach/param.h.
1345 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
1346 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
1347 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
1348 (__ptsname_r): Move implementation to...
1349 (__ptsname_internal): ... new function. Add filling the STP
1352 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
1354 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
1357 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
1359 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
1362 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1364 * nptl/Makefile (tst-mutex8-ENV): Delete.
1365 * nptl/tst-mutex8.c (check_type):
1366 Add runtime check if mutex will be elided.
1368 2018-02-15 Joseph Myers <joseph@codesourcery.com>
1372 * manual/install.texi (Configuring and compiling): Describe
1373 passing CC and CFLAGS on configure command line, not as
1374 environment variables. Use @code markup on those variables.
1375 Specify what options go in CC and what go in CFLAGS. Note the
1376 requirement to compile with optimization.
1377 * INSTALL: Regenerated.
1380 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
1381 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
1382 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
1383 __sigprocmask instead of sigprocmask.
1384 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
1386 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
1387 __sigsetjmp and sigprocmask.
1390 * include/argz.h (argz_next): Use libc_hidden_proto.
1391 (__argz_next): Likewise.
1392 * string-argz-next.c (__argz_next): Use libc_hidden_def.
1393 (argz_next): Use libc_hidden_weak.
1396 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
1398 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
1402 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
1404 * libio/iofputs.c (fputs): Use libc_hidden_weak.
1408 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
1409 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
1410 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
1411 (__feof_unlocked): New declaration, and inline function if
1412 [__USE_EXTERN_INLINES].
1413 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
1414 instead of feof_unlocked.
1415 * intl/localealias.c [_LIBC] (FEOF): Likewise.
1416 * nss/nsswitch.c (nss_parse_file): Likewise.
1417 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
1419 * time/getdate.c (__getdate_r): Likewise.
1420 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
1421 Define as macro to call __feof_unlocked.
1423 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
1425 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
1427 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
1429 * math/Makefile: Remove mpexp.c and mplog.c
1430 * sysdeps/i386/fpu/mpexp.c: Delete file.
1431 * sysdeps/i386/fpu/mplog.c: Likewise.
1432 * sysdeps/ia64/fpu/mpexp.c: Likewise.
1433 * sysdeps/ia64/fpu/mplog.c: Likewise.
1434 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
1435 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
1436 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
1437 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1438 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
1439 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
1440 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
1441 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
1442 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
1443 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
1444 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
1445 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
1446 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
1447 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
1448 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
1449 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
1451 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
1453 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1455 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1457 * sysdeps/sh/libm-test-ulps: Update.
1459 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1461 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
1464 2018-02-12 Zack Weinberg <zackw@panix.com>
1467 * posix/sys/types.h: Don't include sys/sysmacros.h.
1468 * misc/sys/sysmacros.h: Remove the conditional deprecation
1469 warnings for the macros defined by this header.
1471 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
1473 * manual/probes.texi: Remove slowexp probes.
1474 * math/Makefile: Remove slowexp.
1475 * sysdeps/generic/math_private.h (__slowexp): Remove.
1476 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
1477 document error bounds.
1478 * sysdeps/i386/fpu/slowexp.c: Remove.
1479 * sysdeps/ia64/fpu/slowexp.c: Remove.
1480 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
1481 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
1482 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
1483 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
1484 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
1485 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
1486 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
1487 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
1488 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
1489 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
1490 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
1492 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1495 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
1496 * benchtests/pow-inputs: Update comment for slow path cases.
1497 * manual/probes.texi (slowpow_p10): Delete removed probe.
1498 (slowpow_p10): Likewise.
1499 * math/Makefile: Remove halfulp.c and slowpow.c.
1500 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
1501 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
1502 (__halfulp): Remove.
1503 (__slowpow): Remove.
1504 * sysdeps/i386/fpu/halfulp.c: Delete file.
1505 * sysdeps/i386/fpu/slowpow.c: Likewise.
1506 * sysdeps/ia64/fpu/halfulp.c: Likewise.
1507 * sysdeps/ia64/fpu/slowpow.c: Likewise.
1508 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
1509 improve comments and add error analysis.
1510 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
1511 (power1): Remove function:
1512 (log1): Remove error argument, add error analysis.
1513 (my_log2): Remove function.
1514 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
1515 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1516 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
1517 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
1518 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
1519 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
1520 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
1521 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
1522 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
1523 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
1524 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
1525 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
1526 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
1527 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
1529 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1531 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
1532 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
1534 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
1537 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
1538 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
1539 and PTRACE_SETHBPREGS.
1541 2018-02-10 Zack Weinberg <zackw@panix.com>
1544 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
1546 * malloc/tst-malloc-stats-cancellation.c: New test case.
1547 * malloc/Makefile: Add new test case.
1549 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
1551 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
1553 2018-02-10 Joseph Myers <joseph@codesourcery.com>
1555 * math/Makefile (libm-narrow-fns): Add add.
1556 (libm-test-funcs-narrow): Likewise.
1557 * math/Versions (GLIBC_2.28): Add narrowing add functions.
1558 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
1559 * math/gen-auto-libm-tests.c (test_functions): Add add.
1560 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
1561 (NARROW_ADD_ROUND_TO_ODD): Likewise.
1562 (NARROW_ADD_TRIVIAL): Likewise.
1563 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
1565 (__daddl): Likewise.
1566 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
1568 (CFLAGS-nldbl-dadd.c): New variable.
1569 (CFLAGS-nldbl-fadd.c): Likewise.
1570 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
1572 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
1574 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
1575 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
1576 * math/auto-libm-test-in: Add tests of add.
1577 * math/auto-libm-test-out-narrow-add: New generated file.
1578 * math/libm-test-narrow-add.inc: New file.
1579 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
1580 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
1581 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
1582 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
1583 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
1584 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
1585 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
1586 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
1587 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
1588 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
1589 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
1590 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
1591 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
1592 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
1593 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
1594 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
1595 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
1596 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
1597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1598 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
1599 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1600 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1601 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1602 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1603 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1604 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1605 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1606 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1607 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1608 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1609 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1610 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
1613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1615 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1616 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1617 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1618 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1619 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1620 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1621 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
1622 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
1623 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1624 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1626 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
1627 (f128-pairs): New variable.
1628 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
1629 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
1631 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
1632 Also make tests add $(f128-loader-link) to gnulib-tests.
1634 2018-02-09 DJ Delorie <dj@redhat.com>
1637 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
1638 64-bit ELF type for 64-bit ELF objects.
1640 2018-02-09 Joseph Myers <joseph@codesourcery.com>
1642 * math/libm-test-driver.c (snan_tests_arg): New variable.
1643 * math/libm-test-support.h (snan_tests_arg): New declaration.
1644 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
1646 * math/Makefile (test-type-pairs): New variable.
1647 (test-type-pairs-f64xf128-yes): Likewise.
1648 (tests): Add test-narrow-macros.
1649 (libm-test-funcs-narrow): New variable.
1650 (libm-test-c-narrow): Likewise.
1651 (generated): Add $(libm-test-c-narrow).
1652 (libm-tests-base-narrow): New variable.
1653 (libm-tests-narrow): Likewise.
1654 (libm-tests): Add $(libm-tests-narrow).
1655 (libm-tests-for-type): Handle $(libm-tests-narrow).
1656 (libm-test-c-narrow-obj): New variable.
1657 ($(libm-test-c-narrow-obj)): New rule.
1658 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
1659 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
1660 $(o-iterator) to set dependencies and CFLAGS.
1661 * math/gen-auto-libm-tests.c: Document use for narrowing
1663 (output_for_one_input_case): Take argument NARROW.
1664 (generate_output): Likewise. Update call to
1665 output_for_one_input_case.
1666 (main): Take --narrow option. Update call to generate_output.
1667 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
1668 (apply_lit): Update call to _apply_lit.
1669 (apply_arglit): New function.
1670 (parse_args): Handle "a" arguments.
1671 (parse_auto_input): Handle format names using ":".
1672 * math/README.libm-test: Document "a" parameter type.
1673 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
1674 (ARG_TYPE_TRUE_MIN): Likewise.
1675 (ARG_TYPE_MAX): Likwise.
1676 (ARG_MIN_EXP): Likewise.
1677 (ARG_MAX_EXP): Likewise.
1678 (ARG_MANT_DIG): Likewise.
1679 (TEST_COND_arg_ibm128): Likewise.
1680 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
1681 (TEST_COND_arg_fmt): New macro.
1682 (init_max_error): Update prototype.
1683 * math/libm-test-support.c (test_ibm128): New variable.
1684 (init_max_error): Take argument testing_ibm128 and set test_ibm128
1685 instead of using [TEST_COND_ibm128] conditional.
1686 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
1687 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
1688 [TEST_NARROW] (TEST_MSG): New definition.
1689 (arg_plus_zero): New macro.
1690 (arg_minus_zero): Likewise.
1691 (arg_plus_infty): Likewise.
1692 (arg_minus_infty): Likewise.
1693 (arg_qnan_value_pl): Likewise.
1694 (arg_qnan_value): Likewise.
1695 (arg_snan_value_pl): Likewise.
1696 (arg_snan_value): Likewise.
1697 (arg_max_value): Likewise.
1698 (arg_min_value): Likewise.
1699 (arg_min_subnorm_value): Likewise.
1700 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
1701 (RUN_TEST_LOOP_aa_f): New macro.
1702 (TEST_SUFF): New macro.
1703 (TEST_SUFF_STR): Likewise.
1704 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
1705 (TEST_COND_any_ibm128): New macro.
1706 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
1707 this_func. Update call to init_max_error.
1708 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
1709 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
1710 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
1711 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
1712 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
1713 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
1714 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
1715 * math/test-math-scalar.h (TEST_NARROW): Likewise.
1716 * math/test-math-vector.h (TEST_NARROW): Likewise.
1717 * math/test-arg-double.h: New file.
1718 * math/test-arg-float128.h: Likewise.
1719 * math/test-arg-float32x.h: Likewise.
1720 * math/test-arg-float64.h: Likewise.
1721 * math/test-arg-float64x.h: Likewise.
1722 * math/test-arg-ldouble.h: Likewise.
1723 * math/test-math-narrow.h: Likewise.
1724 * math/test-narrow-macros.c: Likewise.
1725 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
1726 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
1727 test-narrow-macros-ldbl-64.
1728 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
1730 * math/bits/mathcalls-narrow.h: New file.
1731 * include/bits/mathcalls-narrow.h: Likewise.
1732 * math/math-narrow.h: Likewise.
1733 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
1734 (__MATHCALL_NARROW_ARGS_2): Likewise.
1735 (__MATHCALL_NARROW_ARGS_3): Likewise.
1736 (__MATHCALL_NARROW_NORMAL): Likewise.
1737 (__MATHCALL_NARROW_REDIR): Likewise.
1738 (__MATHCALL_NARROW): Likewise.
1739 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
1740 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
1742 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
1743 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
1744 (libm-narrow-fns): New variable.
1745 (libm-narrow-types-basic): Likewise.
1746 (libm-narrow-types-ldouble-yes): Likewise.
1747 (libm-narrow-types-float128-yes): Likewise.
1748 (libm-narrow-types-float128-alias-yes): Likewise.
1749 (libm-narrow-types): Likewise.
1750 (libm-routines): Add narrowing functions.
1751 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
1752 (libc_feholdexcept_setroundf128): New macro.
1753 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
1754 * sysdeps/ieee754/float128/float128_private.h: Include
1755 <math/math-narrow.h>.
1756 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
1757 Undefine and redefine.
1758 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
1759 (libm_alias_float_ldouble): Undefine and redefine.
1760 (libm_alias_double_ldouble): Likewise.
1762 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
1764 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
1766 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
1769 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
1771 * manual/creature.texi: Convert references to gcc.info to gcc.
1772 * manual/stdio.texi: Likewise.
1773 * manual/string.texi: Likewise.
1775 2018-02-07 Joseph Myers <joseph@codesourcery.com>
1778 * posix/bits/types.h (__int_least8_t): New typedef.
1779 (__uint_least8_t): Likewise.
1780 (__int_least16_t): Likewise.
1781 (__uint_least16_t): Likewise.
1782 (__int_least32_t): Likewise.
1783 (__uint_least32_t): Likewise.
1784 (__int_least64_t): Likewise.
1785 (__uint_least64_t): Likewise.
1786 * sysdeps/generic/stdint.h (int_least8_t): Define using
1788 (int_least16_t): Define using __int_least16_t.
1789 (int_least32_t): Define using __int_least32_t.
1790 (int_least64_t): Define using __int_least64_t.
1791 (uint_least8_t): Define using __uint_least8_t.
1792 (uint_least16_t): Define using __uint_least16_t.
1793 (uint_least32_t): Define using __uint_least32_t.
1794 (uint_least64_t): Define using __uint_least64_t.
1795 * wcsmbs/uchar.h: Include <bits/types.h>.
1796 (char16_t): Define using __uint_least16_t conditional only on
1798 (char32_t): Define using __uint_least32_t conditional only on
1800 * wcsmbs/test-char-types.c: New file.
1801 * wcsmbs/Makefile (tests): Add test-char-types.
1803 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
1806 2018-02-07 Zack Weinberg <zackw@panix.com>
1808 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
1809 Delete all contents except for definitions of _G_HAVE_MMAP and
1810 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
1811 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
1812 sysdeps/unix/sysv/linux/_G_config.h. Make same content
1815 * libio/libio.h: Don't include bits/_G_config.h here.
1816 Include stddef.h with __need_wchar_t defined. Include
1817 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
1818 Define _IO_iconv_t here, directly.
1819 Don't define _IO_HAVE_ST_BLKSIZE.
1820 * libio/libioP.h: Include _G_config.h here. Move include of
1821 shlib-compat.h up with rest of includes. Simplify conditionals
1822 controlling definition of _IO_JUMPS_OFFSET.
1824 * csu/init.c: Remove always-true #if around entire file.
1825 Don't include stdio.h. Set _IO_stdin_used to hardwired
1826 constant 0x20001, and update commentary.
1827 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
1828 Replace all uses of _G_va_list with __gnuc_va_list.
1829 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
1830 instead of #if _IO_HAVE_ST_BLKSIZE.
1831 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
1832 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
1835 * libio/bits/libio.h: Move back to libio/libio.h and adjust
1836 multiple-include guard to match.
1837 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
1839 Remove preprocessor conditionals that are always true and/or
1840 redundant to other preprocessor conditionals in the same nest.
1841 Include shlib-compat.h unconditionally.
1842 Error out if _LIBC is not defined, or if _ISOMAC is defined,
1843 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
1844 defined after including stdio.h.
1845 Use __BEGIN_DECLS/__END_DECLS.
1847 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
1848 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
1849 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
1851 2018-02-07 Zack Weinberg <zackw@panix.com>
1853 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
1854 New single-type headers split from _G_config.h.
1855 * libio/bits/types/cookie_io_functions_t.h
1856 * libio/bits/types/struct_FILE.h
1857 New single-type headers split from libio.h.
1859 * libio/Makefile: Install the above new headers. Don't install
1860 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
1862 * libio/_G_config.h, libio/libio.h: Delete file.
1864 * libio/bits/libio.h: Remove improper-inclusion guard.
1865 Include stdio.h and don't repeat anything that it does.
1866 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
1867 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
1868 __io_read_fn as cookie_read_function_t,
1869 __io_write_fn as cookie_write_function_t,
1870 __io_seek_fn as cookie_seek_function_t,
1871 __io_close_fn as cookie_close_function_t,
1872 and _IO_cookie_io_functions_t as cookie_io_functions_t.
1873 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
1874 here, in the "compatibility defines" section. Remove an #if 0
1875 block. Use the "body" macros from bits/types/struct_FILE.h to
1876 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
1877 and _IO_ferror_unlocked.
1878 Move prototypes of __uflow and __overflow...
1880 * libio/stdio.h: ...here. Don't include bits/libio.h.
1881 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
1882 directly from stdarg.h. Include bits/types/__fpos_t.h,
1883 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
1884 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
1885 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
1886 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
1887 cookie_io_functions_t, not _IO_cookie_io_functions_t;
1888 __ssize_t, not _IO_ssize_t. Unconditionally define
1889 BUFSIZ as 8192 and EOF as (-1).
1891 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
1892 macros from bits/types/struct_FILE.h instead of _IO_* macros
1893 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
1894 instead of _IO_ssize_t.
1895 * libio/bits/stdio2.h: Similarly.
1897 * libio/iolibio.h: Add multiple-include guard.
1898 Include bits/libio.h after stdio.h.
1899 * libio/libioP.h: Add multiple-include guard.
1900 Include stdio.h and bits/libio.h before iolibio.h.
1902 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
1903 * include/bits/types/cookie_io_functions_t.h
1904 * include/bits/types/struct_FILE.h: New wrappers.
1906 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
1907 Get definitions of _G_fpos_t and _G_fpos64_t from
1908 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
1909 respectively. Remove improper-inclusion guards.
1911 * conform/data/stdio.h-data: Update expectations of va_list.
1912 * scripts/check-installed-headers.sh: Remove special case for
1913 libio.h and _G_config.h.
1915 2018-02-07 Joseph Myers <joseph@codesourcery.com>
1919 * include/sys/sysmacros.h [!_ISOMAC]
1920 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
1921 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
1922 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
1923 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
1925 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
1926 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
1928 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
1929 Undefine and redefine to add use __gnu_dev_ prefix.
1930 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
1932 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
1933 and define as hidden inline function.
1934 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
1936 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
1938 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
1939 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
1940 (gnu_dev_minor): Likewise.
1941 (gnu_dev_makedev): Likewise.
1942 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
1944 * posix/wordexp.c (exec_comm_child): Likewise.
1945 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
1946 instead of minor and __gnu_dev_major instead of major.
1947 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
1948 __gnu_dev_major instead of major.
1949 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
1950 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
1951 instead of gnu_dev_minor.
1952 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
1953 (SLAVE_P): Likewise.
1954 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
1955 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
1959 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
1961 * locale/weightwc.h (findidx): Likewise.
1963 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
1965 * manual/probes.texi (slowlog): Delete documentation of removed probe.
1966 (slowlog_inexact): Likewise
1967 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
1968 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
1970 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
1973 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
1974 missing second underscore to parameter name.
1976 2018-02-06 Joseph Myers <joseph@codesourcery.com>
1982 * bits/byteswap.h: Update file comment. Do not include
1983 <bits/byteswap-16.h>.
1984 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
1986 (__bswap_16): Define as inline function.
1987 (__bswap_constant_32): Reformat definition.
1988 (__bswap_32): Always define as inline function, not macro, using
1989 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
1990 otherwise __bswap_constant_32.
1991 (__bswap_constant_64): Reformat definition. Do not use
1993 (__bswap_64): Always define as inline function, not macro. Use
1994 __extension__ on function definition. Use __builtin_bswap64 if
1995 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
1996 * string/test-endian-file-scope.c: New file.
1997 * string/test-endian-sign-conversion.c: Likewise.
1998 * string/Makefile (headers): Remove bits/byteswap-16.h.
1999 (tests): Add test-endian-file-scope and
2000 test-endian-sign-conversion.
2001 (CFLAGS-test-endian-sign-conversion.c): New variable.
2002 * bits/byteswap-16.h: Remove file.
2003 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
2004 * sysdeps/ia64/bits/byteswap.h: Likewise.
2005 * sysdeps/m68k/bits/byteswap.h: Likewise.
2006 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2007 * sysdeps/s390/bits/byteswap.h: Likewise.
2008 * sysdeps/tile/bits/byteswap.h: Likewise.
2009 * sysdeps/x86/bits/byteswap-16.h: Likewise.
2010 * sysdeps/x86/bits/byteswap.h: Likewise.
2013 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
2014 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
2015 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
2016 199901L] (__restrict): Define to restrict.
2019 * string/testcopy.c: Include <support/support.h>. Do not include
2020 <malloc.h>. Use <support/test-driver.c>.
2021 (main): Rename to do_test. Make static. Use xmalloc instead of
2025 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
2026 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
2027 (SSIZE_MAX): Define to INT_MAX.
2028 * posix/test-ssize-max.c: New file.
2029 * posix/Makefile (tests): Add test-ssize-max.
2032 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
2033 <support/support.h>. Do not include <malloc.h>.
2034 (query_auxv): Use xmalloc instead of malloc.
2037 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
2038 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
2041 2018-02-06 Florian Weimer <fweimer@redhat.com>
2044 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2045 Use scratch_buffer instead of extend_alloca.
2047 2018-02-06 Zack Weinberg <zackw@panix.com>
2049 * libio/stdio.h: Don't define getc or putc as macros.
2050 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
2051 not _IO_getc and _IO_putc.
2053 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
2054 * stdio-common/tstgetln.c: Don't redefine ssize_t.
2056 2018-02-06 Joseph Myers <joseph@codesourcery.com>
2058 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
2059 (TCP_FASTOPEN_NO_COOKIE): Likewise.
2061 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
2064 * elf/elf.h (NT_PRFPREG): New macro.
2065 (NT_S390_VXRS_LOW): Likewise.
2066 (NT_S390_VXRS_HIGH): Likewise.
2067 (NT_S390_GS_CB): Likewise.
2068 (NT_S390_GS_BC): Likewise.
2069 (NT_S390_RI_CB): Likewise.
2071 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
2072 (MAP_SYNC): New macro.
2073 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
2075 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
2076 (MAP_SYNC): Likewise.
2077 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
2078 (MAP_SYNC): Likewise.
2079 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
2080 (MAP_SYNC): Likewise.
2081 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
2082 (MAP_SYNC): Likewise.
2083 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
2084 (MAP_SYNC): Likewise.
2085 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
2086 (MAP_SYNC): Likewise.
2087 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
2089 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
2092 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
2093 (MAP_SHARED_VALIDATE): New macro.
2094 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
2095 (MAP_SHARED_VALIDATE): Likewise.
2097 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
2099 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
2100 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
2101 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2103 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
2105 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
2106 (DT_NUM): Updated to 35.
2108 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
2110 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
2111 __builtin_expect with __glibc_likely and __glibc_unlikely.
2112 (elf_machine_rela): Likewise.
2113 (elf_machine_lazy_rel): Likewise.
2115 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
2117 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
2118 __builtin_expect with __glibc_likely and __glibc_unlikely.
2119 (elf_machine_lazy_rel): Likewise.
2121 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
2124 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
2126 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
2128 2018-02-05 Andreas Schwab <schwab@suse.de>
2131 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
2134 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2136 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
2137 not check against PTHREAD_STACK_MIN.
2139 2018-02-02 Sean McKean <smckean83@gmail.com>
2142 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
2144 2018-02-02 Florian Weimer <fweimer@redhat.com>
2147 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
2148 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
2149 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
2150 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
2151 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
2152 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
2153 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
2154 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
2155 * manual/llio.texi (Scatter-Gather): Mention offset -1.
2156 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
2157 * misc/tst-preadvwritev2.c (do_test): Call it.
2158 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
2160 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
2162 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
2164 * benchtests/bench-memcmp.c: Print json instead of plain text.
2166 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
2169 2018-02-01 Joseph Myers <joseph@codesourcery.com>
2171 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2173 (s390_sthyi): New syscall.
2175 * sysdeps/generic/ldbl-classify-compat.h: New file.
2176 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
2177 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
2178 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
2179 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
2180 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
2181 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
2182 * sysdeps/ieee754/dbl-64/s_finite.c: Include
2183 <ldbl-classify-compat.h>.
2184 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
2185 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
2186 <ldbl-classify-compat.h>.
2187 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
2188 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
2189 <ldbl-classify-compat.h>.
2190 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
2191 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
2192 <ldbl-classify-compat.h>.
2193 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
2194 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
2195 <ldbl-classify-compat.h>.
2196 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
2197 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
2198 <ldbl-classify-compat.h>.
2199 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
2200 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
2201 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2202 * sysdeps/m68k/coldfire/math_private.h: Remove file.
2203 * sysdeps/microblaze/math_private.h: Likewise.
2204 * sysdeps/nios2/math_private.h: Likewise.
2205 * sysdeps/sh/math_private.h: Likewise.
2207 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
2208 * sysdeps/m68k/coldfire/math_private.h: ... here.
2209 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
2210 * sysdeps/tile/math_private.h: Likewise.
2211 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
2213 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
2216 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
2218 (libc_fetestexcept): Likewise.
2219 (libc_feupdateenv_test): Likewise.
2220 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
2221 (libc_fetestexcept): Likewise.
2222 (libc_feupdateenv_test): Likewise.
2223 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
2224 (libc_fetestexcept): Likewise.
2225 (libc_feupdateenv_test): Likewise.
2226 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
2227 (libc_fetestexcept): Likewise.
2228 (libc_feupdateenv_test): Likewise.
2230 * sysdeps/generic/math_private.h
2231 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
2232 New inline function.
2233 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
2236 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
2237 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
2238 * sysdeps/generic/math_private.h
2239 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
2241 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
2243 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
2245 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
2247 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
2249 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
2251 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
2252 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
2253 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
2254 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
2255 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
2256 (__fegetenv): Likewise.
2257 (fesetenv): Likewise.
2258 (__fesetenv): Likewise.
2259 (feupdateenv): Likewise.
2260 (__feupdateenv): Likewise.
2261 (fegetround): Likewise.
2262 (__fegetround): Likewise.
2263 (fesetround): Likewise.
2264 (__fesetround): Likewise.
2266 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
2267 (feraiseexcept): New macro.
2268 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
2269 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
2271 (__feraiseexcept): Likewise.
2272 (feclearexcept): Likewise.
2273 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
2274 (__feraiseexcept): Likewise.
2275 (feclearexcept): Likewise.
2276 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
2277 (__feraiseexcept): Likewise.
2278 (feclearexcept): Likewise.
2279 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
2280 (__feraiseexcept): Likewise.
2281 (feclearexcept): Likewise.
2282 (fetestexcept): Likewise.
2284 * sysdeps/m68k/coldfire/math-tests.h: New file.
2286 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
2287 * sysdeps/m68k/bits/fenv.h: ... here.
2288 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
2290 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
2292 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
2294 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
2296 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
2298 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
2300 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
2301 (__FE_UNDEFINED): New enum constant.
2302 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
2304 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
2306 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
2308 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
2309 to match generic bits/fenv.h.
2310 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
2313 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
2315 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
2316 * soft-fp/half.h (union _FP_UNION_H): Likewise.
2317 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
2318 * soft-fp/single.h (union _FP_UNION_S): Likewise.
2320 2018-02-01 Carlos O'Donell <carlos@redhat.com>
2321 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
2322 Joseph Myers <joseph@codesourcery.com>
2325 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
2326 (__log1p): Disable -Wmaybe-uninitialized for -Os around
2327 computation using c.
2328 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
2329 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
2330 computation using c.
2332 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
2334 * version.h (RELEASE): Set to "development".
2335 (VERSION): Set to "2.27.9000".
2336 * NEWS (2.28): New section.
2338 * version.h (RELEASE): Set to "stable".
2339 (VERSION): Set to "2.27".
2340 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
2342 * NEWS: Add the list of bugs fixed in 2.27.
2344 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2346 * stdlib/test-atexit-race-common.c (do_test): Check stack size
2347 against PTHREAD_STACK_MIN.
2349 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
2351 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
2353 (Rafal Luzynski, Andreas Schwab): Update.
2355 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
2358 * NEWS: List the languages which actually use the alternative
2359 months feature in this release. Also explain that "alt_mon" and
2360 "ab_alt_mon" are optional.
2362 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
2365 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
2367 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
2369 * manual/install.texi (Tools for Compilation): Update the newest
2370 versions of gcc, binutils, texinfo, gawk, bison, and sed.
2371 * INSTALL: Regenerated.
2373 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2375 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
2376 instead of __builtin_expect.
2378 2018-01-30 Florian Weimer <fweimer@redhat.com>
2380 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
2382 * nss/tst-nss-getpwent.c (do_test): Likewise.
2384 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
2387 * localedata/locales/hr_HR (mon): Rename to...
2389 (mon): Import from CLDR (genitive case).
2390 (d_t_fmt): Update the comment.
2392 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
2394 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
2395 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
2396 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
2398 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2400 * mach/Versions: Fix version when __mach_host_self_ was added.
2401 * hurd/Versions: Fix version when _hurd_exec_paths was added.
2402 * sysdeps/mach/hurd/i386/ld.abilist: New file.
2403 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
2404 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
2405 * sysdeps/mach/hurd/i386/libc.abilist: New file.
2406 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
2407 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
2408 * sysdeps/mach/hurd/i386/libm.abilist: New file.
2409 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
2410 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
2411 * sysdeps/mach/hurd/i386/librt.abilist: New file.
2412 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
2413 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
2414 || to respect codestyle.
2415 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
2416 (do_test_bz20181): Rename accordingly.
2417 * malloc/malloc.c: Include <assert.h>.
2418 (assert): Do not define.
2419 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
2420 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
2421 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
2422 * sysdeps/mach/hurd/hp-timing.h: New file.
2423 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
2425 2018-01-29 Darius Rad <darius@bluespec.com>
2427 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
2429 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
2431 * sysdeps/init_array/crti.S (.section .init_array): Add
2432 PREINIT_FUNCTION when defined.
2433 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
2434 * config.h.in: Regenerate.
2435 * manual/platform.texi: Add RISC-V documenation for
2436 __riscv_flush_icache.
2437 * sysdeps/riscv/__longjmp.S: New file.
2438 * sysdeps/riscv/backtrace.c: Likewise.
2439 * sysdeps/riscv/bits/endian.h: Likewise.
2440 * sysdeps/riscv/bits/setjmp.h: Likewise.
2441 * sysdeps/riscv/bits/wordsize.h: Likewise.
2442 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
2443 * sysdeps/riscv/bsd-setjmp.c: Likewise.
2444 * sysdeps/riscv/dl-trampoline.S: Likewise.
2445 * sysdeps/riscv/gccframe.h: Likewise.
2446 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
2447 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
2448 * sysdeps/riscv/machine-gmon.h: Likewise.
2449 * sysdeps/riscv/memusage.h: Likewise.
2450 * sysdeps/riscv/setjmp.S: Likewise.
2451 * sysdeps/riscv/sys/asm.h: Likewise.
2452 * sysdeps/riscv/tls-macros.h: Likewise.
2453 * sysdeps/riscv/dl-tls.h: New file.
2454 * sysdeps/riscv/libc-tls.c: Likewise.
2455 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
2456 * sysdeps/riscv/nptl/tls.h: Likewise.
2457 * sysdeps/riscv/stackinfo.h: Likewise.
2458 * sysdeps/riscv/bits/fenv.h: New file.
2459 * sysdeps/riscv/e_sqrtl.c: Likewise.
2460 * sysdeps/riscv/fpu_control.h: Likewise.
2461 * sysdeps/riscv/math-tests.h: Likewise.
2462 * sysdeps/riscv/nofpu/Implies: Likewise.
2463 * sysdeps/riscv/sfp-machine.h: Likewise.
2464 * sysdeps/riscv/tininess.h: Likewise.
2465 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
2466 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
2467 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
2468 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
2469 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
2470 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
2471 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
2472 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
2473 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
2474 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
2475 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
2476 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
2477 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
2478 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
2479 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
2480 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
2481 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
2482 * sysdeps/riscv/rvd/s_finite.c: Likewise.
2483 * sysdeps/riscv/rvd/s_fma.c: Likewise.
2484 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
2485 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
2486 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
2487 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
2488 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
2489 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
2490 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
2491 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
2492 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
2493 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
2494 * sysdeps/riscv/rvf/fegetround.c: Likewise.
2495 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
2496 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
2497 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
2498 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
2499 * sysdeps/riscv/rvf/fesetround.c: Likewise.
2500 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
2501 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
2502 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
2503 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
2504 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
2505 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
2506 * sysdeps/riscv/rvf/math_private.h: Likewise.
2507 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
2508 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
2509 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
2510 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
2511 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
2512 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
2513 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
2514 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
2515 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
2516 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
2517 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
2518 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
2519 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
2520 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
2521 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
2522 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
2523 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
2524 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
2525 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
2526 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
2527 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
2528 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
2529 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
2530 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
2531 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2532 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
2533 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
2534 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
2535 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
2536 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
2537 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
2538 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
2539 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
2540 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
2541 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
2542 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
2543 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
2544 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
2545 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
2546 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
2547 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
2548 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
2549 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
2550 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
2551 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
2552 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
2553 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
2554 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
2555 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
2556 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
2557 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
2558 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
2559 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
2560 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2561 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
2562 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
2563 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
2564 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
2565 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
2566 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
2567 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
2568 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
2569 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2570 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
2571 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
2572 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
2573 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
2574 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
2575 * sysdeps/riscv/Implies: New file.
2576 * sysdeps/riscv/Makefile: Likewise.
2577 * sysdeps/riscv/configure: Likewise.
2578 * sysdeps/riscv/configure.ac: Likewise.
2579 * sysdeps/riscv/nptl/Makefile: Likewise.
2580 * sysdeps/riscv/preconfigure: Likewise.
2581 * sysdeps/riscv/rv64/Implies-after: Likewise.
2582 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
2583 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
2584 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
2585 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
2586 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
2587 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
2588 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
2589 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
2590 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
2591 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
2592 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
2593 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
2596 2018-01-29 Florian Weimer <fweimer@redhat.com>
2599 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
2600 libnsl_hidden_proto.
2601 * include/rpcsvc/yp.h (yp_xdrall): Declare with
2602 libnsl_hidden_proto.
2603 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
2604 * nis/Makefile (libnsl-routines): Add nss-default only for
2606 * nis/nis_defaults.c (__nis_default_ttl): Add
2607 libnsl_hidden_nolink_def.
2608 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
2610 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
2611 * nis/ypclnt.c (yp_maplist): Likewise.
2613 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
2615 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2616 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
2618 2018-01-29 Joseph Myers <joseph@codesourcery.com>
2620 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
2621 clean -dxfq for git updates when replacing sources.
2623 * scripts/build-many-glibcs.py (Config.build_gcc): Use
2624 --disable-libcilkrts unconditionally, not just for the final GCC
2627 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2630 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
2633 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
2636 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
2639 * localedata/locales/be_BY (mon): Rename to...
2640 (alt_mon): This, then synchronize with CLDR (nominative case).
2641 (abmon): Rename to...
2642 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
2643 (mon): Import from CLDR (genitive case).
2645 * localedata/locales/be_BY@latin (mon): Rename to...
2647 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
2649 * localedata/locales/be_BY@latin (lang_name): Reworded to
2650 "biełaruskaja mova".
2652 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
2655 * localedata/locales/el_CY (mon): Renamed to...
2657 (mon): Import from CLDR (genitive case).
2658 * localedata/locales/el_GR: Likewise.
2660 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
2663 * localedata/locales/ru_RU (mon): Rename to...
2665 (abmon): Rename to...
2667 (mon): Import from CLDR (genitive case).
2668 (abmon): Copy from the old content except the 5th month which is
2669 now in the genitive case, even when abbreviated.
2670 * localedata/locales/ru_UA: Likewise.
2671 * time/tst-strptime.c (day_tests): Add an actual example of
2672 a difference between %b and %Ob in Russian.
2674 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2676 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
2677 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
2679 * resolv/res-close.c: Include <stdlib.h>.
2680 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
2681 <sys/wait.h>, <time.h>, <sys/uio.h>.
2682 (NOT_CANCEL_H): Add inclusion guard.
2683 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
2684 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
2685 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
2687 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
2688 vm_address_t * to ElfW(Addr) * for dl_main parameter.
2689 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
2691 * sysdeps/pthread/timer_create.c (timer_create): Do not use
2692 timer_ptr2id to cast struct timer_node * to void *.
2693 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
2694 --disable-libcilkrts to gcc configure.
2695 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
2696 and make them the default for now.
2697 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
2698 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
2699 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
2700 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
2701 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
2703 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
2704 __task_terminate would ever return successfully.
2705 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
2707 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
2708 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
2709 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
2710 critical section to make code simpler and avoid warning.
2711 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
2712 critical section to make code simpler and avoid warning.
2713 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
2714 const char * instead of char *.
2715 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
2716 __hurd_file_name_split, hurd_file_name_split,
2717 __hurd_directory_name_split, hurd_directory_name_split,
2718 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
2719 hurd_file_name_path_lookup): Make lookup function parameter take a
2720 const char *name instead of char *name.
2721 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
2722 __hurd_directory_name_split): Likewise.
2723 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2724 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
2725 * sysdeps/mach/hurd/check_native.c: New file.
2726 * sysdeps/mach/hurd/check_pf.c: New file.
2727 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
2728 (__freeifaddrs): Define macro to freeifaddrs.
2729 * sysdeps/mach/hurd/libhurduser.abilist: New file.
2730 * sysdeps/mach/libmachuser.abilist: New file.
2731 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
2732 (do_test_bz20181): Rename accordingly.
2733 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
2734 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
2736 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
2737 version only if __USE_EXTERN_INLINES is defined.
2738 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
2739 __hurd_sockfail): Likewise.
2740 (_hurd_fd_get): Always declare functions, and provide inline versions
2741 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
2742 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
2743 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
2744 _hurd_port_set): Always declare functions, and provide inline versions
2745 only if __USE_EXTERN_INLINES and _LIBC are defined and
2747 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
2748 _hurd_critical_section_unlock): Likewise.
2749 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
2750 * __hurd_threadvar_location): Likewise.
2751 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
2752 _hurd_userlink_clear): Likewise.
2753 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
2754 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
2755 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
2756 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
2757 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
2758 __spin_lock_locked): Likewise.
2759 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
2760 __spin_lock_locked): Likewise.
2761 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
2762 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
2763 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
2764 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
2765 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
2766 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
2767 _POSIX_NO_TRUNC): Define to 0.
2768 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
2769 check size against PTHREAD_STACK_MIN.
2770 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
2771 IS_IN(libpthread)]: Include <sigsetops.h>.
2772 * mach/Makefile (user-interfaces): Add mach/gnumach.
2773 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
2774 * sysdeps/mach/configure (mach_interface_list): Regenerate.
2775 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
2776 instead of invalid -1.
2777 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
2778 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
2779 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
2782 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
2784 * hurd/fcntl-internal.h: New file.
2786 2018-01-27 James Clarke <jrtc27@jrtc27.com>
2788 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2790 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2792 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
2795 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
2796 Build only shared objects.
2798 2018-01-26 Carlos O'Donell <carlos@redhat.com>
2800 * README: Update for hppa.
2802 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
2804 * sysdeps/sparc/fpu/libm-test-ulps: Update
2805 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
2807 2018-01-26 Carlos O'Donell <carlos@redhat.com>
2811 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
2814 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
2815 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
2816 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
2817 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
2820 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
2823 * bits/types/__cancel_jmp_buf_tag.h: New file.
2824 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
2825 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
2826 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
2827 * nptl/Makefile (headers): Add
2828 bits/types/__cancel_jmp_buf_tag.h.
2829 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
2830 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
2831 * sysdeps/nptl/pthread.h: Include
2832 <bits/types/__cancel_jmp_buf_tag.h>.
2833 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
2835 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
2837 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
2840 * localedata/locales/uk_UA (mon): Renamed to...
2842 (alt_digits): "0" removed and then renamed to...
2844 (date_fmt): Definition changed not to use the alternative
2847 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
2849 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
2850 FLAG_RISCV_FLOAT_ABI_DOUBLE.
2851 * elf/elf.h (EF_RISCV_RVC): New define.
2852 (EF_RISCV_FLOAT_ABI): Likewise.
2853 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
2854 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
2855 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
2856 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
2857 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
2859 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
2861 2018-01-25 Andreas Schwab <schwab@suse.de>
2863 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
2865 * sysdeps/gnu/configure: Regenerate.
2866 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
2867 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2869 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
2870 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
2871 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
2872 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
2873 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
2875 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
2877 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
2878 URL, and run autoconf, make it the default for now.
2880 2018-01-24 Joseph Myers <joseph@codesourcery.com>
2882 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2883 soft-float ColdFire configuration.
2885 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
2886 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
2887 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
2889 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
2892 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
2894 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
2896 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
2899 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
2900 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
2901 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
2904 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2907 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
2908 Rename to __reserved and add comment.
2909 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
2910 Rename to __reserved.
2912 2018-01-24 Joseph Myers <joseph@codesourcery.com>
2914 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2915 i686-gnu configurations.
2916 (Context.run_builds): Include mig, gnumach and hurd in components
2918 (Context.checkout): Add mig, gnumach and hurd to components.
2919 (Context.checkout_tar): Add URL mappings for mig, gnumach and
2921 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
2922 (Config.build): Install gnumach headers, build mig and install
2923 hurd headers for 'gnu' OS.
2924 (Config.install_gnumach_headers): New function.
2925 (Config.install_hurd_headers): Likewise.
2926 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
2927 when building for 'gnu' OS.
2929 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
2931 * manual/tunables.texi (Hardware Capability Tunables): Fix
2934 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
2936 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
2937 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
2938 (ALTMON_11, ALTMON_12): Improve documentation.
2939 * manual/time.texi (strftime): Likewise.
2941 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
2944 * localedata/locales/pl_PL: Alternative month names added,
2945 primary month names are genitive now.
2946 * time/tst-strptime.c (day_tests): Actually use a genitive case
2947 of a month name in Polish language.
2949 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
2952 * manual/locale.texi: Document ALTMON_1..12 constants for
2953 nl_langinfo. Specify when to use ALTMON instead of MON.
2954 * manual/time.texi (strftime, strptime): Document GNU extension
2955 permitting O modifier with %B and %b. Specify when to use
2958 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
2961 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
2962 names, define them as the same as abbreviated month names explicitly.
2963 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
2964 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
2965 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
2966 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
2967 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
2968 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
2969 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
2970 _NL_WABALTMON_12): New enum constants.
2971 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
2972 wab_alt_mon, and ab_alt_mon_defined members.
2973 (time_output): Output ab_alt_mon and wab_alt_mon members.
2974 (time_read): Read them, initialize them as copies of abmon and wabmon
2975 respectively if they are missing, initialize ab_alt_mon_defined.
2976 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
2977 * locale/programs/locfile-kw.h: Regenerate.
2978 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
2979 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
2981 * time/strftime_l.c (a_altmonth, aam_len): New macros.
2982 [!COMPILE_WIDE] (ABALTMON_1): New macro.
2983 (__strftime_internal): Handle %Ob and %Oh formats.
2984 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
2985 (__strptime_internal): Handle %Ob and %Oh formats.
2986 * time/tst-strptime.c (day_tests): Add more tests to parse different
2987 forms of month names including the new %Ob format specifier.
2989 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
2992 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
2993 define them as the same as primary full month names explicitly.
2994 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
2995 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
2996 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
2997 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
2998 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
2999 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
3000 _NL_WALTMON_12): New enum constants.
3001 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
3002 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
3004 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
3005 walt_mon, and alt_mon_defined members.
3006 (time_output): Output alt_mon and walt_mon members.
3007 (time_read): Read them, initialize them as copies of mon and wmon
3008 respectively if they are missing, initialize alt_mon_defined.
3009 * locale/programs/locfile-kw.gperf (alt_mon): Define.
3010 * locale/programs/locfile-kw.h: Regenerate.
3011 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
3012 * localedata/tst-langinfo.c (map): Add tests for the new constants
3013 ALTMON_1 .. ALTMON_12.
3014 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
3016 * time/strftime_l.c (f_altmonth): New macro.
3017 (__strftime_internal): Handle %OB format.
3018 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
3019 (__strptime_internal): Handle %OB format.
3020 * time/tst-strptime.c (day_tests): Add tests to parse different forms
3021 of month names including the new %OB format specifier.
3023 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3026 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
3027 from ABORT_TRANSACTION.
3028 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
3029 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
3030 ABORT_TRANSACTION_IMPL): Likewise.
3031 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
3032 Linux code, but remove the code that aborts transactions.
3034 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
3036 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
3038 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
3040 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
3041 in date: "2004-14-09" should be "2004-09-14".
3042 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
3043 "2003-15-09" should be "2003-09-15".
3045 2018-01-18 Arjun Shankar <arjun@redhat.com>
3051 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
3053 (_int_memalign): check for integer overflow before calling
3055 * malloc/tst-malloc-too-large.c: New test.
3056 * malloc/Makefile: Add tst-malloc-too-large.
3058 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
3060 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
3061 in date: "2017-24-07" should be "2017-07-24".
3062 * localedata/locales/mai_IN: Likewise.
3063 * localedata/locales/mai_NP: Likewise.
3065 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
3067 * po/ru.po: Update translations.
3069 2018-01-17 Joseph Myers <joseph@codesourcery.com>
3072 * sysdeps/hppa/backtrace.c: New file.
3074 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
3077 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
3078 align La_x86_64_retval to VEC_SIZE.
3080 2018-01-16 Joseph Myers <joseph@codesourcery.com>
3082 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
3083 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
3085 2018-01-16 Florian Weimer <fweimer@redhat.com>
3087 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
3088 Move tst-thread-exit-clobber ...
3089 [$(CXX)] (tests-unsupported): ... to here.
3091 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
3093 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
3094 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
3095 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3096 (_dl_aarch64_cap_flags): Update.
3097 (_DL_HWCAP_COUNT): Update.
3099 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
3101 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3102 (_DL_HWCAP_LAST): Remove.
3103 (_DL_HWCAP_COUNT): Move to ...
3104 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3105 (_DL_HWCAP_COUNT): ... here.
3107 2018-01-16 Florian Weimer <fweimer@redhat.com>
3109 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
3110 mode with GNU extensions.
3112 2018-01-15 Alan Hayward <alan.hayward@arm.com>
3114 * elf/elf.h (NT_ARM_SVE): Define.
3116 2018-01-15 Florian Weimer <fweimer@redhat.com>
3119 * nptl/tst-minstack-throw.cc: New file.
3120 * nptl/Makefile (tests): Add tst-minstack-throw.
3121 (LDLIBS-tst-minstack-throw): Link with libstdc++.
3122 [!CXX] (tests-unsupported): Add tst-minstack-throw.
3124 2018-01-15 Joseph Myers <joseph@codesourcery.com>
3126 * scripts/build-many-glibcs.py (Context.checkout): Default
3127 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
3130 2018-01-13 Carlos O'Donell <carlos@redhat.com>
3133 * elf/elf.h (DF_1_STUB): Define.
3136 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3139 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
3140 Do not add 0.5 to integer or out-of-range arguments.
3142 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
3144 * po/bg.po: Update translations.
3145 * po/cs.po: Likewise.
3146 * po/de.po: Likewise.
3147 * po/ko.po: Likewise.
3148 * po/pl.po: Likewise.
3149 * po/sv.po: Likewise.
3150 * po/uk.po: Likewise.
3151 * po/vi.po: Likewise.
3153 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
3155 * aarch64/start.S (_start): Use __wrap_main.
3156 (__wrap_main): New local symbol.
3158 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
3162 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
3163 generic_getcwd if the path returned by getcwd syscall is not absolute.
3164 * io/tst-getcwd-abspath.c: New test.
3165 * io/Makefile (tests): Add tst-getcwd-abspath.
3167 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
3169 * malloc/malloc.c (malloc_consolidate): Add size check.
3171 2018-01-12 Florian Weimer <fweimer@redhat.com>
3173 * support/write_message.c (write_message): Preserve errno.
3174 * support/check.c (print_failure): Likewise.
3175 * support/support_test_verify_impl.c (support_test_verify_impl):
3177 * support/support_test_compare_failure.c
3178 (support_test_compare_failure): Likewise.
3180 2018-01-12 Florian Weimer <fweimer@redhat.com>
3183 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
3184 Prevent installation of libnsl.so.
3185 (libnsl-inhibit-o): Do not build (or install) static libraries.
3187 2018-01-12 Egmont Koblinger <egmont@gmail.com>
3190 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
3191 before the day number which may produce a double space.
3192 (date_fmt): Likewise.
3194 2018-01-12 Joseph Myers <joseph@codesourcery.com>
3196 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
3197 instead of fegetenv.
3199 2018-01-11 Joseph Myers <joseph@codesourcery.com>
3202 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
3203 comment to say exceptions are discarded.
3204 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
3206 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
3209 2018-01-11 Florian Weimer <fweimer@redhat.com>
3211 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
3214 2018-01-11 Florian Weimer <fweimer@redhat.com>
3217 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
3218 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
3220 2018-01-10 Joseph Myers <joseph@codesourcery.com>
3223 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
3224 negative arguments in test for NaN or infinity argument.
3226 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
3228 * po/libc.pot: Regenerate.
3230 2018-01-10 Florian Weimer <fweimer@redhat.com>
3233 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
3234 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
3236 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3238 * hurd/hurd/fd.h: Include <fcntl.h>
3239 (__hurd_at_flags): New function.
3240 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
3241 with call to __hurd_at_flags.
3242 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
3243 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
3245 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
3246 (__access_noerrno): Use __faccessat_common instead of access_common.
3247 (__access): Likewise.
3248 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
3249 with a call to __faccessat.
3250 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
3251 (__faccessat_common): ... this. Move implementation of __access into it when
3252 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
3253 reauthenticate_cwdir_at helper to implement AT mechanism.
3254 (__faccessat_noerrno): New function, just calls __faccessat_common.
3255 (__faccessat): New function, just calls __faccessat_common.
3256 (faccessat): Define weak alias.
3258 2018-01-10 Joseph Myers <joseph@codesourcery.com>
3261 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3262 (CFLAGS-s_fmaxmagl.c): New variable.
3263 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
3266 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
3267 long int for arguments of possibly overflowing addition or
3269 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3271 2018-01-09 Joseph Myers <joseph@codesourcery.com>
3274 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3275 (CFLAGS-e_remainderl.c): New variable.
3278 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
3280 (CFLAGS-s_cacoshl.c): Likewise.
3281 (CFLAGS-s_casinhl.c): Likewise.
3282 (CFLAGS-s_catanl.c): Likewise.
3283 (CFLAGS-s_catanhl.c): Likewise.
3284 (CFLAGS-s_cexpl.c): Likewise.
3285 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
3286 (CFLAGS-s_csinhl.c): Likewise.
3287 (CFLAGS-s_clogl.c): Likewise.
3288 (CFLAGS-s_clog10l.c): Likewise.
3289 (CFLAGS-s_csinl.c): Likewise.
3290 (CFLAGS-s_csqrtl.c): Likewise.
3292 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
3293 2017-01-09 Svante Signell <svante.signell@gmail.com>
3295 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
3296 (_hurd_exec_paths): New function.
3297 * hurd/hurd.h (_hurd_exec): Deprecate function.
3298 (_hurd_exec_paths): Declare function.
3299 * hurd/Versions: Export _hurd_exec_paths.
3300 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
3301 (__execve): Use __getcwd to build absolute path, and use
3302 _hurd_exec_paths instead of _hurd_exec.
3303 * sysdeps/mach/hurd/spawni.c: Likewise.
3304 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
3307 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
3309 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
3310 test instead of failing in case of ENOENT returned by posix_openpt.
3312 2018-01-08 Florian Weimer <fweimer@redhat.com>
3314 resolv: Support binary labels in test framework.
3315 * support/resolv_test.c (struct to_be_freed): Remove.
3316 (struct compressed_name): New.
3317 (allocate_compressed_name, ascii_tolower)
3318 (compare_compressed_name): New functions.
3319 (struct resolv_response_builder): Update type of
3320 compression_offsets for use with tsearch. Rempve to_be_freed.
3321 (response_push_pointer_to_free): Remove function.
3322 (resolv_response_add_name): Rewrite using struct compressed_name
3323 and tsearch instead of hsearch_r.
3324 (response_builder_allocate): Remove initialization of
3325 compression_offsets.
3326 (response_builder_free): Update for removal of to_be_freed. Use
3327 tdestroy instead of hdestroy_r.
3328 * resolv/Makefile (tests): Add tst-resolv-binary.
3329 (tst-resolv-binary): Link with -lresolv -lpthread.
3331 2018-01-08 Florian Weimer <fweimer@redhat.com>
3333 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
3334 time. Pass positive flag instead of negative flag to
3335 support_test_compare_failure.
3336 (support_test_compare_failure): Change negative parameter to
3338 * support/support_test_compare_failure.c (report)
3339 (support_test_compare_failure): Likewise.
3340 * support/tst-test_compare.c (return_ssize_t, return_int): New.
3341 (do_test): Check int/size_t, ssize_t/size_t comparisons.
3343 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
3346 * nptl/descr.h (stackblock, stackblock_size): Update comments.
3347 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
3348 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
3350 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
3352 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
3354 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3355 Add s_sincosf-sse2 and s_sincosf-fma.
3356 (CFLAGS-s_sincosf-fma.c): New.
3357 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
3358 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3359 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
3360 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
3361 __sincosf is defined.
3363 2018-01-08 Florian Weimer <fweimer@redhat.com>
3365 * nptl/tst-thread-exit-clobber.cc: New file.
3366 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
3368 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
3369 (tests): Add tst-thread-exit-clobber.
3370 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
3372 2018-01-08 Florian Weimer <fweimer@redhat.com>
3374 * support/check.h (support_static_assert): Define.
3375 (TEST_COMPARE): Use it.
3377 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
3379 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
3380 [!__RLIM_T_MATCHES_RLIM64_T]
3381 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
3382 __getrlimit64. Add libc_hidden_weak.
3384 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
3386 * elf/elf.h (R_RISCV_NONE): New define.
3387 (R_RISCV_32): Likewise.
3388 (R_RISCV_64): Likewise.
3389 (R_RISCV_RELATIVE): Likewise.
3390 (R_RISCV_COPY): Likewise.
3391 (R_RISCV_JUMP_SLOT): Likewise.
3392 (R_RISCV_TLS_DTPMOD32): Likewise.
3393 (R_RISCV_TLS_DTPMOD64): Likewise.
3394 (R_RISCV_TLS_DTPREL32): Likewise.
3395 (R_RISCV_TLS_DTPREL64): Likewise.
3396 (R_RISCV_TLS_TPREL32): Likewise.
3397 (R_RISCV_TLS_TPREL64): Likewise.
3398 * Makerules (make-link-multidir): Make directories before linking into
3400 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
3402 (VDSO_HASH_LINUX_4_15): Likewise.
3403 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
3404 in subdirectories of lib.
3405 * nptl/Makefile (/librt.so): Always depend on
3406 "$(shared-thread-library)".
3408 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
3410 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
3411 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
3412 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
3414 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
3415 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
3417 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
3418 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
3419 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
3420 * sysdeps/gnu/glob-lstat-compat.c: New file.
3421 * sysdeps/gnu/glob64-lstat-compat.c: New file.
3422 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
3424 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3426 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
3427 Reserve 16 chars to reloc_addr before calling _itoa_word.
3429 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
3432 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
3433 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
3435 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
3436 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
3438 * resource/tst-getrlimit.c: Add copyright header.
3440 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
3441 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3443 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
3444 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
3445 Define __GI_getrlimit64 as weak alias of __getrlimit64.
3446 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
3448 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
3449 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
3450 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
3451 RLIM64_INFINITY): Fix values to match the kernel ones.
3452 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
3453 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
3454 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
3455 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
3456 getrlimit64@@GLIBC_2_27.
3457 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
3459 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
3460 getrlimit, setrlimit, getrlimit64 and setrlimit64.
3461 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
3462 setrlimit, getrlimit64 and setrlimit64.
3464 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
3467 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
3468 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
3470 2018-01-04 Joseph Myers <joseph@codesourcery.com>
3472 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
3473 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
3474 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
3476 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3480 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
3481 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
3485 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
3486 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
3487 * sysdeps/alpha/fpu/s_floor.c: Likewise.
3488 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
3490 2018-01-04 Florian Weimer <fweimer@redhat.com>
3493 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
3494 Align the stack before calling exit.
3495 * stdlib/tst-makecontext-align.c: New file.
3496 * stdlib/Makefile (tests): Add tst-makecontext-align.
3498 2018-01-04 Florian Weimer <fweimer@redhat.com>
3500 Add support for calling dlvsym from libc.so.
3501 * include/dlfcn.h (__libc_dlvsym): Declare.
3502 * elf/Makefile (tests-static-internal): Add
3503 tst-libc_dlvsym-static.
3504 (tests-internal): Add tst-libc_dlvsym.
3505 (modules-names): Add tst-libc_dlvsym-dso.
3506 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
3507 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
3508 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
3509 object tst-libc_dlvsym-dso.so needs to be built before running
3511 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
3512 * elf/Versions: Export __libc_dlvsym.
3513 * elf/dl-libc.c (struct do_dlvsym_args): New.
3514 (do_dlvsym, __libc_dlvsym): New functions.
3515 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
3516 (_dl_open_hook2): New variable.
3517 (__libc_register_dl_open_hook): Set it.
3518 * elf/tst-libc_dlvsym-dso.c: New file.
3519 * elf/tst-libc_dlvsym-static.c: Likewise.
3520 * elf/tst-libc_dlvsym.c: Likewise.
3521 * elf/tst-libc_dlvsym.h: Likewise.
3523 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3525 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
3526 include <sys/mount.h>.
3528 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
3530 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
3531 Add __NO_MATH_ERRNO__ check.
3533 2018-01-02 Joseph Myers <joseph@codesourcery.com>
3535 * sysdeps/mips/mips32/libm-test-ulps: Update.
3536 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3538 2018-01-02 Florian Weimer <fweimer@redhat.com>
3540 * misc/tst-pselect.c: Add copyright header.
3542 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
3544 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
3546 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
3548 (settrlimit): Rename into setrlimit.
3549 (__sttrlimit): Rename into __setrlimit.
3551 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
3552 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
3553 never defined in that case.
3555 2018-01-02 Joseph Myers <joseph@codesourcery.com>
3557 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3559 * sysdeps/arm/libm-test-ulps: Update.
3561 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
3562 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
3564 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3566 * NEWS: Add cosf and sincosf to list of optimized functions.
3568 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
3571 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
3572 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
3573 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
3574 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
3576 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
3579 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
3581 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
3582 making a copy of it.
3584 2018-01-01 Joseph Myers <joseph@codesourcery.com>
3586 * manual/texinfo.tex: Update to version 2017-12-26.21 with
3587 trailing whitespace removed.
3588 * scripts/config.guess: Update to version 2018-01-01.
3589 * scripts/config.sub: Update to version 2018-01-01.
3590 * scripts/move-if-change: Update from gnulib.
3592 * NEWS: Update copyright dates.
3593 * catgets/gencat.c (print_version): Likewise.
3594 * csu/version.c (banner): Likewise.
3595 * debug/catchsegv.sh: Likewise.
3596 * debug/pcprofiledump.c (print_version): Likewise.
3597 * debug/xtrace.sh (do_version): Likewise.
3598 * elf/ldconfig.c (print_version): Likewise.
3599 * elf/ldd.bash.in: Likewise.
3600 * elf/pldd.c (print_version): Likewise.
3601 * elf/sotruss.sh: Likewise.
3602 * elf/sprof.c (print_version): Likewise.
3603 * iconv/iconv_prog.c (print_version): Likewise.
3604 * iconv/iconvconfig.c (print_version): Likewise.
3605 * locale/programs/locale.c (print_version): Likewise.
3606 * locale/programs/localedef.c (print_version): Likewise.
3607 * login/programs/pt_chown.c (print_version): Likewise.
3608 * malloc/memusage.sh (do_version): Likewise.
3609 * malloc/memusagestat.c (print_version): Likewise.
3610 * malloc/mtrace.pl: Likewise.
3611 * manual/libc.texinfo: Likewise.
3612 * nptl/version.c (banner): Likewise.
3613 * nscd/nscd.c (print_version): Likewise.
3614 * nss/getent.c (print_version): Likewise.
3615 * nss/makedb.c (print_version): Likewise.
3616 * posix/getconf.c (main): Likewise.
3617 * scripts/test-installation.pl: Likewise.
3618 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3620 * All files with FSF copyright notices: Update copyright dates
3621 using scripts/update-copyrights.
3622 * locale/programs/charmap-kw.h: Regenerated.
3623 * locale/programs/locfile-kw.h: Likewise.
3625 2017-12-31 Zack Weinberg <zackw@panix.com>
3627 * libio/bits/libio-ldbl.h: Correct check for improper
3628 inclusion. Add own multiple include guard.
3630 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
3631 Dmitry V. Levin <ldv@altlinux.org>
3635 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
3636 string token expansion. Check for NULL pointer or empty string possibly
3637 returned by expand_dynamic_string_token.
3638 (decompose_rpath): Check for empty path after dynamic string
3641 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
3644 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
3646 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
3647 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
3648 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
3650 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
3651 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3652 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3653 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3654 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3655 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
3657 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
3658 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
3659 __ptrace_peeksiginfo_flags, ptrace): Move to ...
3660 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
3661 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3662 bits/ptrace-shared.h.
3663 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
3664 <bits/ptrace-shared.h>.
3665 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
3666 __ptrace_peeksiginfo_flags, ptrace): Remove.
3667 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3668 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3669 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3670 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3671 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
3673 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
3676 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
3677 end of the loop. Improve comments.
3679 2017-12-29 Zack Weinberg <zackw@panix.com>
3682 * manual/errno.texi (Checking for Errors): Explicitly say that errno
3683 might be set on success.
3685 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
3688 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
3689 is unchanged on success.
3691 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
3693 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
3695 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
3696 expand_dynamic_string_token): Likewise.
3697 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
3700 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
3703 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
3704 is set and name contains ':', and all code depending on these checks.
3706 2017-12-24 Zack Weinberg <zackw@panix.com>
3708 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
3709 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
3711 * libio/libio.h: Rename the original version of this file to
3712 libio/bits/libio.h. Error out if not included by stdio.h or the
3714 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
3715 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
3716 if not included by bits/libio.h or the stub _G_config.h.
3717 * sysdeps/unix/sysv/linux/_G_config.h: Move to
3718 sysdeps/unix/sysv/linux/bits. Error out if not included by
3719 bits/libio.h or the stub _G_config.h.
3720 * libio/stdio.h: Include bits/libio.h, not libio.h.
3721 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
3722 well as libio.h and _G_config.h.
3724 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
3725 * libio/strfile.h, stdio-common/vfscanf.c
3726 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
3727 Include stdio.h, not _G_config.h nor libio.h.
3728 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
3729 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
3731 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
3733 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
3736 * stdlib/getrandom.c (getrandom): Fix comment.
3737 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
3739 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
3742 * manual/arith.texi (strtoul): Fix a typo.
3745 * manual/arith.texi (finite): Fix the description of the return
3748 2017-12-22 Eric Blake <ebb9@byu.net>
3750 Avoid gcc warnings on cygwin
3751 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
3752 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
3753 Avoid unused variable.
3755 2017-12-22 Florian Weimer <fweimer@redhat.com>
3757 * io/Makefile (routines): Add copy_file_range.
3758 (tests): Add tst-copy_file_range.
3759 (tests-static, tests-internal): Add tst-copy_file_range-compat.
3760 * io/Versions (GLIBC_2.27): Export copy_file_range.
3761 * io/copy_file_range-compat.c: New file.
3762 * io/copy_file_range.c: Likewise.
3763 * io/tst-copy_file_range-compat.c: Likewise.
3764 * io/tst-copy_file_range.c: Likewise.
3765 * manual/llio.texi (Copying File Data): New section.
3766 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
3767 * support/Makefile (libsupport-routines): Add support-xfstat,
3769 * support/support-xfstat.c: New file.
3770 * support/xftruncate.c: Likewise.
3771 * support/xlseek.c: Likewise.
3772 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
3773 * sysdeps/unix/sysv/linux/**.abilist: Update.
3774 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
3776 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3778 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3779 disable-multi-arch variant to aarch64-linux-gnu.
3781 2017-12-20 Joseph Myers <joseph@codesourcery.com>
3783 * manual/texinfo.tex: Update to version 2017-12-18.20 with
3784 trailing whitespace removed.
3785 * scripts/config.guess: Update to version 2017-12-17.
3786 * scripts/config.sub: Update to version 2017-11-23.
3787 * scripts/install-sh: Update to version 2017-09-23.17.
3788 * scripts/move-if-change: Update to version 2017-09-13 06:45.
3790 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3792 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
3793 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
3794 * sysdeps/tile/_mcount.S (__mcount): Likewise.
3795 * sysdeps/tile/crti.S (_init, _fini): Likewise.
3796 * sysdeps/tile/crtn.S: Likewise.
3797 * sysdeps/tile/dl-start.S (_start): Likewise.
3798 * sysdeps/tile/dl-trampoline.S: Likewise.
3799 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
3800 * sysdeps/tile/start.S (_start): Likewise.
3801 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
3802 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
3803 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
3804 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
3805 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
3806 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
3807 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
3809 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
3811 * sysdeps/tile/preconfigure: Remove tilegx folder.
3812 * sysdeps/tile/tilegx/Implies: Move definitions to ...
3813 * sysdeps/tile/Implies: ... here.
3814 * sysdeps/tile/tilegx/Makefile: Move rules to ...
3815 * sysdeps/tile/Makefile: ... here.
3816 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
3817 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
3818 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
3819 * sysdeps/tile/bits/wordsize.h: ... here.
3820 * sysdeps/tile/tilegx/*: Move to ...
3821 * sysdeps/tile/*: ... here.
3822 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
3823 * sysdeps/tile/tilegx32/Implies: ... here.
3824 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
3825 * sysdeps/tile/tilegx64/Implies: ... here.
3826 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
3828 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3829 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
3830 * sysdeps/unix/sysv/linux/tile/*: ... here.
3831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
3832 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
3833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
3834 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
3836 * README: Remove tilepro-*-linux-gnu from supported architecture.
3837 * scripts/build-many-glibcs.py: Likewise.
3838 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
3839 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
3840 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
3841 elf_machine_matches_host, elf_machine_dynamic,
3842 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
3843 howto, elf_machine_rela): Likewise.
3844 * sysdeps/tile/dl-start.S (_start): Likewise.
3845 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
3846 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
3847 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
3848 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
3849 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
3850 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3852 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
3853 * sysdeps/tile/preconfigure: Likewise.
3854 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
3855 POINTER_CHK_GUARD): Likewise.
3856 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
3857 * sysdeps/tile/start.S (_start): Likewise.
3858 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
3860 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
3861 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
3863 * sysdeps/unix/sysv/linux/tile/bits/environments.h
3864 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
3865 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
3867 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
3868 * sysdeps/tile/tilepro/Implies: Remove file.
3869 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3870 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
3871 * sysdeps/tile/tilepro/memchr.c: Likewise.
3872 * sysdeps/tile/tilepro/memcpy.S: Likewise.
3873 * sysdeps/tile/tilepro/memset.c: Likewise.
3874 * sysdeps/tile/tilepro/memusage.h: Likewise.
3875 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
3876 * sysdeps/tile/tilepro/strchr.c: Likewise.
3877 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
3878 * sysdeps/tile/tilepro/strlen.c: Likewise.
3879 * sysdeps/tile/tilepro/strrchr.c: Likewise.
3880 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
3881 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
3882 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
3883 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
3884 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
3885 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3887 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
3888 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3889 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
3890 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
3891 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3892 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
3893 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
3894 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
3895 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
3896 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
3897 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
3898 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
3899 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
3900 tilepro mention in comment.
3902 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
3903 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
3904 * nptl/pthread_join_common.c: New file: common function used on
3905 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
3906 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
3907 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
3908 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3909 (cleanup): Move definition to pthread_join_common.c.
3910 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
3911 Remove superflous checks.
3912 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
3915 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
3917 * sysdeps/aarch64/libm-test-ulps: Update.
3919 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3921 * sysdeps/aarch64/memset.S (MEMSET): Define.
3923 2017-12-20 Florian Weimer <fweimer@redhat.com>
3926 nptl: Provide full implementation of pthread_self in libc.so.
3927 * nptl/Makefile (routines): Add pthread_self.
3928 (libpthread-routines): Replace pthread_self with
3929 compat-pthread_self.
3930 * nptl/forward.c (pthread_self): Remove.
3931 * nptl/nptl-init.c (pthread_functions): Do not initialize
3933 * nptl/pthread_self.c (pthread_self): Remove weak alias.
3934 * nptl/compat-pthread_self.c: New file.
3935 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
3936 Remove ptr_pthread_self.
3938 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
3940 * posix/regcomp.c: Fix spelling in comments.
3941 * posix/regex.h: Likewise.
3942 * posix/regex_internal.c: Likewise.
3943 * posix/regexec.c: Likewise.
3945 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3948 * math/Makefile [C++] (tests): Add test for iseqsig.
3949 * math/math.h [C++] (iseqsig): New implementation, which does
3950 not rely on __MATH_TG/__builtin_types_compatible_p.
3951 * math/test-math-iseqsig.cc: New file.
3952 * sysdeps/powerpc/powerpc64le/Makefile
3953 (CFLAGS-test-math-iseqsig.cc): New variable.
3955 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
3957 * elf/dl-load.c (is_trusted_path): Remove.
3958 (fillin_rpath): Remove check_trusted argument and its use,
3959 all callers changed.
3961 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
3964 * Makeconfig (link-pie-before-libc): Replace -pie with
3965 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
3966 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
3967 (tst-dlopen-aout-no-pie): New.
3968 (LDFLAGS-tst-prelink): Removed.
3969 (tst-prelink-no-pie): New.
3970 (LDFLAGS-tst-main1): Removed.
3971 (tst-main1-no-pie): New.
3972 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
3973 (tst-gmon-no-pie): New.
3975 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
3977 * manual/install.texi: Document that --enable-static-pie
3979 * INSTALL: Regenerated.
3981 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
3984 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
3987 2017-12-19 Joseph Myers <joseph@codesourcery.com>
3991 2017-12-19 Joseph Myers <joseph@codesourcery.com>
3993 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3995 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
3997 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
3998 <errno.h>. Include "eexp.tbl".
3999 (half): New constant.
4001 (__ieee754_exp): Rewrite.
4002 (__slowexp): Remove prototype.
4003 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
4004 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
4005 * sysdeps/i386/fpu/slowexp.c: Likewise.
4006 * sysdeps/ia64/fpu/slowexp.c: Likewise.
4007 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
4008 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
4009 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
4010 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4011 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
4012 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
4014 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
4015 (CPPFLAGS-slowexp.c): Remove variable.
4016 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4017 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
4018 (CFLAGS-slowexp-fma.c): Remove variable.
4019 (CFLAGS-slowexp-fma4.c): Likewise.
4020 (CFLAGS-slowexp-avx.c): Likewise.
4021 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
4023 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
4024 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
4025 * math/Makefile (type-double-routines): Remove slowexp.
4026 * manual/probes.texi (slowexp_p6): Remove.
4027 (slowexp_p32): Likewise.
4029 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4031 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
4034 * lib/glob.c (glob): Do not pass NULL to mempcpy.
4036 2017-12-19 Joseph Myers <joseph@codesourcery.com>
4038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4040 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
4042 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
4043 <errno.h>. Include "eexp.tbl".
4044 (half): New constant.
4046 (__ieee754_exp): Rewrite.
4047 (__slowexp): Remove prototype.
4048 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
4049 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
4050 * sysdeps/i386/fpu/slowexp.c: Likewise.
4051 * sysdeps/ia64/fpu/slowexp.c: Likewise.
4052 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
4053 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
4054 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
4055 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4056 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
4057 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
4059 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
4060 (CPPFLAGS-slowexp.c): Remove variable.
4061 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4062 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
4063 (CFLAGS-slowexp-fma.c): Remove variable.
4064 (CFLAGS-slowexp-fma4.c): Likewise.
4065 (CFLAGS-slowexp-avx.c): Likewise.
4066 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
4068 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
4069 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
4070 * math/Makefile (type-double-routines): Remove slowexp.
4071 * manual/probes.texi (slowexp_p6): Remove.
4072 (slowexp_p32): Likewise.
4074 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4075 James Clarke <jrtc27@jrtc27.com>
4078 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
4081 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4084 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
4087 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
4090 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
4091 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
4092 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
4093 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
4096 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
4099 * bits/types/__cancel_jmp_buf_tag.h: New file.
4100 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
4101 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
4102 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
4103 * nptl/Makefile (headers): Add
4104 bits/types/__cancel_jmp_buf_tag.h.
4105 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
4106 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
4107 * sysdeps/nptl/pthread.h: Include
4108 <bits/types/__cancel_jmp_buf_tag.h>.
4109 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
4111 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
4113 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
4115 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4116 --enable-static-pie variants to x86_64, x32 and i686.
4118 2017-12-19 Joseph Myers <joseph@codesourcery.com>
4121 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
4122 argument for attrubutes. All callers changed.
4123 (__inline_mathop1): Likewise. All callers changed.
4124 (__inline_mathop): Likewise. All callers changed.
4125 [__USE_MISC] (scalbn): Use __inline_forward instead of
4127 [__USE_ISOC99] (scalbln): Likewise.
4128 [__USE_ISOC99] (nearbyint): Likewise.
4129 [__USE_ISOC99] (lrint): Likewise.
4130 [__USE_MISC] (scalbnf): Likewise.
4131 [__USE_ISOC99] (scalblnf): Likewise.
4132 [__USE_ISOC99] (nearbyintf): Likewise.
4133 [__USE_ISOC99] (lrintf): Likewise.
4134 [__USE_MISC] (scalbnl): Likewise.
4135 [__USE_ISOC99] (scalblnl): Likewise.
4136 [__USE_ISOC99] (nearbyintl): Likewise.
4137 [__USE_ISOC99] (lrintl): Likewise.
4138 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
4139 __inline_mathop and __m81_defun changed.
4141 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
4142 CPU or FPU for ARM hard-float configurations.
4144 2017-12-18 Joseph Myers <joseph@codesourcery.com>
4146 * nptl/tst-attr3.c: Include <libc-diag.h>.
4147 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
4149 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
4151 * string/tester.c (test_strncat): Also disable -Warray-bounds
4152 warnings for two tests.
4154 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
4157 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
4158 $(cc-pie-default) == yes.
4159 * config.make.in (cc-pie-default): New.
4160 * configure.ac (libc_cv_pie_default): Renamed to ...
4161 (libc_cv_cc_pie_default): This.
4162 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
4163 * configure: Regenerated.
4165 2017-12-18 Florian Weimer <fweimer@redhat.com>
4168 ld.so: Harden dl-libc/libdl hooks.
4169 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
4170 (rtld_active): New function.
4171 * dlfcn/dladdr.c (__dladdr): Call it.
4172 * dlfcn/dladdr1.c (__dladdr1): Likewise.
4173 * dlfcn/dlclose.c (__dlcose): Likewise.
4174 * dlfcn/dlerror.c (__dlerror): Likewise.
4175 * dlfcn/dlinfo.c (__dlinfo): Likewise.
4176 * dlfcn/dlmopen.c (__dlmopen): Likewise.
4177 * dlfcn/dlopen.c (__dlopen): Likewise.
4178 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4179 * dlfcn/dlsym.c (__dlsym): Likewise.
4180 * dlfcn/dlvsym.c (__dlvsym): Likewise.
4181 * libio/vtables.c (_IO_vtable_check): Likewise.
4182 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
4183 (__libc_dlclose): Likewise.
4184 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
4187 2017-12-18 Joseph Myers <joseph@codesourcery.com>
4190 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
4191 buffers for readlink input and output.
4193 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
4196 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
4197 inhibit_stack_protector.
4200 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
4201 inhibit_stack_protector.
4203 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
4206 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
4207 code and invocation.
4209 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
4211 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
4213 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
4216 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
4218 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4220 * sysdeps/s390/fpu/libm-test-ulps: Update.
4222 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4226 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4228 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
4229 constants to s_sincosf.h file.
4230 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4231 * sysdeps/ieee754/flt-32/s_sincosf.c: New
4233 * sysdeps/ieee754/flt-32/s_sincosf.h:
4236 2017-12-12 Carlos O'Donell <carlos@redhat.com>
4239 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
4242 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
4245 * INSTALL: Regenerated.
4246 * Makeconfig (real-static-start-installed-name): New.
4247 (pic-default): Updated for --enable-static-pie.
4248 (pie-default): New for --enable-static-pie.
4249 (default-pie-ldflag): Likewise.
4250 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
4251 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
4252 Replace $(static-start-installed-name) with
4253 $(real-static-start-installed-name).
4254 (+prectorT): Updated for --enable-static-pie.
4255 (+postctorT): Likewise.
4256 (CFLAGS-.o): Add $(pie-default).
4257 (CFLAGS-.op): Likewise.
4258 * NEWS: Mention --enable-static-pie.
4259 * config.h.in (ENABLE_STATIC_PIE): New.
4260 * configure.ac (--enable-static-pie): New configure option.
4261 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
4262 (have-static-pie): Likewise.
4263 Enable static PIE if linker supports --no-dynamic-linker.
4264 (ENABLE_STATIC_PIE): New AC_DEFINE.
4265 (enable-static-pie): New LIBC_CONFIG_VAR.
4266 * configure: Regenerated.
4267 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
4268 gr$(start-installed-name) for --enable-static-pie.
4269 (extra-objs): Likewise.
4270 (install-lib): Likewise.
4271 (extra-objs): Add static-reloc.o and static-reloc.os
4272 ($(objpfx)$(start-installed-name)): Also depend on
4273 $(objpfx)static-reloc.o.
4274 ($(objpfx)r$(start-installed-name)): New.
4275 ($(objpfx)g$(start-installed-name)): Also depend on
4276 $(objpfx)static-reloc.os.
4277 ($(objpfx)gr$(start-installed-name)): New.
4278 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
4280 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
4282 * csu/static-reloc.c: New file.
4283 * elf/Makefile (routines): Add dl-reloc-static-pie.
4284 (elide-routines.os): Likewise.
4285 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
4286 (tst-tls1-static-non-pie-no-pie): New.
4287 * elf/dl-reloc-static-pie.c: New file.
4288 * elf/dl-support.c (_dl_get_dl_main_map): New function.
4289 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
4290 STATIC_PIE_BOOTSTRAP.
4291 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
4292 * gmon/Makefile (tests): Add tst-gmon-static-pie.
4293 (tests-static): Likewise.
4294 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
4295 (tst-gmon-static-no-pie): New.
4296 (CFLAGS-tst-gmon-static-pie.c): Likewise.
4297 (CRT-tst-gmon-static-pie): Likewise.
4298 (tst-gmon-static-pie-ENV): Likewise.
4299 (tests-special): Likewise.
4300 ($(objpfx)tst-gmon-static-pie.out): Likewise.
4301 (clean-tst-gmon-static-pie-data): Likewise.
4302 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
4303 * gmon/tst-gmon-static-pie.c: New file.
4304 * manual/install.texi: Document --enable-static-pie.
4305 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
4306 (_dl_get_dl_main_map): Likewise.
4307 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
4308 * sysdeps/x86_64/configure.ac: Likewise.
4309 * sysdeps/i386/configure: Regenerated.
4310 * sysdeps/x86_64/configure: Likewise.
4311 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
4312 (ASFLAGS-.op): Likewise.
4314 2017-12-15 Joseph Myers <joseph@codesourcery.com>
4316 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
4317 * posix/tst-mmap-offset.c (fname): Use /tmp.
4318 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
4320 2017-12-15 Steve Ellcey <sellcey@cavium.com>
4322 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
4324 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
4326 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
4329 2017-12-15 Joseph Myers <joseph@codesourcery.com>
4331 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
4332 --with-float=hard for arm-linux-gnueabihf configurations.
4335 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
4336 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
4337 ($(mo-installed)): Use $(objpfx)%.mo.
4338 (realclean): Remove rule.
4340 * po/Makefile (linguas): Remove rule and dependencies.
4341 (linguas.mo): Likewise.
4342 (.PHONY): Do not depend on linguas and linguas.mo.
4343 (podir): Remove variable.
4344 (pofiles): Likewise.
4345 [$(pofiles)] (%.po): Remove rule.
4347 * sysdeps/sparc/sparc32/Makefile
4348 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
4349 start-of-line whitespace in argument of echo.
4350 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
4351 with whitespace. Generate __wrap_.udiv alias.
4352 * sysdeps/sparc/sparc32/rem.S: Regenerated.
4353 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4354 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4355 * sysdeps/sparc/sparc32/urem.S: Likewise.
4357 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4359 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
4362 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
4364 * benchtests/bench-strcmp.c: Print output in JSON format.
4366 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
4368 2017-12-14 Florian Weimer <fweimer@redhat.com>
4372 * elf/dl-load.c (_dl_init_paths): Compute number of components in
4373 the expanded path string.
4375 2017-12-14 Florian Weimer <fweimer@redhat.com>
4379 * elf/dl-load.c (system_dirs): Update comment.
4380 (nsystem_dirs_len): Use array_length.
4381 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
4383 2017-12-14 Florian Weimer <fweimer@redhat.com>
4385 Simplify compiling most of support/ outside of glibc.
4386 * support/check_addrinfo.c: Include <string.h>.
4387 * support/check_dns_packet.c: Likewise.
4388 * support/check_hostent.c: Likewise.
4389 * support/support_can_chroot.c: Include <support/xunistd.h>.
4390 * support/support_format_addrinfo.c: Include <stdlib.h>
4391 * support/support_format_dns_packet.c: Include <stdbool.h>.
4392 * support/support_format_hostent.c: Include <stdlib.h>.
4393 * support/support_format_netent.c: Likewise.
4394 * support/support_write_string.c: Include <support/xunistd.h>.
4395 * support/xdlfcn.c: Include <stddef.h>.
4397 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
4399 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
4401 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
4402 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4404 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
4405 (sysdeps_routines): Add memset-niagara7.
4406 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
4408 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
4410 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
4411 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
4412 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
4413 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
4414 Add niagara7 option.
4415 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
4418 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
4419 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
4420 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
4422 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
4424 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
4425 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
4426 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
4427 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
4428 and __memmove_niagara7.
4429 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
4430 Add niagara7 option.
4431 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
4432 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
4433 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
4434 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
4435 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
4437 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
4439 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
4440 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
4441 * sysdeps/sparc/sparc64/memmove.S: Likewise.
4442 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
4444 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
4445 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
4446 _dl_sparc_cap_flags array.
4447 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
4449 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
4451 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
4452 time whenever possible.
4454 2017-12-12 Carlos O'Donell <carlos@redhat.com>
4456 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
4457 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
4459 2017-12-12 Joseph Myers <joseph@codesourcery.com>
4461 * soft-fp/fmadf4.c: Move to ....
4462 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
4463 * soft-fp/fmasf4.c: Move to ....
4464 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
4465 * soft-fp/fmatf4.c: Move to ....
4466 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
4467 * sysdeps/ieee754/soft-fp/Makefile: New file.
4468 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
4469 * sysdeps/arm/preconfigure: Regenerated.
4470 * sysdeps/arm/nofpu/Implies: New file.
4471 * sysdeps/arm/s_fma.c: Remove file.
4472 * sysdeps/arm/s_fmaf.c: Likewise.
4473 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
4474 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
4475 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
4476 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
4477 * sysdeps/microblaze/s_fma.c: Remove file.
4478 * sysdeps/microblaze/s_fmaf.c: Likewise.
4479 * sysdeps/mips/mips32/nofpu/Implies: New file.
4480 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
4481 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
4482 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
4483 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
4484 * sysdeps/mips/ieee754/s_fma.c: Remove file.
4485 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
4486 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
4488 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
4489 * sysdeps/nios2/s_fma.c: Remove file.
4490 * sysdeps/nios2/s_fmaf.c: Likewise.
4491 * sysdeps/sh/nofpu/Implies: New file.
4492 * sysdeps/sh/s_fma.c: Remove file.
4493 * sysdeps/sh/s_fmaf.c: Likewise.
4494 * sysdeps/tile/Implies: Add ieee754/soft-fp.
4495 * sysdeps/tile/s_fma.c: Remove file.
4496 * sysdeps/tile/s_fmaf.c: Likewise.
4498 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
4500 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4501 Add s_cosf-sse2 and s_cosf-fma.
4502 (CFLAGS-s_cosf-fma.c): New.
4503 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
4504 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
4505 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
4507 2017-12-12 Steve Ellcey <sellcey@cavium.com>
4509 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
4511 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4513 * libio/Makefile (tests): Add tst-bz22415.
4514 (tst-bz22415-ENV): New rule.
4515 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
4516 (tests-special): Add tst-bz22415-mem.out.
4517 ($(objpfx)tst-bz22415-mem.out): New rule.
4518 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
4519 in case of a successful seek operation.
4520 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4521 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
4523 * libio/tst-bz22415.c: New test.
4525 * sysdeps/ia64/fpu/libm-test-ulps: Update.
4527 2017-12-12 James Clarke <jrtc27@jrtc27.com>
4529 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
4530 __IPC_64 to 0 to avoid IPC_64 being set.
4532 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
4535 * math/bits/mathcalls.h (nextafter): Remove const.
4536 (nexttoward): Likewise.
4538 2017-12-12 Joseph Myers <joseph@codesourcery.com>
4540 * configure.ac (--with-fp): Remove configure option.
4541 (with_fp_cond): New variable.
4542 (libc_cv_with_fp): New configure test. Use this variable instead
4544 * configure: Regenerated.
4545 * config.make.in (with-fp): Use @libc_cv_with_fp@.
4546 * manual/install.texi (Configuring and compiling): Remove
4548 * INSTALL: Regenerated.
4549 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
4550 * sysdeps/mips/preconfigure (with_fp_cond): Define.
4551 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
4552 * sysdeps/sh/preconfigure (with_fp_cond): Define.
4553 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
4554 use --without-fp to configure glibc.
4556 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
4558 * manual/locale.texi (nl_langinfo): Fix a typo.
4560 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
4563 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
4565 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
4567 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
4568 (CFLAGS-argp-parse.c): Likewise.
4569 (CFLAGS-argp-fmtstream.c): Likewise.
4570 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
4571 (CPPFLAGS-sha512-crypt.c): Likewise.
4572 (CPPFLAGS-md5-crypt.c): Likewise.
4573 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
4574 (CFLAGS-stack_chk_fail_local.c): Likewise.
4575 (CFLAGS-backtrace.c): Likewise.
4576 (CFLAGS-sprintf_chk.c): Likewise.
4577 (CFLAGS-snprintf_chk.c): Likewise.
4578 (CFLAGS-vsprintf_chk.c): Likewise.
4579 (CFLAGS-vsnprintf_chk.c): Likewise.
4580 (CFLAGS-asprintf_chk.c): Likewise.
4581 (CFLAGS-vasprintf_chk.c): Likewise.
4582 (CFLAGS-obprintf_chk.c): Likewise.
4583 (CFLAGS-dprintf_chk.c): Likewise.
4584 (CFLAGS-vdprintf_chk.c): Likewise.
4585 (CFLAGS-printf_chk.c): Likewise.
4586 (CFLAGS-fprintf_chk.c): Likewise.
4587 (CFLAGS-vprintf_chk.c): Likewise.
4588 (CFLAGS-vfprintf_chk.c): Likewise.
4589 (CFLAGS-gets_chk.c): Likewise.
4590 (CFLAGS-fgets_chk.c): Likewise.
4591 (CFLAGS-fgets_u_chk.c): Likewise.
4592 (CFLAGS-fread_chk.c): Likewise.
4593 (CFLAGS-fread_u_chk.c): Likewise.
4594 (CFLAGS-swprintf_chk.c): Likewise.
4595 (CFLAGS-vswprintf_chk.c): Likewise.
4596 (CFLAGS-wprintf_chk.c): Likewise.
4597 (CFLAGS-fwprintf_chk.c): Likewise.
4598 (CFLAGS-vwprintf_chk.c): Likewise.
4599 (CFLAGS-vfwprintf_chk.c): Likewise.
4600 (CFLAGS-fgetws_chk.c): Likewise.
4601 (CFLAGS-fgetws_u_chk.c): Likewise.
4602 (CFLAGS-read_chk.c): Likewise.
4603 (CFLAGS-pread_chk.c): Likewise.
4604 (CFLAGS-pread64_chk.c): Likewise.
4605 (CFLAGS-recv_chk.c): Likewise.
4606 (CFLAGS-recvfrom_chk.c): Likewise.
4607 (CFLAGS-tst-longjmp_chk.c): Likewise.
4608 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
4609 (CFLAGS-tst-longjmp_chk2.c): Likewise.
4610 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
4611 (CFLAGS-tst-longjmp_chk3.c): Likewise.
4612 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4613 (CFLAGS-tst-chk1.c): Likewise.
4614 (CFLAGS-tst-chk2.c): Likewise.
4615 (CFLAGS-tst-chk3.c): Likewise.
4616 (CFLAGS-tst-chk4.cc): Likewise.
4617 (CFLAGS-tst-chk5.cc): Likewise.
4618 (CFLAGS-tst-chk6.cc): Likewise.
4619 (CFLAGS-tst-lfschk1.c): Likewise.
4620 (CFLAGS-tst-lfschk2.c): Likewise.
4621 (CFLAGS-tst-lfschk3.c): Likewise.
4622 (CFLAGS-tst-lfschk4.cc): Likewise.
4623 (CFLAGS-tst-lfschk5.cc): Likewise.
4624 (CFLAGS-tst-lfschk6.cc): Likewise.
4625 (CFLAGS-tst-ssp-1.c): Likewise.
4626 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
4627 (CFLAGS-scandir64.c): Likewise.
4628 (CFLAGS-scandir-tail.c): Likewise.
4629 (CFLAGS-scandir64-tail.c): Likewise.
4630 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
4631 (CFLAGS-dl-tunables.c): Likewise.
4632 (CFLAGS-dl-runtime.c): Likewise.
4633 (CFLAGS-dl-lookup.c): Likewise.
4634 (CFLAGS-dl-iterate-phdr.c): Likewise.
4635 (CFLAGS-vismain.c): Likewise.
4636 (CFLAGS-tst-linkall-static.c): Likewise.
4637 (CFLAGS-tst-linkall-static.c): Likewise.
4638 (CPPFLAGS-dl-load.c): Likewise.
4639 (CFLAGS-ldconfig.c): Likewise.
4640 (CFLAGS-dl-cache.c): Likewise.
4641 (CFLAGS-cache.c): Likewise.
4642 (CFLAGS-rtld.c): Likewise.
4643 (CFLAGS-multiload.c): Likewise.
4644 (CFLAGS-filtmod1.c): Likewise.
4645 (CFLAGS-tst-align.c): Likewise.
4646 (CFLAGS-tst-align2.c): Likewise.
4647 (CFLAGS-tst-alignmod.c): Likewise.
4648 (CFLAGS-tst-alignmod2.c): Likewise.
4649 (CPPFLAGS-tst-execstack.c): Likewise.
4650 (CFLAGS-tst-ptrguard1-static.c): Likewise.
4651 (CFLAGS-tst-latepthreadmod.c): Likewise.
4652 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
4653 (CFLAGS-getgrnam_r.c): Likewise.
4654 (CFLAGS-getgrent_r.c): Likewise.
4655 (CFLAGS-getgrent.c): Likewise.
4656 (CFLAGS-fgetgrent.c): Likewise.
4657 (CFLAGS-fgetgrent_r.c): Likewise.
4658 (CFLAGS-putgrent.c): Likewise.
4659 (CFLAGS-initgroups.c): Likewise.
4660 (CFLAGS-getgrgid.c): Likewise.
4661 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
4662 (CFLAGS-getsgent.c): Likewise.
4663 (CFLAGS-fgetsgent.c): Likewise.
4664 (CFLAGS-fgetsgent_r.c): Likewise.
4665 (CFLAGS-putsgent.c): Likewise.
4666 (CFLAGS-getsgnam.c): Likewise.
4667 (CFLAGS-getsgnam_r.c): Likewise.
4668 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
4669 (CFLAGS-iconv_charmap.c): Likewise.
4670 (CFLAGS-dummy-repertoire.c): Likewise.
4671 (CFLAGS-charmap.c): Likewise.
4672 (CFLAGS-linereader.c): Likewise.
4673 (CFLAGS-simple-hash.c): Likewise.
4674 (CFLAGS-gconv_conf.c): Likewise.
4675 (CFLAGS-iconvconfig.c): Likewise.
4676 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4677 (CFLAGS-gethstbyad.c): Likewise.
4678 (CFLAGS-gethstbynm_r.c): Likewise.
4679 (CFLAGS-gethstbynm.c): Likewise.
4680 (CFLAGS-gethstbynm2_r.c): Likewise.
4681 (CFLAGS-gethstbynm2.c): Likewise.
4682 (CFLAGS-gethstent_r.c): Likewise.
4683 (CFLAGS-gethstent.c): Likewise.
4684 (CFLAGS-rcmd.c): Likewise.
4685 (CFLAGS-getnetbynm_r.c): Likewise.
4686 (CFLAGS-getnetbynm.c): Likewise.
4687 (CFLAGS-getnetbyad_r.c): Likewise.
4688 (CFLAGS-getnetbyad.c): Likewise.
4689 (CFLAGS-getnetent_r.c): Likewise.
4690 (CFLAGS-getnetent.c): Likewise.
4691 (CFLAGS-getaliasent_r.c): Likewise.
4692 (CFLAGS-getaliasent.c): Likewise.
4693 (CFLAGS-getrpcent_r.c): Likewise.
4694 (CFLAGS-getrpcent.c): Likewise.
4695 (CFLAGS-getservent_r.c): Likewise.
4696 (CFLAGS-getservent.c): Likewise.
4697 (CFLAGS-getprtent_r.c): Likewise.
4698 (CFLAGS-getprtent.c): Likewise.
4699 (CFLAGS-either_ntoh.c): Likewise.
4700 (CFLAGS-either_hton.c): Likewise.
4701 (CFLAGS-getnetgrent.c): Likewise.
4702 (CFLAGS-getnetgrent_r.c): Likewise.
4703 (CFLAGS-tst-checks-posix.c): Likewise.
4704 (CFLAGS-tst-sockaddr.c): Likewise.
4705 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
4706 (CFLAGS-tst-translit.c): Likewise.
4707 (CFLAGS-tst-gettext2.c): Likewise.
4708 (CFLAGS-tst-codeset.c): Likewise.
4709 (CFLAGS-tst-gettext3.c): Likewise.
4710 (CFLAGS-tst-gettext4.c): Likewise.
4711 (CFLAGS-tst-gettext5.c): Likewise.
4712 (CFLAGS-tst-gettext6.c): Likewise.
4713 * io/Makefile (CFLAGS-open.c): Likewise.
4714 (CFLAGS-open64.c): Likewise.
4715 (CFLAGS-creat.c): Likewise.
4716 (CFLAGS-creat64.c): Likewise.
4717 (CFLAGS-fcntl.c): Likewise.
4718 (CFLAGS-poll.c): Likewise.
4719 (CFLAGS-ppoll.c): Likewise.
4720 (CFLAGS-lockf.c): Likewise.
4721 (CFLAGS-statfs.c): Likewise.
4722 (CFLAGS-fstatfs.c): Likewise.
4723 (CFLAGS-statvfs.c): Likewise.
4724 (CFLAGS-fstatvfs.c): Likewise.
4725 (CFLAGS-fts.c): Likewise.
4726 (CFLAGS-fts64.c): Likewise.
4727 (CFLAGS-ftw.c): Likewise.
4728 (CFLAGS-ftw64.c): Likewise.
4729 (CFLAGS-lockf.c): Likewise.
4730 (CFLAGS-posix_fallocate.c): Likewise.
4731 (CFLAGS-posix_fallocate64.c): Likewise.
4732 (CFLAGS-fallocate.c): Likewise.
4733 (CFLAGS-fallocate64.c): Likewise.
4734 (CFLAGS-read.c): Likewise.
4735 (CFLAGS-write.c): Likewise.
4736 (CFLAGS-test-stat.c): Likewise.
4737 (CFLAGS-test-lfs.c): Likewise.
4738 * libio/Makefile (CFLAGS-fileops.c): Likewise.
4739 (CFLAGS-fputc.c): Likewise.
4740 (CFLAGS-fputwc.c): Likewise.
4741 (CFLAGS-freopen64.c): Likewise.
4742 (CFLAGS-freopen.c): Likewise.
4743 (CFLAGS-fseek.c): Likewise.
4744 (CFLAGS-fseeko64.c): Likewise.
4745 (CFLAGS-fseeko.c): Likewise.
4746 (CFLAGS-ftello64.c): Likewise.
4747 (CFLAGS-ftello.c): Likewise.
4748 (CFLAGS-fwide.c): Likewise.
4749 (CFLAGS-genops.c): Likewise.
4750 (CFLAGS-getc.c): Likewise.
4751 (CFLAGS-getchar.c): Likewise.
4752 (CFLAGS-getwc.c): Likewise.
4753 (CFLAGS-getwchar.c): Likewise.
4754 (CFLAGS-iofclose.c): Likewise.
4755 (CFLAGS-iofflush.c): Likewise.
4756 (CFLAGS-iofgetpos64.c): Likewise.
4757 (CFLAGS-iofgetpos.c): Likewise.
4758 (CFLAGS-iofgets.c): Likewise.
4759 (CFLAGS-iofgetws.c): Likewise.
4760 (CFLAGS-iofputs.c): Likewise.
4761 (CFLAGS-iofputws.c): Likewise.
4762 (CFLAGS-iofread.c): Likewise.
4763 (CFLAGS-iofsetpos64.c): Likewise.
4764 (CFLAGS-iofsetpos.c): Likewise.
4765 (CFLAGS-ioftell.c): Likewise.
4766 (CFLAGS-iofwrite.c): Likewise.
4767 (CFLAGS-iogetdelim.c): Likewise.
4768 (CFLAGS-iogetline.c): Likewise.
4769 (CFLAGS-iogets.c): Likewise.
4770 (CFLAGS-iogetwline.c): Likewise.
4771 (CFLAGS-ioputs.c): Likewise.
4772 (CFLAGS-ioseekoff.c): Likewise.
4773 (CFLAGS-ioseekpos.c): Likewise.
4774 (CFLAGS-iosetbuffer.c): Likewise.
4775 (CFLAGS-iosetvbuf.c): Likewise.
4776 (CFLAGS-ioungetc.c): Likewise.
4777 (CFLAGS-ioungetwc.c): Likewise.
4778 (CFLAGS-oldfileops.c): Likewise.
4779 (CFLAGS-oldiofclose.c): Likewise.
4780 (CFLAGS-oldiofgetpos64.c): Likewise.
4781 (CFLAGS-oldiofgetpos.c): Likewise.
4782 (CFLAGS-oldiofsetpos64.c): Likewise.
4783 (CFLAGS-oldiofsetpos.c): Likewise.
4784 (CFLAGS-peekc.c): Likewise.
4785 (CFLAGS-putc.c): Likewise.
4786 (CFLAGS-putchar.c): Likewise.
4787 (CFLAGS-putwc.c): Likewise.
4788 (CFLAGS-putwchar.c): Likewise.
4789 (CFLAGS-rewind.c): Likewise.
4790 (CFLAGS-wfileops.c): Likewise.
4791 (CFLAGS-wgenops.c): Likewise.
4792 (CFLAGS-oldiofopen.c): Likewise.
4793 (CFLAGS-iofopen.c): Likewise.
4794 (CFLAGS-iofopen64.c): Likewise.
4795 (CFLAGS-oldtmpfile.c): Likewise.
4796 (CFLAGS-tst_putwc.c): Likewise.
4797 * locale/Makefile (CFLAGS-md5.c): Likewise.
4798 (CFLAGS-charmap.c): Likewise.
4799 (CFLAGS-locfile.c): Likewise.
4800 (CFLAGS-charmap-dir.c): Likewise.
4801 * login/Makefile (CFLAGS-grantpt.c): Likewise.
4802 (CFLAGS-getpt.c): Likewise.
4803 (CFLAGS-pt_chown.c): Likewise.
4804 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
4805 (CFLAGS-obstack.c): Likewise.
4806 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
4807 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
4808 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
4809 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
4810 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
4811 (CFLAGS-test-tgmath.c): Likewise.
4812 (CFLAGS-test-tgmath2.c): Likewise.
4813 (CFLAGS-test-tgmath-ret.c): Likewise.
4814 (CFLAGS-test-powl.c): Likewise.
4815 (CFLAGS-test-snan.c): Likewise.
4816 (CFLAGS-test-signgam-finite.c): Likewise.
4817 (CFLAGS-test-signgam-finite-c99.c): Likewise.
4818 (CFLAGS-test-signgam-finite-c11.c): Likewise.
4819 (CFLAGS-test-signgam-uchar.c): Likewise.
4820 (CFLAGS-test-signgam-uchar-init.c): Likewise.
4821 (CFLAGS-test-signgam-uchar-static.c): Likewise.
4822 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
4823 (CFLAGS-test-signgam-uint.c): Likewise.
4824 (CFLAGS-test-signgam-uint-init.c): Likewise.
4825 (CFLAGS-test-signgam-uint-static.c): Likewise.
4826 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
4827 (CFLAGS-test-signgam-ullong.c): Likewise.
4828 (CFLAGS-test-signgam-ullong-init.c): Likewise.
4829 (CFLAGS-test-signgam-ullong-static.c): Likewise.
4830 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
4831 (CFLAGS-test-math-cxx11.cc): Likewise.
4832 (CFLAGS-test-math-isinff.cc): Likewise.
4833 (CFLAGS-test-math-iszero.cc): Likewise.
4834 (CFLAGS-test-math-issignaling.cc): Likewise.
4835 (CFLAGS-test-math-iscanonical.cc): Likewise.
4836 (CFLAGS-test-iszero-excess-precision.c): Likewise.
4837 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
4838 (CFLAGS-test-flt-eval-method.c): Likewise.
4839 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
4840 (CFLAGS-test-finite-macros.c): Likewise.
4841 * misc/Makefile (CFLAGS-select.c): Likewise.
4842 (CFLAGS-tsearch.c): Likewise.
4843 (CFLAGS-lsearch.c): Likewise.
4844 (CFLAGS-pselect.c): Likewise.
4845 (CFLAGS-readv.c): Likewise.
4846 (CFLAGS-writev.c): Likewise.
4847 (CFLAGS-preadv.c): Likewise.
4848 (CFLAGS-preadv64.c): Likewise.
4849 (CFLAGS-pwritev.c): Likewise.
4850 (CFLAGS-pwritev64.c): Likewise.
4851 (CFLAGS-preadv2.c): Likewise.
4852 (CFLAGS-preadv64v2.c): Likewise.
4853 (CFLAGS-pwritev2.c): Likewise.
4854 (CFLAGS-pwritev64v2.c): Likewise.
4855 (CFLAGS-usleep.c): Likewise.
4856 (CFLAGS-syslog.c): Likewise.
4857 (CFLAGS-error.c): Likewise.
4858 (CFLAGS-getpass.c): Likewise.
4859 (CFLAGS-mkstemp.c): Likewise.
4860 (CFLAGS-mkstemp64.c): Likewise.
4861 (CFLAGS-getsysstats.c): Likewise.
4862 (CFLAGS-getusershell.c): Likewise.
4863 (CFLAGS-err.c): Likewise.
4864 (CFLAGS-tst-tsearch.c): Likewise.
4865 (CFLAGS-msync.c): Likewise.
4866 (CFLAGS-fdatasync.c): Likewise.
4867 (CFLAGS-fsync.c): Likewise.
4868 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
4869 (CFLAGS-unwind.c): Likewise.
4870 (CFLAGS-unwind-forcedunwind.c): Likewise.
4871 (CFLAGS-pthread_cancel.c): Likewise.
4872 (CFLAGS-pthread_setcancelstate.c): Likewise.
4873 (CFLAGS-pthread_setcanceltype.c): Likewise.
4874 (CFLAGS-cancellation.c): Likewise.
4875 (CFLAGS-libc-cancellation.c): Likewise.
4876 (CFLAGS-pthread_exit.c): Likewise.
4877 (CFLAGS-forward.c): Likewise.
4878 (CFLAGS-pthread_testcancel.c): Likewise.
4879 (CFLAGS-pthread_join.c): Likewise.
4880 (CFLAGS-pthread_timedjoin.c): Likewise.
4881 (CFLAGS-pthread_once.c): Likewise.
4882 (CFLAGS-pthread_cond_wait.c): Likewise.
4883 (CFLAGS-sem_wait.c): Likewise.
4884 (CFLAGS-sem_timedwait.c): Likewise.
4885 (CFLAGS-fcntl.c): Likewise.
4886 (CFLAGS-lockf.c): Likewise.
4887 (CFLAGS-pread.c): Likewise.
4888 (CFLAGS-pread64.c): Likewise.
4889 (CFLAGS-pwrite.c): Likewise.
4890 (CFLAGS-pwrite64.c): Likewise.
4891 (CFLAGS-wait.c): Likewise.
4892 (CFLAGS-waitpid.c): Likewise.
4893 (CFLAGS-sigwait.c): Likewise.
4894 (CFLAGS-msgrcv.c): Likewise.
4895 (CFLAGS-msgsnd.c): Likewise.
4896 (CFLAGS-tcdrain.c): Likewise.
4897 (CFLAGS-open.c): Likewise.
4898 (CFLAGS-open64.c): Likewise.
4899 (CFLAGS-pause.c): Likewise.
4900 (CFLAGS-recv.c): Likewise.
4901 (CFLAGS-send.c): Likewise.
4902 (CFLAGS-accept.c): Likewise.
4903 (CFLAGS-sendto.c): Likewise.
4904 (CFLAGS-connect.c): Likewise.
4905 (CFLAGS-recvfrom.c): Likewise.
4906 (CFLAGS-recvmsg.c): Likewise.
4907 (CFLAGS-sendmsg.c): Likewise.
4908 (CFLAGS-close.c): Likewise.
4909 (CFLAGS-read.c): Likewise.
4910 (CFLAGS-write.c): Likewise.
4911 (CFLAGS-nanosleep.c): Likewise.
4912 (CFLAGS-sigsuspend.c): Likewise.
4913 (CFLAGS-msync.c): Likewise.
4914 (CFLAGS-fdatasync.c): Likewise.
4915 (CFLAGS-fsync.c): Likewise.
4916 (CFLAGS-pt-system.c): Likewise.
4917 (CFLAGS-tst-cleanup2.c): Likewise.
4918 (CFLAGS-tst-cleanupx2.c): Likewise.
4919 (CFLAGS-flockfile.c): Likewise.
4920 (CFLAGS-ftrylockfile.c): Likewise.
4921 (CFLAGS-funlockfile.c): Likewise.
4922 (CFLAGS-tst-initializers1.c): Likewise.
4923 (CFLAGS-tst-initializers1-c89.c): Likewise.
4924 (CFLAGS-tst-initializers1-c99.c): Likewise.
4925 (CFLAGS-tst-initializers1-c11.c): Likewise.
4926 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
4927 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
4928 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
4929 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
4930 (CFLAGS-nscd_getgr_r.c): Likewise.
4931 (CFLAGS-nscd_gethst_r.c): Likewise.
4932 (CFLAGS-nscd_getai.c): Likewise.
4933 (CFLAGS-nscd_initgroups.c): Likewise.
4934 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
4935 (CFLAGS-pause.c): Likewise.
4936 (CFLAGS-pread.c): Likewise.
4937 (CFLAGS-pread64.c): Likewise.
4938 (CFLAGS-pwrite.c): Likewise.
4939 (CFLAGS-pwrite64.c): Likewise.
4940 (CFLAGS-sleep.c): Likewise.
4941 (CFLAGS-wait.c): Likewise.
4942 (CFLAGS-waitid.c): Likewise.
4943 (CFLAGS-waitpid.c): Likewise.
4944 (CFLAGS-getopt.c): Likewise.
4945 (CFLAGS-wordexp.c): Likewise.
4946 (CFLAGS-sysconf.c): Likewise.
4947 (CFLAGS-pathconf.c): Likewise.
4948 (CFLAGS-fpathconf.c): Likewise.
4949 (CFLAGS-spawn.c): Likewise.
4950 (CFLAGS-spawnp.c): Likewise.
4951 (CFLAGS-spawni.c): Likewise.
4952 (CFLAGS-glob.c): Likewise.
4953 (CFLAGS-glob64.c): Likewise.
4954 (CFLAGS-getconf.c): Likewise.
4955 (CFLAGS-nanosleep.c): Likewise.
4956 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
4957 (CFLAGS-getpwent.c): Likewise.
4958 (CFLAGS-getpw.c): Likewise.
4959 (CFLAGS-fgetpwent_r.c): Likewise.
4960 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
4961 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
4962 (CFLAGS-mq_timedreceive.c): Likewise.
4963 (CFLAGS-mq_timedsend.c): Likewise.
4964 (CFLAGS-clock_nanosleep.c): Likewise.
4965 (CFLAGS-librt-cancellation.c): Likewise.
4966 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
4967 (CFLAGS-getspent.c): Likewise.
4968 (CFLAGS-fgetspent.c): Likewise.
4969 (CFLAGS-fgetspent_r.c): Likewise.
4970 (CFLAGS-putspent.c): Likewise.
4971 (CFLAGS-getspnam.c): Likewise.
4972 (CFLAGS-getspnam_r.c): Likewise.
4973 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
4974 (CFLAGS-sigsuspend.c): Likewise.
4975 (CFLAGS-sigtimedwait.c): Likewise.
4976 (CFLAGS-sigwait.c): Likewise.
4977 (CFLAGS-sigwaitinfo.c): Likewise.
4978 (CFLAGS-sigreturn.c): Likewise.
4979 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
4980 (CFLAGS-vfwprintf.c): Likewise.
4981 (CFLAGS-tmpfile.c): Likewise.
4982 (CFLAGS-tmpfile64.c): Likewise.
4983 (CFLAGS-tempname.c): Likewise.
4984 (CFLAGS-psignal.c): Likewise.
4985 (CFLAGS-vprintf.c): Likewise.
4986 (CFLAGS-cuserid.c): Likewise.
4987 (CFLAGS-errlist.c): Likewise.
4988 (CFLAGS-siglist.c): Likewise.
4989 (CFLAGS-scanf15.c): Likewise.
4990 (CFLAGS-scanf17.c): Likewise.
4991 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
4992 (CFLAGS-msort.c): Likewise.
4993 (CFLAGS-qsort.c): Likewise.
4994 (CFLAGS-system.c): Likewise.
4995 (CFLAGS-fmtmsg.c): Likewise.
4996 (CFLAGS-strfmon.c): Likewise.
4997 (CFLAGS-strfmon_l.c): Likewise.
4998 (CFLAGS-strfromd.c): Likewise.
4999 (CFLAGS-strfromf.c): Likewise.
5000 (CFLAGS-strfroml.c): Likewise.
5001 (CFLAGS-tst-bsearch.c): Likewise.
5002 (CFLAGS-tst-qsort.c): Likewise.
5003 (CFLAGS-tst-makecontext2.c): Likewise.
5004 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
5005 (CFLAGS-xnlm_prot.c): Likewise.
5006 (CFLAGS-xrstat.c): Likewise.
5007 (CFLAGS-xyppasswd.c): Likewise.
5008 (CFLAGS-xklm_prot.c): Likewise.
5009 (CFLAGS-xrex.c): Likewise.
5010 (CFLAGS-xsm_inter.c): Likewise.
5011 (CFLAGS-xmount.c): Likewise.
5012 (CFLAGS-xrusers.c): Likewise.
5013 (CFLAGS-xspray.c): Likewise.
5014 (CFLAGS-xnfs_prot.c): Likewise.
5015 (CFLAGS-xrquota.c): Likewise.
5016 (CFLAGS-xkey_prot.c): Likewise.
5017 (CFLAGS-auth_unix.c): Likewise.
5018 (CFLAGS-key_call.c): Likewise.
5019 (CFLAGS-pmap_rmt.c): Likewise.
5020 (CFLAGS-clnt_perr.c): Likewise.
5021 (CFLAGS-openchild.c): Likewise.
5022 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
5023 (CFLAGS-msgsnd.c): Likewise.
5024 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
5025 * time/Makefile (CFLAGS-tzfile.c): Likewise.
5026 (CFLAGS-tzset.c): Likewise.
5027 (CFLAGS-getdate.c): Likewise.
5028 (CFLAGS-test_time.c): Likewise.
5029 (CPPFLAGS-tst-tzname.c): Likewise.
5030 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
5031 (CFLAGS-zic.c): Likewise.
5032 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
5033 (CFLAGS-wcswidth.c): Likewise.
5034 (CFLAGS-wcstol.c): Likewise.
5035 (CFLAGS-wcstoul.c): Likewise.
5036 (CFLAGS-wcstoll.c): Likewise.
5037 (CFLAGS-wcstoull.c): Likewise.
5038 (CFLAGS-wcstod.c): Likewise.
5039 (CFLAGS-wcstold.c): Likewise.
5040 (CFLAGS-wcstof128.c): Likewise.
5041 (CFLAGS-wcstof.c): Likewise.
5042 (CFLAGS-wcstol_l.c): Likewise.
5043 (CFLAGS-wcstoul_l.c): Likewise.
5044 (CFLAGS-wcstoll_l.c): Likewise.
5045 (CFLAGS-wcstoull_l.c): Likewise.
5046 (CFLAGS-wcstod_l.c): Likewise.
5047 (CFLAGS-wcstold_l.c): Likewise.
5048 (CFLAGS-wcstof128_l.c): Likewise.
5049 (CFLAGS-wcstof_l.c): Likewise.
5050 (CPPFLAGS-tst-wchar-h.c): Likewise.
5051 (CPPFLAGS-wcstold_l.c): Likewise.
5053 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
5055 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
5057 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5058 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5060 * manual/tunables.texi (Hardware Capability Tunables): Document
5061 glibc.tune.cached_memopt.
5062 * sysdeps/powerpc/cpu-features.c: New file.
5063 * sysdeps/powerpc/cpu-features.h: New file.
5064 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
5065 _dl_powerpc_cpu_features.
5066 * sysdeps/powerpc/dl-tunables.list: New file.
5067 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
5068 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5069 (INIT_ARCH): Initialize use_aligned_memopt.
5070 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
5071 IS_IN(rtld))]: Restrict dl_platform_init availability and
5072 initialize CPU features used by tunables.
5073 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
5074 Add memcpy-power8-cached.
5075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
5076 __memcpy_power8_cached.
5077 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5078 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
5081 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
5083 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
5084 (CFLAGS-noinl-tester.c): Likewise.
5085 (CFLAGS-tst-strlen.c): Likewise.
5086 (CFLAGS-stratcliff.c): Likewise.
5087 (CFLAGS-test-ffs.c): Likewise.
5088 (CFLAGS-tst-inlcall.c): Likewise.
5089 (CFLAGS-tst-xbzero-opt.c): Likewise.
5090 (CFLAGS-memcpy.c): Likewise.
5091 (CFLAGS-wordcopy.c): Likewise.
5093 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5095 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
5096 Store r15 on stack and add cfi rule.
5097 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5100 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
5103 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
5106 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
5108 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5109 Add s_sinf-sse2 and s_sinf-fma.
5110 (CFLAGS-s_sinf-fma.c): New.
5111 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
5112 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
5113 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
5115 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
5117 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
5119 2017-12-07 Joseph Myers <joseph@codesourcery.com>
5122 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
5123 part of result to imaginary part of argument if it is zero and the
5124 real part of the argument is not finite.
5125 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
5126 of result to real part of argument if it is zero and the imaginary
5127 part of the argument is not finite.
5129 2017-12-07 Mike FABIAN <mfabian@redhat.com>
5132 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
5133 and to the list of locales to be built for testing.
5134 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
5135 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
5136 and build the collation rules upon that.
5138 2017-12-07 Joseph Myers <joseph@codesourcery.com>
5140 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
5141 * manual/math.texi (Mathematics): Document support for _Float32.
5142 * math/Makefile (test-types): Add float32.
5143 * math/Versions (GLIBC_2.27): Add _Float32 functions.
5144 * stdlib/Versions (GLIBC_2.27): Likewise.
5145 * wcsmbs/Versions (GLIBC_2.27): Likewise.
5146 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
5147 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5148 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5149 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5150 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5151 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5152 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5153 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5154 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5155 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5156 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5157 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5158 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5159 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5160 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5161 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5162 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5163 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5164 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5165 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5166 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5168 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5169 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5170 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5171 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5172 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5190 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5191 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5192 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5193 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5194 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5195 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5196 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5197 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5198 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5199 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
5202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5208 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5209 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5210 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5211 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5212 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5213 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5214 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5215 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5217 2017-12-06 Joseph Myers <joseph@codesourcery.com>
5219 * stdlib/strtof.c: Include <bits/floatn.h>
5220 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
5221 and later undefine as macro. Define as weak alias if
5223 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
5224 and later undefine as macro. Define as weak alias if
5226 * stdlib/strtof_l.c: Include <bits/floatn.h>
5227 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
5228 and later undefine as macro. Define as weak alias if
5230 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
5231 and later undefine as macro. Define as weak alias if
5234 * stdlib/strfromf.c: Include <bits/floatn.h>.
5235 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
5236 and later undefine as macro and define as weak alias.
5238 * math/test-float32.h: New file.
5240 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
5241 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
5242 (libm_alias_float_other_r): Create f32 alias.
5243 (libm_alias_float_r): Use semicolon before call to
5244 libm_alias_float_other_r.
5246 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
5247 second argument to libm_alias_float_other.
5248 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
5249 second argument to libm_alias_float_other.
5250 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
5251 argument to libm_alias_float_other.
5254 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
5255 real part of result for argument 0 + i * NaN.
5256 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
5257 results for tests of 0 + i * NaN.
5259 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5261 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5263 2017-12-06 David S. Miller <davem@davemloft.net>
5265 * sysdeps/sparc/fpu/libm-test-ulps: Update
5266 exp_{downward,towardzero,upward} ulps.
5268 2017-12-06 Joseph Myers <joseph@codesourcery.com>
5270 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
5273 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
5275 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
5277 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
5279 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
5282 2017-12-06 Mike FABIAN <mfabian@redhat.com>
5285 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
5286 and to the list of locales to be built for testing.
5287 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
5288 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
5289 and build the collation rules upon that.
5291 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5293 * NEWS: Add sinf to list of optimized functions.
5295 2017-12-06 Joseph Myers <joseph@codesourcery.com>
5297 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
5298 (__HAVE_FLOAT32X): Likewise.
5299 * manual/math.texi (Mathematics): Document support for _Float64
5301 * math/Makefile (test-types): Add float64 and float32x.
5302 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
5304 * stdlib/Versions (GLIBC_2.27): Likewise.
5305 * wcsmbs/Versions (GLIBC_2.27): Likewise.
5306 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
5307 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5308 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5309 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5310 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5311 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5312 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5313 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5314 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5315 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5316 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5317 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5318 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5319 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5320 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5321 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5322 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5323 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5324 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5325 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5326 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5328 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5329 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5330 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5331 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5332 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5349 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5350 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5351 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5352 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5353 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5354 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5355 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5356 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5357 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5358 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
5361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5367 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5368 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5369 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5370 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5371 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5372 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5373 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5374 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5376 2017-12-05 Joseph Myers <joseph@codesourcery.com>
5378 * bits/floatn-common.h: Include <bits/long-double.h>.
5379 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
5380 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
5381 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
5382 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
5383 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
5384 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
5385 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
5386 (__builtin_huge_valf64): Use __builtin_huge_vall.
5387 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
5388 (__builtin_inff64): Use __builtin_infl.
5389 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
5390 (__builtin_nanf64): Use __builtin_nanl.
5391 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
5392 (__builtin_nansf64): Use __builtin_nansl.
5394 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
5395 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5396 Carlos O'Donnell <carlos@redhat.com>
5398 * elf/dl-tunables.list: Add elision parameters.
5399 * manual/tunables.texi: Add entries about elision tunable.
5400 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
5401 Add callback functions to dynamically enable/disable elision.
5402 Add multiple callbacks functions to set elision parameters.
5403 Deleted __libc_enable_secure check.
5404 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
5405 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
5406 * configure: Regenerated.
5407 * configure.ac: Option enable_lock_elision was deleted.
5408 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
5409 * config.make.in: Remove references to enable_lock_elision.
5410 * manual/install.texi: Elision configure option was removed.
5411 * INSTALL: Regenerated to remove enable_lock_elision.
5413 Disable elision so it can verify error case for destroying a mutex.
5414 * sysdeps/powerpc/nptl/elide.h:
5415 Cleanup ENABLE_LOCK_ELISION check.
5416 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
5417 * sysdeps/s390/configure: Regenerated.
5418 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
5419 * nptl/tst-mutex8.c:
5420 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
5421 * sysdeps/powerpc/powerpc32/sysdep.h:
5422 Deleted all ENABLE_LOCK_ELISION checks.
5423 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5424 * sysdeps/powerpc/sysdep.h: Likewise.
5425 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5426 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
5427 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5428 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5429 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5430 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
5431 enable-lock-elision.
5433 2017-12-05 Joseph Myers <joseph@codesourcery.com>
5435 * stdlib/strtod.c: Include <bits/floatn.h>.
5436 (BUILD_DOUBLE): New macro.
5437 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
5438 (strtof64): Define and later undefine as macro. Define as weak
5439 alias if [!USE_WIDE_CHAR].
5440 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
5441 (wcstof64): Define and later undefine as macro. Define as weak
5442 alias if [USE_WIDE_CHAR].
5443 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
5444 (strtof32x): Define and later undefine as macro. Define as weak
5445 alias if [!USE_WIDE_CHAR].
5446 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
5447 (wcstof32x): Define and later undefine as macro. Define as weak
5448 alias if [USE_WIDE_CHAR].
5449 * stdlib/strtod_l.c: Include <bits/floatn.h>.
5450 (BUILD_DOUBLE): New macro.
5451 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
5452 (strtof64_l): Define and later undefine as macro. Define as weak
5453 alias if [!USE_WIDE_CHAR].
5454 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
5455 (wcstof64_l): Define and later undefine as macro. Define as weak
5456 alias if [USE_WIDE_CHAR].
5457 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
5458 (strtof32x_l): Define and later undefine as macro. Define as weak
5459 alias if [!USE_WIDE_CHAR].
5460 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
5461 (wcstof32x_l): Define and later undefine as macro. Define as weak
5462 alias if [USE_WIDE_CHAR].
5464 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5466 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
5467 (reduced): Use ones as double instead of integer.
5469 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
5471 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
5473 2017-12-05 Joseph Myers <joseph@codesourcery.com>
5475 * stdlib/strfromd.c: Include <bits/floatn.h>.
5476 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
5477 and later undefine as macro and define as weak alias.
5478 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
5481 * math/test-float32x.h: New file.
5482 * math/test-float64.h: Likewise.
5484 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
5485 (libm_alias_double_other_r_f64): New macro.
5486 (libm_alias_double_other_r_f32x): Likewise.
5487 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
5488 libm_alias_double_other_r_f32x.
5489 (libm_alias_double_r): Use semicolon before call to
5490 libm_alias_double_other_r.
5491 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
5493 (libm_alias_double_other_r_f64): New macro.
5494 (libm_alias_double_other_r_f32x): Likewise.
5495 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
5496 libm_alias_double_other_r_f32x.
5498 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
5500 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
5502 (SINF_FUNC): Likewise. Replace floor with simple casts.
5504 2017-12-05 Mike FABIAN <mfabian@redhat.com>
5507 * localedata/Makefile: Add et_EE.UTF-8 to test-input
5508 and to the list of locales to be built for testing.
5509 * localedata/et_EE.UTF-8.in: New file for testing the collation.
5510 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
5511 and build the collation rules upon that.
5513 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
5515 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
5516 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
5517 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
5518 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
5519 instead of __insn__xxx.
5520 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
5521 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
5522 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
5523 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
5524 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
5525 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
5527 2017-12-05 Florian Weimer <fweimer@redhat.com>
5529 Linux: Implement interfaces for memory protection keys
5530 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
5532 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
5533 * support/xunistd.h (xsysconf): Declare.
5534 * support/xraise.c: New file.
5535 * support/xsigaction.c: Likewise.
5536 * support/xsignal.c: Likewise.
5537 * support/xsysconf.c: Likewise.
5538 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
5539 pkey_set, pkey_get, pkey_mprotect.
5540 [misc] (tests): Add tst-pkey.
5541 (tst-pkey): Link with -lpthread.
5542 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
5543 pkey_free, pkey_set, pkey_get, pkey_mprotect.
5544 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
5545 (PKEY_DISABLE_WRITE): Define.
5546 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
5548 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
5550 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
5551 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
5552 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
5553 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
5555 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
5556 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
5557 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
5558 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
5559 * sysdeps/unix/sysv/linux/**.abilist: Update.
5561 2017-12-05 Florian Weimer <fweimer@redhat.com>
5563 * support/tst-test_compare.c (subprocess): Use long long instead
5564 of long argument for consistent type width across 32-bit and
5565 64-bit architectures.
5566 (do_test): Adjust expected output.
5568 2017-12-05 Joseph Myers <joseph@codesourcery.com>
5570 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
5571 (cosf): Define using libm_alias_float.
5572 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
5573 (fabsf): Define using libm_alias_float.
5574 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
5575 (fmaf): Define using libm_alias_float.
5576 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
5577 (rintf): Define using libm_alias_float.
5578 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
5579 (sinf): Define using libm_alias_float.
5580 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
5581 <libm-alias-float.h>.
5582 (modff): Define using libm_alias_float.
5583 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
5584 <libm-alias-float.h>.
5585 (logbf): Define using libm_alias_float.
5586 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
5587 <libm-alias-float.h>.
5588 (ceilf): Define using libm_alias_float.
5589 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
5590 <libm-alias-float.h>.
5591 (copysignf): Define using libm_alias_float.
5592 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
5593 <libm-alias-float.h>.
5594 (floorf): Define using libm_alias_float.
5595 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
5596 <libm-alias-float.h>.
5597 (llrintf): Define using libm_alias_float.
5598 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
5599 <libm-alias-float.h>.
5600 (llroundf): Define using libm_alias_float.
5601 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
5602 <libm-alias-float.h>.
5603 (lrintf): Define using libm_alias_float.
5604 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
5605 <libm-alias-float.h>.
5606 (lroundf): Define using libm_alias_float.
5607 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
5608 <libm-alias-float.h>.
5609 (nearbyintf): Define using libm_alias_float.
5610 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
5611 <libm-alias-float.h>.
5612 (rintf): Define using libm_alias_float.
5613 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
5614 <libm-alias-float.h>.
5615 (roundf): Define using libm_alias_float.
5616 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
5617 <libm-alias-float.h>.
5618 (truncf): Define using libm_alias_float.
5619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
5620 Include <libm-alias-float.h>.
5621 (ceilf): Define using libm_alias_float.
5622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5623 Include <libm-alias-float.h>.
5624 (copysignf): Define using libm_alias_float.
5625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
5626 Include <libm-alias-float.h>.
5627 (floorf): Define using libm_alias_float.
5628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
5629 Include <libm-alias-float.h>.
5630 (llrintf): Define using libm_alias_float.
5631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
5632 Include <libm-alias-float.h>.
5633 (llroundf): Define using libm_alias_float.
5634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
5635 Include <libm-alias-float.h>.
5636 (logbf): Define using libm_alias_float.
5637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
5638 Include <libm-alias-float.h>.
5639 (lrintf): Define using libm_alias_float.
5640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
5641 Include <libm-alias-float.h>.
5642 (lroundf): Define using libm_alias_float.
5643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
5644 Include <libm-alias-float.h>.
5645 (modff): Define using libm_alias_float.
5646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
5647 Include <libm-alias-float.h>.
5648 (roundf): Define using libm_alias_float.
5649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
5650 Include <libm-alias-float.h>.
5651 (truncf): Define using libm_alias_float.
5652 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
5653 <libm-alias-float.h>.
5654 (llrintf): Define using libm_alias_float.
5655 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
5656 <libm-alias-float.h>.
5657 (llroundf): Define using libm_alias_float.
5658 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
5659 <libm-alias-float.h>.
5660 (ceilf): Define using libm_alias_float.
5661 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
5662 <libm-alias-float.h>.
5663 (floorf): Define using libm_alias_float.
5664 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
5665 <libm-alias-float.h>.
5666 (llroundf): Define using libm_alias_float.
5667 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
5668 <libm-alias-float.h>.
5669 (lroundf): Define using libm_alias_float.
5670 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
5671 <libm-alias-float.h>.
5672 (roundf): Define using libm_alias_float.
5673 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
5674 <libm-alias-float.h>.
5675 (truncf): Define using libm_alias_float.
5676 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
5677 <libm-alias-float.h>.
5678 (copysignf): Define using libm_alias_float.
5679 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
5680 <libm-alias-float.h>.
5681 (llrintf): Define using libm_alias_float.
5682 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
5683 <libm-alias-float.h>.
5684 (llroundf): Define using libm_alias_float.
5685 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
5686 <libm-alias-float.h>.
5687 (lrintf): Define using libm_alias_float.
5688 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
5689 <libm-alias-float.h>.
5690 (lroundf): Define using libm_alias_float.
5691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
5692 <libm-alias-float.h>.
5693 (ceilf): Define using libm_alias_float.
5694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
5695 <libm-alias-float.h>.
5696 (copysignf): Define using libm_alias_float.
5697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
5698 <libm-alias-float.h>.
5699 (cosf): Define using libm_alias_float.
5700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
5701 <libm-alias-float.h>.
5702 (floorf): Define using libm_alias_float.
5703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
5704 <libm-alias-float.h>.
5705 (llrintf): Define using libm_alias_float.
5706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
5707 <libm-alias-float.h>.
5708 (llroundf): Define using libm_alias_float.
5709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
5710 <libm-alias-float.h>.
5711 (logbf): Define using libm_alias_float.
5712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
5713 <libm-alias-float.h>.
5714 (modff): Define using libm_alias_float.
5715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
5716 <libm-alias-float.h>.
5717 (roundf): Define using libm_alias_float.
5718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
5719 <libm-alias-float.h>.
5720 (sinf): Define using libm_alias_float.
5721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
5722 <libm-alias-float.h>.
5723 (truncf): Define using libm_alias_float.
5724 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
5725 <libm-alias-float.h>.
5726 (ceilf): Define using libm_alias_float.
5727 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
5728 <libm-alias-float.h>.
5729 (copysignf): Define using libm_alias_float.
5730 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
5731 <libm-alias-float.h>.
5732 (floorf): Define using libm_alias_float.
5733 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
5734 <libm-alias-float.h>.
5735 (llrintf): Define using libm_alias_float.
5736 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
5737 <libm-alias-float.h>.
5738 (llroundf): Define using libm_alias_float.
5739 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
5740 <libm-alias-float.h>.
5741 (nearbyintf): Define using libm_alias_float.
5742 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
5743 <libm-alias-float.h>.
5744 (rintf): Define using libm_alias_float.
5745 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
5746 <libm-alias-float.h>.
5747 (roundf): Define using libm_alias_float.
5748 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
5749 <libm-alias-float.h>.
5750 (truncf): Define using libm_alias_float.
5751 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
5752 <libm-alias-float.h>.
5753 (ceilf): Define using libm_alias_float.
5754 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
5755 <libm-alias-float.h>.
5756 (floorf): Define using libm_alias_float.
5757 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
5758 <libm-alias-float.h>.
5759 (llroundf): Define using libm_alias_float.
5760 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
5761 <libm-alias-float.h>.
5762 (roundf): Define using libm_alias_float.
5763 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
5764 <libm-alias-float.h>.
5765 (truncf): Define using libm_alias_float.
5766 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
5767 <libm-alias-float.h>.
5768 (copysignf): Define using libm_alias_float.
5769 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
5770 <libm-alias-float.h>.
5771 (llrintf): Define using libm_alias_float.
5772 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
5773 <libm-alias-float.h>.
5774 (llroundf): Define using libm_alias_float.
5775 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
5776 <libm-alias-float.h>.
5777 (cosf): Define using libm_alias_float.
5778 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
5779 <libm-alias-float.h>.
5780 (llrintf): Define using libm_alias_float.
5781 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
5782 <libm-alias-float.h>.
5783 (llroundf): Define using libm_alias_float.
5784 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
5785 <libm-alias-float.h>.
5786 (sinf): Define using libm_alias_float.
5788 2017-12-04 Florian Weimer <fweimer@redhat.com>
5790 * support/check.h (TEST_COMPARE): Define.
5791 (support_test_compare_failure): Declare.
5792 * support/Makefile (libsupport-routines): Add
5793 support_test_compare_failure.
5794 (tests): Add tst-test_compare.
5795 * support /support_test_compare_failure.c: New file.
5796 * support/tst-test_compare.c: Likewise.
5798 2017-12-04 Mike FABIAN <mfabian@redhat.com>
5801 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
5802 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
5803 available, this rewrite of the collation rules does reproduce
5804 the test file in the same order.
5806 2017-12-04 Mike FABIAN <mfabian@redhat.com>
5809 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
5810 digraphs in the month and day names. Using single code points for
5811 digraphs is deprecated. While there are dedicated Unicode
5812 codepoints, for the digraphs, these are included for backwards
5813 compatibility and modern texts use a sequence of Basic Latin
5814 characters. See: https://www.unicode.org/faq/ligature_digraph.html
5815 This makes the month and day names agree exactly with CLDR now,
5816 CLDR does not use the single code points for the digraphs either.
5818 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
5820 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
5822 2017-12-04 Joseph Myers <joseph@codesourcery.com>
5824 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
5827 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
5829 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
5830 Define only for libc.so.
5832 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
5834 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5835 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
5836 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
5837 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
5838 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5840 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5843 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
5845 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
5848 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
5849 PREINIT_FUNCTION_WEAK is nonzero.
5850 (gmon_initializer): New function. Put procedure label for it in
5851 .init_array section.
5852 (_init): Don't call PREINIT_FUNCTION.
5853 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
5854 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
5855 value when map argument is null.
5857 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
5858 depi instruction from PIC pc-relative sequence.
5859 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
5860 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
5861 (elf_machine_load_address): Likewise.
5862 (elf_machine_runtime_setup): Likewise.
5864 2017-12-02 Joseph Myers <joseph@codesourcery.com>
5866 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
5867 <libm-alias-double.h>.
5868 (logb): Define using libm_alias_double.
5869 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
5870 <libm-alias-double.h>.
5871 (copysign): Define using libm_alias_double.
5872 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
5873 <libm-alias-double.h>.
5874 (llrint): Define using libm_alias_double.
5875 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
5876 <libm-alias-double.h>.
5877 (llround): Define using libm_alias_double.
5878 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
5879 <libm-alias-double.h>.
5880 (lrint): Define using libm_alias_double.
5881 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
5882 <libm-alias-double.h>.
5883 (lround): Define using libm_alias_double.
5884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5885 Include <libm-alias-double.h>.
5886 (copysign): Define using libm_alias_double.
5887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
5888 Include <libm-alias-double.h>.
5889 (llrint): Define using libm_alias_double.
5890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
5891 Include <libm-alias-double.h>.
5892 (llround): Define using libm_alias_double.
5893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
5894 <libm-alias-double.h>.
5895 (logb): Define using libm_alias_double.
5896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
5897 Include <libm-alias-double.h>.
5898 (lrint): Define using libm_alias_double.
5899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
5900 Include <libm-alias-double.h>.
5901 (lround): Define using libm_alias_double.
5902 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
5903 <libm-alias-double.h>.
5904 (llrint): Define using libm_alias_double.
5905 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
5906 <libm-alias-double.h>.
5907 (llround): Define using libm_alias_double.
5908 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
5909 <libm-alias-double.h>.
5910 (llround): Define using libm_alias_double.
5911 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
5912 <libm-alias-double.h>.
5913 (lround): Define using libm_alias_double.
5914 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
5915 <libm-alias-double.h>.
5916 (copysign): Define using libm_alias_double.
5917 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
5918 <libm-alias-double.h>.
5919 (llrint): Define using libm_alias_double.
5920 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
5921 <libm-alias-double.h>.
5922 (llround): Define using libm_alias_double.
5923 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
5924 <libm-alias-double.h>.
5925 (lrint): Define using libm_alias_double.
5926 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
5927 <libm-alias-double.h>.
5928 (lround): Define using libm_alias_double.
5929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
5930 <libm-alias-double.h>.
5931 (copysign): Define using libm_alias_double.
5932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
5933 <libm-alias-double.h>.
5934 (llrint): Define using libm_alias_double.
5936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
5937 <libm-alias-double.h>.
5938 (llround): Define using libm_alias_double.
5940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
5941 <libm-alias-double.h>.
5942 (logb): Define using libm_alias_double.
5943 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
5944 <libm-alias-double.h>.
5945 (copysign): Define using libm_alias_double.
5946 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
5947 <libm-alias-double.h>.
5948 (llrint): Define using libm_alias_double.
5950 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
5951 <libm-alias-double.h>.
5952 (llround): Define using libm_alias_double.
5954 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
5955 <libm-alias-double.h>.
5956 (llround): Define using libm_alias_double.
5958 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
5959 <libm-alias-double.h>.
5960 (copysign): Define using libm_alias_double.
5961 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
5962 <libm-alias-double.h>.
5963 (llrint): Define using libm_alias_double.
5965 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
5966 <libm-alias-double.h>.
5967 (llround): Define using libm_alias_double.
5969 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
5970 <libm-alias-double.h>.
5971 (llrint): Define using libm_alias_double.
5973 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
5974 <libm-alias-double.h>.
5975 (llround): Define using libm_alias_double.
5978 2017-12-01 Joseph Myers <joseph@codesourcery.com>
5980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5981 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
5982 compat symbol based on llround.
5984 * sysdeps/powerpc/power7/fpu/s_logb.c
5985 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
5986 symbol based on __logb, not on logb.
5987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
5988 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
5989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
5990 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
5992 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
5993 (rint): Define using libm_alias_double.
5994 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
5995 <libm-alias-double.h>.
5996 (modf): Define using libm_alias_double.
5997 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
5998 <libm-alias-double.h>.
5999 (ceil): Define using libm_alias_double.
6000 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
6001 <libm-alias-double.h>.
6002 (floor): Define using libm_alias_double.
6003 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
6004 <libm-alias-double.h>.
6005 (nearbyint): Define using libm_alias_double.
6006 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
6007 <libm-alias-double.h>.
6008 (rint): Define using libm_alias_double.
6009 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
6010 <libm-alias-double.h>.
6011 (round): Define using libm_alias_double.
6012 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
6013 <libm-alias-double.h>.
6014 (trunc): Define using libm_alias_double.
6015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
6016 <libm-alias-double.h>.
6017 (ceil): Define using libm_alias_double.
6018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
6019 Include <libm-alias-double.h>.
6020 (floor): Define using libm_alias_double.
6021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
6022 <libm-alias-double.h>.
6023 (modf): Define using libm_alias_double.
6024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
6025 Include <libm-alias-double.h>.
6026 (round): Define using libm_alias_double.
6027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
6028 Include <libm-alias-double.h>.
6029 (trunc): Define using libm_alias_double.
6030 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
6031 <libm-alias-double.h>.
6032 (ceil): Define using libm_alias_double.
6033 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
6034 <libm-alias-double.h>.
6035 (floor): Define using libm_alias_double.
6036 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
6037 <libm-alias-double.h>.
6038 (round): Define using libm_alias_double.
6039 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
6040 <libm-alias-double.h>.
6041 (trunc): Define using libm_alias_double.
6042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
6043 <libm-alias-double.h>.
6044 (ceil): Define using libm_alias_double.
6045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
6046 <libm-alias-double.h>.
6047 (floor): Define using libm_alias_double.
6048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
6049 <libm-alias-double.h>.
6050 (modf): Define using libm_alias_double.
6051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
6052 <libm-alias-double.h>.
6053 (round): Define using libm_alias_double.
6054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
6055 <libm-alias-double.h>.
6056 (trunc): Define using libm_alias_double.
6057 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
6058 <libm-alias-double.h>.
6059 (ceil): Define using libm_alias_double.
6060 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
6061 <libm-alias-double.h>.
6062 (floor): Define using libm_alias_double.
6063 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
6064 <libm-alias-double.h>.
6065 (nearbyint): Define using libm_alias_double.
6066 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
6067 <libm-alias-double.h>.
6068 (rint): Define using libm_alias_double.
6069 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
6070 <libm-alias-double.h>.
6071 (round): Define using libm_alias_double.
6072 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
6073 <libm-alias-double.h>.
6074 (trunc): Define using libm_alias_double.
6075 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
6076 <libm-alias-double.h>.
6077 (ceil): Define using libm_alias_double.
6078 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
6079 <libm-alias-double.h>.
6080 (floor): Define using libm_alias_double.
6081 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
6082 <libm-alias-double.h>.
6083 (round): Define using libm_alias_double.
6084 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
6085 <libm-alias-double.h>.
6086 (trunc): Define using libm_alias_double.
6088 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
6089 (fabs): Define using libm_alias_double.
6090 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
6091 (fma): Define using libm_alias_double.
6092 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
6093 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
6094 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
6095 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
6097 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6099 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
6101 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
6102 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
6103 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
6105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
6108 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
6110 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
6112 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6114 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
6115 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
6116 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
6117 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
6119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6120 (libm-sysdep_routines): Add s_nearbyintf-generic and
6121 s_nearbyint-generic.
6122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
6124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
6125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
6127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
6129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
6131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
6134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6135 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
6136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
6138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
6141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
6143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6146 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
6147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
6149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
6150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
6152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
6153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
6154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
6156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6157 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
6158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
6160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
6161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
6163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
6164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
6165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6168 (sysdep_calls): New rule.
6169 (sysdep_routines): Use sysdep_calls as base.
6170 (libm-sysdep_routines): Add generic rule for symbols shared with
6171 libc. Add s_copysign-generic and s_copysign-generic objects.
6172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
6174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
6175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
6177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
6178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
6179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
6181 2017-12-01 Mike FABIAN <mfabian@redhat.com>
6184 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
6185 the list of locales to be built for testing.
6186 * localedata/is_IS.UTF-8.in: New file.
6187 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
6190 2017-12-01 Joseph Myers <joseph@codesourcery.com>
6192 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
6193 <libm-alias-float.h>.
6194 (fabsf): Define using libm_alias_float.
6196 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
6198 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
6200 2017-11-30 Joseph Myers <joseph@codesourcery.com>
6202 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
6203 <libm-alias-float.h>.
6204 (fabsf): Define using libm_alias_float.
6205 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
6206 <libm-alias-float.h>.
6207 (lrintf): Define using libm_alias_float.
6208 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
6209 <libm-alias-float.h>.
6210 (rintf): Define using libm_alias_float.
6212 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
6213 <libm-alias-double.h>.
6214 (fabs): Define using libm_alias_double.
6215 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
6216 <libm-alias-double.h>.
6217 (lrint): Define using libm_alias_double.
6218 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
6219 <libm-alias-double.h>.
6220 (rint): Define using libm_alias_double.
6222 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
6223 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6224 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
6225 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
6226 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
6227 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6228 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
6229 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
6230 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
6231 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
6232 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
6233 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
6234 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
6235 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
6236 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
6237 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
6238 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
6239 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
6241 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
6242 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
6243 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
6245 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
6246 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
6247 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
6249 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
6250 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
6251 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
6253 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
6254 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
6255 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
6257 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
6258 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
6259 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
6261 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
6262 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
6263 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
6265 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
6266 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
6268 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
6269 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
6270 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
6272 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
6273 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
6274 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
6275 s_nearbyint_template.c.
6276 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
6277 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
6278 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
6279 s_remquo_template.c.
6280 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
6281 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
6282 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
6284 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6285 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6286 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
6288 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
6289 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
6290 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
6291 s_sincos_template.c.
6292 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
6293 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
6294 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
6296 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
6297 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
6298 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
6300 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
6301 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
6302 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
6304 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
6305 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
6306 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
6307 s_atan.c instead of including s_atan.c.
6308 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
6309 s_atanf.c instead of including s_atanf.c.
6310 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
6311 s_atanl.c instead of including s_atanl.c.
6312 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
6313 instead of s_atan.c.
6314 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
6315 instead of s_atanf.c.
6316 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
6317 instead of s_atanl.c.
6319 * scripts/update-copyrights: Do not handle intl/plural.c
6322 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
6325 * configure.ac (BISON): Require to be present.
6326 * configure: Regenerated.
6327 * intl/Makefile (generated): Add plural.c.
6328 [$(BISON) != no]: Make code unconditional.
6329 (plural.c): Change rule to $(objpfx)plural.c.
6330 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
6331 * intl/plural.c: Remove.
6332 * manual/install.texi (Tools for Compilation): Document bison as
6334 * INSTALL: Regenerated.
6336 2017-11-30 Joseph Myers <joseph@codesourcery.com>
6338 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
6339 <libm-alias-double.h>.
6340 (llrint): Define using libm_alias_double.
6341 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
6342 <libm-alias-float.h>.
6343 (llrintf): Define using libm_alias_float.
6344 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
6345 <libm-alias-ldouble.h>.
6346 (llrintl): Define using libm_alias_ldouble.
6348 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
6349 declare_mgen_alias instead of weak_alias.
6350 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
6351 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
6352 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
6354 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6356 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
6358 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
6359 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
6360 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
6362 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
6363 Add submul_1-generic.
6364 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
6365 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
6366 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
6368 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
6369 Add addmul_1-generic.
6370 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
6371 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
6372 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
6374 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
6376 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
6377 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
6378 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
6380 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
6382 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
6383 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
6384 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
6386 2017-11-30 Mike FABIAN <mfabian@redhat.com>
6388 According to CLDR, collation rules for Serbian and Bosnian
6389 should be the same as for Croatian.
6392 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
6393 and to the list of locales to be built for testing.
6394 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
6395 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
6396 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
6397 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
6399 2017-11-30 Mike FABIAN <mfabian@redhat.com>
6401 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
6402 to make test case pass.
6403 * localedata/hr_HR.UTF-8.in: Add more test strings.
6405 2017-11-30 Mike FABIAN <mfabian@redhat.com>
6407 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
6409 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
6411 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
6412 the list of locales to built for testing.
6413 * localedata/hr_HR.UTF-8.in: New file.
6415 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
6418 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
6420 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
6421 CLDR (except use ligatures for the digraphs, CLDR does not use
6422 the ligatures), add first_workday, some fixes in the date and time
6424 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
6426 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
6427 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
6428 Add int_p_cs_precedes and int_n_cs_precedes.
6429 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
6430 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
6432 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
6433 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
6435 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
6436 and lang_lib. Change postal_fmt.
6438 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
6440 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
6442 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
6443 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
6444 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
6445 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
6446 * sysdeps/generic/setjmpP.h: New file.
6447 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
6448 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
6449 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
6450 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
6451 Add jmp_buf-ssp.sym.
6452 (tests): Add tst-saved_mask-1.
6454 2017-11-30 Arjun Shankar <arjun@redhat.com>
6458 * malloc/malloc.c (__libc_malloc): Use checked_request2size
6459 instead of request2size.
6461 2017-11-30 Joseph Myers <joseph@codesourcery.com>
6463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
6464 (__lllrint): Remove alias.
6465 (lllrint): Likewise.
6466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
6467 (__lllrintf): Likewise.
6468 (lllrintf): Likewise.
6470 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
6471 <libm-alias-float.h>.
6472 (copysignf): Define using libm_alias_float.
6473 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
6474 <libm-alias-float.h>.
6475 (fabsf): Define using libm_alias_float.
6476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6477 Include <libm-alias-float.h>.
6478 (copysignf): Define using libm_alias_float.
6479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
6480 <libm-alias-float.h>.
6481 (fabsf): Define using libm_alias_float.
6482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
6483 <libm-alias-float.h>.
6484 (fdimf): Define using libm_alias_float.
6485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
6486 <libm-alias-float.h>.
6487 (fmaf): Define using libm_alias_float.
6488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
6489 <libm-alias-float.h>.
6490 (llrintf): Define using libm_alias_float.
6491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
6492 Include <libm-alias-float.h>.
6493 (nearbyintf): Define using libm_alias_float.
6494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
6495 <libm-alias-float.h>.
6496 (rintf): Define using libm_alias_float.
6497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
6498 <libm-alias-float.h>.
6499 (llrintf): Define using libm_alias_float.
6500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
6501 <libm-alias-float.h>.
6502 (lrintf): Define using libm_alias_float.
6503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
6504 <libm-alias-float.h>.
6505 (nearbyintf): Define using libm_alias_float.
6506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
6507 <libm-alias-float.h>.
6508 (rintf): Define using libm_alias_float.
6509 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
6510 <libm-alias-float.h>.
6511 (ceilf): Define using libm_alias_float.
6512 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
6513 <libm-alias-float.h>.
6514 (floorf): Define using libm_alias_float.
6515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
6516 <libm-alias-float.h>.
6517 (fmaf): Define using libm_alias_float.
6518 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
6519 <libm-alias-float.h>.
6520 (lrintf): Define using libm_alias_float.
6521 (llrintf): Likewise.
6522 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
6523 <libm-alias-float.h>.
6524 (nearbyintf): Define using libm_alias_float.
6525 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
6526 <libm-alias-float.h>.
6527 (rintf): Define using libm_alias_float.
6528 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
6529 <libm-alias-float.h>.
6530 (truncf): Define using libm_alias_float.
6531 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
6532 <libm-alias-float.h>.
6533 (copysignf): Define using libm_alias_float.
6534 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
6535 <libm-alias-float.h>.
6536 (fabsf): Define using libm_alias_float.
6537 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
6538 <libm-alias-float.h>.
6539 (lrintf): Define using libm_alias_float.
6540 (llrintf): Likewise.
6541 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
6542 <libm-alias-float.h>.
6543 (nearbyintf): Define using libm_alias_float.
6544 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
6545 <libm-alias-float.h>.
6546 (rintf): Define using libm_alias_float.
6548 2017-11-29 Joseph Myers <joseph@codesourcery.com>
6550 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
6551 <libm-alias-double.h>.
6552 (copysign): Define using libm_alias_double.
6553 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
6554 <libm-alias-double.h>.
6555 (fabs): Define using libm_alias_double.
6556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6557 Include <libm-alias-double.h>.
6558 (copysign): Define using libm_alias_double.
6559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
6560 <libm-alias-double.h>.
6561 (fabs): Define using libm_alias_double.
6562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
6563 <libm-alias-double.h>.
6564 (fdim): Define using libm_alias_double.
6565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
6566 <libm-alias-double.h>.
6567 (fma): Define using libm_alias_double.
6568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
6569 <libm-alias-double.h>.
6570 (llrint): Define using libm_alias_double.
6571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
6572 Include <libm-alias-double.h>.
6573 (nearbyint): Define using libm_alias_double.
6574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
6575 <libm-alias-double.h>.
6576 (rint): Define using libm_alias_double.
6577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
6578 <libm-alias-double.h>.
6579 (fabs): Define using libm_alias_double.
6580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
6581 <libm-alias-double.h>.
6582 (llrint): Define using libm_alias_double.
6583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
6584 <libm-alias-double.h>.
6585 (nearbyint): Define using libm_alias_double.
6586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
6587 <libm-alias-double.h>.
6588 (rint): Define using libm_alias_double.
6589 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
6590 <libm-alias-double.h>.
6591 (ceil): Define using libm_alias_double.
6592 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
6593 <libm-alias-double.h>.
6594 (floor): Define using libm_alias_double.
6595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
6596 <libm-alias-double.h>.
6597 (fma): Define using libm_alias_double.
6598 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
6599 <libm-alias-double.h>.
6600 (lrint): Define using libm_alias_double.
6602 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
6603 <libm-alias-double.h>.
6604 (nearbyint): Define using libm_alias_double.
6605 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
6606 <libm-alias-double.h>.
6607 (rint): Define using libm_alias_double.
6608 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
6609 <libm-alias-double.h>.
6610 (trunc): Define using libm_alias_double.
6611 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
6612 <libm-alias-double.h>.
6613 (copysign): Define using libm_alias_double.
6614 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
6615 <libm-alias-double.h>.
6616 (fabs): Define using libm_alias_double.
6617 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
6618 <libm-alias-double.h>.
6619 (lrint): Define using libm_alias_double.
6621 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
6622 <libm-alias-double.h>.
6623 (nearbyint): Define using libm_alias_double.
6624 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
6625 <libm-alias-double.h>.
6626 (rint): Define using libm_alias_double.
6629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
6631 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
6633 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6634 SPARC --disable-multi-arch glibc variants.
6636 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
6637 <libm-alias-float.h>.
6638 (exp2f): Define using libm_alias_float, or libm_alias_float_other
6640 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
6641 <libm-alias-float.h>.
6642 (exp2f): Define using libm_alias_float, or libm_alias_float_other
6644 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
6645 <libm-alias-float.h>.
6646 (exp2f): Define using libm_alias_float, or libm_alias_float_other
6648 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
6649 <libm-alias-float.h>.
6650 (exp2f): Define using libm_alias_float, or libm_alias_float_other
6652 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
6653 <libm-alias-float.h>.
6654 (exp2f): Define using libm_alias_float, or libm_alias_float_other
6656 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
6657 <libm-alias-float.h>.
6658 (ceilf): Define using libm_alias_float.
6659 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
6660 <libm-alias-float.h>.
6661 (floorf): Define using libm_alias_float.
6662 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
6663 <libm-alias-float.h>.
6664 (fmaf): Define using libm_alias_float.
6665 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
6666 <libm-alias-float.h>.
6667 (nearbyintf): Define using libm_alias_float.
6668 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
6669 <libm-alias-float.h>.
6670 (rintf): Define using libm_alias_float.
6671 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
6672 <libm-alias-float.h>.
6673 (truncf): Define using libm_alias_float.
6674 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
6675 (copysignf): Define using libm_alias_float.
6676 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
6677 (cosf): Define using libm_alias_float.
6678 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
6679 (fabsf): Define using libm_alias_float.
6680 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
6681 (fmaxf): Define using libm_alias_float.
6682 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
6683 (fminf): Define using libm_alias_float.
6684 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
6685 (llrintf): Define using libm_alias_float.
6686 [!__ILP32__] (lrintf): Likewise.
6687 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
6688 (sincosf): Define using libm_alias_float.
6689 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
6690 (sinf): Define using libm_alias_float.
6691 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
6692 (lrintf): Define using libm_alias_float.
6694 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
6695 <libm-alias-double.h>.
6696 (atan): Define using libm_alias_double.
6697 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
6698 <libm-alias-double.h>.
6699 (ceil): Define using libm_alias_double.
6700 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
6701 <libm-alias-double.h>.
6702 (floor): Define using libm_alias_double.
6703 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
6704 <libm-alias-double.h>.
6705 (fma): Define using libm_alias_double.
6706 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
6707 <libm-alias-double.h>.
6708 (nearbyint): Define using libm_alias_double.
6709 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
6710 <libm-alias-double.h>.
6711 (rint): Define using libm_alias_double.
6712 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
6713 <libm-alias-double.h>.
6714 (sin): Define using libm_alias_double.
6716 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
6717 <libm-alias-double.h>.
6718 (tan): Define using libm_alias_double.
6719 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
6720 <libm-alias-double.h>.
6721 (trunc): Define using libm_alias_double.
6722 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
6723 (copysign): Define using libm_alias_double.
6724 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
6725 (fabs): Define using libm_alias_double.
6726 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
6727 (fmax): Define using libm_alias_double.
6728 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
6729 (fmin): Define using libm_alias_double.
6730 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
6731 (llrint): Define using libm_alias_double.
6732 [!__ILP32__] (lrint): Likewise.
6733 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
6734 (lrint): Define using libm_alias_double.
6736 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6738 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6739 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
6741 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
6742 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6743 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
6744 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6745 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
6746 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6748 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6749 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
6751 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
6752 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
6753 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
6754 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
6755 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
6756 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6758 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6759 (libm-sysdep_routines): Add s_nearbyint-generic and
6760 s_nearbyintf-generic objects.
6761 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
6762 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
6763 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
6764 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
6765 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
6766 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
6768 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
6769 Add s_finitef-generic and s_finite-generic objects.
6770 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
6771 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
6772 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
6773 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
6774 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
6775 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
6777 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
6778 Add s_isinff-generic and s_isinf-generic objects.
6779 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
6780 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
6781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
6782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
6783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
6784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6786 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
6787 Add s_isnanf-generic and s_isnan-generic objects.
6788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
6789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
6790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
6791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
6792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
6793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6795 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
6797 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
6799 (sysdep_routines): Use sysdep_calls as base.
6800 (libm-sysdep_routines): Add generic rule for symbols shared with
6801 libc. Add s_signbit-generic and s_signbitf-generic objects.
6802 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
6803 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
6804 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
6805 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
6806 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
6807 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6809 2017-11-29 Joseph Myers <joseph@codesourcery.com>
6811 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
6812 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
6813 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
6814 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
6815 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
6816 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
6817 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
6818 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
6819 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
6820 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
6821 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
6822 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
6823 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
6825 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
6826 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
6828 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
6829 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
6830 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
6831 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
6832 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
6833 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
6834 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
6835 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
6836 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
6837 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
6839 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
6841 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
6842 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
6843 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
6844 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
6845 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
6846 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
6847 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
6848 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
6849 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
6850 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
6851 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
6852 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
6853 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
6854 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
6855 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
6856 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
6857 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
6858 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
6859 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
6861 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
6862 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
6863 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
6864 * sysdeps/ia64/fpu/w_lgammaf_main.c
6865 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
6866 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
6868 2017-11-28 Mike FABIAN <mfabian@redhat.com>
6869 Alexandre Oliva <aoliva@redhat.com>
6872 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
6873 * localedata/fr_CA.UTF-8.in: New file with test data for backward
6875 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
6877 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
6878 * localedata/locales/de_DE (LC_COLLATE): Likewise.
6879 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
6880 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
6881 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
6882 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
6883 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
6884 instead of “ifdef DIACRIT_BACKWARD”.
6886 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6888 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
6889 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
6890 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
6891 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
6892 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
6893 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
6894 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6895 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6896 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6897 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6898 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
6899 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
6900 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
6901 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
6902 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
6903 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
6904 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
6905 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
6906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6907 ($(have-as-vis3) == yes): Remove conditional.
6908 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
6910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
6912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
6914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
6916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
6918 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
6919 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
6920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
6921 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
6922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
6923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
6924 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
6925 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
6927 2017-11-29 Joseph Myers <joseph@codesourcery.com>
6929 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
6930 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
6931 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
6932 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
6933 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
6934 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
6935 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
6936 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
6937 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
6938 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
6939 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
6940 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
6941 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
6942 libm_alias_double_r.
6943 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
6945 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
6946 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
6947 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
6948 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
6949 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
6950 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
6951 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
6952 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
6953 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
6954 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
6955 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
6957 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
6959 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
6960 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
6961 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
6962 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
6963 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
6964 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
6965 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
6966 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
6967 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
6968 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
6969 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
6970 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
6971 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
6972 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
6973 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
6974 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
6975 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
6976 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
6978 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
6979 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
6980 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
6981 * sysdeps/ia64/fpu/w_lgamma_main.c
6982 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
6983 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
6985 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
6987 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
6988 address of $global$ into %dp register earlier. Use pc-relative
6989 instruction sequence for PIC case.
6991 2017-11-28 Joseph Myers <joseph@codesourcery.com>
6993 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
6994 (asinhf): Define using libm_alias_float.
6995 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
6996 (atanf): Define using libm_alias_float.
6997 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
6998 (cbrtf): Define using libm_alias_float.
6999 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
7000 (ceilf): Define using libm_alias_float.
7001 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
7002 (copysignf): Define using libm_alias_float.
7003 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
7004 (expm1f): Define using libm_alias_float.
7005 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
7006 (fabsf): Define using libm_alias_float.
7007 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
7008 (floorf): Define using libm_alias_float.
7009 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
7010 (fmaxf): Define using libm_alias_float.
7011 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
7012 (fminf): Define using libm_alias_float.
7013 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
7014 (frexpf): Define using libm_alias_float.
7015 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
7016 (llrintf): Define using libm_alias_float.
7017 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
7018 (logbf): Define using libm_alias_float.
7019 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
7020 (lrintf): Define using libm_alias_float.
7021 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
7022 (nearbyintf): Define using libm_alias_float.
7023 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
7024 (remquof): Define using libm_alias_float.
7025 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
7026 (rintf): Define using libm_alias_float.
7027 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
7028 (truncf): Define using libm_alias_float.
7029 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
7030 <libm-alias-float.h>.
7031 (exp2f): Define using libm_alias_float, or libm_alias_float_other
7033 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
7034 <libm-alias-float.h>.
7035 (expf): Define using libm_alias_float, or libm_alias_float_other
7037 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
7038 <libm-alias-float.h>.
7039 (log2f): Define using libm_alias_float, or libm_alias_float_other
7041 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
7042 <libm-alias-float.h>.
7043 (logf): Define using libm_alias_float, or libm_alias_float_other
7045 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
7046 <libm-alias-float.h>.
7047 (powf): Define using libm_alias_float, or libm_alias_float_other
7049 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
7050 <libm-alias-float.h>.
7051 (cosf): Define using libm_alias_float.
7052 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
7053 <libm-alias-float.h>.
7054 (sincosf): Define using libm_alias_float.
7055 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
7056 <libm-alias-float.h>.
7057 (sinf): Define using libm_alias_float.
7058 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
7059 (fmaxf): Define using libm_alias_float.
7060 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
7061 (fminf): Define using libm_alias_float.
7062 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
7063 <libm-alias-float.h>.
7064 (fmaf): Define using libm_alias_float.
7066 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
7067 (asinh): Define using libm_alias_double.
7068 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
7069 (atan): Define using libm_alias_double.
7070 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
7071 (cbrt): Define using libm_alias_double.
7072 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
7073 (ceil): Define using libm_alias_double.
7074 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
7075 (copysign): Define using libm_alias_double.
7076 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
7077 (expm1): Define using libm_alias_double.
7078 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
7079 (fabs): Define using libm_alias_double.
7080 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
7081 (fdim): Define using libm_alias_double.
7082 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
7083 (floor): Define using libm_alias_double.
7084 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
7085 (fmax): Define using libm_alias_double.
7086 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
7087 (fmin): Define using libm_alias_double.
7088 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
7089 (frexp): Define using libm_alias_double.
7090 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
7091 (llrint): Define using libm_alias_double.
7092 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
7093 (logb): Define using libm_alias_double.
7094 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
7095 (lrint): Define using libm_alias_double.
7096 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
7097 (nearbyint): Define using libm_alias_double.
7098 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
7099 (remquo): Define using libm_alias_double.
7100 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
7101 (rint): Define using libm_alias_double.
7102 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
7103 (trunc): Define using libm_alias_double.
7104 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
7105 (fmax): Define using libm_alias_double.
7106 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
7107 (fmin): Define using libm_alias_double.
7108 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
7109 (fma): Define using libm_alias_double.
7111 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
7114 * elf/dl-hwcaps.c (ROUND): Removed.
7115 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
7116 and ELF_NOTE_NEXT_OFFSET.
7117 * elf/dl-load.c (ROUND): Removed.
7118 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
7119 * elf/readelflib.c (ROUND): Removed.
7120 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
7121 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
7122 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
7123 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
7125 2017-11-28 Joseph Myers <joseph@codesourcery.com>
7127 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
7128 [!__fmaf] (fmaf): Define using libm_alias_float.
7130 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
7131 [!__fma] (fma): Define using libm_alias_double.
7132 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
7134 2017-11-28 Mike FABIAN <mfabian@redhat.com>
7137 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
7138 and implement the collation rules for cs from CLDR on top of that.
7139 * Makefile: Add cs_CZ.UTF-8 to test-input.
7140 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
7142 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
7144 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
7146 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
7147 Icarus Sparry <icarus.w.sparry@intel.com>
7149 * benchtests/Makefile:Add BENCHSET to allow subsets of
7150 benchmarks to be run.
7151 * benchtests/README: Add documentation for: Running subsets of
7154 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
7156 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
7157 range of tests names.
7159 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
7160 result from property and remove "max", min" and "mean" from
7161 required properties based on benchtests/bench-skeleton.c.
7163 2017-11-28 Florian Weimer <fweimer@redhat.com>
7166 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
7167 due to Internet requirement.
7168 * posix/Makefile (tests): Remove tst-getaddrinfo4,
7170 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
7172 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7174 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
7175 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
7176 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
7177 (sysdep_routines): Add memset-ultra1.
7178 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
7180 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
7181 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
7182 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
7183 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
7184 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
7185 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
7186 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
7187 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7189 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
7191 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
7192 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
7193 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
7194 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
7195 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
7196 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
7197 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
7199 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
7200 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
7201 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
7202 (sysdep_routines): Add memcpy-ultra1.
7203 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
7204 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
7206 2017-11-28 Joseph Myers <joseph@codesourcery.com>
7208 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
7209 (cfloat_versions): Take function argument without trailing 'f'.
7210 Call libm_alias_float_other.
7211 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
7212 * sysdeps/alpha/fpu/cargf.c: Likewise.
7213 * sysdeps/alpha/fpu/cimagf.c: Likewise.
7214 * sysdeps/alpha/fpu/conjf.c: Likewise.
7215 * sysdeps/alpha/fpu/crealf.c: Likewise.
7216 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
7217 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
7218 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
7219 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
7220 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
7221 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
7222 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
7223 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
7224 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
7225 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
7226 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
7227 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
7228 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
7229 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
7230 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
7231 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
7232 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
7233 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
7234 (clog10f): Use libm_alias_float_other.
7235 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
7236 (ceilf): Define using libm_alias_float.
7237 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
7238 (copysignf): Define using libm_alias_float.
7239 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
7240 (fabsf): Define using libm_alias_float.
7241 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
7242 (floorf): Define using libm_alias_float.
7243 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
7244 (fmaxf): Define using libm_alias_float.
7245 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
7246 (fminf): Define using libm_alias_float.
7247 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
7248 (lrintf): Define using libm_alias_float.
7249 (llrintf): Likewise.
7250 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
7251 (lroundf): Define using libm_alias_float.
7252 (llroundf): Likewise.
7253 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
7254 (rintf): Define using libm_alias_float.
7255 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
7256 (truncf): Define using libm_alias_float.
7258 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
7259 (ceilf): Define using libm_alias_float.
7260 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
7261 (floorf): Define using libm_alias_float.
7262 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
7263 (fmaf): Define using libm_alias_float.
7264 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
7265 (fmaxf): Define using libm_alias_float.
7266 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
7267 (fminf): Define using libm_alias_float.
7268 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
7269 (llrintf): Define using libm_alias_float.
7270 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
7271 (llroundf): Define using libm_alias_float.
7272 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
7273 (lrintf): Define using libm_alias_float.
7274 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
7275 (lroundf): Define using libm_alias_float.
7276 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
7277 <libm-alias-float.h>.
7278 (nearbyintf): Define using libm_alias_float.
7279 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
7280 (rintf): Define using libm_alias_float.
7281 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
7282 (roundf): Define using libm_alias_float.
7283 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
7284 (truncf): Define using libm_alias_float.
7286 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
7287 (ceil): Define using libm_alias_double.
7288 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
7289 (copysign): Define using libm_alias_double.
7290 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
7291 (fabs): Define using libm_alias_double.
7292 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
7293 (floor): Define using libm_alias_double.
7294 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
7295 (fmax): Define using libm_alias_double.
7296 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
7297 (fmin): Define using libm_alias_double.
7298 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
7299 (lrint): Define using libm_alias_double.
7301 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
7302 (lround): Define using libm_alias_double.
7303 (llround): Likewise.
7304 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
7305 (rint): Define using libm_alias_double.
7306 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
7307 (trunc): Define using libm_alias_double.
7309 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
7310 (libm_alias_double_r): Add semicolon after weak_alias call.
7312 2017-11-27 Joseph Myers <joseph@codesourcery.com>
7314 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
7315 (ceil): Define using libm_alias_double.
7316 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
7317 (floor): Define using libm_alias_double.
7318 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
7319 (fma): Define using libm_alias_double.
7320 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
7321 (fmax): Define using libm_alias_double.
7322 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
7323 (fmin): Define using libm_alias_double.
7324 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
7325 (llrint): Define using libm_alias_double.
7326 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
7327 (llround): Define using libm_alias_double.
7328 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
7329 (lrint): Define using libm_alias_double.
7330 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
7331 (lround): Define using libm_alias_double.
7332 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
7333 (nearbyint): Define using libm_alias_double.
7334 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
7335 (rint): Define using libm_alias_double.
7336 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
7337 (round): Define using libm_alias_double.
7338 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
7339 (trunc): Define using libm_alias_double.
7341 2017-11-27 Florian Weimer <fweimer@redhat.com>
7343 * sysdeps/unix/sysv/linux/mlock2.c: New file.
7344 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
7345 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
7346 (tests): Add tst-mlock2.
7347 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
7348 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
7349 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
7350 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
7351 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
7352 for mlock. Document mlock2.
7354 2017-11-27 Joseph Myers <joseph@codesourcery.com>
7356 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
7357 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
7359 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
7361 * sysdeps/x86/Makeconfig: New file.
7362 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
7363 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7364 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
7365 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7366 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
7367 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7368 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
7370 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7371 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
7372 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7373 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
7374 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7375 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
7376 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
7377 * manual/math.texi (Mathematics): Document support for _Float64x.
7378 * math/Versions (GLIBC_2.27): Add _Float64x functions.
7379 * stdlib/Versions (GLIBC_2.27): Likewise.
7380 * wcsmbs/Versions (GLIBC_2.27): Likewise.
7381 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
7382 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7383 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7384 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7385 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7386 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7387 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7388 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7389 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7390 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7391 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7396 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7397 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7398 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7399 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7400 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7401 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7402 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7403 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7404 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7405 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7406 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7407 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7408 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7409 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7411 2017-11-27 Andreas Schwab <schwab@suse.de>
7413 * elf/Makefile (dl-routines): Add dl-sort-maps.
7414 * elf/dl-sort-maps.c: New file.
7415 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
7416 (_dl_sort_maps): Declare.
7417 * elf/dl-fini.c (_dl_sort_fini): Remove.
7418 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
7419 * elf/dl-close.c (_dl_close_worker): Likewise.
7420 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
7422 * elf/dl-open.c (dl_open_worker): Likewise.
7424 2017-11-24 Joseph Myers <joseph@codesourcery.com>
7426 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
7427 using libm_alias_float128.
7428 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
7430 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
7432 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
7433 (setpayloadsigf128): Likewise.
7434 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
7436 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
7439 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
7440 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
7441 -mfloat128 to CFLAGS.
7443 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
7445 (CFLAGS-libm-test-support-float64x.c): New variable.
7446 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
7447 $(f128-loader-link) to gnulib-tests.
7449 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
7450 (libm_alias_float128_other_r): If
7451 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
7453 (libm_alias_float128_r): Add semicolon after weak_alias call.
7454 * sysdeps/generic/libm-alias-ldouble.h
7455 (libm_alias_ldouble_other_r_f128): New macro.
7456 (libm_alias_ldouble_other_r_f64x): Likewise.
7457 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
7458 and libm_alias_ldouble_other_r_f64x.
7459 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
7460 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
7461 (libm_alias_ldouble_other_r_f128): New macro.
7462 (libm_alias_ldouble_other_r_f64x): Likewise.
7463 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
7464 and libm_alias_ldouble_other_r_f64x.
7466 * stdlib/strfroml.c: Always include <stdlib.h>.
7467 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
7468 undefine as macro and define as weak alias.
7469 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
7470 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
7472 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
7473 Define and later undefine as macro and define as weak alias.
7475 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
7476 Define and later undefine as macro. Define as weak alias if
7478 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
7479 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
7480 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
7481 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
7482 Define and later undefine as macro. Define as weak alias if
7484 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
7485 Define and later undefine as macro. Define as weak alias if
7487 * sysdeps/ieee754/float128/strtof128_l.c
7488 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
7489 Define and later undefine as macro. Define as weak alias if
7491 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
7492 Define and later undefine as macro. Define as weak alias if
7494 * sysdeps/ieee754/ldbl-128/strtold_l.c
7495 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
7496 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
7497 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
7498 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
7499 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
7500 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
7501 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
7502 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
7503 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
7504 * sysdeps/ieee754/ldbl-96/strtold_l.c
7505 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
7506 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
7507 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
7508 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
7510 * math/test-float64x.h: New file.
7511 * math/Makefile (type-float64x-yes): New variable.
7512 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
7514 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
7515 function-like macro.
7516 (min_of_type_): Likewise.
7517 (min_of_type_l): Likewise.
7518 (min_of_type_f128): Likewise.
7519 (min_of_type): Pass () as last argument of __MATH_TG.
7521 * stdlib/tst-strtod-round-skeleton.c
7522 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
7525 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
7526 for combinations of long double with _Float64 and _Float64x.
7528 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
7529 (__DECL_SIMD_cosf32): Likewise.
7530 (__DECL_SIMD_cosf64): Likewise.
7531 (__DECL_SIMD_cosf32x): Likewise.
7532 (__DECL_SIMD_cosf64x): Likewise.
7533 (__DECL_SIMD_cosf128x): Likewise.
7534 (__DECL_SIMD_sinf16): Likewise.
7535 (__DECL_SIMD_sinf32): Likewise.
7536 (__DECL_SIMD_sinf64): Likewise.
7537 (__DECL_SIMD_sinf32x): Likewise.
7538 (__DECL_SIMD_sinf64x): Likewise.
7539 (__DECL_SIMD_sinf128x): Likewise.
7540 (__DECL_SIMD_sincosf16): Likewise.
7541 (__DECL_SIMD_sincosf32): Likewise.
7542 (__DECL_SIMD_sincosf64): Likewise.
7543 (__DECL_SIMD_sincosf32x): Likewise.
7544 (__DECL_SIMD_sincosf64x): Likewise.
7545 (__DECL_SIMD_sincosf128x): Likewise.
7546 (__DECL_SIMD_logf16): Likewise.
7547 (__DECL_SIMD_logf32): Likewise.
7548 (__DECL_SIMD_logf64): Likewise.
7549 (__DECL_SIMD_logf32x): Likewise.
7550 (__DECL_SIMD_logf64x): Likewise.
7551 (__DECL_SIMD_logf128x): Likewise.
7552 (__DECL_SIMD_expf16): Likewise.
7553 (__DECL_SIMD_expf32): Likewise.
7554 (__DECL_SIMD_expf64): Likewise.
7555 (__DECL_SIMD_expf32x): Likewise.
7556 (__DECL_SIMD_expf64x): Likewise.
7557 (__DECL_SIMD_expf128x): Likewise.
7558 (__DECL_SIMD_powf16): Likewise.
7559 (__DECL_SIMD_powf32): Likewise.
7560 (__DECL_SIMD_powf64): Likewise.
7561 (__DECL_SIMD_powf32x): Likewise.
7562 (__DECL_SIMD_powf64x): Likewise.
7563 (__DECL_SIMD_powf128x): Likewise.
7565 * stdlib/Versions (libc): Move entries for wcstof128 and
7567 * wcsmbs/Versions (libc): ... here.
7568 Include <float128-abi.h>.
7570 2017-11-24 Florian Weimer <fweimer@redhat.com>
7572 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7574 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
7575 <bits/mman-shared.h>.
7576 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
7578 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
7579 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
7580 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7581 <bits/mman-shared.h>.
7583 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7586 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
7587 posix_memalign/free.
7588 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
7590 2017-11-22 Mike FABIAN <mfabian@redhat.com>
7593 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
7594 and implement the collation rules for pl from CLDR on top of that.
7595 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
7596 of locales to be built for testing.
7597 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
7599 2017-11-23 Joseph Myers <joseph@codesourcery.com>
7601 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
7602 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
7603 libm_alias_ldouble_other.
7604 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
7605 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
7606 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
7607 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
7608 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
7609 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
7610 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
7611 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
7612 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
7613 libm_alias_ldouble_r.
7614 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
7615 libm_alias_ldouble_other.
7616 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
7618 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
7619 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
7620 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
7621 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
7622 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
7623 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
7624 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
7626 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
7627 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
7628 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
7630 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
7632 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
7633 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
7634 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
7636 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
7637 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
7638 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
7639 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
7640 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
7641 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
7642 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
7643 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
7644 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
7645 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
7646 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
7648 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
7649 libm_alias_ldouble_other.
7650 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
7651 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
7652 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
7654 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
7655 libm_alias_ldouble_other.
7656 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
7657 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
7658 * sysdeps/ia64/fpu/w_lgammal_main.c
7659 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
7660 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
7662 2017-11-23 Florian Weimer <fweimer@redhat.com>
7664 * malloc/malloc.c (tcache_thread_shutdown): Rename from
7665 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
7666 alike. Remove freeres marker.
7667 * malloc/arena.c (arena_thread_freeres): Call
7668 tcache_thread_shutdown.
7670 2017-11-23 Florian Weimer <fweimer@redhat.com>
7673 Export nscd hash function as __nss_hash.
7674 * include/nss.h (__nss_hash): Declare.
7675 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
7677 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
7678 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
7680 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
7681 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
7682 * nss/Makefiles (routines): Add nss_hash.
7683 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
7684 * nss/nss_hash.c: Rename from nis/nis_hash.c.
7685 (__nss_hash): Rename from __nis_hash. Define hidden alias.
7686 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
7688 2017-11-23 Florian Weimer <fweimer@redhat.com>
7691 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
7692 Return error code, not -1.
7693 * signal/tst-sigwait-eintr.c: New file.
7694 * signal/Makefile (tests): Add tst-sigwait-eintr.
7696 2017-11-23 Florian Weimer <fweimer@redhat.com>
7698 Linux: Add memfd_create system call wrapper
7699 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
7701 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7702 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
7703 [__USE_GNU] (memfd_create): Declare.
7704 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
7705 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
7706 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
7707 * sysdeps/unix/sysv/linux/**.abilist: Update.
7708 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
7710 2017-11-22 Joseph Myers <joseph@codesourcery.com>
7712 * localedata/gen-locale.sh: Fix typo in variable name.
7714 * resolv/res_debug.c (p_secstodate): Condition definition on
7715 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
7716 directly as __p_secstodate, and as a compat symbol. Do not use
7717 libresolv_hidden_def.
7718 * resolv/resolv.h (p_secstodate): Remove macro and function
7720 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
7722 * include/resolv.h (__p_secstodate): Do not use
7723 libresolv_hidden_proto.
7724 * resolv/Makefile (tests): Move tst-p_secstodate to ....
7725 (tests-internal): ... here.
7726 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
7727 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
7728 and declare and use __p_secstodate and use compat_symbol_reference
7730 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
7731 implementation returning 77.
7734 * resolv/res_debug.c: Include <libc-diag.h>.
7735 (p_secstodate): Assert time_t at least as wide as u_long. On
7736 overflow, use integer seconds since the epoch as output, or use
7737 "<overflow>" as output and set errno to EOVERFLOW if integer
7738 seconds since the epoch would be 14 or more characters.
7739 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
7741 * resolv/tst-p_secstodate.c: New file.
7742 * resolv/Makefile (tests): Add tst-p_secstodate.
7743 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
7745 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
7746 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7747 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
7749 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
7751 * posix/regcomp.c (init_word_char): Add comments.
7753 2017-11-22 Joseph Myers <joseph@codesourcery.com>
7756 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
7757 strlen to compute length of ut_user and set trailing NUL byte of
7760 2017-11-21 Mike FABIAN <mfabian@redhat.com>
7763 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
7764 using “copy "iso14651_t1"” and then implementing the
7765 collation rules for lv from CLDR on top of that.
7766 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
7767 of locales to be built for testing.
7768 * lv_LV.UTF-8.in: New file with test data to test the Latvian
7771 2017-11-21 Joseph Myers <joseph@codesourcery.com>
7773 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
7774 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
7775 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
7776 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
7777 [__USE_MISC] (MADV_HWPOISON): New macro.
7778 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
7780 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7782 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
7783 -Wmissing-braces on GCC 4.9.
7785 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
7787 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
7788 * sysdeps/s390/s390-32/start.S (_start): Likewise
7789 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
7790 (thread_start): Likewise.
7791 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
7792 (thread_start): Likewise.
7793 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
7794 (__makecontext_ret): Likewise.
7795 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
7796 (__makecontext_ret): Likewise.
7798 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
7800 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
7801 __wcschrnul): Remove attribute_hidden.
7803 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
7805 regex: don't assume uint64_t or uint32_t
7806 This avoids -Werror=overflow errors for 32-bit systems in
7807 the 64-bit case. Problem reported by Joseph Myers in:
7808 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
7809 Also, when this code is used in Gnulib it ports to platforms
7810 that lack uint64_t and uint32_t. The C standard doesn't guarantee
7811 them, and on some 32-bit compilers there is no uint64_t.
7812 Problem reported by Gianluigi Tiesi in:
7813 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
7814 * posix/regcomp.c (init_word_char): Don't assume that the types
7815 uint64_t and uint32_t exist. Adapted from Gnulib patch
7816 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
7817 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
7819 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
7821 * sysdeps/aarch64/memset-reg.h: New file.
7822 * sysdeps/aarch64/memset.S: Use it.
7823 (__memset): Rename to MEMSET macro.
7824 [ZVA_MACRO]: Use zva_macro.
7825 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
7826 Add memset_generic and memset_falkor.
7827 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7828 (__libc_ifunc_impl_list): Add memset ifuncs.
7829 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
7830 local variable zva_size.
7831 * sysdeps/aarch64/multiarch/memset.c: New file.
7832 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
7833 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
7834 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
7835 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7836 (DCZID_DZP_MASK): New macro.
7837 (DCZID_BS_MASK): Likewise.
7838 (init_cpu_features): Read and set zva_size.
7839 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
7840 (struct cpu_features): New member zva_size.
7842 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
7843 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
7844 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
7846 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
7847 backwards. Fix timing computation.
7848 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
7849 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
7850 on memset by N at a time. Fix timing computation.
7852 2017-11-20 Florian Weimer <fweimer@redhat.com>
7854 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
7855 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
7857 2017-11-19 Florian Weimer <fweimer@redhat.com>
7859 manual: Document mprotect
7860 * manual/memory.texi (Memory Protection): New section.
7861 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
7862 documentation of PROT_* flags and reference the Memory Protection
7865 2017-11-19 Florian Weimer <fweimer@redhat.com>
7867 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
7868 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
7869 (Scatter-Gather): ... to here. Remove misleading comment.
7871 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
7873 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
7876 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
7877 when /proc/<pid>/setgroups does not exist.
7879 2017-11-18 Florian Weimer <fweimer@redhat.com>
7881 * sysdeps/unix/sysv/linux/tst-ttyname.c
7882 (become_root_in_mount_ns): Remove.
7883 (do_in_chroot_1): Call support_enter_mount_namespace.
7884 (do_in_chroot_2): Likewise.
7885 (do_test): Call support_become_root early.
7887 2017-11-18 Florian Weimer <fweimer@redhat.com>
7889 * support/namespace.h (support_enter_mount_namespace): Declare.
7890 * support/support_enter_mount_namespace.c: New file.
7891 * support/Makefile (libsupport-routines): Add
7892 support_enter_mount_namespace.
7894 2017-11-18 Florian Weimer <fweimer@redhat.com>
7896 * support/temp_file.c (support_create_temp_directory): Use
7897 test_dir and do not rely on the presence of the XXXXXX suffix.
7898 * support/temp_file.h (support_create_temp_directory): Update
7900 * support/tst-xreadlink.c (do_test): Adjust.
7901 * support/support_chroot.c (support_chroot_create): Likewise.
7903 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7905 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
7907 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
7910 2017-11-17 Joseph Myers <joseph@codesourcery.com>
7912 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
7913 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
7914 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
7915 (ceill): Define using libm_alias_ldouble.
7916 * sysdeps/x86_64/fpu/s_copysignl.S: Include
7917 <libm-alias-ldouble.h>.
7918 (copysignl): Define using libm_alias_ldouble.
7919 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
7920 (fabsl): Define using libm_alias_ldouble.
7921 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
7922 (floorl): Define using libm_alias_ldouble.
7923 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
7924 (fmaxl): Define using libm_alias_ldouble.
7925 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
7926 (fminl): Define using libm_alias_ldouble.
7927 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
7928 (llrintl): Define using libm_alias_ldouble.
7930 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
7931 <libm-alias-ldouble.h>.
7932 (nearbyintl): Define using libm_alias_ldouble.
7933 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
7934 (truncl): Define using libm_alias_ldouble.
7935 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
7936 <libm-alias-ldouble.h>.
7937 (lrintl): Define using libm_alias_ldouble.
7939 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
7940 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
7941 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
7942 (asinhl): Define using libm_alias_ldouble.
7943 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
7944 (atanl): Define using libm_alias_ldouble.
7945 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
7946 (cbrtl): Define using libm_alias_ldouble.
7947 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
7948 (ceill): Define using libm_alias_ldouble.
7949 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
7950 (copysignl): Define using libm_alias_ldouble.
7951 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
7952 (fabsl): Define using libm_alias_ldouble.
7953 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
7954 (floorl): Define using libm_alias_ldouble.
7955 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
7956 (fmaxl): Define using libm_alias_ldouble.
7957 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
7958 (fminl): Define using libm_alias_ldouble.
7959 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
7960 (frexpl): Define using libm_alias_ldouble.
7961 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
7962 (llrintl): Define using libm_alias_ldouble.
7963 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
7964 (logbl): Define using libm_alias_ldouble.
7965 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
7966 (lrintl): Define using libm_alias_ldouble.
7967 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
7968 (nearbyintl): Define using libm_alias_ldouble.
7969 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
7970 (nextafterl): Define using libm_alias_ldouble.
7971 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
7972 (remquol): Define using libm_alias_ldouble.
7973 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
7974 (rintl): Define using libm_alias_ldouble.
7975 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
7976 (truncl): Define using libm_alias_ldouble.
7977 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
7978 (fmaxl): Define using libm_alias_ldouble.
7979 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
7980 (fminl): Define using libm_alias_ldouble.
7982 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
7983 to C syntax instead of availability and properties of types.
7984 * bits/floatn.h [!__ASSEMBLER]: Likewise.
7985 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
7986 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
7987 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
7988 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
7989 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
7991 2017-11-17 Florian Weimer <fweimer@redhat.com>
7993 support_become_root: Enable file creation in namespaces.
7994 * support/support_become_root.c (setup_mapping): New function.
7995 (support_become_root): Call it.
7997 2017-11-17 Joseph Myers <joseph@codesourcery.com>
7999 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
8002 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8004 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
8005 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
8007 2017-11-16 Joseph Myers <joseph@codesourcery.com>
8009 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
8011 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8014 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
8016 * INSTALL: Fix botched up regeneration.
8018 * NEWS: Update sourceare link to https.
8019 * configure.ac: Likewise.
8020 * crypt/md5test-giant.c: Likewise.
8021 * dlfcn/bug-atexit1.c: Likewise.
8022 * dlfcn/bug-atexit2.c: Likewise.
8023 * localedata/README: Likewise.
8024 * malloc/tst-mallocfork.c: Likewise.
8025 * manual/install.texi: Likewise.
8026 * nptl/tst-pthread-getattr.c: Likewise.
8027 * stdio-common/tst-fgets.c: Likewise.
8028 * stdio-common/tst-fwrite.c: Likewise.
8029 * sunrpc/Makefile: Likewise.
8030 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
8031 * wcsmbs/tst-mbrtowc2.c: Likewise.
8032 * configure: Regenerate.
8033 * INSTALL: Regenerate.
8035 2017-11-15 Martin Sebor <msebor@redhat.com>
8037 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
8038 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
8039 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
8041 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
8044 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
8045 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
8048 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
8049 Defer is_pty check until end of the function.
8050 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8053 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
8054 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
8055 (ttyname): Likewise.
8056 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
8057 (__ttyname_r): Likewise.
8059 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
8062 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
8064 * manual/terminal.texi (Is It a Terminal):
8065 Mention ENODEV for ttyname and ttyname_r.
8067 2017-11-15 Joseph Myers <joseph@codesourcery.com>
8069 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
8072 * sysdeps/unix/sysv/linux/bits/mman-linux.h
8073 [__USE_MISC] (MADV_WIPEONFORK): New macro.
8074 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8075 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
8076 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8077 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8079 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8081 * signal/sigrelse.c (sigrelse): Optimize implementation.
8083 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
8084 (__sigpause): Rely on __sigsuspend to implement single thread
8085 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
8087 2017-11-15 Joseph Myers <joseph@codesourcery.com>
8089 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8090 kernel version to 4.14.
8092 2017-11-15 Steve Ellcey <sellcey@cavium.com>
8095 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
8096 Check if ifname is too long.
8098 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
8100 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
8102 2017-11-15 Mike FABIAN <mfabian@redhat.com>
8104 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
8105 was accidentally lost.
8107 2017-11-15 Mike FABIAN <mfabian@redhat.com>
8109 * localedata/locales/az_IR: Add standard copyright header.
8111 2017-11-15 Florian Weimer <fweimer@redhat.com>
8114 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
8115 not just the top one. Output a new "subheaps" statistic.
8117 2017-11-15 Florian Weimer <fweimer@redhat.com>
8120 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
8121 under the per-arena lock.
8122 * malloc/Makefile (tests): Add tst-malloc_info.
8123 (tst-malloc_info): Link with libpthread.
8124 * malloc/tst-malloc_info.c: New file.
8126 2017-11-15 Joseph Myers <joseph@codesourcery.com>
8129 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
8130 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
8131 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
8132 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
8133 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
8134 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
8135 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
8136 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
8137 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
8138 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
8139 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
8140 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
8141 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
8142 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
8143 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
8144 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
8145 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
8146 (__floating_type): Likewise.
8147 (__real_integer_type): Likewise.
8148 (__complex_integer_type): Likewise.
8149 (__expr_is_real): Likewise.
8150 (__tgmath_real_type_sub): Likewise.
8151 (__tgmath_real_type): Likewise.
8152 (__tgmath_complex_type_sub): Likewise.
8153 (__tgmath_complex_type): Likewise.
8154 (__TGMATH_F128): Likewise.
8155 (__TGMATH_CF128): Likewise.
8156 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
8158 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
8159 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
8161 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
8163 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
8164 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
8165 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
8166 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
8168 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
8169 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
8171 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
8172 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
8173 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
8175 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
8176 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
8177 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
8181 2017-11-14 Joseph Myers <joseph@codesourcery.com>
8183 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
8184 for stpncpy calls for GCC 8.
8185 (test_strncat): Disable -Wstringop-truncation warning for strncat
8186 calls for GCC 8. Disable -Wstringop-overflow= warning for one
8187 strncat call for GCC 7.
8188 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
8190 (test_memcmp): Use memcpy instead of strncpy for calls not copying
8193 * string/bug-strncat1.c: Include <libc-diag.h>.
8194 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
8196 2017-11-13 Claude Paroz <claude@2xlibre.net>
8199 * localedata/locales/aa_DJ: Improved readibility by replacing
8200 <Uxxxx> sequences in the ASCII printable range by their ASCII
8201 character equivalents.
8202 * localedata/locales/aa_ER: Likewise.
8203 * localedata/locales/aa_ER@saaho: Likewise.
8204 * localedata/locales/aa_ET: Likewise.
8205 * localedata/locales/af_ZA: Likewise.
8206 * localedata/locales/agr_PE: Likewise.
8207 * localedata/locales/ak_GH: Likewise.
8208 * localedata/locales/am_ET: Likewise.
8209 * localedata/locales/anp_IN: Likewise.
8210 * localedata/locales/ar_AE: Likewise.
8211 * localedata/locales/ar_BH: Likewise.
8212 * localedata/locales/ar_DZ: Likewise.
8213 * localedata/locales/ar_EG: Likewise.
8214 * localedata/locales/ar_IN: Likewise.
8215 * localedata/locales/ar_IQ: Likewise.
8216 * localedata/locales/ar_JO: Likewise.
8217 * localedata/locales/ar_KW: Likewise.
8218 * localedata/locales/ar_LB: Likewise.
8219 * localedata/locales/ar_LY: Likewise.
8220 * localedata/locales/ar_MA: Likewise.
8221 * localedata/locales/ar_OM: Likewise.
8222 * localedata/locales/ar_QA: Likewise.
8223 * localedata/locales/ar_SA: Likewise.
8224 * localedata/locales/ar_SD: Likewise.
8225 * localedata/locales/ar_SS: Likewise.
8226 * localedata/locales/ar_SY: Likewise.
8227 * localedata/locales/ar_TN: Likewise.
8228 * localedata/locales/ar_YE: Likewise.
8229 * localedata/locales/as_IN: Likewise.
8230 * localedata/locales/ast_ES: Likewise.
8231 * localedata/locales/ayc_PE: Likewise.
8232 * localedata/locales/az_AZ: Likewise.
8233 * localedata/locales/az_IR: Likewise.
8234 * localedata/locales/be_BY: Likewise.
8235 * localedata/locales/be_BY@latin: Likewise.
8236 * localedata/locales/bem_ZM: Likewise.
8237 * localedata/locales/ber_DZ: Likewise.
8238 * localedata/locales/ber_MA: Likewise.
8239 * localedata/locales/bg_BG: Likewise.
8240 * localedata/locales/bhb_IN: Likewise.
8241 * localedata/locales/bho_IN: Likewise.
8242 * localedata/locales/bi_VU: Likewise.
8243 * localedata/locales/bn_BD: Likewise.
8244 * localedata/locales/bn_IN: Likewise.
8245 * localedata/locales/bo_CN: Likewise.
8246 * localedata/locales/bo_IN: Likewise.
8247 * localedata/locales/br_FR: Likewise.
8248 * localedata/locales/brx_IN: Likewise.
8249 * localedata/locales/bs_BA: Likewise.
8250 * localedata/locales/byn_ER: Likewise.
8251 * localedata/locales/ca_AD: Likewise.
8252 * localedata/locales/ca_ES: Likewise.
8253 * localedata/locales/ca_FR: Likewise.
8254 * localedata/locales/ca_IT: Likewise.
8255 * localedata/locales/ce_RU: Likewise.
8256 * localedata/locales/chr_US: Likewise.
8257 * localedata/locales/cmn_TW: Likewise.
8258 * localedata/locales/crh_UA: Likewise.
8259 * localedata/locales/cs_CZ: Likewise.
8260 * localedata/locales/csb_PL: Likewise.
8261 * localedata/locales/cv_RU: Likewise.
8262 * localedata/locales/cy_GB: Likewise.
8263 * localedata/locales/da_DK: Likewise.
8264 * localedata/locales/de_AT: Likewise.
8265 * localedata/locales/de_BE: Likewise.
8266 * localedata/locales/de_CH: Likewise.
8267 * localedata/locales/de_DE: Likewise.
8268 * localedata/locales/de_IT: Likewise.
8269 * localedata/locales/de_LI: Likewise.
8270 * localedata/locales/de_LU: Likewise.
8271 * localedata/locales/doi_IN: Likewise.
8272 * localedata/locales/dv_MV: Likewise.
8273 * localedata/locales/dz_BT: Likewise.
8274 * localedata/locales/el_CY: Likewise.
8275 * localedata/locales/el_GR: Likewise.
8276 * localedata/locales/en_AG: Likewise.
8277 * localedata/locales/en_AU: Likewise.
8278 * localedata/locales/en_BW: Likewise.
8279 * localedata/locales/en_CA: Likewise.
8280 * localedata/locales/en_DK: Likewise.
8281 * localedata/locales/en_GB: Likewise.
8282 * localedata/locales/en_HK: Likewise.
8283 * localedata/locales/en_IE: Likewise.
8284 * localedata/locales/en_IL: Likewise.
8285 * localedata/locales/en_IN: Likewise.
8286 * localedata/locales/en_NG: Likewise.
8287 * localedata/locales/en_NZ: Likewise.
8288 * localedata/locales/en_PH: Likewise.
8289 * localedata/locales/en_SG: Likewise.
8290 * localedata/locales/en_US: Likewise.
8291 * localedata/locales/en_ZA: Likewise.
8292 * localedata/locales/en_ZM: Likewise.
8293 * localedata/locales/en_ZW: Likewise.
8294 * localedata/locales/eo: Likewise.
8295 * localedata/locales/es_AR: Likewise.
8296 * localedata/locales/es_BO: Likewise.
8297 * localedata/locales/es_CL: Likewise.
8298 * localedata/locales/es_CO: Likewise.
8299 * localedata/locales/es_CR: Likewise.
8300 * localedata/locales/es_CU: Likewise.
8301 * localedata/locales/es_DO: Likewise.
8302 * localedata/locales/es_EC: Likewise.
8303 * localedata/locales/es_ES: Likewise.
8304 * localedata/locales/es_GT: Likewise.
8305 * localedata/locales/es_HN: Likewise.
8306 * localedata/locales/es_MX: Likewise.
8307 * localedata/locales/es_NI: Likewise.
8308 * localedata/locales/es_PA: Likewise.
8309 * localedata/locales/es_PE: Likewise.
8310 * localedata/locales/es_PR: Likewise.
8311 * localedata/locales/es_PY: Likewise.
8312 * localedata/locales/es_SV: Likewise.
8313 * localedata/locales/es_US: Likewise.
8314 * localedata/locales/es_UY: Likewise.
8315 * localedata/locales/es_VE: Likewise.
8316 * localedata/locales/et_EE: Likewise.
8317 * localedata/locales/eu_ES: Likewise.
8318 * localedata/locales/eu_ES@euro: Likewise.
8319 * localedata/locales/fa_IR: Likewise.
8320 * localedata/locales/ff_SN: Likewise.
8321 * localedata/locales/fi_FI: Likewise.
8322 * localedata/locales/fil_PH: Likewise.
8323 * localedata/locales/fo_FO: Likewise.
8324 * localedata/locales/fr_BE: Likewise.
8325 * localedata/locales/fr_CA: Likewise.
8326 * localedata/locales/fr_CH: Likewise.
8327 * localedata/locales/fr_FR: Likewise.
8328 * localedata/locales/fr_LU: Likewise.
8329 * localedata/locales/fur_IT: Likewise.
8330 * localedata/locales/fy_DE: Likewise.
8331 * localedata/locales/fy_NL: Likewise.
8332 * localedata/locales/ga_IE: Likewise.
8333 * localedata/locales/gd_GB: Likewise.
8334 * localedata/locales/gez_ER: Likewise.
8335 * localedata/locales/gez_ET: Likewise.
8336 * localedata/locales/gl_ES: Likewise.
8337 * localedata/locales/gu_IN: Likewise.
8338 * localedata/locales/gv_GB: Likewise.
8339 * localedata/locales/ha_NG: Likewise.
8340 * localedata/locales/hak_TW: Likewise.
8341 * localedata/locales/he_IL: Likewise.
8342 * localedata/locales/hi_IN: Likewise.
8343 * localedata/locales/hif_FJ: Likewise.
8344 * localedata/locales/hne_IN: Likewise.
8345 * localedata/locales/hr_HR: Likewise.
8346 * localedata/locales/hsb_DE: Likewise.
8347 * localedata/locales/ht_HT: Likewise.
8348 * localedata/locales/hu_HU: Likewise.
8349 * localedata/locales/hy_AM: Likewise.
8350 * localedata/locales/i18n: Likewise.
8351 * localedata/locales/ia_FR: Likewise.
8352 * localedata/locales/id_ID: Likewise.
8353 * localedata/locales/ig_NG: Likewise.
8354 * localedata/locales/ik_CA: Likewise.
8355 * localedata/locales/is_IS: Likewise.
8356 * localedata/locales/it_CH: Likewise.
8357 * localedata/locales/it_IT: Likewise.
8358 * localedata/locales/iu_CA: Likewise.
8359 * localedata/locales/ja_JP: Likewise.
8360 * localedata/locales/ka_GE: Likewise.
8361 * localedata/locales/kk_KZ: Likewise.
8362 * localedata/locales/kl_GL: Likewise.
8363 * localedata/locales/kn_IN: Likewise.
8364 * localedata/locales/ko_KR: Likewise.
8365 * localedata/locales/kok_IN: Likewise.
8366 * localedata/locales/ks_IN: Likewise.
8367 * localedata/locales/ks_IN@devanagari: Likewise.
8368 * localedata/locales/ku_TR: Likewise.
8369 * localedata/locales/kw_GB: Likewise.
8370 * localedata/locales/ky_KG: Likewise.
8371 * localedata/locales/lb_LU: Likewise.
8372 * localedata/locales/lg_UG: Likewise.
8373 * localedata/locales/li_BE: Likewise.
8374 * localedata/locales/li_NL: Likewise.
8375 * localedata/locales/lij_IT: Likewise.
8376 * localedata/locales/ln_CD: Likewise.
8377 * localedata/locales/lo_LA: Likewise.
8378 * localedata/locales/lt_LT: Likewise.
8379 * localedata/locales/lv_LV: Likewise.
8380 * localedata/locales/lzh_TW: Likewise.
8381 * localedata/locales/mag_IN: Likewise.
8382 * localedata/locales/mai_IN: Likewise.
8383 * localedata/locales/mg_MG: Likewise.
8384 * localedata/locales/mhr_RU: Likewise.
8385 * localedata/locales/mi_NZ: Likewise.
8386 * localedata/locales/mk_MK: Likewise.
8387 * localedata/locales/ml_IN: Likewise.
8388 * localedata/locales/mn_MN: Likewise.
8389 * localedata/locales/mni_IN: Likewise.
8390 * localedata/locales/mr_IN: Likewise.
8391 * localedata/locales/ms_MY: Likewise.
8392 * localedata/locales/mt_MT: Likewise.
8393 * localedata/locales/my_MM: Likewise.
8394 * localedata/locales/nan_TW: Likewise.
8395 * localedata/locales/nan_TW@latin: Likewise.
8396 * localedata/locales/nb_NO: Likewise.
8397 * localedata/locales/nds_DE: Likewise.
8398 * localedata/locales/nds_NL: Likewise.
8399 * localedata/locales/ne_NP: Likewise.
8400 * localedata/locales/nhn_MX: Likewise.
8401 * localedata/locales/niu_NU: Likewise.
8402 * localedata/locales/niu_NZ: Likewise.
8403 * localedata/locales/nl_AW: Likewise.
8404 * localedata/locales/nl_BE: Likewise.
8405 * localedata/locales/nl_NL: Likewise.
8406 * localedata/locales/nn_NO: Likewise.
8407 * localedata/locales/nr_ZA: Likewise.
8408 * localedata/locales/nso_ZA: Likewise.
8409 * localedata/locales/oc_FR: Likewise.
8410 * localedata/locales/om_ET: Likewise.
8411 * localedata/locales/om_KE: Likewise.
8412 * localedata/locales/or_IN: Likewise.
8413 * localedata/locales/os_RU: Likewise.
8414 * localedata/locales/pa_IN: Likewise.
8415 * localedata/locales/pa_PK: Likewise.
8416 * localedata/locales/pap_AW: Likewise.
8417 * localedata/locales/pap_CW: Likewise.
8418 * localedata/locales/pl_PL: Likewise.
8419 * localedata/locales/ps_AF: Likewise.
8420 * localedata/locales/pt_BR: Likewise.
8421 * localedata/locales/pt_PT: Likewise.
8422 * localedata/locales/quz_PE: Likewise.
8423 * localedata/locales/raj_IN: Likewise.
8424 * localedata/locales/ro_RO: Likewise.
8425 * localedata/locales/ru_RU: Likewise.
8426 * localedata/locales/ru_UA: Likewise.
8427 * localedata/locales/rw_RW: Likewise.
8428 * localedata/locales/sa_IN: Likewise.
8429 * localedata/locales/sat_IN: Likewise.
8430 * localedata/locales/sc_IT: Likewise.
8431 * localedata/locales/sd_IN: Likewise.
8432 * localedata/locales/sd_IN@devanagari: Likewise.
8433 * localedata/locales/se_NO: Likewise.
8434 * localedata/locales/sgs_LT: Likewise.
8435 * localedata/locales/shs_CA: Likewise.
8436 * localedata/locales/si_LK: Likewise.
8437 * localedata/locales/sid_ET: Likewise.
8438 * localedata/locales/sk_SK: Likewise.
8439 * localedata/locales/sl_SI: Likewise.
8440 * localedata/locales/sm_WS: Likewise.
8441 * localedata/locales/so_DJ: Likewise.
8442 * localedata/locales/so_ET: Likewise.
8443 * localedata/locales/so_KE: Likewise.
8444 * localedata/locales/so_SO: Likewise.
8445 * localedata/locales/sq_AL: Likewise.
8446 * localedata/locales/sq_MK: Likewise.
8447 * localedata/locales/sr_ME: Likewise.
8448 * localedata/locales/sr_RS: Likewise.
8449 * localedata/locales/sr_RS@latin: Likewise.
8450 * localedata/locales/ss_ZA: Likewise.
8451 * localedata/locales/st_ZA: Likewise.
8452 * localedata/locales/sv_FI: Likewise.
8453 * localedata/locales/sv_SE: Likewise.
8454 * localedata/locales/sw_KE: Likewise.
8455 * localedata/locales/sw_TZ: Likewise.
8456 * localedata/locales/szl_PL: Likewise.
8457 * localedata/locales/ta_IN: Likewise.
8458 * localedata/locales/ta_LK: Likewise.
8459 * localedata/locales/tcy_IN: Likewise.
8460 * localedata/locales/te_IN: Likewise.
8461 * localedata/locales/tg_TJ: Likewise.
8462 * localedata/locales/th_TH: Likewise.
8463 * localedata/locales/the_NP: Likewise.
8464 * localedata/locales/ti_ER: Likewise.
8465 * localedata/locales/ti_ET: Likewise.
8466 * localedata/locales/tig_ER: Likewise.
8467 * localedata/locales/tk_TM: Likewise.
8468 * localedata/locales/tl_PH: Likewise.
8469 * localedata/locales/tn_ZA: Likewise.
8470 * localedata/locales/to_TO: Likewise.
8471 * localedata/locales/tpi_PG: Likewise.
8472 * localedata/locales/tr_CY: Likewise.
8473 * localedata/locales/tr_TR: Likewise.
8474 * localedata/locales/ts_ZA: Likewise.
8475 * localedata/locales/tt_RU: Likewise.
8476 * localedata/locales/tt_RU@iqtelif: Likewise.
8477 * localedata/locales/ug_CN: Likewise.
8478 * localedata/locales/uk_UA: Likewise.
8479 * localedata/locales/unm_US: Likewise.
8480 * localedata/locales/ur_IN: Likewise.
8481 * localedata/locales/ur_PK: Likewise.
8482 * localedata/locales/uz_UZ: Likewise.
8483 * localedata/locales/uz_UZ@cyrillic: Likewise.
8484 * localedata/locales/ve_ZA: Likewise.
8485 * localedata/locales/vi_VN: Likewise.
8486 * localedata/locales/wa_BE: Likewise.
8487 * localedata/locales/wae_CH: Likewise.
8488 * localedata/locales/wal_ET: Likewise.
8489 * localedata/locales/wo_SN: Likewise.
8490 * localedata/locales/xh_ZA: Likewise.
8491 * localedata/locales/yi_US: Likewise.
8492 * localedata/locales/yo_NG: Likewise.
8493 * localedata/locales/yue_HK: Likewise.
8494 * localedata/locales/yuw_PG: Likewise.
8495 * localedata/locales/zh_CN: Likewise.
8496 * localedata/locales/zh_HK: Likewise.
8497 * localedata/locales/zh_SG: Likewise.
8498 * localedata/locales/zh_TW: Likewise.
8499 * localedata/locales/zu_ZA: Likewise.
8501 2017-11-13 Florian Weimer <fweimer@redhat.com>
8503 * support/next_to_fault.h, support/next_to_fault.c: New files.
8504 * support/Makefile (libsupport-routines): Add next_to_fault.
8505 * resolv/tst-inet_pton.c (struct next_to_fault)
8506 (next_to_fault_allocate, next_to_fault_free): Remove.
8507 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
8509 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
8511 * elf/dl-support.c: Include <dl-procruntime.c>.
8512 * include/link.h: Include <link_map.h>.
8513 * sysdeps/generic/dl-procruntime.c: New file.
8514 * sysdeps/generic/link_map.h: Likewise.
8515 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
8516 the writable ld.so namespace.
8518 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
8520 timezone: pacify GCC -Wstringop-truncation
8521 Problem reported by Martin Sebor in:
8522 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
8523 * timezone/zic.c (writezone): Use memcpy, not strncpy.
8525 2017-11-12 Florian Weimer <fweimer@redhat.com>
8527 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
8529 (tests): Add tst-xreadlink.
8530 * support/support.h (xstrndup): Declare.
8531 * support/xunistd.h (xunlink, xreadlink): Declare.
8532 * support/temp_file.h (support_create_temp_directory): Declare.
8533 * support/temp_file.c (support_create_temp_directory): New function.
8534 * support/support_chroot.c (support_chroot_create): Use it.
8535 * support/xreadlink.c: New file.
8536 * support/xstrndup.c: Likewise.
8537 * support/xunlink.c: Likewise.
8538 * support/tst-xreadlink.c: Likewise.
8540 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
8542 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
8544 2017-11-11 Florian Weimer <fweimer@redhat.com>
8548 * resolv/res_comp.c (printable_string, binary_hnok)
8549 (binary_leading_dash): New functions.
8550 (res_hnok): Reimplement using these functions and ns_name_pton.
8551 (res_ownok): Likewise.
8552 (res_mailok): Reimplement using printable_string, ns_name_pton and
8554 (res_dnok): Reimplement using printable_string and ns_name_pton.
8555 * resolv/tst-res_hnok.c (tests): Add additional tests.
8556 (LETTERDIGITS, PRINTABLE): Define.
8557 (do_test): Adjust one_char results.
8559 2017-11-11 Florian Weimer <fweimer@redhat.com>
8562 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
8563 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
8565 2017-11-11 Florian Weimer <fweimer@redhat.com>
8567 * resolv/tst-ns_name_pton.c: New file.
8568 * resolv/Makefile (tests): Add tst-ns_name_pton.
8569 (tst-ns_name_pton): Link against libresolv.
8571 2017-11-11 Florian Weimer <fweimer@redhat.com>
8573 * resolv/tst-res_hnok.c: New file.
8574 * resolv/Makefile (tests): Add tst-res_hnok.
8575 (tst-res_hnok): Link against libresolv.
8577 2017-11-11 Florian Weimer <fweimer@redhat.com>
8579 * resolv/tst-resolv-network.c: Use test framework instead explicit
8582 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
8584 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
8586 [!_ISOMAC] (STR_HELPER): New.
8587 [!_ISOMAC] (STR): Likewise.
8588 [!_ISOMAC] (TEST_SIZE): Likewise.
8589 [!_ISOMAC] (TEST_ALIGN): Likewise.
8590 [!_ISOMAC] (TEST_OFFSET): Likewise.
8591 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
8592 field offsets of jmp_buf as well as sigjmp_buf.
8593 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
8594 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
8595 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
8596 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
8597 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
8598 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
8599 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
8600 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
8601 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
8602 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
8604 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
8606 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
8607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
8609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
8611 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
8612 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
8613 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
8614 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
8615 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
8616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
8618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
8620 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
8621 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
8622 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
8624 2017-11-07 Joseph Myers <joseph@codesourcery.com>
8627 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8628 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
8629 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8630 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
8631 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8632 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
8633 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8634 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
8635 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8636 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
8637 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8638 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
8639 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8640 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
8641 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8642 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
8643 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8644 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
8645 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8646 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
8647 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8648 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
8649 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8650 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
8651 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8652 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
8653 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8654 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
8655 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8656 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
8657 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8658 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
8659 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8660 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
8661 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8662 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
8663 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8664 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
8665 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8666 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
8667 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8668 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
8669 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8670 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
8671 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8672 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
8673 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8674 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
8675 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8676 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
8677 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8678 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
8679 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8680 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
8681 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8682 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
8683 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8684 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
8685 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8686 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
8687 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8688 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
8689 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8690 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
8691 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8692 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
8693 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8694 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
8695 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8696 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
8697 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8698 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
8699 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8700 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
8701 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8702 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
8703 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8704 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
8705 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8706 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
8707 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8708 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
8709 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8710 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
8711 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8712 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
8713 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
8714 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
8716 * stdlib/tst-strtod.h (F16): New macro.
8722 (IF_FLOAT16): Likewise.
8723 (IF_FLOAT32): Likewise.
8724 (IF_FLOAT64): Likewise.
8725 (IF_FLOAT32X): Likewise.
8726 (IF_FLOAT64X): Likewise.
8727 (IF_FLOAT128X): Likewise.
8728 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
8729 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
8730 (STRTOD_TEST_FOREACH): Likewise.
8731 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
8732 (CHOOSE_f64): Likewise.
8733 (CHOOSE_f32x): Likewise.
8734 (CHOOSE_f64x): Likewise.
8736 2017-11-07 Andreas Schwab <schwab@suse.de>
8738 * nptl/Makefile (tests-internal): Remove tst-typesizes.
8740 2017-11-07 Mike FABIAN <mfabian@redhat.com>
8743 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
8745 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
8748 2017-11-07 Claude Paroz <claude@2xlibre.net>
8751 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
8753 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
8755 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
8758 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8761 * nptl/allocatestack.c (allocate_stack): Check if
8762 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
8763 __PTHREAD_MUTEX_HAVE_PREV is defined.
8764 * nptl/descr.h (pthread): Likewise.
8765 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
8767 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
8768 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
8769 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
8770 * sysdeps/nptl/bits/thread-shared-types.h
8771 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
8773 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
8774 of __WORDSIZE for internal layout.
8775 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
8776 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
8777 instead of __WORDSIZE whether to use an union for __spins and __list
8779 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
8781 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
8782 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
8784 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
8785 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8787 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
8788 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8790 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
8791 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8793 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
8794 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8796 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
8797 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8799 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
8800 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8802 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
8803 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8805 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
8806 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8808 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
8809 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8811 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
8812 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8814 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
8815 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8817 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
8818 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8820 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
8821 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8823 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
8824 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
8827 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
8829 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
8830 checks for expected input type size.
8831 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
8832 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
8834 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8835 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
8836 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8837 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
8838 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
8839 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
8840 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
8841 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
8842 superflous runtime assert check.
8843 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
8845 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
8847 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8849 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
8851 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
8853 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
8855 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
8856 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
8857 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8859 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8861 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
8863 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
8865 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8867 * nptl/pthread_attr_setinheritsched.c
8868 (__pthread_attr_setinheritsched): Likewise.
8869 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
8871 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
8873 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
8874 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
8875 __old_pthread_attr_setstack): Likewise.
8876 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8878 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8880 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
8882 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8883 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
8885 * nptl/tst-typesizes.c: Remove file.
8887 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
8888 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
8889 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
8890 checks for internal pthread_mutex_t offsets.
8891 * sysdeps/aarch64/nptl/pthread-offsets.h
8892 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
8893 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
8894 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
8895 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
8896 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
8897 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
8898 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
8899 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
8900 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
8901 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
8902 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
8903 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
8904 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
8905 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
8906 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
8907 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
8908 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
8909 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
8911 2017-11-07 Florian Weimer <fweimer@redhat.com>
8913 * bits/mman-linux.h: Move ...
8914 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
8916 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
8919 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8921 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
8922 Redefine STRNLEN as __strnlen_power8.
8924 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8926 * signal/sighold.c (sighold): Optimize implementation.
8928 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
8929 __NR_rt_sigqueueinfo.
8931 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
8933 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
8934 assume __NR_rt_sigtimedwait.
8935 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
8936 and add LIBC_CANCEL_HANDLED for cancellation marking.
8937 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8939 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
8940 (sysdeps_routines): Add memchr_noneon.
8941 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
8942 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
8943 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
8944 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
8945 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
8946 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
8947 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
8949 * sysdeps/arm/arm-ifunc.h: New file.
8950 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
8951 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
8952 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
8953 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
8954 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
8955 (__memcpy_neon): Avoid create hidden alias.
8956 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
8957 (__memcpy_vfp): Likewise.
8958 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
8959 (sysdep_routines): Add memcpy_arm.
8960 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
8962 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
8965 * Makerules (make-link-multidir): New.
8966 * config.make.in (multidir): New.
8967 * configure.ac (libc_cv_multidir): New. AC_SUBST.
8968 * configure: Regenerated.
8969 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
8970 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
8971 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
8974 2017-11-06 Joseph Myers <joseph@codesourcery.com>
8977 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
8978 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
8980 2017-11-04 Mike FABIAN <mfabian@redhat.com>
8982 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
8985 2017-11-04 Florian Weimer <fweimer@redhat.com>
8987 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
8989 2017-11-03 Joseph Myers <joseph@codesourcery.com>
8991 * math/math.h [__HAVE_DISTINCT_FLOAT16
8992 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
8993 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
8994 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
8995 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
8996 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
8997 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
8998 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
8999 (__MATH_TG_F32): New macro.
9000 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
9001 (__MATH_TG_F64X): Likewise.
9002 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
9003 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
9005 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
9007 * po/de.po: Update translations.
9008 * po/ru.po: Likewise.
9010 2017-11-03 Florian Weimer <fweimer@redhat.com>
9012 * manual/filesys.texi (Hard Links): Document linkat.
9014 2017-11-03 Joseph Myers <joseph@codesourcery.com>
9016 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
9017 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
9018 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
9019 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
9020 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
9021 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
9022 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
9023 the same as _Float128.
9024 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
9025 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
9026 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
9029 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
9031 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
9033 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
9035 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9036 (strtof32x): Likewise.
9037 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9038 (strtof64x): Likewise.
9039 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9040 (strtof128x): Likewise.
9041 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9042 (strfromf16): Likewise.
9043 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9044 (strfromf32): Likewise.
9045 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9046 (strfromf64): Likewise.
9047 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9048 (strfromf32x): Likewise.
9049 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9050 (strfromf64x): Likewise.
9051 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9052 (strfromf128x): Likewise.
9053 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
9054 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
9055 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
9056 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
9057 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
9058 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
9060 2017-11-03 Richard Henderson <rth@twiddle.net>
9062 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
9064 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9066 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
9068 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9070 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
9071 DT_TLSDESC_GOT initialization.
9072 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
9073 (_dl_tlsdesc_resolve_hold): Likewise.
9074 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
9075 (_dl_tlsdesc_resolve_hold): Likewise.
9076 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
9077 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
9079 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9081 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
9083 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9086 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
9087 non-lazily for R_ARM_TLS_DESC.
9089 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9092 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
9093 R_ARM_TLS_DESC case.
9094 (elf_machine_lazy_rel): Remove the prelink check.
9096 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9098 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
9099 DT_TLSDESC_GOT initialization.
9100 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
9101 (_dl_tlsdesc_resolve_rela): Likewise.
9102 (_dl_tlsdesc_resolve_hold): Likewise.
9103 (_dl_tlsdesc_undefweak): Remove ldar.
9104 (_dl_tlsdesc_dynamic): Likewise.
9105 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
9106 (_dl_tlsdesc_resolve_rela): Likewise.
9107 (_dl_tlsdesc_resolve_hold): Likewise.
9108 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
9109 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
9110 (_dl_tlsdesc_resolve_rela): Likewise.
9111 (_dl_tlsdesc_resolve_hold): Likewise.
9113 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9115 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
9116 binding and initialization non-lazily for R_AARCH64_TLSDESC.
9118 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9120 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
9121 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9123 2017-11-02 Joseph Myers <joseph@codesourcery.com>
9125 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
9127 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
9128 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
9129 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
9130 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
9131 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
9132 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
9133 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
9134 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
9135 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
9136 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
9137 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
9139 2017-11-02 Mike FABIAN <mfabian@redhat.com>
9142 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
9143 * localedata/locales/tpi_PG: Add standard header.
9145 2017-11-02 Florian Weimer <fweimer@redhat.com>
9147 test-errno-linux: quotactl can fail with EPERM in containers.
9148 * sysdeps/unix/sysv/linux/test-errno-linux.c
9149 (LIST, LIST_FORWARD): New macros.
9150 (check_error_in_list): New function.
9151 (test_wrp_rv): Accept list of permitted error codes.
9152 (test_wrp_rv2): Remove.
9153 (test_wrp): Call test_wrp_rv with list of error codes.
9154 (test_wrp2): Accept list of error codes.
9155 (do_test): Adjust. Allow EPERM for quotactl.
9157 2017-11-02 Florian Weimer <fweimer@redhat.com>
9159 * stdio-common/bug16.c (do_test): Use array_length.
9160 * stdio-common/errlist.c (_sys_nerr): Likewise.
9161 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
9162 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
9163 * stdio-common/psiginfo.c (psiginfo): Use array_length.
9164 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
9165 (do_test): Use array_length.
9166 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
9167 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
9168 * stdio-common/tst-printf-round.c (do_test): Likewise.
9169 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
9170 (CHECK): Use array_length.
9171 * stdio-common/tstdiomisc.c (t3, F): Likewise.
9172 * stdio-common/tstscanf.c (main): Likewise.
9173 * stdio-common/vfprintf.c (process_string_arg): Likewise.
9175 2017-11-02 Florian Weimer <fweimer@redhat.com>
9177 Add array_length and array_end macros.
9178 * include/array_length.h: New file.
9180 2017-11-02 Florian Weimer <fweimer@redhat.com>
9183 * posix/tst-glob-tilde.c (do_noescape): New variable.
9184 (one_test): Process it.
9185 (do_test): Set do_noescape. Add unescaping test case.
9187 2017-11-01 Joseph Myers <joseph@codesourcery.com>
9190 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
9191 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
9192 with appropriate macros defined and undefined.
9193 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
9194 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
9195 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
9196 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
9197 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
9198 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
9199 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
9200 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
9201 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
9202 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
9205 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
9206 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
9207 that for long double. Do not condition define and undefine of
9208 _Mdouble_complex_ on [__CFLOAT128].
9210 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
9212 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
9213 of <sysdeps/generic/sysdep.h>.
9214 (ALIGNARG): Removed.
9215 (ASM_SIZE_DIRECTIVE): Likewise.
9218 (ENTRY_CHK): Likewise.
9219 (END_CHK): Likewise.
9220 (syscall_error): Likewise.
9222 (PSEUDO_END): Likewise.
9224 (atom_text_section): Likewise.
9225 * sysdeps/x86/sysdep.h: New file.
9226 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
9227 of <sysdeps/generic/sysdep.h>.
9228 (ALIGNARG): Removed.
9229 (ASM_SIZE_DIRECTIVE): Likewise.
9232 (ENTRY_CHK): Likewise.
9233 (END_CHK): Likewise.
9234 (syscall_error): Likewise.
9236 (PSEUDO_END): Likewise.
9238 (atom_text_section): Likewise.
9240 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
9242 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
9243 category of LC_CTYPE set to "i18n:2012".
9244 * localedata/locales/i18n_ctype: Regenerate.
9246 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
9248 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
9249 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
9250 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9251 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9253 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
9254 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
9255 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
9256 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
9258 2017-10-31 Joseph Myers <joseph@codesourcery.com>
9261 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
9263 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
9265 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
9267 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9268 (CMPLXF32X): Likewise.
9269 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9270 (CMPLXF64X): Likewise.
9271 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9272 (CMPLXF128X): Likewise.
9275 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
9276 (__MATH_EVAL_FMT2): Define to add 0.0f.
9278 2017-10-31 Alan Modra <amodra@gmail.com>
9280 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
9282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
9283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
9284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
9287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
9288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
9289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
9290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
9291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
9292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
9295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
9296 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
9297 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
9298 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
9299 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
9300 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
9301 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
9302 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
9303 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
9304 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
9305 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
9306 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9307 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
9308 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
9309 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
9310 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
9311 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
9312 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
9313 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
9314 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
9315 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
9316 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
9317 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
9318 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
9319 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
9320 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
9321 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9322 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
9323 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
9324 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
9325 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
9326 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
9327 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
9328 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
9329 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
9330 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
9331 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9332 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
9333 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
9334 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
9335 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
9336 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9337 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
9338 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
9339 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
9340 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
9341 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
9342 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9343 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
9344 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
9345 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9346 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
9347 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
9348 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
9349 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
9350 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
9352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
9353 include sysdep.h and math_ldbl_opt.h.
9355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
9356 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
9357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
9358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
9359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
9360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
9361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
9362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
9363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
9364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
9365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
9366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
9367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
9368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
9369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
9370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
9371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
9372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
9373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
9374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
9375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
9376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
9377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
9378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
9379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
9380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
9382 2017-10-31 Alan Modra <amodra@gmail.com>
9384 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
9385 string/strncase_l.c, not string/strncase.c.
9386 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
9387 (libc_hidden_def): Redefine.
9389 2017-10-31 Alan Modra <amodra@gmail.com>
9391 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
9392 (__STRCMP, STRCMP, __strcasecmp_l): Define.
9393 (__strcasecmp): Don't define.
9395 2017-10-31 Alan Modra <amodra@gmail.com>
9397 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
9399 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
9400 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
9401 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
9403 2017-10-31 Alan Modra <amodra@gmail.com>
9405 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
9408 2017-10-31 Alan Modra <amodra@gmail.com>
9410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
9411 Redefine only when SHARED.
9413 2017-10-30 Joseph Myers <joseph@codesourcery.com>
9415 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
9416 Include <bits/math-finite.h> with appropriate macros defined and
9418 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
9419 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
9420 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
9421 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
9422 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
9424 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
9425 [!_Mlong_double_] (_Mlong_double_): Likewise.
9426 [!_Mfloat16_] (_Mfloat16_): Likewise.
9427 [!_Mfloat32_] (_Mfloat32_): Likewise.
9428 [!_Mfloat64_] (_Mfloat64_): Likewise.
9429 [!_Mfloat128_] (_Mfloat128_): Likewise.
9430 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
9431 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
9432 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
9433 (_Mdouble_): Define without indirection through those macros.
9434 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
9435 [!_Mfloat128_] (_Mfloat128_): Likewise.
9436 [_Mlong_double_] (_Mlong_double_): Likewise.
9437 (_Mdouble_): Define without indirection through those macros.
9438 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
9439 not add -D_Mlong_double_=double.
9440 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
9441 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
9443 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
9445 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
9447 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
9449 * sysdeps/x86/libc-start.c: Reformat.
9451 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
9454 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
9458 (L(Src2)): Likewise.
9459 (L(1)): Renamed to ...
9462 2017-10-30 Joseph Myers <joseph@codesourcery.com>
9464 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
9465 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
9466 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
9467 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
9468 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
9469 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
9470 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
9471 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
9472 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
9473 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
9474 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
9475 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
9476 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
9477 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
9478 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
9479 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
9480 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
9481 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
9482 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
9483 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
9484 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
9485 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
9486 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
9487 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
9488 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
9489 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
9490 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
9491 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
9492 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
9493 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
9494 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
9495 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
9496 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
9497 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
9498 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
9499 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
9500 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
9501 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
9502 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
9503 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
9504 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
9505 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
9506 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
9507 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
9508 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
9509 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
9510 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
9511 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
9512 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
9513 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
9514 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
9515 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
9516 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
9517 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
9518 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
9519 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
9520 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
9521 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
9522 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
9523 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
9524 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
9525 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
9526 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
9527 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
9528 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
9529 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
9531 2017-10-30 Florian Weimer <fweimer@redhat.com>
9533 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
9535 * io/tst-mkdirat.c (do_test): Likewise.
9536 * io/tst-mkfifoat.c (do_test): Likewise.
9537 * io/tst-mknodat.c (do_test): Likewise.
9538 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
9539 * locale/programs/locale.c (select_dirs): Likewise.
9540 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
9541 * posix/bug-glob2.c (my_readdir): Likewise.
9542 * posix/tst-dir.c (main): Likewise.
9543 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
9544 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
9546 2017-10-30 Florian Weimer <fweimer@redhat.com>
9548 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
9551 2017-10-30 Florian Weimer <fweimer@redhat.com>
9553 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
9554 Convert to support/test-driver.c.
9555 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
9556 New macro parameters.
9557 (PRINTF): Remove macro. Use test_verbose conditionals instead.
9558 * posix/tst-gnuglob.c: New file.
9559 * posix/tst-gnuglob64.c: Likewise.
9560 * posix/Makefile (tests): Add tst-gnuglob64.
9562 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
9565 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
9566 and use a better translation for March in “mon”.
9567 * localedata/locales/csb_PL: Use more ASCII to improve the
9568 readability of the source.
9570 2017-10-30 Mike FABIAN <mfabian@redhat.com>
9573 * localedata/locales/km_KH: Use ASCII as much
9574 as possible for better readability of the source and
9575 remove useless comments.
9576 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
9577 was commented out and apparently wrong anyway because it was
9578 using Lao characters. If Buddhist era should be used
9579 for km_KH, a native speaker should write the correct formaat
9581 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
9582 (According to CLDR, the first weekday for Cambodia is Sunday).
9583 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
9584 (These were using Lao characters which must be wrong. If we get
9585 the correct data from a native speaker, we could add it back, until
9586 then it is better not to have name_mr and name_mrs at all than
9589 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
9591 * locale/loadlocale.c: Correct size of
9592 _nl_value_type_LC_<category> arrays.
9594 2017-10-27 Joseph Myers <joseph@codesourcery.com>
9596 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
9597 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
9598 with appropriate macros defined and undefined.
9599 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
9600 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
9601 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
9602 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
9603 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
9605 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
9607 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
9610 2017-10-27 Mike FABIAN <mfabian@redhat.com>
9612 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
9613 with lowercase letters to make it agree with CLDR.
9615 2017-10-27 Mike FABIAN <mfabian@redhat.com>
9618 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
9619 first letters of yesstr and nostr in yesexpr and noexpr,
9620 not for the full words.
9621 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
9622 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
9623 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
9624 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
9625 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
9626 first letters of yesstr and nostr in yesexpr and noexpr,
9627 until now only English was matched in yesexpr and noexpr.
9628 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
9629 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
9630 fil but not for tl. As tl and fil are very similar, using fil
9631 is probably better than using English.
9633 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
9636 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
9637 in yesstr and nostr.
9639 2017-10-26 Joseph Myers <joseph@codesourcery.com>
9641 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
9642 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
9643 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
9645 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
9647 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
9649 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
9651 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9652 (SNANF128X): Likewise.
9654 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
9655 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
9656 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9657 (HUGE_VAL_F32): Likewise.
9658 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9659 (HUGE_VAL_F64): Likewise.
9660 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9661 (HUGE_VAL_F32X): Likewise.
9662 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9663 (HUGE_VAL_F64X): Likewise.
9664 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
9665 (HUGE_VAL_F128X): Likewise.
9667 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
9669 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
9670 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
9671 for the br_FR locale.
9673 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
9676 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
9678 2017-10-25 Carlos O'Donell <carlos@redhat.com>
9680 * locale/programs/record-status.h: Define globals, and function
9681 prototypes. Move function bodies...
9682 * locale/programs/record-status.c: ... to here. New file.
9683 * iconv/Makefile (iconv_prog-modules): Add record-status.
9684 * locale/Makefile (lib-modules): Likewise.
9685 * iconv/iconv_prog.c: Remove verbose.
9686 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
9687 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
9688 record a warning about ASCII compatibility.
9689 * locale/programs/ld-monetary.c (monetary_finish): If
9690 warn_int_curr_symbol is true then record a warning about the symbol
9691 not being in our ISO 4217 list.
9692 * locale/programs/locale.c: Include record-status.h. Remove verbose.
9693 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
9694 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
9695 (OPT_NO_WARN): Define.
9697 (options): Add entry for --no-warnings, and --warnings.
9698 (set_warnings): New function to enable/disable warnings.
9699 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
9700 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
9701 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
9702 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
9703 Pass flags to generate_locale.
9704 (generate_locale): Accept new flag argument and pass it to localedef
9706 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
9707 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
9709 * localedata/Makefile (test-input-data): Use full file name.
9710 * localedata/da_DK.in: Rename to...
9711 * localedata/da_DK.ISO-8859-1.in: ...this.
9712 * localedata/de_DE.in: Rename to...
9713 * localedata/de_DE.ISO-8859-1.in: ...this.
9714 * localedata/en_US.in: Rename to...
9715 * localedata/en_US.ISO-8859-1.in: ...this.
9716 * localedata/fr_FR.in: Rename to...
9717 * localedata/fr_FR.UTF-8.in: ... this.
9718 * localedata/hr_HR.in: Rename to...
9719 * localedata/hr_HR.ISO-8859-2.in: ...this.
9720 * localedata/hu_HU.in: Rename to...
9721 * localedata/hu_HU.UTF-8.in: ...this.
9722 * localedata/si_LK.in: Rename to...
9723 * localedata/si_LK.UTF-8.in: ...this.
9724 * localedata/sv_SE.in: Rename to...
9725 * localedata/sv_SE.ISO-8859-1.in: ...this.
9726 * localedata/tr_TR.in: Rename to...
9727 * localedata/tr_TR.UTF-8.in: ...this.
9728 * localedata/uk_UA.in: Rename to...
9729 * localedata/uk_UA.UTF-8.in: ...this.
9730 * localedata/sort-test.sh: Test file is locale name with the
9733 * localedata/unicode-gen/Makefile (check_i18n): Rename to
9734 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
9736 * localedata/locales/i18n_ctype: Regenerate.
9737 * localedata/locales/tr_TR: Likewise.
9738 * localedata/locales/translit_circle: Likewise.
9739 * localedata/locales/translit_cjk_compat: Likewise.
9740 * localedata/locales/translit_combining: Likewise.
9741 * localedata/locales/translit_compat: Likewise.
9742 * localedata/locales/translit_font: Likewise.
9743 * localedata/locales/translit_fraction: Likewise.
9745 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9747 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
9748 lxvd2x/stxvd2x with lvx/stvx.
9749 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
9751 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
9753 * include/alloc_buffer.h: Replace "if if " with "if " in
9755 * sysdeps/mips/memcpy.S: Likkewise.
9756 * sysdeps/mips/memset.S: Likewise.
9757 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
9759 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
9761 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
9764 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9767 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
9769 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
9770 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
9771 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
9772 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
9773 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
9774 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
9775 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
9777 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9779 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
9780 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
9781 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
9782 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
9783 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
9784 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
9785 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
9786 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
9787 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
9788 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
9789 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
9790 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
9792 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9794 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
9795 as possible for better readability of the source.
9796 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
9797 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
9798 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
9799 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
9800 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
9801 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
9802 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
9803 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
9804 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
9805 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
9806 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
9807 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
9808 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
9809 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
9810 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
9811 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
9812 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
9813 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
9814 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
9815 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
9816 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
9817 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
9818 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
9819 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
9820 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
9821 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
9822 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
9823 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
9824 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
9825 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
9826 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
9827 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
9828 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
9829 * localedata/locales/en_US (LC_MESSAGES): Likewise.
9830 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
9831 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
9832 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
9833 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
9834 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
9835 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
9836 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
9837 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
9838 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
9839 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
9840 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
9841 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
9842 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
9843 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
9844 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
9845 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
9846 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
9847 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
9848 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
9849 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
9850 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
9851 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
9852 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
9853 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
9854 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
9855 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
9856 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
9857 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
9858 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
9859 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
9860 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
9861 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
9862 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
9863 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
9864 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
9865 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
9866 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
9867 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
9868 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
9869 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
9870 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
9871 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
9872 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
9873 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
9874 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
9875 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
9876 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
9877 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
9878 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
9879 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
9880 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
9881 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
9882 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
9883 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
9884 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
9885 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
9886 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
9887 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
9888 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
9889 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
9890 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
9891 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
9892 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
9893 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
9894 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
9895 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
9896 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
9897 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
9898 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
9899 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
9900 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
9901 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
9902 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
9903 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
9904 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
9905 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
9906 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
9907 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
9908 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
9909 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
9910 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
9911 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
9912 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
9913 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
9914 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
9915 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
9916 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
9917 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
9918 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
9919 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
9920 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
9921 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
9922 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
9923 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
9924 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
9925 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
9926 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
9927 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
9928 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
9929 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
9930 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
9931 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
9932 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
9933 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
9934 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
9935 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
9936 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
9937 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
9938 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
9939 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
9940 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
9941 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
9942 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
9943 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
9944 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
9945 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
9946 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
9947 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
9948 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
9949 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
9950 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
9951 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
9952 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
9953 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
9954 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
9955 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
9956 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
9957 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
9958 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
9959 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
9960 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
9961 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
9962 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
9963 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
9964 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
9965 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
9966 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
9967 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
9968 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
9969 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
9971 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9973 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
9974 (Use first letters of yesstr and nostr correctly instead of using
9977 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9979 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
9980 (Use first letters of yesstr and nostr correctly).
9982 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9984 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
9985 also check for the first characters of yesstr and nostr.
9986 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
9987 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
9989 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9991 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
9992 also check for Chinese characters.
9994 2017-10-25 Mike FABIAN <mfabian@redhat.com>
9996 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
9997 match also for the contents of yesstr and nostr. As the first letter
9998 of yesstr and nostr is equal, checking only for the first letter
10001 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10003 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
10004 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
10006 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10008 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
10009 of main contributor.
10011 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10013 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
10014 instead of using English.
10016 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10018 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
10019 by including the first letters of nostr and yesexpr in the regexp.
10020 Also make it more readable by using ASCII where possible.
10022 2017-10-25 Mike FABIAN <mfabian@redhat.com>
10024 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
10025 the first letter of nostr in the regexp. It agrees with CLDR now.
10026 Also make it more readable by using ASCII where possible.
10028 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10030 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
10031 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
10032 these strings contain a U+17D6 (which somewhat looks like a colon)
10033 instead of a real colon to separate the full words for “yes”
10034 and “no” from the single letter responses.
10036 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10038 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
10039 it agree with CLDR (include the first letter of yesstr).
10040 Also make it more readable by using ASCII where possible.
10042 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10044 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
10045 and improve yesexpr and noexpr. The yesstr and nostr apparently
10046 came from CLDR. And CLDR has a bug there: these strings contain
10047 a U+0903 (which looks like a colon) instead of a real colon
10048 to separate the full words for “yes” and “no” from the single
10051 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10053 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
10054 letters of the full yesstr and nostr in yesexpr and noexpr.
10056 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10058 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
10059 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
10060 * localedata/locales/an_ES: Make source more readable by using ASCII
10063 2017-10-24 Mike FABIAN <mfabian@redhat.com>
10066 * localedata/locales/yuw_PG: New file.
10067 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
10068 * locale/iso-639.def: Add Yau (Uruwa).
10070 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10072 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
10074 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10076 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
10077 (__libc_realloc): Likewise.
10078 (_mid_memalign): Likewise.
10079 (__libc_calloc): Likewise.
10081 2017-10-23 Mike FABIAN <mfabian@redhat.com>
10083 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
10084 by adding the generic +1 and -0 as in all other locales.
10085 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
10086 day names and make it more readable by using ASCII where possible.
10088 2017-10-24 Joseph Myers <joseph@codesourcery.com>
10090 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
10091 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
10093 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10095 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
10096 WNOHANG in waitpid call.
10098 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
10100 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
10101 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
10103 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
10104 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
10105 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
10106 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
10107 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
10108 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
10109 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
10110 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
10113 2017-10-23 Michael Collison <michael.collison@arm.com>
10115 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
10116 with __builtin_sqrt.
10117 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
10118 with __builtin_sqrtf.
10119 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
10120 with __builtin_ceil.
10121 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
10122 with __builtin_ceilf.
10123 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
10124 with __builtin_floor.
10125 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
10126 with __builtin_floorf.
10127 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
10128 with __builtin_fma.
10129 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
10130 with __builtin_fmaf.
10131 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
10132 with __builtin_fmax.
10133 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
10134 with __builtin_fmaxf.
10135 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
10136 with __builtin_fmin.
10137 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
10138 with __builtin_fminf.
10139 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
10140 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
10141 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
10142 with builtin_rint and conversion to int.
10143 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
10144 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
10145 with builtin_llround.
10146 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
10147 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
10148 with builtin_rint and conversion to long int.
10149 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
10150 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
10151 with builtin_lround.
10152 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
10153 with builtin_lroundf.
10154 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
10155 statements with __builtin_nearbyint.
10156 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
10157 statements with __builtin_nearbyintf.
10158 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
10159 with __builtin_rint.
10160 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
10161 with __builtin_rintf.
10162 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
10163 with __builtin_round.
10164 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
10165 with __builtin_roundf.
10166 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
10167 with __builtin_trunc.
10168 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
10169 with __builtin_truncf.
10170 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
10171 and s_l[l]round[f].c too.
10173 2017-10-23 Alan Modra <amodra@gmail.com>
10175 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
10176 Adjust stack after restoring regs. Add missing LR cfi_restore.
10178 2017-10-23 Alan Modra <amodra@gmail.com>
10180 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
10181 Move LR save and frame setup/teardown and LR restore to
10182 immediately around memset call. Provide cfi.
10184 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10186 * sysdeps/i386/fpu/e_powf.S: Removed.
10187 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
10188 * sysdeps/i386/fpu/w_powf.c: Likewise.
10189 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
10190 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10191 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
10193 (CFLAGS-e_powf-sse2.c): New.
10194 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
10195 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
10197 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10199 * sysdeps/i386/fpu/e_log2f.S: Removed.
10200 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
10201 * sysdeps/i386/fpu/w_log2f.c: Likewise.
10202 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
10203 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10204 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
10206 (CFLAGS-e_log2f-sse2.c): New.
10207 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
10208 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
10210 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10212 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10214 (CFLAGS-e_powf-fma.c): New.
10215 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
10216 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
10218 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10220 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10222 (CFLAGS-e_log2f-fma.c): New.
10223 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
10224 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
10226 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10228 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10230 (CFLAGS-e_logf-fma.c): New.
10231 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
10232 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
10234 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10236 * sysdeps/i386/fpu/e_logf.S: Removed.
10237 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
10238 * sysdeps/i386/fpu/w_logf.c: Likewise.
10239 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
10240 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
10241 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10242 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
10244 (CFLAGS-e_logf-sse2.c): New.
10245 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
10246 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
10248 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10250 * sysdeps/i386/fpu/e_exp2f.S: Removed.
10251 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
10252 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
10253 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10254 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
10256 (CFLAGS-e_exp2f-sse2.c): New.
10257 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
10258 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
10260 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10262 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10264 (CFLAGS-e_exp2f-fma.c): New.
10265 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
10266 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
10268 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10270 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
10271 * sysdeps/i386/fpu/e_expf.S: Likewise.
10272 * sysdeps/i386/fpu/math_errf.c: Likewise.
10273 * sysdeps/i386/fpu/w_expf.c: Likewise.
10274 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
10275 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10276 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
10277 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
10278 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10279 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
10280 Remove e_expf-ia32.
10281 (CFLAGS-e_expf-sse2.c): New.
10282 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
10283 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
10285 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
10287 * sysdeps/x86_64/fpu/e_expf.S: Removed.
10288 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
10289 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
10290 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
10292 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
10294 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
10295 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
10297 (__redirect_expf): This.
10298 (SYMBOL_NAME): Changed to expf.
10299 (__ieee754_expf): Renamed to ...
10301 (__GI___expf): This.
10302 (__ieee754_expf): Add strong_alias.
10303 (__expf_finite): Likewise.
10305 Include <sysdeps/ieee754/flt-32/e_expf.c>.
10307 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
10310 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
10313 2017-10-21 Florian Weimer <fweimer@redhat.com>
10315 * posix/Makefile (tests): Add tst-glob-tilde.
10316 (tests-special): Add tst-glob-tilde-mem.out
10317 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
10318 (tst-glob-tilde-mem.out): Add mtrace check.
10319 * posix/tst-glob-tilde.c: New file.
10321 2017-10-20 Joseph Myers <joseph@codesourcery.com>
10323 * bits/floatn-common.h: New file.
10324 * math/Makefile (headers): Add bits/floatn-common.h.
10325 * bits/floatn.h: Include <bits/floatn-common.h>.
10326 * sysdeps/ia64/bits/floatn.h: Likewise.
10327 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
10328 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
10329 * sysdeps/powerpc/bits/floatn.h: Likewise.
10330 * sysdeps/x86/bits/floatn.h: Likewise.
10332 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10334 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
10335 indicates whether compiler emits an warning for alias for
10336 functions with incompatible types.
10339 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
10340 the auxiliary process is terminated by a signal before calling _exit
10343 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
10346 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
10348 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
10349 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
10350 and bit_arch_XSAVEC_Usable if needed.
10351 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
10352 and bit_arch_Use_dl_runtime_resolve_opt.
10353 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
10355 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
10356 (bit_arch_Prefer_No_AVX512): Updated.
10357 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
10358 (bit_arch_XSAVEC_Usable): New.
10359 (STATE_SAVE_OFFSET): Likewise.
10360 (STATE_SAVE_MASK): Likewise.
10361 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
10362 (cpu_features): Add xsave_state_size and xsave_state_full_size.
10363 (index_arch_Use_dl_runtime_resolve_opt): Removed.
10364 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
10365 (index_arch_XSAVEC_Usable): New.
10366 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10367 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
10368 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
10370 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
10371 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
10372 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
10373 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
10374 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
10375 _dl_runtime_resolve_xsavec.
10376 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
10378 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
10379 instead of VEC_SIZE.
10380 (REGISTER_SAVE_BND0): Removed.
10381 (REGISTER_SAVE_BND1): Likewise.
10382 (REGISTER_SAVE_BND3): Likewise.
10383 (REGISTER_SAVE_RAX): Always defined to 0.
10385 (_dl_runtime_resolve_avx): Likewise.
10386 (_dl_runtime_resolve_avx_slow): Likewise.
10387 (_dl_runtime_resolve_avx_opt): Likewise.
10388 (_dl_runtime_resolve_avx512): Likewise.
10389 (_dl_runtime_resolve_avx512_opt): Likewise.
10390 (_dl_runtime_resolve_sse): Likewise.
10391 (_dl_runtime_resolve_sse_vex): Likewise.
10393 (_dl_runtime_resolve_fxsave): Likewise.
10394 (USE_XSAVE): Likewise.
10395 (_dl_runtime_resolve_xsave): Likewise.
10396 (USE_XSAVEC): Likewise.
10397 (_dl_runtime_resolve_xsavec): Likewise.
10398 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
10400 (_dl_runtime_resolve_avx512_opt): Likewise.
10401 (_dl_runtime_resolve_avx): Likewise.
10402 (_dl_runtime_resolve_avx_opt): Likewise.
10403 (_dl_runtime_resolve_sse): Likewise.
10404 (_dl_runtime_resolve_sse_vex): Likewise.
10405 (_dl_runtime_resolve_fxsave): New.
10406 (_dl_runtime_resolve_xsave): Likewise.
10407 (_dl_runtime_resolve_xsavec): Likewise.
10409 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
10413 * posix/glob.c (__glob): Fix one-byte overflow.
10415 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
10417 * malloc/malloc.c (sysdep-cancel.h): Add include.
10419 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
10421 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
10423 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
10425 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
10426 (tests): Remove $(objpfx)ga_test depdendency.
10427 * resolv/ga_test.c: Remove file.
10429 2017-10-20 Mike FABIAN <mfabian@redhat.com>
10432 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
10433 * localedata/locales/kab_DZ: New file.
10435 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
10437 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
10438 _dl_relocate_static_pie instead of _dl_start to compute load
10439 address in static PIE.
10441 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
10443 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
10445 2017-10-20 Mike FABIAN <mfabian@redhat.com>
10448 * localedata/SUPPORTED: Add shn_MM/UTF-8.
10449 * localedata/locales/shn_MM: New file.
10451 2017-10-20 Florian Weimer <fweimer@redhat.com>
10454 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
10455 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
10456 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
10457 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
10458 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
10459 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
10461 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
10463 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10465 2017-10-19 Joseph Myers <joseph@codesourcery.com>
10467 * sysdeps/mips/ieee754/bits/floatn.h: New file.
10470 * sysdeps/mips/bits/long-double.h: Move to ....
10471 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
10473 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
10475 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
10477 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
10478 H.J. Lu <hongjiu.lu@intel.com>
10481 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
10482 GLRO(dl_platform) to NULL.
10483 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
10484 (modules-names): Add tst-platformmod-1 and
10485 x86_64/tst-platformmod-2.
10486 (CFLAGS-tst-platform-1.c): New.
10487 (CFLAGS-tst-platformmod-1.c): Likewise.
10488 (CFLAGS-tst-platformmod-2.c): Likewise.
10489 (LDFLAGS-tst-platformmod-2.so): Likewise.
10490 ($(objpfx)tst-platform-1): Likewise.
10491 ($(objpfx)tst-platform-1.out): Likewise.
10492 (tst-platform-1-ENV): Likewise.
10493 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
10494 * sysdeps/x86_64/tst-platform-1.c: New file.
10495 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
10496 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
10498 2017-10-19 Mike FABIAN <mfabian@redhat.com>
10501 * locale/iso-639.def: Add Karbi.
10502 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
10503 * localedata/locales/mjw_IN: New file.
10505 2017-10-18 Joseph Myers <joseph@codesourcery.com>
10507 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
10508 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
10509 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
10510 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
10511 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
10512 (libm_alias_ldouble_other_r): Also create _Float128 alias.
10513 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
10515 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
10516 (libm_alias_ldouble_other_r): Also create _Float128 alias.
10517 * manual/math.texi (Mathematics): Document additional architecture
10518 support for _Float128.
10519 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
10520 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10521 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10522 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10523 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10524 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10525 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10526 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10527 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10528 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10529 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10530 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10531 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10532 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10533 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10535 2017-10-18 Renlin Li <renlin.li@arm.com>
10537 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
10538 _DYNAMIC symbol to calculate load address.
10540 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
10542 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
10543 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
10545 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
10546 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
10548 2017-10-18 Mike FABIAN <mfabian@redhat.com>
10551 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
10552 and improve readability by using more ASCII.
10553 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
10554 and improve readability by using more ASCII.
10556 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
10558 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
10559 not all targets support atomics on bool.
10561 2017-10-17 Joseph Myers <joseph@codesourcery.com>
10563 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
10564 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
10566 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
10567 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
10568 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
10569 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
10570 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
10571 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
10573 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10575 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
10578 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
10581 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
10582 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
10583 (do_check_remalloced_chunk): Fix build bug.
10584 (do_check_malloc_state): Add assert that checks arena->top.
10585 (malloc_consolidate): Remove initialization.
10586 (int_mallinfo): Remove call to malloc_consolidate.
10587 (__libc_mallopt): Clarify why malloc_consolidate is needed.
10589 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
10591 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
10592 (have_fastchunks): Remove.
10593 (clear_fastchunks): Remove.
10594 (set_fastchunks): Remove.
10595 (malloc_state): Add have_fastchunks.
10596 (malloc_init_state): Use have_fastchunks.
10597 (do_check_malloc_state): Remove incorrect invariant checks.
10598 (_int_malloc): Use have_fastchunks.
10599 (_int_free): Likewise.
10600 (malloc_consolidate): Likewise.
10602 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
10604 * malloc/malloc.c (tcache_put): Inline.
10605 (tcache_get): Inline.
10607 2017-10-17 Jordi Mallach <jordi@gnu.org>
10609 Aurelien Jarno <aurelien@aurel32.net>
10611 * localedata/locales/ca_ES@valencia: New file.
10612 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
10614 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
10617 * math/math.h: Let signbit use the builtin in C++ mode with gcc
10620 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10622 * scripts/build-many-glibcs.py (Context.add_all_configs):
10623 Add arm-linux-gnueabihf multiarch extra_glibcs.
10625 * sysdeps/generic/ifunc-init.h: New file.
10626 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
10628 2017-10-17 Mike FABIAN <mfabian@redhat.com>
10631 * localedata/locales/el_GR: Set n_cs_precedes to 0.
10632 * localedata/locales/el_CY: copy "el_GR" because it is identical.
10633 * stdlib/tst-strfmon_l.c: adapt test case.
10635 2017-10-16 Joseph Myers <joseph@codesourcery.com>
10637 * sysdeps/generic/float128-abi.h: New file.
10638 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
10639 non-__prefixed symbols to ....
10640 * math/Versions: ... here. Include <float128-abi.h>.
10641 * stdlib/Versions ... and here. Include <float128-abi.h>
10643 2017-10-16 Florian Weimer <fweimer@redhat.com>
10645 * version.h (VERSION): Switch to ".9000" as the development
10648 2017-10-16 Florian Weimer <fweimer@redhat.com>
10651 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
10652 compat_symbol_reference to access non-default version.
10654 2017-10-16 Florian Weimer <fweimer@redhat.com>
10656 * malloc/Makefile (others-extras): Set to mcheck-init.o.
10658 2017-10-16 Carlos O'Donell <carlos@redhat.com>
10660 * include/shlib-compat.h (compat_symbol_reference): Update
10663 2017-10-16 Joseph Myers <joseph@codesourcery.com>
10665 * math/Makefile (test-types): Add
10666 $(type-float128-$(float128-alias-fcts)).
10667 * math/test-float128.h (TYPE_STR): Define conditional on
10668 [FLT128_MANT_DIG == LDBL_MANT_DIG].
10669 (ULP_IDX): Likewise.
10670 (ULP_I_IDX): Likewise.
10672 * stdlib/strtold.c: Include <bits/floatn.h>
10673 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
10674 and later undefine as macro. Define as weak alias if
10676 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
10677 and later undefine as macro. Define as weak alias if
10679 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
10680 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
10681 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
10682 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
10683 Define and later undefine as macro. Define as weak alias if
10685 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
10687 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
10688 Define and later undefine as macro. Define as weak alias if
10690 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
10691 Define and later undefine as macro. Define as weak alias if
10694 2017-10-15 Carlos O'Donell <carlos@redhat.com>
10696 * localedata/collate-test.c (allocate_arrays): Don't use \n in
10697 record_verbose messages.
10699 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
10702 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
10703 to silence -O3 -Wall warning with GCC 7.
10705 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
10707 * Makeconfig (+link-static-before-libc): Use the first of
10708 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
10709 * gmon/Makefile (tests): Add tst-gmon-static.
10710 (tests-static): Likewise.
10711 (CFLAGS-tst-gmon-static.c): New.
10712 (CRT-tst-gmon-static): Likewise.
10713 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
10714 (tst-gmon-static-ENV): Likewise.
10715 (tests-special): Likewise.
10716 ($(objpfx)tst-gmon-static.out): Likewise.
10717 (clean-tst-gmon-static-data): Likewise.
10718 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
10719 * gmon/tst-gmon-static-gprof.sh: New file.
10720 * gmon/tst-gmon-static.c: Likewise.
10722 2017-10-13 Carlos O'Donell <carlos@redhat.com>
10725 * locale/programs/linereader.c (get_string): Don't warn on
10726 non-symbolic character.
10729 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
10733 * locale/programs/record-status.h: New file
10734 * locale/programs/locale.c: Add comment.
10735 * locale/programs/charmap-dir.c: Don't include error.h.
10736 (charmap_opendir): Use record_error.
10737 * locale/programs/charmap.c: Don't include error.h.
10738 (charmap_read): Use record_error, and record_warning.
10739 (parse_charmap): Likewise.
10740 * locale/programs/ld-address.c: Don't include error.h.
10741 (address_finish): Use record_error, and record_warning.
10742 * locale/programs/ld-collate.c: Don't include error.h.
10743 (collate_finish): Use record_error, and record_error_at_line.
10744 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
10745 (ctype_class_new): Likewise.
10746 (ctype_map_new): Likewise.
10747 (set_one_default): Likewise.
10748 (set_class_defaults): Likewise.
10749 (translit_flatten): Likewise.
10750 (allocate_arrays): Use record_error, and record_verbose.
10751 * locale/programs/ld-identification.c: Don't include error.h.
10752 (indentation_finish): Use record_error and record_warning.
10753 * locale/programs/ld-measurement.c: Don't include error.h.
10754 (measurement_finish): Use record_error.
10755 * locale/programs/ld-messages.c
10756 (message_finish): Likewise.
10757 * locale/programs/ld-monetary.c
10758 (monetary_finish): Likewise.
10759 * locale/programs/ld-name.c (name_finish): Use record_error
10760 and record_warning.
10761 * locale/programs/ld-numeric.c
10762 (numeric_finish): Use record_error.
10763 * locale/programs/ld-paper.c: Don't include error.h.
10764 (paper_finish): Use record_error.
10765 * locale/programs/ld-telephone.c: Don't include error.h.
10766 (telephone_finish): Use record_error.
10767 * locale/programs/ld-time.c (time_finish): Likewise.
10768 * locale/programs/linereader.h (lr_error): Make inline func.
10769 * locale/programs/localedef.c: Define recorded_warning_count,
10770 and recorded_error_count.
10771 (main): Use record_error. Use recorded_error_count and
10772 recorded_warning_count to issue correct error returns.
10773 (add_to_readlist): Use record_error.
10774 (find_locale): Likewise.
10775 (load_locale): Likewise.
10776 * locale/programs/localedef.h: Remove be_quiet
10777 and WITH_CUR_LOCALE.
10778 * locale/programs/locarchive.c (compare_from_file): Use
10780 * locale/programs/locfile.c (write_locale_data): Use
10782 * locale/programs/repertoire.c: Dont include error.h.
10783 (repertoire_complain): Use record_error.
10784 * localedata/tst-fmon.sh: Expect failures from localedef.
10785 * localedata/tst-locale.sh: Likewise.
10786 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
10788 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
10789 (REPORTS): Likewise.
10791 (i18n): Rename to...
10792 (i18n_ctype): ...this.
10793 (i18n-report): Rename to...
10794 (i18n_ctype-report): ...this.
10795 * localedata/locales/i18n_ctype: Regenerate.
10796 * localedata/locales/i18n: copy i18n_ctype.
10798 2017-10-13 Joseph Myers <joseph@codesourcery.com>
10800 * stdlib/strfroml.c: Include <bits/floatn.h>.
10801 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
10802 Define before include of <stdlib.h> and undefine afterwards, then
10803 define as weak alias.
10805 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
10806 Undefine and restore default definition. Use
10807 libm_alias_ldouble_other.
10809 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
10812 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
10815 2017-10-13 James Clarke <jrtc27@jrtc27.com>
10817 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10818 Assign sym_map to be map for local symbols, as TLS relocations
10819 use sym_map to determine whether the symbol is defined and to
10820 extract the TLS information.
10821 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10822 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10824 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10827 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
10828 (math_force_eval): Add powerpc version.
10831 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
10833 (do_test): Likewise.
10834 * stdio-common/tst-printf.sh: Likewise.
10835 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
10836 ifdef clause in order to set the carry bit right. Replace r0 by
10837 0 without changing the behavior.
10839 2017-10-13 Joseph Myers <joseph@codesourcery.com>
10841 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
10842 <libm-alias-ldouble.h>.
10843 (fabsl): Define using libm_alias_ldouble.
10844 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
10845 <libm-alias-ldouble.h>.
10846 (fabsl): Define using libm_alias_ldouble.
10848 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
10849 Remove conditional code.
10851 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
10852 Rename to __clog10_internal_l.
10853 (__clog10_internal_l): Define aliases using
10854 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
10857 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10859 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
10860 * benchtests/sincosf-inputs: New file.
10861 * benchtests/cosf-inputs: New file.
10862 * benchtests/sinf-inputs: New file.
10864 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
10866 * posix/tst-spawn.c (do_test): Wait for both children.
10868 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
10871 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
10872 tests-pie): Add tst-gmon-pie.
10873 (CFLAGS-tst-gmon-pie.c): New.
10874 (CRT-tst-gmon-pie): Likewise.
10875 (tst-gmon-pie-ENV): Likewise.
10876 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
10877 ($(objpfx)tst-gmon-pie.out): Likewise.
10878 (clean-tst-gmon-pie-data): Likewise.
10879 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
10880 * gmon/gmon.c [PIC]: Include <link.h>.
10881 [PIC] (callback): New function.
10882 (write_hist): Add an argument for load address. Subtract load
10884 (write_call_graph): Likewise.
10885 (write_gmon): Call __dl_iterate_phdr to get load address, pass
10886 it to write_hist and write_call_graph.
10887 * gmon/tst-gmon-pie.c: New file.
10889 2017-10-11 Joseph Myers <joseph@codesourcery.com>
10891 * math/Makefile (test-types-basic): New variable.
10892 (test-types): Likewise.
10893 (libm-test-support): Use $(test-types) instead of $(types).
10894 (libm-tests-base-normal): Likewise.
10895 (libm-tests-base-finite): Likewise.
10896 (libm-tests-base-inline): Likewise.
10897 (generated): Likewise.
10898 ($(objpfx)libm-test-support-$(t).c): Likewise.
10899 (libm-tests-for-type iterator): Likewise.
10900 (libm-test-support iterator): Likewise.
10901 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
10902 (ulp_idx): Use ULP_IDX.
10903 * math/test-ldouble.h: Include <float.h>.
10904 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
10905 (ULP_IDX): New macro.
10906 (ULP_I_IDX): Likewise.
10907 * math/test-double.h (ULP_IDX): Likewise.
10908 (ULP_I_IDX): Likewise.
10909 * math/test-float.h (ULP_IDX): Likewise.
10910 (ULP_I_IDX): Likewise.
10911 * math/test-float128.h (ULP_IDX): Likewise.
10912 (ULP_I_IDX): Likewise.
10914 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10916 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
10917 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10918 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10919 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
10920 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10921 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
10922 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
10923 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10924 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10925 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10926 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
10927 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10928 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10929 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10930 (SINGLE_THREAD_BY_GLOBAL): Define.
10931 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
10933 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
10935 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
10937 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
10939 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
10940 (SINGLE_THREAD_BY_GLOBAL): Likewise.
10941 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
10944 2017-10-11 Andreas Schwab <schwab@suse.de>
10946 * nis/Makefile (aux): Remove.
10947 * nscd/Makefile (aux): Add nscd_hash.
10948 (nscd-modules): Likewise.
10949 ($(objpfx)nscd): Don't depend on libnsl.
10950 * nscd/nscd_hash.c: New file.
10951 * nscd/nscd_hash.h: Likewise.
10952 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
10953 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
10954 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
10955 instead of <nis/rpcsvc/nis.h>.
10956 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
10958 2017-10-11 Florian Weimer <fweimer@redhat.com>
10961 Avoid large NSS buffers with many addresses, aliases.
10962 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
10963 using dynarrays and struct alloc_buffer.
10964 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
10965 (tst-nss-files-hosts-multi): Link with -ldl.
10966 * nss/tst-nss-files-hosts-multi.c: New file.
10968 2017-10-11 Florian Weimer <fweimer@redhat.com>
10971 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
10972 scratch_buffer. Eliminate gotos.
10974 2017-10-11 Joseph Myers <joseph@codesourcery.com>
10976 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
10977 libm_alias_ldouble_other.
10978 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
10979 undefine and redefine.
10980 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
10981 (exp10l): Do not define here.
10982 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
10983 (weak_alias): Undefine and redefine.
10984 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
10985 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
10986 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
10987 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
10989 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
10990 [!__fma] (fma): Define using libm_alias_double.
10991 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
10992 [!__fmaf] (fmaf): Define using libm_alias_float.
10993 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
10994 (fmal): Define using libm_alias_ldouble.
10996 2017-10-10 Joseph Myers <joseph@codesourcery.com>
10998 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
11000 (libm_alias_double_other): Likewise.
11001 (libm_alias_double_r): Use libm_alias_double_other_r.
11002 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
11004 (libm_alias_float_other): Likewise.
11005 (libm_alias_float_r): Use libm_alias_float_other_r.
11006 * sysdeps/generic/libm-alias-float128.h
11007 (libm_alias_float128_other_r): New macro.
11008 (libm_alias_float128_other): Likewise.
11009 (libm_alias_float128_r): Use libm_alias_float128_other_r.
11010 * sysdeps/generic/libm-alias-ldouble.h
11011 (libm_alias_ldouble_other_r): New macro.
11012 (libm_alias_ldouble_other): Likewise.
11013 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
11014 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
11015 (libm_alias_double_other_r): New macro.
11016 (libm_alias_double_other): Likewise.
11017 (libm_alias_double_r): Use libm_alias_double_other_r.
11018 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
11019 (libm_alias_ldouble_other_r): New macro.
11020 (libm_alias_ldouble_other): Likewise.
11021 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
11022 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
11023 [!USE_AS_COMPAT]: Use libm_alias_double_other.
11024 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
11025 [!USE_AS_COMPAT]: Use libm_alias_float_other.
11026 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
11027 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
11028 * math/w_exp2f.c: Use libm_alias_float_other.
11029 * math/w_expf.c: Likewise.
11030 * math/w_log2f.c: Likewise.
11031 * math/w_logf.c: Likewise.
11032 * math/w_powf.c: Likewise.
11033 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
11034 [!__exp2f]: Use libm_alias_float_other.
11035 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
11036 [!__expf]: Use libm_alias_float_other.
11037 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
11038 [!__log2f]: Use libm_alias_float_other.
11039 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
11040 [!__logf]: Use libm_alias_float_other.
11041 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
11042 [!__powf]: Use libm_alias_float_other.
11044 2017-10-10 Florian Weimer <fweimer@redhat.com>
11046 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
11048 (_nss_files_gethostbyname3_r): Call it.
11050 2017-10-09 Joseph Myers <joseph@codesourcery.com>
11052 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
11053 error. Remove default definition of declare_mgen_alias.
11054 [!declare_mgen_alias_r]: Likewise.
11055 * sysdeps/generic/math-type-macros-double.h
11056 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
11057 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
11058 (declare_mgen_alias_r): Likewise.
11059 * sysdeps/generic/math-type-macros-float128.h
11060 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
11061 * sysdeps/generic/math-type-macros-ldouble.h
11062 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
11063 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
11065 (declare_mgen_alias_r_s): Likewise.
11066 (declare_mgen_alias_r): Likewise.
11067 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
11068 (lgamma_r): Define using libm_alias_double_r.
11069 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
11070 (lgammaf_r): Define using libm_alias_float_r.
11071 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
11072 (lgammal_r): Define using libm_alias_ldouble_r.
11073 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
11074 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
11076 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11078 * lib/glob.c (__glob_pattern_type): Remove now-spurious
11079 extern declaration.
11081 2017-10-09 Joseph Myers <joseph@codesourcery.com>
11083 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
11085 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
11088 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
11089 [__cplusplus >= 201103] (__USE_ISOC99): Define.
11090 * math/Makefile (test-math-cxx11): New test.
11091 * math/test-math-cxx11.cc: New file.
11093 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
11095 * login/openpty.c (openpty): Close slave pty file descriptor on error.
11097 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
11098 call to allocate the slave pty file descriptor.
11100 2017-10-06 Joseph Myers <joseph@codesourcery.com>
11102 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
11103 [!__fma] (fma): Define using libm_alias_double.
11104 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
11105 [!__fma] (fma): Define using libm_alias_double.
11107 * sysdeps/ieee754/float128/float128_private.h: Include
11108 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
11109 (libm_alias_ldouble_r): Undefine and redefine.
11110 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
11111 <libm-alias-ldouble.h>.
11112 (asinhl): Define using libm_alias_ldouble.
11113 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
11114 <libm-alias-ldouble.h>.
11115 (atanl): Define using libm_alias_ldouble.
11116 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
11117 <libm-alias-ldouble.h>.
11118 (cbrtl): Define using libm_alias_ldouble.
11119 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
11120 <libm-alias-ldouble.h>.
11121 (ceill): Define using libm_alias_ldouble.
11122 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
11123 <libm-alias-ldouble.h>.
11124 (copysignl): Define using libm_alias_ldouble.
11125 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
11126 <libm-alias-ldouble.h>.
11127 (cosl): Define using libm_alias_ldouble.
11128 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
11129 <libm-alias-ldouble.h>.
11130 (erfl): Define using libm_alias_ldouble.
11132 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
11133 <libm-alias-ldouble.h>.
11134 (expm1l): Define using libm_alias_ldouble.
11135 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
11136 <libm-alias-ldouble.h>.
11137 (fabsl): Define using libm_alias_ldouble.
11138 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
11139 <libm-alias-ldouble.h>.
11140 (floorl): Define using libm_alias_ldouble.
11141 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
11142 <libm-alias-ldouble.h>.
11143 (fmal): Define using libm_alias_ldouble.
11144 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
11145 <libm-alias-ldouble.h>.
11146 (frexpl): Define using libm_alias_ldouble.
11147 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
11148 libm_alias_ldouble.
11149 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
11150 <libm-alias-ldouble.h>.
11151 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
11152 libm_alias_ldouble.
11153 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
11154 <libm-alias-ldouble.h>.
11155 (getpayloadl): Define using libm_alias_ldouble.
11156 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
11157 <libm-alias-ldouble.h>.
11158 (llrintl): Define using libm_alias_ldouble.
11159 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
11160 <libm-alias-ldouble.h>.
11161 (llroundl): Define using libm_alias_ldouble.
11162 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
11163 <libm-alias-ldouble.h>.
11164 (logbl): Define using libm_alias_ldouble.
11165 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
11166 <libm-alias-ldouble.h>.
11167 (lrintl): Define using libm_alias_ldouble.
11168 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
11169 <libm-alias-ldouble.h>.
11170 (lroundl): Define using libm_alias_ldouble.
11171 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
11172 <libm-alias-ldouble.h>.
11173 (modfl): Define using libm_alias_ldouble.
11174 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
11175 <libm-alias-ldouble.h>.
11176 (nearbyintl): Define using libm_alias_ldouble.
11177 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
11178 <libm-alias-ldouble.h>.
11179 (nextafterl): Define using libm_alias_ldouble.
11180 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
11181 <libm-alias-ldouble.h>.
11182 (nextupl): Define using libm_alias_ldouble.
11183 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
11184 <libm-alias-ldouble.h>.
11185 (remquol): Define using libm_alias_ldouble.
11186 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
11187 <libm-alias-ldouble.h>.
11188 (rintl): Define using libm_alias_ldouble.
11189 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
11190 <libm-alias-ldouble.h>.
11191 (roundevenl): Define using libm_alias_ldouble.
11192 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
11193 <libm-alias-ldouble.h>.
11194 (roundl): Define using libm_alias_ldouble.
11195 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
11196 using libm_alias_ldouble.
11197 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
11198 <libm-alias-ldouble.h>.
11199 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
11200 Define using libm_alias_ldouble.
11201 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
11202 <libm-alias-ldouble.h>.
11203 (sincosl): Define using libm_alias_ldouble.
11204 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
11205 <libm-alias-ldouble.h>.
11206 (sinl): Define using libm_alias_ldouble.
11207 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
11208 <libm-alias-ldouble.h>.
11209 (tanhl): Define using libm_alias_ldouble.
11210 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
11211 <libm-alias-ldouble.h>.
11212 (tanl): Define using libm_alias_ldouble.
11213 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
11214 <libm-alias-ldouble.h>.
11215 (totalorderl): Define using libm_alias_ldouble.
11216 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
11217 <libm-alias-ldouble.h>.
11218 (totalordermagl): Define using libm_alias_ldouble.
11219 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
11220 <libm-alias-ldouble.h>.
11221 (truncl): Define using libm_alias_ldouble.
11222 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
11223 libm_alias_ldouble.
11224 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
11225 libm_alias_ldouble.
11226 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
11227 <libm-alias-ldouble.h>.
11228 (weak_alias): Do not undefine and redefine.
11229 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
11230 (copysignl): Define with long_double_symbol only if [IS_IN
11232 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
11233 <libm-alias-ldouble.h>.
11234 (weak_alias): Do not undefine and redefine.
11235 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
11236 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
11237 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
11238 <libm-alias-ldouble.h>.
11239 (weak_alias): Do not undefine and redefine.
11240 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
11241 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
11242 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
11243 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
11244 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
11245 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
11246 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
11247 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
11248 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
11249 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
11250 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
11251 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
11252 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
11253 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
11255 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
11256 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
11257 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
11258 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
11259 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
11260 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
11261 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
11262 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
11263 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
11264 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
11265 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
11267 2017-10-06 Carlos O'Donell <carlos@redhat.com>
11270 * malloc/malloc.c (tcache_shutting_down): Use bool type.
11271 (tcache_thread_freeres): Set tcache_shutting_down before
11272 freeing the tcache.
11273 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
11274 * malloc/tst-malloc-tcache-leak.c: New file.
11276 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11278 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
11279 back to powerpc32 file.
11280 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
11281 (memrchr): Add __memrchr_power8 to ifunc list.
11282 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
11283 extra bytes for unaligned inputs.
11285 2017-10-06 Joseph Myers <joseph@codesourcery.com>
11287 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
11288 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
11289 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
11290 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11291 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11293 2017-10-05 Joseph Myers <joseph@codesourcery.com>
11295 * sysdeps/arm/libm-test-ulps: Update.
11297 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
11298 <libm-alias-ldouble.h>.
11299 (asinhl): Define using libm_alias_ldouble.
11300 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
11301 <libm-alias-ldouble.h>.
11302 (cbrtl): Define using libm_alias_ldouble.
11303 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
11304 <libm-alias-ldouble.h>.
11305 (copysignl): Define using libm_alias_ldouble.
11306 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
11307 <libm-alias-ldouble.h>.
11308 (cosl): Define using libm_alias_ldouble.
11309 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
11310 <libm-alias-ldouble.h>.
11311 (erfl): Define using libm_alias_ldouble.
11313 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
11314 <libm-alias-ldouble.h>.
11315 (fmal): Define using libm_alias_ldouble.
11316 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
11317 <libm-alias-ldouble.h>.
11318 (frexpl): Define using libm_alias_ldouble.
11319 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
11320 libm_alias_ldouble.
11321 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
11322 <libm-alias-ldouble.h>.
11323 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
11324 libm_alias_ldouble.
11325 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
11326 <libm-alias-ldouble.h>.
11327 (getpayloadl): Define using libm_alias_ldouble.
11328 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
11329 <libm-alias-ldouble.h>.
11330 (llrintl): Define using libm_alias_ldouble.
11331 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
11332 <libm-alias-ldouble.h>.
11333 (llroundl): Define using libm_alias_ldouble.
11334 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
11335 <libm-alias-ldouble.h>.
11336 (lrintl): Define using libm_alias_ldouble.
11337 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
11338 <libm-alias-ldouble.h>.
11339 (lroundl): Define using libm_alias_ldouble.
11340 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
11341 <libm-alias-ldouble.h>.
11342 (modfl): Define using libm_alias_ldouble.
11343 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
11344 <libm-alias-ldouble.h>.
11345 (nextupl): Define using libm_alias_ldouble.
11346 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
11347 <libm-alias-ldouble.h>.
11348 (remquol): Define using libm_alias_ldouble.
11349 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
11350 <libm-alias-ldouble.h>.
11351 (roundevenl): Define using libm_alias_ldouble.
11352 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
11353 <libm-alias-ldouble.h>.
11354 (roundl): Define using libm_alias_ldouble.
11355 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
11356 using libm_alias_ldouble.
11357 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
11358 <libm-alias-ldouble.h>.
11359 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
11360 <libm-alias-ldouble.h>.
11361 (setpayloadsigl): Define using libm_alias_ldouble.
11362 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
11363 <libm-alias-ldouble.h>.
11364 (sincosl): Define using libm_alias_ldouble.
11365 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
11366 <libm-alias-ldouble.h>.
11367 (sinl): Define using libm_alias_ldouble.
11368 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
11369 <libm-alias-ldouble.h>.
11370 (tanhl): Define using libm_alias_ldouble.
11371 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
11372 <libm-alias-ldouble.h>.
11373 (tanl): Define using libm_alias_ldouble.
11374 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
11375 <libm-alias-ldouble.h>.
11376 (totalorderl): Define using libm_alias_ldouble.
11377 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
11378 <libm-alias-ldouble.h>.
11379 (totalordermagl): Define using libm_alias_ldouble.
11380 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
11381 libm_alias_ldouble.
11382 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
11383 libm_alias_ldouble.
11385 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
11387 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
11389 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
11390 (__libc_ifunc_impl_list): Likewise.
11391 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
11392 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
11394 * benchtests/bench-memmove-walk.c: New file.
11395 * benchtests/Makefile (string-benchset): Add it.
11397 * benchtests/bench-memset-walk.c: New file.
11398 * benchtests/Makefile (string-benchset): Add it.
11400 * benchtests/bench-memcpy-walk.c: New file.
11401 * benchtests/Makefile (string-benchset): Add it.
11403 2017-10-05 Florian Weimer <fweimer@redhat.com>
11405 nscd: Eliminate compilation time dependency in the build output.
11406 * nscd/nscd_stat.c (STATDATA_VERSION)
11407 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
11408 (STATDATA_VERSION_FULL): New macro definitions.
11409 (compilation): Remove.
11410 (struct statdata): Adjust version member.
11411 (send_stats): Set version from STATDATA_VERSION_FULL.
11412 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
11414 2017-10-05 Joseph Myers <joseph@codesourcery.com>
11416 * configure.ac (--enable-add-ons): Remove option.
11417 (machine): Do not mention add-ons in comment.
11418 (LIBC_PRECONFIGURE): Likewise.
11419 (add_ons): Remove variable and sanity checks and logic to locate
11421 (add_ons_automatic): Remove variable.
11422 (configured_add_ons): Likewise.
11423 (add_ons_sfx): Likewise.
11424 (add_ons_pfx): Likewise.
11425 (add_on_subdirs): Likewise.
11426 (sysnames_add_ons): Likewise. Remove loop over add-ons and
11427 consideration of add-ons in Implies handling.
11428 (sysdeps_add_ons): Likewise.
11429 * configure: Regenerated.
11430 * libidn/configure.ac: Remove.
11431 * libidn/configure: Likewise.
11432 * sysdeps/unix/inet/configure.ac: New file.
11433 * sysdeps/unix/inet/configure: New generated file.
11434 * sysdeps/unix/inet/Subdirs: Add libidn.
11435 * Makeconfig (sysdeps-srcdirs): Remove variable.
11436 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
11437 ($(common-objpfx)config.status): Do not depend on add-on files.
11438 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
11440 (all-subdirs): Do not include $(add-on-subdirs).
11441 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
11442 * config.make.in (add-ons): Remove variable.
11443 (add-on-subdirs): Likewise.
11444 (sysdeps-add-ons): Likewise.
11445 * manual/Makefile (add-chapters): Remove.
11446 ($(objpfx)texis): Do not depend on $(add-chapters).
11447 (nonexamples): Do not handle $(add-chapters).
11448 (examples): Do not handle $(add-ons).
11449 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
11451 * manual/install.texi (Installation): Do not mention add-ons.
11452 (--enable-add-ons): Do not document configure option.
11453 * INSTALL: Regenerated.
11454 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
11455 * manual/maint.texi (Hierarchy Conventions): Do not mention
11457 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
11459 * scripts/gen-sorted.awk: Do not handle Subdirs files from
11461 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
11462 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
11464 2017-10-05 Andreas Schwab <schwab@suse.de>
11467 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
11468 (_IO_flush_all_lockp): Always lock list_all_lock.
11469 (_IO_flush_all_linebuffered): Likewise.
11470 (_IO_unbuffer_all): Likewise.
11472 2017-10-05 Florian Weimer <fweimer@redhat.com>
11475 Do not flush stdio streams on abort.
11476 * stdlib/abort.c (fflush): Remove macro definition.
11477 (abort): Remove stages related to stdio flushing.
11479 2017-10-05 Florian Weimer <fweimer@redhat.com>
11481 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
11483 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
11485 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11487 2017-10-05 Florian Weimer <fweimer@redhat.com>
11489 * support/support_format_hostent.c (support_format_hostent): Add
11490 more error information for NETDB_INTERNAL.
11492 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
11494 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
11495 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
11496 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
11497 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
11498 AC_DEFINE if multi-arch is enabled.
11499 * sysdeps/i386/configure: Regenerated.
11501 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
11503 * Makeconfig (+link-static-before-libc): Use
11504 $(DEFAULT-LDFLAGS-$(@F)).
11505 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
11506 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
11507 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
11509 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
11511 * elf/Makefile (tests): Add tst-main1.
11512 (modules-names): Add tst-main1mod.
11513 ($(objpfx)tst-main1): New.
11514 (CRT-tst-main1): Likewise.
11515 (LDFLAGS-tst-main1): Likewise.
11516 (LDLIBS-tst-main1): Likewise.
11517 (tst-main1mod.so-no-z-defs): Likewise.
11518 * elf/tst-main1.c: New file.
11519 * elf/tst-main1mod.c: Likewise.
11521 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
11523 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
11525 2017-10-04 Joseph Myers <joseph@codesourcery.com>
11527 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
11528 (fma): Define using libm_alias_double.
11529 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
11530 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
11532 (fmal): Do not define as compat symbol here.
11533 * sysdeps/alpha/fpu/s_fma.c: New file.
11535 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
11537 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
11539 2017-10-04 Joseph Myers <joseph@codesourcery.com>
11542 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
11544 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
11546 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
11547 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
11548 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
11549 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
11550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
11551 Include <math_ldbl_opt.h>
11552 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
11554 (compat_symbol): Undefine and redefine.
11555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
11557 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
11558 (compat_symbol): Undefine and redefine.
11559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
11560 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
11561 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
11562 GLIBC_2_1 for libm.
11563 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
11564 GLIBC_2.0 copysignl symbol.
11565 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11566 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
11568 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
11570 2017-10-04 Florian Weimer <fweimer@redhat.com>
11572 * scripts/check-local-headers.sh: Ignore nspr4 header file
11573 directory in addition to nspr.
11575 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
11578 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
11579 * configure: Regenerate.
11580 * crypt/Makefile (nss-cpp-flags): New variable.
11581 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
11582 (CPPFLAGS-md5-crypt.c): Use it.
11583 * scripts/check-local-headers.sh: Ignore nspr header file
11586 2017-10-04 Andreas Schwab <schwab@suse.de>
11588 * nis/Makefile (services): Remove compat.
11589 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
11590 ($(objpfx)libnss_compat.so): Remove rule.
11591 * nis/Versions (libnss_compat): Remove.
11592 * nss/Makefile (services): Add compat.
11593 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
11594 * nss/Versions (libnss_compat): Define.
11595 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
11596 Don't include <rpc/types.h>. Replace bool_t by bool.
11597 * nss/nss_compat/compat-initgroups.c: Likewise.
11598 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
11599 instead of <rpcsrv/ypclnt.h>.
11600 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
11601 yp_get_default_domain.
11602 * nss/nss_compat/compat-pwd.c: Likewise.
11603 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
11604 yp_get_default_domain.
11605 * nss/nss_compat/nisdomain.c: New file.
11606 * nss/nss_compat/nisdomain.h: Likewise.
11608 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
11611 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
11612 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11614 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
11617 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
11618 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
11620 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11622 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
11623 "movl main@GOTOFF(%ebx), %eax".
11625 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11627 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
11628 allow undefined _DYNAMIC in PIE libc.a.
11629 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
11632 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11634 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
11637 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11639 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
11642 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11644 * math/test-math-iscanonical.cc (error): Replace bool with int.
11646 2017-10-03 Joseph Myers <joseph@codesourcery.com>
11648 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
11649 (modf): Define using libm_alias_double, only if [!__modf].
11650 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
11651 <libm-alias-double.h>.
11652 (modf): Define using libm_alias_double, only if [!__modf].
11653 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
11654 compat symbol here.
11655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
11656 (weak_alias): Do not undefine and redefine.
11657 (strong_alias): Likewise.
11658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
11659 (weak_alias): Likewise.
11660 (strong_alias): Likewise.
11662 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
11663 (logb): Define using libm_alias_double, only if [!__logb].
11664 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
11665 <libm-alias-double.h>.
11666 (logb): Define using libm_alias_double, only if [!__logb].
11667 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
11668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
11669 (weak_alias): Do not undefine and redefine.
11670 (strong_alias): Likewise.
11671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
11672 (weak_alias): Likewise.
11673 (strong_alias): Likewise.
11675 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11677 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
11678 Check SHARED instead PIC.
11680 2017-10-03 Joseph Myers <joseph@codesourcery.com>
11682 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
11683 [!__fmaf] (fmaf): Define using libm_alias_float.
11685 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
11686 (frexp): Define using libm_alias_double.
11687 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
11688 <libm-alias-double.h>.
11689 (frexp): Define using libm_alias_double.
11690 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
11691 compat symbol here.
11693 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11696 * math/math.h: Trivial fix for unbalanced parentheses in comment.
11697 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
11698 (CFLAGS-test-math-iscanonical.cc): New variable.
11699 * math/test-math-iscanonical.cc: New file.
11700 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
11701 Provide a C++ implementation based on function overloading,
11702 rather than using __MATH_TG, which uses C-only builtins.
11703 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
11705 * sysdeps/powerpc/powerpc64le/Makefile
11706 (CFLAGS-test-math-iscanonical.cc): New variable.
11708 2017-10-03 Joseph Myers <joseph@codesourcery.com>
11710 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
11711 (ceil): Define using libm_alias_double.
11712 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
11713 (floor): Define using libm_alias_double.
11714 * sysdeps/ieee754/dbl-64/s_llround.c: Include
11715 <libm-alias-double.h>.
11716 (llround): Define using libm_alias_double.
11717 * sysdeps/ieee754/dbl-64/s_lround.c: Include
11718 <libm-alias-double.h>.
11719 (lround): Define using libm_alias_double.
11720 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
11721 <libm-alias-double.h>.
11722 (nearbyint): Define using libm_alias_double.
11723 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
11724 <libm-alias-double.h>.
11725 (remquo): Define using libm_alias_double.
11726 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
11727 (rint): Define using libm_alias_double.
11728 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
11729 (round): Define using libm_alias_double.
11730 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
11731 (trunc): Define using libm_alias_double.
11732 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
11733 <libm-alias-double.h>.
11734 (ceil): Define using libm_alias_double.
11735 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
11736 <libm-alias-double.h>.
11737 (floor): Define using libm_alias_double.
11738 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
11739 <libm-alias-double.h>.
11740 (llround): Define using libm_alias_double.
11741 [_LP64] (lround): Likewise.
11742 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
11743 <libm-alias-double.h>.
11744 [!_LP64] (lround): Define using libm_alias_double.
11745 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
11746 <libm-alias-double.h>.
11747 (nearbyint): Define using libm_alias_double.
11748 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
11749 <libm-alias-double.h>.
11750 (remquo): Define using libm_alias_double.
11751 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
11752 <libm-alias-double.h>.
11753 (rint): Define using libm_alias_double.
11754 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
11755 <libm-alias-double.h>.
11756 (round): Define using libm_alias_double.
11757 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
11758 <libm-alias-double.h>.
11759 (trunc): Define using libm_alias_double.
11760 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
11761 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
11762 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
11763 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
11764 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
11765 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
11766 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
11767 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
11768 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
11770 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
11772 * math/w_remainder.c: New file.
11773 * math/w_remainderf.c: New file.
11774 * math/w_remainderl.c: New file.
11776 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
11778 * elf/rtld.c (BOOTSTRAP_MAP): New.
11779 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
11780 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
11782 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
11784 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
11787 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11789 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
11790 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
11791 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
11792 rtld_hidden_data_ver): Define to empty.
11793 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
11794 __assert_perror_fail): Likewise.
11795 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
11796 (__rewinddir): Likewise.
11797 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
11798 (__profile_frequency): Likewise.
11799 * include/setjmp.h (__sigsetjmp): Likewise.
11800 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
11801 __libc_sigaction): Likewise.
11802 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
11803 not set hidden attribute.
11804 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
11805 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
11806 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
11807 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
11808 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
11809 __fxstatat64): Likewise.
11810 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
11811 (__uname): Likewise.
11812 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
11813 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
11814 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
11815 (NO_RTLD_HIDDEN): Set.
11816 * sysdeps/mach/hurd/configure: Refresh.
11817 * config.h.in: Refresh.
11819 2017-10-02 Joseph Myers <joseph@codesourcery.com>
11821 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
11822 (atan): Define using libm_alias_double.
11823 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
11824 (tan): Define using libm_alias_double.
11825 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
11826 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
11828 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
11829 define as weak alias of __atan. Do not define any aliases if
11831 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
11832 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
11833 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
11834 as weak alias of __tan. Do not define any aliases if [__tan].
11835 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
11836 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
11837 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
11839 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
11840 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
11841 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
11842 and define as weak alias of __atan.
11843 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
11845 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
11846 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
11847 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
11848 define as weak alias of __tan.
11850 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11852 * math/w_lgamma.c: New file.
11853 * math/w_lgammaf.c: New file.
11854 * math/w_lgammal.c: New file.
11856 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11858 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
11859 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
11860 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
11861 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
11862 * sysdeps/ieee754/flt-32/w_logf.c: New file.
11863 * sysdeps/ieee754/flt-32/w_powf.c: New file.
11864 * sysdeps/i386/fpu/w_log2f.c: New file.
11865 * sysdeps/i386/fpu/w_logf.c: New file.
11866 * sysdeps/i386/fpu/w_powf.c: New file.
11867 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
11868 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
11869 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
11871 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11872 H.J. Lu <hongjiu.lu@intel.com>
11874 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
11875 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
11876 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
11877 * sysdeps/ieee754/flt-32/w_expf.c: New file.
11878 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
11880 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
11881 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
11882 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
11883 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
11884 * sysdeps/i386/fpu/w_exp2f.c: New file.
11885 * sysdeps/i386/fpu/w_expf.c: New file.
11886 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
11887 * sysdeps/x86_64/fpu/w_expf.c: New file.
11889 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11891 * math/Versions (logf): New libm symbol at GLIBC_2.27.
11894 * math/w_log2f.c: New file.
11895 * math/w_logf.c: New file.
11896 * math/w_powf.c: New file.
11897 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
11898 * math/w_logf_compat.c (__logf_compat): Likewise.
11899 * math/w_powf_compat.c (__powf_compat): Likewise.
11900 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
11901 * sysdeps/ia64/fpu/e_logf.S: Likewise.
11902 * sysdeps/ia64/fpu/e_powf.S: Likewise.
11903 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
11904 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11905 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11906 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11907 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11908 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11909 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11910 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11911 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11912 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11913 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11914 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11923 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11924 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11925 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11926 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11927 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11932 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11933 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11934 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11936 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11938 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11939 (sysdep_routines): Add memrchr_power8.
11940 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11941 (memrchr): Add __memrchr_power8 to list of memrchr functions.
11942 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
11944 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
11945 (memrchr): Add __memrchr_power8 to ifunc list.
11946 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
11948 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11951 * sysdeps/unix/sysv/linux/posix_fadvise64.c
11952 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
11954 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11955 (__posix_fallocate64_l64): Likewise.
11957 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11960 * sysdeps/unix/sysv/linux/sched_setaffinity.c
11961 (__sched_setaffinity_new): Add libc_hidden_proto and
11964 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11967 * include/glob.h (__glob64): Add libc_hidden_proto.
11968 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
11971 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11974 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
11977 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11980 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
11982 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11985 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
11988 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11991 * csu/version.c (__libc_print_version): Add attribute_hidden.
11993 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
11996 * include/libc-internal.h (__init_misc): Add attribute_hidden.
11998 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12001 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
12003 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12006 * nscd/nscd_helper.c (__nis_hash): New prototype.
12008 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12011 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
12012 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
12014 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12015 * termios/tcgetattr.c (__tcgetattr): Likewise.
12017 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12020 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
12021 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
12022 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
12023 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
12024 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
12026 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12029 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
12031 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12034 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
12035 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
12037 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12040 * intl/hash-string.h (__hash_string): Add attribute_hidden.
12042 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12045 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
12046 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
12048 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12051 * include/ifreq.h: New file.
12052 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
12053 (__ifreq): Likewise.
12054 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
12055 (__ifreq): Likewise.
12057 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12060 * include/idna.h: New file.
12061 * inet/getnameinfo.c: Include <idna.h> instead of
12063 (__idna_to_unicode_lzlz): Removed.
12064 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
12066 (__idna_to_ascii_lz): Removed.
12067 (__idna_to_unicode_lzlz): Likewise.
12069 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12072 * include/plural-exp.h: New file.
12073 * intl/plural-exp.c: Include <plural-exp.h> instead of
12076 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12079 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
12080 "getsourcefilter.h".
12081 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
12082 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
12083 "getsourcefilter.h".
12084 (__get_sol): Removed.
12086 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12089 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
12091 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
12093 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12096 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
12099 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12102 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
12104 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12107 * include/search.h (__tdestroy): Add libc_hidden_proto.
12108 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
12110 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12113 * include/assert.h (__assert_fail_base): Add attribute_hidden.
12115 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12118 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
12121 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12124 * include/signal.h (__kill): Add libc_hidden_proto.
12125 (__sigblock): Likewise.
12126 (__sigprocmask): Likewise.
12127 (__sigaltstack): Likewise.
12128 * signal/kill.c (__kill): Add libc_hidden_def.
12129 * signal/sigblock.c (__sigblock): Likewise.
12130 * signal/sigprocmask.c (__sigprocmask): Likewise.
12131 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
12132 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12133 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12134 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12135 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
12137 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12139 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12140 (__sigprocmask): Likewise.
12141 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
12143 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12144 (__sigprocmask): Likewise.
12145 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12148 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12151 * include/string.h (__strsep): Add libc_hidden_proto.
12152 * string/strsep.c (__strsep): Add libc_hidden_def.
12154 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12157 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
12159 (__spawni): Likewise.
12161 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12164 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
12165 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
12168 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12171 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
12173 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12176 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
12177 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
12178 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
12179 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
12180 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
12182 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
12183 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
12185 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12188 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
12189 (__dcigettext): Likewise.
12191 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12194 * include/sys/sysinfo.h (__get_nprocs_conf): Add
12196 (__get_nprocs): Likewise.
12197 (__get_phys_pages): Likewise.
12198 (__get_avphys_pages): Likewise.
12199 (__get_child_max): Add attribute_hidden.
12200 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
12201 (__get_nprocs): Likewise.
12202 (__get_phys_pages): Likewise.
12203 (__get_avphys_pages): Likewise.
12204 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
12206 (__get_nprocs): Likewise.
12207 (__get_phys_pages): Likewise.
12208 (__get_avphys_pages): Likewise.
12209 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
12211 (__get_nprocs_conf): Likewise.
12212 (__get_phys_pages): Likewise.
12213 (__get_avphys_pages): Likewise.
12215 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12218 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
12220 (__netlink_close): Likewise.
12221 (__netlink_free_handle): Likewise.
12222 (__netlink_request): Likewise.
12224 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12227 * include/rpc/rpc.h (__rpc_thread_variables): Add
12229 (__rpc_thread_svc_cleanup): Likewise.
12230 (__rpc_thread_clnt_cleanup): Likewise.
12231 (__rpc_thread_key_cleanup): Likewise.
12233 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12236 * include/sys/uio.h (__readv): Add libc_hidden_proto.
12237 (__writev): Likewise.
12238 * misc/readv.c (__readv): Add libc_hidden_def.
12239 * misc/writev.c (__writev): Likewise.
12240 * sysdeps/posix/readv.c (__readv): Likewise.
12241 * sysdeps/posix/writev.c (__writev): Likewise.
12242 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
12243 (__readv): Likewise.
12244 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
12245 (__writev): Likewise.
12247 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12250 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
12251 (__regcomp): Add libc_hidden_proto.
12252 (__regexec): Likewise.
12253 (__regfree): Likewise.
12254 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
12255 (__regfree): Likewise.
12256 * posix/regexec.c (__regexec): Likewise.
12258 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12261 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
12262 (__getutent): Likewise.
12263 (__getutid): Likewise.
12264 (__getutline): Likewise.
12265 (__pututline): Likewise.
12266 (__getutent_r): Likewise.
12267 (__getutid_r): Likewise.
12268 (__getutline_r): Likewise.
12269 (__utmpname): Add attribute_hidden.
12270 (__setutent): Likewise.
12271 (__endutent): Likewise.
12272 * login/getutent.c (__getutent): Add libc_hidden_def.
12273 * login/getutent_r.c (__getutent_r): Likewise.
12274 (__pututline): Likewise.
12275 * login/getutid.c (__getutid): Likewise.
12276 * login/getutid_r.c (__getutid_r): Likewise.
12277 * login/getutline.c (__getutline): Likewise.
12278 * login/getutline_r.c (__getutline_r): Likewise.
12279 * login/updwtmp.c (__updwtmp): Likewise.
12281 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12284 * include/dirent.h (__opendir): Always add attribute_hidden.
12285 (__fdopendir): Likewise.
12286 (__closedir): Likewise.
12287 (__readdir): Likewise.
12288 (__readdir64): Add libc_hidden_proto.
12289 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
12290 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
12291 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
12292 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
12295 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12298 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
12299 * include/netdb.h (__gethostbyaddr_r): Likewise.
12300 (__gethostbyname_r): Likewise.
12301 (__gethostbyname2_r): Likewise.
12302 (__getnetbyaddr_r): Likewise.
12303 (__getnetbyname_r): Likewise.
12304 (__getservbyname_r): Likewise.
12305 (__getservbyport_r): Likewise.
12306 (__getprotobyname_r): Likewise.
12307 (__getprotobynumber_r): Likewise.
12308 (__getnetgrent_r): Likewise.
12309 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
12310 (__getrpcbynumber_r): Likewise.
12311 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
12313 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12316 * include/stdio.h (__fcloseall): Add attribute_hidden.
12317 (__getline): Likewise.
12318 (__path_search): Likewise.
12319 (__gen_tempname): Likewise.
12320 (__libc_message): Likewise.
12321 (__flockfile): Likewise.
12322 (__funlockfile): Likewise.
12323 (__fxprintf): Likewise.
12324 (__fxprintf_nocancel): Likewise.
12326 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12329 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
12330 (__sgetsgent_r): Likewise.
12332 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12335 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
12336 (__statfs64): Likewise.
12337 (__fstatfs64): Likewise.
12338 * include/sys/statvfs.h (__statvfs64): Likewise.
12339 (__fstatvfs64): Likewise.
12340 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
12341 (__statfs_filesize_max): Likewise.
12342 (__statfs_symlinks): Likewise.
12343 (__statfs_chown_restricted): Likewise.
12345 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12348 * include/time.h (__tzstring): Add attribute_hidden.
12349 (__tzfile_read): Likewise.
12350 (__tzfile_compute): Likewise.
12351 (__tzfile_default): Likewise.
12352 (__tzset_parse_tz): Likewise.
12353 (__offtime): Likewise.
12354 (__asctime_r): Likewise.
12355 (__tzset): Likewise.
12356 (__tz_convert): Likewise.
12357 (__getdate_r): Likewise.
12358 (__getclktck): Likewise.
12360 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12363 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
12364 (__nscd_unmap): Likewise.
12365 (__nscd_cache_search): Likewise.
12366 (__nscd_get_nl_timestamp): Likewise.
12367 (__nscd_getpwnam_r): Likewise.
12368 (__nscd_getpwuid_r): Likewise.
12369 (__nscd_getgrnam_r): Likewise.
12370 (__nscd_getgrgid_r): Likewise.
12371 (__nscd_gethostbyname_r): Likewise.
12372 (__nscd_gethostbyname2_r): Likewise.
12373 (__nscd_gethostbyaddr_r): Likewise.
12374 (__nscd_getai): Likewise.
12375 (__nscd_getgrouplist): Likewise.
12376 (__nscd_getservbyname_r): Likewise.
12377 (__nscd_getservbyport_r): Likewise.
12378 (__nscd_innetgr): Likewise.
12379 (__nscd_setnetgrent): Likewise.
12381 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12384 * include/gmp.h: Declare internal functions only if _ISOMAC is
12386 (__mpn_extract_double): Add attribute_hidden.
12387 (__mpn_extract_long_double): Likewise.
12388 (__mpn_extract_float128): Likewise.
12389 (__mpn_construct_float): Likewise.
12390 (__mpn_construct_double): Likewise.
12391 (__mpn_construct_long_double): Likewise.
12392 (__mpn_construct_float128): Likewise.
12393 (mpn_add_1): Likewise.
12394 (mpn_addmul_1): Likewise.
12395 (mpn_add_n): Likewise.
12396 (mpn_cmp): Likewise.
12397 (mpn_divrem): Likewise.
12398 (mpn_lshift): Likewise.
12399 (mpn_mul): Likewise.
12400 (mpn_mul_1): Likewise.
12401 (mpn_rshift): Likewise.
12402 (mpn_sub_1): Likewise.
12403 (mpn_submul_1): Likewise.
12404 (mpn_sub_n): Likewise.
12406 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12409 * include/wchar.h (__wcsnlen): Add attribute_hidden.
12410 (__wcscat): Likewise.
12411 (__btowc): Likewise.
12412 (__wcrtomb): Likewise.
12413 (__mbsrtowcs): Likewise.
12414 (__wcsrtombs): Likewise.
12415 (__mbsnrtowcs): Likewise.
12416 (__wcsnrtombs): Likewise.
12417 (__wcsncpy): Likewise.
12418 (__wcpncpy): Likewise.
12419 (__wmemcpy): Likewise.
12420 (__wmempcpy): Likewise.
12421 (__wmemmove): Likewise.
12422 (__wcschrnul): Likewise.
12423 (__vfwscanf): Likewise.
12424 (__vswprintf): Likewise.
12425 (__fwprintf): Likewise.
12426 (__vfwprintf): Likewise.
12428 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12431 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
12432 (__getgrgid_r): Likewise.
12433 (__getgrnam_r): Likewise.
12434 * include/pwd.h (__getpwuid_r): Likewise.
12435 (__getpwnam_r): Likewise.
12436 (__fgetpwent_r): Likewise.
12437 * include/shadow.h (__getspnam_r): Likewise.
12438 (__sgetspent_r): Likewise.
12439 (__fgetspent_r): Likewise.
12441 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12444 * include/unistd.h (__access): Add attribute_hidden.
12445 (__lseek64): Likewise.
12446 (__libc_pread64): Likewise.
12447 (__pipe2): Likewise.
12448 (__sleep): Likewise.
12449 (__chdir): Likewise.
12450 (__fchdir): Likewise.
12451 (__getcwd): Likewise.
12452 (__rmdir): Likewise.
12453 (__execvpe): Likewise.
12454 (__execve): Likewise.
12455 (__setsid): Likewise.
12456 (__getuid): Likewise.
12457 (__geteuid): Likewise.
12458 (__getgid): Likewise.
12459 (__getegid): Likewise.
12460 (__getgroups): Likewise.
12461 (__group_member): Likewise.
12462 (__ttyname_r): Likewise.
12463 (__isatty): Likewise.
12464 (__readlink): Likewise.
12465 (__unlink): Likewise.
12466 (__gethostname): Likewise.
12467 (__profil): Likewise.
12468 (__getdtablesize): Likewise.
12470 (__ftruncate): Likewise.
12471 (__ftruncate64): Likewise.
12473 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12476 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
12477 * argp/argp-fs-xinl.c: Likewise.
12478 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
12479 * argp/argp-parse.c: Include <argp.h>.
12480 * argp/argp-xinl.c: Likewise.
12481 * include/argp-fmtstream.h: New file.
12482 * include/argp.h (__argp_error): Add attribute_hidden.
12483 (__argp_failure): Likewise.
12484 (__argp_input): Likewise.
12485 (__argp_state_help): Likewise.
12487 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12490 * include/wchar.h (____wcstof_l_internal): New prototype.
12491 (____wcstod_l_internal): Likewise.
12492 (____wcstold_l_internal): Likewise.
12493 (____wcstol_l_internal): Likewise.
12494 (____wcstoul_l_internal): Likewise.
12495 (____wcstoll_l_internal): Likewise.
12496 (____wcstoull_l_internal): Likewise.
12497 (____wcstof128_l_internal): Likewise.
12498 * sysdeps/ieee754/float128/wcstof128.c
12499 (____wcstof128_l_internal): Removed.
12500 * sysdeps/ieee754/float128/wcstof128_l.c
12501 (____wcstof128_l_internal): Likewise.
12502 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
12503 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
12504 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
12505 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
12506 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
12507 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
12508 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
12509 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
12510 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
12511 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
12513 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12516 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
12517 instead of <sys/statvfs.h>.
12518 (__internal_statvfs): Removed.
12519 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
12520 instead of <sys/statvfs.h>.
12521 (__internal_statvfs64): Removed.
12522 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
12523 "internal_statvfs.h" instead of <sys/statvfs.h>.
12524 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
12525 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
12526 instead of <sys/statvfs.h>.
12527 (__internal_statvfs): Removed.
12528 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
12529 instead of <sys/statvfs.h>.
12530 (__internal_statvfs64): Removed.
12532 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12535 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
12536 (__gconv_close): Likewise.
12537 (__gconv): Likewise.
12538 (__gconv_find_transform): Likewise.
12539 (__gconv_lookup_cache): Likewise.
12540 (__gconv_compare_alias_cache): Likewise.
12541 (__gconv_load_cache): Likewise.
12542 (__gconv_get_path): Likewise.
12543 (__gconv_close_transform): Likewise.
12544 (__gconv_release_cache): Likewise.
12545 (__gconv_find_shlib): Likewise.
12546 (__gconv_release_shlib): Likewise.
12547 (__gconv_get_builtin_trans): Likewise.
12548 (__gconv_compare_alias): Likewise.
12549 * include/dlfcn.h (_dlerror_run): Likewise.
12550 * include/stdio.h (__fortify_fail_abort): Likewise.
12551 * include/time.h (__tz_compute): Likewise.
12552 (__strptime_internal): Likewise.
12553 * intl/gettextP.h (_nl_find_domain): Likewise.
12554 (_nl_load_domain): Likewise.
12555 (_nl_find_msg): Likewise.
12556 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
12557 (EXTRACT_PLURAL_EXPRESSION): Likewise.
12558 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
12559 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
12560 (__gai_find_request): Likewise.
12561 (__gai_remove_request): Likewise.
12562 (__gai_notify): Likewise.
12563 (__gai_notify_only): Likewise.
12564 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
12565 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
12566 (_dl_non_dynamic_init): Likewise.
12567 (_dl_aux_init): Likewise.
12568 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
12569 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
12571 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
12572 (__wcsmbs_clone_conv): Likewise.
12573 (__wcsmbs_named_conv): Likewise.
12575 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12578 * include/stdlib.h (__random): Add attribute_hidden.
12579 (__random_r): Likewise.
12580 (__srandom_r): Likewise.
12581 (__initstate_r): Likewise.
12582 (__setstate_r): Likewise.
12583 (__erand48_r): Likewise.
12584 (__nrand48_r): Likewise.
12585 (__jrand48_r): Likewise.
12586 (__srand48_r): Likewise.
12587 (__seed48_r): Likewise.
12588 (__lcong48_r): Likewise.
12589 (__drand48_iterate): Likewise.
12590 (__setenv): Likewise.
12591 (__unsetenv): Likewise.
12592 (__clearenv): Likewise.
12593 (__ptsname_r): Likewise.
12594 (__posix_openpt): Likewise.
12595 (__add_to_environ): Likewise.
12596 (__realpath): Add libc_hidden_proto.
12597 (__ecvt_r): Likewise.
12598 (__fcvt_r): Likewise.
12599 (__qecvt_r): Likewise.
12600 (__qfcvt_r): Likewise.
12601 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
12602 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
12604 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
12607 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
12608 * include/time.h (__mktime_internal): Likewise.
12609 * libio/iolibio.h (__fopen_internal): Likewise.
12611 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
12613 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
12615 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
12616 Correct offset used to restore PIC register.
12618 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
12621 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
12622 code to load address of __getcontext_ret when generating PIC code.
12624 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
12626 * elf/Makefile (tests-static-internal): Add
12627 tst-tls1-static-non-pie.
12628 (LDFLAGS-tst-tls1-static-non-pie): New.
12629 * elf/tst-tls1-static-non-pie.c: New file.
12631 2017-09-29 Joseph Myers <joseph@codesourcery.com>
12633 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
12634 (asinh): Define using libm_alias_double.
12635 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
12636 (cbrt): Define using libm_alias_double.
12637 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
12638 <libm-alias-double.h>.
12639 (copysign): Define using libm_alias_double.
12640 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
12641 (erf): Define using libm_alias_double.
12643 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
12644 (expm1): Define using libm_alias_double.
12645 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
12646 (fabs): Define using libm_alias_double.
12647 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
12649 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
12650 <libm-alias-double.h>.
12651 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
12653 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
12654 <libm-alias-double.h>.
12655 (getpayload): Define using libm_alias_double.
12656 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
12657 <libm-alias-double.h>.
12658 (llrint): Define using libm_alias_double.
12659 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
12660 (lrint): Define using libm_alias_double.
12661 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
12662 <libm-alias-double.h>.
12663 (nextup): Define using libm_alias_double.
12664 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
12665 <libm-alias-double.h>.
12666 (roundeven): Define using libm_alias_double.
12667 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
12669 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
12670 <libm-alias-double.h>.
12671 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
12672 using libm_alias_double.
12673 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
12674 (cos): Define using libm_alias_double.
12676 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
12677 <libm-alias-double.h>.
12678 (sincos): Define using libm_alias_double.
12679 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
12680 (tanh): Define using libm_alias_double.
12681 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
12682 <libm-alias-double.h>.
12683 (totalorder): Define using libm_alias_double.
12684 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
12685 <libm-alias-double.h>.
12686 (totalordermag): Define using libm_alias_double.
12687 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
12689 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
12691 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
12692 <libm-alias-double.h>.
12693 (getpayload): Define using libm_alias_double.
12694 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
12695 <libm-alias-double.h>.
12696 (roundeven): Define using libm_alias_double.
12697 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
12698 <libm-alias-double.h>.
12699 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
12700 <libm-alias-double.h>.
12701 (totalorder): Define using libm_alias_double.
12702 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
12703 <libm-alias-double.h>.
12704 (totalordermag): Define using libm_alias_double.
12705 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
12706 libc compat symbol here.
12707 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
12708 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
12709 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
12710 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
12711 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
12712 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
12713 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
12714 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
12715 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
12716 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
12718 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
12720 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
12721 _dl_relocate_static_pie instead of _dl_start to compute load
12722 address in static PIE. Return 0 if _DYNAMIC is undefined for
12725 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
12727 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
12728 _DYNAMIC is undefined for static executable.
12730 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
12732 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
12734 2017-09-29 Joseph Myers <joseph@codesourcery.com>
12736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12738 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
12740 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
12741 (__ieee754_lgamma_r): Use fabs rather than __fabs.
12742 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12743 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12744 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
12745 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
12746 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
12747 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
12748 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
12749 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
12750 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
12751 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12752 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
12753 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
12754 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12755 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12756 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
12758 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
12760 * math/bits/cmathcalls.h (cimag): Remove inline.
12761 (creal): Remove inline.
12762 (conj): Remove inline.
12764 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
12766 * math/Makefile (type-float-routines): Add e_powf_log2_data.
12767 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
12768 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
12769 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
12770 (issignalingf_inline): Likewise.
12771 (POWF_LOG2_TABLE_BITS): Likewise.
12772 (POWF_LOG2_POLY_ORDER): Likewise.
12773 (POWF_SCALE_BITS): Likewise.
12774 (POWF_SCALE): Likewise.
12775 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
12776 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
12777 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
12779 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
12781 * math/Makefile (type-float-routines): Add e_log2f_data.
12782 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
12783 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
12784 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
12785 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
12786 * sysdeps/i386/fpu/e_log2f_data.c: New file.
12787 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
12788 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
12790 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
12792 * math/Makefile (type-float-routines): Add e_logf_data.
12793 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
12794 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
12795 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
12796 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
12797 * sysdeps/i386/fpu/e_logf_data.c: New file.
12798 * sysdeps/ia64/fpu/e_logf_data.c: New file.
12799 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
12801 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
12803 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
12804 undefined _DYNAMIC in PIE libc.a.
12805 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
12808 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
12810 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
12811 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
12812 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
12813 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
12814 (__signbit): Remove.
12815 (__signbitl): Remove.
12816 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
12817 (__signbit): Remove.
12818 (__signbitl): Remove.
12819 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
12820 (__signbit): Remove.
12821 (__signbitl): Remove.
12822 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
12823 (__signbit): Remove.
12824 (__signbitl): Remove.
12825 * sysdeps/tile/bits/mathinline.h: Delete file.
12826 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
12827 (__signbit): Remove.
12828 (__signbitl): Remove.
12830 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
12832 * math/math.h: Improve handling of C99 isgreater macros.
12833 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
12834 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
12835 * sysdeps/powerpc/bits/mathinline.h: Likewise.
12836 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12837 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
12839 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12841 * sysdeps/aarch64/libm-test-ulps: Update.
12843 2017-09-28 Joseph Myers <joseph@codesourcery.com>
12846 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12847 math_opt_barrier on argument when doing arithmetic on it.
12848 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12849 Likewise. Use math_force_eval not math_opt_barrier after
12851 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
12852 math_opt_barrier on argument when doing arithmetic on it.
12853 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12856 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
12858 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
12860 (__freeifaddrs): Likewise.
12862 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12864 * include/dirent.h (__dirfd): New declaration.
12865 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
12867 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
12868 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
12869 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
12870 * include/unistd.h (__revoke): New declaration.
12871 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
12873 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12874 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
12876 * include/dirent.h (__seekdir): New declaration.
12877 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
12878 redefine as weak alias.
12879 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
12881 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
12882 and use libc_hidden_def on them.
12883 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
12885 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
12886 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
12887 instead of getifaddrs and freeifaddrs.
12889 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
12892 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
12893 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
12894 (__dso_handle): Remove declaration.
12895 * dlfcn/tstatexit.c (__dso_handle): Removed.
12896 (main): Don't check __dso_handle.
12897 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
12898 (main): Don't check __dso_handle.
12899 * include/dso_handle.h: New file.
12900 * malloc/mtrace.c: Include <dso_handle.h>.
12901 (mtrace): Pass __dso_handle directly.
12902 * nptl/pthread_atfork.c: Include <dso_handle.h>.
12903 (__dso_handle): Remove declaration.
12904 (__pthread_atfork): Pass __dso_handle directly.
12905 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
12906 (__dso_handle): Removed.
12907 * posix/wordexp-test.c: Include <dso_handle.h>.
12908 (__dso_handle): Remove declaration.
12909 (__app_register_atfork): Pass __dso_handle directly.
12910 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
12911 (__dso_handle): Remove declaration.
12912 (at_quick_exit): Pass __dso_handle directly.
12913 * stdlib/atexit.c: Include <dso_handle.h>.
12914 (__dso_handle): Remove declaration.
12915 (atexit): Pass __dso_handle directly.
12916 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
12917 (__dso_handle): Removed.
12919 2017-09-26 Joseph Myers <joseph@codesourcery.com>
12921 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
12924 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
12926 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
12927 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
12928 values to correct default value for given type.
12930 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
12933 * elf/Makefile (tests): Add tst-debug1.
12934 ($(objpfx)tst-debug1): New.
12935 ($(objpfx)tst-debug1.out): Likewise.
12936 ($(objpfx)tst-debug1mod1.so): Likewise.
12937 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
12938 with p_filesz == 0.
12939 * elf/tst-debug1.c: New file.
12941 2017-09-26 Joseph Myers <joseph@codesourcery.com>
12943 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
12944 Define using __ifunc.
12946 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12948 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
12951 2017-09-26 Joseph Myers <joseph@codesourcery.com>
12954 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
12956 2017-09-26 Florian Weimer <fweimer@redhat.com>
12958 * resolv/Makefile (tests-internal): Fix typo in comment.
12960 2017-09-26 Florian Weimer <fweimer@redhat.com>
12962 * resolv/nss_dns/dns-host.c: Fix typo in comment.
12964 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12966 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
12967 Use an union instead of a max_align_t array for __space,
12968 so that __space is the same size on all platforms.
12969 * malloc/scratch_buffer_grow_preserve.c
12970 (__libc_scratch_buffer_grow_preserve): Likewise.
12973 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
12975 * posix/Makefile (routines): Add glob-lstat-compat and
12976 glob64-lstat-compat.
12977 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
12978 * posix/glob-lstat-compat.c: New file.
12979 * posix/glob64-lstat-compat.c: Likewise.
12980 * posix/tst-glob_lstat_compat.c: Likewise.
12981 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
12982 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
12983 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
12984 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
12986 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
12987 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
12988 * posix/glob.c (glob_lstat): New function.
12989 (glob): Rename to __glob and add versioned symbol to 2.27.
12990 (glob_in_dir): Use glob_lstat.
12991 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
12992 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12993 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
12995 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
12996 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
12997 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
12998 gl_lstat on glob call.
12999 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
13000 and glob64 symbols.
13001 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13002 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13003 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13004 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13005 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13006 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13007 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13008 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13009 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13010 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13011 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13012 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13015 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13017 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13018 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13019 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13020 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13021 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13024 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13025 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13026 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13028 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
13030 * configure.ac (AS): Require binutils 2.25 or later.
13031 * configure: Regenerated.
13033 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
13036 * stdlib/test-atexit-race-common.c (do_test): Minimize required
13039 2017-09-25 DJ Delorie <dj@redhat.com>
13042 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
13045 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13047 * sysdeps/ieee754/dbl-64/sincos32.h
13048 [SINCCOS32_H]: Remove define.
13049 [SINCOS32_H]: Define.
13051 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
13053 * math/Versions (expf): New libm symbol at GLIBC_2.27.
13055 * math/w_exp2f.c: New file.
13056 * math/w_expf.c: New file.
13057 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
13058 * math/w_expf_compat.c (__expf_compat): Likewise.
13059 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
13060 * sysdeps/ia64/fpu/e_expf.S: Likewise.
13061 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
13062 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13063 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13064 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13065 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13066 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13067 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13068 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13069 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13070 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13071 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13072 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13081 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13082 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13083 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13084 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13085 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13090 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13091 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13092 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13094 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
13096 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
13097 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
13098 (roundtoint, converttoint): Likewise.
13099 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
13100 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
13101 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
13102 * sysdeps/ieee754/flt-32/math_config.h: New file.
13103 * sysdeps/ieee754/flt-32/math_errf.c: New file.
13104 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
13105 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
13106 * sysdeps/i386/fpu/math_errf.c: New file.
13107 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
13108 * sysdeps/ia64/fpu/math_errf.c: New file.
13109 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
13110 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
13112 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
13114 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
13115 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
13116 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
13117 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
13118 to make sure that these symbols are defined.
13119 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
13121 (__need_NULL): Do not define.
13122 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
13124 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
13125 CMGROUP_MAX, cmsgcred): Do not define.
13126 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
13128 * bits/socket.h: Likewise.
13129 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
13130 __gettimeofday instead of gettimeofday.
13131 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
13132 instead of settimeofday.
13134 2017-09-22 Joseph Myers <joseph@codesourcery.com>
13136 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
13137 (asinhf): Define using libm_alias_float.
13138 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
13139 (atanf): Define using libm_alias_float.
13140 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
13141 (cbrtf): Define using libm_alias_float.
13142 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
13143 (ceilf): Define using libm_alias_float.
13144 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
13145 <libm-alias-float.h>.
13146 (copysignf): Define using libm_alias_float.
13147 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
13148 (cosf): Define using libm_alias_float.
13149 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
13150 (erff): Define using libm_alias_float.
13152 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
13153 (expm1f): Define using libm_alias_float.
13154 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
13155 (fabsf): Define using libm_alias_float.
13156 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
13157 (floorf): Define using libm_alias_float.
13158 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
13159 (frexpf): Define using libm_alias_float.
13160 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
13162 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
13163 <libm-alias-float.h>.
13164 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
13166 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
13167 <libm-alias-float.h>.
13168 (getpayloadf): Define using libm_alias_float.
13169 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
13170 <libm-alias-float.h>.
13171 (llrintf): Define using libm_alias_float.
13172 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
13173 <libm-alias-float.h>.
13174 (llroundf): Define using libm_alias_float.
13175 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
13176 (logbf): Define using libm_alias_float.
13177 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
13178 (lrintf): Define using libm_alias_float.
13179 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
13180 (lroundf): Define using libm_alias_float.
13181 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
13182 (modff): Define using libm_alias_float.
13183 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
13184 <libm-alias-float.h>.
13185 (nearbyintf): Define using libm_alias_float.
13186 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
13187 <libm-alias-float.h>.
13188 (nextafterf): Define using libm_alias_float.
13189 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
13190 <libm-alias-float.h>.
13191 (nextupf): Define using libm_alias_float.
13192 * sysdeps/ieee754/flt-32/s_remquof.c: Include
13193 <libm-alias-float.h>.
13194 (remquof): Define using libm_alias_float.
13195 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
13196 (rintf): Define using libm_alias_float.
13197 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
13198 <libm-alias-float.h>.
13199 (roundevenf): Define using libm_alias_float.
13200 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
13201 (roundf): Define using libm_alias_float.
13202 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
13203 using libm_alias_float.
13204 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
13205 <libm-alias-float.h>.
13206 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
13207 Define using libm_alias_float.
13208 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
13209 <libm-alias-float.h>.
13210 (sincosf): Define using libm_alias_float.
13211 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
13212 (sinf): Define using libm_alias_float.
13213 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
13214 (tanf): Define using libm_alias_float.
13215 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
13216 (tanhf): Define using libm_alias_float.
13217 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
13218 <libm-alias-float.h>.
13219 (totalorderf): Define using libm_alias_float.
13220 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
13221 <libm-alias-float.h>.
13222 (totalordermagf): Define using libm_alias_float.
13223 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
13224 (truncf): Define using libm_alias_float.
13225 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
13227 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
13230 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13233 math/math.h: Let fpclassify use the builtin in C++ mode, even
13234 when optimazing for size.
13236 2017-09-22 Joseph Myers <joseph@codesourcery.com>
13238 * csu/Makefile (generated): Do not add version-info.h.
13239 (before-compile): Likewise.
13240 (all-Banner-files): Remove variable.
13241 ($(objpfx)version-info.h): Remove rule.
13242 * csu/version.c (banner): Do not include "version-info.h".
13243 * libidn/Banner: Remove.
13244 * manual/contrib.texi (Simon Josefsson): New entry.
13246 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13248 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13249 Remove conditionals on LDBL_MANT_DIG.
13250 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
13251 (__ieee754_lgammal_r): Likewise.
13253 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13255 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
13257 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
13258 _Float128 and L(). Replace _Float128 with long double and L(x)
13259 with xL, throughout the file.
13260 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13261 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
13262 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
13263 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
13265 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13267 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
13268 sysdeps/ieee754/ldbl-128ibm.
13269 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
13270 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
13271 of including it. Keep _Float128 and L() intact. These will be
13272 reviewed by a separate patch.
13273 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13274 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
13275 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
13276 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
13278 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
13281 (__finitef128): Define to __redirect___finitef128.
13282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
13283 (__isinff128): Define to __redirect___isinff128.
13284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
13285 (__isnanf128): Define to __redirect___isnanf128.
13287 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13289 * sysdeps/powerpc/powerpc64le/Makefile
13290 (CFLAGS-tst-strtod-nan-locale.c): New variable.
13291 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
13293 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
13294 Carlos O'Donell <carlos@redhat.com>
13297 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
13298 * stdlib/test-dlclose-exit-race.c: New file.
13299 * stdlib/test-dlclose-exit-race-helper.c: New file.
13300 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
13302 2017-09-21 Joseph Myers <joseph@codesourcery.com>
13304 * crypt/Banner: Remove file.
13305 * nptl/Banner: Likewise.
13306 * resolv/Banner: Likewise.
13307 * soft-fp/Banner: Likewise.
13308 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
13309 ($(objpfx)version.d): Remove dependency on banner.h.
13310 ($(objpfx)version.os): Likewise.
13311 * nptl/version.c (banner): Do not include banner.h.
13312 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
13313 Jelinek and BIND code.
13315 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
13316 Carlos O'Donell <carlos@redhat.com>
13318 * support/xdlfcn.h: New file.
13319 * support/xdlfcn.c: New file.
13320 * support/Makefile (libsupport-routines): Add xdlfcn.
13321 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
13323 2017-09-20 Joseph Myers <joseph@codesourcery.com>
13326 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13327 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
13328 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
13329 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
13330 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
13331 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
13332 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
13333 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
13335 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
13336 Ricky Zhou <rickyz@google.com>
13337 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
13340 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
13342 (__new_exitfn): Fail registration when we finished at_exit processing.
13343 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
13344 * stdlib/on_exit.c (__on_exit): Likewise.
13345 * stdlib/exit.c (__exit_funcs_done): New variable.
13346 (__run_exit_handlers): Use __exit_funcs_lock.
13347 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
13349 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
13350 (test-cxa_atexit-race, test-on_exit-race): New tests.
13351 * stdlib/test-atexit-race-common.c: New file.
13352 * stdlib/test-atexit-race.c: New file.
13353 * stdlib/test-at_quick_exit-race.c: New file.
13354 * stdlib/test-cxa_atexit-race.c: New file.
13355 * stdlib/test-on_exit-race.c: New file.
13357 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
13359 * benchtests/Makefile: Add exp2f and log2f benchmarks.
13360 * benchtests/exp2f-inputs: Copy of expf-inputs.
13361 * benchtests/log2f-inputs: Copy of logf-inputs.
13363 2017-09-19 Joseph Myers <joseph@codesourcery.com>
13365 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
13366 Explicitly take address of first element of array arguments in
13367 call to INLINE_SYSCALL.
13369 2017-09-19 Andreas Schwab <schwab@suse.de>
13372 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
13374 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
13376 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
13377 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
13378 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13379 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
13380 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13381 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
13382 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13383 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
13384 * posix/Makefile (tests): Add tst-fexecve.
13385 * posix/tst-fexecve.c: New file.
13387 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
13389 * benchtests/Makefile: Add logf benchmark.
13390 * benchtests/logf-inputs: Add reduced trace from wrf_r.
13392 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
13394 * benchtests/Makefile: Add expf benchmark.
13395 * benchtests/expf-inputs: Add reduced trace from wrf_r.
13397 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
13399 * csu/Makefile: Add -funwind-tables to libc-start.c.
13400 * debug/Makefile: Add -funwind-tables to backtrace.c.
13401 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
13402 * sysdeps/arm/Makefile: Likewise.
13403 * sysdeps/i386/Makefile: Likewise.
13404 * sysdeps/m68k/Makefile: Likewise.
13405 * sysdeps/mips/Makefile: Likewise.
13406 * sysdeps/nios2/Makefile: Likewise.
13407 * sysdeps/sh/Makefile: Likewise.
13408 * sysdeps/sparc/Makefile: Likewise.
13410 2017-09-19 Joseph Myers <joseph@codesourcery.com>
13412 * benchtests/Makefile (bench-math): Add trunc and truncf.
13413 (CFLAGS-bench-trunc.c): New variable.
13414 (CFLAGS-bench-truncf.c): Likewise.
13415 * benchtests/trunc-inputs: New file.
13416 * benchtests/truncf-inputs: Likewise.
13418 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13420 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
13422 2017-09-18 Joseph Myers <joseph@codesourcery.com>
13424 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
13425 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
13427 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
13428 (exp10l): Define as weak alias.
13429 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
13430 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
13432 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
13433 (remainderl): Define as weak alias.
13435 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
13436 (fmal): Define using libm_alias_ldouble.
13437 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
13438 (acoshl): Define using libm_alias_ldouble.
13439 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
13440 (acosl): Define using libm_alias_ldouble.
13441 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
13442 (asinl): Define using libm_alias_ldouble.
13443 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
13444 (atan2l): Define using libm_alias_ldouble.
13445 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
13446 (atanhl): Define using libm_alias_ldouble.
13447 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
13448 (coshl): Define using libm_alias_ldouble.
13449 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
13450 (exp10l): Define using libm_alias_ldouble.
13451 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
13452 (exp2l): Define using libm_alias_ldouble.
13453 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
13454 (expl): Define using libm_alias_ldouble.
13455 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
13456 (fmodl): Define using libm_alias_ldouble.
13457 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
13458 (hypotl): Define using libm_alias_ldouble.
13459 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
13460 (j0l): Define using libm_alias_ldouble.
13462 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
13463 (j1l): Define using libm_alias_ldouble.
13465 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
13466 (jnl): Define using libm_alias_ldouble.
13468 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
13469 (log10l): Define using libm_alias_ldouble.
13470 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
13471 (log2l): Define using libm_alias_ldouble.
13472 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
13473 (logl): Define using libm_alias_ldouble.
13474 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
13475 (powl): Define using libm_alias_ldouble.
13476 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
13477 (remainderl): Define using libm_alias_ldouble.
13478 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
13479 (sinhl): Define using libm_alias_ldouble.
13480 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
13481 (sqrtl): Define using libm_alias_ldouble.
13482 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
13483 (tgammal): Define using libm_alias_ldouble.
13484 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
13485 (exp10l): Do not use long_double_symbol here.
13486 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
13487 [LIBM_SVID_COMPAT] (remainderl): Likewise.
13488 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
13489 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
13490 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
13491 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
13492 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
13493 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
13494 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
13495 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
13496 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
13497 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
13498 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
13499 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
13500 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
13501 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
13502 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
13503 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
13504 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
13505 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
13506 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
13507 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
13509 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
13511 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
13512 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
13514 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13516 * io/read.c (read): Add libc_hidden_weak.
13517 * sysdeps/mach/hurd/read.c (read): Likewise.
13518 * io/write.c (write): Likewise.
13519 * sysdeps/mach/hurd/write.c (write): Likewise.
13520 * io/pread64.c (__pread64): Likewise.
13521 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
13522 * posix/pread64.c (__pread64): Add libc_hidden_def.
13524 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13526 * benchtests/scripts/compare_strings.py: New option -g.
13527 (draw_graph): Print a message that a graph is being generated.
13528 (process_results): Generate graph only if -g is passed.
13529 (main): Process option -g.
13531 * benchtests/scripts/compare_strings.py (process_results):
13532 Better spacing for output.
13534 * benchtests/scripts/compare_strings.py: Use argparse.
13535 * benchtests/README: Document existence of compare_strings.py.
13537 2017-09-15 Joseph Myers <joseph@codesourcery.com>
13539 * math/s_fma.c: Include <libm-alias-double.h>.
13540 (fma): Define using libm_alias_double.
13541 * math/s_nextafter.c: Include <libm-alias-double.h>.
13542 (nextafter): Define using libm_alias_double.
13543 * math/w_acos_compat.c: Include <libm-alias-double.h>.
13544 (acos): Define using libm_alias_double.
13545 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
13546 (aocsh): Define using libm_alias_double.
13547 * math/w_asin_compat.c: Include <libm-alias-double.h>.
13548 (asin): Define using libm_alias_double.
13549 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
13550 (atan2): Define using libm_alias_double.
13551 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
13552 (atanh): Define using libm_alias_double.
13553 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
13554 (cosh): Define using libm_alias_double.
13555 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
13556 (exp10): Define using libm_alias_double.
13557 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
13558 (exp2): Define using libm_alias_double.
13559 * math/w_exp_compat.c: Include <libm-alias-double.h>.
13560 (exp): Define using libm_alias_double.
13561 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
13562 (fmod): Define using libm_alias_double.
13563 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
13564 (hypot): Define using libm_alias_double.
13565 * math/w_j0_compat.c: Include <libm-alias-double.h>.
13566 (j0): Define using libm_alias_double.
13568 * math/w_j1_compat.c: Include <libm-alias-double.h>.
13569 (j1): Define using libm_alias_double.
13571 * math/w_jn_compat.c: Include <libm-alias-double.h>.
13572 (jn): Define using libm_alias_double.
13574 * math/w_log10_compat.c: Include <libm-alias-double.h>.
13575 (log10): Define using libm_alias_double.
13576 * math/w_log2_compat.c: Include <libm-alias-double.h>.
13577 (log2): Define using libm_alias_double.
13578 * math/w_log_compat.c: Include <libm-alias-double.h>.
13579 (log): Define using libm_alias_double.
13580 * math/w_pow_compat.c: Include <libm-alias-double.h>.
13581 (pow): Define using libm_alias_double.
13582 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
13583 (remainder): Define using libm_alias_double.
13584 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
13585 (sinh): Define using libm_alias_double.
13586 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
13587 (sqrt): Define using libm_alias_double.
13588 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
13589 (tgamma): Define using libm_alias_double.
13590 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
13591 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
13592 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
13593 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
13594 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
13595 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
13596 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
13597 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
13598 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
13599 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
13600 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
13601 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
13602 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
13603 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
13604 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
13605 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
13606 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
13607 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
13608 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
13609 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
13610 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
13611 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
13612 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
13613 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
13614 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
13616 * math/e_acoshl.c: Remove.
13617 * math/e_acosl.c: Likewise.
13618 * math/e_asinl.c: Likewise.
13619 * math/e_atan2l.c: Likewise.
13620 * math/e_atanhl.c: Likewise.
13621 * math/e_coshl.c: Likewise.
13622 * math/e_expl.c: Likewise.
13623 * math/e_fmodl.c: Likewise.
13624 * math/e_gammal_r.c: Likewise.
13625 * math/e_hypotl.c: Likewise.
13626 * math/e_j0l.c: Likewise.
13627 * math/e_j1l.c: Likewise.
13628 * math/e_jnl.c: Likewise.
13629 * math/e_lgammal_r.c: Likewise.
13630 * math/e_log10l.c: Likewise.
13631 * math/e_log2l.c: Likewise.
13632 * math/e_logl.c: Likewise.
13633 * math/e_powl.c: Likewise.
13634 * math/e_rem_pio2l.c: Likewise.
13635 * math/e_sinhl.c: Likewise.
13636 * math/e_sqrtf128.c: Likewise.
13637 * math/e_sqrtl.c: Likewise.
13638 * math/k_cosl.c: Likewise.
13639 * math/k_sinl.c: Likewise.
13640 * math/k_tanl.c: Likewise.
13641 * math/s_asinhl.c: Likewise.
13642 * math/s_atanl.c: Likewise.
13643 * math/s_cbrtl.c: Likewise.
13644 * math/s_erfl.c: Likewise.
13645 * math/s_expm1l.c: Likewise.
13646 * math/s_log1pl.c: Likewise.
13647 * math/s_tanhl.c: Likewise.
13649 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13652 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
13653 [$(subdir) = math] (sysdep_calls): New variable. Has the
13654 previous contents of sysdep_routines, but re-sorted..
13655 [$(subdir) = math] (sysdep_routines): Re-use the contents from
13657 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
13658 defined in sysdep_calls and replace by the respective m_* names.
13659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
13660 (compat_symbol): Undefine to avoid duplicated compat symbols in
13663 2017-09-15 Joseph Myers <joseph@codesourcery.com>
13665 * math/s_fmaf.c: Include <libm-alias-float.h>.
13666 (fmaf): Define using libm_alias_float.
13667 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
13668 (acosf): Define using libm_alias_float.
13669 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
13670 (acoshf): Define using libm_alias_float.
13671 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
13672 (asinf): Define using libm_alias_float.
13673 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
13674 (atan2f): Define using libm_alias_float.
13675 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
13676 (atanhf): Define using libm_alias_float.
13677 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
13678 (coshf): Define using libm_alias_float.
13679 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
13680 (exp10f): Define using libm_alias_float.
13681 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
13682 (fmodf): Define using libm_alias_float.
13683 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
13684 (hypotf): Define using libm_alias_float.
13685 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
13686 (j0f): Define using libm_alias_float.
13688 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
13689 (j1f): Define using libm_alias_float.
13691 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
13692 (jnf): Define using libm_alias_float.
13694 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
13695 (log10f): Define using libm_alias_float.
13696 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
13697 (log2f): Define using libm_alias_float.
13698 * math/w_logf_compat.c: Include <libm-alias-float.h>.
13699 (logf): Define using libm_alias_float.
13700 * math/w_powf_compat.c: Include <libm-alias-float.h>.
13701 (powf): Define using libm_alias_float.
13702 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
13703 (remainderf): Define using libm_alias_float.
13704 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
13705 (sinhf): Define using libm_alias_float.
13706 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
13707 (sqrtf): Define using libm_alias_float.
13708 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
13709 (tgammaf): Define using libm_alias_float.
13711 2017-09-14 Joseph Myers <joseph@codesourcery.com>
13713 * include/math.h (roundeven): Change hidden_proto call to
13715 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
13717 [NO_LONG_DOUBLE] (__j0l): New strong alias.
13718 (y0): Rename to __y0 and define as weak alias.
13719 [NO_LONG_DOUBLE] (__y0l): New strong alias.
13720 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
13722 (y0f): Rename to __y0f and define as weak alias.
13723 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
13725 [NO_LONG_DOUBLE] (__j1l): New strong alias.
13726 (y1): Rename to __y1 and define as weak alias.
13727 [NO_LONG_DOUBLE] (__y1l): New strong alias.
13728 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
13730 (y1f): Rename to __y1f and define as weak alias.
13731 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
13733 [NO_LONG_DOUBLE] (__jnl): New strong alias.
13734 (yn): Rename to __yn and define as weak alias.
13735 [NO_LONG_DOUBLE] (__ynl): New strong alias.
13736 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
13738 (ynf): Rename to __ynf and define as weak alias.
13739 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
13740 (fromfp): Define as weak alias.
13741 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
13742 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
13743 (fromfpx): Define as weak alias.
13744 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
13745 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
13746 __getpayload and define as weak alias.
13747 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
13748 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
13749 __roundeven and define as weak alias.
13750 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
13751 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
13753 (setpayload): Define as weak alias.
13754 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
13755 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
13757 (setpayloadsig): Define as weak alias.
13758 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
13759 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
13760 __totalorder and define as weak alias.
13761 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
13762 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
13763 to __totalordermag and define as weak alias.
13764 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
13765 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
13766 (ufromfp): Define as weak alias.
13767 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
13768 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
13770 (ufromfpx): Define as weak alias.
13771 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
13772 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
13773 Rename to __getpayload and define as weak alias.
13774 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
13775 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
13776 Rename to __roundeven and define as weak alias.
13777 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
13778 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
13779 Rename to __totalorder and define as weak alias.
13780 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
13781 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
13782 (totalordermag): Rename to __totalordermag and define as weak
13784 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
13785 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
13787 (__roundevenl): Likewise.
13788 (__totalorderl): Likewise.
13789 (__totalordermagl): Likewise
13790 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
13792 (fromfpf128): Define as weak alias.
13793 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
13795 (fromfpxf128): Define as weak alias.
13796 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
13798 (setpayloadf128): Define as weak alias.
13799 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
13800 __setpayloadsigf128.
13801 (setpayloadsigf128): Define as weak alias.
13802 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
13804 (ufromfpf128): Define as weak alias.
13805 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
13807 (ufromfpxf128): Define as weak alias.
13808 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
13809 (fromfpf): Define as weak alias.
13810 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
13812 (fromfpxf): Define as weak alias.
13813 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
13814 __getpayloadf and define as weak alias.
13815 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
13816 __roundevenf and define as weak alias.
13817 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
13819 (setpayloadf): Define as weak alias.
13820 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
13822 (setpayloadsigf): Define as weak alias.
13823 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
13824 __totalorderf and define as weak alias.
13825 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
13826 Rename to __totalordermagf and define as weak alias.
13827 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
13829 (ufromfpf): Define as weak alias.
13830 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
13832 (ufromfpxf): Define as weak alias.
13833 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
13835 (fromfpl): Define as weak alias.
13836 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
13838 (fromfpxl): Define as weak alias.
13839 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
13840 to __getpayloadl and define as weak alias.
13841 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
13842 __roundevenl and define as weak alias.
13843 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
13845 (setpayloadl): Define as weak alias.
13846 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
13848 (setpayloadsigl): Define as weak alias.
13849 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
13850 to __totalorderl and define as weak alias.
13851 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
13852 Rename to __totalordermagl and define as weak alias.
13853 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
13855 (ufromfpl): Define as weak alias.
13856 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
13858 (ufromfpxl): Define as weak alias.
13859 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
13861 (fromfpl): Define as weak alias.
13862 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
13864 (fromfpxl): Define as weak alias.
13865 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
13866 Rename to __getpayloadl and define as weak alias.
13867 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
13868 to __roundevenl and define as weak alias. Call __roundeven
13869 instead of roundeven.
13870 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
13872 (setpayloadl): Define as weak alias.
13873 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
13875 (setpayloadsigl): Define as weak alias.
13876 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
13877 Rename to __totalorderl and define as weak alias.
13878 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
13879 Rename to __totalordermagl and define as weak alias.
13880 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
13882 (ufromfpl): Define as weak alias.
13883 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
13885 (ufromfpxl): Define as weak alias.
13886 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
13888 (fromfpl): Define as weak alias.
13889 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
13891 (fromfpxl): Define as weak alias.
13892 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
13893 __getpayloadl and define as weak alias.
13894 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
13895 __roundevenl and define as weak alias.
13896 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
13898 (setpayloadl): Define as weak alias.
13899 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
13901 (setpayloadsigl): Define as weak alias.
13902 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
13903 __totalorderl and define as weak alias.
13904 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
13905 Rename to __totalordermagl and define as weak alias.
13906 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
13908 (ufromfpl): Define as weak alias.
13909 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
13911 (ufromfpxl): Define as weak alias.
13913 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13915 * benchtests/bench-string.h (realloc_bufs): New function.
13916 (test_init): Call it.
13917 * benchtests/bench-memset-large.c (do_test): Likewise.
13918 * benchtests/bench-memset.c (do_test): Likewise.
13920 * benchtests/bench-memset-large.c: Print output in JSON
13922 * benchtests/bench-memset.c: Likewise.
13924 2017-09-14 Mike FABIAN <mfabian@redhat.com>
13927 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
13928 * iconvdata/Makefile: Add IBM858.
13929 * iconvdata/gconv-modules: Likewise.
13930 * iconvdata/tst-tables.sh: Likewise.
13931 * iconvdata/ibm858.c: New file.
13932 * localedata/charmaps/IBM858: Likewise.
13934 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
13937 * locales/niu_NZ (LC_TIME): copy "niu_NU".
13938 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
13940 2017-09-14 Mike FABIAN <mfabian@redhat.com>
13943 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
13944 and add tel_int_fmt.
13946 2017-09-14 Joseph Myers <joseph@codesourcery.com>
13948 * sysdeps/generic/libm-alias-float128.h: New file.
13949 * sysdeps/generic/math-type-macros-float128.h: Include
13950 <libm-alias-float128.h>.
13951 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
13953 2017-09-13 Joseph Myers <joseph@codesourcery.com>
13955 * sysdeps/generic/libm-alias-ldouble.h: New file.
13956 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
13957 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
13958 * sysdeps/generic/math-type-macros-ldouble.h: Include
13959 <libm-alias-ldouble.h>.
13960 [!declare_mgen_alias] (declare_mgen_alias): Define to use
13961 libm_alias_ldouble.
13963 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
13965 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
13966 * math/w_exp_compat.c: ... here.
13967 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
13968 * math/w_expf_compat.c: ... here.
13969 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
13970 * math/w_expl_compat.c: ... here.
13971 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
13972 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
13973 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
13974 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
13976 2017-09-13 Joseph Myers <joseph@codesourcery.com>
13978 * math/w_scalbln_template.c (strong_alias): Do not undefine and
13980 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
13982 (ldexpl): Only define as compat symbol for libc, not libm.
13983 (scalbnl): Define as compat symbol for libc here.
13984 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
13985 define for [IS_IN (libc)].
13986 (__ldexpl_2): Remove alias.
13987 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
13988 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
13989 name in long_double_symbol call.
13990 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
13991 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
13992 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
13993 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
13994 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
13996 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
13997 Define as compat symbol.
13999 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14001 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
14002 * sysdeps/unix/sysv/linux/alpha/Makefile
14003 [$(subdir) = csu] (sysdep_routines): Remove rule.
14005 2017-09-13 Joseph Myers <joseph@codesourcery.com>
14007 * sysdeps/generic/libm-alias-double.h: New file.
14008 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
14009 * sysdeps/generic/math-type-macros-double.h: Include
14010 <libm-alias-double.h>.
14011 [declare_mgen_alias] (declare_mgen_alias): Define to use
14013 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
14014 (M_LIBM_NEED_COMPAT): Remove macro.
14015 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
14016 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
14017 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
14019 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14020 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14021 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14022 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14023 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14024 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14025 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14026 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14027 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14028 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14029 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14030 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14031 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14032 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14033 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14034 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14035 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14036 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14037 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14038 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14039 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14040 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14041 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14042 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14043 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14044 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14045 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
14046 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
14047 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
14049 (declare_mgen_alias): New macro.
14050 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
14051 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
14052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
14053 (M_LIBM_NEED_COMPAT): Remove macro.
14054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
14055 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
14056 <first-versions.h>.
14057 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
14058 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
14060 2017-09-12 Joseph Myers <joseph@codesourcery.com>
14062 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
14063 (declare_mgen_alias_2): Remove.
14064 * sysdeps/generic/math-type-macros-double.h
14065 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
14067 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
14069 (ldexp): Define with declare_mgen_alias.
14070 (scalbn): Likewise.
14072 2017-09-12 Steve Ellcey <sellcey@cavium.com>
14074 * grp/initgroups.c: Include config.h.
14075 (DEFAULT_CONFIG): New macro.
14076 (internal_getgrouplist): Use DEFAULT_CONFIG.
14077 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14078 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
14079 (DEFAULT_DEFCONFIG): New macro.
14080 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
14081 * nss/grp-lookup.c: Include config.h
14082 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
14083 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
14084 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
14085 * manual/nss.texi: Update default values section.
14087 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
14090 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
14092 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
14093 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14094 Handle MathVec_Prefer_No_AVX512.
14095 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
14096 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
14099 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
14101 * posix/sched_primax.c (__sched_get_priority_max): Add
14103 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
14104 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
14105 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
14106 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
14107 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
14108 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
14109 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
14110 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
14113 2017-09-11 Joseph Myers <joseph@codesourcery.com>
14115 * sysdeps/generic/libm-alias-float.h: New file.
14116 * sysdeps/generic/math-type-macros-float.h: Include
14117 <libm-alias-float.h>.
14118 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
14120 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
14123 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
14124 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
14125 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
14126 (HWCAP_IMPORTANT): Likewise.
14127 (HWCAP_X86_64): New enum.
14128 (HWCAP_X86_AVX512_1): Updated.
14129 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
14130 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
14131 (modules-names): Add x86_64/tst-x86_64mod-1.
14132 (LDFLAGS-tst-x86_64mod-1.so): New.
14133 ($(objpfx)tst-x86_64-1): Likewise.
14134 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
14135 (tst-x86_64-1-clean): Likewise.
14136 * sysdeps/x86_64/tst-x86_64-1.c: New file.
14137 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
14139 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14141 * po/sv.po: Update translations.
14142 * po/fr.po: Likewise.
14144 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14146 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
14148 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
14150 * elf/rtld-Rules: Fix $(error) use.
14152 2017-09-09 Mike FABIAN <mfabian@redhat.com>
14155 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
14156 * locale/iso-639.def: Change “Bengali” to “Bangla”.
14157 * localedata/locales/bn_BD: “Bengali” was still used in some
14158 comments. Change it to “Bangla”.
14160 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
14162 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
14164 2017-09-08 Steve Ellcey <sellcey@cavium.com>
14166 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
14167 thunderx2t99p1 to list of cpu names.
14168 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
14169 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
14171 2017-09-08 Steve Ellcey <sellcey@cavium.com>
14173 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
14174 Use strcmp instead of tunable_is_name.
14176 2017-09-08 Joseph Myers <joseph@codesourcery.com>
14178 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14179 (F_GET_RW_HINT): New macro.
14180 [__USE_GNU] (F_SET_RW_HINT): Likewise.
14181 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
14182 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
14183 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
14184 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
14185 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
14186 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
14187 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
14188 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
14190 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14191 (F_ADD_SEALS): New macro.
14192 [__USE_GNU] (F_GET_SEALS): Likewise.
14193 [__USE_GNU] (F_SEAL_SEAL): Likewise.
14194 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
14195 [__USE_GNU] (F_SEAL_GROW): Likewise.
14196 [__USE_GNU] (F_SEAL_WRITE): Likewise.
14198 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14200 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
14201 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
14202 * posix/glob_internal.h (__glob_pattern_type):
14203 * posix/glob.c (glob):
14204 * posix/glob_pattern_p.c (__glob_pattern_p):
14207 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
14208 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14209 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
14210 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
14211 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
14212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
14213 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
14214 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
14215 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
14216 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14217 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
14218 * sysdeps/wordsize-64/glob.c: Likewise.
14219 * sysdeps/wordsize-64/glob64.c: Likewise.
14220 * sysdeps/wordsize-64/globfree.c: Likewise.
14221 * sysdeps/wordsize-64/globfree64.c: Likewise.
14222 * sysdeps/unix/sysv/linux/glob.c: New file.
14223 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
14224 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
14225 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
14226 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
14227 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
14228 adds !GLOB_NO_OLD_VERSION as an extra condition.
14229 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
14230 using relative path instead of absolute one.
14231 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14232 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14233 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14234 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14235 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
14236 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
14239 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
14240 (glob): Use the same scratch buffer for both getlogin_r and
14241 getpwnam_r. Don’t require preallocation of the login name. This
14242 simplifies storage allocation, and corrects the handling of
14246 * posix/glob.c (glob): Port recent patches to platforms
14247 lacking getpwnam_r.
14248 (glob): Fix longstanding misuse of errno after getpwnam_r, which
14249 returns an error number rather than setting errno.
14251 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
14252 instead of GCC extension.
14253 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
14254 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
14255 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
14259 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
14260 * posix/bug-glob1.c: Remove file.
14261 * posix/tst-glob_symlinks.c: New file.
14262 * posix/glob.c (__lstat64): New macro.
14263 (is_dir): New function.
14264 (glob, glob_in_dir): Match symlinks even if they are dangling.
14265 (link_stat, link_exists_p): Remove. All uses removed.
14269 * posix/glob.c (struct readdir_result): Remove skip_entry member.
14270 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
14275 * posix/Makefile (routines): Add globfree, globfree64, and
14277 * posix/flexmember.h: New file.
14278 * posix/glob_internal.h: Likewise.
14279 * posix/glob_pattern_p.c: Likewise.
14280 * posix/globfree.c: Likewise.
14281 * posix/globfree64.c: Likewise.
14282 * sysdeps/gnu/globfree64.c: Likewise.
14283 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
14284 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
14285 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
14286 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
14287 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
14288 * sysdeps/wordsize-64/globfree.c: Likewise.
14289 * sysdeps/wordsize-64/globfree64.c: Likewise.
14290 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
14291 [NDEBUG): Remove comments.
14292 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
14293 (dirent_type): New type. Use uint_fast8_t not
14294 uint8_t, as C99 does not require uint8_t.
14295 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
14296 (struct readdir_result): Use dirent_type. Do not define skip_entry
14297 unless it is needed; this saves a byte on platforms lacking d_ino.
14298 (readdir_result_type, readdir_result_skip_entry):
14299 New functions, replacing ...
14300 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
14301 these functions, which were removed. This makes the callers
14302 easier to read. All callers changed.
14303 (D_INO_TO_RESULT): Now empty if there is no d_ino.
14304 (size_add_wrapv, glob_use_alloca): New static functions.
14305 (glob, glob_in_dir): Check for size_t overflow in several places,
14306 and fix some size_t checks that were not quite right.
14307 Remove old code using SHELL since Bash no longer
14309 (glob, prefix_array): Separate MS code better.
14310 (glob_in_dir): Remove old Amiga and VMS code.
14311 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
14313 (glob_in_dir): Do not rely on undefined behavior in accessing
14314 struct members beyond their bounds. Use a flexible array member
14316 (link_stat): Rename from link_exists2_p and return -1/0 instead of
14317 0/1. Caller changed.
14318 (glob): Fix memory leaks.
14319 * posix/glob64 (globfree64): Move to separate file.
14320 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
14321 (globfree64): Remove hidden alias.
14322 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
14324 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
14326 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
14328 Move compat code to separate file.
14329 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
14332 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
14334 * resolv/tst-resolv-qtypes.c (domain): Changed to
14335 "const char domain[] =".
14337 2017-09-07 Joseph Myers <joseph@codesourcery.com>
14339 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
14342 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
14343 (TCP_MD5SIG_EXT): Likewise.
14344 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
14345 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
14346 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
14348 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
14350 2017-09-07 Mike FABIAN <mfabian@redhat.com>
14352 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
14354 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
14357 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
14359 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
14361 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
14362 before assuming that the file is empty. Avoid testing buffer content
14365 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14368 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
14370 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
14372 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
14374 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
14376 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
14378 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
14380 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
14383 2017-09-06 Florian Weimer <fweimer@redhat.com>
14385 * malloc/dynarray_emplace_enlarge.c
14386 (__libc_dynarray_emplace_enlarge): Add missing else.
14388 2017-09-06 Florian Weimer <fweimer@redhat.com>
14391 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
14392 case of failure to obtain the global conf object.
14394 2017-09-06 Florian Weimer <fweimer@redhat.com>
14397 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
14398 dynarray allocation failure.
14400 2017-09-06 Florian Weimer <fweimer@redhat.com>
14402 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
14403 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
14404 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
14406 (response): Call them. Add 'p', '6' flag processing.
14407 (test_reverse): New function.
14408 (test_get2_any): Call it.
14409 (test_no_inet6): Add 'p' test.
14410 (test_inet6): Likewise.
14412 2017-09-06 Florian Weimer <fweimer@redhat.com>
14414 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
14415 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
14417 (test_gai): Adjust query names. Add additional tests.
14418 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
14419 test_get2. Adjust query names. Add additional tests.
14420 (test_no_inet6): New function, extracted from threadfunc.
14421 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
14422 Add additional tests.
14424 2017-09-06 Mike FABIAN <mfabian@redhat.com>
14427 * localedata/unicode-gen/utf8_gen.py: Set the width for
14428 characters with Prepended_Concatenation_Mark property to 1
14429 * localedata/charmaps/UTF-8: Updated using the improved script.
14431 2017-09-06 Mike FABIAN <mfabian@redhat.com>
14434 * localedata/unicode-gen/utf8_gen.py: Improve the script to
14435 use the range notation for all ranges of neighbouring characters
14436 with the same width.
14438 2017-09-05 Joseph Myers <joseph@codesourcery.com>
14440 * sysdeps/generic/math-type-macros-double.h: Include
14441 <math-svid-compat.h>.
14442 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
14443 * sysdeps/generic/math-type-macros-float.h: Include
14444 <math-svid-compat.h>.
14445 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
14446 * sysdeps/generic/math-type-macros-ldouble.h: Include
14447 <math-svid-compat.h>.
14448 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
14449 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
14451 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
14452 * math/w_acosf_compat.c: Likewise.
14453 * math/w_acosh_compat.c: Likewise.
14454 * math/w_acoshf_compat.c: Likewise.
14455 * math/w_acoshl_compat.c: Likewise.
14456 * math/w_acosl_compat.c: Likewise.
14457 * math/w_asin_compat.c: Likewise.
14458 * math/w_asinf_compat.c: Likewise.
14459 * math/w_asinl_compat.c: Likewise.
14460 * math/w_atan2_compat.c: Likewise.
14461 * math/w_atan2f_compat.c: Likewise.
14462 * math/w_atan2l_compat.c: Likewise.
14463 * math/w_atanh_compat.c: Likewise.
14464 * math/w_atanhf_compat.c: Likewise.
14465 * math/w_atanhl_compat.c: Likewise.
14466 * math/w_cosh_compat.c: Likewise.
14467 * math/w_coshf_compat.c: Likewise.
14468 * math/w_coshl_compat.c: Likewise.
14469 * math/w_exp10_compat.c: Likewise.
14470 * math/w_exp10f_compat.c: Likewise.
14471 * math/w_exp10l_compat.c: Likewise.
14472 * math/w_exp2_compat.c: Likewise.
14473 * math/w_exp2f_compat.c: Likewise.
14474 * math/w_exp2l_compat.c: Likewise.
14475 * math/w_fmod_compat.c: Likewise.
14476 * math/w_fmodf_compat.c: Likewise.
14477 * math/w_fmodl_compat.c: Likewise.
14478 * math/w_hypot_compat.c: Likewise.
14479 * math/w_hypotf_compat.c: Likewise.
14480 * math/w_hypotl_compat.c: Likewise.
14481 * math/w_j0_compat.c: Likewise.
14482 * math/w_j0f_compat.c: Likewise.
14483 * math/w_j0l_compat.c: Likewise.
14484 * math/w_j1_compat.c: Likewise.
14485 * math/w_j1f_compat.c: Likewise.
14486 * math/w_j1l_compat.c: Likewise.
14487 * math/w_jn_compat.c: Likewise.
14488 * math/w_jnf_compat.c: Likewise.
14489 * math/w_jnl_compat.c: Likewise.
14490 * math/w_lgamma_r_compat.c: Likewise.
14491 * math/w_lgammaf_r_compat.c: Likewise.
14492 * math/w_lgammal_r_compat.c: Likewise.
14493 * math/w_log10_compat.c: Likewise.
14494 * math/w_log10f_compat.c: Likewise.
14495 * math/w_log10l_compat.c: Likewise.
14496 * math/w_log2_compat.c: Likewise.
14497 * math/w_log2f_compat.c: Likewise.
14498 * math/w_log2l_compat.c: Likewise.
14499 * math/w_log_compat.c: Likewise.
14500 * math/w_logf_compat.c: Likewise.
14501 * math/w_logl_compat.c: Likewise.
14502 * math/w_pow_compat.c: Likewise.
14503 * math/w_powf_compat.c: Likewise.
14504 * math/w_powl_compat.c: Likewise.
14505 * math/w_remainder_compat.c: Likewise.
14506 * math/w_remainderf_compat.c: Likewise.
14507 * math/w_remainderl_compat.c: Likewise.
14508 * math/w_sinh_compat.c: Likewise.
14509 * math/w_sinhf_compat.c: Likewise.
14510 * math/w_sinhl_compat.c: Likewise.
14511 * math/w_sqrt_compat.c: Likewise.
14512 * math/w_sqrtf_compat.c: Likewise.
14513 * math/w_sqrtl_compat.c: Likewise.
14514 * math/w_tgamma_compat.c: Likewise.
14515 * math/w_tgammaf_compat.c: Likewise.
14516 * math/w_tgammal_compat.c: Likewise.
14517 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
14518 [LIBM_SVID_COMPAT].
14519 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
14520 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
14521 [LIBM_SVID_COMPAT].
14522 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
14523 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
14524 [LIBM_SVID_COMPAT].
14525 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
14526 * sysdeps/i386/fpu/w_sqrt.c: New file.
14527 * sysdeps/ia64/fpu/w_acos.c: Likewise.
14528 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
14529 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
14530 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
14531 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
14532 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
14533 * sysdeps/ia64/fpu/w_asin.c: Likewise.
14534 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
14535 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
14536 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
14537 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
14538 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
14539 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
14540 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
14541 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
14542 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
14543 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
14544 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
14545 * sysdeps/ia64/fpu/w_exp.c: Likewise.
14546 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
14547 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
14548 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
14549 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
14550 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
14551 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
14552 * sysdeps/ia64/fpu/w_expf.c: Likewise.
14553 * sysdeps/ia64/fpu/w_expl.c: Likewise.
14554 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
14555 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
14556 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
14557 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
14558 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
14559 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
14560 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
14561 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
14562 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
14563 * sysdeps/ia64/fpu/w_log.c: Likewise.
14564 * sysdeps/ia64/fpu/w_log10.c: Likewise.
14565 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
14566 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
14567 * sysdeps/ia64/fpu/w_log2.c: Likewise.
14568 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
14569 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
14570 * sysdeps/ia64/fpu/w_logf.c: Likewise.
14571 * sysdeps/ia64/fpu/w_logl.c: Likewise.
14572 * sysdeps/ia64/fpu/w_pow.c: Likewise.
14573 * sysdeps/ia64/fpu/w_powf.c: Likewise.
14574 * sysdeps/ia64/fpu/w_powl.c: Likewise.
14575 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
14576 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
14577 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
14578 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
14579 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
14580 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
14581 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
14582 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
14583 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
14584 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
14585 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
14586 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
14587 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
14588 [LIBM_SVID_COMPAT].
14589 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
14590 * sysdeps/ieee754/k_standard.c: Likewise.
14591 * sysdeps/ieee754/k_standardf.c: Likewise.
14592 * sysdeps/ieee754/k_standardl.c: Likewise.
14593 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
14594 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
14595 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
14596 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
14597 long_double_symbol call on [LIBM_SVID_COMPAT].
14598 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
14599 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
14600 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
14601 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
14602 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
14603 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
14604 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
14605 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
14606 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
14607 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
14608 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
14609 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
14610 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
14611 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
14612 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
14613 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
14614 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
14615 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
14616 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
14617 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
14618 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
14619 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
14621 2017-09-05 Steve Ellcey <sellcey@cavium.com>
14623 * include/shlib-compat.h (TEST_COMPAT): New Macro.
14624 * malloc/tst-mallocstate.c: Convert from test-skeleton
14625 to test-driver. Ifdef code using TEST_COMPAT macro.
14626 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
14627 * math/test-matherr.c: Likewise.
14629 2017-09-05 Joseph Myers <joseph@codesourcery.com>
14632 * debug/pcprofiledump.c (main): Use byte-swapped mask when
14633 comparing word with byte-swapped constant.
14635 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
14638 * locale/iso-639.def: add Miskito.
14639 * localedata/SUPPORTED: Add miq_NI/UTF-8.
14640 * localedata/locales/miq_NI: New file.
14642 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
14645 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
14646 (__mkdir): Likewise.
14647 * io/chmod.c (__chmod): Add libc_hidden_def.
14648 * io/mkdir.c (__mkdir): Likewise.
14649 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
14650 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
14651 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
14652 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
14654 2017-09-04 Joseph Myers <joseph@codesourcery.com>
14656 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14660 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
14661 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
14663 2017-09-04 Florian Weimer <fweimer@redhat.com>
14665 * math/math.h: Issue warning if log is defined.
14667 2017-09-04 Joseph Myers <joseph@codesourcery.com>
14669 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14670 kernel version to 4.13.
14672 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14674 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
14675 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
14677 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
14678 just <bits/types.h>.
14679 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
14680 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
14681 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
14682 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
14683 * misc/preadv2.c: Include <errno.h>.
14684 * misc/preadv64v2.c: Include <errno.h>.
14685 * misc/pwritev2.c: Include <errno.h>.
14686 * misc/pwritev64v2.c: Include <errno.h>.
14687 * sysdeps/posix/preadv2.c: Include <errno.h>.
14688 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
14689 Fix <unistd.h> inclusion.
14690 * sysdeps/posix/pwritev2.c: Include <errno.h>.
14691 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
14692 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
14693 __strtoul_internal): New functions.
14694 * sysdeps/posix/pause.c: Include <sigsetops.h>.
14695 * sysdeps/posix/system.c: Include <sigsetops.h>.
14696 * sysdeps/mach/hurd/i386/Makefile
14697 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
14698 [$(subdir) = csu] (sysdep-only-routines): Likewise.
14699 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
14700 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
14701 __feraiseexcept_renamed to feraiseexcept instead of
14702 __GI_feraiseexcept.
14703 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
14704 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
14705 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
14706 RWF_NOWAIT): Define to 0 if undefined already.
14707 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
14709 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
14710 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
14712 2017-09-01 Joseph Myers <joseph@codesourcery.com>
14714 * manual/math.texi (pow10): Do not document.
14715 (pow10f): Likewise.
14716 (pow10l): Likewise.
14717 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
14718 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
14719 * math/libm-test-exp10.inc (pow10_test): Remove.
14720 (do_test): Do not call pow10.
14721 * math/w_exp10_compat.c (pow10): Make into compat symbol.
14722 [NO_LONG_DOUBLE] (pow10l): Likewise.
14723 * math/w_exp10f_compat.c (pow10f): Likewise.
14724 * math/w_exp10l_compat.c (pow10l): Likewise.
14725 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
14726 (pow10): Make into compat symbol.
14727 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
14728 (pow10f): Make into compat symbol.
14729 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
14730 (pow10l): Make into compat symbol.
14731 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
14733 (CFLAGS-nldbl-pow10.c): Remove variable..
14734 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
14735 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
14736 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
14737 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
14738 Undefine and redefine.
14739 (pow10l): Make into compat symbol.
14740 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
14741 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14742 * sysdeps/arm/libm-test-ulps: Likewise.
14743 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
14744 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14745 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
14746 * sysdeps/microblaze/libm-test-ulps: Likewise.
14747 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14748 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14749 * sysdeps/nios2/libm-test-ulps: Likewise.
14750 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14751 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14752 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14753 * sysdeps/sh/libm-test-ulps: Likewise.
14754 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14755 * sysdeps/tile/libm-test-ulps: Likewise.
14756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14758 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
14760 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
14762 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
14764 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
14765 "../ChangeLog.old/ChangeLog.8".
14766 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
14767 "../ChangeLog.old/ChangeLog.14".
14769 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
14771 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
14774 2017-09-01 Joseph Myers <joseph@codesourcery.com>
14776 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
14778 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
14780 * csu/version.c (banner): Remove "by Roland McGrath et al.".
14781 * nptl/Banner: Remove "by Ulrich Drepper et al.".
14783 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
14785 * stdlib/tst-atexit-common.c (do_test): Test support for at least
14786 32 atexit handlers.
14788 2017-09-01 Zack Weinberg <zackw@panix.com>
14790 * math/math.h (HUGE_VAL): Improve commentary.
14792 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14793 Andreas Schwab <schwab@suse.de>
14796 * include/stdio.h (__gen_tempfd): New function.
14797 * stdio-common/Makefile (routines): Add gentempfd.
14798 * stdio-common/gentempfd.c: New file.
14799 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
14800 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
14801 unnamed file first.
14803 2017-09-01 Florian Weimer <fweimer@redhat.com>
14807 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
14808 result to determine success or failure, not the errno value.
14809 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
14810 (tst-nss-files-hosts-erange): Link with -ldl.
14811 * nss/tst-nss-files-hosts-erange.c: New file.
14812 * nss/tst-resolv-basic.c (response): Handle nodata.example.
14813 (do_test): Add NO_DATA tests.
14814 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
14815 (do_test): Call it.
14817 2017-09-01 Florian Weimer <fweimer@redhat.com>
14820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
14821 coming from gethostbyname2_r.
14823 2017-09-01 Florian Weimer <fweimer@redhat.com>
14825 * support/namespace.h (struct support_chroot_configuration): Add
14827 (struct support_chroot): Add path_hosts, path_host_conf.
14828 * support/support_chroot.c (write_file): New function.
14829 (support_chroot_create): Call it to process /etc/resolv.conf,
14830 /etc/hosts, /etc/host.conf.
14831 (support_chroot_free): Update.
14833 2017-09-01 Florian Weimer <fweimer@redhat.com>
14835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
14836 status indicates it is set.
14838 2017-09-01 Florian Weimer <fweimer@redhat.com>
14841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
14842 function lookup failures more reliable.
14844 2017-09-01 Florian Weimer <fweimer@redhat.com>
14846 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
14847 (getcanonname): Likewise.
14848 (gaih_inet): Likewise.
14850 2017-09-01 Florian Weimer <fweimer@redhat.com>
14852 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
14853 (getcanonname): Likewise.
14854 (gaih_inet): Likewise.
14856 2017-08-31 Steve Ellcey <sellcey@cavium.com>
14857 Richard Henderson <rth@twiddle.net>
14859 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
14860 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
14861 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
14862 (IREG_SIZE, OREG_SIZE): New macros.
14863 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
14864 (IREG_SIZE, OREG_SIZE): New macros.
14865 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
14866 (IREG_SIZE): New macro.
14867 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
14868 (IREG_SIZE): New macro.
14869 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
14871 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
14872 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
14873 (__CONCATX): Handle exceptions correctly on large values that may
14875 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
14876 Initialize if not already set.
14877 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
14879 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14881 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
14882 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
14884 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
14886 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
14888 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
14890 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
14892 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
14894 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
14896 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
14897 (NO_CANCELLATION): Likewise.
14898 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
14900 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
14902 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
14904 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
14905 (NO_CANCELLATION): Likewise.
14906 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
14907 (NO_CANCELLATION): Likewise.
14908 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
14910 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
14912 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
14914 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
14916 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
14918 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
14919 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
14921 2017-08-31 Steve Ellcey <sellcey@cavium.com>
14923 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
14926 2017-08-31 Florian Weimer <fweimer@redhat.com>
14928 * include/libc-symbols.h (internal_function): Remove.
14930 2017-08-31 Florian Weimer <fweimer@redhat.com>
14932 * stdlib/fmtmsg.c (internal_addseverity): Remove
14935 2017-08-31 Florian Weimer <fweimer@redhat.com>
14937 * stdio-common/printf_fp.c (group_number): Remove
14939 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
14941 2017-08-31 Florian Weimer <fweimer@redhat.com>
14943 * posix/fnmatch.c (internal_function): Remove definition.
14944 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
14945 * posix/regcomp.c (peek_token, init_word_char)
14946 (duplicate_node_closure, fetch_token, peek_token)
14947 (peek_token_bracket, build_range_exp, build_collating_symbol):
14949 * posix/regex_internal.c (re_string_construct_common)
14950 (create_ci_newstate, create_cd_newstate, re_string_allocate)
14951 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
14952 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
14953 (re_string_translate_buffer, re_string_reconstruct)
14954 (re_string_peek_byte_case, re_string_fetch_byte_case)
14955 (re_string_destruct, re_string_context_at, re_node_set_alloc)
14956 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
14957 (re_node_set_add_intersect, re_node_set_init_union)
14958 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
14959 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
14960 (re_dfa_add_node, calc_state_hash, re_acquire_state)
14961 (re_acquire_state_context): Likewise.
14962 * posix/regex_internal.h (internal_function): Remove definition.
14963 (re_string_realloc_buffers, build_wcs_buffer)
14964 (build_wcs_upper_buffer, build_upper_buffer)
14965 (re_string_translate_buffer, re_string_context_at)
14966 (re_string_char_size_at, re_string_wchar_at)
14967 (re_string_elem_size_at): Likewise.
14968 * posix/regexec.c (match_ctx_init, match_ctx_clean)
14969 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
14970 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
14971 (re_search_internal, re_search_2_stub, re_search_stub)
14972 (re_copy_regs, prune_impossible_nodes, check_matching)
14973 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
14974 (free_fail_stack_return, sift_states_iter_mb)
14975 (sift_states_backward, build_sifted_states)
14976 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
14977 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
14978 (check_subexp_limits, sift_states_bkref, merge_state_array)
14979 (find_recover_state, transit_state, merge_state_with_log)
14980 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
14981 (transit_state_mb, transit_state_bkref, get_subexp)
14982 (get_subexp_sub, find_subexp_node, check_arrival)
14983 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
14984 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
14985 (check_node_accept_bytes, find_collation_sequence_value)
14986 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
14987 (acquire_init_state_context, check_halt_node_context)
14988 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
14989 (sub_epsilon_src_nodes): Likewise.
14990 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
14991 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
14992 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
14993 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
14994 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
14995 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
14996 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
14997 * sysdeps/posix/ttyname.c (getttyname): Likewise.
14998 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
14999 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
15000 (PREADV): Likewise.
15001 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
15002 (PREADV): Likewise.
15003 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
15004 (PWRITEV): Likewise.
15005 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
15006 (PWRITEV): Likewise.
15007 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
15008 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
15010 2017-08-31 Florian Weimer <fweimer@redhat.com>
15012 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
15013 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
15014 Remove internal_function.
15015 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15016 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
15017 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
15018 (__deallocate_stack, __libc_pthread_init)
15019 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
15020 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
15021 (__libc_disable_asynccancel, __librt_disable_asynccancel):
15023 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
15024 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
15025 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
15027 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
15028 (__pthread_mutex_unlock_usercnt): Likewise.
15030 2017-08-31 Florian Weimer <fweimer@redhat.com>
15032 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
15033 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
15034 (fts_safe_changedir): Remove internal_function.
15035 * io/ftw.c (internal_function): Remove definition.
15036 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
15038 2017-08-31 Florian Weimer <fweimer@redhat.com>
15040 * inet/deadline.c (__deadline_current_time)
15041 (__deadline_from_timeval, __deadline_to_ms): Remove
15043 * inet/getnameinfo.c (nrl_domainname): Likewise.
15044 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
15045 * inet/inet6_option.c (add_pad): Likewise.
15046 * inet/net-internal.h (__deadline_current_time)
15047 (__deadline_from_timeval, __deadline_to_ms): Likewise.
15048 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
15049 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
15050 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
15052 2017-08-31 Joseph Myers <joseph@codesourcery.com>
15054 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
15055 include <bits/nan.h>.
15056 * math/Makefile (headers): Remove bits/nan.h.
15057 * bits/nan.h: Remove.
15058 * sysdeps/ieee754/bits/nan.h: Likewise.
15059 * sysdeps/mips/bits/nan.h: Likewise.
15061 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
15062 not include <bits/inf.h>.
15063 * math/Makefile (headers): Remove bits/inf.h.
15064 * bits/inf.h: Remove.
15065 * sysdeps/ieee754/bits/inf.h: Likewise.
15067 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
15068 bits/huge_vall.h or bits/huge_val_flt128.h.
15069 (HUGE_VAL): Define directly here.
15070 [__USE_ISOC99] (HUGE_VALF): Likewise.
15071 [__USE_ISOC99] (HUGE_VALL): Likewise.
15072 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
15073 (HUGE_VAL_F128): Likewise.
15074 * math/Makefile (headers): Remove bits/huge_val.h,
15075 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
15076 * bits/huge_val.h: Remove.
15077 * bits/huge_val_flt128.h: Likewise.
15078 * bits/huge_valf.h: Likewise.
15079 * bits/huge_vall.h: Likewise.
15080 * sysdeps/ia64/bits/huge_vall.h: Likewise.
15081 * sysdeps/ieee754/bits/huge_val.h: Likewise.
15082 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
15083 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
15084 * sysdeps/sh/bits/huge_val.h: Likewise.
15085 * sysdeps/sparc/bits/huge_vall.h: Likewise.
15086 * sysdeps/x86/bits/huge_vall.h: Likewise.
15088 2017-08-31 Florian Weimer <fweimer@redhat.com>
15090 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
15092 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
15094 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
15095 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15096 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
15097 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
15098 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15099 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15100 * elf/dl-libc.c (dlerror_run): Likewise.
15101 * elf/dl-load.c (add_name_to_object, decompose_rpath)
15102 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
15103 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
15104 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
15106 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
15107 (_dl_higher_prime_number, _dl_strtoul): Likewise.
15108 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
15109 * elf/dl-profile.c (_dl_start_profile): Likewise.
15110 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
15111 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
15113 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
15114 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
15115 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
15116 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
15117 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
15118 (_dl_allocate_tls_storage): Likewise.
15119 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
15120 (_dl_check_all_versions): Likewise.
15121 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
15122 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
15123 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
15124 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
15125 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
15126 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
15127 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
15128 internal_function from __dl_start.
15129 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
15130 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
15131 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
15132 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
15133 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
15134 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
15135 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
15136 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
15137 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
15138 (_dl_next_ld_env_entry, _dl_important_hwcaps)
15139 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
15140 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
15141 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
15142 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
15143 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
15145 (struct rtld_global_ro): Remove internal_function from the
15146 _dl_lookup_symbol_x member.
15147 (_dl_symbol_value): Remove. No longer defined anywhere.
15148 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
15150 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
15151 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15152 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
15153 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
15154 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
15155 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
15156 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
15157 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
15158 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
15159 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
15160 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
15161 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15163 2017-08-31 Florian Weimer <fweimer@redhat.com>
15165 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
15166 Remove internal_function.
15167 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
15169 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
15172 2017-08-31 Florian Weimer <fweimer@redhat.com>
15174 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
15175 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
15176 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
15178 2017-08-31 Florian Weimer <fweimer@redhat.com>
15180 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
15181 (__gai_enqueue_request): Remove internal_function.
15182 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
15183 (__gai_remove_request, __gai_notify, __gai_notify_only)
15184 (__gai_sigqueue): Likewise.
15185 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
15186 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
15187 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
15188 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15191 2017-08-31 Florian Weimer <fweimer@redhat.com>
15193 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
15194 * include/dirent.h (__opendirat, __getdents, __getdents64)
15195 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
15196 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
15197 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
15198 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
15200 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
15202 2017-08-31 Florian Weimer <fweimer@redhat.com>
15204 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
15206 (GETCWD_RETURN_TYPE): Likewise.
15208 2017-08-31 Florian Weimer <fweimer@redhat.com>
15210 * include/time.h (__tz_compute, __strptime_internal): Remove
15212 * time/strptime_l.c (__strptime_internal): Likewise.
15213 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
15215 2017-08-31 Florian Weimer <fweimer@redhat.com>
15217 * iconv/gconv.c (__gconv): Remove internal_function.
15218 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
15219 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
15220 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
15221 (__gconv_release_cache): Likewise.
15222 * iconv/gconv_close.c (__gconv_close): Likewise.
15223 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
15224 (read_conf_file, __gconv_get_path): Likewise.
15225 * iconv/gconv_db.c (derivation_lookup, add_derivation)
15226 (__gconv_release_step, gen_steps, increment_counter)
15227 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
15228 (__gconv_close_transform, free_modules_db): Likewise.
15229 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
15231 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
15232 (__gconv_find_transform, __gconv_lookup_cache)
15233 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
15234 (__gconv_close_transform, __gconv_release_cache)
15235 (__gconv_loaded_object, __gconv_release_shlib)
15236 (__gconv_compare_alias): Likewise.
15237 * iconv/gconv_open.c (__gconv_open): Likewise.
15238 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
15239 * iconv/iconvconfig.c (add_module): Likewise.
15240 * intl/dcigettext.c (plural_lookup, guess_category_value)
15241 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
15242 * intl/eval-plural.h (plural_eval): Likewise.
15243 * intl/finddomain.c (_nl_find_domain): Likewise.
15244 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
15245 (_nl_load_domain, _nl_find_msg): Likewise.
15246 (internal_function): Remove definition.
15247 * intl/loadinfo.h (internal_function): Likewise.
15248 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
15250 * intl/localealias.c (internal_function): Remove definition.
15251 (read_alias_file): Remove internal_function.
15252 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
15253 * intl/plural-exp.h (internal_function): Remove definition.
15254 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
15256 * intl/plural.c: Regenerate.
15257 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
15258 * locale/coll-lookup.c (__collidx_table_lookup)
15259 (__collseq_table_lookup): Likewise.
15260 * locale/coll-lookup.h (__collidx_table_lookup)
15261 (__collseq_table_lookup): Likewise.
15262 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
15263 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15264 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
15265 (_nl_unload_locale): Likewise.
15266 * locale/localeinfo.h (struct __locale_data): Remove
15267 internal_function from cleanup member.
15268 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
15269 (_nl_remove_locale, _nl_load_locale_from_archive)
15270 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
15271 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
15272 (_nl_cleanup_time): Remove internal_function.
15273 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
15274 (_nl_parse_alt_digit): Likewise.
15275 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
15276 (_nl_select_era_entry): Likewise.
15277 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
15278 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
15279 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
15280 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
15281 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
15283 2017-08-31 Florian Weimer <fweimer@redhat.com>
15285 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
15286 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
15287 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
15288 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
15290 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
15291 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
15292 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
15293 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
15295 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
15297 2017-08-31 Florian Weimer <fweimer@redhat.com>
15299 * misc/getttyent.c (skip, value): Remove internal_function.
15300 * misc/syslog.c (openlog_internal): Likewise.
15301 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
15303 2017-08-31 Florian Weimer <fweimer@redhat.com>
15305 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
15306 (__nss_rewrite_field): Remove internal_function.
15307 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15308 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
15309 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15310 * nss/nsswitch.c (nss_parse_file, nss_getline)
15311 (nss_parse_service_list, nss_new_service): Likewise.
15312 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
15313 * nss/valid_field.c (__nss_valid_field): Likewise.
15314 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
15316 2017-08-31 Florian Weimer <fweimer@redhat.com>
15318 * malloc/arena.c (__malloc_fork_lock_parent)
15319 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
15320 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
15321 internal_function from defintions.
15322 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
15323 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
15324 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
15325 internal_function from declarations.
15326 * malloc/malloc.c (internal_function): Do not define.
15327 (mem2mem_check): Remove internal_function from declaration.
15328 (munmap_chunk, mremap_chunk): Remove internal_function.
15329 * malloc/mtrace.c (tr_where): Likewise.
15331 2017-08-31 Florian Weimer <fweimer@redhat.com>
15333 * include/rpc/pmap_clnt.h (__get_socket): Remove
15335 * sunrpc/auth_des.c (synchronize): Likewise.
15336 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
15337 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
15338 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
15339 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
15340 (key_call): Likewise.
15341 * sunrpc/pm_getport.c (__get_socket): Likewise.
15342 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
15343 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
15344 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
15345 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
15346 (invalidate): Likewise.
15347 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
15348 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
15349 (set_input_fragment, get_input_bytes): Likewise.
15351 2017-08-31 Florian Weimer <fweimer@redhat.com>
15353 * malloc/malloc.c (_int_free): Remove locked variable and related
15356 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
15359 * Makerules (build-module-helper-objlist): Filter out
15360 $(elf-objpfx)sofini.os.
15361 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
15364 2017-08-31 Florian Weimer <fweimer@redhat.com>
15366 * libio/fcloseall.c: Assume weak_alias is defined.
15367 * libio/feof.c: Likewise.
15368 * libio/fileno.c: Likewise.
15369 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
15370 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
15372 (_IO_file_open): Call __open directly.
15373 (_IO_new_file_sync): Assume ESPIPE is defined.
15374 (_IO_file_seekoff_maybe_mmap): Call __read directly.
15375 (_IO_new_file_write): Call __write directly.
15376 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
15377 * libio/ftello64.c (__ftello64): Assume EIO is defined.
15378 * libio/genops.c: Assume _LIBC is defined.
15379 (save_for_backup): Remove internal_function.
15380 * libio/getc.c: Assume weak_alias is defined.
15381 * libio/getwc.c: Likewise.
15382 * libio/iofclose.c: Assume _LIBC is defined.
15383 * libio/iofdopen.c: Likewise.
15384 (_IO_fcntl): Remove macro definition.
15385 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
15386 Call __fcntl directly.
15387 * libio/iofflush.c: Assume weak_alias is defined.
15388 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
15390 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
15391 * libio/iofgets.c: Likewise.
15392 * libio/iofopen.c: Assume _LIBC is defined.
15393 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
15394 * libio/iofputs.c: Assume weak_alias is defined.
15395 * libio/iofread.c: Likewise.
15396 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
15397 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
15398 * libio/ioftell.c: Assume weak_alias is defined.
15399 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
15400 * libio/iofwide.c: Assume _LIBC is defined.
15401 (_IO_fwide): Drop SHARED conditional because it is implied by
15403 * libio/iofwrite.c: Assume weak_alias is defined.
15404 * libio/iogetdelim.c: Likewise.
15405 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
15406 * libio/iogetwline.c (wmemcpy): Remove macro definition.
15407 (_IO_getwline): Call __wmemcpy directly.
15408 * libio/iopopen.c: Assume _LIBC is defined.
15409 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
15410 (_IO_close): Remove macro definitions.
15411 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
15413 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
15415 * libio/ioputs.c: Assume weak_alias is defined.
15416 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
15417 * libio/iosetbuffer.c: Assume weak_alias is defined.
15418 * libio/iosetvbuf.c: Likewise.
15419 * libio/ioungetc.c: Likewise.
15420 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
15421 libc_hidden_def, libc_hidden_weak, NULL are defined.
15422 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
15423 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
15425 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
15427 (_IO_old_file_init_internal): Drop SHARED conditional because it
15428 is implied by SHLIB_COMPAT.
15429 (_IO_old_file_fopen): Call __open directly.
15430 (_IO_old_file_sync): Assume ESPIPE is defined.
15431 (_IO_old_file_write): Call __write directly.
15432 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
15433 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
15434 Call __fcntl directly.
15435 * libio/oldiofgetpos.c: Assume weak_alias is defined.
15436 (_IO_old_fgetpos): Assume EIO is defined.
15437 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
15438 (_IO_old_fgetpos64): Assume EIO is defined.
15439 * libio/oldiofsetpos.c: Assume weak_alias is defined.
15440 (_IO_old_fsetpos): Assume EIO is defined.
15441 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
15442 (_IO_old_fsetpos64): Assume EIO is defined.
15443 * libio/oldiopopen.c: Assume _LIBC is defined.
15444 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
15445 (_IO_close): Remove macro definitions.
15446 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
15448 (_IO_old_proc_close): Call __close, __waitpid directly.
15449 * libio/put.c: Assume weak_alias is defined.
15450 * libio/stdfiles.c: Assume _LIBC is defined.
15451 * libio/stdio.c: Likewise.
15452 * libio/wfileops.c: Likewise.
15453 (_IO_wfile_sync): Assume ESPIPE is defined.
15454 * libio/wgenops.c: Assume _LIBC is defined.
15455 (save_for_wbackup): Remove internal_function.
15457 2017-08-31 Florian Weimer <fweimer@redhat.com>
15459 * malloc/malloc.c (top_check): Change return type to void. Remove
15461 * malloc/hooks.c (top_check): Likewise.
15462 (malloc_check, realloc_check, memalign_check): Adjust.
15464 2017-08-30 Joseph Myers <joseph@codesourcery.com>
15467 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
15468 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
15469 sigcontext and namespace requirements.
15470 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
15471 * sysdeps/m68k/sys/ucontext.h: Likewise.
15472 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
15473 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
15474 <bits/sigcontext.h>.
15475 (__ctx): Define earlier.
15476 (mcontext_t): Define structure contents rather than using struct
15478 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
15479 __glibc_reserved1 instead of __reserved.
15480 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
15481 <bits/sigcontext.h>.
15482 (__ctx): Define earlier.
15483 (mcontext_t): Define structure contents rather than using struct
15485 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
15486 mcontext_t instead of struct sigcontext.
15487 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
15488 <bits/sigcontext.h>.
15489 (__ctx): Define earlier.
15490 (mcontext_t): Define structure contents rather than using struct
15492 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
15493 <bits/sigcontext.h>.
15494 (__ctx): Define earlier.
15495 (mcontext_t): Define structure contents rather than using struct
15497 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
15498 mcontext_t instead of struct sigcontext.
15499 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
15500 mcontext_t instead of struct sigcontext.
15501 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
15502 <bits/sigcontext.h>.
15503 (__ctx): New macro.
15504 (struct __ia64_fpreg_mcontext): New type.
15505 (mcontext_t): Define structure contents rather than using struct
15507 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
15508 (uc_sigmask): Define using __ctx.
15509 (uc_stack): Likewise.
15510 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
15511 <bits/sigcontext.h>.
15512 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15513 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
15514 <bits/sigcontext.h>.
15515 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
15516 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
15517 <bits/sigcontext.h>.
15518 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
15519 <bits/sigcontext.h>.
15520 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
15521 <bits/sigcontext.h>.
15522 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
15523 <bits/sigcontext.h>.
15524 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
15525 <bits/sigcontext.h>.
15526 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
15527 <bits/sigcontext.h>.
15528 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
15529 <bits/sigcontext.h>.
15530 (__ctx): Define earlier.
15531 (mcontext_t): Define structure contents rather than using struct
15533 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
15534 <bits/sigcontext.h>. Include <bits/types.h>.
15535 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
15536 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
15537 (test-xfail-XPG42/ucontext.h/conform): Likewise.
15538 (test-xfail-UNIX98/signal.h/conform): Likewise.
15539 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15540 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15541 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15542 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15543 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15544 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15545 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15546 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15547 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15549 2017-08-30 Florian Weimer <fweimer@redhat.com>
15551 * malloc/dynarray_emplace_enlarge.c
15552 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
15553 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
15554 * malloc/tst-dynarray.c (test_long_overflow): New function.
15555 (do_test): Call it.
15557 2017-08-30 Florian Weimer <fweimer@redhat.com>
15559 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
15560 (set_arena_corrupt): Remove definitions.
15561 (mtrim): Do not check for corrupt arena.
15562 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
15565 2017-08-30 Florian Weimer <fweimer@redhat.com>
15568 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
15570 (ptmalloc_init): Do not set or use check_action.
15571 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
15572 call to malloc_printerr. Remove return statement.
15573 (free_check): Likewise. Remove arena unlock.
15574 (top_check): Update comment. Adjust call to malloc_printerr.
15575 Remove heap repair code.
15576 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
15577 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
15578 (sysmalloc): Adjust call to malloc_printerr.
15579 (munmap_chunk, __libc_realloc): Likewise. Remove return
15581 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
15582 Remove errout label and corresponding gotos.
15583 (_int_free): Likewise. Remove arena unlock.
15584 (do_set_mallopt_check): Do not set check_action.
15585 (malloc_printerr): Adjust parameter list. Do not mark arena as
15587 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
15589 * manual/probes.texi (Memory Allocation Probes): Remove
15590 memory_mallopt_check_action.
15592 2017-08-30 Steve Ellcey <sellcey@cavium.com>
15594 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
15595 Use pointer to uint64_t instead of long int for sp.
15597 2017-08-30 Florian Weimer <fweimer@redhat.com>
15600 * malloc/malloc.c (malloc_printerr): Always terminate the process,
15601 without printing a backtrace. Do not leak any information in the
15603 * manual/memory.texi (Heap Consistency Checking): Update.
15604 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
15606 2017-08-30 Florian Weimer <fweimer@redhat.com>
15608 Do not scale NPTL tests with available number of CPUs.
15609 * nptl/tst-cond16.c (count): Set to constant value of 8.
15610 * nptl/tst-cond18.c (count): Likewise.
15612 2017-08-29 Joseph Myers <joseph@codesourcery.com>
15615 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
15616 Define to take a second argument that is a macro that
15617 concatentates a suffix, not the suffix itself.
15618 (__CONCAT_d): New macro.
15619 (__CONCAT_f): Likewise.
15620 (__CONCAT_l): Likewise.
15622 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
15624 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
15627 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15628 Aurelien Jarno <aurelien@aurel32.net>
15629 Maciej W. Rozycki <macro@imgtec.com>
15632 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
15633 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
15634 `mips16-syscall6' and `mips16-syscall7'.
15635 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
15636 (CFLAGS-mips16-syscall7.c): Remove.
15637 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
15638 Remove `__mips16_syscall5', `__mips16_syscall6' and
15639 `__mips16_syscall7'.
15640 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
15641 (__mips16_syscall0): Rename `__mips16_syscall_return' to
15642 `__mips_syscall_return'.
15643 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
15644 (__mips16_syscall1): Likewise.
15645 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
15646 (__mips16_syscall2): Likewise.
15647 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
15648 (__mips16_syscall3): Likewise.
15649 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
15650 (__mips16_syscall4): Likewise.
15651 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
15653 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
15655 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
15657 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
15658 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
15659 `__mips16_syscall5'. Remove prototype.
15660 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
15661 `__mips16_syscall6'. Remove prototype.
15662 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
15663 `__mips16_syscall7'. Remove prototype.
15664 (__nomips16, __mips16_syscall_return): Move to...
15665 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
15666 (__nomips16, __mips_syscall_return): ... here.
15667 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
15668 `__mips16_syscall_return' to `__mips_syscall_return'.
15669 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
15670 `internal_syscall##nr'.
15671 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
15672 `internal_syscall##nr'.
15673 (FORCE_FRAME_POINTER): Remove.
15674 (__mips_syscall5): New prototype.
15675 (internal_syscall5): Rewrite to call `__mips_syscall5'.
15676 (__mips_syscall6): New prototype.
15677 (internal_syscall6): Rewrite to call `__mips_syscall6'.
15678 (__mips_syscall7): New prototype.
15679 (internal_syscall7): Rewrite to call `__mips_syscall7'.
15680 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
15681 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
15682 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
15683 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
15684 (sysdep_routines): Add libc-do-syscall.
15685 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
15686 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
15688 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15691 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
15692 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
15693 (advise_stack_range): New function.
15694 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
15695 stack non required to advise_stack_range at allocatestack.c
15697 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
15699 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
15701 2017-08-29 Florian Weimer <fweimer@redhat.com>
15704 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
15705 __end_fct. Mangle __end_fct after setting it to NULL.
15706 * iconv/Makefile (tests): Add tst-gconv-init-failure.
15707 (modules-names, modules-names-tests): Add
15708 tst-gconv-init-failure-mod.
15709 (gconv-modules): New target.
15710 (tst-gconv-init-failure-mod.so): Link against libsupport.
15711 (tst-gconv-init-failure): Depend on gconv-modules,
15712 tst-gconv-init-failure-mod.so.
15713 * iconv/tst-gconv-init-failure-mod.c: New file.
15714 * iconv/tst-gconv-init-failure.c: Likewise.
15715 * iconv/test-gconv-modules: Likewise.
15717 2017-08-29 Florian Weimer <fweimer@redhat.com>
15720 * iconv/gconv_db.c (free_derivation): Remove redundant
15722 (gen_steps): Unconditionally mangle __btowc_fct after
15724 (increment_counter): Likewise. Do not call init_fct for internal
15727 2017-08-29 Joseph Myers <joseph@codesourcery.com>
15730 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
15731 (_MSUF_): Remove macro.
15732 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
15734 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
15735 (__REDIRFROM_X): New macro.
15736 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
15738 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
15739 (__REDIRTO_X): Likewise.
15740 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
15742 (__MATH_REDIRCALL_2): Likewise.
15743 (__MATH_REDIRCALL_INTERNAL): Likewise.
15744 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
15745 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
15746 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
15747 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
15748 * math/test-finite-macros.c: New file.
15749 * math/Makefile (tests): Add test-finite-macros.
15750 (CFLAGS-test-finite-macros.c): New variable.
15752 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
15753 Jeff Law <law@redhat.com>
15756 Mangle NULL pointers in iconv/gconv.
15757 * iconv/gconv_cache.c (find_module): Demangle init_fct before
15758 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
15759 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
15760 is non-NULL before demangling the end_fct. Check for NULL
15761 end_fct after demangling.
15762 (__gconv_release_step): Demangle the end_fct before checking
15763 it for NULL. Remove assert on __shlibc_handle != NULL.
15764 (gen_steps): Don't check btowc_fct for NULL before mangling.
15765 Demangle init_fct before checking for NULL.
15766 (increment_counter): Likewise.
15767 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
15768 end_fct for NULL before mangling.
15769 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
15772 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
15775 * locale/iso-639.def: add Morisyen.
15777 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15780 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
15781 (iszero): New C++ implementation that does not use
15782 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
15783 signaling nans are enabled, since __builtin_types_compatible_p
15784 is a C-only feature.
15785 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
15786 defined, include ieee754_float128.h for access to the union and
15787 member ieee854_float128.ieee.
15788 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
15789 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
15790 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
15791 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
15792 options of test-math-zero on powerpc64le.
15794 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
15796 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
15797 Change double to float.
15799 2017-08-28 Joseph Myers <joseph@codesourcery.com>
15801 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
15803 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
15804 conditional code; define contents only for [LIBM_SVID_COMPAT].
15806 2017-08-28 Florian Weimer <fweimer@redhat.com>
15808 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
15809 (abi-lp64_be-options): Remove.
15810 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
15811 (abi-hard-options): Likewise.
15812 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
15813 (abi-o32_hard-options, abi-o32_soft_2008-options)
15814 (abi-o32_hard_2008-options, abi-n32_soft-options)
15815 (abi-n32_hard-options, abi-n32_soft_2008-options)
15816 (abi-n32_hard_2008-options, abi-n64_soft-options)
15817 (abi-n64_hard-options, abi-n64_soft_2008-options)
15818 (abi-n64_hard_2008-options): Likewise.
15819 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
15820 (abi-64-v1-options, abi-64-v2-options): Likewise.
15821 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
15822 (abi-64-options): Likewise.
15823 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
15824 (abi-64-options): Likewise.
15825 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
15826 (abi-64-options): Likewise.
15827 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
15828 (abi-64-options, abi-x32-options): Likewise.
15830 2017-08-28 Florian Weimer <fweimer@redhat.com>
15832 Store supported list of SYS_* system calls in the source tree.
15833 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
15834 (bits/syscall.h): Generate from list file.
15835 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
15836 [$(subdir) = misc] (tests): Add tst-syscall-list.
15837 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
15838 [$(subdir) = misc] (tst-syscall-list-macros.list)
15839 [$(subdir) = misc] (tst-syscall-list-nr.list)
15840 (tst-syscall-list-sys.list): Helper targets for new
15841 tst-syscall-list test.
15842 [$(subdir) = misc] (tst-syscall-list.out): Run test script
15843 tst-syscall-list.sh.
15844 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
15845 target. Do not include bits/syscall.d.
15846 [$(subdir) = misc] (generated): Do not update.
15847 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
15848 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
15849 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
15850 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
15852 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15854 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
15855 (tst-cxa_atexit, tst-on_exit): Likewise.
15856 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
15857 tst-cxa_atexit, and tst-on_exit.
15858 * stdlib/tst-atexit-common.c: New file.
15859 * stdlib/tst-atexit.c: New file.
15860 * stdlib/tst-at_quick_exit.c: New file.
15861 * stdlib/tst-cxa_atexit.c: New file.
15862 * stdlib/tst-on_exit.c: New file.
15864 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15866 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
15867 * mach/stack_chk_fail_local.c: New file.
15868 * hurd/stack_chk_fail_local.c: New file.
15869 * mach/Machrules ($(interface-library)-routines): Add
15870 stack_chk_fail_local.
15871 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
15872 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
15873 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
15874 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
15875 * hurd/Makefile (CFLAGS-hurdstartup.o,
15876 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
15878 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
15880 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
15881 (index_cpu_*, index_arch_*): Removed.
15883 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
15885 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
15886 Use uint64_t instead of unsigned long.
15888 2017-08-25 Joseph Myers <joseph@codesourcery.com>
15890 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
15891 [__HAVE_DISTINCT_FLOAT128].
15893 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
15894 of <bits/math-finite.h>.
15895 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
15896 inclusion of <bits/math-finite.h>.
15897 * math/bits/math-finite.h (__REDIRTO_X): Do not define
15898 conditionally on [__MATH_DECLARING_LDOUBLE && defined
15899 __NO_LONG_DOUBLE_MATH].
15900 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
15901 (__MATH_REDIRCALL_2): Likewise.
15902 (__MATH_REDIRCALL_INTERNAL): Likewise.
15903 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
15904 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
15905 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
15907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
15909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
15911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
15913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
15915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
15917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
15919 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
15920 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
15921 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
15922 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
15923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
15924 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
15925 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
15926 w_sqrtf_compat-ppc32.
15928 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
15930 * math/math.h [defined __cplusplus] (issignaling): In the long
15931 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
15932 is not defined. Call __issignaling, otherwise.
15934 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15936 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
15937 syscall definitions and replace __builtin_expect with __glibc_likely.
15938 * sysdeps/unix/syscall-template.S: Update comment about cancellable
15940 (SYSCALL_CANCELLABLE): Removedefinition
15941 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
15943 (PSEUDO_END): Likewise.
15944 [IS_IN (libpthread)] (CENABLE): Likewise.
15945 [IS_IN (libpthread)] (CDISABLE): Likewise.
15946 [IS_IN (libc)] (CENABLE): Likewise.
15947 [IS_IN (libc)] (CENABLE): Likewise.
15948 [IS_IN (librt)] (CDISABLE): Likewise.
15949 [IS_IN (librt)] (CDISABLE): Likewise.
15950 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15951 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
15953 (PSEUDO_END): Likewise.
15954 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
15955 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
15956 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
15957 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
15958 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
15959 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
15960 (CENABLE): Likewise.
15961 (CDISABLE): Likewise.
15962 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15963 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
15965 (PSEUDO_END): Likewise.
15966 [IS_IN (libpthread)] (CENABLE): Likewise.
15967 [IS_IN (libpthread)] (CDISABLE): Likewise.
15968 [IS_IN (libc)] (CENABLE): Likewise.
15969 [IS_IN (libc)] (CENABLE): Likewise.
15970 [IS_IN (librt)] (CDISABLE): Likewise.
15971 [IS_IN (librt)] (CDISABLE): Likewise.
15972 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15973 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
15975 (PSEUDO_END): Likewise.
15976 [IS_IN (libpthread)] (CENABLE): Likewise.
15977 [IS_IN (libpthread)] (CDISABLE): Likewise.
15978 [IS_IN (libc)] (CENABLE): Likewise.
15979 [IS_IN (libc)] (CENABLE): Likewise.
15980 [IS_IN (librt)] (CDISABLE): Likewise.
15981 [IS_IN (librt)] (CDISABLE): Likewise.
15982 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15983 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
15985 (PSEUDO_END): Likewise.
15986 [IS_IN (libpthread)] (CENABLE): Likewise.
15987 [IS_IN (libpthread)] (CDISABLE): Likewise.
15988 [IS_IN (libc)] (CENABLE): Likewise.
15989 [IS_IN (libc)] (CENABLE): Likewise.
15990 [IS_IN (librt)] (CDISABLE): Likewise.
15991 [IS_IN (librt)] (CDISABLE): Likewise.
15992 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
15993 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
15995 (PSEUDO_END): Likewise.
15996 [IS_IN (libpthread)] (CENABLE): Likewise.
15997 [IS_IN (libpthread)] (CDISABLE): Likewise.
15998 [IS_IN (libc)] (CENABLE): Likewise.
15999 [IS_IN (libc)] (CENABLE): Likewise.
16000 [IS_IN (librt)] (CDISABLE): Likewise.
16001 [IS_IN (librt)] (CDISABLE): Likewise.
16002 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16003 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
16005 (PSEUDO_END): Likewise.
16006 [IS_IN (libpthread)] (CENABLE): Likewise.
16007 [IS_IN (libpthread)] (CDISABLE): Likewise.
16008 [IS_IN (libc)] (CENABLE): Likewise.
16009 [IS_IN (libc)] (CENABLE): Likewise.
16010 [IS_IN (librt)] (CDISABLE): Likewise.
16011 [IS_IN (librt)] (CDISABLE): Likewise.
16012 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16013 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
16015 (PSEUDO_END): Likewise.
16016 [IS_IN (libpthread)] (CENABLE): Likewise.
16017 [IS_IN (libpthread)] (CDISABLE): Likewise.
16018 [IS_IN (libc)] (CENABLE): Likewise.
16019 [IS_IN (libc)] (CENABLE): Likewise.
16020 [IS_IN (librt)] (CDISABLE): Likewise.
16021 [IS_IN (librt)] (CDISABLE): Likewise.
16022 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16023 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
16025 (PSEUDO_END): Likewise.
16026 [IS_IN (libpthread)] (CENABLE): Likewise.
16027 [IS_IN (libpthread)] (CDISABLE): Likewise.
16028 [IS_IN (libc)] (CENABLE): Likewise.
16029 [IS_IN (libc)] (CENABLE): Likewise.
16030 [IS_IN (librt)] (CDISABLE): Likewise.
16031 [IS_IN (librt)] (CDISABLE): Likewise.
16032 (SINGLE_THREAD_P): Likewise.
16033 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
16035 (PSEUDO_END): Likewise.
16036 [IS_IN (libpthread)] (CENABLE): Likewise.
16037 [IS_IN (libpthread)] (CDISABLE): Likewise.
16038 [IS_IN (libc)] (CENABLE): Likewise.
16039 [IS_IN (libc)] (CENABLE): Likewise.
16040 [IS_IN (librt)] (CDISABLE): Likewise.
16041 [IS_IN (librt)] (CDISABLE): Likewise.
16042 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16043 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
16045 (PSEUDO_END): Likewise.
16046 [IS_IN (libpthread)] (CENABLE): Likewise.
16047 [IS_IN (libpthread)] (CDISABLE): Likewise.
16048 [IS_IN (libc)] (CENABLE): Likewise.
16049 [IS_IN (libc)] (CENABLE): Likewise.
16050 [IS_IN (librt)] (CDISABLE): Likewise.
16051 [IS_IN (librt)] (CDISABLE): Likewise.
16052 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16053 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
16054 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
16055 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
16056 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
16058 (PSEUDO_END): Likewise.
16059 [IS_IN (libpthread)] (CENABLE): Likewise.
16060 [IS_IN (libpthread)] (CDISABLE): Likewise.
16061 [IS_IN (libc)] (CENABLE): Likewise.
16062 [IS_IN (libc)] (CENABLE): Likewise.
16063 [IS_IN (librt)] (CDISABLE): Likewise.
16064 [IS_IN (librt)] (CDISABLE): Likewise.
16065 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16066 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
16068 (PSEUDO_END): Likewise.
16069 [IS_IN (libpthread)] (CENABLE): Likewise.
16070 [IS_IN (libpthread)] (CDISABLE): Likewise.
16071 [IS_IN (libc)] (CENABLE): Likewise.
16072 [IS_IN (libc)] (CENABLE): Likewise.
16073 [IS_IN (librt)] (CDISABLE): Likewise.
16074 [IS_IN (librt)] (CDISABLE): Likewise.
16075 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16076 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
16078 (PSEUDO_END): Likewise.
16079 [IS_IN (libpthread)] (CENABLE): Likewise.
16080 [IS_IN (libpthread)] (CDISABLE): Likewise.
16081 [IS_IN (libc)] (CENABLE): Likewise.
16082 [IS_IN (libc)] (CENABLE): Likewise.
16083 [IS_IN (librt)] (CDISABLE): Likewise.
16084 [IS_IN (librt)] (CDISABLE): Likewise.
16085 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16086 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
16087 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16088 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
16089 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
16091 (PSEUDO_END): Likewise.
16092 [IS_IN (libpthread)] (CENABLE): Likewise.
16093 [IS_IN (libpthread)] (CDISABLE): Likewise.
16094 [IS_IN (libc)] (CENABLE): Likewise.
16095 [IS_IN (libc)] (CENABLE): Likewise.
16096 [IS_IN (librt)] (CDISABLE): Likewise.
16097 [IS_IN (librt)] (CDISABLE): Likewise.
16098 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16099 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
16101 (PSEUDO_END): Likewise.
16102 [IS_IN (libpthread)] (CENABLE): Likewise.
16103 [IS_IN (libpthread)] (CDISABLE): Likewise.
16104 [IS_IN (libc)] (CENABLE): Likewise.
16105 [IS_IN (libc)] (CENABLE): Likewise.
16106 [IS_IN (librt)] (CDISABLE): Likewise.
16107 [IS_IN (librt)] (CDISABLE): Likewise.
16108 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
16110 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16112 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
16114 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
16116 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16118 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
16121 * string/stratcliff.c (do_test): Declare size, nchars, inner,
16122 middle and outer with size_t instead of int. Repleace %d and
16123 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
16124 "MAX (outer, nchars - 64)" to support unsigned outer and
16125 nchars. Also exit loop when outer == 0.
16127 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16129 * include/fcntl.h (__fcntl_nocancel): Remove definition.
16130 * include/signal.h (__sigsuspend_nocancel): Likewise.
16131 * include/time.h (__nanosleep_nocancel): Likewise.
16132 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
16133 * login/utmp_file.c: Include non cancellable syscall header.
16134 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
16137 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
16139 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
16140 .byte sequences with AVX512F instructions.
16141 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
16142 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
16143 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
16144 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
16146 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
16149 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
16150 Steve Ellcey <sellcey@cavium.com>
16152 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
16153 Use PTR_REG macro in cmp instruction.
16155 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16157 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
16158 Change the return type of the ifunc resolver to match the return
16159 type of the target function.
16161 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16163 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
16164 (preadv64): Likewise.
16165 (pwrite64(: Likewise.
16166 (pwritev64): Likewise.
16168 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16169 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
16170 (LOAD_ARGS_0): Likewise.
16171 (LOAD_ARGS_1): Likewise.
16172 (LOAD_ARGS_2): Likewise.
16173 (LOAD_ARGS_3): Likewise.
16174 (LOAD_ARGS_4): Likewise.
16175 (LOAD_ARGS_5): Likewise.
16176 (LOAD_ARGS_6): Likewise.
16177 (LOAD_REGS_0): Likewise.
16178 (LOAD_REGS_1): Likewise.
16179 (LOAD_REGS_2): Likewise.
16180 (LOAD_REGS_3): Likewise.
16181 (LOAD_REGS_4): Likewise.
16182 (LOAD_REGS_5): Likewise.
16183 (LOAD_REGS_6): Likewise.
16184 (ASM_ARGS_0): Likewise.
16185 (ASM_ARGS_1): Likewise.
16186 (ASM_ARGS_2): Likewise.
16187 (ASM_ARGS_3): Likewise.
16188 (ASM_ARGS_4): Likewise.
16189 (ASM_ARGS_5): Likewise.
16190 (ASM_ARGS_6): Likewise.
16191 (LOAD_ARGS_TYPES_1): Likewise.
16192 (LOAD_ARGS_TYPES_2): Likewise.
16193 (LOAD_ARGS_TYPES_3): Likewise.
16194 (LOAD_ARGS_TYPES_4): Likewise.
16195 (LOAD_ARGS_TYPES_5): Likewise.
16196 (LOAD_ARGS_TYPES_6): Likewise.
16197 (LOAD_REGS_TYPES_1): Likewise.
16198 (LOAD_REGS_TYPES_2): Likewise.
16199 (LOAD_REGS_TYPES_3): Likewise.
16200 (LOAD_REGS_TYPES_4): Likewise.
16201 (LOAD_REGS_TYPES_5): Likewise.
16202 (LOAD_REGS_TYPES_6): Likewise.
16203 (TYPEFY): New define.
16204 (ARGIFY): Likewise.
16205 (internal_syscall0): Likewise.
16206 (internal_syscall1): Likewise.
16207 (internal_syscall2): Likewise.
16208 (internal_syscall3): Likewise.
16209 (internal_syscall4): Likewise.
16210 (internal_syscall5): Likewise.
16211 (internal_syscall6): Likewise.
16212 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
16213 (INTERNAL_SYSCALL_NCS): Remove define.
16214 (internal_syscall1): Add define.
16216 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16218 * math/w_remainder_compat.c: Remove duplicate inclusion of
16219 math-svid-compat.h.
16220 * math/w_remainderf_compat.c: Likewise.
16221 * math/w_remainderl_compat.c: Likewise.
16223 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16227 2017-08-22 Joseph Myers <joseph@codesourcery.com>
16230 * math/tgmath.h (__floating_type): Simplify definitions.
16231 (__real_integer_type): New macro.
16232 (__complex_integer_type): Likewise.
16233 (__expr_is_real): Likewise.
16234 (__tgmath_real_type_sub): Update comment to describe handling of
16236 (__tgmath_complex_type_sub): New macro.
16237 (__tgmath_complex_type): Likewise.
16238 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16239 (__TGMATH_CF128): Use __expr_is_real.
16240 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
16242 (__TGMATH_BINARY_REAL_IMAG): Likewise.
16243 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
16244 * math/gen-tgmath-tests.py (Type.create_type): Create complex
16247 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16249 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
16251 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
16253 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
16256 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
16257 nanosleep_not_cancel with __nanosleep_nocancel.
16258 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
16259 (__nanosleep_nocancel): New macro.
16260 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
16262 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
16264 (__nanosleep_nocancel): New prototype.
16266 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
16267 pause_not_cancel with __pause_nocancel.
16268 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
16269 (__pause_nocancel): New macro.
16270 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
16272 (__pause_nocancel): New prototype.
16273 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
16275 2017-08-22 Martin Sebor <msebor@redhat.com>
16277 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
16278 to return a pointer to the same type as the target function.
16280 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
16284 * include/printf.h (__printf_fphex): Add attribute_hidden.
16285 (__guess_grouping): New prototype.
16286 * stdio-common/printf_fp.c (__guess_grouping): Removed.
16287 * stdio-common/reg-printf.c (__register_printf_specifier): Add
16288 libc_hidden_proto and libc_hidden_def.
16289 * stdlib/strfmon_l.c (__guess_grouping): Removed.
16290 (__vstrfmon_l): Remove the third argument passed to
16293 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16295 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
16296 definition for issignaling that does not rely on __MATH_TG,
16297 since __MATH_TG uses __builtin_types_compatible_p, which is only
16298 available in C mode.
16299 (CFLAGS-test-math-issignaling.cc): New variable.
16300 * math/Makefile [CXX] (tests): Add test-math-issignaling.
16301 * math/test-math-issignaling.cc: New test for C++ implementation
16302 of type-generic issignaling.
16303 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
16304 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
16305 options of test-math-issignaling on powerpc64le.
16307 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
16309 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
16311 (hidden_proto): Likewise.
16312 (hidden_tls_proto): Likewise.
16313 (__hidden_proto): Likewise.
16315 2017-08-22 Florian Weimer <fweimer@redhat.com>
16317 math: Statically link tests of internal functionality.
16318 * math/Makefile (tests): Remove atest-exp, atest-sincos,
16320 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
16321 (gmp-objs): Remove assignment.
16322 (atest-exp, atest-sincos, atest-exp2): Remove targets.
16324 2017-08-22 Joseph Myers <joseph@codesourcery.com>
16327 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
16329 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
16331 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
16334 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
16335 variable definitions above inclusion of ../Rules.
16337 2017-08-21 Joseph Myers <joseph@codesourcery.com>
16339 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
16340 case calling __builtin_unreachable.
16342 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16344 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
16345 __waitpid_nocancel.
16346 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
16347 (__waitpid_nocancel): New macro.
16348 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
16350 (__waitpid_nocancel): Replace macro with a function.
16351 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
16354 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
16356 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
16357 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
16359 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
16360 __writev_nocancel_nostatus.
16361 (write_call_graph): Likewise.
16362 (write_bb_counts): Likewise.
16363 * resolv/herror.c (herror): Likewise.
16364 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
16366 (__writev_nocancel_nostatus): New macro.
16367 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
16369 (__writev_nocancel_nostatus): New function.
16371 2017-08-21 Joseph Myers <joseph@codesourcery.com>
16374 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16376 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
16378 (hidden_proto): Likewise.
16379 (hidden_tls_proto): Likewise.
16380 (__hidden_proto): Likewise.
16383 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
16384 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
16385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
16387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
16389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
16391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
16393 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
16394 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
16395 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
16396 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
16397 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
16398 GLIBC_2.0 sqrtl symbol.
16400 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
16401 [__USE_MISC] (_LIB_VERSION): Likewise.
16402 [__USE_MISC] (struct exception): Likewise.
16403 [__USE_MISC] (matherr): Likewise.
16404 [__USE_MISC] (DOMAIN): Likewise.
16405 [__USE_MISC] (SING): Likewise.
16406 [__USE_MISC] (OVERFLOW): Likewise.
16407 [__USE_MISC] (UNDERFLOW): Likewise.
16408 [__USE_MISC] (TLOSS): Likewise.
16409 [__USE_MISC] (PLOSS): Likewise.
16410 [__USE_MISC] (HUGE): Likewise.
16411 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
16412 * math/math-svid-compat.h: New file.
16413 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
16415 * include/math.h [!_ISOMAC] (__matherr): Remove.
16416 * manual/arith.texi (FP Exceptions): Do not document matherr.
16417 * math/Makefile (tests): Change test-matherr to test-matherr-3.
16418 (tests-internal): New variable.
16419 (install-lib): Do not add libieee.a.
16420 (non-lib.a): Likewise.
16421 (extra-objs): Do not add libieee.a and ieee-math.o.
16422 (CPPFLAGS-s_lib_version.c): Remove variable.
16423 ($(objpfx)libieee.a): Remove rule.
16424 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
16425 * math/ieee-math.c: Remove.
16426 * math/libm-test-support.c (matherr): Remove.
16427 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
16428 and license notices. Include <math-svid-compat.h> and
16430 (matherr): Undefine as macro. Use compat_symbol_reference.
16431 (_LIB_VERSION): Likewise.
16432 * math/test-matherr-2.c: New file.
16433 * math/test-matherr-3.c: Likewise.
16434 * sysdeps/generic/math_private.h (__kernel_standard): Remove
16436 (__kernel_standard_f): Likewise.
16437 (__kernel_standard_l): Likewise.
16438 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
16439 <math_private.h>. Include <math-svid-compat.h>.
16440 (_LIB_VERSION): Undefine as macro.
16441 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
16442 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
16443 [LIBM_SVID_COMPAT], use compat_symbol.
16444 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
16445 <math_private.h>. Include <math-svid-compat.h>.
16446 (matherr): Undefine as macro.
16447 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
16449 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
16450 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
16451 compat_symbol_reference.
16452 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
16453 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
16454 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
16455 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
16456 (MATHERR_D): Remove declaration.
16457 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
16458 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
16459 [LIBM_BUILD] (pmatherrf): Likewise.
16460 [LIBM_BUILD] (pmatherr): Likewise.
16461 [LIBM_BUILD] (pmatherrl): Likewise.
16462 (DOMAIN): Likewise.
16464 (OVERFLOW): Likewise.
16465 (UNDERFLOW): Likewise.
16468 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
16469 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
16471 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
16472 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
16474 * math/lgamma-compat.h: Include <math-svid-compat.h>.
16475 * math/w_acos_compat.c: Likewise.
16476 * math/w_acosf_compat.c: Likewise.
16477 * math/w_acosh_compat.c: Likewise.
16478 * math/w_acoshf_compat.c: Likewise.
16479 * math/w_acoshl_compat.c: Likewise.
16480 * math/w_acosl_compat.c: Likewise.
16481 * math/w_asin_compat.c: Likewise.
16482 * math/w_asinf_compat.c: Likewise.
16483 * math/w_asinl_compat.c: Likewise.
16484 * math/w_atan2_compat.c: Likewise.
16485 * math/w_atan2f_compat.c: Likewise.
16486 * math/w_atan2l_compat.c: Likewise.
16487 * math/w_atanh_compat.c: Likewise.
16488 * math/w_atanhf_compat.c: Likewise.
16489 * math/w_atanhl_compat.c: Likewise.
16490 * math/w_cosh_compat.c: Likewise.
16491 * math/w_coshf_compat.c: Likewise.
16492 * math/w_coshl_compat.c: Likewise.
16493 * math/w_exp10_compat.c: Likewise.
16494 * math/w_exp10f_compat.c: Likewise.
16495 * math/w_exp10l_compat.c: Likewise.
16496 * math/w_exp2_compat.c: Likewise.
16497 * math/w_exp2f_compat.c: Likewise.
16498 * math/w_exp2l_compat.c: Likewise.
16499 * math/w_fmod_compat.c: Likewise.
16500 * math/w_fmodf_compat.c: Likewise.
16501 * math/w_fmodl_compat.c: Likewise.
16502 * math/w_hypot_compat.c: Likewise.
16503 * math/w_hypotf_compat.c: Likewise.
16504 * math/w_hypotl_compat.c: Likewise.
16505 * math/w_j0_compat.c: Likewise.
16506 * math/w_j0f_compat.c: Likewise.
16507 * math/w_j0l_compat.c: Likewise.
16508 * math/w_j1_compat.c: Likewise.
16509 * math/w_j1f_compat.c: Likewise.
16510 * math/w_j1l_compat.c: Likewise.
16511 * math/w_jn_compat.c: Likewise.
16512 * math/w_jnf_compat.c: Likewise.
16513 * math/w_jnl_compat.c: Likewise.
16514 * math/w_lgamma_main.c: Likewise.
16515 * math/w_lgamma_r_compat.c: Likewise.
16516 * math/w_lgammaf_main.c: Likewise.
16517 * math/w_lgammaf_r_compat.c: Likewise.
16518 * math/w_lgammal_main.c: Likewise.
16519 * math/w_lgammal_r_compat.c: Likewise.
16520 * math/w_log10_compat.c: Likewise.
16521 * math/w_log10f_compat.c: Likewise.
16522 * math/w_log10l_compat.c: Likewise.
16523 * math/w_log2_compat.c: Likewise.
16524 * math/w_log2f_compat.c: Likewise.
16525 * math/w_log2l_compat.c: Likewise.
16526 * math/w_log_compat.c: Likewise.
16527 * math/w_logf_compat.c: Likewise.
16528 * math/w_logl_compat.c: Likewise.
16529 * math/w_pow_compat.c: Likewise.
16530 * math/w_powf_compat.c: Likewise.
16531 * math/w_powl_compat.c: Likewise.
16532 * math/w_remainder_compat.c: Likewise.
16533 * math/w_remainderf_compat.c: Likewise.
16534 * math/w_remainderl_compat.c: Likewise.
16535 * math/w_scalb_compat.c: Likewise.
16536 * math/w_scalbf_compat.c: Likewise.
16537 * math/w_scalbl_compat.c: Likewise.
16538 * math/w_sinh_compat.c: Likewise.
16539 * math/w_sinhf_compat.c: Likewise.
16540 * math/w_sinhl_compat.c: Likewise.
16541 * math/w_sqrt_compat.c: Likewise.
16542 * math/w_sqrtf_compat.c: Likewise.
16543 * math/w_sqrtl_compat.c: Likewise.
16544 * math/w_tgamma_compat.c: Likewise.
16545 * math/w_tgammaf_compat.c: Likewise.
16546 * math/w_tgammal_compat.c: Likewise.
16547 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
16548 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
16549 * sysdeps/ieee754/k_standard.c: Likewise.
16550 * sysdeps/ieee754/k_standardf.c: Likewise.
16551 * sysdeps/ieee754/k_standardl.c: Likewise.
16552 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
16553 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
16554 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
16555 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
16556 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
16557 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
16558 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
16559 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
16560 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
16561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
16563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
16565 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
16566 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
16567 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
16568 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
16570 2017-08-21 Florian Weimer <fweimer@redhat.com>
16573 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
16574 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
16575 Move before inclusion of ../Rules.
16577 2017-08-21 Florian Weimer <fweimer@redhat.com>
16580 * assert/assert.h (assert): Use static_cast (bool) for C++.
16581 Use the ternary operator in the warning branch for GNU C.
16582 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
16583 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
16584 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
16585 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
16586 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
16588 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16591 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16592 (__syscall_clock_gettime): Add attribute_hidden.
16593 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
16594 (__start_context): Likewise.
16596 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16598 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
16600 (hidden_proto): Likewise.
16601 (hidden_tls_proto): Likewise.
16602 (__hidden_proto): Likewise.
16604 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16606 * include/libc-symbols.h (attribute_hidden): Enable hidden
16607 visibility in libc.a compiled with PIE.
16609 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16612 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
16613 Add attribute_hidden.
16615 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16618 * Makerules (all-nonlib): Add $(others-extras).
16619 * catgets/Makefile (others-extras): New.
16620 * elf/Makefile (others-extras): Likewise.
16621 * nss/Makefile (others-extras): Likewise.
16623 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16626 * csu/libc-start.c (__libc_multiple_libcs): Removed.
16627 * elf/dl-open.c: Include <libc-internal.h>.
16628 (__libc_multiple_libcs): Removed.
16629 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
16631 * include/libc-internal.h (__libc_multiple_libcs): New.
16632 * misc/sbrk.c: Include <libc-internal.h>.
16633 (__libc_multiple_libcs): Removed.
16635 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
16638 * grp/initgroups.c (__nss_group_database): Removed.
16639 (__nss_initgroups_database): Likewise.
16640 * nscd/gai.c (__nss_hosts_database): Likewise.
16641 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
16642 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16643 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16644 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16645 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
16646 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
16648 * nss/nsswitch.c (__nss_database_custom): Define only if
16649 USE_NSCD is defined.
16650 (__nss_configure_lookup): Use __nss_database_custom only if
16651 USE_NSCD is defined.
16652 * nss/nsswitch.h (__nss_database_custom): Declare only if
16653 USE_NSCD is defined. Add attribute_hidden.
16654 (__nss_setent): Add attribute_hidden.
16655 (__nss_endent): Likewise.
16656 (__nss_getent_r): Likewise.
16657 (__nss_getent): Likewise.
16658 (DEFINE_DATABASE): Declare __nss_##arg##_database.
16660 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
16663 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
16664 libc_hidden_proto and libc_hidden_def.
16666 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
16669 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
16670 Add libc_hidden_proto.
16671 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
16672 Add libc_hidden_def.
16674 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
16677 * gmon/Makefile (routines): Remove bb_init_func and
16679 (elide-routines.os): Removed.
16680 * gmon/bb_exit_func.c: Likewise.
16681 * gmon/bb_init_func.c: Likewise.
16682 * include/sys/gmon.h (__bb): Likewise.
16683 (__bb_init_func): Likewise.
16684 (__bb_exit_func): Likewise.
16685 * sysdeps/alpha/bb_init_func.S: Likewise.
16687 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
16689 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
16690 * include/setjmp.h (____longjmp_chk): Here. Add
16693 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
16696 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
16698 (__strspn_sse2): Likewise.
16700 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16702 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
16703 (close_not_cancel_no_status): Likewise.
16704 (__close_nocancel): New macro.
16705 (__close_nocancel_nostatus): Likewise.
16706 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
16708 (close_not_cancel): Likewise.
16709 (close_not_cancel_no_status): Likewise.
16710 (__close_nocancel): New prototype.
16711 (__close_nocancel_nostatus): New function.
16712 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
16713 * catgets/open_catalog.c (__open_catalog): Replace
16714 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
16715 * gmon/gmon.c (write_gmon): Likewise.
16716 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16717 * intl/loadmsgcat.c (close): Likewise.
16718 * io/ftw.c (open_dir_stream): Likewise.
16719 (ftw_startup): Likewise.
16720 * libio/fileops.c (_IO_file_open): Likewise.
16721 (_IO_file_close_mmap): Likewise.
16722 (_IO_file_close): Likewise.
16723 * libio/iopopen.c (_IO_dup2): Likewise.
16724 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16725 * locale/loadlocale.c (_nl_load_locale): Likewise.
16726 * login/utmp_file.c (pututline_file): Likewise.
16727 (endutent_file): Likewise.
16728 * misc/daemon.c (daemon): Likewise.
16729 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16730 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16731 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
16732 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16733 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16734 * nscd/nscd_helper.c (open_socket): Likewise.
16735 (__nscd_open_socket): Likewise.
16736 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16737 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
16738 (__nscd_innetgr): Likewise.
16739 * nss/nss_db/db-open.c (internal_setent): Likewise.
16740 * resolv/res-close.c (__res_iclose): Likewise.
16741 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
16742 * sysdeps/posix/closedir.c (__closedir): Likewise.
16743 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
16744 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16745 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
16746 (opendir_tail): Likewise.
16747 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
16748 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
16749 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16750 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
16751 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
16752 (gethostid): Likewise.
16753 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
16754 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16756 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16757 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
16758 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
16759 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
16761 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
16762 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
16763 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
16765 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
16766 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16768 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16770 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
16771 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
16772 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
16775 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
16776 (openat_not_cancel_3): Likewise.
16777 (openat64_not_cancel_3): Likewise).
16778 (openat_not_cancel_3): Likewise).
16779 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
16781 (openat_not_cancel_3): Likewise.
16782 (openat64_not_cancel): Likewise.
16783 (openat64_not_cancel_3): Likewise.
16784 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
16785 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
16786 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
16787 __open{64}_nocancel.
16788 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
16789 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16790 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16792 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
16795 * include/argz.h (__argz_create_sep): New function prototype.
16796 (__argz_append): Likewise.
16797 (__argz_add): Likewise.
16798 (__argz_add_sep): Likewise.
16799 (__argz_delete): Likewise.
16800 (__argz_insert): Likewise.
16801 (__argz_replace): Likewise.
16802 * string/argz.h (__argz_create_sep): Removed.
16803 (__argz_append): Likewise.
16804 (__argz_add): Likewise.
16805 (__argz_add_sep): Likewise.
16806 (__argz_delete): Likewise.
16807 (__argz_insert): Likewise.
16808 (__argz_replace): Likewise.
16810 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
16812 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
16813 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
16814 (GNU_PROPERTY_STACK_SIZE): Likewie.
16815 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
16816 (GNU_PROPERTY_LOPROC): Likewise.
16817 (GNU_PROPERTY_HIPROC): Likewise.
16818 (GNU_PROPERTY_LOUSER): Likewise.
16819 (GNU_PROPERTY_HIUSER): Likewise.
16820 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
16821 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
16822 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
16823 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
16824 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
16825 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
16826 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
16827 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
16828 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
16829 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
16830 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
16831 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
16832 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
16833 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
16834 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
16835 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
16836 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
16837 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
16838 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
16839 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
16840 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
16841 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
16842 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
16844 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16846 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
16849 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16852 * math/math.h (isinf): Check if in C or C++ mode before using
16853 __builtin_types_compatible_p, since this is a C mode feature.
16855 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16857 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
16858 (__write_nocancel): New macro.
16859 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
16860 Rewrite as a function prototype.
16861 (write_not_cancel): Remove macro.
16862 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
16863 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
16864 (write_gmon): Likewise.
16865 * libio/fileops.c (_IO_new_file_write): Likewise.
16866 * login/utmp_file.c (pututline_file): Likewise.
16867 (updwtmp_file): Likewise.
16868 * stdio-common/psiginfo.c (psiginfo): Likewise.
16869 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
16870 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
16871 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
16873 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16876 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
16877 (__read_nocancel): New macro.
16878 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
16880 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
16882 (__read_nocancel): New prototype.
16883 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
16884 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
16885 with __read_nocancel.
16886 * intl/loadmsgcat.c (read): Likewise.
16887 * libio/fileops.c (_IO_file_read): Likewise.
16888 * locale/loadlocale.c (_nl_load_locale): Likewise.
16889 * login/utmp_file.c (getutent_r_file): Likewise.
16890 (internal_getut_r): Likewise.
16891 (getutline_r_file): Likewise.
16892 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
16893 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16894 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
16895 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16897 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
16898 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
16899 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
16901 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
16903 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
16905 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16907 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
16909 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
16912 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
16913 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
16916 2017-08-17 DJ Delorie <dj@redhat.com>
16918 * bug17079.c: Update to new test harness.
16919 * test-digits-dots.c: Likewise.
16920 * test-netdb.c: Likewise.
16921 * tst-field.c: Likewise.
16922 * tst-nss-getpwent.c: Likewise.
16923 * tst-nss-static.c: Likewise.
16924 * tst-nss-test1.c: Likewise.
16925 * tst-nss-test2.c: Likewise.
16926 * tst-nss-test3.c: Likewise.
16927 * tst-nss-test4.c: Likewise.
16928 * tst-nss-test5.c: Likewise.
16930 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16932 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
16933 (open_not_cancel_2): Likewise.
16934 (open_nocancel): New macro.
16935 (open64_nocancel): Likewise.
16936 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
16937 (open_not_cancel_2): Likewise.
16938 (__open_nocancel): New prototype.
16939 (__open64_nocancel): Likewise.
16940 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
16942 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
16943 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
16944 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
16945 with __open_nocancel.
16946 * csu/check_fds.c (check_one_fd): Likewise.
16947 * gmon/gmon.c (write_gmon): Likewise.
16948 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
16949 * intl/loadmsgcat.c (open): Likewise.
16950 * libio/fileops.c (_IO_file_open): Likewise.
16951 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16952 * locale/loadlocale.c (_nl_load_locale): Likewise.
16953 * login/utmp_file.c (setutent_file): Likewise.
16954 * misc/daemon.c (daemon): Likewise.
16955 * nss/nss_db/db-open.c (internal_setent): Likewise.
16956 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
16957 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
16958 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
16959 (__opendir): Likewise.
16960 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
16961 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
16962 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
16963 (gethostid): Likewise.
16964 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
16965 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16967 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16968 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): 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/powerpc/get_clockfreq.c (__get_clockfreq):
16978 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16980 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16982 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
16983 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
16985 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
16987 * benchtests/bench-skeleton.c (main): Add support for
16988 latency benchmarking.
16989 * benchtests/scripts/bench.py: Add support for latency benchmarking.
16991 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
16993 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
16994 the startup object.
16996 2017-08-17 Florian Weimer <fweimer@redhat.com>
16998 * include/sys/socket.h (__opensock): Remove internal_function.
16999 * socket/opensock.c (__opensock): Likewise.
17000 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
17002 2017-08-16 Joseph Myers <joseph@codesourcery.com>
17005 * signal/bits/types/__sigval_t.h: New file.
17006 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
17007 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
17008 and define sigval_t using __sigval_t.
17009 * include/bits/types/__sigval_t.h: New file.
17010 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
17011 instead of <bits/types/__sigval_t.h>.
17012 (struct sigevent): Use __sigval_t instead of sigval_t.
17013 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
17014 instead of <bits/types/__sigval_t.h>.
17015 (siginfo_t): Use __sigval_t instead of sigval_t.
17016 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
17017 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
17018 (struct sigevent): Use __sigval_t instead of sigval_t.
17019 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
17020 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
17021 (siginfo_t): Use __sigval_t instead of sigval_t.
17022 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
17024 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
17026 * NEWS: Remove "[Add new features here]" for 2.27.
17028 2017-08-16 Joseph Myers <joseph@codesourcery.com>
17030 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
17033 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
17035 * NEWS: Mention x86-64 FMA optimization.
17037 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
17040 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17042 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
17043 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
17044 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
17046 2017-08-16 Andreas Schwab <schwab@suse.de>
17050 * elf/ldd.bash.in: Never run file directly.
17052 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
17055 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
17056 (L(SP_INF_0)): Likewise.
17058 2017-08-15 Florian Weimer <fweimer@redhat.com>
17060 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
17063 2017-08-15 Florian Weimer <fweimer@redhat.com>
17065 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
17066 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
17067 BROKEN_THREAD_SIGNALS code.
17068 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
17069 request_list): Remove caller_pid member used for
17070 BROKEN_THREAD_SIGNALS.
17071 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
17072 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
17073 Remove BROKEN_THREAD_SIGNALS support.
17074 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
17075 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
17077 2017-08-15 Florian Weimer <fweimer@redhat.com>
17079 * gmon/Makefile (tests): Add tst-gmon.
17080 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
17082 (tests-special): Add tst-gmon-prof.out.
17083 (tst-gmon.out): Depend on clean-tst-gmon-data.
17084 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
17085 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
17086 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
17088 * aclocal.m4 (GPROF): Set and substitute.
17089 * config.amke.in (GPROF): Set.
17090 * configure: Regenerate.
17092 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
17094 * elf/elf.h A (NT_PPC_TAR): New macro.
17095 (NT_PPC_PPR): Likewise.
17096 (NT_PPC_DSCR): Likewise.
17097 (NT_PPC_EBB): Likewise.
17098 (NT_PPC_PMU): Likewise.
17099 (NT_PPC_TM_CGPR): Likewise.
17100 (NT_PPC_TM_CFPR): Likewise.
17101 (NT_PPC_TM_CVMX): Likewise.
17102 (NT_PPC_TM_CVSX): Likewise.
17103 (NT_PPC_TM_SPR): Likewise.
17104 (NT_PPC_TM_CTAR): Likewise.
17105 (NT_PPC_TM_CPPR): Likewise.
17106 (NT_PPC_TM_CDSCR): Likewise.
17108 2017-08-15 Florian Weimer <fweimer@redhat.com>
17110 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
17111 regparm (2) instead of internal_function.
17112 (_MCOUNT_DECL): Adjust.
17114 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17116 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
17117 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
17119 2017-08-14 Joseph Myers <joseph@codesourcery.com>
17121 * conform/data/sys/wait.h-data (si_value): Do not expect for
17124 2017-08-14 Florian Weimer <fweimer@redhat.com>
17127 NSS: Create stubs for accidentally exported lookup functions.
17128 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
17129 Remove declaration.
17130 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
17131 (ether_hostton): Call __nss_ethers_lookup2 instead.
17132 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
17133 (ether_ntohost): Call __nss_ethers_lookup2 instead.
17134 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
17135 (setup): Call __nss_netgroup_lookup2 instead.
17136 * nss/Makefile (routines): Add compat-lookup.
17137 * nss/Versions (GLIBC_2.27): Add symbol version.
17138 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
17139 (DB_COMPAT_FCT): Remove.
17140 * nss/compat-lookup.c: New file.
17141 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
17142 from databases.def.
17143 * nss/service-lookup.c (NO_COMPAT): Remove definition.
17144 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
17145 (netname2user): Call __nss_publickey_lookup2 instead.
17146 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
17147 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
17150 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17151 Sergei Trofimovich <slyfox@inbox.ru>
17154 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
17155 Rename to MMAP2_PAGE_UNIT.
17156 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
17157 __OFF_T_MATCHES_OFF64_T is not defined.
17158 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
17160 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
17161 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
17163 2017-08-14 Florian Weimer <fweimer@redhat.com>
17165 i386: Do not set internal_function.
17166 * config.h.in (USE_REGPARMS, internal_function): Remove.
17167 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
17168 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
17170 2017-08-14 Florian Weimer <fweimer@redhat.com>
17172 * elf/dl-init.c (_dl_init): Remove internal_function.
17173 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
17174 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
17176 2017-08-14 Florian Weimer <fweimer@redhat.com>
17178 * elf/rtld.c (_dl_start): Remove internal_function.
17179 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
17182 2017-08-14 Florian Weimer <fweimer@redhat.com>
17184 * elf/dl-fini.c (_dl_fini): Remove internal_function
17185 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
17187 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
17189 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
17190 (bit_cpu_SHSTK): Likewise.
17191 (index_cpu_IBT): Likewise.
17192 (index_cpu_SHSTK): Likewise.
17193 (reg_IBT): Likewise.
17194 (reg_SHSTK): Likewise.
17195 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
17196 Handle index_cpu_IBT and index_cpu_SHSTK.
17198 2017-08-14 Mike FABIAN <mfabian@redhat.com>
17201 * po/fr.po: Fix spelling mistake.
17203 2017-08-13 Florian Weimer <fweimer@redhat.com>
17205 * elf/dl-addr.c (_dl_addr): Remove internal_function.
17206 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
17207 (_dl_catch_error, _dl_receive_error): Likewise.
17208 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
17209 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
17210 (_dl_deallocate_tls): Likewise.
17211 * include/dlfcn.h (_dl_addr): Likewise.
17212 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
17213 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
17214 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
17217 2017-08-13 Florian Weimer <fweimer@redhat.com>
17219 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
17220 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
17222 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
17224 2017-08-13 Florian Weimer <fweimer@redhat.com>
17226 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
17228 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
17229 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
17230 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
17231 internal_function from _dl_make_stack_executable_hook member.
17232 (_dl_make_stack_executable): Remove internal_function.
17233 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
17235 * sysdeps/unix/sysv/linux/dl-execstack.c
17236 (_dl_make_stack_executable): Likewise.
17238 2017-08-13 Florian Weimer <fweimer@redhat.com>
17240 * sysdeps/unix/sysv/linux/netlinkaccess.h
17241 (__netlink_assert_response): Remove internal_function.
17242 * sysdeps/unix/sysv/linux/netlink_assert_response.c
17243 (__netlink_assert_response): Likewise.
17245 2017-08-13 Florian Weimer <fweimer@redhat.com>
17247 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
17249 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
17251 2017-08-13 Florian Weimer <fweimer@redhat.com>
17253 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
17255 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
17256 * inet/netgroup.h (__internal_setnetgrent)
17257 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
17258 * inet/getnetgrent_r.c (__internal_setnetgrent)
17259 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
17260 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
17261 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
17262 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
17263 * nss/nsswitch.h (db_lookup_function): Likewise.
17265 2017-08-13 Florian Weimer <fweimer@redhat.com>
17267 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
17268 Remove internal_function.
17269 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
17270 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
17271 message argument on the stack.
17272 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
17275 2017-08-12 Mike FABIAN <mfabian@redhat.com>
17277 Adapt test case data to the changes in the thousands
17281 * localedata/tst-langinfo.sh: Adapt test case data.
17282 * stdlib/tst-strfmon_l.c: Likewise.
17283 * stdlib/tst-strtod4.c: Likewise.
17284 * stdlib/tst-strtod5i.c: Likewise.
17286 2017-08-11 Florian Weimer <fweimer@redhat.com>
17289 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
17290 Suppress pedantic warning resulting from statement expression.
17291 (__ASSERT_FUNCTION): Add missing __extension__.
17293 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17295 * benchtests/bench-memmove-large.c: Print output in JSON
17297 * benchtests/bench-memmove.c: Likewise.
17299 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
17300 * benchtests/bench-memchr.c (do_one_test): Likewise.
17301 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
17302 * benchtests/bench-memcpy.c (do_one_test): Likewise.
17303 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
17304 * benchtests/bench-memmove.c (do_one_test): Likewise.
17305 * benchtests/bench-memset-large.c (do_one_test): Likewise.
17306 * benchtests/bench-memset.c (do_one_test): Likewise.
17307 * benchtests/bench-string.h (test_init): Remove memsets.
17309 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
17312 (Computing the Width of an Integer Data Type): Rename section to
17313 "Width of an Integer Type". Remove inaccurate statement regarding
17314 lack of C language facilities for determining width of integer
17315 types, and reorder content to improve flow and context of
17318 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
17320 * lang.texi (va_copy): Change standard from ISO to C99.
17321 (__va_copy): Add standard and header annotation.
17322 Update description for clarity of origins and current use.
17324 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17327 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
17328 xssqrtqp requires operands to be in Vector Registers
17329 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
17330 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
17331 (__ieee754_sqrtf128): Likewise.
17333 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
17335 * sysdeps/aarch64/memcmp.S (memcmp):
17336 Rewrite of optimized memcmp.
17338 2017-08-10 Florian Weimer <fweimer@redhat.com>
17340 Introduce ld.so exceptions.
17341 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
17342 (_dl_exception_create, _dl_exception_create_format)
17343 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
17344 (_dl_catch_exception): Declare.
17345 (_dl_catch_error): Update comment.
17346 * elf/dl-error-skeleton.c (struct catch): Replace objname,
17347 errstring, malloced members with exception member.
17348 (_dl_out_of_memory): Remove.
17349 (fatal_error): New function, extracted from _dl_signal_error.
17350 (_dl_signal_exception, _dl_signal_cexception): New functions.
17351 (_dl_signal_error): Call _dl_exception_create to allocate an
17353 (_dl_catch_exception): New function, based on _dl_catch_error.
17354 (_dl_catch_error): Implement using _dl_catch_exception.
17355 * elf/dl-exception.c: New file.
17356 * elf/Makefile (dl-routines): Add dl-exception.
17357 (elide-routines.os): Likewise.
17358 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
17359 _dl_exception_create_format, _dl_exception_free.
17360 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
17361 _dl_signal_exception.
17362 * elf/dl-lookup.c (make_string): Remove.
17363 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
17364 _dl_signal_cexception, _dl_exception_free.
17365 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
17366 _dl_signal_exception.
17367 * elf/dl-sym.c (do_sym): Likewise.
17368 * elf/dl-version.c (make_string): Remove.
17369 (match_symbol): Use _dl_exception_create_format,
17370 _dl_signal_cexception, _dl_exception_free.
17371 (_dl_check_map_versions): Likewise.
17372 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
17373 _dl_catch_exception.
17374 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
17375 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
17376 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
17377 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
17378 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
17379 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
17380 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
17381 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
17383 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
17384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
17386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
17388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
17390 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
17391 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
17392 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
17394 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
17396 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
17398 2017-08-10 Florian Weimer <fweimer@redhat.com>
17400 * inet/net-internal.h (__inet6_scopeid_pton): Remove
17401 attribute_hidden, internal_function.
17402 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
17405 2017-08-10 Florian Weimer <fweimer@redhat.com>
17407 * malloc/malloc.c (get_max_fast): Reimplement as an inline
17408 function which calls __builtin_unreachable.
17410 2017-08-10 Mike FABIAN <mfabian@redhat.com>
17412 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
17413 Indian monetary formatting
17414 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
17417 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
17419 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
17420 Fix typo in comment.
17423 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
17424 PTRACE_SEIZE_DEVEL): Remove.
17425 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
17426 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17427 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17428 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17429 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17431 2017-08-09 Joseph Myers <joseph@codesourcery.com>
17433 * posix/bits/types.h (__qaddr_t): Remove.
17436 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
17437 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
17439 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
17440 (ucontext_t): Use __ctx with uc_flags.
17441 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
17442 (__ctxt): Likewise.
17443 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
17445 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
17446 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
17448 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
17449 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
17451 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
17453 (ucontext_t): Use __ctx with uc_flags.
17454 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
17455 (ucontext_t): Use __ctx with uc_flags.
17456 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
17457 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
17458 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
17459 (ucontext_t): Use __ctx with uc_flags.
17460 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
17461 undefine further down.
17462 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
17464 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
17465 undefine further down.
17466 (ucontext_t): Use __ctx with uc_flags.
17467 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
17468 undefine further down.
17469 (ucontext_t): Use __ctx with uc_flags.
17470 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
17471 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
17472 Rename uc_pad to __glibc_reserved1.
17473 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
17474 undefine further down.
17475 (ucontext_t): Use __ctx with uc_flags.
17476 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
17478 (ucontext_t): Use __ctx with uc_flags.
17479 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
17480 __ctx with uc_flags.
17481 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
17482 (ucontext_t): Use __ctx with uc_flags.
17483 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
17484 __ctx with uc_flags.
17486 2017-08-09 Florian Weimer <fweimer@redhat.com>
17489 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
17490 before early return.
17492 2017-08-09 Andreas Schwab <schwab@suse.de>
17495 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
17499 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
17500 tst-compat-forwarder.
17501 (modules-names): Add tst-compat-forwarder-mod.
17502 ($(objpfx)tst-compat-forwarder): Depend on
17503 $(objpfx)tst-compat-forwarder-mod.so.
17504 * nptl/tst-compat-forwarder.c: New file.
17505 * nptl/tst-compat-forwarder-mod.c: New file.
17507 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
17509 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
17512 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
17513 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
17515 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17517 (__libc_ifunc_impl_list): Add __memcpy_falkor.
17518 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
17519 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
17520 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
17522 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
17525 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17528 * manual/setjmp.texi (getcontex): Document uc_stack value
17529 compatibility differences.
17531 2017-08-08 Joseph Myers <joseph@codesourcery.com>
17533 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
17534 (old_malloc_hook): Likewise.
17535 (old_memalign_hook): Likewise.
17536 (old_realloc_hook): Likewise.
17537 (struct hdr): Likewise.
17539 (freehook): Likewise.
17540 (mallochook): Likewise.
17541 (memalignhook): Likewise.
17542 (reallochook): Likewise.
17543 (mprobe): Likewise.
17544 * malloc/mtrace.c (mallwatch): Likewise.
17545 (tr_old_free_hook): Likewise.
17546 (tr_old_malloc_hook): Likewise.
17547 (tr_old_realloc_hook): Likewise.
17548 (tr_old_memalign_hook): Likewise.
17549 (tr_where): Likewise.
17550 (lock_and_info): Likewise.
17551 (tr_freehook): Likewise.
17552 (tr_mallochook): Likewise.
17553 (tr_reallochook): Likewise.
17554 (tr_memalignhook): Likewise.
17555 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
17556 * misc/mmap.c (__mmap): Likewise.
17557 * misc/mmap64.c (__mmap64): Likewise.
17558 * misc/mprotect.c (__mprotect): Likewise.
17559 * misc/msync.c (msync): Likewise.
17560 * misc/munmap.c (__munmap): Likewise.
17561 * posix/posix_madvise.c (posix_madvise): Likewise.
17562 * socket/send.c (__send): Likewise.
17563 * socket/sendto.c (__sendto): Likewise.
17564 * socket/setsockopt.c (__setsockopt): Likewise.
17565 * string/memcmp.c (__ptr_t): Remove macro.
17566 (MEMCMP): Use void * instead of ptr_t.
17567 * string/memrchr.c (__ptr_t): Remove macro.
17568 (__memrchr): Use void * instead of ptr_t.
17569 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
17570 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
17571 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
17572 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
17573 * sysdeps/mach/msync.c (msync): Likewise.
17574 * sysdeps/mach/munmap.c (__munmap): Likewise.
17575 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
17577 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17578 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
17579 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
17580 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
17581 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
17582 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17583 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
17584 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
17586 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17587 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
17588 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
17589 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
17590 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
17591 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
17592 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
17593 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
17594 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
17596 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
17597 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
17598 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
17599 (MEMCMP): Use void * instead of ptr_t.
17600 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
17601 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
17603 2017-08-08 Florian Weimer <fweimer@redhat.com>
17605 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
17608 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
17611 * csu/libc-tls.c: Include <startup.h> first.
17612 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
17613 * elf/dl-tunables.c: Include <startup.h> first.
17614 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
17615 * sysdeps/generic/startup.h: New file.
17616 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
17617 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
17618 (I386_USE_SYSENTER): New. Defined to 0.
17620 2017-08-08 Andreas Schwab <schwab@suse.de>
17623 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
17624 * nptl/pt-system.c (system): Likewise.
17626 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17629 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
17631 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17632 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17633 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
17634 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17635 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17636 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17637 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
17639 2017-08-07 Joseph Myers <joseph@codesourcery.com>
17642 * bits/sigaction.h (struct sigaction): Define sa_handler and
17643 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
17644 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17645 [__USE_XOPEN_EXTENDED].
17646 (SA_RESTART): Likewise.
17647 (SA_NODEFER): Likewise.
17648 (SA_RESETHAND): Likewise.
17649 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
17650 (struct sigaction): Define sa_handler and sa_sigaction using union
17651 also for [__USE_XOPEN_EXTENDED].
17652 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17653 [__USE_XOPEN_EXTENDED].
17654 (SA_RESTART): Likewise.
17655 (SA_NODEFER): Likewise.
17656 (SA_RESETHAND): Likewise.
17657 * sysdeps/unix/sysv/linux/bits/sigaction.h
17658 (struct sigaction): Define sa_handler and sa_sigaction using union
17659 also for [__USE_XOPEN_EXTENDED].
17660 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17661 [__USE_XOPEN_EXTENDED].
17662 (SA_RESTART): Likewise.
17663 (SA_NODEFER): Likewise.
17664 (SA_RESETHAND): Likewise.
17665 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
17666 (struct sigaction): Define sa_handler and sa_sigaction using union
17667 also for [__USE_XOPEN_EXTENDED].
17668 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17669 [__USE_XOPEN_EXTENDED].
17670 (SA_RESTART): Likewise.
17671 (SA_NODEFER): Likewise.
17672 (SA_RESETHAND): Likewise.
17673 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
17674 (struct sigaction): Define sa_handler and sa_sigaction using union
17675 also for [__USE_XOPEN_EXTENDED].
17676 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17677 [__USE_XOPEN_EXTENDED].
17678 (SA_RESTART): Likewise.
17679 (SA_NODEFER): Likewise.
17680 (SA_RESETHAND): Likewise.
17681 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
17682 (struct sigaction): Define sa_handler and sa_sigaction using union
17683 also for [__USE_XOPEN_EXTENDED].
17684 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17685 [__USE_XOPEN_EXTENDED].
17686 (SA_RESTART): Likewise.
17687 (SA_NODEFER): Likewise.
17688 (SA_RESETHAND): Likewise.
17689 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17690 (struct sigaction): Define sa_handler and sa_sigaction using union
17691 also for [__USE_XOPEN_EXTENDED].
17692 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17693 [__USE_XOPEN_EXTENDED].
17694 (SA_RESTART): Likewise.
17695 (SA_NODEFER): Likewise.
17696 (SA_RESETHAND): Likewise.
17697 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17698 (struct sigaction): Define sa_handler and sa_sigaction using union
17699 also for [__USE_XOPEN_EXTENDED].
17700 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17701 [__USE_XOPEN_EXTENDED].
17702 (SA_RESTART): Likewise.
17703 (SA_NODEFER): Likewise. Define directly rather than as alias.
17704 (SA_RESETHAND): Likewise.
17705 (SA_INTERRUPT): Define only for [__USE_MISC].
17706 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
17707 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
17709 (SA_STACK): Define only for [__USE_MISC].
17710 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
17711 (struct sigaction): Define sa_handler and sa_sigaction using union
17712 also for [__USE_XOPEN_EXTENDED].
17713 (SA_ONSTACK): Change [__USE_UNIX98] condition to
17714 [__USE_XOPEN_EXTENDED].
17715 (SA_RESTART): Likewise.
17716 (SA_NODEFER): Likewise.
17717 (SA_RESETHAND): Likewise.
17718 (SA_NOPTRACE): Define only for [__USE_MISC].
17720 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
17721 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
17722 (struct catalog_info): Likewise.
17723 * inet/htontest.c (lo): Likewise.
17725 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17726 * inet/inet_net.c (inet_network): Likewise.
17727 * inet/inet_netof.c (inet_netof): Likewise.
17728 * inet/rcmd.c (__ivaliduser): Likewise.
17729 (iruserok): Likewise.
17730 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
17731 * locale/programs/locale-spec.c (locale_special): Likewise.
17732 * nis/nis_findserv.c (struct findserv_req): Likewise.
17733 (__nis_findfastest_with_timeout): Likewise.
17734 * nss/test-netdb.c (test_network): Likewise.
17735 * resolv/inet_neta.c (inet_neta): Likewise.
17736 * resolv/ns_date.c (ns_datetosecs): Likewise.
17737 (SECS_PER_DAY): Likewise.
17738 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
17740 * resolv/res_comp.c (__putlong): Likewise.
17741 (__putshort): Likewise.
17742 (_getlong): Likewise.
17743 (_getshort): Likewise.
17744 * resolv/res_debug.c (p_time): Likewise.
17745 (precsize_ntoa): Likewise.
17746 (precsize_aton): Likewise.
17747 (latlon2ul): Likewise.
17748 (loc_aton): Likewise.
17749 (loc_ntoa): Likewise.
17750 * resolv/res_hconf.c (struct netaddr): Likewise.
17751 (_res_hconf_reorder_addrs): Likewise.
17752 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
17753 (clnttcp_control): Likewise.
17754 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17755 (clntudp_control): Likewise.
17756 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
17757 (clntunix_control): Likewise.
17758 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
17759 * sunrpc/rpc/auth.h (union des_block): Likewise.
17760 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
17761 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
17762 (xdrrec_create): Likewise.
17763 (xdrrec_endofrecord): Likewise.
17764 (flush_out): Likewise.
17765 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
17766 (xdrstdio_putlong): Likewise.
17767 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
17770 * misc/sys/cdefs.h (__long_double_t): Remove.
17771 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
17772 instead of __long_double_t,
17773 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
17775 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17777 * benchtests/scripts/compare_strings.py: Avoid display error when
17778 running on a text terminal.
17780 * benchtests/scripts/compare_strings.py (main): Add an
17781 optional -base option.
17782 (process_results): New argument base_func.
17784 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
17786 * benchtests/bench-memcpy-large.c (test_name): Likewise.
17787 * benchtests/bench-memcpy-random.c (test_name): Likewise.
17789 2017-08-07 Andreas Schwab <schwab@suse.de>
17791 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
17792 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17793 * intl/Makefile ($(objpfx)tst-gettext.out)
17794 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
17795 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
17796 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17797 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17798 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
17799 * posix/Makefile ($(objpfx)globtest.out)
17800 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
17801 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
17802 ($(objpfx)tst-printf.out): Likewise.
17803 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
17804 ($(objpfx)tst-setcontext3.out): Likewise.
17806 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
17808 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17809 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
17810 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
17811 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
17812 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
17814 (CFLAGS-doasin-fma.c): New.
17815 (CFLAGS-dosincos-fma.c): Likewise.
17816 (CFLAGS-e_asin-fma.c): Likewise.
17817 (CFLAGS-e_atan2-fma.c): Likewise.
17818 (CFLAGS-e_exp-fma.c): Likewise.
17819 (CFLAGS-e_log-fma.c): Likewise.
17820 (CFLAGS-e_pow-fma.c): Likewise.
17821 (CFLAGS-halfulp-fma.c): Likewise.
17822 (CFLAGS-mpa-fma.c): Likewise.
17823 (CFLAGS-mpatan-fma.c): Likewise.
17824 (CFLAGS-mpatan2-fma.c): Likewise.
17825 (CFLAGS-mpexp-fma.c): Likewise.
17826 (CFLAGS-mplog-fma.c): Likewise.
17827 (CFLAGS-mpsqrt-fma.c): Likewise.
17828 (CFLAGS-mptan-fma.c): Likewise.
17829 (CFLAGS-s_atan-fma.c): Likewise.
17830 (CFLAGS-sincos32-fma.c): Likewise.
17831 (CFLAGS-slowexp-fma.c): Likewise.
17832 (CFLAGS-slowpow-fma.c): Likewise.
17833 (CFLAGS-s_sin-fma.c): Likewise.
17834 (CFLAGS-s_tan-fma.c): Likewise.
17835 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
17836 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
17837 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
17838 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
17839 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
17840 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17841 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
17842 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
17843 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
17844 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
17845 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
17846 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
17847 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
17848 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17849 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17850 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
17851 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
17852 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
17853 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
17854 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
17855 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
17856 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17857 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17858 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
17859 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17860 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17861 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17862 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17863 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17864 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17865 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17867 2017-08-04 Joseph Myers <joseph@codesourcery.com>
17869 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
17870 (min_of_type_f): New macro.
17871 (min_of_type_): Likewise.
17872 (min_of_type_l): Likewise.
17873 (min_of_type_f128): Likewise.
17874 (min_of_type): Define using __MATH_TG and taking an expression
17876 (math_check_force_underflow): Pass expression instead of type to
17878 (math_check_force_underflow_nonneg): Likewise.
17880 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17882 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
17883 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
17884 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
17886 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
17888 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17889 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
17890 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
17891 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
17892 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
17893 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
17894 memcpy_chk-nonshared, mempcpy_chk-nonshared,
17895 memmove_chk-nonshared and memset_chk-nonshared
17896 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
17897 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
17898 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
17899 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
17900 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
17901 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
17902 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
17903 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
17904 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
17905 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
17906 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
17907 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
17908 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
17909 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
17910 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
17911 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
17912 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
17913 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
17914 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
17915 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
17916 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
17917 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
17918 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
17919 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
17920 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
17921 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
17922 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
17923 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
17924 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
17925 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
17926 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
17927 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
17928 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
17929 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
17930 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
17931 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
17932 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
17933 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
17934 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
17935 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
17936 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
17937 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
17938 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
17939 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
17940 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
17941 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
17942 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
17943 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
17944 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
17945 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
17946 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
17947 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
17948 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
17949 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
17950 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
17951 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
17952 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
17953 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
17954 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
17955 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
17956 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
17957 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
17958 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
17959 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
17960 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
17961 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
17962 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
17963 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
17964 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
17965 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
17966 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
17967 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17968 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17969 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17970 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17971 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17972 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17973 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17974 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17975 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17976 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17977 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17978 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17979 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17980 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17981 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17982 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17983 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17984 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17985 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17986 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17987 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17988 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17989 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17990 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17991 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17992 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17993 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17994 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17995 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17996 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17997 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17998 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17999 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18000 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18001 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18002 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18003 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18005 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18007 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
18008 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
18009 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
18010 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
18011 svml_d_log2_core-sse2, svml_d_log4_core-sse,
18012 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
18013 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
18014 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
18015 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
18016 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
18017 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
18018 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
18019 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
18020 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
18021 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
18022 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
18023 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
18024 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
18025 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
18026 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
18027 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
18028 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
18029 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
18030 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
18031 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
18032 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
18033 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
18034 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
18035 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
18036 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
18037 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
18038 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
18039 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
18040 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
18041 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
18042 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
18043 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
18044 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
18045 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
18046 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
18047 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
18048 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
18049 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
18050 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
18051 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
18052 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
18053 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
18054 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
18055 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
18056 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
18057 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
18058 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
18059 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
18060 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
18061 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
18062 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
18063 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
18064 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
18065 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
18067 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
18068 Don't include <sysdep.h> nor <init-arch.h>.
18069 (_ZGVbN2v_cos): Removed.
18070 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
18072 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
18073 Don't include <sysdep.h> nor <init-arch.h>.
18074 (_ZGVdN4v_cos): Removed.
18075 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
18077 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
18078 Don't include <sysdep.h> nor <init-arch.h>.
18079 (_ZGVeN8v_cos): Removed.
18080 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
18082 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
18083 Don't include <sysdep.h> nor <init-arch.h>.
18084 (_ZGVbN2v_exp): Removed.
18085 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
18087 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
18088 Don't include <sysdep.h> nor <init-arch.h>.
18089 (_ZGVdN4v_exp): Removed.
18090 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
18092 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
18093 Don't include <sysdep.h> nor <init-arch.h>.
18094 (_ZGVeN8v_exp): Removed.
18095 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
18097 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
18098 Don't include <sysdep.h> nor <init-arch.h>.
18099 (_ZGVbN2v_log): Removed.
18100 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
18102 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
18103 Don't include <sysdep.h> nor <init-arch.h>.
18104 (_ZGVdN4v_log): Removed.
18105 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
18107 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
18108 Don't include <sysdep.h> nor <init-arch.h>.
18109 (_ZGVeN8v_log): Removed.
18110 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
18112 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
18113 Don't include <sysdep.h> nor <init-arch.h>.
18114 (_ZGVbN2vv_pow): Removed.
18115 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
18117 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
18118 Don't include <sysdep.h> nor <init-arch.h>.
18119 (_ZGVdN4vv_pow): Removed.
18120 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
18122 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
18123 Don't include <sysdep.h> nor <init-arch.h>.
18124 (_ZGVeN8vv_pow): Removed.
18125 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
18127 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
18128 Don't include <sysdep.h> nor <init-arch.h>.
18129 (_ZGVbN2v_sin): Removed.
18130 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
18132 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
18133 Don't include <sysdep.h> nor <init-arch.h>.
18134 (_ZGVbN4v_sin): Removed.
18135 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
18137 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
18138 Don't include <sysdep.h> nor <init-arch.h>.
18139 (_ZGVbN8v_sin): Removed.
18140 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
18142 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
18143 Don't include <sysdep.h> nor <init-arch.h>.
18144 (_ZGVbN2vvv_sincos): Removed.
18145 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
18147 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
18148 Don't include <sysdep.h> nor <init-arch.h>.
18149 (_ZGVdN4vvv_sincos): Removed.
18150 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
18152 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
18153 Don't include <sysdep.h> nor <init-arch.h>.
18154 (_ZGVeN8vvv_sincos): Removed.
18155 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
18157 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
18158 Don't include <sysdep.h> nor <init-arch.h>.
18159 (_ZGVeN16v_cosf): Removed.
18160 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
18162 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
18163 Don't include <sysdep.h> nor <init-arch.h>.
18164 (_ZGVbN4v_cosf): Removed.
18165 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
18167 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
18168 Don't include <sysdep.h> nor <init-arch.h>.
18169 (_ZGVdN8v_cosf): Removed.
18170 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
18172 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
18173 Don't include <sysdep.h> nor <init-arch.h>.
18174 (_ZGVeN16v_expf): Removed.
18175 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
18177 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
18178 Don't include <sysdep.h> nor <init-arch.h>.
18179 (_ZGVbN4v_expf): Removed.
18180 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
18182 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
18183 Don't include <sysdep.h> nor <init-arch.h>.
18184 (_ZGVdN8v_expf): Removed.
18185 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
18187 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
18188 Don't include <sysdep.h> nor <init-arch.h>.
18189 (_ZGVeN16v_logf): Removed.
18190 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
18192 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
18193 Don't include <sysdep.h> nor <init-arch.h>.
18194 (_ZGVbN4v_logf): Removed.
18195 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
18197 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
18198 Don't include <sysdep.h> nor <init-arch.h>.
18199 (_ZGVdN8v_logf): Removed.
18200 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
18202 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
18203 Don't include <sysdep.h> nor <init-arch.h>.
18204 (_ZGVeN16vv_powf): Removed.
18205 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
18207 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
18208 Don't include <sysdep.h> nor <init-arch.h>.
18209 (_ZGVbN4vv_powf): Removed.
18210 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
18212 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
18213 Don't include <sysdep.h> nor <init-arch.h>.
18214 (_ZGVdN8vv_powf): Removed.
18215 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
18217 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
18218 Don't include <sysdep.h> nor <init-arch.h>.
18219 (_ZGVeN16vvv_sincosf): Removed.
18220 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
18222 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
18223 Don't include <sysdep.h> nor <init-arch.h>.
18224 (_ZGVbN4vvv_sincosf): Removed.
18225 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
18227 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
18228 Don't include <sysdep.h> nor <init-arch.h>.
18229 (_ZGVdN8vvv_sincosf): Removed.
18230 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
18232 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
18233 Don't include <sysdep.h> nor <init-arch.h>.
18234 (_ZGVeN16v_sinf): Removed.
18235 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
18237 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
18238 Don't include <sysdep.h> nor <init-arch.h>.
18239 (_ZGVbN4v_sinf): Removed.
18240 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
18242 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
18243 Don't include <sysdep.h> nor <init-arch.h>.
18244 (_ZGVdN8v_sinf): Removed.
18246 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18248 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18249 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
18250 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
18251 s_rint-sse4_1 and s_rintf-sse4_1.
18252 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
18253 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
18254 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
18255 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
18256 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
18257 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
18258 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
18259 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
18260 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
18261 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
18262 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
18263 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18265 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
18266 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
18267 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18268 (__ceilf): Removed.
18269 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
18270 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
18271 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18272 (__floor): Removed.
18273 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
18274 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
18275 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18276 (__floorf): Removed.
18277 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
18278 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
18279 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18280 (__nearbyint): Removed.
18281 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
18282 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
18283 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18284 (__nearbyintf): Removed.
18285 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
18286 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
18287 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18289 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
18290 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
18291 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
18292 (__rintf): Removed.
18294 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18296 * sysdeps/i386/start.S (_start): Check Check PIC instead of
18297 SHARED. Avoid dynamic relocation against main in static PIE.
18299 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18302 * elf/Makefile (CFLAGS-tst-prelink.c): New.
18303 (LDFLAGS-tst-prelink): Likewise.
18305 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18307 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
18308 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
18309 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
18310 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18311 (INTERNAL_SYSCALL_NCS): Likewise.
18312 (LOADARGS_1): Likewise.
18313 (LOADARGS_5): Likewise.
18314 (RESTOREARGS_1): Likewise.
18315 (RESTOREARGS_5): Likewise.
18317 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18319 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
18320 (MEMPCPY_SYMBOL): Likewise.
18321 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18322 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
18323 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
18325 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18326 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
18328 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
18329 (__hidden_ver1): Don't use in libc.a.
18330 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
18331 (__mempcpy): Don't create a weak alias in libc.a.
18332 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
18334 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
18335 (__hidden_ver1): Don't use in libc.a.
18337 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18339 * config.make.in (have-insert): New.
18340 * configure.ac (libc_cv_insert): New. Set to yes if linker
18341 supports INSERT in linker script.
18342 (AC_SUBST(libc_cv_insert): New.
18343 * configure: Regenerated.
18344 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
18345 if $(have-insert) == yes.
18347 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18349 * elf/Makefile (tests): Add vismain only if
18350 $(have-protected-data) == yes.
18351 (tests-pie): Likewise.
18353 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18356 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
18357 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
18359 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
18362 * sysdeps/i386/i586/memset.S
18363 (__memset_zero_constant_len_parameter): Removed.
18364 * sysdeps/i386/i686/memset.S
18365 (__memset_zero_constant_len_parameter): Likewise.
18366 * sysdeps/i386/i686/multiarch/memset_chk.S
18367 (__memset_zero_constant_len_parameter): Likewise.
18368 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
18371 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
18373 * stdlib/getentropy.c (getentropy): Change return type to int.
18375 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
18377 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18379 2017-08-03 Joseph Myers <joseph@codesourcery.com>
18381 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
18383 * math/s_nexttowardf.c (__nexttowardf): Likewise.
18384 * sysdeps/generic/math_private.h (ieee_double_shape_type):
18386 (ieee_float_shape_type): Likewise.
18387 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
18388 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
18389 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18390 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18391 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18392 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
18393 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
18394 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18395 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
18397 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18398 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18399 (__ieee754_yn): Likewise.
18400 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18401 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18402 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
18404 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18405 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
18406 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
18407 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
18408 (__erfc): Likewise.
18409 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
18410 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
18411 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
18412 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
18413 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
18414 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
18416 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
18417 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
18418 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
18419 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
18420 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18421 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
18422 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
18423 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
18424 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
18425 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
18426 (__issignaling): Likewise.
18427 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
18428 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
18429 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18431 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18432 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
18433 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
18434 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
18436 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
18438 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
18439 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
18440 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
18441 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
18442 (__erfcf): Likewise.
18443 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
18444 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
18445 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
18446 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
18448 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
18449 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
18451 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
18452 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
18453 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
18454 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
18455 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
18456 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18457 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
18458 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
18460 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
18462 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
18464 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
18465 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18467 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18469 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18470 (__ieee754_ynl): Likewise.
18471 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
18472 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
18474 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
18476 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
18477 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
18478 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18480 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
18481 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
18482 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
18483 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
18484 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
18485 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
18486 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
18487 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
18489 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
18490 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
18491 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
18493 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
18494 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
18495 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
18496 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
18497 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
18498 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18500 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18502 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18504 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18506 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
18507 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18508 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18509 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
18510 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
18511 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
18512 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
18514 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18516 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18517 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18519 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18520 (__ieee754_remainderl): Likewise.
18521 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18522 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18523 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18524 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18526 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18527 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18529 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18530 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
18531 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
18532 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
18533 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18534 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18536 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
18537 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
18538 (__ieee754_y0l): Likewise.
18541 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18542 (__ieee754_y1l): Likewise.
18545 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18546 (__ieee754_ynl): Likewise.
18547 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
18548 (__ieee754_lgammal_r): Likewise.
18549 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
18551 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
18552 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
18553 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
18554 (__erfcl): Likewise.
18555 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
18556 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
18558 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
18559 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
18560 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
18561 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
18562 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
18563 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18564 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18566 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
18567 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18568 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
18569 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
18570 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18572 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
18573 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
18575 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
18576 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
18577 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
18578 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18579 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
18581 2017-08-03 Florian Weimer <fweimer@redhat.com>
18584 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
18585 on memory allocation failure.
18587 2017-08-03 Alan Modra <amodra@gmail.com>
18589 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
18590 tst-tlsopt-powerpc.c with function name change and no test harness.
18591 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
18592 Call tls_get_addr_opt_test.
18593 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
18594 (modules-names): Add mod-tlsopt-powerpc.
18595 (mod-tlsopt-powerpc.so-no-z-defs): Define.
18596 (tst-tlsopt-powerpc): Depend on .so.
18597 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
18598 define. Expand use in TLS_GD and TLS_LD.
18600 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18602 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
18604 * sysdeps/posix/shm_open.c: Include <pthread.h>.
18606 2017-08-02 Joseph Myers <joseph@codesourcery.com>
18609 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
18610 comparing size with that of double.
18611 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
18612 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
18613 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
18614 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
18615 (__TGMATH_BINARY_REAL_IMAG): Likewise.
18616 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
18617 unsigned __int128 types.
18619 2017-08-02 Steve Ellcey <sellcey@cavium.com>
18621 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
18622 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
18623 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
18624 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
18625 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
18627 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
18629 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
18631 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
18633 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
18635 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18636 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18637 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18638 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18639 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18640 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18641 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18643 2017-08-02 Joseph Myers <joseph@codesourcery.com>
18646 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
18647 bit-field expressions passed to sizeof or typeof.
18648 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
18649 (__TGMATH_F128): Likewise.
18650 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
18651 (__TGMATH_CF128): Likewise.
18652 (__TGMATH_UNARY_REAL_ONLY): Likewise.
18653 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
18654 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
18655 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
18656 (__TGMATH_BINARY_REAL_ONLY): Likewise.
18657 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
18658 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
18659 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
18660 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
18661 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
18662 (__TGMATH_UNARY_REAL_IMAG): Likewise.
18663 (__TGMATH_UNARY_IMAG): Likewise.
18664 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
18665 (__TGMATH_BINARY_REAL_IMAG): Likewise.
18666 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
18668 (define_vars_for_type): Handle bit_field type specially.
18669 (Tests.__init__): Declare structure with bit-field element.
18671 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
18674 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
18675 (MEMCPY_CHK): Define only if SHARED is defined.
18676 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
18678 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
18681 See ChangeLog.18 for earlier changes.