]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Use PRINTF_FORTIFY instead of _IO_FLAGS2_FORTIFY (bug 11319)
[thirdparty/glibc.git] / ChangeLog
1 2018-12-05 Zack Weinberg <zackw@panix.com>
2 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3
4 [BZ #11319]
5 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6 Moved here from debug/vsprintf_chk.c.
7 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
8 and completion logic for the strfile to match exactly what
9 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
10 _IO_str_init_static_internal instead of maxlen-1.
11 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
12 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
13 __vsprintf_internal.
14
15 * debug/vsprintf_chk.c (__vsprintf_chk)
16 * debug/sprintf_chk.c (__sprintf_chk):
17 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
18 'flags' argument is positive, and slen as maxlen. No need to lock
19 the FILE and/or construct a temporary FILE. Minimize and normalize
20 header inclusions and variable names. Do not libc_hidden_def anything.
21
22 * debug/asprintf_chk.c (__asprintf_chk)
23 * debug/dprintf_chk.c (__dprintf_chk)
24 * debug/fprintf_chk.c (__fprintf_chk)
25 * debug/fwprintf_chk.c (__fwprintf_chk)
26 * debug/printf_chk.c (__printf_chk)
27 * debug/snprintf_chk.c (__snprintf_chk)
28 * debug/swprintf_chk.c (__swprintf_chk)
29 * debug/vasprintf_chk.c (__vasprintf_chk)
30 * debug/vdprintf_chk.c (__vdprintf_chk)
31 * debug/vfprintf_chk.c (__vfprintf_chk)
32 * debug/vfwprintf_chk.c (__vfwprintf_chk)
33 * debug/vprintf_chk.c (__vprintf_chk)
34 * debug/vsnprintf_chk.c (__vsnprintf_chk)
35 * debug/vswprintf_chk.c (__vswprintf_chk)
36 * debug/vwprintf_chk.c (__vwprintf_chk)
37 * debug/wprintf_chk.c (__wprintf_chk):
38 Directly call the corresponding vxxprintf_internal function, passing
39 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
40 the FILE and/or construct a temporary FILE. Minimize and normalize
41 header inclusions and variable names. Do not libc_hidden_def anything.
42
43 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
44 __obstack_vprintf_internal.
45 (__obstack_vprintf_chk): Convert into a wrapper that calls
46 __obstack_vprintf_internal (these two functions already had the
47 same code) and move to new file...
48 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
49 file.
50 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
51 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
52 * debug/Makefile (routines): Add vobprintf_chk.
53
54 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
55 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
56 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
57 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
58 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
59 (__nldbl___obstack_vfprintf_chk):
60 Directly call the corresponding vxxprintf_internal function,
61 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
62 duplicate comparison of slen with 0 or maxlen from the corresponding
63 non-__nldbl function.
64
65 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
66 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
67 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
68 Remove libc_hidden_proto.
69
70 * stdio-common/vfprintf-internal.c
71 (__vfprintf_internal, __vfwprintf_internal):
72 Do not check _IO_FLAGS2_FORTIFY.
73 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
74 * libio/libioP.h: Update prototype of __vsprintf_internal and add
75 a comment explaining why it has the maxlen argument.
76 (_IO_acquire_lock_clear_flags2_fct): Remove.
77 (_IO_acquire_lock_clear_flags2): Remove.
78 (_IO_release_lock): Remove conditional statement which will
79 now never execute.
80 (_IO_acquire_lock): Remove variable which is now unused.
81 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
82 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
83
84 * stdio-common/Makefile (tests): Add tst-bz11319 and
85 tst-bz11319-fortify2.
86 (CFLAGS-tst-bz11319-fortify2.c): New macro.
87 * stdio-common/tst-bz11319-fortify2.c: New file.
88 * stdio-common/tst-bz11319.c: Likewise.
89
90 2018-12-05 Zack Weinberg <zackw@panix.com>
91 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
92
93 * misc/syslog.c: Include libioP.h, not iolibio.h.
94 (__vsyslog_internal): New function with the former body of
95 __vsyslog_chk; takes mode_flags argument same as
96 __v*printf_internal. Call __vfprintf_internal directly.
97
98 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
99 Remove libc_hidden_def.
100 (__syslog, __syslog_chk): Use __vsyslog_internal.
101 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
102
103 * include/sys/syslog.h: Add multiple inclusion guard.
104 Add prototype for __vsyslog_internal.
105 Remove declaration and libc_hidden_proto for __vsyslog_chk.
106
107 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
108 Use __vsyslog_internal.
109
110 2018-12-05 Zack Weinberg <zackw@panix.com>
111 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
112
113 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
114 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
115 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
116 New functions.
117 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
118 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
119
120 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
121 Include wctype.h here if COMPILE_WPRINTF is defined.
122 Define __vfprintf_internal or __vfwprintf_internal, depending
123 on COMPILE_WPRINTF.
124 Temporarily, on entry to this function, update mode_flags
125 according to the environmental settings corresponding to
126 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
127 Throughout, check mode_flags instead of __ldbl_is_dbl and
128 _IO_FLAGS2_FORTIFY on the destination FILE.
129 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
130 Include vfprintf-internal.c. Don't include wctype.h.
131 * stdio-common/vfprintf.c: New file. Just define __vfprintf
132 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
133 and vfprintf.
134 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
135 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
136 and vfwprintf.
137 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
138
139 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
140 and add mode_flags argument; use __vfprintf_internal.
141 (__vdprintf): New function. Alias vdprintf to this.
142 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
143 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
144 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
145 (__obstack_printf): Use __obstack_printf_internal.
146 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
147 public aliases __vsnprintf and vsnprintf.
148 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
149 called internally.
150 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
151 public aliases _IO_vsprintf and vsprintf.
152 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
153 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
154 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
155 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
156 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
157
158 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
159 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
160 * stdio-common/fprintf.c, stdio-common/fxprintf.c
161 * stdio-common/printf.c: Use __vfprintf_internal.
162
163 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
164 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
165 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
166
167 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
168 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
169 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
170 __vfwprintf_internal.
171
172 * libio/libio.h: Remove libc_hidden_proto and declaration for
173 _IO_vfprintf.
174 Remove declaration of _IO_vfwprintf.
175 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
176 _IO_vsprintf.
177 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
178 _IO_obstack_printf.
179 * include/stdio.h: Add prototype for __vasprintf.
180 (__vsnprintf): Remove declaration, because there are no more
181 internal calls.
182 * include/wchar.h (__vfwprintf, __vswprintf): Remove
183 declaration, because there are no more internal calls.
184
185 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
186 __vsnprintf_internal, instead of _IO_vsnprintf.
187 * argp/argp-help.c (__argp_error, __argp_failure): Use
188 __vasprintf_internal, instead of _IO_vasprintf.
189 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
190 redefine, because there are no more internal calls.
191
192 2018-12-05 Zack Weinberg <zackw@panix.com>
193 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
194
195 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
196 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
197 Include libio/strfile.h instead of libioP.h.
198 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
199 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
200 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
201 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
202 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
203 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
204 necessary. Do not set __no_long_double. Normalize variable names.
205 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
206 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
207 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
208 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
209 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
210 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
211 Call __vfscanf_internal / __vfwscanf_internal directly, passing
212 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
213 Do not set __no_long_double. Normalize variable names.
214
215 2018-12-05 Zack Weinberg <zackw@panix.com>
216 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
217
218 * stdio-common/isoc99_scanf.c
219 * stdio-common/isoc99_fscanf.c
220 * stdio-common/isoc99_sscanf.c
221 * stdio-common/isoc99_vscanf.c
222 * stdio-common/isoc99_vfscanf.c
223 * stdio-common/isoc99_vsscanf.c
224 * wcsmbs/isoc99_wscanf.c
225 * wcsmbs/isoc99_fwscanf.c
226 * wcsmbs/isoc99_swscanf.c
227 * wcsmbs/isoc99_vwscanf.c
228 * wcsmbs/isoc99_vfwscanf.c
229 * wcsmbs/isoc99_vswscanf.c:
230 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
231 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
232 No need to lock and unlock the FILE passed to that function.
233
234 * stdio-common/vfscanf-internal.c
235 (__vfscanf_internal, __vfwscanf_internal):
236 Don't look at _IO_FLAGS2_SCANF_STD.
237 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
238 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
239 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
240
241 2018-12-05 Zack Weinberg <zackw@panix.com>
242 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
243
244 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
245 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
246 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
247 * libio/strfile.h: Add multiple inclusion guard.
248 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
249
250 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
251 consistency with the other version of this file.
252 (ldbl_compat_symbol): New macro.
253 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
254 New macro.
255
256 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
257 Define __vfscanf_internal or __vfwscanf_internal, depending on
258 COMPILE_WSCANF; don't define any other public symbols.
259 Remove errval and code to set errp.
260 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
261 as the mode_flags argument.
262 (encode_error, conv_error, input_error): Don't set errval.
263 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
264 Include vfscanf-internal.c.
265 * stdio-common/vfscanf.c: New file defining the public entry
266 point vfscanf, which calls __vfscanf_internal.
267 * stdio-common/vfwscanf.c: New file defining the public entry
268 point vfwscanf, which calls __vfwscanf_internal.
269
270 * stdio-common/iovfscanf.c: New file.
271 * stdio-common/iovfwscanf.c: Likewise.
272
273 * stdio-common/Makefile (routines): Add vfscanf-internal,
274 vfwscanf-internal, iovfscanf, iovfwscanf.
275 * stdio-common/Versions: Mention GLIBC_2.29, so that
276 it can be used in SHLIB_COMPAT expressions.
277 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
278 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
279 Call __vfscanf_internal, instead of _IO_vfscanf.
280 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
281 _IO_vfscanf.
282 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
283 _IO_vfwscanf.
284
285 * libio/iovsscanf.c: Clean up includes, when possible. Use
286 _IO_strfile_read or _IO_strfile_readw, when needed. Call
287 __vfscanf_internal or __vfwscanf_internal directly.
288 * libio/iovswscanf.c: Likewise.
289 * libio/swscanf.c: Likewise.
290 * libio/vscanf.c: Likewise.
291 * libio/vwscanf.c: Likewise.
292 * libio/wscanf.c: Likewise.
293 * stdio-common/isoc99_fscanf.c: Likewise.
294 * stdio-common/isoc99_scanf.c: Likewise.
295 * stdio-common/isoc99_sscanf.c: Likewise.
296 * stdio-common/isoc99_vfscanf.c: Likewise.
297 * stdio-common/isoc99_vscanf.c: Likewise.
298 * stdio-common/isoc99_vsscanf.c: Likewise.
299 * stdio-common/scanf.c: Likewise.
300 * stdio-common/sscanf.c: Likewise.
301 * wcsmbs/isoc99_fwscanf.c: Likewise.
302 * wcsmbs/isoc99_swscanf.c: Likewise.
303 * wcsmbs/isoc99_vfwscanf.c: Likewise.
304 * wcsmbs/isoc99_vswscanf.c: Likewise.
305 * wcsmbs/isoc99_vwscanf.c: Likewise.
306 * wcsmbs/isoc99_wscanf.c: Likewise.
307
308 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
309
310 * include/time.h
311 (__tz_compute): Replace time_t with __time64_t.
312 (__tz_convert): Replace time_t* with __time64_t.
313 (__offtime): Replace time_t* with __time64_t.
314 * time/gmtime.c
315 (__gmtime_r): Adjust call to __tz_convert.
316 (gmtime): Likewise.
317 * time/localtime.c
318 (__localtime_r): Likewise.
319 (localtime): Likewise.
320 * time/offtime.c: Replace time_t with __time64_t.
321 * time/tzset.c: Likewise.
322
323 2018-12-04 Joseph Myers <joseph@codesourcery.com>
324
325 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
326 dynamic linker unless [$(run-built-tests) = yes].
327
328 2018-12-03 DJ Delorie <dj@delorie.com>
329
330 * support/test-container.c (check_for_unshare_hints): New.
331 (main): Call it if unshare fails. Add support for "su" scriptlet
332 command.
333
334 2018-12-03 Joseph Myers <joseph@codesourcery.com>
335
336 * scripts/gen-as-const.py (compute_c_consts): Take an argument
337 'START' to indicate that start text should be output.
338 (gen_test): Likewise.
339 (main): Generate 'START' for first symbol or '--' line, or at end
340 of input if not previously generated.
341
342 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
343
344 [BZ #19767]
345 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
346 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
347 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
348 ALWAYS_USE_VSYSCALL.
349
350 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
351
352 [BZ #23913]
353 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
354 new_argv by one.
355
356 2018-12-03 Carlos O'Donell <carlos@redhat.com>
357
358 [BZ #23923]
359 * locale/programs/localedef.c: Declare boolean hard_links default true.
360 (options): Add --no-hard-links option.
361 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
362 * locale/programs/localedef.h: Declare prototype for hard_links.
363 * locale/programs/locfile.c (write_locale_data): Don't use hard
364 links if hard_links is false.
365
366 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
367
368 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
369 cpu_features_basic.
370 (__cache_sysconf): Likewise.
371 (init_cacheinfo): Likewise.
372 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
373 populate COMMON_CPUID_INDEX_80000007 and
374 COMMON_CPUID_INDEX_80000008.
375 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
376 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
377 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
378 (init_cpu_features): Use _Static_assert on
379 index_arch_Fast_Unaligned_Load.
380 __get_cpuid_registers and __get_arch_feature. Updated for
381 cpu_features_basic. Set stepping in cpu_features.
382 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
383 (FEATURE_INDEX_2): New.
384 (FEATURE_INDEX_MAX): Changed to enum.
385 (COMMON_CPUID_INDEX_D_ECX_1): New.
386 (COMMON_CPUID_INDEX_80000007): Likewise.
387 (COMMON_CPUID_INDEX_80000008): Likewise.
388 (cpuid_registers): Likewise.
389 (cpu_features_basic): Likewise.
390 (CPU_FEATURE_USABLE): Likewise.
391 (bit_arch_XXX_Usable): Likewise.
392 (cpu_features): Use cpuid_registers and cpu_features_basic.
393 (bit_arch_XXX): Reweritten.
394 (bit_cpu_XXX): Likewise.
395 (index_cpu_XXX): Likewise.
396 (reg_XXX): Likewise.
397 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
398 <support/check.h>.
399 (CHECK_CPU_FEATURE): New.
400 (CHECK_CPU_FEATURE_USABLE): Likewise.
401 (cpu_kinds): Likewise.
402 (do_test): Print vendor, family, model and stepping. Check
403 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
404 (TEST_FUNCTION): Removed.
405 Include <support/test-driver.c> instead of
406 "../../test-skeleton.c".
407 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
408 Check POPCNT instead of POPCOUNT.
409 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
410
411 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
412
413 * scripts/gen-as-const.py (main): Avoid emitting empty line when
414 there is no element in `consts'.
415
416 2018-12-01 Florian Weimer <fweimer@redhat.com>
417
418 * support/support_capture_subprocess.c
419 (support_capture_subprocess): Check that pipe descriptors have
420 expected values. Close original pipe descriptors in subprocess.
421
422 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
423
424 [BZ #23032]
425 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
426 attr with __pthread_default_barrierattr.
427 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
428 attr with __pthread_default_condattr.
429 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
430 attr with __pthread_default_mutexattr.
431 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
432 attr with __pthread_default_rwlockattr.
433
434 2018-12-01 Kemi Wang <kemi.wang@intel.com>
435
436 * manual/tunables.texi (POSIX Thread Tunables): New node.
437 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
438 * nptl/nptl-init.c: Include pthread_mutex_conf.h
439 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
440 __pthread_tunables_init.
441 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
442 (max_adaptive_count): Define.
443 * nptl/pthread_mutex_conf.c: New file.
444 * nptl/pthread_mutex_conf.h: New file.
445 * sysdeps/generic/adaptive_spin_count.h: New file.
446 * sysdeps/nptl/dl-tunables.list: New file.
447 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
448 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
449 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
450 Likewise.
451
452 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
453
454 [BZ #20544]
455 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
456 * stdlib/on_exit.c (__on_exit): Likewise.
457 * stdlib/Makefile (tests): Add tst-bz20544.
458 * stdlib/tst-bz20544.c: New test.
459
460 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
461
462 [BZ #19767]
463 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
464 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
465 New.
466
467 2018-11-30 Florian Weimer <fweimer@redhat.com>
468
469 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
470 Extend error logging.
471 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
472 symbol.
473
474 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
475
476 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
477 __sigismember instead of sigismember.
478 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
479 cancel_handler): New definitions.
480 (do_system): Use posix_spawn instead of fork and execl and remove
481 reentracy code.
482 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
483 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
484 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
485 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
486 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
487 * sysdeps/unix/sysv/linux/system.c: Likewise.
488
489 [BZ #22834]
490 [BZ #17490]
491 * NEWS: Add new semantic for atfork with popen and system.
492 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
493 fork and execl.
494
495 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
496
497 [BZ #23690]
498 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
499 modification order when accessing reloc_result->addr.
500 * include/link.h (reloc_result): Add field init.
501 * nptl/Makefile (tests): Add tst-audit-threads.
502 (modules-names): Add tst-audit-threads-mod1 and
503 tst-audit-threads-mod2.
504 Add rules to build tst-audit-threads.
505 * nptl/tst-audit-threads-mod1.c: New file.
506 * nptl/tst-audit-threads-mod2.c: Likewise.
507 * nptl/tst-audit-threads.c: Likewise.
508 * nptl/tst-audit-threads.h: Likewise.
509
510 2018-11-30 Joseph Myers <joseph@codesourcery.com>
511
512 * scripts/gen-as-const.py: New file.
513 * scripts/gen-as-const.awk: Remove.
514 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
515 gen-as-const.py.
516 ($(objpfx)test-as-const-%.c): Likewise.
517
518 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
519
520 * elf/dl-exception.c: Include <_itoa.h>.
521
522 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
523
524 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
525 returned by __f_setlk.
526
527 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
528 Adhemerval Zanella <adhemerval.zanella@linaro.org>
529
530 * elf/Makefile (tests-internal): Add tst-create_format1.
531 * elf/dl-exception.c (_dl_exception_create_format): Support
532 %x, %lx and %zx.
533 * elf/tst-create_format1.c: New file.
534
535 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
536
537 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
538 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
539 gnulib.)
540 * argp/argp-help.c (__argp_failure): Likewise.
541
542 2018-11-29 Mao Han <han_mao@c-sky.com>
543
544 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
545 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
546 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
547 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
548 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
549 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
550 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
551 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
552 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
553 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
554 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
555 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
556 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
557 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
558 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
559 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
560 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
561 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
562 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
563 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
564 (R_CKCORE_TLS_TPOFF32): New defines.
565
566 2018-11-29 Florian Weimer <fweimer@redhat.com>
567
568 * posix/Makefile (before-compile): Remove testcases.h and
569 ptestcases.h.
570 (generated): Add testcases.h and ptestcases.h.
571 (testcases.h, ptestcases.h): Move to $(objpfx).
572 (runtests.o): Add dependency on testcases.h.
573 (runptests.o): Add dependency on ptestcases.h.
574 * posix/testcases.h, posix/ptestcases.h: Remove files.
575 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
576 not touch posix/testcases.h and posix/ptestcases.h.
577
578 2018-11-28 Florian Weimer <fweimer@redhat.com>
579
580 support: Add signal support to support_capture_subprocess_check.
581 * support/capture_subprocess.h (support_capture_subprocess_check):
582 Adjust comment and rename parameter.
583 * support/support_capture_subprocess_check.c
584 (print_actual_status): New function.
585 (support_capture_subprocess_check): Support negative
586 status_or_signal. Call print_actual_status.
587 * support/tst-support_capture_subprocess.c (do_test): Call
588 support_capture_subprocess_check.
589 * libio/tst-vtables-common.c (termination_status)
590 (init_termination_status): Remove.
591 (check_for_termination): Adjust support_capture_subprocess_check
592 call.
593 (do_test): Remove call to init_termination_status.
594
595 2018-11-28 Joseph Myers <joseph@codesourcery.com>
596
597 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
598 source directory instead of a copy.
599 (CommandList.create_copy_dir): Remove.
600
601 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
602
603 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
604
605 2018-11-28 Florian Weimer <fweimer@redhat.com>
606
607 * support/support.h (support_quote_string): Do not use str
608 parameter name.
609
610 2018-11-27 Joseph Myers <joseph@codesourcery.com>
611
612 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
613 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
614
615 2018-11-27 Florian Weimer <fweimer@redhat.com>
616
617 * support/support.h (support_quote_string): Declare.
618 * support/support_quote_string.c: New file.
619 * support/tst-support_quote_string.c: Likewise.
620 * support/Makefile (libsupport-routines): Add
621 support_quote_string.
622 (tests): Add tst-support_quote_string.
623
624 2018-11-27 Florian Weimer <fweimer@redhat.com>
625
626 [BZ #23927]
627 CVE-2018-19591
628 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
629 descriptor leak in case of ENODEV error.
630
631 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
632
633 [BZ #19767]
634 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
635 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
636 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
637
638 2018-11-26 Carlos O'Donell <carlos@redhat.com>
639
640 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
641 Error for unknown lines.
642
643 2018-11-26 Joseph Myers <joseph@codesourcery.com>
644
645 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
646 Touch additional files.
647
648 2018-11-26 Florian Weimer <fweimer@redhat.com>
649
650 [BZ #23907]
651 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
652 double-frees.
653
654 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
655
656 [BZ #19767]
657 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
658 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
659 SHARED. Include sysdep.h.
660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
661 ALWAYS_USE_VSYSCALL.
662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
663 ALWAYS_USE_VSYSCALL.
664
665 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
666
667 [BZ #19767]
668 * nptl/Makefile (tests-static): Add tst-cond11-static.
669 (tests): Likewise.
670 * nptl/tst-cond11-static.c: New File.
671 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
672 tst-affinity-static.
673 (tests): Likewise.
674 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
675 instead of SHARED.
676 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
677 (USE_VSYSCALL): Likewise.
678 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
679 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
680 instead of SHARED.
681 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
682 SHARED.
683 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
684 New.
685
686 2018-11-23 Joseph Myers <joseph@codesourcery.com>
687
688 [BZ #23915]
689 * sysdeps/unix/sysv/linux/arm/kernel-features.h
690 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
691 Undefine.
692
693 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
694
695 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
696 (tst-cet-legacy-1a-ARGS): New.
697 ($(objpfx)tst-cet-legacy-1a): New target.
698 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
699
700 2018-11-22 Joseph Myers <joseph@codesourcery.com>
701
702 * conform/conformtest.py (CompileSubTest.__init__): Set
703 self.run_early to False.
704 (ExecuteSubTest.__init__): Likewise.
705 (HeaderTests.run): Try running all non-optional, non-XFAILed
706 compilation tests in a single execution of the compiler.
707
708 * conform/conformtest.py (CompileSubTest): New class.
709 (ExecuteSubTest): Likewise.
710 (ElementTest.run): Rename to gen_subtests. Append tests to
711 self.subtests instead of running them.
712 (ConstantTest.run): Likewise.
713 (SymbolTest.run): Likewise.
714 (TypeTest.run): Likewise.
715 (TagTest.run): Likewise.
716 (FunctionTest.run): Likewise.
717 (VariableTest.run): Likewise.
718 (MacroFunctionTest.run): Likewise.
719 (MacroStrTest.run): Likewise.
720 (HeaderTests.handle_test_line): Generate subtests for tests.
721 (HeaderTests.run): Run subtests for tests.
722
723 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
724
725 * math/Versions (GLIBC_2.29): Add pow.
726 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
727 symbol.
728 * math/w_pow.c: New file.
729 * sysdeps/i386/fpu/w_pow.c: New file.
730 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
731 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
732 and add necessary aliases.
733 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
734 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
735 * sysdeps/mach/hurd/i386/libm.abilist: Update.
736 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
737 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
738 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
739 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
740 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
741 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
742 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
743 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
744 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
745 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
746 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
747 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
752 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
753 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
754 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
755 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
756 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
757 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
758 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
759 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
760 __pow.
761 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
762 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
763 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
764
765 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
766
767 * math/Versions (GLIBC_2.29): Add log2.
768 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
769 symbol.
770 * math/w_log2.c: New file.
771 * sysdeps/i386/fpu/w_log2.c: New file.
772 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
773 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
774 and add necessary aliases.
775 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
776 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
777 * sysdeps/mach/hurd/i386/libm.abilist: Update.
778 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
779 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
780 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
781 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
782 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
783 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
784 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
785 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
786 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
787 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
788 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
789 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
794 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
795 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
796 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
797 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
798 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
799 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
800 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
801
802 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
803
804 * math/Versions (GLIBC_2.29): Add log.
805 * math/w_log_compat.c (__log_compat): Change to versioned compat
806 symbol.
807 * math/w_log.c: New file.
808 * sysdeps/i386/fpu/w_log.c: New file.
809 * sysdeps/ia64/fpu/e_log.S: Update.
810 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
811 and add necessary aliases.
812 * sysdeps/ieee754/dbl-64/w_log.c: New file.
813 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
814 * sysdeps/mach/hurd/i386/libm.abilist: Update.
815 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
816 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
817 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
818 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
819 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
820 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
821 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
822 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
823 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
824 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
825 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
826 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
831 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
832 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
833 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
834 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
835 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
836 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
837 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
838 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
839 __log.
840 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
841 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
842 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
843 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
844
845 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
846
847 * math/Versions (GLIBC_2.29): Add exp and exp2.
848 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
849 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
850 * math/w_exp_compat.c (__exp_compat): Likewise.
851 * math/w_exp.c: New file.
852 * math/w_exp2.c: New file.
853 * sysdeps/i386/fpu/w_exp.c: New file.
854 * sysdeps/i386/fpu/w_exp2.c: New file.
855 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
856 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
857 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
858 and add necessary aliases.
859 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
860 and add necessary aliases.
861 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
862 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
863 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
864 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
865 * sysdeps/mach/hurd/i386/libm.abilist: Update.
866 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
867 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
868 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
869 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
870 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
871 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
872 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
873 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
874 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
875 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
876 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
877 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
882 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
883 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
884 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
885 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
886 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
887 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
888 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
889 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
890 (__ieee754_exp): Rename to __exp.
891 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
892 (__ieee754_exp): Rename to __exp.
893 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
894 (__ieee754_exp): Rename to __exp.
895 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
896 __exp.
897 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
898
899 2018-11-20 DJ Delorie <dj@redhat.com>
900
901 * malloc/malloc.c (tcache_entry): Add key field.
902 (tcache_put): Set it.
903 (tcache_get): Likewise.
904 (_int_free): Check for double free in tcache.
905 * malloc/tst-tcfree1.c: New.
906 * malloc/tst-tcfree2.c: New.
907 * malloc/Makefile: Run the new tests.
908 * manual/probes.texi: Document memory_tcache_double_free probe.
909
910 * dlfcn/dlerror.c (check_free): Prevent double frees.
911
912 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
913
914 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
915
916 2018-11-20 Joseph Myers <joseph@codesourcery.com>
917
918 * conform/conformtest.py (ElementTest.run): Use unique identifiers
919 in tests. Use names for format arguments.
920 (ConstantTest.run): Likewise.
921 (SymbolTest.run): Likewise.
922 (TypeTest.run): Likewise.
923 (TagTest.run): Likewise.
924 (FunctionTest.run): Likewise.
925 (VariableTest.run): Likewise.
926 (MacroFunctionTest.run): Likewise.
927 (MacroStrTest.run): Likewise.
928 (HeaderTests.__init__): Set self.num_tests.
929 (HeaderTests.handle_test_line): Set test.num. Increment
930 self.num_tests.
931
932 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
933
934 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
935 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
936 SEEK_SET.
937
938 2018-11-19 Mao Han <han_mao@c-sky.com>
939
940 * scripts/config.guess: Update to version 2018-08-29.
941 * scripts/config.sub: Update to version 2018-08-29.
942
943 2018-11-19 Florian Weimer <fweimer@redhat.com>
944
945 support: Print timestamps in timeout handler.
946 * support/support_test_main.c (print_timestamp): New function.
947 (signal_handler): Use it to print the termination time and the
948 time of the last write to standard output.
949
950 2018-11-16 Zack Weinberg <zackw@panix.com>
951 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
952
953 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
954 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
955 argument.
956 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
957 and add flags argument. Check flags instead of __ldbl_is_dbl when
958 deciding whether to set is_long_double.
959 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
960 passing zero for flags argument.
961 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
962
963 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
964 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
965 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
966 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
967 variable names. Remove libc_hidden_def/libc_hidden_proto from
968 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
969 longer called from within the library.
970 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
971 for __nldbl___vstrfmon_l, declare it explicitly.
972
973 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
974
975 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
976
977 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
978 macros
979 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
980 F_SETLK64, F_SETLKW64, respectively.
981 * sysdeps/mach/hurd/f_setlk.c: New file.
982 * sysdeps/mach/hurd/f_setlk.h: New file.
983 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
984 f_setlk.
985 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
986 (__libc_fcntl): Move non-flock operations to...
987 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
988 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
989
990 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
991
992 mktime: DEBUG_MKTIME cleanup
993 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
994 And it’s no longer needed now that glibc and Gnulib both have
995 their own testing mechanisms for mktime.
996 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
997
998 mktime: fix non-EOVERFLOW errno handling
999 [BZ#23789]
1000 mktime was not properly reporting failures when the underlying
1001 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
1002 them like EOVERFLOW failures, and set errno to EOVERFLOW.
1003 The problem could happen on non-glibc platforms, with Gnulib.
1004 * time/mktime.c (guess_time_tm): Remove, replacing with ...
1005 (tm_diff): ... this simpler function, which does not change errno.
1006 All callers changed to deal with errno themselves.
1007 (ranged_convert, __mktime_internal): Return failure immediately if
1008 the underlying function reports any failure other than EOVERFLOW.
1009 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
1010 gap code fails.
1011
1012 mktime: fix bug with Y2038 DST transition
1013 [BZ#23789]
1014 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
1015 mishandle a DST transition that jumps over the Y2038 boundary.
1016 No such DST transitions are known so this is only a theoretical
1017 bug, but we might as well do things right.
1018
1019 mktime: make more room for overflow
1020 [BZ#23789]
1021 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
1022 This is so that we can add tm_diff results to a previous guess,
1023 which will be useful in a later patch.
1024
1025 mktime: simplify offset guess
1026 [BZ#23789]
1027 * time/mktime.c (__mktime_internal): Omit excess precision.
1028
1029 mktime: new test for mktime failure
1030 [BZ#23789]
1031 Based on a test suggested by Albert Aribaud in:
1032 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
1033 * time/Makefile (tests): Add bug-mktime4.
1034 * time/bug-mktime4.c: New file.
1035
1036 mktime: fix EOVERFLOW bug
1037 [BZ#23789]
1038 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
1039 Include libc-config.h, not config.h, for __set_errno.
1040 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
1041
1042 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
1043
1044 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
1045 __attribute_copy__ to copy attributes from name. Drop static qualifier
1046 to avoid warnings about leaf attribute not having effect on static
1047 functions.
1048
1049 2018-11-13 Florian Weimer <fweimer@redhat.com>
1050
1051 * malloc/malloc.c (fastbin_push_entry): New function.
1052 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
1053 (REMOVE_FB): Remove macro.
1054 (_int_malloc): Use fastbin_pop_entry and reindent.
1055 (_int_free): Use fastbin_push_entry.
1056 (malloc_consolidate): Use atomic_exchange_acquire.
1057
1058 2018-11-13 Joseph Myers <joseph@codesourcery.com>
1059
1060 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
1061 alias attribute, not with strong_alias.
1062
1063 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
1064 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
1065 with additional parameter thread.
1066 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
1067 in terms of __hidden_ver2.
1068 (hidden_tls_def): New macro.
1069 (libc_hidden_tls_def): Likewise.
1070 (rtld_hidden_tls_def): Likewise.
1071 (libm_hidden_tls_def): Likewise.
1072 (libmvec_hidden_tls_def): Likewise.
1073 (libresolv_hidden_tls_def): Likewise.
1074 (librt_hidden_tls_def): Likewise.
1075 (libdl_hidden_tls_def): Likewise.
1076 (libnss_files_hidden_tls_def): Likewise.
1077 (libnsl_hidden_tls_def): Likewise.
1078 (libnss_nisplus_hidden_tls_def): Likewise.
1079 (libutil_hidden_tls_def): Likewise.
1080 (libutil_hidden_tls_def): Likweise.
1081 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
1082 libc_hidden_tls_def.
1083 (__sim_disabled_exceptions_thread): Likewise.
1084 (__sim_round_mode_thread): Likewise.
1085
1086 * sysdeps/sparc/sparc-ifunc.h [SHARED]
1087 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
1088 copy attributes from name.
1089
1090 2018-11-12 Joseph Myers <joseph@codesourcery.com>
1091
1092 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
1093 Use __attribute_copy__ to copy attributes from name.
1094
1095 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
1096 with __hidden_ver1 call.
1097 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
1098 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
1099 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
1100 (__cosf): Do not declare here.
1101 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
1102 (__sincosf): Do not declare here.
1103 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
1104 (__sinf): Do not declare here.
1105
1106 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
1107 (__BIG_ENDIAN): Likewise.
1108 (__BYTE_ORDER): Likewise.
1109 (strong_alias): Likewise.
1110 (_strong_alias): Likewise.
1111
1112 2018-11-12 Florian Weimer <fweimer@redhat.com>
1113
1114 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
1115 function. Move after the definition of in_smallbin_range. Do not
1116 use __builtin_expect for paths that lead to a noreturn function.
1117 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
1118 because it is unclear whether this is in fact an unlikely
1119 condition.
1120 (_int_malloc, _int_free): Adjust.
1121 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
1122 variables.
1123 * malloc/arena.c (heap_trim): Likewise.
1124
1125 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1126
1127 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
1128 it, free it if needed.
1129 (reauthenticate): Test and use ccwdir.
1130 (child_init_port): In non-resetids case, test and use ccwdir.
1131 (child_chdir): New nested function to set ccwdir.
1132 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
1133 * hurd/hurd/port.h (_hurd_port_move): New function.
1134 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
1135 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
1136 * hurd/Versions (_hurd_port_move): Export function.
1137 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
1138 symbol.
1139 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
1140 of dtablesize for allocating dtable_cloexec.
1141
1142 2018-11-09 Martin Sebor <msebor@redhat.com>
1143
1144 * include/libc-symbols.h (__attribute_copy__): Define macro unless
1145 it's already defined.
1146 (_strong_alias): Use __attribute_copy__.
1147 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
1148 * misc/sys/cdefs.h (__attribute_copy__): New macro.
1149 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
1150 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
1151 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
1152 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
1153 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
1154 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
1155 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
1156 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
1157 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
1158 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
1159 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
1160 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
1161 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
1162 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
1163 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
1164 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
1165 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
1166
1167 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1168
1169 * misc/tst-efgcvt.c: Include support/check.h and
1170 support/test-driver.c. Do not include test-skeleton.c.
1171 (error_count): Remove.
1172 (output_error): Replace increments to error_count with calls to
1173 support_record_failure.
1174 (output_r_error): Likewise.
1175 (special): Likewise.
1176 (do_test): Unconditionally return zero.
1177 (TEST_FUNCTION): Remove.
1178
1179 2018-11-09 Joseph Myers <joseph@codesourcery.com>
1180
1181 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
1182 not $(@D)/scratch.
1183 ($(linknamespace-header-tests)): Likewise.
1184
1185 * conform/conformtest.py: New file.
1186 * conform/conformtest.pl: Remove.
1187 * conform/GlibcConform.pm: Likewise.
1188 * conform/glibcconform.py (KEYWORDS_C90): New constant.
1189 (KEYWORDS_C99): Likewise.
1190 (KEYWORDS): Likewise.
1191 * conform/Makefile ($(conformtest-header-tests)): Use
1192 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
1193 option. Use --header instead of --headers.
1194 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
1195 function entries.
1196 * conform/data/spawn.h-data: Likewise.
1197 * conform/data/fcntl.h-data (openat): Add space after function
1198 name.
1199 * conform/data/wchar.h-data (wcscasecmp): Likewise.
1200 (wcscasecmp_l): Likewise.
1201 * conform/data/termios.h-data (c_cc): Add space after element
1202 name.
1203
1204 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1205
1206 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
1207 instead of manually comparing and reporting mismatching strings.
1208 * misc/tst-ldbl-error.c (do_one_test): Likewise.
1209 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1210
1211 2018-11-08 Joseph Myers <joseph@codesourcery.com>
1212
1213 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
1214 __ASSUME_SOCKETCALL.
1215 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1216 (__ASSUME_SOCKETCALL): Remove.
1217 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1218 (__ASSUME_SOCKETCALL): Likewise.
1219 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1220 (__ASSUME_SOCKETCALL): Likewise.
1221 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1222 (__ASSUME_SOCKETCALL): Likewise.
1223 * sysdeps/unix/sysv/linux/s390/kernel-features.h
1224 (__ASSUME_SOCKETCALL): Likewise.
1225 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1226 (__ASSUME_SOCKETCALL): Likewise.
1227 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1228 (__ASSUME_SOCKETCALL): Likewise.
1229
1230 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
1231
1232 [BZ #23509]
1233 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
1234 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
1235 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
1236 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
1237 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
1238 lc_unknown.
1239
1240 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
1241
1242 [BZ #17630]
1243 * resolv/tst-resolv-network.c: Add test for getnetbyname.
1244
1245 2018-11-07 Joseph Myers <joseph@codesourcery.com>
1246
1247 [BZ #23867]
1248 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1249 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
1250 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1251 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
1252
1253 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1254
1255 * support/support_test_compare_string.c
1256 (support_test_compare_string): Fix printf format.
1257
1258 2018-11-07 Florian Weimer <fweimer@redhat.com>
1259
1260 Implement TEST_COMPARE_STRING.
1261 * support/check.h (TEST_COMPARE_STRING): Define.
1262 (support_test_compare_string): Declare.
1263 * support/Makefile (libsupport-routines): Add
1264 support_test_compare_string.
1265 (tests): Add tst-test_compare_string.
1266 * support/support_test_compare_string.c: New file.
1267 * support/tst-test_compare_string.c: Likewise.
1268
1269 2018-11-07 Andreas Schwab <schwab@suse.de>
1270
1271 [BZ #23864]
1272 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
1273 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
1274 Undef.
1275
1276 2018-11-06 Joseph Myers <joseph@codesourcery.com>
1277
1278 [BZ #23862]
1279 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1280 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
1281 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
1282 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
1283 Likewise.
1284
1285 2018-11-06 Florian Weimer <fweimer@redhat.com>
1286
1287 [BZ #17405]
1288 * posix/Makefile (routines): Add spawn_faction_addchdir.
1289 (tests): Add tst-spawn-chdir.
1290 * posix/Versions (GLIBC_2.29): Add
1291 posix_spawn_file_actions_addchdir_np.
1292 * posix/spawn_faction_addchdir.c: New file.
1293 * posix/spawn_faction_destroy.c
1294 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
1295 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
1296 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
1297 chdir_action.
1298 * posix/tst-spawn-chdir.c: New file.
1299 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
1300 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1301 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
1302 posix_spawn_file_actions_addchdir_np.
1303 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
1304 Likewise.
1305 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
1306 Likewise.
1307 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
1308 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
1309 Likewise.
1310 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
1311 Likewise.
1312 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
1313 Likewise.
1314 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
1315 Likewise.
1316 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
1317 Likewise.
1318 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
1319 Likewise.
1320 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1321 (GLIBC_2.29): Likewise.
1322 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1323 (GLIBC_2.29): Likewise.
1324 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1325 (GLIBC_2.29): Likewise.
1326 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1327 (GLIBC_2.29): Likewise.
1328 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
1329 Likewise.
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1331 (GLIBC_2.29): Likewise.
1332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1333 (GLIBC_2.29): Likewise.
1334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1335 (GLIBC_2.29): Likewise.
1336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1337 (GLIBC_2.29): Likewise.
1338 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
1339 Likewise.
1340 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
1341 Likewise.
1342 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
1343 Likewise.
1344 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
1345 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
1346 Likewise.
1347 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
1348 Likewise.
1349 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
1350 Likewise.
1351 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
1352 Likewise.
1353
1354 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1355
1356 * misc/Makefile (tests): Add tst-ldbl-error.
1357 * misc/tst-ldbl-error.c: New file.
1358
1359 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1360
1361 * misc/Makefile (tests): Add tst-ldbl-warn.
1362 * misc/tst-ldbl-warn.c: New file.
1363
1364 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1365
1366 * argp/Makefile (tests): Add tst-ldbl-argp.
1367 * argp/tst-ldbl-argp.c: New file.
1368
1369 2018-11-05 Arjun Shankar <arjun@redhat.com>
1370
1371 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
1372 __gconv_path_elem and call __gconv_get_path unconditionally.
1373
1374 2018-11-05 Andreas Schwab <schwab@suse.de>
1375
1376 [BZ #22927]
1377 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
1378 creating the first helper thread failed.
1379
1380 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1381
1382 * sysdeps/mach/hurd/msync.c: New file.
1383
1384 2018-11-02 Florian Weimer <fweimer@redhat.com>
1385
1386 * support/shell-container.c (copy_func): Call
1387 support_copy_file_range instead of copy_file_range to support
1388 cross-device copies.
1389
1390 2018-11-02 Florian Weimer <fweimer@redhat.com>
1391
1392 * support/test-container.c: Include <libc-pointer-arith.h> for
1393 ALIGN_UP.
1394
1395 2018-11-01 Zong Li <zong@andestech.com>
1396
1397 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
1398 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
1399 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
1400 (__FP_FRAC_SET_8): Add implementation for RV32 use.
1401
1402 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
1403 variable to avoid overlap arguments.
1404
1405 2018-11-01 Joseph Myers <joseph@codesourcery.com>
1406
1407 * posix/bug-regex22.c (main): Use puts with distinct error
1408 messages for unexpected success of re_compile_pattern, not printf
1409 with NULL argument to %s.
1410
1411 * stdio-common/bug22.c: Include <libc-diag.h>.
1412 (do_test): Disable -Wformat-overflow= warnings around fprintf
1413 calls outputting more than INT_MAX characters.
1414 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
1415 around printf call with NULL %s argument.
1416
1417 [BZ #23848]
1418 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
1419 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
1420 Undefine.
1421 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1422 (__ASSUME_RECVMSG_SYSCALL): Likewise.
1423 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1424 (__ASSUME_SENDTO_SYSCALL): Likewise.
1425 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1426 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
1427 [!__arch64__].
1428 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1429 (__ASSUME_CONNECT_SYSCALL): Likewise.
1430 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1431 (__ASSUME_RECVFROM_SYSCALL): Likewise.
1432 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
1433 Define.
1434 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
1435 Likewise.
1436 [__LINUX_KERNEL_VERSION >= 0x040400]
1437 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1438 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
1439 Remove.
1440 (listen): Likewise.
1441 (setsockopt): Likewise.
1442
1443 2018-11-01 Fredrik Noring <noring@nocrew.org>
1444
1445 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
1446 with the ISA override.
1447
1448 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
1449
1450 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
1451 #endif.
1452
1453 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
1454
1455 * manual/errno.texi (EIEIO): Document how translators should
1456 translate the error message.
1457 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
1458 printing trailing whitespaces refused by git.
1459 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
1460 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1461 * hurd/Makefile (user-interfaces): Add pci.
1462
1463 2018-10-30 Joseph Myers <joseph@codesourcery.com>
1464
1465 * conform/linknamespace.py: New file.
1466 * conform/linknamespace.pl: Remove file.
1467 * conform/Makefile ($(linknamespace-header-tests)): Use
1468 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
1469 option.
1470
1471 2018-10-30 Florian Weimer <fweimer@redhat.com>
1472
1473 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
1474 memory leaks.
1475
1476 2018-10-30 Florian Weimer <fweimer@redhat.com>
1477
1478 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
1479
1480 2018-10-30 Florian Weimer <fweimer@redhat.com>
1481
1482 * stdlib/tst-strtod-overflow.c (do_test): Switch to
1483 support_blob_repeat.
1484
1485 2018-10-30 Florian Weimer <fweimer@redhat.com>
1486
1487 Avoid spurious test failures in stdlib/test-bz22786.
1488 * support/Makefile (libsupport-routines): Add blob_repeat.
1489 (tests): Add tst-support_blob_repeat.
1490 * support/blob_repeat.h: New file.
1491 * support/blob_repeat.c: Likewise.
1492 * support/tst-support_blob_repeat.c: Likewise.
1493 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
1494 support_blob_repeat_allocate.
1495
1496 2018-10-30 Andreas Schwab <schwab@suse.de>
1497
1498 [BZ #23125]
1499 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
1500 Don't use tail call.
1501 * elf/tst-unwind-main.c: New file.
1502 * elf/Makefile (tests): Add tst-unwind-main.
1503 (CFLAGS-tst-unwind-main.c): Define.
1504
1505 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
1506
1507 [BZ #23791]
1508 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
1509 n_cs_precedes to 0.
1510 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
1511
1512 2018-10-29 Joseph Myers <joseph@codesourcery.com>
1513
1514 * conform/glibcconform.py: Do not import shutil.
1515 (list_exported_functions): Use tempfile.TemporaryDirectory instead
1516 of mkdtemp.
1517
1518 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
1519 critic_missing for versions before 3.4.
1520 * configure: Regenerated.
1521 * manual/install.texi (Tools for Compilation): Document
1522 requirement for Python to build glibc.
1523 * INSTALL: Regenerated.
1524 * Rules [PYTHON]: Make code unconditional.
1525 * benchtests/Makefile [PYTHON]: Likewise.
1526 * conform/Makefile [PYTHON]: Likewise.
1527 * manual/Makefile [PYTHON]: Likewise.
1528 * math/Makefile [PYTHON]: Likewise.
1529
1530 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1531
1532 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
1533 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
1534 answer to interrupt_operation, return EIEIO instead of EINTR.
1535 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
1536 _hurd_intr_rpc_msg_about_to global point to start of controlled
1537 assembly snippet. Make it check canceled flag.
1538 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
1539 the _hurd_intr_rpc_msg_about_to point.
1540 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
1541 issue, remove cancel flag check.
1542
1543 2018-10-26 Joseph Myers <joseph@codesourcery.com>
1544
1545 * scripts/build-many-glibcs.py: Remove compatibility for missing
1546 os.cpu_count and re.fullmatch.
1547
1548 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
1549
1550 [BZ #23822]
1551 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
1552 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
1553 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
1554
1555 2018-10-25 Joseph Myers <joseph@codesourcery.com>
1556
1557 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
1558 macro.
1559
1560 2018-10-25 Florian Weimer <fweimer@redhat.com>
1561
1562 [BZ #23562]
1563 [BZ #23821]
1564 XFAIL siginfo_t si_band conform test on sparc64.
1565 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
1566 (__SI_BAND_TYPE): Only override long int default type on sparc64.
1567 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1568 (conformtest-xfail-conds): Add sparc64-linux.
1569 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
1570 sparc64.
1571 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
1572
1573 2018-10-25 Joseph Myers <joseph@codesourcery.com>
1574
1575 * elf/elf.h (NT_MIPS_DSP): New macro.
1576 (NT_MIPS_FP_MODE): Likewise.
1577
1578 2018-10-25 Zong Li <zong@andestech.com>
1579
1580 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
1581 name by adding the file extension (.so).
1582
1583 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
1584
1585 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
1586 (test-xfail-ISO11/threads.h/linknamespace,
1587 test-xfail-ISO11/threads.h/conform): Add.
1588
1589 2018-10-24 Joseph Myers <joseph@codesourcery.com>
1590
1591 * math/gen-libm-test.py: Import os.
1592 (ALL_FLOATS_MANUAL): New constant.
1593 (ALL_FLOATS_SUFFIX): Likewise.
1594 (Ulps.all_functions): New function.
1595 (real_all_ulps): Likewise.
1596 (generate_err_table_sub): Likewise.
1597 (generate_err_table): Likewise.
1598 (main): Handle -s and -m options.
1599 * manual/libm-err-tab.pl: Remove.
1600 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
1601 instead of libm-err-tab.pl.
1602 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
1603 != no].
1604 * manual/install.texi (Tools for Compilation): Document
1605 requirement for Python to build manual.
1606 * INSTALL: Regenerated.
1607
1608 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
1609
1610 * bits/time64.h: New file.
1611 * include/time.h: Replace internal_time_t with __time64_t.
1612 * posix/bits/types (__time64_t): Add.
1613 * stdlib/Makefile: Add bits/time64.h to includes.
1614 * time/tzfile.c: Replace internal_time_t with __time64_t.
1615
1616 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1617
1618 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
1619 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
1620 __posix_spawn_file_actions_init, __posix_spawnattr_init,
1621 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
1622 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
1623 prototype.
1624 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
1625 * posix/spawn_faction_addclose.c
1626 (__posix_spawn_file_actions_addclose): Add hidden definition.
1627 * posix/spawn_faction_adddup2.c
1628 (__posix_spawn_file_actions_adddup2): Likewise.
1629 * posix/spawn_faction_destroy.c
1630 (__posix_spawn_file_actions_destroy): Likewise.
1631 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
1632 Likewise.
1633 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
1634 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
1635 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
1636 Likewise.
1637 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
1638 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
1639 Likewise.
1640
1641 2018-10-24 Andreas Schwab <schwab@suse.de>
1642
1643 [BZ #18093]
1644 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
1645 format cache.
1646 * elf/cache.c (print_cache): Likewise.
1647
1648 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
1649
1650 * bits/timesize.h: New file.
1651 * stdlib/Makefile (headers): Add bits/timesize.h.
1652 * sysdeps/unix/sysv/linux/bits/msq-pad.h
1653 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
1654 * sysdeps/unix/sysv/linux/bits/sem-pad.h
1655 (__SEM_PAD_AFTER_TIME): Likewise.
1656 * sysdeps/unix/sysv/linux/bits/shm-pad.h
1657 (__SHM_PAD_AFTER_TIME): Likewise.
1658 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
1659 (__MSQ_PAD_BEFORE_TIME): Likewise.
1660 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
1661 (__SEM_PAD_BEFORE_TIME): Likewise.
1662 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
1663 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
1664 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
1665 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
1666 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
1667 (__MSQ_PAD_BEFORE_TIME): Likewise.
1668 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
1669 (__SEM_PAD_BEFORE_TIME): Likewise.
1670 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
1671 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
1672 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
1673 (__MSQ_PAD_BEFORE_TIME): Likewise.
1674 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
1675 (__SEM_PAD_BEFORE_TIME): Likewise.
1676 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
1677 (__SHM_PAD_BEFORE_TIME): Likewise.
1678 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
1679 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
1680 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
1681
1682 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
1683
1684 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
1685 USE_RDTSCP is defined.
1686 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
1687 USE_RDTSCP is defined.
1688
1689 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1690
1691 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
1692 defined.
1693
1694 [BZ #23709]
1695 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
1696 independently of other flags.
1697
1698 2018-10-23 Florian Weimer <fweimer@redhat.com>
1699
1700 * time/tst-mktime2.c (N_STRINGS): Remove.
1701 (set_timezone): New function.
1702 (spring_forward_gap): Call it. Use FAIL_EXIT1.
1703 (mktime_test1): Report localtime failure and check errno value.
1704 Use TEST_COMPARE.
1705 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
1706 (do_test): Remove alarm call. Use set_timezone and array_length.
1707
1708 2018-10-23 Andreas Schwab <schwab@suse.de>
1709
1710 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
1711 (__start_context): Use END instead of PSEUDO_END.
1712
1713 2018-10-22 Joseph Myers <joseph@codesourcery.com>
1714
1715 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1716 version to 4.19.
1717
1718 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1719 version to 4.19.
1720
1721 [BZ #23793]
1722 * wcsmbs/c32rtomb.c: New file.
1723 * wcsmbs/mbrtoc32.c: Likewise.
1724 * wcsmbs/tst-c32-state.c: Likewise.
1725 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
1726 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
1727 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
1728 (tests): Add tst-c32-state.
1729 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
1730 $(gen-locales).
1731
1732 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
1733
1734 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
1735 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
1736
1737 2018-10-19 Joseph Myers <joseph@codesourcery.com>
1738
1739 [BZ #23794]
1740 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
1741 pair and return 0 in that case, and use saved character to
1742 interpret following character.
1743 * wcsmbs/tst-c16-surrogate.c: New file.
1744 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
1745 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
1746 Depend on $(gen-locales)
1747
1748 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
1749
1750 [BZ #23562]
1751 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
1752 (struct siginfo_t): Use correct type for si_band.
1753
1754 2018-10-19 Florian Weimer <fweimer@redhat.com>
1755
1756 [BZ #23689]
1757 * resource/bits/types/struct_rusage.h (struct rusage): Update
1758 comment on struct. Remove extraneous field comment.
1759
1760 2018-10-18 David S. Miller <davem@davemloft.net>
1761
1762 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
1763 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
1764 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
1765 sysdep_routines in subdir elf.
1766 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
1767 version for __vdso_clock_gettime.
1768 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
1769 Define.
1770 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
1771 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1772
1773 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1774
1775 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
1776
1777 * sysdeps/i386/init-arch.h: Removed.
1778 * sysdeps/i386/i586/init-arch.h: Likewise.
1779 * sysdeps/i386/i686/init-arch.h: Likewise.
1780 * sysdeps/i386/i686/hp-timing.h: Likewise.
1781 * sysdeps/x86_64/hp-timing.h: Likewise.
1782 * sysdeps/i386/isa.h: New file.
1783 * sysdeps/i386/i586/isa.h: Likewise.
1784 * sysdeps/i386/i686/isa.h: Likewise.
1785 * sysdeps/x86_64/isa.h: Likewise.
1786 * sysdeps/x86/hp-timing.h: New file.
1787 * sysdeps/x86/init-arch.h: Include <isa.h>.
1788
1789 2018-10-17 Joseph Myers <joseph@codesourcery.com>
1790
1791 * math/libm-test-pow.inc (pow_test_data): Do not allow
1792 divide-by-zero exception for pow(+/- 0, -Inf).
1793
1794 2018-10-17 Zack Weinberg <zackw@panix.com>
1795
1796 * manual/job.texi (Job Control is Optional): Remove node, as
1797 job control has not been optional in quite some time.
1798 (Job Control): Mention briefly that systems older than
1799 POSIX.1-2001 might not support job control.
1800 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
1801 defined on systems conforming to POSIX.1-2001.
1802
1803 2018-10-17 Arjun Shankar <arjun@redhat.com>
1804
1805 [BZ #22062]
1806 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
1807 indentation.
1808 * (__gconv_read_conf): Mark function static.
1809 * (once): New static variable.
1810 * (__gconv_load_conf): New function.
1811 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
1812 * iconv/gconv_db.c (once): Remove static variable.
1813 * (__gconv_compare_alias): Use __gconv_load_conf instead of
1814 __gconv_read_conf.
1815 * (__gconv_find_transform): Likewise.
1816 * iconv/tst-iconv-mt.c: New test.
1817 * iconv/Makefile: Add tst-iconv_mt.
1818
1819 2018-10-17 Joseph Myers <joseph@codesourcery.com>
1820
1821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1822 bits/shm-pad.h.
1823 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
1824 (shmatt_t): Define as __syscall_ulong_t.
1825 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
1826 and [__SHM_PAD_AFTER_TIME].
1827 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
1828 Define shm_segsz and associated padding based on
1829 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
1830 Use __syscall_ulong_t instead of unsigned long int.
1831 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
1832 unsigned long int.
1833 [__USE_MISC] (struct shm_info): Likewise.
1834 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
1835 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
1836 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
1837 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
1838 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
1839 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
1840 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
1841 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1842 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1843 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1844 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1845
1846 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1847 bits/shmlba.h.
1848 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
1849 (SHMLBA): Remove macro.
1850 (__getpagesize): Remove function declaration.
1851 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
1852 <bits/shmlba.h>.
1853 (SHMLBA): Remove macro.
1854 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
1855 <bits/shmlba.h>.
1856 (SHMLBA): Remove macro.
1857 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
1858 <bits/shmlba.h>.
1859 (SHMLBA): Remove macro.
1860 (__getpagesize): Remove function declaration.
1861 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
1862 <bits/shmlba.h>.
1863 (SHMLBA): Remove macro.
1864 (__getshmlba): Remove function declaration.
1865 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
1866 (SHMLBA): Remove macro.
1867 (__getpagesize): Remove function declaration.
1868 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
1869 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
1870 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1871 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
1872 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
1873 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
1874 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
1875 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
1876 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
1877 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
1878
1879 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
1880
1881 [BZ #23275]
1882 * nptl/tst-mutex10.c: New File.
1883 * nptl/Makefile (tests): Add tst-mutex10.
1884 (tst-mutex10-ENV): New variable.
1885 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
1886 Ensure that elision path is used if elision is available.
1887 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
1888 Likewise.
1889 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
1890 Likewise.
1891 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
1892 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
1893 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
1894 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
1895 Likewise.
1896 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
1897 (__pthread_mutex_cond_lock_adjust): Likewise.
1898 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1899 Likewise.
1900 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
1901 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1902 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1903 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
1904 Add comments.
1905 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
1906 Use atomic_load_relaxed and atomic_store_relaxed.
1907 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
1908 Use atomic_store_relaxed.
1909
1910 2018-10-17 Andreas Schwab <schwab@suse.de>
1911
1912 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
1913 * crypt/badsalttest.c (TIMEOUT): Likewise.
1914 * crypt/sha256c-test.c (TIMEOUT): Likewise.
1915 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
1916 * io/test-lfs.c (TIMEOUT): Likewise.
1917 * libio/tst-atime.c (TIMEOUT): Likewise.
1918 * localedata/tst-leaks.c (TIMEOUT): Likewise.
1919 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
1920 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
1921 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
1922 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
1923 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
1924 * nptl/tst-cond11.c (TIMEOUT): Likewise.
1925 * nptl/tst-cond14.c (TIMEOUT): Likewise.
1926 * nptl/tst-cond15.c (TIMEOUT): Likewise.
1927 * nptl/tst-cond24.c (TIMEOUT): Likewise.
1928 * nptl/tst-cond25.c (TIMEOUT): Likewise.
1929 * nptl/tst-kill2.c (TIMEOUT): Likewise.
1930 * nptl/tst-kill3.c (TIMEOUT): Likewise.
1931 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
1932 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
1933 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
1934 * nptl/tst-once2.c (TIMEOUT): Likewise.
1935 * nptl/tst-once3.c (TIMEOUT): Likewise.
1936 * nptl/tst-once4.c (TIMEOUT): Likewise.
1937 * nptl/tst-robust8.c (TIMEOUT): Likewise.
1938 * nptl/tst-robust9.c (TIMEOUT): Likewise.
1939 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
1940 * nptl/tst-sem14.c (TIMEOUT): Likewise.
1941 * nptl/tst-sem6.c (TIMEOUT): Likewise.
1942 * nptl/tst-signal3.c (TIMEOUT): Likewise.
1943 * nptl/tst-spin4.c (TIMEOUT): Likewise.
1944 * nptl/tst-tls3.c (TIMEOUT): Likewise.
1945 * nptl/tst-tls4.c (TIMEOUT): Likewise.
1946 * posix/tst-chmod.c (TIMEOUT): Likewise.
1947 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
1948 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
1949 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
1950 * posix/tst-regex2.c (TIMEOUT): Likewise.
1951 * posix/tst-waitid.c (TIMEOUT): Likewise.
1952 * rt/tst-aio.c (TIMEOUT): Likewise.
1953 * rt/tst-aio10.c (TIMEOUT): Likewise.
1954 * rt/tst-aio4.c (TIMEOUT): Likewise.
1955 * rt/tst-aio5.c (TIMEOUT): Likewise.
1956 * rt/tst-aio6.c (TIMEOUT): Likewise.
1957 * rt/tst-aio64.c (TIMEOUT): Likewise.
1958 * rt/tst-aio7.c (TIMEOUT): Likewise.
1959 * rt/tst-aio9.c (TIMEOUT): Likewise.
1960 * rt/tst-clock.c (TIMEOUT): Likewise.
1961 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
1962 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
1963 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
1964 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
1965 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
1966 * rt/tst-timer4.c (TIMEOUT): Likewise.
1967 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
1968 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
1969 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
1970 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
1971 * time/tst-ftime.c (TIMEOUT): Likewise.
1972 * timezone/tst-tzset.c (TIMEOUT): Likewise.
1973
1974 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1975
1976 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
1977 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
1978 for thunderX2.
1979
1980 2018-10-15 Joseph Myers <joseph@codesourcery.com>
1981
1982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1983 bits/sem-pad.h.
1984 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
1985 instead of <bits/wordsize.h>.
1986 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
1987 and [__SEM_PAD_AFTER_TIME].
1988 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
1989 __syscall_ulong_t instead of unsigned long int.
1990 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
1991 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
1992 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
1993 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
1994 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
1995 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
1996 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
1997 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
1998 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1999 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2000 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2001
2002 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
2003
2004 regex: simplify by using intprops.h
2005 [BZ#23744]
2006 * posix/regex_internal.h [_LIBC]: Include intprops.h.
2007 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
2008 intprops.h defines them.
2009
2010 regex: __builtin_expect → __glibc_unlikely
2011 [BZ#23744]
2012 This refactoring was prompted by a problem when the regex code is
2013 used as part of Gnulib and when the builder’s compiler does not grok
2014 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
2015 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
2016 Although this refactoring does not fix the problem directly,
2017 we might as well have Gawk use the now-preferred glibc style for when
2018 __builtin_expect is unavailable.
2019 * posix/regex_internal.h (BE): Remove.
2020 All uses replaced by __glibc_unlikely or __glibc_likely.
2021
2022 2018-10-11 Joseph Myers <joseph@codesourcery.com>
2023
2024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2025 bits/msq-pad.h.
2026 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
2027 instead of <bits/wordsize.h>.
2028 (msgqnum_t): Define as __syscall_ulong_t.
2029 (msglen_t): Likewise.
2030 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
2031 and [__MSQ_PAD_AFTER_TIME].
2032 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
2033 __syscall_ulong_t instead of unsigned long int.
2034 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
2035 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
2036 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
2037 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
2038 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
2039 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
2040 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
2041 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
2042 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2043 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2044 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2045
2046 2018-10-10 Joseph Myers <joseph@codesourcery.com>
2047
2048 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
2049 (struct shmid_ds): Condition padding after time fields on
2050 [__WORDSIZE == 32].
2051 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
2052 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
2053 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2054
2055 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
2056 (struct semid_ds): Condition padding after time fields on
2057 [__WORDSIZE == 32].
2058 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
2059 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
2060 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
2061 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2062
2063 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
2064 (struct msqid_ds): Condition padding after time fields on
2065 [__WORDSIZE == 32].
2066 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
2067 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
2068 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
2069 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2070
2071 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2072
2073 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
2074
2075 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2076
2077 * libio/tst-readline.c (TIMEOUT): Define.
2078
2079 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
2080
2081 mktime fix for Gnulib + coreutils
2082 [BZ#23745]
2083 This fix affects only Gnulib. Problem discovered when
2084 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
2085 * time/mktime.c:
2086 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
2087 Do not define since it is not used. Defining an unused static
2088 function prompts a warning from GCC when Coreutils is configured
2089 with --enable-gcc-warnings.
2090
2091 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2092
2093 * benchtests/scripts/compare_bench.py (main): set float type on
2094 threshold argument.
2095
2096 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
2097
2098 [BZ #23740]
2099 * localedata/locales/kl_GL (mon): Update, the relative case.
2100 (alt_mon): Add, fill with month names in the nominative case.
2101 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
2102 (d_fmt): Set to "%b %d %Y".
2103
2104 2018-10-04 Joseph Myers <joseph@codesourcery.com>
2105
2106 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
2107 <bits/mman-linux.h>.
2108 (PROT_READ): Don't define here.
2109 (PROT_WRITE): Likewise.
2110 (PROT_EXEC): Likewise.
2111 (PROT_NONE): Likewise.
2112 (PROT_GROWSDOWN): Likewise.
2113 (PROT_GROWSUP): Likewise.
2114 (MAP_SHARED): Likewise.
2115 (MAP_PRIVATE): Likewise.
2116 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
2117 [__USE_MISC] (MAP_FILE): Likewise.
2118 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
2119 [__USE_MISC] (MAP_ANON): Likewise.
2120 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
2121 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
2122 (MCL_CURRENT): Likewise.
2123 (MCL_FUTURE): Likewise.
2124 (MCL_ONFAULT): Likewise.
2125 [__USE_MISC] (MADV_NORMAL): Likewise.
2126 [__USE_MISC] (MADV_RANDOM): Likewise.
2127 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
2128 [__USE_MISC] (MADV_WILLNEED): Likewise.
2129 [__USE_MISC] (MADV_DONTNEED): Likewise.
2130 [__USE_MISC] (MADV_FREE): Likewise.
2131 [__USE_MISC] (MADV_REMOVE): Likewise.
2132 [__USE_MISC] (MADV_DONTFORK): Likewise.
2133 [__USE_MISC] (MADV_DOFORK): Likewise.
2134 [__USE_MISC] (MADV_HWPOISON): Likewise.
2135 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
2136 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
2137 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
2138 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
2139 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
2140 (__MAP_ANONYMOUS): New macro.
2141 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
2142 <bits/mman-linux.h> inclusion.
2143 (MAP_FIXED): Likewise.
2144 (MS_SYNC): Likewise.
2145 (MS_ASYNC): Likewise.
2146 (MS_INVALIDATE): Likewise.
2147 [__USE_MISC] (MADV_MERGEABLE): Likewise.
2148 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
2149 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
2150 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
2151 [__USE_MISC] (MADV_DONTDUMP): Likewise.
2152 [__USE_MISC] (MADV_DODUMP): Likewise.
2153 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
2154 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
2155
2156 [BZ #23735]
2157 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
2158 Define.
2159 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
2160 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
2161 Add test-nldbl-redirect.
2162 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
2163 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
2164 $(objpfx)libnldbl_nonshared.a.
2165
2166 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
2167
2168 * support/support.h (support_objdir_elf_ldso): New variable.
2169 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
2170 * support/Makefile (CFLAGS-support_paths.c): Add definition
2171 for OBJDIR_ELF_LDSO_PATH.
2172 * support/test-container.c (main): Search for the ld.so
2173 which is also used by the testsuite.
2174
2175 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
2176
2177 [BZ #20209]
2178 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
2179 should be "sap" rather than "sab".
2180 (day): Fix spelling of Sunday, should be "sapaat" rather than
2181 "sabaat".
2182
2183 2018-10-02 Joseph Myers <joseph@codesourcery.com>
2184
2185 * math/libm-test-fma.inc (fma_test_data): Add more tests.
2186
2187 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
2188
2189 [BZ #19444]
2190 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
2191 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
2192 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
2193
2194 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2195
2196 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
2197
2198 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
2199
2200 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
2201 Add -mrtm.
2202 (CFLAGS-elision-unlock.c): Likewise.
2203 (CFLAGS-elision-timed.c): Likewise.
2204 (CFLAGS-elision-trylock.c): Likewise.
2205 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
2206
2207 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2208
2209 [BZ #21037]
2210 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
2211 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
2212 new fd_to_filename interface.
2213 * libio/freopen64.c (freopen64): Likewise.
2214 * libio/tst-memstream.h: New file.
2215 * libio/tst-memstream4.c: Likewise.
2216 * libio/tst-wmemstream4.c: Likewise.
2217 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
2218 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
2219 and remove internal dynamic allocation.
2220
2221 2018-10-01 Joseph Myers <joseph@codesourcery.com>
2222
2223 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
2224 (MREMAP_MAYMOVE): Do not define here.
2225 [__USE_GNU] (MREMAP_FIXED): Likewise.
2226 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
2227 (MREMAP_MAYMOVE): Define here instead.
2228 [__USE_GNU] (MREMAP_FIXED): Likewise.
2229 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
2230 (MREMAP_MAYMOVE): Remove.
2231 [__USE_GNU] (MREMAP_FIXED): Likewise.
2232
2233 2018-09-28 Joseph Myers <joseph@codesourcery.com>
2234
2235 * math/fromfp.h: Do not include <math_private.h>.
2236 * math/s_cacosh_template.c: Likewise.
2237 * math/s_casin_template.c: Likewise.
2238 * math/s_casinh_template.c: Likewise.
2239 * math/s_ccos_template.c: Likewise.
2240 * math/s_cproj_template.c: Likewise.
2241 * math/s_fdim_template.c: Likewise.
2242 * math/s_fmaxmag_template.c: Likewise.
2243 * math/s_fminmag_template.c: Likewise.
2244 * math/s_iseqsig_template.c: Likewise.
2245 * math/s_ldexp_template.c: Likewise.
2246 * math/s_nextdown_template.c: Likewise.
2247 * math/w_log1p_template.c: Likewise.
2248 * math/w_scalbln_template.c: Likewise.
2249 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
2250 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
2251 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
2252 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
2253 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
2254 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
2255 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
2256 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
2257 * sysdeps/i386/fpu/s_atanl.c: Likewise.
2258 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
2259 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
2260 * sysdeps/i386/fpu/s_fdim.c: Likewise.
2261 * sysdeps/i386/fpu/s_logbl.c: Likewise.
2262 * sysdeps/i386/fpu/s_rintl.c: Likewise.
2263 * sysdeps/i386/fpu/s_significandl.c: Likewise.
2264 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
2265 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
2266 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2267 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2268 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
2269 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
2270 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2271 * sysdeps/ieee754/k_standardf.c: Likewise.
2272 * sysdeps/ieee754/k_standardl.c: Likewise.
2273 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2274 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2275 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
2276 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2277 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2278 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2279 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2280 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
2281 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
2282 * sysdeps/ieee754/s_signgam.c: Likewise.
2283 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2284 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
2285 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
2286 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
2287 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
2288 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
2289 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
2290 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
2291 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
2292 * sysdeps/riscv/rvd/s_finite.c: Likewise.
2293 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
2294 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
2295 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
2296 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
2297 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
2298 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
2299 * sysdeps/riscv/rvf/fegetround.c: Likewise.
2300 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
2301 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
2302 * sysdeps/riscv/rvf/fesetround.c: Likewise.
2303 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
2304 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
2305 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
2306 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
2307 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
2308 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
2309 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
2310 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
2311 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
2312 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
2313 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
2314 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
2315 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
2316 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
2317 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
2318 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
2319 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
2320 <math_private.h>.
2321 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
2322
2323 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
2324
2325 [BZ #23716]
2326 * sysdeps/i386/dl-cet.c: Removed.
2327 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
2328 prototype.
2329 (_dl_runtime_profile_shstk): Likewise.
2330 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
2331 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
2332
2333 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2334
2335 [BZ #23579]
2336 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
2337 do_test_with_invalid_iov): New tests.
2338 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
2339 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
2340 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
2341 errno is ENOSYS.
2342 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
2343 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
2344 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
2345
2346 2018-09-27 Joseph Myers <joseph@codesourcery.com>
2347
2348 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
2349 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
2350 (MATH_REDIRECT_BINARY_ARGS): New macro.
2351 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
2352 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
2353 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
2354 header inclusion.
2355 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
2356 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2357 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
2358 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2359 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2360 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2361 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2363 Likewise.
2364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
2365 Likewise.
2366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
2368 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
2369 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
2370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
2371 Likewise.
2372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
2373 Likewise.
2374 * sysdeps/generic/math_private_calls.h
2375 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
2376 Do not declare and define as an inline function.
2377 * math/divtc3.c (__divtc3): Use copysign functions instead of
2378 __copysign variants.
2379 * math/multc3.c (__multc3): Likewise.
2380 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
2381 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
2382 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2383 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
2384 Likewise.
2385 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2386 (__ieee754_yn): Likewise.
2387 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2388 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
2389 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
2390 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2391 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
2392 (__sin): Likewise.
2393 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
2394 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2395 Likewise.
2396 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2397 Likewise.
2398 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2399 Likewise.
2400 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2401 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
2402 Likewise.
2403 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2404 (__ieee754_ynf): Likewise.
2405 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
2406 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2407 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
2408 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
2409 Likewise.
2410 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2411 (__ieee754_ynl): Likewise.
2412 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2413 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2414 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2415 Likewise.
2416 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2417 (__ieee754_ynl): Likewise.
2418 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
2419 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2420 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2421 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2422 Likewise.
2423 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2424 (__ieee754_ynl)
2425 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
2426 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2427 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
2428 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
2429 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2430
2431 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
2432 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
2433 using MATH_REDIRECT.
2434 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
2435 header inclusion.
2436 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
2437 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2438 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2439 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
2440 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2441 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2442 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
2444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
2445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
2446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
2447 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
2448 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
2449 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2450 (round): Redirect to __round.
2451 (__roundl): Call round instead of __round.
2452 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
2453 Remove macro.
2454 [_ARCH_PWR5X] (__roundf): Likewise.
2455 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
2456 functions instead of __round variants.
2457 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
2458 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
2459 Likewise.
2460 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
2461 Likewise.
2462 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
2463 Likewise.
2464 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
2465 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
2466 __lroundl.
2467 (__ieee754_expl): Call roundl instead of __roundl.
2468
2469 2018-09-27 Andreas Schwab <schwab@suse.de>
2470
2471 [BZ #23717]
2472 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
2473 (do_test): Make st1 static.
2474
2475 2018-09-26 Andreas Schwab <schwab@suse.de>
2476
2477 [BZ #23707]
2478 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
2479 * elf/Makefile (tests): Add tst-unwind-ctor.
2480 (modules-names): Add tst-unwind-ctor-lib.
2481 ($(objpfx)tst-unwind-ctor): Depend on
2482 $(objpfx)tst-unwind-ctor-lib.so.
2483
2484 2018-09-26 Joseph Myers <joseph@codesourcery.com>
2485
2486 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
2487 file. Most contents moved from ....
2488 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
2489 and include <bits/mman-map-flags-generic.h>.
2490 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2491 (sysdep_headers): Add bits/mman-map-flags-generic.h.
2492 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
2493 <bits/mman-map-flags-generic.h>.
2494 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
2495 macros defined in <bits/mman-map-flags-generic.h>.
2496 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
2497 <bits/mman-map-flags-generic.h>.
2498 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
2499 defined in <bits/mman-map-flags-generic.h>.
2500
2501 2018-09-26 Andreas Schwab <schwab@suse.de>
2502
2503 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
2504 output.
2505
2506 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
2507 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2508 Fangrui Song <maskray@google.com>
2509
2510 [BZ #20480]
2511 * config.make.in (have-textrel_ifunc): New define.
2512 * configure.ac: Add check if linker supports textrel relocation with
2513 ifunc.
2514 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
2515 tst-ifunc-textrel.
2516 (CFLAGS-tst-ifunc-textrel.c): New rule.
2517 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
2518 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
2519 * elf/tst-ifunc-textrel.c: New file.
2520
2521 2018-09-25 Joseph Myers <joseph@codesourcery.com>
2522
2523 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
2524 <bits/procfs-prregset.h>.
2525 (prgregset_t): Define using __prgregset_t.
2526 (prfpregset_t): Define using __prfpregset_t.
2527 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2528 (sysdep_headers): Add bits/procfs-prregset.h.
2529 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
2530 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
2531 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
2532 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
2533
2534 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
2535 <bits/procfs-id.h> and <bits/procfs-extra.h>.
2536 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
2537 pr_uid and pr_gid.
2538 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2539 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
2540 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
2541 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
2542 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
2543 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
2544 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
2545 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
2546 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
2547 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
2548 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
2549 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
2550 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
2551 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
2552 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
2553 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
2554 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
2555 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
2556 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
2557 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
2558 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
2559 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
2560 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2561 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
2562
2563 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
2564 AArch64 version. Include <bits/procfs.h>.
2565 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2566 (sysdep_headers): Add bits/procfs.h.
2567 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
2568 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
2569 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
2570 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
2571 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
2572 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
2573 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
2574 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
2575 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
2576 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
2577 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
2578 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
2579 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
2580 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2581 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
2582 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2583 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
2584
2585 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2586
2587 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
2588 Use libsupport.
2589
2590 2018-09-25 Arjun Shankar <arjun@redhat.com>
2591
2592 * iconv/gconv_int.h (__gconv_path_elem): Remove.
2593 (__gconv_max_path_elem_len): Likewise.
2594 (__gconv_nmodules): Likewise.
2595 (__gconv_get_path): Likewise.
2596 (path_elem): Move to ...
2597 * iconv/gconv_conf.c: ... here.
2598 (__gconv_get_path): Mark function static.
2599 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
2600 * iconv/gconv_open.c: ... here.
2601
2602 2018-09-24 Andreas Schwab <schwab@suse.de>
2603
2604 * scripts/haveversions.awk: New file.
2605 * Makerules ($(common-objpfx)Versions.def)
2606 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
2607 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
2608 Move rules ...
2609 * Makeconfig ($(common-objpfx)Versions.def)
2610 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
2611 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
2612 ... here.
2613 ($(common-objpfx)Versions.mk): New rule. Include it.
2614 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
2615 Emit error if build-obsolete-nsl = yes.
2616 * manual/install.texi (Configuring and compiling): Describe
2617 --enable-obsolete-nsl as unavaiable after version 2.28.
2618 * INSTALL: Regenerate.
2619
2620 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2621
2622 * NEWS: Add note about new TLE support on powerpc64le.
2623 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
2624 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
2625 __ununsed1.
2626 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
2627 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
2628 * sysdeps/powerpc/powerpc32/sysdep.h,
2629 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
2630 ABORT_TRANSACTION): Remove macros.
2631 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
2632 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
2633 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
2634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
2635 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2636 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
2637 usage.
2638 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
2639
2640 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
2641
2642 [BZ #10425]
2643 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
2644 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
2645 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
2646 which is the same as in it_IT.
2647 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
2648 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
2649
2650 2018-09-20 Joseph Myers <joseph@codesourcery.com>
2651
2652 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
2653 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
2654 using MATH_REDIRECT.
2655 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
2656 header inclusion.
2657 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
2658 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2659 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
2660 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2661 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2662 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
2664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
2665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
2666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
2667 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
2668 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
2669 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2670 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2671 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
2672 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
2673 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
2674 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2675 (ceil): Redirect to __ceil.
2676 (floor): Redirect to __floor.
2677 (trunc): Redirect to __trunc.
2678 (__truncl): Call trunc instead of __trunc.
2679 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
2680 Remove macro.
2681 [_ARCH_PWR5X] (__truncf): Likewise.
2682 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
2683 trunc functions instead of __trunc variants.
2684 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
2685 Likewise.
2686 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
2687 Likewise.
2688 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2689 Likewise.
2690 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2691 Likewise.
2692
2693 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
2694 [__i586__ || __pentium__].
2695 [__i486__]: Handle explicitly.
2696 (HAS_CPUID): Define to 1 if above macros are undefined.
2697 (HAS_I586): Likewise.
2698 (HAS_I686): Likewise.
2699
2700 2018-09-20 Florian Weimer <fweimer@redhat.com>
2701
2702 * misc/tst-gethostid.c: New file.
2703 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
2704 (tst-gethostid): Link with -ldl.
2705
2706 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
2707
2708 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
2709 value from gethostbyname_r.
2710
2711 2018-09-19 Carlos O'Donell <carlos@redhat.com>
2712
2713 * stdlib/tst-setcontext9.c (f1): Rename to...
2714 (f1a): ... this.
2715 (f1b): New function implementing lower half of f1 in alternate stack.
2716
2717 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
2718
2719 Fix mktime localtime offset confusion
2720 [BZ #23603]
2721 * include/time.h (__mktime_internal): The localtime offset is now
2722 of type long int instead of time_t. This is the longstanding type
2723 in glibc, and it is more than enough to represent difference
2724 between localtime and gmtime even if it is 32 bits and time_t is
2725 64. Changing it now will let us avoid an unnecessary change when
2726 time_t is widened to 64 bits on 32-bit platforms.
2727 * time/mktime-internal.h (mktime_offset_t): Now long int.
2728
2729 Merge mktime, timegm from upstream Gnulib
2730 [BZ #23603][BZ #16346]
2731 This fixes some obscure problems with integer overflow.
2732 Although it looks scary, it is almost all a byte-for-byte copy
2733 from Gnulib, and the Gnulib code has been tested reasonably well.
2734 * include/intprops.h: New file, copied from Gnulib.
2735 * include/verify.h, time/mktime-internal.h:
2736 New tiny files, simplified from Gnulib.
2737 * time/mktime.c: Copy from Gnulib. This has the following changes:
2738 Do not include config.h if DEBUG_MKTIME is nonzero.
2739 Include stdbool.h, intprops.h, verify.h.
2740 Include string.h only if needed.
2741 Include stdlib.h on MS-Windows.
2742 Include mktime-internal.h.
2743 (DEBUG_MKTIME): Default to 0, and simplify later uses.
2744 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
2745 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
2746 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
2747 simplify later conditionals; default the others to zero. Use
2748 these conditionals to express only the code needed on the current
2749 platform. In uses of these conditionals, explicitly spell out how
2750 _LIBC affects things, so it’s easier to review from a glibc
2751 viewpoint.
2752 (WRAPV): Remove; no longer needed now that we have
2753 systematic overflow checking.
2754 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
2755 compartmentalize tzset issues. Move system-dependent tzsettish
2756 code here from mktime.
2757 (verify): Remove; now done by verify.h. All uses changed.
2758 (long_int): Use a more-conservative definition, to avoid
2759 integer overflow.
2760 (SHR): Remove, replacing with ...
2761 (shr): New function, which means we needn’t worry about side
2762 effects in args, and conversion analysis is simpler.
2763 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
2764 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
2765 (time_t_avg, time_t_add_ok): Remove.
2766 (mktime_min, mktime_max): New constants.
2767 (leapyear, isdst_differ): Use bool for booleans.
2768 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
2769 Use long_int, not time_t, for mktime differences.
2770 (long_int_avg): New function, replacing time_t_avg.
2771 INT_ADD_WRAPV replaces time_t_add_ok.
2772 (guess_time_tm): 6th arg is now long_int, not time_t const *.
2773 All uses changed.
2774 (convert_time): New function.
2775 (ranged_convert): Use it.
2776 (__mktime_internal): Last arg now points to mktime_offset_t, not
2777 time_t. All uses changed. This is a no-op on glibc, where
2778 mktime_offset_t is always time_t. Use int, not time_t, for UTC
2779 offset guess. Directly check for integer overflow instead of
2780 using a heuristic that works only 99.9...% of the time.
2781 Access *OFFSET only once, to avoid an unlikely race if the
2782 compiler delays a load and if this cascades into a signed integer
2783 overflow.
2784 (mktime): Move tzsettish code to my_tzset, and move
2785 localtime_offset to within mktime so that it doesn’t
2786 need a separate ifdef.
2787 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
2788 instead of localtime.
2789 * time/timegm.c: Copy from Gnulib. This has the following changes:
2790 Include mktime-internal.h.
2791 [!_LIBC]: Include config.h and time.h. Do not include
2792 timegm.h or time_r.h. Make __mktime_internal a macro,
2793 and include mktime-internal.h to get its declaration.
2794 (timegm): Temporary is now mktime_offset_t, not time_t.
2795 This affects only Gnulib.
2796
2797 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
2798
2799 [BZ #23637]
2800 * string/test-strstr.c (pr23637): New function.
2801 (test_main): Add tests with longer needles.
2802 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
2803 * string/strstr.c (AVAILABLE): Likewise.
2804
2805 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
2806
2807 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
2808
2809 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
2810
2811 * NEWS: Mention pow improvements.
2812 * math/Makefile (type-double-routines): Add e_pow_log_data.
2813 * sysdeps/generic/math_private.h (__exp1): Remove.
2814 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
2815 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
2816 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
2817 contraction.
2818 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
2819 (exp_inline): Remove.
2820 (__ieee754_exp): Only single double input is handled.
2821 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
2822 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
2823 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
2824 (__pow_log_data): Define.
2825 * sysdeps/ieee754/dbl-64/upow.h: Remove.
2826 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
2827 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
2828 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
2829 contraction.
2830 (CFLAGS-e_pow-fma4.c): Likewise.
2831
2832 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
2833
2834 Simplify tzfile fstat failure code
2835 [BZ #21716]
2836 * time/tzfile.c (__tzfile_read): Simplify slightly.
2837
2838 Fix tzfile low-memory assertion failure
2839 [BZ #21716]
2840 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
2841 when registering time zone abbreviations.
2842
2843 2018-09-18 Joseph Myers <joseph@codesourcery.com>
2844
2845 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
2846 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
2847 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
2848 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
2849 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
2850 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
2851 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
2852 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2853 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2854
2855 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
2856 __ceil.
2857 (__ceill): Call ceil instead of __ceil.
2858 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
2859 __floor.
2860 (__floorl): Call floor instead of __floor.
2861
2862 2018-09-17 Joseph Myers <joseph@codesourcery.com>
2863
2864 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
2865 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
2866 using MATH_REDIRECT.
2867 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
2868 header inclusion.
2869 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
2870 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2871 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2872 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
2873 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2874 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2875 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2876 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
2877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
2878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
2879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
2880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
2881 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
2882 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
2883 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2884 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2885 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
2886 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
2887 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
2888 Remove macro.
2889 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
2890 functions instead of __ceil variants.
2891 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
2892 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
2893 Likewise.
2894 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
2895 Likewise.
2896 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
2897 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
2898 Likewise.
2899 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
2900 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2901
2902 [BZ #21286]
2903 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
2904 constant.
2905 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
2906 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
2907 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
2908 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
2909 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
2910 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
2911 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
2912 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
2913 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
2914 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
2915 (ILL_BADIADDR): Remove constant.
2916 (TRAP_BRANCH): Likewise.
2917 (TRAP_HWBKPT): Likewise.
2918
2919 2018-09-14 Joseph Myers <joseph@codesourcery.com>
2920
2921 [BZ #23656]
2922 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
2923 Remove [_MIPS_SIM = _ABIN32] conditional case.
2924 (struct elf_prpsinfo): Likewise.
2925
2926 [BZ #23649]
2927 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
2928 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
2929 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
2930 Likewise.
2931 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
2932 elf_prpsinfo): Likewise.
2933 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
2934 elf_prpsinfo): Likewise.
2935 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
2936 Likewise.
2937
2938 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
2939 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
2940 using MATH_REDIRECT.
2941 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
2942 header inclusion.
2943 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
2944 * sysdeps/alpha/fpu/s_rint.c: Likewise.
2945 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
2946 * sysdeps/i386/fpu/s_rintl.c: Likewise.
2947 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2948 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2949 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
2950 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2951 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2952 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2953 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
2954 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
2955 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
2956 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
2957 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
2958 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2959 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2960 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
2961 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
2962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
2963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
2964 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
2965 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
2966 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
2967 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
2968 * sysdeps/x86_64/fpu/math_private.h: Remove file.
2969 * math/e_scalb.c (invalid_fn): Use rint functions instead of
2970 __rint variants.
2971 * math/e_scalbf.c (invalid_fn): Likewise.
2972 * math/e_scalbl.c (invalid_fn): Likewise.
2973 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
2974 Likewise.
2975 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
2976 Likewise.
2977 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
2978 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
2979 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
2980 Likewise.
2981 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2982 Likewise.
2983 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2984 Likewise.
2985 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
2986 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
2987
2988 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
2989 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
2990 New macro.
2991 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
2992 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
2993 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
2994 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
2995 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
2996 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
2997 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
2998 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
2999 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
3000 && !NO_MATH_REDIRECT] (floor): Likewise.
3001 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
3002 header inclusion.
3003 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
3004 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3005 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3006 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
3007 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3008 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3009 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3010 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
3011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
3012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
3013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
3014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
3015 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
3016 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
3017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3018 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3019 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
3020 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
3021 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
3022 Remove macro.
3023 [_ARCH_PWR5X] (__floorf): Likewise.
3024 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
3025 inline function.
3026 [__SSE4_1__] (__floorf): Likewise.
3027 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
3028 instead of __floor variants.
3029 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
3030 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
3031 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
3032 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
3033 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
3034 * math/w_tgamma_compat.c (__tgamma): Likewise.
3035 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
3036 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
3037 * math/w_tgammal_compat.c (__tgammal): Likewise.
3038 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
3039 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3040 Likewise.
3041 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
3042 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
3043 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
3044 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3045 Likewise.
3046 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
3047 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
3048 Likewise.
3049 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
3050 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
3051 Likewise.
3052 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3053 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
3054 Likewise.
3055 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3056 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3057 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
3058 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
3059 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
3060 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3061
3062 2018-09-12 Joseph Myers <joseph@codesourcery.com>
3063
3064 * elf/Makefile (modules-names-tests): New variable.
3065
3066 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
3067
3068 * NEWS: Mention log2 improvements.
3069 * math/Makefile (type-double-routines): Add e_log2_data.
3070 * sysdeps/i386/fpu/e_log2_data.c: New file.
3071 * sysdeps/ia64/fpu/e_log2_data.c: New file.
3072 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
3073 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
3074 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
3075 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
3076 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
3077
3078 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
3079
3080 * NEWS: Mention log improvement.
3081 * math/Makefile (type-double-routines): Add e_log_data.
3082 * sysdeps/i386/fpu/e_log_data.c: New file.
3083 * sysdeps/ia64/fpu/e_log_data.c: New file.
3084 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
3085 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
3086 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
3087 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
3088 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
3089 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
3090
3091 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
3092 Xuepeng Guo <xuepeng.guo@intel.com>
3093
3094 [BZ #23606]
3095 * sysdeps/i386/start.S: Include <sysdep.h>
3096 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
3097 enabled. Add cfi_undefined (eip).
3098
3099 2018-09-11 Joseph Myers <joseph@codesourcery.com>
3100
3101 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
3102 (MOVQ): Likewise.
3103 (EXTRACT_WORDS64): Likewise.
3104 (INSERT_WORDS64): Likewise.
3105 (GET_FLOAT_WORD): Likewise.
3106 (SET_FLOAT_WORD): Likewise.
3107
3108 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
3109 argument.
3110 (Config.build_gcc): Use --disable-libsanitizer for first GCC
3111 build, but not for second build if --full-gcc. Use
3112 --enable-languages=all for second build if --full-gcc.
3113 (get_parser): Add --full-gcc option.
3114 (main): Update call to Context.
3115
3116 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
3117
3118 [BZ #10797]
3119 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
3120 Single Quotation Mark).
3121 (thousands_sep): Likewise.
3122 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
3123 * localedata/locales/it_IT (thousands_sep): Use ".".
3124 (grouping): Use "3;3".
3125
3126 2018-09-10 Joseph Myers <joseph@codesourcery.com>
3127
3128 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3129 x86_64 and i686 configs using --enable-obsolete-rpc
3130 --enable-obsolete-nsl.
3131
3132 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
3133
3134 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3135
3136 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
3137
3138 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3139 Increment size of new_argv by one.
3140
3141 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
3142
3143 [BZ #17426]
3144 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
3145 * localedata/locales/ar_IN (d_fmt): Likewise.
3146 * localedata/locales/bhb_IN (d_fmt): Likewise.
3147 * localedata/locales/bho_IN (d_fmt): Likewise.
3148 * localedata/locales/bn_BD (d_fmt): Likewise.
3149 * localedata/locales/bn_IN (d_fmt): Likewise.
3150 * localedata/locales/doi_IN (d_fmt): Likewise.
3151 * localedata/locales/gu_IN (d_fmt): Likewise.
3152 * localedata/locales/hi_IN (d_fmt): Likewise.
3153 * localedata/locales/hne_IN (d_fmt): Likewise.
3154 * localedata/locales/kn_IN (d_fmt): Likewise.
3155 * localedata/locales/mag_IN (d_fmt): Likewise.
3156 * localedata/locales/mai_IN (d_fmt): Likewise.
3157 * localedata/locales/mjw_IN (d_fmt): Likewise.
3158 * localedata/locales/ml_IN (d_fmt): Likewise.
3159 * localedata/locales/mni_IN (d_fmt): Likewise.
3160 * localedata/locales/mr_IN (d_fmt): Likewise.
3161 * localedata/locales/pa_IN (d_fmt): Likewise.
3162 * localedata/locales/raj_IN (d_fmt): Likewise.
3163 * localedata/locales/sat_IN (d_fmt): Likewise.
3164 * localedata/locales/sd_IN (d_fmt): Likewise.
3165 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
3166 * localedata/locales/ta_IN (d_fmt): Likewise.
3167 * localedata/locales/ta_LK (d_fmt): Likewise.
3168 * localedata/locales/tcy_IN (d_fmt): Likewise.
3169 * localedata/locales/ur_IN (d_fmt): Likewise.
3170
3171 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
3172 * localedata/locales/ks_IN (d_fmt): Likewise.
3173 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
3174
3175 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
3176 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
3177 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
3178 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
3179
3180 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
3181
3182 * NEWS: Mention exp and exp2 improvements.
3183 * math/Makefile (libm-support): Remove t_exp.
3184 (type-double-routines): Add math_err and e_exp_data.
3185 * sysdeps/aarch64/libm-test-ulps: Update.
3186 * sysdeps/arm/libm-test-ulps: Update.
3187 * sysdeps/i386/fpu/e_exp_data.c: New file.
3188 * sysdeps/i386/fpu/math_err.c: New file.
3189 * sysdeps/i386/fpu/t_exp.c: Remove.
3190 * sysdeps/ia64/fpu/e_exp_data.c: New file.
3191 * sysdeps/ia64/fpu/math_err.c: New file.
3192 * sysdeps/ia64/fpu/t_exp.c: Remove.
3193 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
3194 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
3195 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
3196 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
3197 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
3198 * sysdeps/ieee754/dbl-64/math_config.h: New file.
3199 * sysdeps/ieee754/dbl-64/math_err.c: New file.
3200 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
3201 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
3202 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
3203 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
3204 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
3205 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
3206 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
3207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3209
3210 2018-09-05 Joseph Myers <joseph@codesourcery.com>
3211
3212 * sysdeps/alpha/fpu/math_private.h: Remove.
3213
3214 * sysdeps/generic/math_private.h
3215 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
3216 Move this inline function ....
3217 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
3218 * include/math.h [!_ISOMAC]: To here....
3219
3220 2018-09-04 Joseph Myers <joseph@codesourcery.com>
3221
3222 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
3223 code ....
3224 [!FE_HAVE_ROUNDING_MODES]: And this code ....
3225 * include/fenv.h [!_ISOMAC]: ... to here.
3226 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
3227 (feraiseexcept): Likewise.
3228 * math/fromfp.h: Do not include <fenv_private.h>.
3229 * math/s_cexp_template.c: Likewise.
3230 * math/s_csin_template.c: Likewise.
3231 * math/s_csinh_template.c: Likewise.
3232 * math/s_ctan_template.c: Likewise.
3233 * math/s_ctanh_template.c: Likewise.
3234 * math/s_iseqsig_template.c: Likewise.
3235 * math/w_acos_compat.c: Likewise.
3236 * math/w_acosf_compat.c: Likewise.
3237 * math/w_acosl_compat.c: Likewise.
3238 * math/w_asin_compat.c: Likewise.
3239 * math/w_asinf_compat.c: Likewise.
3240 * math/w_asinl_compat.c: Likewise.
3241 * math/w_j0_compat.c: Likewise.
3242 * math/w_j0f_compat.c: Likewise.
3243 * math/w_j0l_compat.c: Likewise.
3244 * math/w_j1_compat.c: Likewise.
3245 * math/w_j1f_compat.c: Likewise.
3246 * math/w_j1l_compat.c: Likewise.
3247 * math/w_jn_compat.c: Likewise.
3248 * math/w_jnf_compat.c: Likewise.
3249 * math/w_log10_compat.c: Likewise.
3250 * math/w_log10f_compat.c: Likewise.
3251 * math/w_log10l_compat.c: Likewise.
3252 * math/w_log2_compat.c: Likewise.
3253 * math/w_log2f_compat.c: Likewise.
3254 * math/w_log2l_compat.c: Likewise.
3255 * math/w_log_compat.c: Likewise.
3256 * math/w_logf_compat.c: Likewise.
3257 * math/w_logl_compat.c: Likewise.
3258 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3259 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3260 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3261 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3262 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3263 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3264 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3265 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3266 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3267 * sysdeps/ieee754/k_standardl.c: Likewise.
3268 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3269 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3270 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3271 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3272 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3273 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3274 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3275 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3276 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3277 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3278 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3279 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
3280 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
3281 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3282 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3283 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3284 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3285 * math/w_ilogb_template.c: Include <fenv.h> instead of
3286 <fenv_private.h>.
3287 * math/w_llogb_template.c: Likewise.
3288 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3289 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3290
3291 2018-09-03 Joseph Myers <joseph@codesourcery.com>
3292
3293 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
3294 * math/fromfp.h: Include <fenv_private.h>.
3295 * math/math-narrow.h: Likewise.
3296 * math/s_cexp_template.c: Likewise.
3297 * math/s_csin_template.c: Likewise.
3298 * math/s_csinh_template.c: Likewise.
3299 * math/s_ctan_template.c: Likewise.
3300 * math/s_ctanh_template.c: Likewise.
3301 * math/s_iseqsig_template.c: Likewise.
3302 * math/w_acos_compat.c: Likewise.
3303 * math/w_acosf_compat.c: Likewise.
3304 * math/w_acosl_compat.c: Likewise.
3305 * math/w_asin_compat.c: Likewise.
3306 * math/w_asinf_compat.c: Likewise.
3307 * math/w_asinl_compat.c: Likewise.
3308 * math/w_ilogb_template.c: Likewise.
3309 * math/w_j0_compat.c: Likewise.
3310 * math/w_j0f_compat.c: Likewise.
3311 * math/w_j0l_compat.c: Likewise.
3312 * math/w_j1_compat.c: Likewise.
3313 * math/w_j1f_compat.c: Likewise.
3314 * math/w_j1l_compat.c: Likewise.
3315 * math/w_jn_compat.c: Likewise.
3316 * math/w_jnf_compat.c: Likewise.
3317 * math/w_llogb_template.c: Likewise.
3318 * math/w_log10_compat.c: Likewise.
3319 * math/w_log10f_compat.c: Likewise.
3320 * math/w_log10l_compat.c: Likewise.
3321 * math/w_log2_compat.c: Likewise.
3322 * math/w_log2f_compat.c: Likewise.
3323 * math/w_log2l_compat.c: Likewise.
3324 * math/w_log_compat.c: Likewise.
3325 * math/w_logf_compat.c: Likewise.
3326 * math/w_logl_compat.c: Likewise.
3327 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
3328 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
3329 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
3330 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
3331 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3332 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3333 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3334 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3335 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3336 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3337 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3338 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3339 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
3340 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
3341 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3342 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
3343 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3344 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3345 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3346 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3347 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3348 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3349 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3350 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3351 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3352 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3353 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3354 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
3355 * sysdeps/ieee754/float128/float128_private.h: Likewise.
3356 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3357 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3358 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3359 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
3360 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3361 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3362 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3363 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3364 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3365 * sysdeps/ieee754/k_standardl.c: Likewise.
3366 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3367 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3368 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3369 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3370 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3371 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3372 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3373 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3374 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3375 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3376 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3377 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3378 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3379 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3380 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
3381 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3382 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3383 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
3384 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3385 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3386 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3387 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3388 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3389 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3390 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3391 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
3392 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3393 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3394 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
3395 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
3396 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
3397 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3398 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3399 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3400 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3401 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3402 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3403 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3404 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
3405 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
3406 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
3407 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
3408 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
3409 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
3410 * sysdeps/riscv/rvd/s_finite.c: Likewise.
3411 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
3412 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
3413 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
3414 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
3415 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
3416 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
3417 * sysdeps/riscv/rvf/fegetround.c: Likewise.
3418 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
3419 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
3420 * sysdeps/riscv/rvf/fesetround.c: Likewise.
3421 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
3422 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
3423 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
3424 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
3425 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
3426 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
3427 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
3428 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
3429 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
3430 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
3431 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
3432 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
3433 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
3434 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
3435 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
3436 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
3437
3438 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3439
3440 [BZ #20271]
3441 * include/stdio.h (__libc_fatal): Mention newline in comment.
3442 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
3443 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
3444 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3445 * nss/nsswitch.c (__nss_next2): Likewise.
3446 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
3447 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
3448 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
3449 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3450 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
3451 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
3452 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
3453 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
3454 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
3455 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
3456 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
3457 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3458 (__netlink_assert_response): Likewise.
3459
3460 2018-08-31 Joseph Myers <joseph@codesourcery.com>
3461
3462 * conform/glibcconform.py: New file.
3463 * conform/list-header-symbols.py: Likewise.
3464 * conform/list-header-symbols.pl: Remove.
3465 * conform/Makefile (tests-special): Only add linknamespace tests
3466 if [PYTHON].
3467 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
3468
3469 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
3470
3471 [BZ #23597]
3472 * support/Makefile (libsupport-routines): Add
3473 support_copy_file_range and xcopy_file_range.
3474 * support/support.h: Include <sys/types.h>.
3475 (support_copy_file_range): New prototype.
3476 * support/support_copy_file_range.c: New file. Copied and
3477 modified from io/copy_file_range-compat.c.
3478 * support/test-container.c (copy_one_file): Call xcopy_file_rang
3479 instead of copy_file_range.
3480 * support/xcopy_file_range.c: New file.
3481 * support/xunistd.h (xcopy_file_range): New prototype.
3482
3483 2018-08-30 Carlos O'Donell <carlos@redhat.com>
3484
3485 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
3486 xpthread_create and xpthread_join.
3487
3488 2018-08-30 Florian Weimer <fweimer@redhat.com>
3489
3490 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
3491
3492 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
3493
3494 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
3495 if malloc fails.
3496
3497 2018-08-29 Joseph Myers <joseph@codesourcery.com>
3498
3499 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
3500 and minus_oflow as non-finite.
3501
3502 2018-08-28 Joseph Myers <joseph@codesourcery.com>
3503
3504 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
3505 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
3506 moved to fenv_private.h except for ...
3507 (TOINT_INTRINSICS): Kept in math_private.h.
3508 (roundtoint): Likewise.
3509 (converttoint): Likewise.
3510 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
3511 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
3512 * sysdeps/arm/math_private.h: Remove.
3513 * sysdeps/generic/fenv_private.h: New file. Contents moved from
3514 ....
3515 * sysdeps/generic/math_private.h: ... this file. Include
3516 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
3517 Include <fenv_private.h>. Remove functions and macros moved to
3518 fenv_private.h.
3519 * sysdeps/i386/fpu/math_private.h: Remove.
3520 * sysdeps/mips/math_private.h: Move to ....
3521 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
3522 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
3523 [__mips_hard_float] conditional. Include next <fenv_private.h>.
3524 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
3525 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
3526 * sysdeps/powerpc/fpu/math_private.h: Do not include
3527 <fenv_private.h>.
3528 * sysdeps/riscv/rvf/math_private.h: Move to ....
3529 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
3530 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
3531 <fenv_private.h>.
3532 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
3533 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
3534 * sysdeps/sparc/fpu/math_private.h: Remove.
3535 * sysdeps/i386/fpu/fenv_private.h: Move to ....
3536 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
3537 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
3538 <fenv_private.h>.
3539 * sysdeps/x86_64/fpu/math_private.h: Do not include
3540 <sysdeps/i386/fpu/fenv_private.h>.
3541
3542 2018-08-28 Florian Weimer <fweimer@redhat.com>
3543
3544 [BZ #23578]
3545 * posix/tst-regcomp-truncated.c: New file.
3546 * posix/Makefile (tests): Add it.
3547 (tst-regcomp-truncated.out): Depend on generated locales.
3548
3549 2018-08-28 Florian Weimer <fweimer@redhat.com>
3550
3551 * support/test-container.c (main): Treat unshare failure with
3552 EPERM as an unsupported test.
3553
3554 2018-08-28 Florian Weimer <fweimer@redhat.com>
3555
3556 [BZ #23520]
3557 nscd: Fix use-after-free in addgetnetgrentX and its callers.
3558 * nscd/netgroupcache.c
3559 (addgetnetgrentX): Add tofreep parameter. Do not free
3560 heap-allocated buffer.
3561 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
3562 (addgetnetgrentX_ignore): New function.
3563 (addgetnetgrent): Call it.
3564 (readdgetnetgrent): Likewise.
3565
3566 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3567
3568 * string/memmem.c: Use memcmp for first match.
3569
3570 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3571
3572 [BZ #17426]
3573 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
3574
3575 2018-08-27 DJ Delorie <dj@redhat.com>
3576
3577 * support/Makefile (others): Don't list programs explicitly as a
3578 dependency of "others".
3579
3580 2018-08-27 Joseph Myers <joseph@codesourcery.com>
3581
3582 * sysdeps/generic/math-tests-trap-force.h: New file.
3583 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
3584 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
3585 * sysdeps/powerpc/math-tests.h: Remove file.
3586 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
3587
3588 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
3589 Torvald Riegel <triegel@redhat.com>
3590
3591 [BZ #23538]
3592 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
3593 Update r to include the set wake-request flag if waiters are
3594 remaining after spinning.
3595
3596 2018-08-27 Joseph Myers <joseph@codesourcery.com>
3597
3598 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
3599
3600 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
3601
3602 [BZ #23578]
3603 regex: fix uninitialized memory access
3604 I introduced this bug into gnulib in commit
3605 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
3606 eventually it was merged into glibc. The bug was found by
3607 project-repo <bugs@feusi.co> and reported here:
3608 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
3609 Diagnosis and draft fix reported by Assaf Gordon here:
3610 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
3611 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
3612 * posix/regex_internal.c (build_wcs_upper_buffer):
3613 Fix bug when mbrtowc returns 0.
3614
3615 2018-08-24 Carlos O'Donell <carlos@redhat.com>
3616
3617 * po/be.po: Update translation.
3618
3619 2018-08-24 DJ Delorie <dj@delorie.com>
3620
3621 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
3622 $(libunwind).
3623
3624 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3625
3626 [BZ #23400]
3627 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
3628 create temporary files in source tree.
3629
3630 2018-08-24 Joseph Myers <joseph@codesourcery.com>
3631
3632 * sysdeps/generic/math-tests-trap.h: New file.
3633 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
3634 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
3635 * sysdeps/aarch64/math-tests.h: Remove file.
3636 * sysdeps/arm/math-tests.h: Likewise.
3637 * sysdeps/riscv/math-tests.h: Likewise.
3638 * sysdeps/aarch64/math-tests-trap.h: New file.
3639 * sysdeps/arm/math-tests-trap.h: Likewise.
3640 * sysdeps/riscv/math-tests-trap.h: Likewise.
3641
3642 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
3643
3644 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
3645 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
3646 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
3647 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
3648 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
3649 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
3650 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3651 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
3652 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
3653 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3654 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3655 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3656 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3657 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
3658 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
3659 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
3660 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3661 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3662
3663 2018-08-23 Joseph Myers <joseph@codesourcery.com>
3664
3665 * sysdeps/generic/math-tests-exceptions.h: New file.
3666 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
3667 (EXCEPTION_TESTS_float): Do not define here.
3668 (EXCEPTION_TESTS_double): Likewise.
3669 (EXCEPTION_TESTS_long_double): Likewise.
3670 (EXCEPTION_TESTS_float128): Likewise.
3671 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
3672 Likewise.
3673 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
3674 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
3675 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
3676 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
3677 * sysdeps/mips/math-tests.h: Likewise.
3678 * sysdeps/nios2/math-tests.h: Likewise.
3679 * sysdeps/riscv/math-tests.h [!__riscv_flen]
3680 (EXCEPTION_TESTS_float): Do not define here.
3681 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
3682 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
3683 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
3684
3685 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
3686
3687 * NEWS: Move optimized sinf entry to 2.29.
3688
3689 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
3690
3691 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
3692
3693 2018-08-22 DJ Delorie <dj@redhat.com>
3694
3695 * Makefile (testroot.pristine): New rules to initialize the
3696 test-in-container "testroot".
3697 * Makerules (all-testsuite): Add tests-container.
3698 * Rules (tests-expected): Add tests-container.
3699 (binaries-all-tests): Likewise.
3700 (tests-container): New, run these tests in the testroot container.
3701 * support/Makefile (others): Add *-container, support_paths.c,
3702 xmkdirp, and links-dso-program.
3703 * support/links-dso-program-c.c: New.
3704 * support/links-dso-program.cc: New.
3705 * support/test-container.c: New.
3706 * support/shell-container.c: New.
3707 * support/echo-container.c: New.
3708 * support/true-container.c: New.
3709 * support/xmkdirp.c: New.
3710 * support/xsymlink.c: New.
3711 * support/support_paths.c: New.
3712 * support/support.h: Add support paths prototypes.
3713 * support/xunistd.h: Add xmkdirp () and xsymlink ().
3714
3715 * nss/tst-nss-test3.c: Convert to test-in-container.
3716 * nss/tst-nss-test3.root/: New.
3717
3718 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
3719
3720 regex: port Gnulib code to z/OS POSIX environment
3721 Problem reported by Arnold Robbins in:
3722 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
3723 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
3724 Undef.
3725
3726 2018-08-22 Joseph Myers <joseph@codesourcery.com>
3727
3728 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
3729 (ROUNDING_TESTS_double): Remove.
3730 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
3731 (ROUNDING_TESTS_double): Remove.
3732 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
3733 (ROUNDING_TESTS_double): Remove.
3734 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
3735 (ROUNDING_TESTS_float): Remove.
3736 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
3737 (ROUNDING_TESTS_float): Remove.
3738 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
3739 (ROUNDING_TESTS_float): Remove.
3740 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
3741 !TEST_MATHVEC here.
3742 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3743 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3744
3745 * sysdeps/generic/math-tests-rounding.h: New file.
3746 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
3747 (ROUNDING_TESTS_float): Do not define here.
3748 (ROUNDING_TESTS_double): Likewise.
3749 (ROUNDING_TESTS_long_double): Likewise.
3750 (ROUNDING_TESTS_float128): Likewise.
3751 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
3752 (ROUNDING_TESTS_double): Undefine before defining.
3753 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
3754 (ROUNDING_TESTS_double): Undefine before defining.
3755 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
3756 (ROUNDING_TESTS_double): Undefine before defining.
3757 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
3758 (ROUNDING_TESTS_float): Undefine before defining.
3759 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
3760 (ROUNDING_TESTS_float): Undefine before defining.
3761 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
3762 (ROUNDING_TESTS_float): Undefine before defining.
3763 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
3764 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
3765 not define here.
3766 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
3767 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
3768 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
3769 * sysdeps/riscv/math-tests.h [!__riscv_flen]
3770 (ROUNDING_TESTS_float): Do not define here.
3771 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
3772 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
3773 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
3774 (ROUNDING_TESTS_float): Likewise.
3775 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
3776 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
3777 * sysdeps/mips/math-tests.h [__mips_soft_float]
3778 (ROUNDING_TESTS_float): Likewise.
3779 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
3780 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
3781 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
3782 (ROUNDING_TESTS_double): Likewise.
3783 (ROUNDING_TESTS_long_double): Likewise.
3784
3785 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
3786
3787 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
3788 (PF_XDP): New macro.
3789 (AF_XDP): New macro.
3790 (SOL_XDP): New macro.
3791
3792 2018-08-21 Joseph Myers <joseph@codesourcery.com>
3793
3794 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
3795 (TCP_INQ): Likewise.
3796 (TCP_CM_INQ): Likewise.
3797 (TCP_REPAIR_ON): Likewise.
3798 (TCP_REPAIR_OFF): Likewise.
3799 (TCP_REPAIR_OFF_NO_WP): Likewise.
3800 (struct tcp_zerocopy_receive): New type.
3801
3802 2018-08-21 Florian Weimer <fweimer@redhat.com>
3803
3804 * support/support.h (support_descriptor_supports_holes): Declare.
3805 * support/Makefile (libsupport-routines): Add
3806 support_descriptor_supports_holes.
3807 * support/support_descriptor_supports_holes.c: New file.
3808 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
3809 and stop testing if holes are not supported.
3810 * io/test-lfs.c (do_prepare): Likewise.
3811 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
3812 Likewise.
3813 * timezone/tst-tzset.c (create_tz_file): Likewise.
3814 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
3815 variable.
3816 (do_prepare): Set it.
3817 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
3818
3819 2018-08-21 Florian Weimer <fweimer@redhat.com>
3820
3821 [BZ #17248]
3822 * Makeconfig (+cflags): Do not sort (and deduplicate).
3823
3824 2018-08-21 Florian Weimer <fweimer@redhat.com>
3825
3826 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
3827 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
3828
3829 2018-08-20 Florian Weimer <fweimer@redhat.com>
3830
3831 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
3832 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
3833
3834 2018-08-20 Joseph Myers <joseph@codesourcery.com>
3835
3836 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
3837 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
3838 and ssi_arch members.
3839
3840 * elf/elf.c (NT_VMCOREDD): New macro.
3841 (AT_MINSIGSTKSZ): Likewise.
3842
3843 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3844
3845 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3846 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
3847 s_cosf-ppc64 and s_cosf-power8.
3848 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
3849 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3850 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3851 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
3853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
3854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
3855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
3856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3858 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
3859 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3860
3861 2018-08-17 Florian Weimer <fweimer@redhat.com>
3862
3863 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3864
3865 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
3866
3867 * malloc/malloc.c (_int_malloc): Additional binning code checks.
3868
3869 2018-08-16 Florian Weimer <fweimer@redhat.com>
3870
3871 * configure.ac: Add --with-nonshared-cflags option.
3872 * config.make.in (extra-nonshared-cflags): Set variable.
3873 * Makeconfig (CFLAGS-.oS): Use it.
3874 * manual/install.texi (Configuring and compiling): Document
3875 --with-nonshared-cflags.
3876 * configure: Regenerate.
3877 * INSTALL: Likewise.
3878
3879 2018-08-16 Florian Weimer <fweimer@redhat.com>
3880
3881 * Makeconfig (ASFLAGS): Always append required assembler flags.
3882
3883 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
3884
3885 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
3886 (malloc_consolidate): Likewise.
3887
3888 2018-08-16 Pochang Chen <johnchen902@gmail.com>
3889
3890 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
3891
3892 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3893
3894 * benchtests/bench-strlen.c (do_test): Allocate buffers before
3895 every strlen call.
3896
3897 * benchtests/bench-strlen.c: Print performance numbers in json.
3898
3899 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3900
3901 * sysdeps/powerpc/powerpc64/multiarch/Makefile
3902 (sysdep_routines): Build strcmp-power9 and strncmp-power9
3903 only for little endian.
3904 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3905 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
3906 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
3907 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
3908 Add check for little endian.
3909 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
3910 (__strcmp_power9): Add check for little endian.
3911 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
3912 Add check for little endian.
3913 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
3914 (__strncmp_power9): Add check for little endian.
3915 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
3916 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
3917 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
3918 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
3919 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
3920
3921 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
3922
3923 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
3924 [!STRLEN](STRLEN): Set to __strlen.
3925 * sysdeps/aarch64/multiarch/strlen.c: New file.
3926 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
3927 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
3928 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3929 (__libc_ifunc_impl_list): Add strlen.
3930 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
3931 strlen_generic and strlen_asimd.
3932
3933 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
3934
3935 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
3936 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
3937 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
3938
3939 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
3940
3941 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
3942
3943 2018-08-14 Florian Weimer <fweimer@redhat.com>
3944
3945 [BZ #23519]
3946 * include/stdio.h (__vfxprintf): Declare.
3947 * stdio-common/fxprintf.c (__vfxprintf): New function.
3948 (__fxprintf): Call it.
3949 * misc/err.c (convert_and_print): Remove function.
3950 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
3951 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
3952 * misc/Makefile (tests): Add tst-warn-wide.
3953 * misc/tst-warn-wide.c: New file.
3954
3955 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
3956 Szabolcs Nagy <szabolcs.nagy@arm.com>
3957
3958 * NEWS: Mention sinf, cosf, sincosf.
3959 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
3960 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
3961 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
3962 constants rather than including generic sincosf.h.
3963 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
3964 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
3965 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
3966 (reduced_cos): Remove.
3967 (sinf_poly): New function.
3968 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
3969
3970 2018-08-14 Florian Weimer <fweimer@redhat.com>
3971
3972 [BZ #23521]
3973 [BZ #23522]
3974 * nss/nss_files/files-alias.c (get_next_alias): During :include:
3975 processing, bail out if no room, and close the stream before
3976 returning ERANGE.
3977 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
3978 (tst-nss-files-alias-leak): Link with libdl.
3979 (tst-nss-files-alias-leak.out): Depend on nss_files.
3980
3981 * nss/tst-nss-files-alias-leak.c: New file.
3982
3983 2018-08-14 Florian Weimer <fweimer@redhat.com>
3984
3985 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
3986 server_user, stat_user.
3987
3988 2018-08-13 Joseph Myers <joseph@codesourcery.com>
3989
3990 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3991 version to 4.18.
3992 (io_pgetevents): New syscall.
3993 (rseq): Likewise.
3994
3995 * manual/install.texi (Configuring and compiling): Do not list
3996 tools used for testing pretty printers here.
3997 (Tools for Compilation): List Python, PExpect and GDB here.
3998 Update descriptions of uses of Perl and Python.
3999 * INSTALL: Regenerate.
4000
4001 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4002 version to 4.18.
4003
4004 2018-08-13 Florian Weimer <fweimer@redhat.com>
4005
4006 * misc/error.c (error): Add missing va_end call.
4007 (error_at_line): Likewise.
4008
4009 2018-08-13 Florian Weimer <fweimer@redhat.com>
4010
4011 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
4012
4013 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
4014
4015 * benchtests/scripts/benchout.schema.json (properties): Add
4016 new properties.
4017
4018 * benchtests/bench-skeleton.c (main): Add duration and
4019 iterations attributes.
4020
4021 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
4022
4023 regex: Gnulib unibyte RRI uses bytes not chars
4024 Adjust the non-glibc code to agree with what Gawk needs for
4025 rational range interpretation (RRI) for regular expression ranges.
4026 In unibyte locales, Gawk wants ranges to use the underlying byte
4027 rather than the character code point. This change does not affect
4028 glibc proper.
4029 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
4030 In unibyte locales, use the byte value rather than
4031 running it through btowc.
4032
4033 2018-08-10 Joseph Myers <joseph@codesourcery.com>
4034
4035 * sysdeps/generic/math-tests-snan.h: New file.
4036 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
4037 (SNAN_TESTS_float): Do not define here.
4038 (SNAN_TESTS_double): Likewise.
4039 (SNAN_TESTS_long_double): Likewise.
4040 (SNAN_TESTS_float128): Likewise.
4041 * sysdeps/i386/fpu/math-tests-snan.h: New file.
4042 * sysdeps/i386/fpu/math-tests.h: Remove file.
4043 * sysdeps/ia64/math-tests-snan.h: New file.
4044 * sysdeps/ia64/math-tests.h: Remove file.
4045 * sysdeps/x86/math-tests.h: Likewise.
4046 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
4047
4048 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
4049 Szabolcs Nagy <szabolcs.nagy@arm.com>
4050
4051 * math/Makefile: Add s_sincosf_data.c.
4052 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
4053 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
4054 (sincosf_poly): Likewise.
4055 (reduce_small): Likewise.
4056 (reduce_large): Likewise.
4057 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
4058 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
4059 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
4060 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
4061
4062 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
4063 Szabolcs Nagy <szabolcs.nagy@arm.com>
4064
4065 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
4066 (converttoint): Use lround.
4067 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
4068 document the semantics when TOINT_INTRINSICS is set.
4069 (converttoint): Likewise.
4070 (TOINT_RINT): Remove.
4071 (TOINT_SHIFT): Remove.
4072 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
4073 path.
4074
4075 2018-08-10 Florian Weimer <fweimer@redhat.com>
4076
4077 [BZ #23497]
4078 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
4079 function.
4080 (__old_getdents64): Use getdents64. Convert entries without
4081 moving them.
4082 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
4083 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
4084 tst-readdir64-compat.
4085
4086 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4087
4088 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
4089 Fix unwind.
4090
4091 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4092
4093 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
4094 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
4095 code to s390x-mcount.h and #include it.
4096 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
4097 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4098 (__fentry__): Add.
4099
4100 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4101
4102 * stdlib/Versions: Remove __fentry__.
4103 * sysdeps/i386/Versions: Add __fentry__.
4104 * sysdeps/x86_64/Versions: Add __fentry__.
4105
4106 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4107
4108 * sysdeps/s390/Makefile: Register the new tests.
4109 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
4110 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
4111 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
4112 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
4113 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
4114 * sysdeps/s390/tst-dl-runtime.c: New file.
4115
4116 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4117
4118 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4119 Do not clobber R0.
4120
4121 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4122
4123 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
4124 Do not clobber R0.
4125
4126 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4127
4128 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4129 Do not clobber R0.
4130
4131 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4132
4133 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4134 Do not clobber R0.
4135
4136 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4137
4138 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4139 Use symbolic offsets for stack variables.
4140
4141 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4142
4143 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
4144 Use symbolic offsets for stack variables.
4145
4146 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4147
4148 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4149 Use symbolic offsets for stack variables.
4150
4151 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4152
4153 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4154 Use symbolic offsets for stack variables.
4155
4156 2018-08-09 Joseph Myers <joseph@codesourcery.com>
4157
4158 * math/gen-libm-test.py: New file.
4159 * math/gen-libm-test.pl: Remove.
4160 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
4161 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
4162 gen-libm-test.pl.
4163 ($(libm-test-c-noauto-obj)): Likewise.
4164 ($(libm-test-c-auto-obj)): Likewise.
4165 ($(libm-test-c-narrow-obj)): Likewise.
4166 (regen-ulps): Likewise.
4167 * math/README.libm-test: Update references to gen-libm-test.pl.
4168 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
4169 referencing gen-libm-test.pl.
4170 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
4171 * math/libm-test-support.c: Likewise.
4172 * math/libm-test-support.h: Likewise.
4173 * sysdeps/generic/libm-test-ulps: Likewise.
4174
4175 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
4176
4177 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
4178 Fix value.
4179
4180 2018-08-08 Joseph Myers <joseph@codesourcery.com>
4181
4182 * math/libm-test-nextdown.inc (do_test): Move comment to ....
4183 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
4184
4185 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4186
4187 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
4188 symbols.
4189 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
4190 __pthread_setspecific): Add hidden proto.
4191 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
4192 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
4193
4194 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
4195
4196 * benchtests/bench-string.h (buf1_size, buf2_size): New
4197 variables.
4198 (init_sizes): New function.
4199 (test_init): Use it.
4200 (alloc_buf, exit_error): New functions.
4201 (alloc_bufs): Use ALLOC_BUF.
4202 (realloc_bufs): Remove.
4203 * benchtests/bench-memcmp.c (do_test): Adjust.
4204 * benchtests/bench-memset-large.c (do_test): Likewise.
4205 * benchtests/bench-memset-walk.c (do_test): Likewise.
4206 * benchtests/bench-memset.c (do_test): Likewise.
4207 * benchtests/bench-strncmp.c (do_test): Likewise.
4208
4209 2018-08-06 Andreas Schwab <schwab@suse.de>
4210
4211 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
4212 of CONST_THREAD_AREA.
4213
4214 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
4215
4216 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
4217 (STATE_SAVE_MASK): Likewise.
4218 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
4219 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
4220 (STATE_SAVE_MASK): Likewise.
4221 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
4222 instead of <cpu-features.h>.
4223
4224 2018-08-03 DJ Delorie <dj@redhat.com>
4225
4226 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
4227 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
4228
4229 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4230
4231 2018-08-03 Joseph Myers <joseph@codesourcery.com>
4232
4233 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
4234 after TEST_* calls.
4235 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
4236 * math/libm-test-logb.inc (logb_test_data): Likewise.
4237
4238 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
4239
4240 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
4241 * string/strstr.c (AVAILABLE): Likewise.
4242
4243 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
4244
4245 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
4246 <init-arch.h>.
4247 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
4248 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
4249 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
4250
4251 2018-08-03 Carlos O'Donell <carlos@redhat.com>
4252
4253 * po/be.po: Update translation.
4254
4255 * po/be.po: Update translation.
4256
4257 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
4258
4259 * sysdeps/x86/cpu-features-offsets.sym
4260 (rtld_global_ro_offsetof): Removed.
4261 (CPU_FEATURES_SIZE): Likewise.
4262 (CPUID_OFFSET): Likewise.
4263 (CPUID_SIZE): Likewise.
4264 (CPUID_EAX_OFFSET): Likewise.
4265 (CPUID_EBX_OFFSET): Likewise.
4266 (CPUID_ECX_OFFSET): Likewise.
4267 (CPUID_EDX_OFFSET): Likewise.
4268 (FAMILY_OFFSET): Likewise.
4269 (MODEL_OFFSET): Likewise.
4270 (FEATURE_OFFSET): Likewise.
4271 (FEATURE_SIZ): Likewise.
4272 (COMMON_CPUID_INDEX_1): Likewise.
4273 (COMMON_CPUID_INDEX_7): Likewise.
4274 (FEATURE_INDEX_1): Likewise.
4275 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
4276
4277 2018-08-02 Carlos O'Donell <carlos@redhat.com>
4278
4279 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
4280 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
4281 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
4282 (install-locales): Depend on install-locale-archive.
4283 (install-locale-archive): Define.
4284 (install-locale-files): Define.
4285 (build-one-locale): Define macro.
4286 * manual/install.texi (Running make install): Document.
4287 * manual/INSTALL: Regenerate.
4288
4289 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
4290
4291 * benchtests/scripts/compare_strings.py: Import traceback.
4292 (parse_file): Pretty-print error.
4293
4294 * NEWS: Mention the change.
4295 * elf/dl-tunables.list: Rename tune namespace to cpu.
4296 * sysdeps/powerpc/dl-tunables.list: Likewise.
4297 * sysdeps/x86/dl-tunables.list: Likewise.
4298 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
4299 cpu.name.
4300 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
4301 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
4302 * manual/README.tunables: Likewise.
4303 * manual/tunables.texi: Likewise.
4304 * sysdeps/powerpc/cpu-features.c: Likewise.
4305 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
4306 (init_cpu_features): Likewise.
4307 * sysdeps/x86/cpu-features.c: Likewise.
4308 * sysdeps/x86/cpu-features.h: Likewise.
4309 * sysdeps/x86/cpu-tunables.c: Likewise.
4310 * sysdeps/x86_64/Makefile: Likewise.
4311 * sysdeps/x86/dl-cet.c: Likewise.
4312
4313 2018-08-02 Joseph Myers <joseph@codesourcery.com>
4314
4315 [BZ #23479]
4316 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
4317 [__mips_hard_float].
4318 (FE_UNDERFLOW): Likewise.
4319 (FE_OVERFLOW): Likewise.
4320 (FE_DIVBYZERO): Likewise.
4321 (FE_INVALID): Likewise.
4322 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
4323 (FE_TOWARDZERO): Define only if [__mips_hard_float].
4324 (FE_UPWARD): Likewise.
4325 (FE_DOWNWARD): Likewise.
4326 (__FE_UNDEFINED): Define if [!__mips_hard_float]
4327 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
4328 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
4329 [__mips_hard_float].
4330 (FP_ROUNDMODE): Likewise.
4331 (FP_RND_NEAREST): Likewise.
4332 (FP_RND_ZERO): Likewise.
4333 (FP_RND_PINF): Likewise.
4334 (FP_RND_MINF): Likewise.
4335 (FP_EX_INVALID): Likewise.
4336 (FP_EX_OVERFLOW): Likewise.
4337 (FP_EX_UNDERFLOW): Likewise.
4338 (FP_EX_DIVZERO): Likewise.
4339 (FP_EX_INEXACT): Likewise.
4340 (FP_INIT_ROUNDMODE): Likewise.
4341 * sysdeps/mips/nofpu/fesetenv.c: New file.
4342 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
4343
4344 2018-08-01 Joseph Myers <joseph@codesourcery.com>
4345
4346 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
4347 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
4348 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
4349 conditional on [FE_UPWARD].
4350
4351 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
4352
4353 regex: fix memory leak in Gnulib
4354 Problem and fix reported by Assaf Gordon in:
4355 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
4356 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
4357 range_ends members too, as they are defined in 'struct
4358 re_charset_t' even if not _LIBC. This affects only Gnulib.
4359
4360 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
4361
4362 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
4363 ...
4364 (get_common_indices): This.
4365 (init_cpu_features): Updated.
4366
4367 2018-08-01 Joseph Myers <joseph@codesourcery.com>
4368
4369 * sysdeps/generic/math-tests-snan-payload.h: New file.
4370 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
4371 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
4372 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
4373 * sysdeps/generic/math-tests.h: Include
4374 <math-tests-snan-payload.h>.
4375 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
4376 * sysdeps/hppa/math-tests.h: Remove file.
4377 * sysdeps/mips/math-tests.h [!__mips_nan2008]
4378 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
4379 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
4380 Likewise.
4381
4382 * sysdeps/generic/math-tests-snan-cast.h: New file.
4383 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
4384 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
4385 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
4386 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
4387
4388 2018-08-01 Carlos O'Donel <carlos@redhat.com>
4389
4390 * version.h (RELEASE): Set to "development".
4391 (VERSION): Set to "2.28.9000".
4392 * NEWS (2.29): New section.
4393
4394 * version.h (RELEASE): Set to "stable".
4395 (VERSION): Set to "2.28".
4396 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
4397 * NEWS: Add the list of bugs fixed in 2.28.
4398
4399 * po/ca.po: Update to latest version.
4400 * po/cs.po: Likewise
4401 * po/da.po: Likewise
4402 * po/el.po: Likewise
4403 * po/eo.po: Likewise
4404 * po/es.po: Likewise
4405 * po/fi.po: Likewise
4406 * po/fr.po: Likewise
4407 * po/gl.po: Likewise
4408 * po/hu.po: Likewise
4409 * po/ia.po: Likewise
4410 * po/id.po: Likewise
4411 * po/it.po: Likewise
4412 * po/ja.po: Likewise
4413 * po/ko.po: Likewise
4414 * po/lt.po: Likewise
4415 * po/nb.po: Likewise
4416 * po/nl.po: Likewise
4417 * po/pt_BR.po: Likewise
4418 * po/ru.po: Likewise
4419 * po/rw.po: Likewise
4420 * po/sk.po: Likewise
4421 * po/sl.po: Likewise
4422 * po/tr.po: Likewise
4423 * po/zh_CN.po: Likewise
4424 * po/zh_TW.po: Likewise
4425
4426 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4427
4428 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
4429 initialization...
4430 (init): ... before initializing libpthread.
4431
4432 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
4433 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
4434 (__mach_setup_tls): ... new function.
4435 (mach_setup_tls): New alias.
4436 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
4437 __mach_setup_thread.
4438 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
4439 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
4440 * mach/Versions [libc] (mach_setup_tls): Add symbol.
4441 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
4442
4443 2018-07-31 Carlos O'Donell <carlos@redhat.com>
4444
4445 * manual/install.texi: Update versions.
4446 * INSTALL: Regenerate.
4447
4448 * manual/contrib.texi (Contributors): Update contributions.
4449
4450 2018-07-31 Carlos O'Donell <carlos@redhat.com>
4451
4452 * po/be.po: Update translations.
4453
4454 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4455
4456 * sysdeps/sh/libm-test-ulps: Update.
4457
4458 2018-07-30 Carlos O'Donell <carlos@redhat.com>
4459
4460 * po/bg.po: Update translations.
4461 * po/de.po: Likewise.
4462 * po/hr.po: Likewise.
4463 * po/pt_BR.po: Likewise.
4464 * po/sv.po: Likewise.
4465 * po/vi.po: Likewise.
4466
4467 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
4468
4469 [BZ #23467]
4470 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
4471 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
4472 (CFLAGS-tst-cet-property-1.o): New.
4473 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
4474 ($(objpfx)tst-cet-property-2): Likewise.
4475 ($(objpfx)tst-cet-property-2.out): Likewise.
4476 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
4477 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
4478 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
4479 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
4480 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
4481
4482 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
4483
4484 [BZ #23458]
4485 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
4486
4487 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4488
4489 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
4490 __sbrk): Do not set attribute_hidden.
4491 * sysdeps/mach/hurd/not-errno.h: New file.
4492 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
4493 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
4494
4495 2018-07-27 Carlos O'Donell <carlos@redhat.com>
4496
4497 * po/uk.po: Update translations.
4498 * po/cs.po: Likewise.
4499 * po/pl.po: Likewise.
4500
4501 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
4502
4503 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
4504 parse beyond the note end.
4505
4506 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4507
4508 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
4509 kernel does not support OFD locks.
4510 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
4511
4512 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4513
4514 * sysdeps/mach/hurd/Versions (libc): Make __access and
4515 __access_noerrno external so they can override the ld symbols.
4516 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
4517 __writev, __open64, __access_noerrno extern so they can be overrided.
4518 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
4519 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
4520
4521 2018-07-26 Carlos O'Donell <carlos@redhat.com>
4522
4523 * po/libc.pot: Regenerate.
4524
4525 2018-07-26 Joseph Myers <joseph@codesourcery.com>
4526
4527 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4528
4529 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
4530
4531 [BZ #23459]
4532 * sysdeps/x86/cpu-features.c (get_extended_indices): New
4533 function.
4534 (init_cpu_features): Call get_extended_indices for both Intel
4535 and AMD CPUs.
4536 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
4537 Remove "for AMD" comment.
4538
4539 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
4540
4541 [BZ # 23456]
4542 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
4543 COMMON_CPUID_INDEX_80000001.
4544
4545 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
4546
4547 * string/tst-xbzero-opt.c (use_test_buffer): New function.
4548 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
4549
4550 2018-07-26 Florian Weimer <fweimer@redhat.com>
4551
4552 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
4553 aliases for symbols not in the implementation namespace.
4554
4555 2018-07-25 Carlos O'Donell <carlos@redhat.com>
4556
4557 [BZ #23393]
4558 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
4559 lowercase in LATIN script.
4560 * localedata/Makefile (test-input): Add en_US.UTF-8.
4561 * localedata/en_US.UTF-8.in: New file.
4562 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
4563 and restore old tests.
4564 * posix/tst-regexloc.c (do_test): Add back range expression test.
4565
4566 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4567
4568 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
4569
4570 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4571
4572 * nptl/threads.h: Move to ...
4573 * sysdeps/nptl/threads.h: ... here.
4574 * sysdeps/hurd/stdc-predef.h: New file.
4575
4576 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4577
4578 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
4579 tst-cet-setcontext-1 if CET is enabled.
4580 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
4581 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
4582
4583 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4584
4585 * include/threads.h: Move to ...
4586 * sysdeps/nptl/threads.h: ... here.
4587 * sysdeps/htl/threads.h: New file.
4588 * conform/Makefile (linknamespace-libs-ISO11): Use
4589 static-thread-library instead of linking libpthread.
4590 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
4591
4592 2018-07-25 Florian Weimer <fweimer@redhat.com>
4593
4594 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
4595 nanoseconds into seconds.
4596 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
4597 (do_test): Likewise.
4598 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
4599 (do_test): Likewise. Avoid nanosecond overflow and spurious
4600 timeouts due to system load.
4601 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
4602 (child_wait): Increment it.
4603 (do_test): Wait as long as necessary until all expected threads
4604 have arrived.
4605
4606 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
4607 H.J. Lu <hongjiu.lu@intel.com>
4608
4609 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
4610 __ssp.
4611 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
4612 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
4613 (__push___start_context): New.
4614 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
4615 <asm/prctl.h>.
4616 (__getcontext): Record the current shadow stack base. Save the
4617 caller's shadow stack pointer and base.
4618 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
4619 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
4620 (__push___start_context): New prototype.
4621 (__makecontext): Call __push___start_context to allocate a new
4622 shadow stack, push __start_context onto the new stack as well
4623 as the new shadow stack.
4624 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
4625 <asm/prctl.h>.
4626 (__setcontext): Restore the target shadow stack.
4627 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
4628 <asm/prctl.h>.
4629 (__swapcontext): Record the current shadow stack base. Save
4630 the caller's shadow stack pointer and base. Restore the target
4631 shadow stack.
4632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4633 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
4634 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
4635
4636 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4637
4638 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
4639 tst-setcontext8 and tst-setcontext9.
4640 * stdlib/tst-setcontext6.c: New file.
4641 * stdlib/tst-setcontext7.c: Likewise.
4642 * stdlib/tst-setcontext8.c: Likewise.
4643 * stdlib/tst-setcontext9.c: Likewise.
4644
4645 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4646
4647 * stdlib/Makefile ((tests): Add tst-setcontext5.
4648 * stdlib/tst-setcontext5.c: New file.
4649
4650 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4651
4652 * stdlib/Makefile (tests): Add tst-setcontext4.
4653 * stdlib/tst-setcontext4.c: New file.
4654
4655 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4656
4657 * stdlib/Makefile (tests): Add tst-swapcontext1.
4658 * stdlib/tst-swapcontext1.c: New test.
4659
4660 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4661
4662 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
4663 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
4664 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
4665 and tst-cet-legacy-4c.
4666 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
4667 and tst-cet-legacy-mod-4.
4668 (CFLAGS-tst-cet-legacy-2.c): New.
4669 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
4670 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
4671 (CFLAGS-tst-cet-legacy-3.c): Likewise.
4672 (CFLAGS-tst-cet-legacy-4.c): Likewise.
4673 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
4674 ($(objpfx)tst-cet-legacy-1): Likewise.
4675 ($(objpfx)tst-cet-legacy-2): Likewise.
4676 ($(objpfx)tst-cet-legacy-2.out): Likewise.
4677 ($(objpfx)tst-cet-legacy-2a): Likewise.
4678 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
4679 ($(objpfx)tst-cet-legacy-4): Likewise.
4680 ($(objpfx)tst-cet-legacy-4.out): Likewise.
4681 ($(objpfx)tst-cet-legacy-4a): Likewise.
4682 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
4683 (tst-cet-legacy-4a-ENV): Likewise.
4684 ($(objpfx)tst-cet-legacy-4b): Likewise.
4685 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
4686 (tst-cet-legacy-4b-ENV): Likewise.
4687 ($(objpfx)tst-cet-legacy-4c): Likewise.
4688 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
4689 (tst-cet-legacy-4c-ENV): Likewise.
4690 * sysdeps/x86/tst-cet-legacy-1.c: New file.
4691 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
4692 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
4693 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
4694 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
4695 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
4696 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
4697 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
4698 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
4699 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
4700 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
4701
4702 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
4703
4704 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
4705 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
4706 with ssp_base.
4707 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
4708 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
4709 with ssp_base.
4710
4711 2018-07-25 Andreas Schwab <schwab@suse.de>
4712
4713 [BZ #23442]
4714 * locale/weightwc.h (findidx): Handle the case where usrc is a
4715 prefix of cp but one character too short.
4716
4717 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4718
4719 * NEWS: Add ISO C threads addition.
4720
4721 2018-07-24 Florian Weimer <fweimer@redhat.com>
4722
4723 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4724 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
4725 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
4726 4.13.
4727
4728 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
4729
4730 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
4731 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
4732 <sys/prctl.h> and <asm/prctl.h>.
4733 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
4734 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
4735 and <asm/prctl.h>.
4736 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
4737 ARCH_CET_LEGACY_BITMAP.
4738 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
4739 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
4740 * sysdeps/x86/libc-start.c: Include <startup.h>.
4741
4742 2018-07-24 Florian Weimer <fweimer@redhat.com>
4743
4744 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
4745 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
4746
4747 2018-07-24 Rical Jasan <rj@2c3t.io>
4748 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4749 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
4750
4751 [BZ #14092]
4752 * manual/debug.texi: Update adjacent chapter name.
4753 * manual/probes.texi: Likewise.
4754 * manual/threads.texi (ISO C Threads): New section.
4755 (POSIX Threads): Convert to a section.
4756
4757 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4758 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
4759
4760 [BZ# 14092]
4761 * nptl/Makefile (tests): Add new test files.
4762 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
4763 * nptl/tst-cnd-basic.c: Likewise.
4764 * nptl/tst-cnd-broadcast.c: Likewise.
4765 * nptl/tst-cnd-timedwait.c: Likewise.
4766 * nptl/tst-mtx-basic.c: Likewise.
4767 * nptl/tst-mtx-recursive.c: Likewise.
4768 * nptl/tst-mtx-timedlock.c: Likewise.
4769 * nptl/tst-mtx-trylock.c: Likewise.
4770 * nptl/tst-thrd-basic.c: Likewise.
4771 * nptl/tst-thrd-detach.c: Likewise.
4772 * nptl/tst-thrd-sleep.c: Likewise.
4773 * nptl/tst-tss-basic.c: Likewise.
4774
4775 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4776
4777 [BZ #14092]
4778 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
4779 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
4780 symbols.
4781 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4782 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4783 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4784 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4785 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4786 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4787 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4788 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4789 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4790 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4791 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4792 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4794 Likewise.
4795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4796 Likewise.
4797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4798 Likewise.
4799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4800 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4801 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4802 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4803 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4804 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4805 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4806 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4807 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4808 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
4809 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
4810 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
4811 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
4812 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
4813 Likewise.
4814 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
4815 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
4816 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
4817 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
4818 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
4819 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
4820 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
4821 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
4822 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
4823 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
4824 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
4825 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
4826 ikewise.
4827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
4828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4829 Likewise.
4830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4831 Likewise.
4832 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
4833 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
4834 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
4835 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
4836 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
4837 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
4838 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
4839 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
4840
4841 [BZ #14092]
4842 * conform/data/threads.h-data (thread_local): New macro.
4843 (TSS_DTOR_ITERATIONS): Likewise.
4844 (tss_t): New type.
4845 (tss_dtor_t): Likewise.
4846 (tss_create): New function.
4847 (tss_get): Likewise.
4848 (tss_set): Likewise.
4849 (tss_delete): Likewise.
4850 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
4851 tss_get, and tss_set objects.
4852 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
4853 * nptl/tss_create.c: New file.
4854 * nptl/tss_delete.c: Likewise.
4855 * nptl/tss_get.c: Likewise.
4856 * nptl/tss_set.c: Likewise.
4857 * sysdeps/nptl/threads.h (thread_local): New define.
4858 (TSS_DTOR_ITERATIONS): Likewise.
4859 (tss_t): New typedef.
4860 (tss_dtor_t): Likewise.
4861 (tss_create): New prototype.
4862 (tss_get): Likewise.
4863 (tss_set): Likewise.
4864 (tss_delete): Likewise.
4865
4866 [BZ #14092]
4867 * conform/data/threads.h-data (cnd_t): New type.
4868 (cnd_init): New function.
4869 (cnd_signal): Likewise.
4870 (cnd_broadcast): Likewise.
4871 (cnd_wait): Likewise.
4872 (cnd_timedwait): Likewise.
4873 (cnd_destroy): Likewise.
4874 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
4875 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
4876 object.
4877 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
4878 * nptl/cnd_broadcast.c: New file.
4879 * nptl/cnd_destroy.c: Likewise.
4880 * nptl/cnd_init.c: Likewise.
4881 * nptl/cnd_signal.c: Likewise.
4882 * nptl/cnd_timedwait.c: Likewise.
4883 * nptl/cnd_wait.c: Likewise.
4884 * sysdeps/nptl/threads.h (cnd_t): New type.
4885 (cnd_init): New prototype.
4886 (cnd_signa): Likewise.
4887 (cnd_broadcast): Likewise.
4888 (cnd_wait): Likewise.
4889 (cnd_timedwait): Likewise.
4890 (cnd_destroy): Likewise.
4891
4892 [BZ #14092]
4893 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
4894 (once_flag): New type.
4895 (call_once): New function.
4896 * nptl/Makefile (libpthread-routines): Add call_once object.
4897 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
4898 * nptl/call_once.c: New file.
4899 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
4900 (once_flag): New type.
4901 (call_once): New prototype.
4902
4903 [BZ #14092]
4904 * conform/data/threads.h-data (mtx_plain): New constant.
4905 (mtx_recursive): Likewise.
4906 (mtx_timed): Likewise.
4907 (mtx_t): New type.
4908 (mtx_init): New function.
4909 (mtx_lock): Likewise.
4910 (mtx_timedlock): Likewise.
4911 (mtx_trylock): Likewise.
4912 (mtx_unlock): Likewise.
4913 (mtx_destroy): Likewise.
4914 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
4915 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
4916 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
4917 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
4918 * nptl/mtx_destroy.c: New file.
4919 * nptl/mtx_init.c: Likewise.
4920 * nptl/mtx_lock.c: Likewise.
4921 * nptl/mtx_timedlock.c: Likewise.
4922 * nptl/mtx_trylock.c: Likewise.
4923 * nptl/mtx_unlock.c: Likewise.
4924 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
4925 (mtx_recursive): Likewise.
4926 (mtx_timed): Likewise.
4927 (mtx_t): New type.
4928 (mtx_init): New prototype.
4929 (mtx_lock): Likewise.
4930 (mtx_timedlock): Likewise.
4931 (mtx_trylock): Likewise.
4932 (mtx_unlock): Likewise.
4933 (mtx_destroy): Likewise.
4934
4935 [BZ #14092]
4936 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
4937 (linknamespace-libs-ISO11): Add libpthread.a.
4938 * conform/data/threads.h-data: New file: add C11 thrd_* types and
4939 functions.
4940 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
4941 * nptl/Makefile (headers): Add threads.h.
4942 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
4943 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
4944 thrd_yield.
4945 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
4946 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
4947 thrd_join, thrd_sleep, and thrd_yield symbols.
4948 * nptl/descr.h (struct pthread): Add c11 field.
4949 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
4950 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
4951 routine with expected function prototype.
4952 (__pthread_create_2_1): Add C11 threads check based on attribute
4953 value.
4954 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
4955 * nptl/thrd_create.c: New file.
4956 * nptl/thrd_current.c: Likewise.
4957 * nptl/thrd_detach.c: Likewise.
4958 * nptl/thrd_equal.c: Likewise.
4959 * nptl/thrd_exit.c: Likewise.
4960 * nptl/thrd_join.c: Likewise.
4961 * nptl/thrd_priv.h: Likewise.
4962 * nptl/thrd_sleep.c: Likewise.
4963 * nptl/thrd_yield.c: Likewise.
4964 * include/threads.h: Likewise.
4965
4966 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
4967
4968 * bits/indirect-return.h: New file.
4969 * misc/sys/cdefs.h (__glibc_has_attribute): New.
4970 * sysdeps/x86/bits/indirect-return.h: Likewise.
4971 * stdlib/Makefile (headers): Add bits/indirect-return.h.
4972 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
4973 (swapcontext): Add __INDIRECT_RETURN.
4974 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
4975 (prepare_test_buffer): Use it.
4976
4977 2018-07-24 Andreas Schwab <schwab@suse.de>
4978
4979 [BZ #23448]
4980 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
4981 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
4982
4983 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
4984
4985 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
4986 Redefine if shadow stack is enabled.
4987 (SYSCALL_ERROR_LABEL): Likewise.
4988 (__vfork): Pop shadow stack and jump back to to caller directly
4989 when shadow stack is in use.
4990 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
4991 Redefine if shadow stack is enabled.
4992 (SYSCALL_ERROR_LABEL): Likewise.
4993 (__vfork): Pop shadow stack and jump back to to caller directly
4994 when shadow stack is in use.
4995
4996 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
4997
4998 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
4999 enabled.
5000 (foo): Likewise.
5001 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
5002 (foo): Likewise.
5003
5004 2018-07-20 Joseph Myers <joseph@codesourcery.com>
5005
5006 * scripts/build-many-glibcs.py (Context.checkout): Default
5007 binutils version to 2.31 branch.
5008
5009 2018-07-20 Zong Li <zong@andestech.com>
5010
5011 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
5012 URL of gcc's tarball.
5013
5014 2018-07-20 Florian Weimer <fweimer@redhat.com>
5015
5016 [BZ #23396]
5017 * posix/regcomp.c (build_equiv_class): When comparing weights, do
5018 not compare an extra byte after the end of the weights.
5019
5020 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
5021
5022 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
5023 to 1.
5024 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
5025 hidden prototypes.
5026 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
5027 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
5028 * scripts/check-execstack.awk: Consider `xfail' variable containing a
5029 list of libraries whose stack executability is expected.
5030 * elf/Makefile ($(objpfx)check-execstack.out): Pass
5031 $(check-execstack-xfail) to check-execstack.awk through `xfail'
5032 variable.
5033 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
5034 libc.so libpthread.so.
5035
5036 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
5037
5038 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
5039 SOCK_NONBLOCK.
5040 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
5041 and SOCK_NONBLOCK.
5042 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
5043 implement __pipe2.
5044 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
5045
5046 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5047
5048 * benchtests/scripts/compare_bench.py (__main__): use the argparse
5049 library to improve command line parsing.
5050 (__main__): make schema file as optional parameter (--schema),
5051 defaulting to benchtests/scripts/benchout.schema.json.
5052 (main): move out of the parsing stuff to __main_  and leave it
5053 only as caller of main comparison functions.
5054
5055 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
5056
5057 * NEWS: Add a note for Intel CET status.
5058 * manual/install.texi: Likewise.
5059 * INSTALL: Regenerated.
5060
5061 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
5062
5063 [BZ #23140]
5064 * localedata/locales/oc_FR (mon): Rename to...
5065 (alt_mon): This, then update October (typo fix).
5066 (mon): New content (genitive case, month names preceded by
5067 "de" or "d’").
5068
5069 [BZ #23422]
5070 * localedata/locales/oc_FR (abday): Update all items.
5071 (day): Update Wednesday and Saturday (typo fixes).
5072 (abmon): Update all items, except May.
5073 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
5074 (LC_IDENTIFICATION): Bump the revision number and date.
5075 Keep the "category" entries in alphabetic order.
5076 (LC_ADDRESS): Remove no longer needed comment.
5077 (LC_COLLATE): Use “copy "ca_ES"”.
5078 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
5079 "name_mrs".
5080
5081 2018-07-18 Joseph Myers <joseph@codesourcery.com>
5082
5083 * grp/tst_fgetgrent.c: Include <unistd.h>.
5084 (main): Use mkstemp instead of tmpnam.
5085 * io/test-utime.c (main): Likewise.
5086 * posix/annexc.c (macrofile): Change to modifiable array.
5087 (main): Remove macrofile here.
5088 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
5089 macrofile here.
5090 (check_header): Do not remove macrofile here.
5091 * posix/bug-getopt1.c: Include <stdlib.h>.
5092 (do_test): Use mkstemp instead of tmpnam.
5093 * posix/bug-getopt2.c: Include <stdlib.h>.
5094 (do_test): Use mkstemp instead of tmpnam.
5095 * posix/bug-getopt3.c: Include <stdlib.h>.
5096 (do_test): Use mkstemp instead of tmpnam.
5097 * posix/bug-getopt4.c: Include <stdlib.h>.
5098 (do_test): Use mkstemp instead of tmpnam.
5099 * posix/bug-getopt5.c: Include <stdlib.h>.
5100 (do_test): Use mkstemp instead of tmpnam.
5101 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
5102 (main): Use mkstemp instead of tmpnam.
5103 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
5104 (main): Use mkstemp instead of tmpnam.
5105 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
5106 (main): use mkstemp instead of tmpnam.
5107 * stdlib/isomac.c (macrofile): Change to modifiable array.
5108 (main): Remove macrofile here.
5109 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
5110 macrofile here.
5111 (check_header): Do not remove macrofile here.
5112
5113 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5114
5115 * manual/tunables.texi: Document glibc.tune.x86_ibt and
5116 glibc.tune.x86_shstk.
5117
5118 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5119
5120 * NEWS: Mention --enable-cet.
5121 * manual/install.texi: Document --enable-cet.
5122 * INSTALL: Regenerated.
5123
5124 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5125
5126 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
5127 Add _CET_NOTRACK before indirect jump to jump table.
5128
5129 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5130
5131 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
5132 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5133 to jump table.
5134
5135 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5136
5137 * sysdeps/i386/i686/multiarch/strcat-sse2.S
5138 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5139 to jump table.
5140
5141 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5142
5143 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
5144 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5145 to jump table.
5146
5147 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5148
5149 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
5150 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5151 to jump table.
5152
5153 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5154
5155 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
5156 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5157 to jump table.
5158 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
5159
5160 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5161
5162 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
5163 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5164 to jump table.
5165
5166 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5167
5168 * sysdeps/i386/i686/multiarch/memset-sse2.S
5169 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5170 to jump table.
5171
5172 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5173
5174 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
5175 indirect jump to jump table.
5176
5177 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5178
5179 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
5180 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5181 to jump table.
5182 (MEMCPY): Likewise.
5183
5184 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5185
5186 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
5187 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5188 to jump table.
5189 (MEMCPY): Likewise.
5190
5191 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5192
5193 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
5194 _CET_NOTRACK before indirect jump to jump table.
5195
5196 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5197
5198 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
5199 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5200 to jump table.
5201
5202 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5203
5204 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
5205 indirect jump to jump table.
5206
5207 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
5208
5209 [BZ #22241]
5210 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
5211 (LOCALES): Likewise.
5212 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
5213 * localedata/locales/sah_RU: New file.
5214 * localedata/sah_RU.UTF-8.in: New file.
5215
5216 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5217
5218 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
5219 "sysdep.h".
5220 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
5221 _CET_ENDBR to indirect jump targets and adjust jump destination
5222 for _CET_ENDBR.
5223 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
5224 "sysdep.h".
5225 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
5226 _CET_ENDBR to indirect jump targets and adjust jump destination
5227 for _CET_ENDBR.
5228 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
5229 "sysdep.h".
5230 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
5231 _CET_ENDBR to indirect jump targets and adjust jump destination
5232 for _CET_ENDBR.
5233
5234 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5235
5236 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
5237 _CET_ENDBR.
5238
5239 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5240
5241 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
5242 _CET_ENDBR.
5243 (_dl_tlsdesc_undefweak): Likewise.
5244 (_dl_tlsdesc_dynamic): Likewise.
5245 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
5246 (_dl_tlsdesc_resolve_rel): Likewise.
5247 (_dl_tlsdesc_resolve_rela): Likewise.
5248 (_dl_tlsdesc_resolve_hold): Likewise.
5249 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
5250 (_dl_tlsdesc_undefweak): Likewise.
5251 (_dl_tlsdesc_dynamic): Likewise.
5252 (_dl_tlsdesc_resolve_rela): Likewise.
5253 (_dl_tlsdesc_resolve_hold): Likewise.
5254
5255 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5256
5257 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
5258 (_fini): Likewise.
5259 * sysdeps/x86_64/crti.S (_init): Likewise.
5260 (_fini): Likewise.
5261
5262 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
5263
5264 [BZ #23140]
5265 * localedata/locales/os_RU (mon): Rename to...
5266 (alt_mon): This.
5267 (mon): Import from CLDR (genitive case).
5268
5269 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5270
5271 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
5272 cet-tunables.h> when CET is enabled.
5273
5274 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
5275
5276 [BZ #21598]
5277 * configure.ac: Add --enable-cet.
5278 * configure: Regenerated.
5279 * elf/Makefille (all-built-dso): Add a comment.
5280 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
5281 Include <dl-prop.h>.
5282 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
5283 segment.
5284 * elf/dl-open.c: Include <dl-prop.h>.
5285 (dl_open_worker): Call _dl_open_check.
5286 * elf/rtld.c: Include <dl-prop.h>.
5287 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
5288 _rtld_main_check.
5289 * sysdeps/generic/dl-prop.h: New file.
5290 * sysdeps/i386/dl-cet.c: Likewise.
5291 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
5292 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
5293 * sysdeps/x86/cet-tunables.h: Likewise.
5294 * sysdeps/x86/check-cet.awk: Likewise.
5295 * sysdeps/x86/configure: Likewise.
5296 * sysdeps/x86/configure.ac: Likewise.
5297 * sysdeps/x86/dl-cet.c: Likewise.
5298 * sysdeps/x86/dl-procruntime.c: Likewise.
5299 * sysdeps/x86/dl-prop.h: Likewise.
5300 * sysdeps/x86/libc-start.h: Likewise.
5301 * sysdeps/x86/link_map.h: Likewise.
5302 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
5303 _CET_ENDBR.
5304 (_dl_runtime_profile): Likewise.
5305 (_dl_runtime_resolve_shstk): New.
5306 (_dl_runtime_profile_shstk): Likewise.
5307 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
5308 if CET is enabled.
5309 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
5310 (CFLAGS-.os): Likewise.
5311 (CFLAGS-.op): Likewise.
5312 (CFLAGS-.oS): Likewise.
5313 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
5314 is enabled.
5315 (tests-special): Add $(objpfx)check-cet.out.
5316 (cet-built-dso): New.
5317 (+$(cet-built-dso:=.note)): Likewise.
5318 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
5319 ($(objpfx)check-cet.out): New.
5320 (generated): Add check-cet.out.
5321 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
5322 <cet-tunables.h>.
5323 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
5324 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
5325 (init_cpu_features): Call get_cet_status to check CET status
5326 and update dl_x86_feature_1 with CET status. Call
5327 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
5328 (set_x86_shstk). Disable and lock CET in libc.a.
5329 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
5330 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
5331 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
5332 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
5333 (_CET_ENDBR): Define if not defined.
5334 (ENTRY): Add _CET_ENDBR.
5335 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
5336 x86_shstk.
5337 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
5338 _CET_ENDBR.
5339 (_dl_runtime_profile): Likewise.
5340
5341 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
5342
5343 [BZ #21895]
5344 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
5345 restore r2 on longjmp.
5346 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
5347 test list.
5348 Added rules to build test tst-setjmp-bug21895-static.
5349 Added module setjmp-bug21895 and rules to build a shared object from it.
5350 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
5351 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
5352
5353 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
5354
5355 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
5356 * benchtests/bench-strstr.c: Likewise.
5357 * string/memmem.c (FASTSEARCH): Define.
5358 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
5359 Add support for FASTSEARCH.
5360 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
5361 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
5362 (FASTSEARCH): Define.
5363 * string/test-strcasestr.c: Rename __strnlen to strnlen.
5364 * string/test-strstr.c: Likewise.
5365
5366 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
5367
5368 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
5369 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
5370
5371 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
5372 H.J. Lu <hongjiu.lu@intel.com>
5373
5374 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
5375 (__longjmp): Restore shadow stack pointer if shadow stack is
5376 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
5377 isn't defined for __longjmp_cancel.
5378 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
5379 (_setjmp): Save shadow stack pointer if shadow stack is enabled
5380 and SHADOW_STACK_POINTER_OFFSET is defined.
5381 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
5382 (setjmp): Save shadow stack pointer if shadow stack is enabled
5383 and SHADOW_STACK_POINTER_OFFSET is defined.
5384 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
5385 (__sigsetjmp): Save shadow stack pointer if shadow stack is
5386 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
5387 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
5388 <jmp_buf-ssp.h>.
5389 (____longjmp_chk): Restore shadow stack pointer if shadow stack
5390 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
5391 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
5392 Remove jmp_buf-ssp.sym.
5393 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5394 <jmp_buf-ssp.h>.
5395 (____longjmp_chk): Restore shadow stack pointer if shadow stack
5396 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
5397 * sysdeps/x86/Makefile (gen-as-const-headers): Add
5398 jmp_buf-ssp.sym.
5399 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
5400 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
5401 (__longjmp): Restore shadow stack pointer if shadow stack is
5402 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
5403 isn't defined for __longjmp_cancel.
5404 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
5405 (__sigsetjmp): Save shadow stack pointer if shadow stack is
5406 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
5407
5408 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
5409
5410 [BZ #22563]
5411 * nptl/pthread_create.c: Include <tls-setup.h>.
5412 (__pthread_create_2_1): Call tls_setup_tcbhead.
5413 * sysdeps/generic/tls-setup.h: New file.
5414 * sysdeps/x86/nptl/tls-setup.h: Likewise.
5415 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
5416 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
5417 Likewise.
5418 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
5419 to feature_1.
5420 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
5421 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
5422 (X86_FEATURE_1_SHSTK): Likewise.
5423 (CET_ENABLED): Likewise.
5424 (IBT_ENABLED): Likewise.
5425 (SHSTK_ENABLED): Likewise.
5426
5427 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
5428
5429 [BZ #23208]
5430 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
5431 (LOCALES): Likewise.
5432 * localedata/dsb_DE.UTF-8.in: New file.
5433 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
5434
5435 2018-07-12 Florian Weimer <fweimer@redhat.com>
5436
5437 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
5438 __mprotect, not mprotect.
5439
5440 2018-07-11 Florian Weimer <fweimer@redhat.com>
5441
5442 * io/Makefile (headers): Add bits/statx.h.
5443
5444 2018-07-10 Mike FABIAN <mfabian@redhat.com>
5445
5446 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
5447 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
5448 and headers.
5449 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
5450 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
5451 for utf8_gen.py
5452
5453 2018-07-10 Florian Weimer <fweimer@redhat.com>
5454
5455 * io/Makefile (routines): Add statx.
5456 (tests-internal): Add tst-statx.
5457 * io/Versions (GLIBC_2.28): Export statx.
5458 * io/bits/statx.h: New file.
5459 * io/sys/stat.h [__USE_GNU]: Include it.
5460 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
5461 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
5462 Define.
5463 * io/statx.c: New file.
5464 * io/statx_generic.: Likewise.
5465 * io/tst-statx.: Likewise.
5466 * include/bits/statx.h: Likewise.
5467 * sysdeps/unix/sysv/linux/kernel-features.h
5468 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
5469 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5470 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
5471 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
5472 Undefine.
5473 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5474 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
5475 * sysdeps/unix/sysv/linux/statx.c: New file.
5476 * manual/filesys.texi: Note that statx is undocumented.
5477 * sysdeps/**/libc*.abilist: Update.
5478
5479 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5480
5481 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
5482 a kernel issue which lead to test failure in some cases.
5483
5484 2018-07-10 Florian Weimer <fweimer@redhat.com>
5485
5486 [BZ #23036]
5487 * posix/regexec.c (check_node_accept_bytes): When comparing
5488 weights, do not compare an extra byte after the end of the
5489 weights.
5490
5491 2018-07-10 Florian Weimer <fweimer@redhat.com>
5492
5493 * libio/readline.c: Fix copyright year.
5494 * libio/tst-readline.c Likewise.
5495 * nss/tst-nss-files-hosts-getent.c: Likewise.
5496
5497 2018-07-06 Florian Weimer <fweimer@redhat.com>
5498
5499 [BZ #18991]
5500 * nss/nss_files/files-XXX.c (internal_getent): Use
5501 __libc_readline_unlocked. Seek back to the start of the line if
5502 parsing failes with ERANGE.
5503 (get_contents_ret, get_contents): Remove.
5504 * nss/tst-nss-files-hosts-getent.c: New file.
5505 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
5506 (tst-nss-files-hosts-getent): Link with -ldl.
5507
5508 2018-07-06 Florian Weimer <fweimer@redhat.com>
5509
5510 * include/stdio.h (__libc_readline_unlocked): Declare.
5511 (__ftello64, __fseeko64): Declare aliases.
5512 * libio/readline.c: New file.
5513 * libio/tst-readline.c: Likewise.
5514 (routines): Add readline.
5515 (tests-internal): Add tst-readlime.
5516 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
5517 __libc_readline_unlocked.
5518 * libio/fseeko.c (__fseeko): Rename from fseeko.
5519 (fseeko): Add alias.
5520 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
5521 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
5522 (fseeko64): Add alias.
5523 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
5524 * libio/ftello64.c (__ftello64): Rename from ftello64.
5525 (ftello64): Add alias.
5526
5527 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
5528
5529 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
5530 HWCAP_ATOMICS.
5531
5532 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
5533
5534 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
5535 Use dl_hwcap without masking.
5536 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
5537 Remove HWCAP_CPUID.
5538
5539 2018-07-06 Florian Weimer <fweimer@redhat.com>
5540
5541 * conform/conformtest.pl (checknamespace): Escape literal braces
5542 in regular expressions.
5543
5544 2018-07-06 Amit Pawar <amit.pawar@amd.com>
5545
5546 * sysdeps/x86/cpu-features.c (get_common_indeces):
5547 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
5548 * sysdeps/x86/cpu-features.c (init_cpu_features):
5549 AVX_Fast_Unaligned_Load is disabled for Excavator core.
5550
5551 2018-07-05 Florian Weimer <fweimer@redhat.com>
5552
5553 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
5554 protector.
5555 (CFLAGS-elf-init.oS): Likewise.
5556
5557 2018-07-05 Florian Weimer <fweimer@redhat.com>
5558 Carlos O'Donell <carlos@redhat.com>
5559
5560 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
5561 $(no-stack-protector). stack_chk_fail_local.c can be compiled
5562 with stack protector enabled because there is no risk of infinite
5563 recursion.
5564
5565 2018-07-05 Maciej W. Rozycki <macro@mips.com>
5566
5567 [BZ #19818]
5568 [BZ #23307]
5569 * libc-abis (ABSOLUTE): New ABI.
5570 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
5571 * NEWS: Mention the new ABI.
5572
5573 2018-07-05 Florian Weimer <fweimer@redhat.com>
5574
5575 [BZ # 17662]
5576 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
5577 (RENAME_WHITEOUT): Define.
5578 [__USE_GNU] (renameat2): Declare.
5579 * stdio-common/Makefile (routines): Add renameat2.
5580 (tests): Add tst-renameat2.
5581 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
5582 * stdio-common/renameat2.c: New file.
5583 * stdio-common/tst-renameat2.c: Likewise.
5584 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
5585 * manual/filesys.texi (Temporary Files): Note that renameat2 is
5586 undocumented.
5587 * sysdeps/unix/sysv/linux/kernel-features.h
5588 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
5589 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5590 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
5591 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5592 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
5593 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5594 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
5595 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5596 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
5597 * include/stdio.h (__renameat): Add alias for renameat.
5598 * stdio-common/renameat.c (__renameat): Rename from renameat.
5599 Add hidden definition and alias.
5600 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5601 * sysdeps/mach/hurd/renameat.c: Likewise.
5602 * sysdeps/**/libc*.abilist: Add renameat2.
5603
5604 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5605
5606 * posix/bug-regex33.c: Fix build after regex sync.
5607
5608 2018-07-04 Carlos O'Donell <carlos@redhat.com>
5609
5610 [BZ #23164]
5611 * localedata/tst-langinfo-setlocale.c: New file.
5612 * localedata/tst-langinfo-setlocale-static.c: New file.
5613 * localedata/tst-langinfo-newlocale.c: New file.
5614 * localedata/tst-langinfo-newlocale-static.c: New file.
5615 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
5616 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
5617 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
5618 (tests-static): Remove tst-langinfo-static. Add
5619 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
5620 (tests-special): Remove $(objpfx)tst-langinfo.out,
5621 $(objpfx)tst-langinfo-static.out. Add
5622 $(objpfx)tst-langinfo-setlocale.out,
5623 $(objpfx)tst-langinfo-newlocale.out,
5624 $(objpfx)tst-langinfo-setlocale-static.out,
5625 $(objpfx)tst-langinfo-newlocale-static.out.
5626 ($(objpfx)tst-langinfo.out): Remove.
5627 ($(objpfx)tst-langinfo-static.out): Remove.
5628 ($(objpfx)tst-langinfo-newlocale.out): New target.
5629 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
5630 (test-xfail-tst-langinfo-newlocale-static): Add.
5631 ($(objpfx)tst-langinfo-setlocale.out): New target.
5632 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
5633 * localedata/tst-langinfo.c: Call test_locale.
5634 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
5635 data.
5636
5637 2018-07-04 Florian Weimer <fweimer@redhat.com>
5638
5639 testrun.sh: Implement --tool=strace, --tool=valgrind
5640 * Makefile (testrun-script): Define variable.
5641 (testrun.sh): Use variable.
5642 * manual/install.texi (Tools for Compilation): make 4.0 or later
5643 is required.
5644 * configure.ac: Check for make 4.0 or later.
5645 * INSTALL: Regenerate.
5646 * configure: Likewise.
5647
5648 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5649
5650 [BZ #23233]
5651 [BZ #21163]
5652 [BZ #18986]
5653 [BZ #13762]
5654 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
5655 * posix/PCRE.tests: Remove invalid test.
5656 * posix/bug-regex28.c: Fix expected values for used syntax.
5657 * posix/bug-regex37.c: New file.
5658 * posix/bug-regex38.c: Likewise.
5659 * posix/regcomp.c: Sync with gnulib.
5660 * posix/regex.c: Likewise.
5661 * posix/regex.h: Likewise.
5662 * posix/regex_internal.c: Likewise.
5663 * posix/regex_internal.h: Likewise.
5664 * posix/regexec.c: Likewise.
5665
5666 2018-06-26 Mike FABIAN <mfabian@redhat.com>
5667
5668 [BZ #23308]
5669 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
5670 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
5671 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
5672 * localedata/unicode-gen/PropList.txt: likewise.
5673 * localedata/unicode-gen/UnicodeData.txt: likewise.
5674 * localedata/charmaps/UTF-8: Regenerate.
5675 * localedata/locales/i18n_ctype: likewise.
5676 * localedata/locales/tr_TR: likewise.
5677 * localedata/locales/translit_circle: likewise.
5678 * localedata/locales/translit_cjk_compat: likewise.
5679 * localedata/locales/translit_combining: likewise.
5680 * localedata/locales/translit_compat: likewise.
5681 * localedata/locales/translit_font: likewise.
5682 * localedata/locales/translit_fraction: likewise.
5683
5684 2018-07-03 Florian Weimer <fweimer@redhat.com>
5685
5686 [BZ #23363]
5687 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
5688 * stdio-common/tst-printf.sh: Adjust expected output.
5689 * LICENSES: Update.
5690
5691 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5692
5693 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
5694 symbol.
5695
5696 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5697
5698 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
5699 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
5700 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
5701 * stdio-common/tst-printfsz-islongdouble.c: New file.
5702 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
5703 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
5704 [subdir == stdio-common] (routines): Add ieee128-printf_size.
5705 [subdir == stdio-common] (tests-internal): Add
5706 test-printf-size-ieee128, and test-printf-size-ibm128.
5707 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
5708 (CFLAGS-test-printf-size-ibm128.c): New variables.
5709 [subdir == stdio-common] (tests-special): Add
5710 $(objpfx)test-printf-size-ieee128.out and
5711 $(objpfx)test-printf-size-ibm128.out.
5712 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
5713 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
5714 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
5715 __printf_sizeieee128.
5716 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
5717 New file.
5718 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
5719 Likewise.
5720 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
5721 Likewise.
5722
5723 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
5724
5725 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
5726 (exp2f_inline): Likewise.
5727 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
5728 (__math_uflowf): Likewise.
5729 (__math_may_uflowf): Likewise.
5730 (__math_divzerof): Likewise.
5731 (__math_invalidf): Likewise.
5732 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
5733 (__math_oflowf): Likewise.
5734 (__math_uflowf): Likewise.
5735 (__math_may_uflowf): Likewise.
5736 (__math_divzerof): Likewise.
5737 (__math_invalidf): Likewise.
5738
5739 2018-06-29 DJ Delorie <dj@redhat.com>
5740 Carlos O'Donell <carlos@redhat.com>
5741
5742 [BZ #23329]
5743 * include/libc-symbols.h: Comment the freeres framework.
5744 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
5745 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
5746 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
5747 * dlfcn/dlerror.c: Include libc-symbols.h
5748 (__dlerror_main_freeres): New function.
5749 * dlfcn/dlfreeres.c: New file.
5750 * dlfcn/sdlfreeres.c: New file.
5751 * include/dlfcn.h: Declare __dlerror_main_freeres.
5752 * malloc/set-freeres.c: Declare __libdl_freeres, and
5753 __libpthread_freeres.
5754 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
5755 the releavant libraries are loaded.
5756 * malloc/thread-freeres.c: Add comments.
5757 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
5758 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
5759 * nptl/allocatestack.c (__nptl_free_stacks): New function.
5760 (__free_stacks): Rename to...
5761 (free_stacks): ...this. Mark static.
5762 (queue_stack): Call free_stacks.
5763 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
5764 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
5765 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
5766 ptr_freeres element from struct.
5767 (pthread_functions): Remove .ptr_freeres from struct initializer.
5768 [SHARED] (nptl_freeres): Remove.
5769 * nptl/nptlfreeres.c: New file.
5770 * nptl/pthreadP.h
5771 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
5772 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
5773 attribute_hidden.
5774 (__free_stacks): Rename to...
5775 (__nptl_stacks_freeres): ...this.
5776 (__shm_directory_freeres): Declare.
5777 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
5778 (__nptl_unwind_freeres): ...this.
5779 * resolv/res-close.c: Add comment.
5780 * resolv/resolv_conf.c: Include libc-symbols.h.
5781 * string/strerror_l.c: Include libc-symbols.h.
5782 * sunrpc/rpc_thread.c: Include libc-symbols.h.
5783 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
5784 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
5785 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
5786
5787 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5788
5789 * stdlib/tst-strfmon_l.c: Add tests for long double.
5790
5791 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
5792
5793 [BZ #23208]
5794 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
5795 * localedata/locales/dsb_DE: New file.
5796
5797 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
5798
5799 [BZ #23140]
5800 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
5801 genitive case).
5802 (alt_mon): New entry, import from CLDR (nominative case).
5803
5804 2018-06-29 Sylvain Lesage <severo@rednegra.net>
5805
5806 [BZ #22996]
5807 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
5808
5809 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
5810
5811 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
5812 Use vector registers.
5813
5814 * sysdeps/aarch64/multiarch/memmove_falkor.S
5815 (__memcpy_falkor): Use vector registers.
5816
5817 2018-06-29 Martin Sebor <msebor@redhat.com>
5818
5819 * manual/stdio.texi (Customizing Printf): Mention interaction
5820 with GCC built-ins.
5821
5822 2018-06-29 Maciej W. Rozycki <macro@mips.com>
5823
5824 [BZ #23307]
5825 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
5826 `st_value' is 0 if `st_shndx' is SHN_ABS.
5827 * elf/tst-absolute-zero.c: New file.
5828 * elf/tst-absolute-zero-lib.c: New file.
5829 * elf/tst-absolute-zero-lib.lds: New file.
5830 * elf/Makefile (tests): Add `tst-absolute-zero'.
5831 (modules-names): Add `tst-absolute-zero-lib'.
5832 (LDLIBS-tst-absolute-zero-lib.so): New variable.
5833 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
5834 ($(objpfx)tst-absolute-zero: New dependency.
5835
5836 2018-06-29 Zack Weinberg <zackw@panix.com>
5837
5838 * configure.ac: New command-line option --disable-crypt.
5839 Force --disable-nss-crypt when --disable-crypt is given, with a
5840 warning if it was explicitly enabled.
5841 * configure: Regenerate.
5842 * config.make.in: New boolean substitution variable $(build-crypt).
5843 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
5844 when $(build-crypt).
5845 * manual/install.texi: Document --disable-crypt.
5846 * INSTALL: Regenerate.
5847
5848 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
5849 which is never set.
5850 * conform/Makefile: Only include libcrypt.a in
5851 linknamespace-libs-xsi and linknamespace-libs-XPG4
5852 when $(build-crypt).
5853 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
5854 USE_CRYPT to 1 when $(build-crypt).
5855 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
5856 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
5857 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
5858
5859 2018-06-29 Zack Weinberg <zackw@panix.com>
5860
5861 * crypt/crypt.h, posix/unistd.h: Update comments and
5862 prototypes for crypt and crypt_r.
5863
5864 * manual/crypt.texi (Cryptographic Functions): New initial
5865 exposition.
5866 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
5867 (Unpredictable Bytes): Improve initial exposition. Clarify error
5868 behavior of getentropy and getrandom.
5869 * manual/examples/genpass.c: Generate a salt using getentropy
5870 instead of the current time. Use hash $5$ (SHA-2-256).
5871 * manual/examples/testpass.c: Demonstrate validation against
5872 hashes generated with three different one-way functions.
5873
5874 * manual/intro.texi: crypt.texi does not need an overview
5875 anymore.
5876
5877 * manual/nss.texi, manual/memory.texi, manual/socket.texi
5878 * manual/terminal.texi: Consistently refer to "passphrases"
5879 * instead of "passwords", and to the "user database" instead
5880 * of the "password database".
5881 * manual/users.texi: Similarly. Add notes about how actual
5882 passphrase hashes are now stored in the shadow database.
5883 Remove 20-year-old junk todo note.
5884
5885 2018-06-29 Zack Weinberg <zackw@panix.com>
5886
5887 * manual/crypt.texi: Use a normal top-level @node declaration.
5888 Move most of the introductory text to the 'crypt' section.
5889 Move the example programs below the @deftypefun for 'crypt_r'.
5890 Move the 'getpass' section...
5891 * manual/terminal.texi: ...here.
5892
5893 2018-06-29 Zack Weinberg <zackw@panix.com>
5894 Florian Weimer <fweimer@redhat.com>
5895
5896 * posix/unistd.h: Do not declare encrypt.
5897 (_XOPEN_CRYPT): Remove macro definition.
5898 (crypt): Declare only for _USE_MISC.
5899 * stdlib/stdlib.h: Do not declare setkey.
5900 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
5901 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
5902
5903 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
5904 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
5905 into compat symbols. Don't define initial_perm if it's not
5906 going to be used.
5907 * crypt/cert.c: Link explicitly with the expected versions for
5908 setkey and encrypt. If they are not available at all, mark
5909 the test as unsupported.
5910
5911 * sunrpc/des_crypt.c: Unconditionally block linkage with
5912 cbc_crypt and ecb_crypt for new binaries.
5913 * sunrpc/des_soft.c: Unconditionally block linkage with
5914 des_setparity for new binaries.
5915
5916 * manual/crypt.texi: Remove the entire "DES Encryption"
5917 section. Also remove the paragraph talking about FIPS 140-2
5918 from the introduction.
5919 * manual/string.texi (strfry, memfrob): Revise. Recommend use
5920 of libgcrypt for "real" encryption, not DES.
5921 * manual/conf.texi (Constants for Sysconf): Mention that
5922 _XOPEN_CRYPT is no longer impelemented.
5923
5924 * conform/data/unistd.h-data: Remove crypt function declaration.
5925
5926 2018-06-29 Florian Weimer <fweimer@redhat.com>
5927
5928 [BZ #23351]
5929 * malloc/hooks.c: Update comments on restoring of dumped heaps.
5930 (disallow_malloc_check): Remove variable.
5931 (__malloc_check_init): Adjust.
5932 (malloc_set_state): Update comment.
5933 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
5934 declarations.
5935
5936 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
5937
5938 [BZ #23140]
5939 * localedata/locales/ast_ES (mon): Rename to...
5940 (alt_mon): This.
5941 (mon): Import from CLDR (genitive case).
5942
5943 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
5944 Jakub Sitnicki <jkbs@redhat.com>
5945
5946 [BZ #21812]
5947 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
5948 on NLM_F_DUMP_INTR.
5949
5950 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
5951
5952 * manual/llio.texi: Remove spurious space.
5953
5954 2018-06-28 Florian Weimer <fweimer@redhat.com>
5955
5956 [BZ #23349]
5957 * time/bits/types/struct_timespec.h: Change header inclusion guard to
5958 _STRUCT_TIMESPEC.
5959
5960 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5961
5962 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
5963 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
5964 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
5965 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
5966 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
5967 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
5968 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
5969
5970 2018-06-27 Maciej W. Rozycki <macro@mips.com>
5971
5972 [BZ #23266]
5973 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
5974 Copy and null-terminate entries that are not terminated, in
5975 addition to empty ones.
5976
5977 2018-06-27 Florian Weimer <fweimer@redhat.com>
5978
5979 [BZ #18023]
5980 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
5981 (extend_alloca_account): Remove.
5982 * manual/stdio.texi (Variable Arguments Output): Update comment.
5983
5984 2018-06-27 Joseph Myers <joseph@codesourcery.com>
5985
5986 * nptl/sockperf.c: Remove file.
5987
5988 2018-06-27 Florian Weimer <fweimer@redhat.com>
5989
5990 [BZ #18023]
5991 * elf/dl-deps.c (_dl_map_object_deps): Use struct
5992 scratch_buffer instead of extend_alloca.
5993
5994 2018-06-27 Florian Weimer <fweimer@redhat.com>
5995
5996 [BZ #18023]
5997 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
5998 scratch_buffer instead of extend_alloca. Update comments.
5999
6000 2018-06-27 Florian Weimer <fweimer@redhat.com>
6001
6002 [BZ #18023]
6003 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
6004 instead of extend_alloca.
6005
6006 2018-06-26 Joseph Myers <joseph@codesourcery.com>
6007
6008 [BZ #13888]
6009 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
6010 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
6011 /tmp.
6012 * scripts/test-installation.pl: Put temporary files in build
6013 directory, not /tmp.
6014 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
6015 (CFLAGS-bug4.c): Likewise.
6016 (CFLAGS-bug5.c): Likewise.
6017 (CFLAGS-test-fseek.c): Likewise.
6018 (CFLAGS-test-popen.c): Likewise.
6019 (CFLAGS-test_rdwr.c): Likewise.
6020 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
6021 /tmp.
6022 * stdio-common/bug4.c (main): Likewise.
6023 * stdio-common/bug5.c (main): Likewise.
6024 * stdio-common/test-fseek.c (TESTFILE): Likewise.
6025 * stdio-common/test-popen.c (do_test): Likewise.
6026 * stdio-common/test_rdwr.c (main): Likewise.
6027
6028 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
6029
6030 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
6031 (sem_open): Set sem.newsem.pad to zero for valgrind.
6032
6033 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6034
6035 [BZ #20251]
6036 * NEWS: Mention fcntl64 addition.
6037 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
6038 * login/utmp_file.c: Likewise.
6039 * sysdeps/posix/fdopendir.c: Likewise.
6040 * sysdeps/posix/opendir.c: Likewise.
6041 * sysdeps/unix/pt-fcntl.c: Likewise.
6042 * include/fcntl.h (__libc_fcntl64, __fcntl64,
6043 __fcntl64_nocancel_adjusted): New prototype.
6044 (__fcntl_nocancel_adjusted): Remove prototype.
6045 * io/Makefile (routines): Add fcntl64.
6046 (CFLAGS-fcntl64.c): New rule.
6047 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
6048 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
6049 * io/fcntl.h (fcntl64): Add prototype and redirect if
6050 __USE_FILE_OFFSET64 is defined.
6051 * io/fcntl64.c: New file.
6052 * manual/llio.text: Add a note for which commands fcntl acts a
6053 cancellation point.
6054 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
6055 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
6056 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
6057 New symbols.
6058 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
6059 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
6060 non-LFS case.
6061 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
6062 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
6063 to __fcntl64_nocancel.
6064 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
6065 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
6066 to __fcntl64_nocancel.
6067 * sysdeps/generic/not-cancel.h: Likewise.
6068 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
6069 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
6070 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
6071 (fcntl64): New symbol.
6072 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6073 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6074 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6077 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6078 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6079 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6080 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6081 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6082 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
6083 fcntl64): Likewise.
6084 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6085 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
6086 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6087 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6088 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6089 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6090 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6091 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6092 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6094 Likewise.
6095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6096 Likewise.
6097 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6098 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6099 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6100
6101 2018-06-26 Florian Weimer <fweimer@redhat.com>
6102
6103 Run thread shutdown functions in an explicit order.
6104 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
6105 definition.
6106 (__libc_thread_freeres): Call thread shutdown functions
6107 explicitly.
6108 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
6109 * include/string.h (__strerror_thread_freeres): Declare.
6110 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
6111 arena_thread_freeres. No longer static. Remove thread shutdown
6112 hook registration.
6113 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
6114 Declare.
6115 * resolv/res-close.c (__res_thread_freeres): Renamed from
6116 res_thread_freeres. No longer static. Remove thread shutdown
6117 hook registration.
6118 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
6119 * resolv/resolv_conf.c (freeres): Remove incorrect section
6120 attribute and use libc_freeres_fn.
6121 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
6122 strerror_thread_freeres. No longer static. Remove thread
6123 shutdown hook registration.
6124 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
6125 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
6126 shutdown hook registration.
6127 * Makerules (shlib.lds): Do not provide section boundary symbols
6128 for __libc_thread_subfreeres.
6129 * manual/memory.texi (Basic Allocation): Update comment.
6130
6131 2018-06-26 Florian Weimer <fweimer@redhat.com>
6132
6133 Remove always-defined _RPC_THREAD_SAFE_ macro.
6134 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
6135 Do not define _RPC_THREAD_SAFE_.
6136 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
6137 conditional.
6138 * sunrpc/clnt_perr.c: Likewise.
6139 * sunrpc/clnt_raw.c: Likewise.
6140 * sunrpc/clnt_simp.c: Likewise.
6141 * sunrpc/key_call.c: Likewise.
6142 * sunrpc/rpc_common.c: Likewise.
6143 * sunrpc/rpc_main.c: Likewise.
6144 * sunrpc/rpc_thread.c: Likewise.
6145 * sunrpc/svc.c: Likewise.
6146 * sunrpc/svc_raw.c: Likewise.
6147 * sunrpc/svc_simple.c: Likewise.
6148 * sumrpc/svcauth_des.c: Likewise.
6149
6150 2018-06-26 Florian Weimer <fweimer@redhat.com>
6151
6152 * libio/Makefile (tests-internal): Add tst-vtables,
6153 tst-vtables-interposed.
6154 * libio/tst-vtables.c: New file.
6155 * libio/tst-vtables-common.c: Likewise.
6156 * libio/tst-vtables-interposed.c: Likewise.
6157
6158 2018-06-26 Florian Weimer <fweimer@redhat.com>
6159
6160 * support/support_test_main.c (support_test_main): Only call
6161 setvbuf if not disables.
6162 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
6163 * support/test-driver.h (struct test_config): Add no_setvbuf member.
6164
6165 2018-06-26 Florian Weimer <fweimer@redhat.com>
6166
6167 [BZ #23313]
6168 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
6169
6170 2018-06-25 Florian Weimer <fweimer@redhat.com>
6171
6172 [BZ #18023]
6173 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6174 Use struct scratch_buffer instead of extend_alloca.
6175
6176 2018-06-25 Florian Weimer <fweimer@redhat.com>
6177
6178 [BZ #18023]
6179 * nss/getent.c (initgroups_keys): Use dynarray instead of
6180 extend_alloca.
6181
6182 2018-06-25 Florian Weimer <fweimer@redhat.com>
6183
6184 [BZ #18023]
6185 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
6186 Use struct scratch_buffer instead of extend_alloca.
6187
6188 2018-06-25 Florian Weimer <fweimer@redhat.com>
6189
6190 [BZ #18023]
6191 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
6192 back to malloc directly, without stack allocations.
6193
6194 2018-06-25 Florian Weimer <fweimer@redhat.com>
6195
6196 [BZ #18023]
6197 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
6198 of extend_alloca.
6199
6200 2018-06-25 Florian Weimer <fweimer@redhat.com>
6201
6202 [BZ #18023]
6203 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
6204 of extend_alloca.
6205 * nscd/hstcache.c (addhstbyX): Likewise.
6206 * nscd/pwdcache.c (addpwbyX): Likewise.
6207 * nscd/servicescache.c (addservbyX): Likewise.
6208
6209 2018-06-25 Florian Weimer <fweimer@redhat.com>
6210
6211 [BZ #18023]
6212 * nscd/connections.c (read_cmdline): New function.
6213 (restart): Use it. Update comment.
6214
6215 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
6216
6217 [BZ #23140]
6218 * localedata/locales/csb_PL (mon): Rename to...
6219 (alt_mon): This.
6220 (abmon): Rename to...
6221 (ab_alt_mon): This.
6222 (mon): Add with proper genitive forms, copy from Wikipedia.
6223 (abmon): Likewise.
6224
6225 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
6226
6227 [BZ #19485]
6228 * localedata/locales/csb_PL (mon): Fix typos:
6229 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
6230 (yesstr): Add, value is "jo".
6231 (nostr): Add, value is "nié".
6232
6233 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6234
6235 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
6236 all log1p and significand functions on m680x0.
6237 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
6238 of s_significand.c..
6239 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6240 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
6241 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
6242 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
6243 s_log1p.c and include it..
6244
6245 2018-06-21 Vincent Chen <vincentc@andestech.com>
6246
6247 * elf/elf.h (R_NDS32_NONE): New define.
6248 (R_NDS32_32_RELA): Likewise.
6249 (R_NDS32_COPY): Likewise.
6250 (R_NDS32_GLOB_DAT): Likewise.
6251 (R_NDS32_JUMP_SLOT): Likewise.
6252 (R_NDS32_RELATIVE): Likewise.
6253 (R_NDS32_TLS_TPOFF): Likewise.
6254 (R_NDS32_TLS_DESC): Likewise.
6255
6256 2018-06-21 Mark Wielaard <mark@klomp.org>
6257
6258 * elf/elf.h (R_BPF_MAP_FD): Removed.
6259 (R_BPF_64_64, R_BPF_64_32): New.
6260
6261 2018-06-21 Florian Weimer <fweimer@redhat.com>
6262
6263 [BZ #23253]
6264 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
6265 Renamed from libc_feholdsetround_ctx.
6266 (default_libc_feresetround_ctx): Renamed from
6267 libc_feresetround_ctx.
6268 (default_libc_feholdsetround_noex_ctx): Renamed from
6269 libc_feholdsetround_noex_ctx.
6270 (default_libc_feresetround_noex_ctx): Renamed from
6271 libc_feresetround_noex_ctx.
6272 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
6273 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
6274 forwardning to the old implementations under the new names.
6275 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
6276 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
6277 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
6278 (libc_feresetround_ctx): Forward to default implements for i386
6279 and MATH_SET_BOTH_ROUNDING_MODES.
6280 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
6281 Add -DMATH_SET_BOTH_ROUNDING_MODES.
6282
6283 2018-06-20 Joseph Myers <joseph@codesourcery.com>
6284
6285 * string/tst-cmp.c: Include <libc-diag.h>.
6286 (strncmp_max): Disable -Wstringop-overflow= around call to
6287 strncmp.
6288 (strncasecmp_max): Disable -Wstringop-overflow= around call to
6289 strncasecmp.
6290
6291 * string/bug-strpbrk1.c: Include <libc-diag.h>.
6292 (main): Disable -Wunused-value around call to strpbrk.
6293 * string/bug-strspn1.c: Include <libc-diag.h>.
6294 (main): Disable -Wunused-value around call to strspn.
6295
6296 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6297 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6298
6299 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
6300 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
6301
6302 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6303
6304 * math/Makefile (libm-calls): Move s_significandF to...
6305 (gen-libm-calls): ... here.
6306 * math/s_significand_template.c: New file.
6307 * math/s_significand.c: Removed.
6308 * math/s_significandf.c: Removed.
6309 * math/s_significandl.c: Removed.
6310 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
6311 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
6312
6313 * math/e_exp2_template.c (declare_mgen_finite_alias,
6314 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
6315 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
6316 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
6317
6318 2018-06-20 Florian Weimer <fweimer@redhat.com>
6319
6320 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
6321
6322 2018-06-19 Joseph Myers <joseph@codesourcery.com>
6323
6324 [BZ #23280]
6325 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
6326 floating-point number to strtod functions rather than possibly
6327 negating result of those functions.
6328 * stdio-common/tst-scanf-round.c: New file.
6329 * stdio-common/Makefile (tests): Add tst-scanf-round.
6330 ($(objpfx)tst-scanf-round): Depend on $(libm).
6331
6332 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6333
6334 * sysdeps/mach/hurd/localplt.data: Move to...
6335 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
6336 R_386_GLOB_DAT like on Linux i386.
6337
6338 2018-06-18 Joseph Myers <joseph@codesourcery.com>
6339
6340 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
6341 (SHM_STAT_ANY): New macro.
6342 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
6343 (SHM_STAT_ANY): Likewise.
6344 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
6345 (SHM_STAT_ANY): Likewise.
6346 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
6347 (SHM_STAT_ANY): Likewise.
6348 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
6349 (SHM_STAT_ANY): Likewise.
6350 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
6351 (SHM_STAT_ANY): Likewise.
6352 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
6353 (SHM_STAT_ANY): Likewise.
6354 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
6355 (SHM_STAT_ANY): Likewise.
6356 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
6357 (SHM_STAT_ANY): Likewise.
6358 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
6359 (SHM_STAT_ANY): Likewise.
6360 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
6361 (SHM_STAT_ANY): Likewise.
6362 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
6363 (SHM_STAT_ANY): Likewise.
6364
6365 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
6366 (SEM_STAT_ANY): New macro.
6367 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
6368 (SEM_STAT_ANY): Likewise.
6369 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
6370 (SEM_STAT_ANY): Likewise.
6371 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
6372 (SEM_STAT_ANY): Likewise.
6373 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
6374 (SEM_STAT_ANY): Likewise.
6375 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
6376 (SEM_STAT_ANY): Likewise.
6377 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
6378 (SEM_STAT_ANY): Likewise.
6379 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
6380 (SEM_STAT_ANY): Likewise.
6381 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
6382 (SEM_STAT_ANY): Likewise.
6383 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
6384 (SEM_STAT_ANY): Likewise.
6385
6386 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
6387 (MSG_STAT_ANY): New macro.
6388 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
6389 (MSG_STAT_ANY): Likewise.
6390 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
6391 (MSG_STAT_ANY): Likewise.
6392 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
6393 (MSG_STAT_ANY): Likewise.
6394 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
6395 (MSG_STAT_ANY): Likewise.
6396 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
6397 (MSG_STAT_ANY): Likewise.
6398 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
6399 (MSG_STAT_ANY): Likewise.
6400 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
6401 (MSG_STAT_ANY): Likewise.
6402 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
6403 (MSG_STAT_ANY): Likewise.
6404 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
6405 (MSG_STAT_ANY): Likewise.
6406
6407 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6408 (MAP_TYPE): Change value to 0x2b.
6409
6410 2018-06-18 Florian Weimer <fweimer@redhat.com>
6411
6412 [BZ #15722]
6413 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
6414 socket with SOCK_CLOEXEC.
6415
6416 2018-06-18 Joseph Myers <joseph@codesourcery.com>
6417
6418 [BZ #23303]
6419 * sysdeps/powerpc/powerpc64/le/Makefile
6420 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
6421 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
6422 (gnulib-tests): Also add $(f128-loader-link) for
6423 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
6424
6425 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6426
6427 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
6428 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
6429 of sendfile.
6430 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
6431 (sendfile64): New strong alias.
6432 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
6433 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
6434 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
6435 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
6436 attribute.
6437 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
6438 ___pthread_get_cleanup_stack.
6439 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
6440 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
6441 * mach/shortcut.awk: Make syscall stubs include
6442 <mach-shortcuts-hidden.h> and add hidden definition.
6443 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
6444 (__mach_msg): Add hidden prototype.
6445 * mach/msg.c: Include <mach.h>.
6446 (__mach_msg): Add hidden definition.
6447 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
6448 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
6449 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
6450 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
6451 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
6452 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
6453 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
6454 prototype and definition.
6455 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
6456 hidden target for _hurd_self_sigstate.
6457
6458 2018-06-15 Joseph Myers <joseph@codesourcery.com>
6459
6460 [BZ #23007]
6461 * stdlib/tst-strtod-nan-sign-main.c: New file.
6462 * stdlib/tst-strtod-nan-sign.c: Likewise.
6463 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
6464 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
6465 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
6466 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
6467 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
6468
6469 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
6470
6471 [BZ #23007]
6472 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
6473 appropriate sign.
6474
6475 2018-06-14 Florian Weimer <fweimer@redhat.com>
6476
6477 [BZ #23290]
6478 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
6479 that the result stays within the ISO-8859-1 range.
6480 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
6481 characters are defined in IBM273.
6482
6483 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6484
6485 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
6486 __mach_task_self): Remove attribute_hidden.
6487
6488 2018-06-14 Joseph Myers <joseph@codesourcery.com>
6489
6490 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
6491 ignore -Wrestrict for one test.
6492
6493 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
6494 Szabolcs Nagy <szabolcs.nagy@arm.com>
6495
6496 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
6497
6498 2018-06-14 Florian Weimer <fweimer@redhat.com>
6499
6500 * scripts/update-abilist.sh: Accept empty list of files to patch.
6501
6502 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
6503
6504 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
6505 test-xfail-check-abi-libmachuser): Add.
6506 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
6507 __libc_read and __libc_write to __read and __write.
6508 * sysdeps/hurd/include/hurd/port.h: New file.
6509 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
6510 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
6511 __thread_switch, __evc_wait): Move declarations to...
6512 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
6513 attribute_hidden.
6514 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
6515 use PLT to call _hurd_self_sigstate.
6516
6517 2018-06-13 Joseph Myers <joseph@codesourcery.com>
6518
6519 [BZ #23279]
6520 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
6521 MAX_EXP as overflowing.
6522 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
6523 overflow flag.
6524 (round_str): Output also whether result overflows in each rounding
6525 mode.
6526 * stdlib/tst-strtod-round-data: Add more tests.
6527 * stdlib/tst-strtod-round-data.h: Regenerated.
6528 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
6529 (TEST): Handle extra arguments for overflow flags.
6530 (struct test_overflow): New type.
6531 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
6532 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
6533 (test_in_one_mode): Take argument with overflow information.
6534 (do_test): Update calls to test_in_one_mode.
6535
6536 2018-06-12 Carlos O'Donell <carlos@redhat.com>
6537
6538 * elf/dl-load (_dl_dst_substitute): Correct comment.
6539 (_dl_dst_count): Likewise.
6540
6541 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
6542 lll_futex_timed_wait.
6543
6544 2018-06-12 Joseph Myers <joseph@codesourcery.com>
6545
6546 [BZ #23277]
6547 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
6548 attribute.
6549 * math/test-nan-const.c: New file.
6550 * math/Makefile (tests): Add test-nan-const.
6551 (CFLAGS-test-nan-const.c): New variable.
6552
6553 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
6554
6555 * benchtests/scripts/compare_strings.py (process_results): Add
6556 funcs argument. Compare only functions which are selected.
6557 (main): Check if base function is among selected functions.
6558 Pass selected functions to process_results.
6559 (__main__): Add -f/--functions argument.
6560
6561 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
6562 Hongbo Zhang <hongbo.zhang@linaro.org>
6563
6564 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
6565 __memcpy_falkor for phecda core.
6566 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
6567 __memmove_falkor for phecda core.
6568 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
6569 __memset_falkor for phecda core.
6570 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
6571 for phecda core.
6572 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
6573 macro to identify phecda core.
6574
6575 2018-06-12 Carlos O'Donell <carlos@redhat.com>
6576 Andreas Schwab <schwab@suse.de>
6577 Dmitry V. Levin <ldv@altlinux.org>
6578 Florian Weimer <fweimer@redhat.com>
6579
6580 [BZ #23102]
6581 [BZ #21942]
6582 [BZ #18018]
6583 [BZ #23259]
6584 CVE-2011-0536
6585 * elf/dl-dst.h: Remove DL_DST_COUNT.
6586 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
6587 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
6588 (is_dst): Comment. Support ELF gABI.
6589 (_dl_dst_count): Comment. Simplify and count DSTs.
6590 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
6591 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
6592 locals.
6593
6594 2018-06-12 Zack Weinberg <zackw@panix.com>
6595
6596 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
6597 * sysdeps/unix/sysv/linux/dl-sysdep.c
6598 Include not-cancel.h. Use __close_nocancel instead of __close,
6599 __open64_nocancel instead of __open, __read_nocancel instead of
6600 __libc_read, and __write_nocancel instead of __libc_write.
6601
6602 * csu/check_fds.c (check_one_fd)
6603 * sysdeps/posix/fdopendir.c (__fdopendir)
6604 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
6605 instead of __fcntl and/or __libc_fcntl.
6606
6607 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
6608 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
6609 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
6610 Use __open64_nocancel instead of __open_nocancel.
6611
6612 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
6613 hidden_proto declarations to the end and issue them if either
6614 IS_IN(libc) or IS_IN(rtld).
6615 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
6616 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
6617 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
6618 read_nocancel, waitpid_nocancel, write_nocancel.
6619
6620 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
6621 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
6622 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
6623
6624 * nptl/pt-fcntl.c: New file.
6625 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
6626 (libpthread-routines): Add pt-fcntl.
6627 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
6628 (__libc_fcntl): Remove attribute_hidden.
6629 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
6630 __fcntl_nocancel_adjusted, not fcntl_common.
6631 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
6632 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
6633 to fcntl_nocancel.c.
6634 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
6635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
6636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6637 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
6638
6639 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
6640 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
6641 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
6642 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
6643 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
6644 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
6645 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
6646 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
6647 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
6648 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
6649 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
6650 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
6651 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
6652 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
6653 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
6654 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
6655 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
6656 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
6657 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
6658 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
6659
6660 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
6661 libpthread-routines.
6662 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
6663 defines nothing.
6664
6665 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
6666 __libc_read, and __write instead of __libc_write. Define
6667 __open64 in addition to __open.
6668
6669 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
6670
6671 [BZ #23250]
6672 [BZ #10686]
6673 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
6674 to _private_tm[3] and add __glibc_reserved2.
6675 Add _Static_assert of offset of __private_ss == 0x30.
6676 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
6677 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
6678
6679 2018-06-12 Florian Weimer <fweimer@redhat.com>
6680
6681 x86: Make strncmp usable from rtld.
6682 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
6683 __strncmp_ia32 if in libc (and not in rtld).
6684 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
6685 strncmp if not in libc (and not to __strncmp_sse2).
6686
6687 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
6688
6689 [BZ #23140]
6690 * localedata/locales/gd_GB (mon): Rename to...
6691 (alt_mon): This.
6692 (mon): Import from CLDR (genitive case).
6693 * localedata/locales/hsb_DE (mon): Rename to...
6694 (alt_mon): This.
6695 (mon): Import from CLDR (genitive case).
6696 * localedata/locales/wa_BE (mon): Rename to...
6697 (alt_mon): This.
6698 (mon): Add, fill with the proper genitive forms, but CLDR data
6699 is incomplete; completed according to the comments in this file.
6700 (d_t_fmt): Do not use "di" before the month name, no longer needed.
6701
6702 * localedata/locales/wa_BE (country_name): Reword
6703 "Beljike" -> "Beldjike".
6704
6705 2018-06-11 Joseph Myers <joseph@codesourcery.com>
6706
6707 [BZ #23272]
6708 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
6709 cases of non-finite arguments.
6710 * math/libm-test-fma.inc (fma_test_data): Add more tests.
6711
6712 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
6713
6714 [BZ #23174]
6715 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
6716
6717 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6718
6719 [BZ #23264]
6720 * include/unistd.h (__execvpex): New prototype.
6721 * posix/Makefile (tests): Add tst-spawn4.
6722 (tests-internal): Add tst-spawn4-compat.
6723 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
6724 * posix/tst-spawn4-compat.c: New file.
6725 * posix/tst-spawn4.c: Likewise.
6726 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
6727 binaries as shell scripts.
6728 * sysdeps/posix/spawni.c (__spawni): Likewise.
6729
6730 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
6731
6732 [BZ #23145]
6733 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
6734 ($(all-built-dso:=.dynsym): New target.
6735 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
6736 ($(objpfx)check-initfini.out): New target.
6737 (generated): Add check-initfini.out.
6738 * scripts/check-initfini.awk: New file.
6739 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
6740 (_fini): Likewise.
6741 * sysdeps/alpha/crti.S (_init): Mark as hidden.
6742 (_fini): Likewise.
6743 * sysdeps/arm/crti.S (_init): Mark as hidden.
6744 (_fini): Likewise.
6745 * sysdeps/hppa/crti.S (_init): Mark as hidden.
6746 (_fini): Likewise.
6747 * sysdeps/i386/crti.S (_init): Mark as hidden.
6748 (_fini): Likewise.
6749 * sysdeps/ia64/crti.S (_init): Mark as hidden.
6750 (_fini): Likewise.
6751 * sysdeps/m68k/crti.S (_init): Mark as hidden.
6752 (_fini): Likewise.
6753 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
6754 (_fini): Likewise.
6755 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
6756 (_fini): Likewise.
6757 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
6758 (_fini): Likewise.
6759 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
6760 (_fini): Likewise.
6761 * sysdeps/nios2/crti.S (_init): Mark as hidden.
6762 (_fini): Likewise.
6763 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
6764 (_fini): Likewise.
6765 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
6766 (_fini): Likewise.
6767 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
6768 (_fini): Likewise.
6769 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
6770 (_fini): Likewise.
6771 * sysdeps/sh/crti.S (_init): Mark as hidden.
6772 (_fini): Likewise.
6773 * sysdeps/sparc/crti.S (_init): Mark as hidden.
6774 (_fini): Likewise.
6775 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
6776 (_fini): Likewise.
6777
6778 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6779
6780 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
6781 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
6782 and TF redirection to KFtype and KF only when the default
6783 long double type is not the IEEE 128-bit floating point type.
6784
6785 2018-06-05 Joseph Myers <joseph@codesourcery.com>
6786
6787 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
6788 macro.
6789 (HWCAP_USCAT): Likewise.
6790 (HWCAP_ILRCPC): Likewise.
6791 (HWCAP_FLAGM): Likewise.
6792 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
6793 Increase to 28.
6794 (_dl_aarch64_cap_flags): Add new flag names.
6795
6796 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
6797 (MAP_FIXED_NOREPLACE): New macro.
6798 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
6799 (MAP_FIXED_NOREPLACE): Likewise.
6800 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
6801 (MAP_FIXED_NOREPLACE): Likewise.
6802 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6803 (MAP_FIXED_NOREPLACE): Likewise.
6804 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
6805 (MAP_FIXED_NOREPLACE): Likewise.
6806 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
6807 (MAP_FIXED_NOREPLACE): Likewise.
6808 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
6809 (MAP_FIXED_NOREPLACE): Likewise.
6810 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
6811 (MAP_FIXED_NOREPLACE): Likewise.
6812 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
6813 (MAP_FIXED_NOREPLACE): Likewise.
6814 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
6815 (MAP_FIXED_NOREPLACE): Likewise.
6816 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
6817 (MAP_FIXED_NOREPLACE): Likewise.
6818 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
6819 (MAP_FIXED_NOREPLACE): Likewise.
6820 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
6821 (MAP_FIXED_NOREPLACE): Likewise.
6822 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
6823 (MAP_FIXED_NOREPLACE): Likewise.
6824 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
6825 (MAP_FIXED_NOREPLACE): Likewise.
6826
6827 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6828 version to 4.17.
6829
6830 2018-06-04 Joseph Myers <joseph@codesourcery.com>
6831
6832 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6833 version to 4.17
6834
6835 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6836
6837 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
6838 int.
6839 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
6840
6841 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6842
6843 * benchtests/scripts/compare_string.py: (process_results) Catch
6844 exception in non-existent base_func and catch exception in
6845 non-existent attribute.
6846 (parse_file) Catch exception if input file does not exist.
6847
6848 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6849
6850 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
6851 options to avoid diff calculation and omit header, respectively.
6852 (main): process --no-diff and --no-header
6853
6854 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6855 H.J. Lu <hongjiu.lu@intel.com>
6856
6857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6858 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
6859 wcsncmp-sse2.
6860 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6861 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
6862 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
6863 and __wcsncmp_sse2.
6864 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
6865 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
6866 AVX unaligned load is fast and vzeroupper is preferred.
6867 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
6868 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
6869 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
6870 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
6871 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
6872 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
6873 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
6874 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
6875 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
6876 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
6877 is undefined.
6878
6879 2018-06-01 Florian Weimer <fweimer@redhat.com>
6880
6881 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
6882 configuring with --disable-multi-arch, building with
6883 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
6884 Haswell-era CPU.
6885
6886 2018-06-01 Florian Weimer <fweimer@redhat.com>
6887
6888 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
6889 results from building with “-march=x86-64 -mtune=generic
6890 -mfpmath=sse” and running on a Haswell-era CPU.
6891
6892 2018-06-01 Joseph Myers <joseph@codesourcery.com>
6893
6894 [BZ #18473]
6895 * soft-fp/sqrttf2.c: Remove file.
6896 * soft-fp/sqrtdf2.c: Move to ....
6897 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
6898 <shlib-compat.h>.
6899 (__sqrtdf2): Make conditional on
6900 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
6901 symbol.
6902 * soft-fp/sqrtsf2.c: Move to ....
6903 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
6904 <shlib-compat.h>.
6905 (__sqrtsf2): Make conditional on
6906 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
6907 symbol.
6908 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
6909 (gcc-double-routines): Remove sqrtdf2.
6910 (gcc-quad-routines): Remove sqrttf2.
6911 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
6912 Do not filter out sqrtsf2 and sqrtdf2.
6913 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6914 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
6915
6916 2018-06-01 Florian Weimer <fweimer@redhat.com>
6917
6918 * sysdeps/generic/libcidn.abilist: Remove file.
6919
6920 2018-06-01 Florian Weimer <fweimer@redhat.com>
6921
6922 [BZ #23236]
6923 * libio/strfile.h (struct _IO_str_fields): Rename members to
6924 discourage their use and add comment.
6925 (_IO_STR_DYNAMIC): Remove unused macro.
6926 * libio/strops.c (_IO_str_init_static_internal): Do not use
6927 callback pointers. Call malloc and free.
6928 (_IO_str_overflow): Do not use callback pointers. Call malloc
6929 and free.
6930 (enlarge_userbuf): Likewise.
6931 (_IO_str_finish): Call free.
6932 * libio/wstrops.c (_IO_wstr_init_static): Initialize
6933 _allocate_buffer_unused.
6934 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
6935 and free.
6936 (enlarge_userbuf): Likewise.
6937 (_IO_wstr_finish): Call free.
6938 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
6939 _allocate_buffer_unused, _free_buffer_unused.
6940 * libio/memstream.c (__open_memstream): Likewise.
6941 * libio/vasprintf.c (_IO_vasprintf): Likewise.
6942 * libio/wmemstream.c (open_wmemstream): Likewise.
6943
6944 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
6945
6946 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
6947 AMD Ryzen 7 1800X.
6948
6949 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6950
6951 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
6952 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
6953 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
6954 New file.
6955 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
6956 Likewise.
6957 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
6958
6959 2018-05-29 Florian Weimer <fweimer@redhat.com>
6960
6961 * support/Makefile (libsupport-routines): Add
6962 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
6963 xpthread_barrierattr_setpshared.
6964 * support/xpthread_barrierattr_destroy.c: New file.
6965 * support/xpthread_barrierattr_init.c: Likewise.
6966 * support/xpthread_barrierattr_setpshared.c: Likewise.
6967
6968 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
6969
6970 [BZ #23206]
6971 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
6972 _r_debug and update DT_DEBUG for debugger.
6973
6974 2018-05-29 Florian Weimer <fweimer@redhat.com>
6975
6976 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
6977 (tst-strtod5i.out): Likewise.
6978
6979 2018-05-25 Joseph Myers <joseph@codesourcery.com>
6980
6981 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
6982 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
6983 (sparc64-quad-routines): New variable. Moved from ....
6984 [$(subdir) = soft-fp] (sysdep_routines): Add
6985 $(sparc64-quad-routines). Moved from ....
6986 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
6987 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
6988 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
6989 moved from ....
6990 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
6991 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
6992 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
6993 * sysdeps/sparc/sparc64/qp_add.c: ... here.
6994 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
6995 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
6996 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
6997 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
6998 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
6999 * sysdeps/sparc/sparc64/qp_div.c: ... here.
7000 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
7001 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
7002 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
7003 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
7004 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
7005 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
7006 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
7007 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
7008 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
7009 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
7010 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
7011 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
7012 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
7013 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
7014 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
7015 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
7016 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
7017 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
7018 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
7019 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
7020 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
7021 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
7022 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
7023 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
7024 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
7025 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
7026 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
7027 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
7028 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
7029 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
7030 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
7031 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
7032 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
7033 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
7034 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
7035 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
7036 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
7037 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
7038 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
7039 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
7040 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
7041 * sysdeps/sparc/sparc64/qp_util.c: ... here.
7042 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
7043 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
7044 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
7045 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
7046 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
7047 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
7048
7049 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
7050 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
7051 (sparc32-quad-routines): New variable. Moved from ....
7052 [$(subdir) = soft-fp] (sysdep_routines): Add
7053 $(sparc32-quad-routines). Moved from ....
7054 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
7055 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
7056 moved from ....
7057 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
7058 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
7059 * sysdeps/sparc/sparc32/q_add.c: ... here.
7060 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
7061 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
7062 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
7063 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
7064 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
7065 * sysdeps/sparc/sparc32/q_div.c: ... here.
7066 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
7067 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
7068 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
7069 * sysdeps/sparc/sparc32/q_feq.c: ... here.
7070 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
7071 * sysdeps/sparc/sparc32/q_fge.c: ... here.
7072 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
7073 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
7074 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
7075 * sysdeps/sparc/sparc32/q_fle.c: ... here.
7076 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
7077 * sysdeps/sparc/sparc32/q_flt.c: ... here.
7078 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
7079 * sysdeps/sparc/sparc32/q_fne.c: ... here.
7080 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
7081 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
7082 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
7083 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
7084 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
7085 * sysdeps/sparc/sparc32/q_mul.c: ... here.
7086 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
7087 * sysdeps/sparc/sparc32/q_neg.c: ... here.
7088 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
7089 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
7090 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
7091 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
7092 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
7093 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
7094 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
7095 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
7096 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
7097 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
7098 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
7099 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
7100 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
7101 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
7102 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
7103 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
7104 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
7105 * sysdeps/sparc/sparc32/q_sub.c: ... here.
7106 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
7107 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
7108 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
7109 * sysdeps/sparc/sparc32/q_util.c: ... here.
7110 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
7111 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
7112 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
7113 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
7114
7115 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7116 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7117
7118 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
7119 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
7120 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
7121 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
7122
7123 2018-05-24 Joseph Myers <joseph@codesourcery.com>
7124
7125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
7126 powerpc/soft-fp.
7127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7128 Likewise.
7129 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
7130 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
7131
7132 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7133
7134 [BZ #23171]
7135 * math/math.h [C++] (iseqsig): Fix parameter type for the long
7136 double version.
7137
7138 2018-05-23 Joseph Myers <joseph@codesourcery.com>
7139
7140 * sysdeps/sh/Implies: Remove sh/soft-fp.
7141 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
7142 * sysdeps/sh/sfp-machine.h: ... here.
7143
7144 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
7145
7146 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7147 (__mempcpy_erms): Skip zero length.
7148 (__memmove_erms): Likewise.
7149 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7150 (__memset_erms): Likewise.
7151
7152 2018-05-23 Joseph Myers <joseph@codesourcery.com>
7153
7154 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
7155 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
7156 Add functions moved from ....
7157 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
7158 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
7159 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
7160 from ....
7161 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
7162 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
7163 * sysdeps/alpha/e_sqrtl.c: ... here.
7164 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
7165 * sysdeps/alpha/local-soft-fp.h: ... here.
7166 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
7167 * sysdeps/alpha/ots_add.c: ... here.
7168 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
7169 * sysdeps/alpha/ots_cmp.c: ... here.
7170 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
7171 * sysdeps/alpha/ots_cmpe.c: ... here.
7172 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
7173 * sysdeps/alpha/ots_cvtqux.c: ... here.
7174 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
7175 * sysdeps/alpha/ots_cvtqx.c: ... here.
7176 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
7177 * sysdeps/alpha/ots_cvttx.c: ... here.
7178 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
7179 * sysdeps/alpha/ots_cvtxq.c: ... here.
7180 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
7181 * sysdeps/alpha/ots_cvtxt.c: ... here.
7182 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
7183 * sysdeps/alpha/ots_div.c: ... here.
7184 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
7185 * sysdeps/alpha/ots_mul.c: ... here.
7186 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
7187 * sysdeps/alpha/ots_nintxq.c: ... here.
7188 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
7189 * sysdeps/alpha/ots_sub.c: ... here.
7190 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
7191 * sysdeps/alpha/sfp-machine.h: ... here.
7192
7193 2018-05-23 Florian Weimer <fweimer@redhat.com>
7194
7195 [BZ #19728]
7196 [BZ #19729]
7197 [BZ #22247]
7198 CVE-2016-6261
7199 CVE-2016-6263
7200 CVE-2017-14062
7201 Switch to extern IDNA implementation (libidn2).
7202 * libidn: Remove subdirectory.
7203 * LICENSES: Do not mention licensing conditions for the removed
7204 libidn code.
7205 * config.h.in (HAVE_LIBIDN): Remove.
7206 * include/dlfcn.h (__libc_dlopen): Update comment.
7207 * include/idna.h: Remove file.
7208 * inet/Makefile (routines): Add idna.
7209 (tests-static, tests-internal): Add tst-idna_name_classify.
7210 (LOCALES): Generate locales for tests.
7211 (tst-idna_name_classify.out): Depend on generated locales.
7212 * inet/idna_name_classify.c: New file.
7213 * inet/tst-idna_name_classify.c: Likewise.
7214 * inet/net-internal.h (__idna_to_dns_encoding)
7215 (__idna_from_dns_encoding): Declare.
7216 * inet/net-internal.h (enum idna_name_classification): Define.
7217 (__idna_name_classify): Declare.
7218 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
7219 __idna_from_dns_encoding.
7220 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
7221 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
7222 name as a fallback in case of encoding errors.
7223 (getnameinfo): Use DEPRECATED_NI_IDN.
7224 * inet/idna.c: New file.
7225 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
7226 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
7227 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
7228 (modules-names): Add tst-no-libidn2.
7229 (extra-test-objs): Add tst-no-libidn2.os.
7230 (LDFLAGS-tst-no-libidn2.so): Set soname.
7231 (LOCALES): Set, and generate locales.
7232 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
7233 (tst-resolv-ai_idn-latin1): Likewise.
7234 (tst-resolv-ai_idn-nolibidn2): Likewise.
7235 (tst-resolv-ai_idn.out): Depend on locales.
7236 (tst-resolv-ai_idn-latin1.out): Depend on locales.
7237 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
7238 tst-no-libidn2.so.
7239 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
7240 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
7241 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
7242 * resolv/tst-resolv-ai_idn.c: New file.
7243 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
7244 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
7245 * resolv/tst-no-libidn2.c: Likewise.
7246 * support/support_format_addrinfo.c (format_ai_flags): Do not
7247 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
7248 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
7249 (gaih_inet): Call __idna_to_dns_encoding and
7250 __idna_from_dns_encoding, and use the original (punycode) name if
7251 __idna_from_dns_encoding fails due to an encoding error.
7252 (getaddrinfo): Use DEPRECATED_AI_IDN.
7253 * sysdeps/unix/inet/Subdirs (libidn): Remove.
7254 * sysdeps/unix/inet/configure: Remove file.
7255 * sysdeps/unix/inet/configure.ac: Likewise.
7256
7257 2018-05-23 Florian Weimer <fweimer@redhat.com>
7258
7259 Implement allocate_once.
7260 * include/allocate_once.h: New file.
7261 * misc/allocate_once.c: Likewise.
7262 * misc/tst-allocate_once.c: Likewise.
7263 * misc/Makefile (routines): Add allocate_once.
7264 (tests-internal): Add tst-allocate_once.
7265 (generated): Add tst-allocate_once.mtrace,
7266 tst-allocate_once-mem.out.
7267 (tests-special): Add tst-allocate_once-mem.out.
7268 (tst-allocate_once-ENV): Set MALLOC_TRACE.
7269 (tst-allocate_once-mem.out): Call mtrace.
7270 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
7271
7272 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
7273
7274 [BZ #23196]
7275 * string/test-memcpy.c (do_test1): New function.
7276 (test_main): Call it.
7277
7278 2018-05-23 Andreas Schwab <schwab@suse.de>
7279
7280 [BZ #23196]
7281 CVE-2018-11237
7282 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
7283 (L(preloop_large)): Save initial destination pointer in %r11 and
7284 use it instead of %rax after the loop.
7285 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
7286
7287 2018-05-22 Joseph Myers <joseph@codesourcery.com>
7288
7289 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
7290 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
7291 -I../soft-fp. Moved from ....
7292 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
7293 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
7294 * sysdeps/aarch64/e_sqrtl.c: ... here.
7295 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
7296 * sysdeps/aarch64/sfp-machine.h: ... here.
7297
7298 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
7299 -Wmaybe-uninitialized around access to fq[0].
7300 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7301 Likewise.
7302
7303 [BZ #18471]
7304 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
7305 aliases for non-libc case of versioned symbols.
7306 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
7307 (llseek): Define as compat symbol if
7308 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
7309 with link warning.
7310 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
7311 Make into a compat symbol, disabled for minimum symbol version
7312 GLIBC_2.28 and later.
7313 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
7314
7315 2018-05-22 Florian Weimer <fweimer@redhat.com>
7316
7317 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
7318 not add -mpreferred-stack-boundary=4.
7319 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
7320 (stack-align-test-flags): Likewise.
7321 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
7322 Likewise.
7323 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
7324 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
7325 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
7326 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
7327 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
7328 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
7329 (CFLAGS-tst-align2.c): Likewise.
7330
7331 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
7332
7333 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
7334 (index_arch_Prefer_FSRM): Likewise.
7335 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
7336 Also check Prefer_FSRM.
7337 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
7338 Also return OPTIMIZE (erms) for Prefer_FSRM.
7339
7340 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
7341
7342 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
7343 (index_cpu_FSRM): Likewise.
7344 (reg_FSRM): Likewise.
7345
7346 2018-05-18 Joseph Myers <joseph@codesourcery.com>
7347
7348 * math/gen-tgmath-tests.py: Import sys.
7349 (Tests.__init__): Initialize macros_seen.
7350 (Tests.add_tests): Add macro to macros_seen. Only generate tests
7351 if requested to do so for this macro.
7352 (Tests.add_all_tests): Take argument for macro for which to
7353 generate tests.
7354 (Tests.check_macro_list): New function.
7355 (main): Handle check-list argument and argument specifying macro
7356 for which to generate tests.
7357 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
7358 [PYTHON] (tgmath3-macro-tests): Likewise.
7359 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
7360 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
7361 not test-tgmath3.c.
7362 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
7363 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
7364 to CFLAGS.
7365 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
7366 [PYTHON] ($(foreach
7367 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
7368 rule.
7369 [PYTHON] (tests-special): Add
7370 $(objpfx)test-tgmath3-macro-list.out.
7371 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
7372
7373 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
7374 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
7375 later.
7376
7377 [BZ #22639]
7378 * time/tzset.c (SECSPERDAY): Cast to time_t.
7379 * time/tst-y2039.c: New file.
7380 * time/Makefile (tests): Add tst-y2039.
7381
7382 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7383
7384 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7385 (PREFETCH_ONE_SET): Remove duplicate line.
7386
7387 2018-05-17 Florian Weimer <fweimer@redhat.com>
7388
7389 * sysdeps/generic/math-type-macros-double.h: Include
7390 <math-nan-payload-double.h> after <libm-alias-double.h>.
7391 * sysdeps/generic/math-type-macros-float.h: Include
7392 <math-nan-payload-float.h> after <libm-alias-float.h>.
7393 * sysdeps/generic/math-type-macros-float128.h: Include
7394 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
7395 * sysdeps/generic/math-type-macros-ldouble.h: Include
7396 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
7397
7398 2018-05-17 Andreas Schwab <schwab@suse.de>
7399
7400 * resolv/res_send.c (__res_context_send): Don't set errno when
7401 returing error after malloc failure.
7402
7403 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
7404
7405 * nptl/allocatestack.c (allocate_stack): Remove the
7406 !__ASSUME_PRIVATE_FUTEX paths.
7407 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
7408 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7409 Likewise.
7410 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
7411 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
7412 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
7413 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
7414 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
7415 !__ASSUME_PRIVATE_FUTEX path.
7416 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
7417 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
7418 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
7419 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
7420 !__ASSUME_PRIVATE_FUTEX macros.
7421 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7422 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7423 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7424 * sysdeps/unix/sysv/linux/kernel-features.h
7425 (__ASSUME_PRIVATE_FUTEX): Removed.
7426
7427 2018-05-17 Joseph Myers <joseph@codesourcery.com>
7428
7429 * math/Makefile (libm-narrow-fns): Add div.
7430 (libm-test-funcs-narrow): Likewise.
7431 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
7432 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
7433 * math/gen-auto-libm-tests.c (test_functions): Add div.
7434 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
7435 (NARROW_DIV_ROUND_TO_ODD): Likewise.
7436 (NARROW_DIV_TRIVIAL): Likewise.
7437 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
7438 macro.
7439 (__ddivl): Likewise.
7440 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
7441 ddiv.
7442 (CFLAGS-nldbl-ddiv.c): New variable.
7443 (CFLAGS-nldbl-fdiv.c): Likewise.
7444 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
7445 __nldbl_ddivl.
7446 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
7447 prototype.
7448 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
7449 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
7450 * math/auto-libm-test-in: Add tests of div.
7451 * math/auto-libm-test-out-narrow-div: New generated file.
7452 * math/libm-test-narrow-div.inc: New file.
7453 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
7454 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
7455 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
7456 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
7457 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
7458 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
7459 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
7460 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
7461 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
7462 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
7463 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
7464 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
7465 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
7466 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
7467 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
7468 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7469 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
7470 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7472 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
7473 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7474 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7475 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7476 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7477 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7478 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7479 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7480 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7481 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7482 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7483 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7484 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
7486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
7487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
7488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
7489 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
7490 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7491 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7492 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7493 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7494 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7495 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7496 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7497
7498 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7499
7500 [BZ #23178]
7501 * nscd/nscd-client.h (sendfileall): Remove prototype.
7502 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
7503 (handle_request): Use writeall instead of sendfileall.
7504 * nscd/aicache.c (addhstaiX): Likewise.
7505 * nscd/grpcache.c (cache_addgr): Likewise.
7506 * nscd/hstcache.c (cache_addhst): Likewise.
7507 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7508 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
7509 * nscd/pwdcache.c (cache_addpw): Likewise.
7510 * nscd/servicescache.c (cache_addserv): Likewise.
7511 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
7512 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
7513 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
7514 Remove define.
7515
7516 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
7517
7518 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
7519 Include <string/strncat.c>.
7520 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
7521 alias.
7522 (__GI___strncat): New hidden alias.
7523
7524 2018-05-16 Joseph Myers <joseph@codesourcery.com>
7525
7526 * sysdeps/mips/mips32/libm-test-ulps: Update.
7527 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7528
7529 2018-05-16 Florian Weimer <fweimer@redhat.com>
7530
7531 * support/Makefile (libsupport-routines): Add support_quote_blob,
7532 support_test_compare_blob.
7533 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
7534 * support/check.h (TEST_COMPARE_BLOB): Define.
7535 (support_test_compare_blob): Declare.
7536 * support/support.h (support_quote_blob): Declare.
7537 * support/support_quote_blob.c: New file.
7538 * support/support_test_compare_blob.c: Likewise.
7539 * support/tst-support_quote_blob.c: Likewise.
7540 * support/tst-test_compare_blob.c: Likewise.
7541
7542 2018-05-16 Florian Weimer <fweimer@redhat.com>
7543
7544 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
7545 of <strtod_nan_double.h>.
7546 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
7547 instead of SET_MANTISSA.
7548 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
7549 of include <strtod_nan_float.h>.
7550 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
7551 instead of <strtod_nan_ldouble.h>.
7552 * stdlib/strtod_nan_double.h: Move to ...
7553 * sysdeps/generic/math-nan-payload-double.h: ... here.
7554 (FLOAT): Remove definition.
7555 (SET_MANTISSA): Rename to ...
7556 (SET_NAN_PAYLOAD): ... this.
7557 * stdlib/strtod_nan_float.h: Move to ...
7558 * sysdeps/generic/math-nan-payload-float.h: ... here.
7559 (FLOAT): Remove definition.
7560 (SET_MANTISSA): Rename to ...
7561 (SET_NAN_PAYLOAD): ... this.
7562 * sysdeps/generic/math-type-macros-double.h: Include
7563 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
7564 instead of <math-svid-compat.h>.
7565 * sysdeps/generic/math-type-macros-float.h: Include
7566 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
7567 instead of <math-svid-compat.h>.
7568 * sysdeps/generic/math-type-macros-float128.h: Include
7569 <math-nan-payload-float128.h>.
7570 * sysdeps/generic/math-type-macros-ldouble.h: Include
7571 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
7572 instead of <math-svid-compat.h>.
7573 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
7574 check for definition.
7575 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
7576 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
7577 Include <ieee754_float128.h>.
7578 (FLOAT): Remove definition.
7579 (SET_MANTISSA): Rename to ...
7580 (SET_NAN_PAYLOAD): ... this.
7581 * sysdeps/ieee754/float128/strtof128_nan.c: Include
7582 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
7583 Do not include <float128_private.h>.
7584 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
7585 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
7586 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
7587 (FLOAT): Remove definition.
7588 (SET_MANTISSA): Rename to ...
7589 (SET_NAN_PAYLOAD): ... this.
7590 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
7591 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
7592 (FLOAT): Remove definition.
7593 (SET_MANTISSA): Rename to ...
7594 (SET_NAN_PAYLOAD): ... this.
7595 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
7596 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
7597 (FLOAT): Remove definition.
7598 (SET_MANTISSA): Rename to ...
7599 (SET_NAN_PAYLOAD): ... this.
7600 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
7601 of "../stdlib/strtod_nan_double.h".
7602 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
7603 of "../stdlib/strtod_nan_float.h".
7604 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
7605 instead of "../stdlib/strtod_nan_ldouble.h".
7606 * manual/arith.texi (Parsing of Floats): Adjust comment.
7607
7608 2018-05-16 Joseph Myers <joseph@codesourcery.com>
7609
7610 * math/Makefile (libm-narrow-fns): Add mul.
7611 (libm-test-funcs-narrow): Likewise.
7612 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
7613 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
7614 * math/gen-auto-libm-tests.c (test_functions): Add mul.
7615 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
7616 (NARROW_MUL_ROUND_TO_ODD): Likewise.
7617 (NARROW_MUL_TRIVIAL): Likewise.
7618 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
7619 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
7620 macro.
7621 (__dmull): Likewise.
7622 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
7623 dmul.
7624 (CFLAGS-nldbl-dmul.c): New variable.
7625 (CFLAGS-nldbl-fmul.c): Likewise.
7626 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
7627 __nldbl_dmull.
7628 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
7629 prototype.
7630 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
7631 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
7632 * math/auto-libm-test-in: Add tests of mul.
7633 * math/auto-libm-test-out-narrow-mul: New generated file.
7634 * math/libm-test-narrow-mul.inc: New file.
7635 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
7636 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
7637 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
7638 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
7639 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
7640 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
7641 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
7642 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
7643 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
7644 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
7645 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
7646 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
7647 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
7648 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
7649 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
7650 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7651 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
7652 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7654 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
7655 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7656 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7657 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7658 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7659 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7660 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7661 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7662 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7663 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7664 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7665 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7666 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
7668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
7669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
7670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
7671 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
7672 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7673 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7674 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7675 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7676 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7677 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7678 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7679
7680 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
7681
7682 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7683 with *%eax in call.
7684
7685 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
7686
7687 * sysdeps/i386/ldsodefs.h: Removed.
7688 * sysdeps/x86_64/ldsodefs.h: Moved to ...
7689 * sysdeps/x86/ldsodefs.h: This.
7690 (La_i86_regs): New.
7691 (La_i86_retval): Likewise.
7692 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
7693 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
7694
7695 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
7696
7697 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
7698 unnecessary testl.
7699
7700 2018-05-13 Alan Modra <amodra@gmail.com>
7701
7702 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
7703 R_PARISC_TLS_DTPOFF32 reloc addend.
7704
7705 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7706
7707 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
7708 * math/math.h: Restrict the prototype definition for the functions
7709 issignaling(_Float128) and iszero(_Float128); and template
7710 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
7711 __HAVE_FLOAT128_UNLIKE_LDBL.
7712 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
7713 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
7714 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
7715 __f128() constants; define the type _Float128 as long double;
7716 and reuse long double in __CFLOAT128.
7717
7718 2018-05-11 Joseph Myers <joseph@codesourcery.com>
7719
7720 * sysdeps/generic/math_private.h: Do not include
7721 <math-barriers.h>.
7722 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
7723 <math_private.h>.
7724 * math/fromfp.h: Include <math-barriers.h>.
7725 * math/math-narrow.h: Likewise.
7726 * math/s_nextafter.c: Likewise.
7727 * math/s_nexttowardf.c: Likewise.
7728 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7729 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7730 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7731 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7732 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7733 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7734 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7735 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7736 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7737 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7738 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7739 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7740 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7741 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7742 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7743 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7744 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7745 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7746 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7747 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7748 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7749 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7750 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7751 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7752 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7753 * sysdeps/ieee754/k_standardl.c: Likewise.
7754 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7755 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7756 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7757 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7758 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7759 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7760 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7761 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7762 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7763 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7764 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7765 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7766 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7767 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7768 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7769 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7770 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7771 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7772 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7773 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7774 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
7775 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
7776
7777 2018-05-11 Florian Weimer <fweimer@redhat.com>
7778
7779 Use 64-bit epoch values in the time zone file parser.
7780 * include/time.h (internal_time_t): Define.
7781 (__tzfile_compute): Use it.
7782 * time/tzfile.c (struct leap): Use internal_time_t for epoch
7783 member.
7784 (transitions): Switch to internal_time_t.
7785 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
7786 types.
7787 (__tzfile_compute): Use internal_time_t for timer argument. Check
7788 for truncation before calling __offtime.
7789
7790 2018-05-11 Florian Weimer <fweimer@redhat.com>
7791
7792 [BZ #23166]
7793 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
7794 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
7795 Likewise.
7796 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
7797 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
7798 export without --enable-obsolete-rpc.
7799 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
7800 symbol. This should not have been exported, ever.
7801
7802 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
7803
7804 [BZ #23152]
7805 * localedata/locales/gd_GB (abmon): Fix typo in May:
7806 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
7807
7808 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7809
7810 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
7811 Use multiple registers to copy data in loop tail.
7812
7813 * sysdeps/aarch64/multiarch/memmove_falkor.S
7814 (__memmove_falkor): Use multiple registers to move data in
7815 loop tail.
7816
7817 2018-05-10 Joseph Myers <joseph@codesourcery.com>
7818
7819 * math/math-underflow.h: New file.
7820 * sysdeps/generic/math_private.h: Do not include <float.h>.
7821 (fabs_tg): Remove macro. Moved to math-underflow.h.
7822 (min_of_type_f): Likewise.
7823 (min_of_type_): Likewise.
7824 (min_of_type_l): Likewise.
7825 (min_of_type_f128): Likewise.
7826 (min_of_type): Likewise.
7827 (math_check_force_underflow): Likewise.
7828 (math_check_force_underflow_nonneg): Likewise.
7829 (math_check_force_underflow_complex): Likewise.
7830 * math/e_exp2_template.c: Include <math-underflow.h>.
7831 * math/k_casinh_template.c: Likewise.
7832 * math/s_catan_template.c: Likewise.
7833 * math/s_catanh_template.c: Likewise.
7834 * math/s_ccosh_template.c: Likewise.
7835 * math/s_cexp_template.c: Likewise.
7836 * math/s_clog10_template.c: Likewise.
7837 * math/s_clog_template.c: Likewise.
7838 * math/s_csin_template.c: Likewise.
7839 * math/s_csinh_template.c: Likewise.
7840 * math/s_csqrt_template.c: Likewise.
7841 * math/s_ctan_template.c: Likewise.
7842 * math/s_ctanh_template.c: Likewise.
7843 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7844 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7845 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7846 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7847 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7848 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7849 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7851 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7852 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7853 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7854 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7855 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7856 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7857 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7858 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7859 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7860 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7861 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7862 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7863 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7864 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7865 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7866 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7867 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7868 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7869 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7870 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7871 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7872 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7873 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7874 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7875 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7876 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7877 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7878 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7879 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7880 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7881 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7882 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7883 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7884 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7885 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7886 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7887 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7888 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7889 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7890 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7891 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7892 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7893 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7894 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7895 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7896 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7897 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7898 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7899 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7900 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7901 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7902 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7903 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7904 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7905 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7906 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7907 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7908 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7909 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7910 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7911 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7912 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7913 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7914 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7915 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7916 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
7917 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7918 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7919 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7920 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7921 * sysdeps/x86/fpu/powl_helper.c: Likewise.
7922 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
7923 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
7924 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
7925 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
7926 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
7927
7928 2018-05-09 Joseph Myers <joseph@codesourcery.com>
7929
7930 * sysdeps/generic/math-barriers.h: New file.
7931 * sysdeps/generic/math_private.h [!math_opt_barrier]
7932 (math_opt_barrier): Move to math-barriers.h.
7933 [!math_opt_barrier] (math_force_eval): Likewise.
7934 * sysdeps/aarch64/fpu/math-barriers.h: New file.
7935 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
7936 math-barriers.h.
7937 (math_force_eval): Likewise.
7938 * sysdeps/alpha/fpu/math-barriers.h: New file.
7939 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
7940 math-barriers.h.
7941 (math_force_eval): Likewise.
7942 * sysdeps/x86/fpu/math-barriers.h: New file.
7943 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
7944 math-barriers.h.
7945 (math_force_eval): Likewise.
7946 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
7947 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
7948 multiple-include guard for rename.
7949 * sysdeps/powerpc/fpu/math-barriers.h: New file.
7950 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
7951 math-barriers.h.
7952 (math_force_eval): Likewise.
7953
7954 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7955
7956 [BZ #22786]
7957 CVE-2018-11236
7958 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
7959 computation.
7960 * stdlib/Makefile (test-bz22786): New test.
7961 * stdlib/test-bz22786.c: New test.
7962
7963 2018-05-09 Joseph Myers <joseph@codesourcery.com>
7964
7965 * include/math-narrow-eval.h: New file. Contents moved from ....
7966 * sysdeps/generic/math_private.h: ... here.
7967 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
7968 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
7969 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
7970 * stdlib/strtod_l.c: Likewise.
7971 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7972 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7973 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7974 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7975 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7976 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7977 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7978 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7979 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7980 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7981 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7982 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
7983 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7984 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7985 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7986 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7987 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7988 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7989 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7990 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7991 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7992 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7993 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7994 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7995 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7996 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7997 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7998 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7999 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8000
8001 2018-05-08 Andreas Schwab <schwab@suse.de>
8002
8003 * sysdeps/nptl/internaltypes.h: Fix comment.
8004
8005 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
8006
8007 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8008 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
8009 hidden.
8010
8011 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8012
8013 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
8014 of I into loop header.
8015 * benchtests/bench-memmove-walk.c
8016 (test_main): Likewise.
8017
8018 2018-05-07 Alexandre Oliva <oliva@gnu.org>
8019
8020 Revert:
8021 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
8022 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
8023
8024 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8025
8026 [BZ #20419]
8027 * elf/dl-load.c (open_verify): Fix stack overflow.
8028 * elf/Makefile (tst-big-note): New test.
8029 * elf/tst-big-note-lib.S: New.
8030 * elf/tst-big-note.c: New.
8031
8032 2018-05-04 Joseph Myers <joseph@codesourcery.com>
8033
8034 * scripts/abilist.awk: Ignore absolute symbols.
8035 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
8036 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
8037 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
8038 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
8039 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
8040 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
8041 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
8042 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
8043 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
8044 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
8045 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
8046 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
8047 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
8048 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
8049 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
8050 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
8051 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
8052 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
8053 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8054 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
8055 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8056 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
8057 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
8058 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
8059 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
8060 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
8061 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
8062 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
8063 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8064 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
8065 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
8066 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8067 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
8068 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8069 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
8070 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
8071 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
8072 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
8073 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
8074 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
8075 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
8076 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8077 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
8078 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
8079 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8080 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
8081 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8082 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
8083 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
8084 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
8085 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
8086 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
8087 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
8088 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
8089 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8090 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
8091 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
8092 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8093 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
8094 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8095 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
8096 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
8097 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
8098 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
8099 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
8100 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
8101 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
8102 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8103 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
8104 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
8105 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8106 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
8107 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8108 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
8109 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
8110 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
8111 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
8112 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
8113 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
8114 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
8115 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8116 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
8117 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
8118 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8119 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
8120 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8121 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
8122 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
8123 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
8124 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
8125 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
8126 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8127 Likewise.
8128 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
8129 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8130 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
8131 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
8132 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8133 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
8134 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8135 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
8136 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
8137 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
8138 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
8139 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
8140 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8141 Likewise.
8142 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
8143 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8144 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
8145 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
8146 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8147 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
8148 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8149 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
8150 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
8151 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
8152 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
8153 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
8154 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
8155 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
8156 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8157 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
8158 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
8159 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8160 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
8161 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8162 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
8163 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
8164 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
8165 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
8166 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8167 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
8168 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8169 Likewise.
8170 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
8171 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
8172 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
8173 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
8174 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8175 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
8176 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
8177 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
8178 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
8179 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
8180 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
8181 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
8182 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
8183 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8184 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
8185 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
8186 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
8187 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
8188 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8189 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8190 Likewise.
8191 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
8192 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
8193 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
8194 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8195 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
8196 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8197 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
8198 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
8199 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
8200 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
8201 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8202 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
8203 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
8204 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8205 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
8206 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
8207 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
8208 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
8209 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8210 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
8211 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
8212 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8213 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
8214 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8215 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
8216 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
8217 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
8218 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
8219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
8220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
8222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8223 Likewise.
8224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
8225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
8226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
8227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
8228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8229 Likewise.
8230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
8231 Likewise.
8232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
8233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8234 Likewise.
8235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
8236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8237 Likewise.
8238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8239 Likewise.
8240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8243 Likewise.
8244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8245 Likewise.
8246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
8247 Likewise.
8248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
8249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8252 Likewise.
8253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
8254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
8255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
8256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
8259 Likewise.
8260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
8261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8262 Likewise.
8263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8264 Likewise.
8265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8266 Likewise.
8267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
8268 Likewise.
8269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
8270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
8271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8272 Likewise.
8273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8274 Likewise.
8275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8276 Likewise.
8277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
8278 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
8279 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
8280 Likewise.
8281 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
8282 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8283 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
8284 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
8285 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
8286 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
8287 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8288 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
8289 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
8290 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
8291 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
8292 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
8293 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
8294 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8295 Likewise.
8296 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8297 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
8298 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
8299 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8300 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
8301 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8302 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
8303 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
8304 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
8305 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
8306 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
8307 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8308 Likewise.
8309 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8310 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
8311 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
8312 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8313 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
8314 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8315 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
8316 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
8317 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
8318 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
8319 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
8320 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
8321 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
8322 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8323 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
8324 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
8325 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8326 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
8327 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8328 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
8329 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
8330 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
8331 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
8332 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
8333 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8334 Likewise.
8335 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
8336 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8337 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
8338 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
8339 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8340 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
8341 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8342 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
8343 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
8344 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
8345 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
8346 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
8347 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8348 Likewise.
8349 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
8350 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8351 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
8352 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
8353 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8354 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
8355 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8356 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
8357 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
8358 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
8359 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
8360 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
8361 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
8362 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
8363 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8364 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
8365 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
8366 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8367 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
8368 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8369 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
8370 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
8371 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
8372 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
8373 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
8374 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
8375 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
8376 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
8377 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8378 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
8379 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
8380 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8381 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
8382 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8383 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
8384 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
8385 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
8386 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
8387
8388 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
8389
8390 [BZ #23137]
8391 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
8392 Use atomic_load_acquire to load __tid.
8393
8394 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
8395
8396 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
8397 Restore the pointer into %rdx, after syscall and use %rdx,
8398 instead of %rsi, to restore context.
8399
8400 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
8401
8402 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
8403 Pop the pointer into %rdx after syscall and use %rdx, instead
8404 of %rsi, to restore context.
8405
8406 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
8407
8408 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
8409 handlers after setjmp.
8410 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
8411 defined.
8412 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
8413 <libc-pointer-arith.h>.
8414 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
8415 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
8416 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
8417 _JUMP_BUF_SIGSET_BITS_PER_WORD.
8418 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
8419 * sysdeps/x86/__longjmp_cancel.S: New file.
8420 * sysdeps/x86/longjmp.c: Likewise.
8421 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
8422
8423 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8424
8425 * NEWS: Add ustat.h deprecation entry.
8426 * bits/ustat.h: Remove file.
8427 * misc/sys/ustat.h: Likewise.
8428 * misc/ustat.h: Likewise.
8429 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
8430 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
8431 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
8432 compatibility mode.
8433 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
8434 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
8435 generic Linux implementation.
8436
8437 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8438
8439 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
8440 * math/w_expl_compat.c: Likewise.
8441 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
8442
8443 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
8444
8445 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
8446
8447 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8448
8449 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
8450 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
8451 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
8452 Remove.
8453 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
8454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8455 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8456 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
8457 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
8458 and SYSCALL_LL64.
8459
8460 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8461
8462 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
8463
8464 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
8465 * math/w_asin_template.c: Likewise.
8466 * math/w_atanh_template.c: Likewise.
8467
8468 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8469
8470 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
8471 to powerpc/powerpc64/be for big-endian.
8472 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
8473 little-endian.
8474
8475 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
8476 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
8477 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
8478 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
8479 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8480 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
8481 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
8482 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
8483 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
8484 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8485 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
8486 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
8487 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
8488 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
8489 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
8490 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
8491 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
8492 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
8493 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
8494 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
8495 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
8496 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8497 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
8498 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
8499 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
8500 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8501 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
8502 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
8503 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
8504 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8505 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8506 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8507
8508 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
8509 adjusted to imply powerpc64 and older processors on powerpc64/be.
8510 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
8511 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
8512 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
8513 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
8514 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
8515 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
8516 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
8517 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
8518 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
8519 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
8520 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
8521 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
8522 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
8523 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
8524 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
8525 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
8526 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
8527 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
8528 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
8529 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
8530 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
8531 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
8532 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
8533 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
8534 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
8535 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
8536 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
8537 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
8538 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
8539 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
8540 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
8541
8542 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
8543 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
8544 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
8545 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
8546
8547 * sysdeps/powerpc/powerpc64/be/Implies: New file.
8548 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
8549 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
8550 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
8551
8552 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
8553 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
8554 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
8555 * sysdeps/powerpc/powerpc64le/configure: Likewise.
8556 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
8557 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
8558 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
8559 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
8560 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
8561 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
8562 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
8563
8564 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
8565 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
8566 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
8567 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
8568 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
8569 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
8570 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
8571 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
8572 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
8573 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
8574 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
8575
8576 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
8577 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
8578 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
8579 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
8580 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
8581 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
8582 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
8583 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
8584 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
8585 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
8586 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
8587 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
8588
8589 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
8590 and adjusted to imply olders processors.
8591 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
8592 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
8593 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
8594 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
8595 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
8596 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
8597 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
8598 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
8599 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
8600 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
8601 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
8602
8603 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
8604 powerpc64/le.
8605 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
8606 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
8607
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
8609 powerpc64le.
8610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
8611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
8612
8613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
8614 powerpc64/be.
8615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
8617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
8618
8619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
8620 powerpc64 and adjusted.
8621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
8622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
8623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
8624 Likewise.
8625
8626 2018-04-27 Joseph Myers <joseph@codesourcery.com>
8627
8628 * sysdeps/tile: Remove.
8629 * sysdeps/unix/sysv/linux/tile: Likewise.
8630 * README (tilegx-*-linux-gnu): Remove from list of supported
8631 configurations.
8632 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
8633 contribution of support for generic Linux kernel syscall
8634 interface.
8635 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
8636 tilegx configurations.
8637 (Config.install_linux_headers): Do not handle tile.
8638 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
8639 in comment.
8640 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
8641 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
8642 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
8643 conditional undefine and redefine.
8644 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
8645 in comment.
8646 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
8647 conditional undefine and redefine.
8648
8649 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
8650
8651 * signal/tst-sigaction.c: New file to test BZ #23069.
8652 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
8653
8654 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8655
8656 [BZ #22766]
8657 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
8658 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
8659 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
8660 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8661
8662 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8663
8664 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
8665 _DIRENT_MATCHES_DIRENT64 is not defined.
8666 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
8667 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
8668 is defined.
8669 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
8670 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
8671
8672 2018-04-25 Joseph Myers <joseph@codesourcery.com>
8673
8674 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
8675 version to GCC 8 branch.
8676
8677 2018-04-24 Joseph Myers <joseph@codesourcery.com>
8678
8679 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
8680 (check_no_hidden): Use type of original function when declaring
8681 alias.
8682
8683 * sysdeps/unix/sysv/linux/sys/ptrace.h
8684 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
8685 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
8686 (struct __ptrace_seccomp_metadata): New type.
8687 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8688 (PTRACE_SECCOMP_GET_METADATA): Likewise.
8689 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
8690 (PTRACE_SECCOMP_GET_METADATA): Likewise.
8691 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
8692 (PTRACE_SECCOMP_GET_METADATA): Likewise.
8693 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8694 (PTRACE_SECCOMP_GET_METADATA): Likewise.
8695 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
8696 (PTRACE_SECCOMP_GET_METADATA): Likewise.
8697 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
8698 (PTRACE_SECCOMP_GET_METADATA): Likewise.
8699 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
8700 (PTRACE_SECCOMP_GET_METADATA): Likewise.
8701 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
8702 (PTRACE_SECCOMP_GET_METADATA): Likewise.
8703
8704 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8705
8706 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
8707 defined.
8708 * dirent/versionsort.c (versionsort): Likewise.
8709 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
8710 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
8711 * dirent/versionsort64.c (versionsort64): Likewise.
8712 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
8713 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
8714 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
8715 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
8716 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
8717 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
8718 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
8719 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
8720 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
8721 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
8722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
8723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
8724 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
8725 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
8726
8727 2018-04-23 Joseph Myers <joseph@codesourcery.com>
8728
8729 * elf/elf.h (NT_PPC_PKEY): New macro.
8730
8731 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
8732
8733 [BZ #23094]
8734 * localedata/locales/hr_HR: fix thousands_sep and
8735 mon_thousands_sep
8736
8737 2018-04-20 Joseph Myers <joseph@codesourcery.com>
8738
8739 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
8740 (XTABS): Define to TAB3.
8741
8742 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8743
8744 * sysdeps/hppa/fpu/libm-test-ulps: Update.
8745
8746 * dirent/scandir-tail-common.c: New file.
8747 * dirent/scandir-tail.c: Use scandir-tail-common.c.
8748 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
8749 * dirent/scandir.c: Use scandir-tail-common.c.
8750 * dirent/scandirat.c: Likewise.
8751 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
8752 * dirent/scandir64.c (scandir64): Always build and alias to scandir
8753 if _DIRENT_MATCHES_DIRENT64 is defined.
8754 * dirent/scandirat64.c (scandirat64): Likewise.
8755 * include/dirent.h (__scandir_tail): Only define iff
8756 _DIRENT_MATCHES_DIRENT64 is not defined.
8757 (__scandir64_tail): Define regardless.
8758 (__scandirat, scandirat64): Remove libc_hidden_proto.
8759 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
8760 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
8761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
8762 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
8763 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8764 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
8765 * sysdeps/unix/sysv/linux/scandir64.c: New file.
8766
8767 2018-04-20 Joseph Myers <joseph@codesourcery.com>
8768
8769 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
8770 New macro.
8771 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
8772 Increase to 24.
8773 (_dl_aarch64_cap_flags): Add asimdfhm.
8774
8775 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
8776
8777 * sysdeps/nios2/libm-test-ulps: Update.
8778
8779 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8780
8781 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
8782 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
8783
8784 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
8785 requirements.
8786 (_DIRENT_MATCHES_DIRENT64): Undef
8787 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
8788 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
8789 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
8790 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
8791 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
8792 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
8793 use getdents64 syscalls as base.
8794 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
8795 symbol if required.
8796 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
8797 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
8798 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
8799 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
8800 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
8801 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
8802 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
8803 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
8804 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8805 (__get_clockfreq_via_proc_openprom): Use __getdents64.
8806 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
8807
8808 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
8809
8810 * scripts/test_printers_common.py (init_test): Disable lock elision.
8811
8812 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
8813
8814 * math/test-tgmath.c (count_double, count_float,
8815 count_ldouble, count_cdouble, count_cfloat,
8816 count_cldouble): Use volatile int.
8817
8818 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
8819
8820 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8821 (conformtest-xfail-conds): Add i386-gnu.
8822 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
8823 i386-gnu.
8824 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
8825 ipc_perm.cuid, ipc_perm.cgid): Likewise.
8826 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
8827 msqid_ds.msg_lrpid): Likewise.
8828 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
8829 Likewise.
8830 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
8831 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
8832 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
8833 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
8834 unsigned int.
8835 (struct statvfs64): Likewise.
8836 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
8837 Likewise.
8838 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
8839 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
8840 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
8841 instead of wait_queue.
8842 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
8843 instead of vm_area_struct.
8844 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
8845 struct sched_param definition to it.
8846 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8847 * bits/types/struct_sched_param.h: New file.
8848 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
8849 <bits/types/struct_sched_param.h> instead of <sched.h>.
8850 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
8851 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
8852 generic version but include <bits/pthreadtypes.h> to make struct
8853 sigevent's sigev_notify_attributes field a pthread_attr_t*.
8854 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
8855 non-compliant.
8856 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
8857 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
8858 [__USE_XOPEN] (OFDEL): New macro.
8859 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
8860 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
8861 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
8862 prototypes.
8863 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
8864 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
8865 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
8866 non-compliant.
8867 * sysdeps/i386/sys/ucontext.h: Likewise.
8868 * sysdeps/m68k/sys/ucontext.h: Likewise.
8869 * sysdeps/mips/sys/ucontext.h: Likewise.
8870 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
8871 * sysdeps/mach/hurd/i386/Makefile
8872 (test-xfail-POSIX/fcntl.h/conform): Add.
8873 (test-xfail-POSIX/signal.h/conform): Add.
8874 (test-xfail-POSIX/semaphore.h/conform): Add.
8875 (test-xfail-POSIX/regex.h/conform): Add.
8876 (test-xfail-POSIX/aio.h/conform): Add.
8877 (test-xfail-POSIX/mqueue.h/conform): Add.
8878 (test-xfail-POSIX/sys/types.h/conform): Add.
8879 (test-xfail-UNIX98/fcntl.h/conform): Add.
8880 (test-xfail-UNIX98/netdb.h/conform): Add.
8881 (test-xfail-UNIX98/signal.h/conform): Add.
8882 (test-xfail-UNIX98/semaphore.h/conform): Add.
8883 (test-xfail-UNIX98/regex.h/conform): Add.
8884 (test-xfail-UNIX98/aio.h/conform): Add.
8885 (test-xfail-UNIX98/ftw.h/conform): Add.
8886 (test-xfail-UNIX98/mqueue.h/conform): Add.
8887 (test-xfail-UNIX98/netinet/in.h/conform): Add.
8888 (test-xfail-UNIX98/sys/wait.h/conform): Add.
8889 (test-xfail-UNIX98/sys/sem.h/conform): Add.
8890 (test-xfail-UNIX98/sys/uio.h/conform): Add.
8891 (test-xfail-UNIX98/sys/socket.h/conform): Add.
8892 (test-xfail-UNIX98/sys/types.h/conform): Add.
8893 (test-xfail-UNIX98/stdlib.h/conform): Add.
8894 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
8895 (test-xfail-POSIX2008/fcntl.h/conform): Add.
8896 (test-xfail-POSIX2008/netdb.h/conform): Add.
8897 (test-xfail-POSIX2008/signal.h/conform): Add.
8898 (test-xfail-POSIX2008/semaphore.h/conform): Add.
8899 (test-xfail-POSIX2008/regex.h/conform): Add.
8900 (test-xfail-POSIX2008/aio.h/conform): Add.
8901 (test-xfail-POSIX2008/mqueue.h/conform): Add.
8902 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
8903 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
8904 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
8905 (test-xfail-POSIX2008/sys/types.h/conform): Add.
8906 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
8907 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
8908 (test-xfail-XOPEN2K/netdb.h/conform): Add.
8909 (test-xfail-XOPEN2K/signal.h/conform): Add.
8910 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
8911 (test-xfail-XOPEN2K/regex.h/conform): Add.
8912 (test-xfail-XOPEN2K/aio.h/conform): Add.
8913 (test-xfail-XOPEN2K/ftw.h/conform): Add.
8914 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
8915 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
8916 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
8917 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
8918 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
8919 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
8920 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
8921 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
8922 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
8923 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
8924 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
8925 (test-xfail-XOPEN2K8/signal.h/conform): Add.
8926 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
8927 (test-xfail-XOPEN2K8/regex.h/conform): Add.
8928 (test-xfail-XOPEN2K8/aio.h/conform): Add.
8929 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
8930 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
8931 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
8932 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
8933 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
8934 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
8935 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
8936 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
8937 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
8938 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
8939 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
8940 i386-gnu.
8941 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
8942 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
8943
8944 2018-04-18 Joseph Myers <joseph@codesourcery.com>
8945
8946 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
8947 --enable-obsolete for powerpc-linux-gnuspe.
8948
8949 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8950
8951 * conform/data/sys/un.h-data: Allow sun_ prefix.
8952 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
8953 prototypes.
8954 * sysdeps/mach/include/mach.h: Likewise.
8955 * sysdeps/mach/include/mach/mig_support.h: Likewise.
8956 * sysdeps/mach/include/mach_error.h: Likewise.
8957
8958 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8959
8960 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
8961 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
8962 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
8963 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
8964
8965 2018-04-16 Andreas Schwab <schwab@suse.de>
8966
8967 [BZ #19527]
8968 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
8969
8970 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
8971
8972 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
8973 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
8974
8975 2018-04-12 DJ Delorie <dj@redhat.com>
8976
8977 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8978 version to 4.16.
8979
8980 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8981
8982 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
8983 (struct kernel_sigaction): Use the same definition on 31bit as is used
8984 on 64bit.
8985
8986 2018-04-09 Florian Weimer <fweimer@redhat.com>
8987
8988 [BZ #23037]
8989 * resolv/res_send.c (send_dg): Use designated initializers instead
8990 of assignment to zero-initialize other fields of struct mmsghdr.
8991
8992 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8993
8994 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
8995 __READDIR_ALIAS): Undefine after usage.
8996 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
8997 __READDIR_R_ALIAS): Likewise.
8998 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
8999 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
9000 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
9001 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
9002 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
9003 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
9004 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9005 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9006 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
9007 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
9008 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
9009 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
9010 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9011 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
9012 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
9013 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
9014 * sysdeps/unix/sysv/linux/readdir.c: New file.
9015 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
9016 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
9017 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
9018
9019 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
9020
9021 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
9022
9023 * manual/charset.texi (Converting a Character): Fix typo.
9024
9025 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9026
9027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9028
9029 * sysdeps/arm/libm-test-ulps: Update.
9030
9031 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
9032 as base implementation.
9033 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9034 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9035 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9036 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9037 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9038 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
9039 remove unrequired definitions and update comments.
9040 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
9041 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
9042 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
9043 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
9044 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
9045 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
9046 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
9047 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
9048 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
9049 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
9050 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
9051 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9052 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9053 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
9054 and RESET_SA_RESTORER hooks.
9055
9056 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
9057
9058 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9059
9060 2018-04-05 Florian Weimer <fweimer@redhat.com>
9061
9062 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
9063 integer overflow, memory leak on error, and indeterminate errno
9064 value. Add a null wide character to terminate the result string.
9065 * manual/charset.texi (Converting a Character): Mention embedded
9066 null bytes in the mbrtowc input string. Explain what happens in
9067 the -2 result case. Do not claim that mbrtowc is simple or
9068 obvious to use. Adjust the description of the code example. Use
9069 @code, not @var, for concrete variables.
9070
9071 2018-04-05 Florian Weimer <fweimer@redhat.com>
9072
9073 * manual/examples/mbstouwcs.c: New file.
9074 * manual/charset.texi (Converting a Character): Include it.
9075
9076 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9077
9078 * include/dirent.h (dirfd): Add hidden proto.
9079 * dirent/dirfd.c (dirfd): Add hidden def.
9080 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
9081 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
9082
9083 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9084
9085 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
9086 sin, cos and sincos to 1 ULP.
9087
9088 2018-04-04 Maciej W. Rozycki <macro@mips.com>
9089
9090 [BZ #19818]
9091 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
9092 symbols.
9093 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
9094 * elf/tst-absolute-sym.c: New file.
9095 * elf/tst-absolute-sym-lib.c: New file.
9096 * elf/tst-absolute-sym-lib.lds: New file.
9097 * elf/Makefile (tests): Add `tst-absolute-sym'.
9098 (modules-names): Add `tst-absolute-sym-lib'.
9099 (LDLIBS-tst-absolute-sym-lib.so): New variable.
9100 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
9101 ($(objpfx)tst-absolute-sym): New dependency.
9102
9103 [BZ #19818]
9104 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
9105 parameter.
9106 (SYMBOL_ADDRESS): New macro.
9107 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
9108 SYMBOL_ADDRESS for symbol address calculation.
9109 * elf/dl-runtime.c (_dl_fixup): Likewise.
9110 (_dl_profile_fixup): Likewise.
9111 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
9112 * elf/rtld.c (dl_main): Likewise.
9113 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
9114 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
9115 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
9116 (elf_machine_rela): Likewise.
9117 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
9118 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
9119 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9120 (elf_machine_rela): Likewise.
9121 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9122 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
9123 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
9124 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
9125 Likewise.
9126 (elf_machine_reloc): Likewise.
9127 (elf_machine_got_rel): Likewise.
9128 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
9129 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
9130 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9131 Likewise.
9132 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9133 Likewise.
9134 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
9135 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9136 Likewise.
9137 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9138 Likewise.
9139 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9140 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9141 Likewise.
9142 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9143 Likewise.
9144 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
9145 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9146
9147 2018-04-04 Zack Weinberg <zackw@panix.com>
9148
9149 * sysdeps/generic/internal-signals.h: Include signal.h,
9150 sigsetops.h, and stdbool.h.
9151 (__libc_signal_block_all): Actually block all signals.
9152 (__libc_signal_block_app): Likewise.
9153 (__libc_signal_restore_set): Actually restore the signal mask.
9154
9155 2018-04-04 Florian Weimer <fweimer@redhat.com>
9156
9157 inet: Actually build and run tst-deadline.
9158 * inet/Makefile (tests-internal): Add tst-deadline and do not
9159 overwrite the variable.
9160 (tests-static-internal): Remove variable.
9161
9162 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
9163
9164 [BZ #22947]
9165 * bits/uio-ext.h (RWF_APPEND): New.
9166 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
9167 * manual/llio.texi: Document RWF_APPEND.
9168 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
9169 (RWF_SUPPORTED): Add RWF_APPEND.
9170
9171 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9172
9173 [BZ #22391]
9174 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
9175 check for internal nptl signals.
9176 * nptl/sigaction.c (__sigaction): Likewise.
9177 * signal/sigaddset.c (sigaddset): Likewise.
9178 * signal/sigdelset.c (sigdelset): Likewise.
9179 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9180 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
9181 value.
9182 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
9183 to filter out internal nptl signals.
9184 * signal/tst-sigset.c (do_test): Check ech signal indidually and
9185 also check realtime signals using standard macros.
9186 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
9187 __is_internal_signal, __libc_signal_block_all,
9188 __libc_signal_block_app, __libc_signal_restore_set): New functions.
9189 * sysdeps/nptl/sigfillset.c: Remove file.
9190 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
9191 Change return to bool.
9192 (__clear_internal_signals): Remove SIGTIMER clean since it is
9193 equal to SIGCANEL on Linux.
9194 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
9195 signal set was constructed using standard functions.
9196
9197 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9198
9199 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
9200 ifname is too long.
9201 * hurd/hurdsig.c (interrupted_reply_port_location): Use
9202 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
9203 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
9204 hidden def.
9205 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
9206 * signal/sigaddset.c: Include <sigsetopts.h>.
9207 * signal/sigdelset.c: Likewise.
9208
9209 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9210
9211 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
9212 (__cos): Likewise.
9213 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
9214 logic as sin and cos.
9215
9216 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9217
9218 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
9219 inputs. Return correct sign.
9220 (do_sincos): Remove small input check before do_sin, let do_sin set
9221 the sign.
9222 (__sin): Likewise.
9223 (__cos): Likewise.
9224
9225 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9226
9227 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
9228 (do_cos_slow): Likewise.
9229 (do_sin_slow): Likewise.
9230 (reduce_and_compute): Likewise.
9231 (slow): Likewise.
9232 (slow1): Likewise.
9233 (slow2): Likewise.
9234 (sloww): Likewise.
9235 (sloww1): Likewise.
9236 (sloww2): Likewise.
9237 (bslow): Likewise.
9238 (bslow1): Likewise.
9239 (bslow2): Likewise.
9240 (cslow2): Likewise.
9241
9242 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9243
9244 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
9245 (do_cos): Remove corp parameter and calculations.
9246 (do_sin): Likewise.
9247 (do_sincos): Remove cor variable.
9248 (__sin): Use do_sincos for huge inputs.
9249 (__cos): Likewise.
9250 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9251 (reduce_and_compute_sincos): Remove unused function.
9252
9253 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9254
9255 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
9256 reduce_sincos, improve accuracy to 136 bits.
9257 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
9258 (__sin): Use improved reduction and simplified do_sincos calculation.
9259 (__cos): Likewise.
9260 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9261
9262 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9263
9264 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
9265 (do_sincos_2): Likewise.
9266 (__sin): Remove middle range reduction case.
9267 (__cos): Likewise.
9268 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
9269 reduction case.
9270
9271 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9272
9273 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
9274 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
9275 inputs.
9276 (__cos): Likewise.
9277 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
9278
9279 2018-04-03 Joseph Myers <joseph@codesourcery.com>
9280
9281 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9282 version to 4.16
9283
9284 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9285
9286 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
9287 Remove definitions.
9288 (opendir_oflags): Use O_DIRECTORY regardless.
9289 (__opendir, __opendirat): Remove need_isdir_precheck usage.
9290 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
9291
9292 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9293
9294 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
9295 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
9296 macros.
9297 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
9298 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
9299 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
9300 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
9301 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
9302 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
9303
9304 * htl/Makefile: Bump licence to LGPL 2.1+.
9305 * htl/alloca_cutoff.c: Likewise.
9306 * htl/cthreads-compat.c: Likewise.
9307 * htl/lockfile.c: Likewise.
9308 * htl/pt-alloc.c: Likewise.
9309 * htl/pt-cancel.c: Likewise.
9310 * htl/pt-cleanup.c: Likewise.
9311 * htl/pt-create.c: Likewise.
9312 * htl/pt-dealloc.c: Likewise.
9313 * htl/pt-detach.c: Likewise.
9314 * htl/pt-exit.c: Likewise.
9315 * htl/pt-getattr.c: Likewise.
9316 * htl/pt-initialize.c: Likewise.
9317 * htl/pt-internal.h: Likewise.
9318 * htl/pt-join.c: Likewise.
9319 * htl/pt-self.c: Likewise.
9320 * htl/pt-setcancelstate.c: Likewise.
9321 * htl/pt-setcanceltype.c: Likewise.
9322 * htl/pt-sigmask.c: Likewise.
9323 * htl/pt-spin-inlines.c: Likewise.
9324 * htl/pt-testcancel.c: Likewise.
9325 * htl/pt-yield.c: Likewise.
9326 * htl/tests/test-1.c: Likewise.
9327 * htl/tests/test-10.c: Likewise.
9328 * htl/tests/test-11.c: Likewise.
9329 * htl/tests/test-12.c: Likewise.
9330 * htl/tests/test-13.c: Likewise.
9331 * htl/tests/test-14.c: Likewise.
9332 * htl/tests/test-15.c: Likewise.
9333 * htl/tests/test-16.c: Likewise.
9334 * htl/tests/test-17.c: Likewise.
9335 * htl/tests/test-2.c: Likewise.
9336 * htl/tests/test-3.c: Likewise.
9337 * htl/tests/test-4.c: Likewise.
9338 * htl/tests/test-5.c: Likewise.
9339 * htl/tests/test-6.c: Likewise.
9340 * htl/tests/test-7.c: Likewise.
9341 * htl/tests/test-8.c: Likewise.
9342 * htl/tests/test-9.c: Likewise.
9343 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
9344 * sysdeps/htl/bits/cancelation.h: Likewise.
9345 * sysdeps/htl/bits/pthread-np.h: Likewise.
9346 * sysdeps/htl/bits/pthread.h: Likewise.
9347 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
9348 * sysdeps/htl/bits/semaphore.h: Likewise.
9349 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
9350 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
9351 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
9352 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
9353 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
9354 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
9355 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
9356 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
9357 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
9358 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
9359 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
9360 * sysdeps/htl/old_pt-atfork.c: Likewise.
9361 * sysdeps/htl/pt-atfork.c: Likewise.
9362 * sysdeps/htl/pt-attr-destroy.c: Likewise.
9363 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
9364 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
9365 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
9366 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
9367 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
9368 * sysdeps/htl/pt-attr-getscope.c: Likewise.
9369 * sysdeps/htl/pt-attr-getstack.c: Likewise.
9370 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
9371 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
9372 * sysdeps/htl/pt-attr-init.c: Likewise.
9373 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
9374 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
9375 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
9376 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
9377 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
9378 * sysdeps/htl/pt-attr-setscope.c: Likewise.
9379 * sysdeps/htl/pt-attr-setstack.c: Likewise.
9380 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
9381 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
9382 * sysdeps/htl/pt-attr.c: Likewise.
9383 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
9384 * sysdeps/htl/pt-barrier-init.c: Likewise.
9385 * sysdeps/htl/pt-barrier-wait.c: Likewise.
9386 * sysdeps/htl/pt-barrier.c: Likewise.
9387 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
9388 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
9389 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
9390 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
9391 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
9392 * sysdeps/htl/pt-cond-destroy.c: Likewise.
9393 * sysdeps/htl/pt-cond-init.c: Likewise.
9394 * sysdeps/htl/pt-cond-signal.c: Likewise.
9395 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
9396 * sysdeps/htl/pt-cond-wait.c: Likewise.
9397 * sysdeps/htl/pt-cond.c: Likewise.
9398 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
9399 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
9400 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
9401 * sysdeps/htl/pt-condattr-init.c: Likewise.
9402 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
9403 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
9404 * sysdeps/htl/pt-destroy-specific.c: Likewise.
9405 * sysdeps/htl/pt-equal.c: Likewise.
9406 * sysdeps/htl/pt-getconcurrency.c: Likewise.
9407 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
9408 * sysdeps/htl/pt-getschedparam.c: Likewise.
9409 * sysdeps/htl/pt-getspecific.c: Likewise.
9410 * sysdeps/htl/pt-init-specific.c: Likewise.
9411 * sysdeps/htl/pt-key-create.c: Likewise.
9412 * sysdeps/htl/pt-key-delete.c: Likewise.
9413 * sysdeps/htl/pt-key.h: Likewise.
9414 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
9415 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
9416 * sysdeps/htl/pt-mutex-init.c: Likewise.
9417 * sysdeps/htl/pt-mutex-lock.c: Likewise.
9418 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
9419 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
9420 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
9421 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
9422 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
9423 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
9424 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
9425 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
9426 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
9427 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
9428 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
9429 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
9430 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
9431 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
9432 * sysdeps/htl/pt-mutexattr.c: Likewise.
9433 * sysdeps/htl/pt-once.c: Likewise.
9434 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
9435 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
9436 * sysdeps/htl/pt-rwlock-init.c: Likewise.
9437 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
9438 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
9439 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
9440 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
9441 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
9442 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
9443 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
9444 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
9445 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
9446 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
9447 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
9448 * sysdeps/htl/pt-setconcurrency.c: Likewise.
9449 * sysdeps/htl/pt-setschedparam.c: Likewise.
9450 * sysdeps/htl/pt-setschedprio.c: Likewise.
9451 * sysdeps/htl/pt-setspecific.c: Likewise.
9452 * sysdeps/htl/pt-spin.c: Likewise.
9453 * sysdeps/htl/pt-startup.c: Likewise.
9454 * sysdeps/htl/pthread.h: Likewise.
9455 * sysdeps/htl/sem-close.c: Likewise.
9456 * sysdeps/htl/sem-destroy.c: Likewise.
9457 * sysdeps/htl/sem-getvalue.c: Likewise.
9458 * sysdeps/htl/sem-init.c: Likewise.
9459 * sysdeps/htl/sem-open.c: Likewise.
9460 * sysdeps/htl/sem-post.c: Likewise.
9461 * sysdeps/htl/sem-timedwait.c: Likewise.
9462 * sysdeps/htl/sem-trywait.c: Likewise.
9463 * sysdeps/htl/sem-unlink.c: Likewise.
9464 * sysdeps/htl/sem-wait.c: Likewise.
9465 * sysdeps/hurd/htl/pt-kill.c: Likewise.
9466 * sysdeps/i386/htl/pt-machdep.h: Likewise.
9467 * sysdeps/mach/htl/pt-block.c: Likewise.
9468 * sysdeps/mach/htl/pt-spin.c: Likewise.
9469 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
9470 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
9471 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
9472 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
9473 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
9474 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
9475 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
9476 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
9477 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
9478 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
9479 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
9480 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
9481 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
9482 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
9483 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
9484 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
9485 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
9486 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
9487 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
9488 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
9489 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
9490 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
9491 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
9492 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
9493 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
9494 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
9495 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
9496 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
9497 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
9498 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
9499 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
9500 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
9501 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
9502 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
9503 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
9504 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
9505 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
9506 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
9507 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
9508 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
9509 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
9510 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
9511 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
9512
9513 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
9514 * README: Remove the mention of out-of-tree patches needed for
9515 GNU/Hurd.
9516
9517 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
9518 (UTIME_NOW, UTIME_OMIT): Define macros.
9519
9520 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
9521 instead of pthread_detach.
9522 (__cthread_fork): Call __pthread_create instead of pthread_create.
9523 (__cthread_keycreate): Call __pthread_key_create instead of
9524 pthread_key_create.
9525 (__cthread_getspecific): Call __pthread_getspecific instead of
9526 pthread_getspecific.
9527 (__cthread_setspecific): Call __pthread_setspecific instead of
9528 pthread_setspecific.
9529 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
9530 __pthread_mutex_unlock instead of pthread_mutex_lock and
9531 pthread_mutex_unlock.
9532 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
9533 ___pthread_get_cleanup_stack.
9534 (__pthread_get_cleanup_stack): New strong alias.
9535 * htl/pt-create.c: Include <pthreadP.h>.
9536 (entry_point): Call __pthread_exit instead of pthread_exit.
9537 (pthread_create): Rename to __pthread_create.
9538 (pthread_create): New strong alias.
9539 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
9540 (pthread_detach): New strong alias.
9541 (__pthread_detach): Call __pthread_cond_broadcast instead of
9542 pthread_cond_broadcast.
9543 * htl/pt-exit.c: Include <pthreadP.h>.
9544 (__pthread_exit): Call __pthread_setcancelstate and
9545 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
9546 __pthread_get_cleanup_stack.
9547 * htl/pt-testcancel.c: Include <pthreadP.h>.
9548 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
9549 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
9550 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
9551 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
9552 pthread_attr_getstacksize.
9553 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
9554 Rename to __pthread_attr_getstackaddr.
9555 (pthread_attr_getstackaddr): New strong alias.
9556 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
9557 Rename to __pthread_attr_getstacksize.
9558 (pthread_attr_getstacksize): New strong alias.
9559 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
9560 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
9561 (pthread_attr_setstack): New strong alias.
9562 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
9563 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
9564 pthread_attr_getstacksize, pthread_attr_setstacksize and
9565 pthread_attr_setstackaddr.
9566 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
9567 Rename to __pthread_attr_setstackaddr.
9568 (pthread_attr_setstackaddr): New strong alias.
9569 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
9570 Rename to __pthread_attr_setstacksize.
9571 (pthread_attr_setstacksize): New strong alias.
9572 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
9573 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
9574 pthread_exit.
9575 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
9576 (__pthread_key_create): New hidden def.
9577 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
9578 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
9579 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
9580 __pthread_exit, __pthread_key_create, __pthread_getspecific,
9581 __pthread_setspecific, __pthread_setcancelstate,
9582 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
9583 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
9584 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
9585 declarations.
9586 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
9587 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
9588 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
9589 (pthread_attr_setstackaddr): New strong alias.
9590 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
9591 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
9592 (pthread_attr_setstacksize): New strong alias.
9593 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
9594 (call_exit): Call __pthread_exit instead of pthread_exit.
9595 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
9596 (_pthread_mutex_init): New hidden definition.
9597 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
9598 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
9599 instead of pthread_attr_init and pthread_attr_setstack.
9600
9601 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
9602 __vm_deallocate instead of vm_allocate and vm_deallocate.
9603 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
9604 setenv.
9605 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
9606 of geteuid.
9607 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
9608 strdup.
9609 * hurd/siginfo.c: Include <libioP.h>.
9610 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
9611 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
9612 munmap.
9613 * mach/devstream.c: Include <libioP.h>.
9614 (dealloc_ref): Call __mach_port_deallocate instead of
9615 mach_port_deallocate.
9616 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
9617 Call __mach_port_deallocate instead of mach_port_deallocate.
9618 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
9619 pathconf.
9620 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
9621 munmap.
9622 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
9623 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
9624 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
9625 of munmap.
9626 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
9627 of close.
9628 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
9629 instead of sysconf.
9630 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
9631 __clock_gettime instead of clock_gettime.
9632 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
9633 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9634 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
9635 * sysdeps/unix/bsd/stty.c (stty): Likewise.
9636 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
9637 tcgetattr.
9638 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
9639 __clock_gettime and __nanosleep instead of clock_gettime and
9640 nanosleep.
9641 * hurd/catch-signal.c (hurd_catch_signal): Rename to
9642 __hurd_catch_signal.
9643 (hurd_catch_signal): New strong alias.
9644 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
9645 __hurd_catch_signal instead of hurd_catch_signal.
9646 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
9647 * hurd/hurdexec.c (_hurd_init): Add hidden def.
9648 * hurd/hurdinit.c (_hurd_init): Add hidden def.
9649 * hurd/hurdsig.c: Include <mach/mig_support.h>.
9650 (_hurd_thread_sigstate): Add hidden def.
9651 (_hurd_internal_post_signal): Use __mutex_unlock instead of
9652 mutex_unlock.
9653 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
9654 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
9655 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
9656 __hurd_file_name_path_lookup.
9657 (hurd_file_name_path_lookup): New strong alias.
9658 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
9659 hurd_file_name_path_lookup.
9660 * mach/errstring.c (mach_error_type): Add hidden def.
9661 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
9662 * mach/mutex-init.c (__mutex_init): Add hidden def.
9663 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
9664 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
9665 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
9666 * sysdeps/mach/hurd/getcwd.c
9667 (_hurd_canonicalize_directory_name_internal): Rename to
9668 __hurd_canonicalize_directory_name_internal.
9669 (_hurd_canonicalize_directory_name_internal): New strong alias.
9670 (__canonicalize_directory_name_internal, __getcwd): Call
9671 __hurd_canonicalize_directory_name_internal instead of
9672 _hurd_canonicalize_directory_name_internal.
9673 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
9674 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
9675 hidden defs.
9676 * sysdeps/hurd/include/hurd.h: New file.
9677 * sysdeps/hurd/include/hurd/fd.h: New file.
9678 * sysdeps/hurd/include/hurd/signal.h: New file.
9679 * sysdeps/mach/include/lock-intern.h: New file.
9680 * sysdeps/mach/include/mach.h: New file.
9681 * sysdeps/mach/include/mach/mig_support.h: New file.
9682 * sysdeps/mach/include/mach_error.h: New file.
9683 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
9684 prototype.
9685 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
9686 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
9687 _HEADER_H_HIDDEN_DEF macro.
9688 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
9689 _hurd_fd_error_signal): Add hidden prototype.
9690 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
9691 hidden def.
9692 * libio/iolibio.h (_IO_puts): New hidden prototype.
9693 * libio/ioputs.c (_IO_puts): New hidden def.
9694 * sysdeps/mach/hurd/localplt.data: New file.
9695
9696 2018-04-02 Agustina Arzille <avarzille@riseup.net>
9697 Amos Jeffries <squid3@treenet.co.nz>
9698 David Michael <fedora.dm0@gmail.com>
9699 Marco Gerards <marco@gnu.org>
9700 Marcus Brinkmann <marcus@gnu.org>
9701 Neal H. Walfield <neal@gnu.org>
9702 Pino Toscano <toscano.pino@tiscali.it>
9703 Richard Braun <rbraun@sceen.net>
9704 Roland McGrath <roland@gnu.org>
9705 Samuel Thibault <samuel.thibault@ens-lyon.org>
9706 Thomas DiModica <ricinwich@yahoo.com>
9707 Thomas Schwinge <tschwinge@gnu.org>
9708
9709 * htl: New directory.
9710 * sysdeps/htl: New directory.
9711 * sysdeps/hurd/htl: New directory.
9712 * sysdeps/i386/htl: New directory.
9713 * sysdeps/mach/htl: New directory.
9714 * sysdeps/mach/hurd/htl: New directory.
9715 * sysdeps/mach/hurd/i386/htl: New directory.
9716 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
9717 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
9718 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
9719
9720 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9721
9722 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
9723 signals in thread created for runing timers.
9724
9725 2018-04-01 Florian Weimer <fweimer@redhat.com>
9726
9727 * support/support_format_addrinfo.c (support_format_addrinfo):
9728 Include unknown error number in formatted result.
9729
9730 2018-03-29 Florian Weimer <fweimer@redhat.com>
9731
9732 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
9733 capture SIGBUS.
9734
9735 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9736
9737 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
9738 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
9739 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9740 (__ASSUME_CLONE_BACKWARDS): Define.
9741
9742 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
9743
9744 [BZ #23024]
9745 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
9746 early when linux sentinel value is set.
9747
9748 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9749
9750 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
9751
9752 2018-03-27 Andreas Schwab <schwab@suse.de>
9753
9754 [BZ #23005]
9755 * resolv/res_send.c (__res_context_send): Return ENOMEM if
9756 allocation of private copy of nsaddr_list fails.
9757
9758 2018-03-26 Joseph Myers <joseph@codesourcery.com>
9759
9760 [BZ #16552]
9761 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
9762 * sysdeps/unix/sysv/linux/umount.c: ... here.
9763 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
9764 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
9765 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
9766 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
9767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
9768 * sysdeps/unix/sysv/linux/umount.S: Likewise.
9769 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
9770
9771 2018-03-26 Andreas Schwab <schwab@suse.de>
9772
9773 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
9774 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
9775 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
9776 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
9777 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
9778 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
9779 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
9780 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
9781 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
9782 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
9783 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
9784 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
9785 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
9786 (R_RISCV_NUM): Define.
9787
9788 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
9789
9790 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
9791 TLS declaration of errno.
9792 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
9793 __libc_setup_tls.
9794 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
9795 (ARCH_SETUP_TLS): Likewise.
9796 * sysdeps/mach/hurd/libc-start.h: New file copied from
9797 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
9798 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
9799 instead of __libc_setup_tls.
9800 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
9801 __libc_setup_tls before initializing libpthread and running _hurd_init
9802 which starts the signal thread.
9803 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
9804 Declare function.
9805 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9806
9807 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
9808
9809 [BZ #22998]
9810 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
9811 after it is defined.
9812
9813 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
9814 Max Horn <max@quendi.de>
9815
9816 [BZ #22644]
9817 CVE-2017-18269
9818 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
9819 branch conditions.
9820 * string/test-memmove.c (do_test2): New testcase.
9821
9822 2018-03-22 Joseph Myers <joseph@codesourcery.com>
9823
9824 * sysdeps/generic/frame.h: Remove file.
9825 * sysdeps/arm/frame.h: Likewise.
9826 * sysdeps/hppa/frame.h: Likewise.
9827 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
9828 macro.
9829 (GET_FRAME): Likewise.
9830 (GET_STACK): Likewise.
9831 (CALL_SIGHANDLER): Likewise.
9832 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
9833 Likewise.
9834 (GET_FRAME): Likewise.
9835 (GET_STACK): Likewise.
9836 (CALL_SIGHANDLER): Likewise.
9837 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
9838 (SIGCONTEXT_EXTRA_ARGS): Likewise.
9839 (GET_FRAME): Likewise.
9840 (GET_STACK): Likewise.
9841 (CALL_SIGHANDLER): Likewise.
9842 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
9843 (SIGCONTEXT_EXTRA_ARGS): Likewise.
9844 (GET_FRAME): Likewise.
9845 (GET_STACK): Likewise.
9846 (ADVANCE_STACK_FRAME): Likewise.
9847 (CALL_SIGHANDLER): Likewise.
9848 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
9849 (SIGCONTEXT_EXTRA_ARGS): Likewise.
9850 (GET_FRAME): Likewise.
9851 (GET_STACK): Likewise.
9852 (CALL_SIGHANDLER): Likewise.
9853 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
9854 (SIGCONTEXT_EXTRA_ARGS): Likewise.
9855 (GET_FRAME): Likewise.
9856 (GET_STACK): Likewise.
9857 (CALL_SIGHANDLER): Likewise.
9858 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
9859 (SIGCONTEXT_EXTRA_ARGS): Likewise.
9860 (GET_FRAME): Likewise.
9861 (GET_STACK): Likewise.
9862 (CALL_SIGHANDLER): Likewise.
9863 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
9864 (SIGCONTEXT_EXTRA_ARGS): Likewise.
9865 (GET_FRAME): Likewise.
9866 (GET_STACK): Likewise.
9867 (CALL_SIGHANDLER): Likewise.
9868 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
9869 (SIGCONTEXT_EXTRA_ARGS): Likewise.
9870 (GET_FRAME): Likewise.
9871 (GET_STACK): Likewise.
9872 (CALL_SIGHANDLER): Likewise.
9873 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
9874 (SIGCONTEXT_EXTRA_ARGS): Likewise.
9875 (GET_FRAME): Likewise.
9876 (GET_STACK): Likewise.
9877 (CALL_SIGHANDLER): Likewise.
9878 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
9879 (SIGCONTEXT_EXTRA_ARGS): Likewise.
9880 (GET_FRAME): Likewise.
9881 (GET_STACK): Likewise.
9882 (CALL_SIGHANDLER): Likewise.
9883 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
9884 (SIGCONTEXT_EXTRA_ARGS): Likewise.
9885 (GET_FRAME): Likewise.
9886 (GET_STACK): Likewise.
9887 (CALL_SIGHANDLER): Likewise.
9888 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
9889 (SIGCONTEXT_EXTRA_ARGS): Likewise.
9890 (GET_FRAME): Likewise.
9891 (GET_STACK): Likewise.
9892 (CALL_SIGHANDLER): Likewise.
9893 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
9894 (SIGCONTEXT_EXTRA_ARGS): Likewise.
9895 (FIRST_FRAME_POINTER): Likewise.
9896 (ADVANCE_STACK_FRAME): Likewise.
9897 (GET_STACK): Likewise.
9898 (GET_FRAME): Likewise.
9899 (CALL_SIGHANDLER): Likewise.
9900 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
9901 (SIGCONTEXT_EXTRA_ARGS): Likewise.
9902 (ADVANCE_STACK_FRAME): Likewise.
9903 (GET_STACK): Likewise.
9904 (GET_FRAME): Likewise.
9905 (CALL_SIGHANDLER): Likewise.
9906 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
9907 (SIGCONTEXT_EXTRA_ARGS): Likewise.
9908 (GET_FRAME): Likewise.
9909 (GET_STACK): Likewise.
9910 (CALL_SIGHANDLER): Likewise.
9911 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
9912 (SIGCONTEXT_EXTRA_ARGS): Likewise.
9913 (GET_FRAME): Likewise.
9914 (GET_STACK): Likewise.
9915 (CALL_SIGHANDLER): Likewise.
9916
9917 2018-03-21 Joseph Myers <joseph@codesourcery.com>
9918
9919 * sysdeps/x86_64/backtrace.c: Move to ....
9920 * debug/backtrace.c: ... here.
9921 * sysdeps/aarch64/backtrace.c: Remove file.
9922 * sysdeps/alpha/backtrace.c: Likewise.
9923 * sysdeps/hppa/backtrace.c: Likewise.
9924 * sysdeps/ia64/backtrace.c: Likewise.
9925 * sysdeps/mips/backtrace.c: Likewise.
9926 * sysdeps/nios2/backtrace.c: Likewise.
9927 * sysdeps/riscv/backtrace.c: Likewise.
9928 * sysdeps/sh/backtrace.c: Likewise.
9929 * sysdeps/tile/backtrace.c: Likewise.
9930
9931 2018-03-20 Joseph Myers <joseph@codesourcery.com>
9932
9933 [BZ #22987]
9934 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
9935 function.
9936 (fdimf): Likewise.
9937 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
9938
9939 [BZ #17343]
9940 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
9941 possibly overflowing computations.
9942
9943 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
9944
9945 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
9946 values from Linux-specific section now that it is in the GNU section.
9947 * sysdeps/gnu/errlist.c: Regenerate.
9948
9949 2018-03-20 Joseph Myers <joseph@codesourcery.com>
9950
9951 * math/Makefile (libm-narrow-fns): Add sub.
9952 (libm-test-funcs-narrow): Likewise.
9953 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
9954 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
9955 * math/gen-auto-libm-tests.c (test_functions): Add sub.
9956 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
9957 (NARROW_SUB_ROUND_TO_ODD): Likewise.
9958 (NARROW_SUB_TRIVIAL): Likewise.
9959 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
9960 macro.
9961 (__dsubl): Likewise.
9962 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
9963 dsub.
9964 (CFLAGS-nldbl-dsub.c): New variable.
9965 (CFLAGS-nldbl-fsub.c): Likewise.
9966 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
9967 __nldbl_dsubl.
9968 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
9969 prototype.
9970 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
9971 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
9972 * math/auto-libm-test-in: Add tests of sub.
9973 * math/auto-libm-test-out-narrow-sub: New generated file.
9974 * math/libm-test-narrow-sub.inc: New file.
9975 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9976 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
9977 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
9978 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
9979 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
9980 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
9981 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
9982 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
9983 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
9984 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
9985 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
9986 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
9987 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
9988 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
9989 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
9990 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
9991 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
9992 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
9993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9994 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
9995 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9996 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9997 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9998 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9999 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10000 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10001 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10002 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10003 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10004 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10005 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10006 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10011 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10012 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10013 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10014 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10015 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10016 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10017 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
10018 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
10019 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10020 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10021
10022 2018-03-19 Joseph Myers <joseph@codesourcery.com>
10023
10024 [BZ #20079]
10025 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
10026
10027 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
10028
10029 * benchtests/bench-timing.h (attribute_hidden): Undefine.
10030
10031 2018-03-18 Richard Braun <rbraun@sceen.net>
10032
10033 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
10034 thread reference.
10035
10036 2018-03-18 Agustina Arzille <avarzille@riseup.net>
10037
10038 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
10039 (__libc_cleanup_fct): Define function.
10040 (__libc_cleanup_region_start, __libc_cleanup_region_end,
10041 __libc_cleanup_end): Rewrite implementation using
10042 __attribute__ ((__cleanup__)).
10043 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
10044 * hurd/Makefile (routines): Add hurdlock.
10045 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
10046 interface.
10047 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
10048 * hurd/hurdpid.c: Include <lowlevellock.h>
10049 (_S_msg_proc_newids): Use lll_wait to synchronize.
10050 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
10051 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
10052 * mach/Makefile (lock-headers): Remove machine-lock.h.
10053 * mach/lock-intern.h: Include <lowlevellock.h> instead of
10054 <machine-lock.h>.
10055 (__spin_lock_t): New type.
10056 (__SPIN_LOCK_INITIALIZER): New macro.
10057 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
10058 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
10059 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
10060 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
10061 (__mutex_init): Initialize with lll.
10062 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
10063 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
10064 needing lll.
10065 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10066 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
10067 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
10068 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
10069 (__setpgid): Use lll for synchronization.
10070 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
10071 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
10072 instead of <cthreads.h>.
10073 (_IO_lock_inexpensive): New macro
10074 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
10075 (__libc_lock_self0): New declaration.
10076 (__libc_lock_owner_self): New macro.
10077 (__libc_key_t): Remove type.
10078 (_LIBC_LOCK_INITIALIZER): New macro.
10079 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
10080 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
10081 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
10082 __libc_lock_define_initialized_recursive,
10083 __rtld_lock_define_initialized_recursive,
10084 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
10085 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
10086 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
10087 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
10088 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
10089 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
10090 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
10091 New macros.
10092 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
10093 * hurd/hurdlock.c: New file.
10094 * hurd/hurdlock.h: New file.
10095 * mach/lowlevellock.h: New file
10096
10097 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10098
10099 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
10100 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
10101 when opening a symlink with O_NOFOLLOW.
10102 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
10103 path when flags contains O_NOFOLLOW.
10104 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
10105 if flags contains O_DIRECTORY and the result is a directory.
10106 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
10107 oneself when the pointer given in D is nul (as set by ext2fs).
10108 * sysdeps/mach/hurd/mlockall.c: New file.
10109 * sysdeps/mach/hurd/munlockall.c: New file.
10110
10111 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
10112
10113 * hurd/hurdsig.c: Include <pthread.h>.
10114 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
10115 get the signal thread stack layout.
10116 * hurd/Makefile (headers): Remove threadvar.h.
10117 (inline-headers): Remove threadvar.h.
10118 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
10119 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
10120 __hurd_threadvar_max, __hurd_errno_location.
10121 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
10122 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
10123 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
10124 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
10125 unless TLS is not initialized yet, in which case we do not need a
10126 critical section yet anyway.
10127 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
10128 <machine-sp.h>.
10129 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
10130 declarations.
10131 (__hurd_threadvar_index): Remove enum.
10132 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
10133 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
10134 inlines.
10135 (__hurd_reply_port0): New variable declaration.
10136 (__hurd_local_reply_port): New macro.
10137 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
10138 (interrupted_reply_port_location): Add thread_t parameter. Use it
10139 with THREAD_TCB to access thread-local variables.
10140 (_hurdsig_abort_rpcs): Pass ss->thread to
10141 interrupted_reply_port_location.
10142 (_hurd_internal_post_signal): Likewise.
10143 (_hurdsig_init): Use presence of cthread_fork instead of
10144 __hurd_threadvar_stack_mask to start signal thread by hand.
10145 Remove signal thread threadvar initialization.
10146 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
10147 * hurd/sigunwind.c: Include <hurd/threadvar.h>
10148 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
10149 of threadvar.
10150 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
10151 __libc_lock_self0.
10152 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
10153 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
10154 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
10155 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
10156 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
10157 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
10158 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
10159 define variables.
10160 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
10161 <hurd/threadvar.h>.
10162 [IS_IN(rtld)] (rtld_errno): New variable.
10163 [IS_IN(rtld)] (__errno_location): New weak function.
10164 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
10165 * sysdeps/mach/hurd/errno.c: Remove file.
10166 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
10167 (__fork): Remove THREADVAR_SPACE macro and its use.
10168 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
10169 variable.
10170 (init): Do not initialize threadvar.
10171 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
10172 symbol.
10173 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
10174 __hurd_local_reply_port instead of threadvar.
10175 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
10176 _hurd_sigstate fields.
10177 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
10178 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
10179 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
10180 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
10181 instead of threadvar.
10182 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
10183 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
10184 (use_threadvar, global_reply_port): Remove variables.
10185 (__hurd_reply_port0): New variable.
10186 (__mig_get_reply_port): Use __hurd_local_reply_port and
10187 __hurd_reply_port0 instead of threadvar.
10188 (__mig_dealloc_reply_port): Likewise.
10189 (__mig_init): Do not initialize threadvar.
10190 * sysdeps/mach/hurd/profil.c: Fix comment.
10191 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
10192 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
10193 cthread_keycreate, cthread_getspecific, cthread_setspecific to
10194 __cthread_fork, __cthread_detach, __pthread_getattr_np,
10195 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
10196 __cthread_setspecific.
10197 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
10198 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
10199 __cthread_t instead of cthread_fork, cthread_detach,
10200 pthread_getattr_np, pthread_attr_getstack.
10201 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
10202 __cthread_keycreate.
10203 (cthread_getspecific): Rename to __cthread_getspecific.
10204 (cthread_setspecific): Rename to __cthread_setspecific.
10205 (__libc_getspecific): Use __cthread_getspecific instead of
10206 cthread_getspecific.
10207 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
10208 __cthread_keycreate instead of cthread_keycreate.
10209 (__libc_setspecific): Use __cthread_setspecific instead of
10210 cthread_setspecific.
10211 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
10212 Likewise.
10213 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
10214 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
10215 testing whether it is defined.
10216
10217 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10218
10219 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
10220 Define macro.
10221 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
10222 * sysdeps/mach/i386/thread_state.h
10223 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
10224 i386_THREAD_STATE.
10225 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
10226 i386_THREAD_STATE.
10227 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
10228
10229 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
10230 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
10231
10232 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
10233 macros.
10234 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
10235 descriptor instead of creating a new one.
10236 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
10237
10238 * mach/setup-thread.c: Include <ldsodefs.h>.
10239 (__mach_setup_thread): Call _dl_allocate_tls, pass
10240 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
10241 MACHINE_THREAD_STATE_FLAVOR, before getting
10242 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
10243 MACHINE_THREAD_STATE_FLAVOR with the result.
10244 * hurd/hurdfault.c (_hurdsig_fault_init): Call
10245 MACHINE_THREAD_STATE_FIX_NEW.
10246 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
10247 too. Add original thread parameter.
10248
10249 2018-03-16 Joseph Myers <joseph@codesourcery.com>
10250
10251 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
10252 Remove inline function.
10253
10254 * sysdeps/i386/fpu/libm-test-ulps: Update.
10255 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10256
10257 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
10258
10259 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
10260 commit.
10261
10262 2018-03-15 Joseph Myers <joseph@codesourcery.com>
10263
10264 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
10265 (__sincos_code): Remove define and undefine.
10266 [__FAST_MATH__] (__sincos): Remove inline function.
10267 [__FAST_MATH__] (__sincosf): Remove inline function.
10268 [__FAST_MATH__] (__sincosl): Remove inline function.
10269 (__atan2l): Remove inline functions.
10270 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
10271 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
10272 function.
10273 (floor): Remove inline function.
10274 (ceil): Likewise.
10275 [__FAST_MATH__] (__ldexp_code): Remove macro.
10276 [__FAST_MATH__] (ldexp): Remove inline function.
10277 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
10278 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
10279 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
10280 [__USE_ISOC99] (__lrint_code): Remove macro.
10281 [__USE_ISOC99] (__llrint_code): Likewise.
10282 [__USE_ISOC99] (lrintf): Remove inline function.
10283 [__USE_ISOC99] (lrint): Likewise.
10284 [__USE_ISOC99] (lrintl): Likewise.
10285 [__USE_ISOC99] (llrint): Likewise.
10286 [__USE_ISOC99] (llrintf): Likewise.
10287 [__USE_ISOC99] (llrintl): Likewise.
10288
10289 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
10290
10291 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
10292 (__ieee754_sqrtf): Remove.
10293 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
10294 (__ieee754_sqrtf): Remove.
10295 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
10296 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
10297 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
10298 (__ieee754_sqrtf): Remove.
10299 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
10300 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
10301 (sqrtf): Remove.
10302 (sqrtl): Remove.
10303 (__ieee754_sqrt): Remove.
10304 (__ieee754_sqrtf): Remove.
10305 (__ieee754_sqrtl): Remove.
10306 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
10307 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
10308 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
10309 (__ieee754_sqrtf): Remove.
10310 (__ieee754_sqrtl): Remove.
10311
10312 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
10313
10314 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
10315 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
10316 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10317 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
10318 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
10319 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10320 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10321 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10322 Likewise.
10323 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
10324 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
10325 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
10326 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10327 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
10328 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
10329 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
10330 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
10331 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10332 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
10333 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
10334 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
10335 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
10336 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
10337 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
10338 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10339 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10340 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10341 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
10342 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
10343 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10344 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10345 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
10346 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
10347 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
10348 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
10349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10350 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10351 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
10352 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
10353 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10354 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
10355 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10356 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
10357 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10358 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10359 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
10360 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
10361 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
10362 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
10363
10364 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
10365
10366 * include/math.h (sqrt): Declare with asm redirect.
10367 (sqrtf): Likewise.
10368 (sqrtl): Likewise.
10369 (sqrtf128): Likewise.
10370 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
10371 nonlib and libnldbl with -fmath-errno.
10372 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
10373 * math/w_sqrt_template.c: Likewise.
10374 * math/w_sqrtf_compat.c: Likewise.
10375 * math/w_sqrtl_compat.c: Likewise.
10376 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
10377 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
10378 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
10379 complex.h.
10380
10381 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
10382
10383 * benchtests/Makefile: Define _ISOMAC.
10384 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
10385 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
10386 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
10387 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
10388 * benchtests/bench-timing.h: Define attribute_hidden.
10389
10390 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10391
10392 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
10393 mov + lsr.
10394
10395 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
10396
10397 [BZ #22963]
10398 * localedata/locales/cs_CZ (mon): Rename to...
10399 (alt_mon): This.
10400 (mon): Import from CLDR (genitive case).
10401
10402 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
10403
10404 [BZ #22937]
10405 * localedata/locales/el_CY (abmon): Rename to...
10406 (ab_alt_mon): This.
10407 (abmon): Import from CLDR (abbreviated genitive case).
10408 * localedata/locales/el_GR (abmon): Rename to...
10409 (ab_alt_mon): This.
10410 (abmon): Import from CLDR (abbreviated genitive case).
10411
10412 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
10413
10414 [BZ #22932]
10415 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
10416
10417 2018-03-15 Robert Buj <robert.buj@gmail.com>
10418
10419 [BZ #22848]
10420 * localedata/locales/ca_ES (abmon): Rename to...
10421 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
10422 (mon): Rename to...
10423 (alt_mon): This.
10424 (abmon): Import from CLDR (genitive case, month names preceded by
10425 "de" or "d’").
10426 (mon): Likewise.
10427 (abday): Synchronize with CLDR.
10428 (d_t_fmt): Likewise.
10429 (d_fmt): Likewise.
10430 (am_pm): Likewise.
10431
10432 (LC_TIME): Improve indentation.
10433 (LC_TELEPHONE): Likewise.
10434 (LC_NAME): Likewise.
10435 (LC_ADDRESS): Likewise.
10436
10437 2018-03-14 Joseph Myers <joseph@codesourcery.com>
10438
10439 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
10440 (lrintf): Remove definitions used only with old GCC.
10441 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
10442 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
10443 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
10444 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
10445 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
10446 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
10447 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
10448 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
10449 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
10450 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
10451 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
10452 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
10453 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
10454 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
10455 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
10456 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
10457 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
10458 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
10459 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
10460 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
10461 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
10462 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
10463 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
10464 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
10465 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
10466 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
10467 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
10468 [__FAST_MATH__] (__M_SQRT2): Remove macro.
10469
10470 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
10471
10472 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
10473 instruction to unbreak builds with binutils 2.26 and older.
10474
10475 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
10476
10477 * sysdeps/aarch64/strncmp.S (count): New macro.
10478 (strncmp): Store misaligned length in SRC1 in COUNT.
10479 (mutual_align): Adjust.
10480 (misaligned8): Load dword at a time when it is safe.
10481
10482 2018-03-12 Zack Weinberg <zackw@panix.com>
10483
10484 [BZ #1190]
10485 [BZ #19476]
10486 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
10487 if the _IO_EOF_SEEN bit is already set; update commentary.
10488 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
10489 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10490
10491 * support/support_openpty.c, support/tty.h: New files.
10492 * support/Makefile (libsupport-routines): Add support_openpty.
10493
10494 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
10495 New test cases.
10496 * libio/Makefile (tests): Add tst-fgetc-after-eof.
10497 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
10498
10499 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
10500
10501 * po/pt_BR.po: Update translations.
10502
10503 2018-03-12 David Michael <fedora.dm0@gmail.com>
10504
10505 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
10506 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
10507 get a port to the startup server.
10508
10509 2018-03-11 Zack Weinberg <zackw@panix.com>
10510
10511 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
10512 before nldbl-compat.h.
10513
10514 2018-03-10 Zack Weinberg <zackw@panix.com>
10515
10516 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
10517 math.h or math_private.h.
10518
10519 * sysdeps/alpha/fpu/s_isnan.c
10520 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
10521 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
10522 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
10523 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
10524 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
10525 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
10526 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
10527 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
10528 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
10529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
10530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
10531 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
10532 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
10533 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
10534 Include math_private.h.
10535
10536 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
10537 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
10538 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
10539 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
10540 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
10541 * sysdeps/powerpc/power7/fpu/s_logb.c:
10542 Include math.h and math_private.h.
10543
10544 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
10545 uses of $at in .set noat / .set at.
10546
10547 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
10548
10549 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
10550 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
10551 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
10552 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
10553 Likewise.
10554
10555 2018-03-09 Florian Weimer <fweimer@redhat.com>
10556
10557 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
10558 in comment.
10559
10560 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
10561
10562 [BZ #22919]
10563 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
10564 Add nop before __startcontext, add explaining comments.
10565
10566 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10567
10568 [BZ #22926]
10569 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
10570 empty for __SPE__.
10571 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
10572 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
10573 Do not build hardware transactional code for __SPE__.
10574 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10575 (__lll_trylock_elision): Likewise.
10576 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10577 (__lll_unlock_elision): Likewise.
10578
10579 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
10580 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
10581 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
10582 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
10583 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
10584 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
10585 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
10586 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
10587 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
10588 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
10589 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
10590 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
10591 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
10592 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
10593 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
10594 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
10595 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
10596 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
10597 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
10598 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
10599 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
10600 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10601 (__ASSUME_CLONE_BACKWARDS): Define.
10602 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
10603 __clone2 if __NR_clone2 is defined.
10604 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10605 (__ASSUME_CLONE_BACKWARDS): Likewise.
10606 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10607 (__ASSUME_CLONE_BACKWARDS): Likewise.
10608 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10609 (__ASSUME_CLONE2): Likewise.
10610 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10611 (__ASSUME_CLONE_BACKWARDS3): Likewise.
10612 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
10613 variants and the define architecture can use.
10614 (__ASSUME_CLONE_DEFAULT): Define as default.
10615 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10616 (__ASSUME_CLONE_BACKWARDS): Likewise.
10617 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10618 (__ASSUME_CLONE_BACKWARDS): Likewise.
10619 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10620 (__ASSUME_CLONE_BACKWARDS2): Likewise.
10621
10622 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
10623
10624 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
10625
10626 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
10627 time.
10628
10629 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
10630 (do_test_limit): Likewise.
10631
10632 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
10633 for every implementation.
10634 (do_test): Likewise.
10635
10636 * benchtests/bench-strncmp.c: Convert output to json.
10637
10638 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10639
10640 * io/futimens.c: Add missing start-of-file descriptive comment.
10641 * io/utime.c: Likewise.
10642 * misc/futimesat.c: Likewise.
10643 * misc/utimes.c: Likewise.
10644 * sysdeps/mach/hurd/futimesat.c: Likewise.
10645 * sysdeps/mach/hurd/utimes.c: Likewise.
10646 * sysdeps/posix/utime.c: Likewise.
10647 * sysdeps/posix/utimes.c: Likewise.
10648 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
10649 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10650 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
10651 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
10652
10653 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
10654
10655 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
10656 hurd_futimes.
10657 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
10658 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
10659 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
10660 (__futimens): Move implementation to...
10661 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
10662 utime_tvalue_from_tspec): ... new helper functions.
10663 (hurd_futimens): New function.
10664 * sysdeps/mach/hurd/futimesat.c: New file.
10665 * sysdeps/mach/hurd/utimensat.c: New file.
10666
10667 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
10668
10669 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
10670 UTIME_OMIT): New macros.
10671 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
10672 before reverting to converting time spec to time value and calling
10673 __file_utimes.
10674 * sysdeps/mach/hurd/utime-helper.c: New file.
10675 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
10676 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
10677 reverting to utime_tvalue_from_tval and __file_utimes.
10678 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
10679 (__lutimes): Just call hurd_futimens after lookup.
10680 * sysdeps/mach/hurd/utimes.c: Likewise.
10681
10682 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
10683
10684 * bits/sigaction.h: Add include guard.
10685 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
10686 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
10687 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
10688 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
10689 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
10690 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
10691 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
10692 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
10693 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
10694
10695 2018-03-05 Joseph Myers <joseph@codesourcery.com>
10696
10697 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
10698 -Wmaybe-uninitialized for -Os.
10699 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
10700 this disabling.
10701
10702 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10703
10704 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
10705 __INO_T_MATCHES_INO64_T is defined.
10706 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
10707 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
10708 of definition.
10709 * dirent/alphasort64.c: Likewise.
10710 * dirent/scandir.c: Likewise.
10711 * dirent/scandir64-tail.c: Likewise.
10712 * dirent/scandir64.c: Likewise.
10713 * dirent/scandirat.c: Likewise.
10714 * dirent/scandirat64.c: Likewise.
10715 * dirent/versionsort.c: Likewise.
10716 * dirent/versionsort64.c: Likewise.
10717 * include/dirent.h: Likewise.
10718
10719 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
10720 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
10721 for socketpair endpoint.
10722 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
10723 WRITE_BUFFER_SIZE as buffer size for sending socket.
10724 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
10725 issue on system where send is implemented with sendto syscall.
10726 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
10727 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
10728 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
10729 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
10730
10731 [BZ #21269]
10732 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
10733 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
10734 sa_restorer for vDSO case.
10735 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
10736
10737 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10738
10739 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
10740 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
10741 * hurd/hurd/ioctl.h: Include <mach/port.h>
10742 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
10743 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
10744 <mach/mach_types.h> and <mach/message.h>.
10745 (headers): Move mach/param.h to bits/mach/param.h.
10746 * sysdeps/mach/i386/mach/param.h: Move file to ...
10747 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
10748 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
10749 of <mach/param.h>.
10750 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
10751 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
10752 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
10753 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
10754 trivial, for C++ conformity.
10755 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
10756 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
10757 Process mig output through $(migheadersed).
10758 * hurd/Makefile (migheadersed): Define variable.
10759 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
10760 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
10761 headers.
10762 * hurd/hurd.h: Include <bits/types/sigset_t.h>
10763 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
10764 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
10765 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
10766 <bits/types/sigset_t.h>.
10767 [!defined __USE_GNU]: Do not #error out.
10768 (struct hurd_sigstate): Use _NSIG instead of NSIG.
10769 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
10770 Include <stddef.h> and <bits/types/sigset_t.h>
10771 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
10772 instead of sighandler_t.
10773 * stdlib/errno.h (error_t): Move definition to...
10774 * bits/types/error_t.h: ... new header.
10775 * stdlib/Makefile (headers): Add bits/types/error_t.h.
10776 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
10777 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
10778 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
10779 * hurd/hurd.h: Include <bits/types/error_t.h>
10780 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
10781 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
10782 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
10783 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
10784 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
10785 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
10786 * sysdeps/mach/hurd/futimens.c: New file.
10787
10788 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
10789
10790 [BZ #22918]
10791 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
10792 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
10793 * nscd/gai.c (__nss_hosts_database): Readd definition.
10794 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
10795 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
10796 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
10797
10798 2018-03-02 Joseph Myers <joseph@codesourcery.com>
10799
10800 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
10801 (ifunc_one): Likewise.
10802
10803 2018-03-01 DJ Delorie <dj@delorie.com>
10804
10805 [BZ #22342]
10806 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
10807 key value.
10808
10809 2018-03-01 Maciej W. Rozycki <macro@mips.com>
10810
10811 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
10812 `match_pid' parameter.
10813 (td_ta_thr_iter): Update accordingly.
10814
10815 2018-03-01 Florian Weimer <fweimer@redhat.com>
10816
10817 * nptl/Makefile (install-lib-ldscripts): Remove.
10818 (install): Remove rule.
10819 ($(inst_libdir)/libpthread.so): Likewise.
10820
10821 2018-03-01 Mike FABIAN <mfabian@redhat.com>
10822
10823 [BZ #22896]
10824 * localedata/locales/an_ES: update month and day names,
10825 improve d_fmt, improve postal_fmt, add country_post,
10826 add country_isbn
10827
10828 2018-03-01 Mike FABIAN <mfabian@redhat.com>
10829
10830 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
10831 Ukrainian instead of Bulgarian.
10832
10833 2018-03-01 Florian Weimer <fweimer@redhat.com>
10834
10835 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
10836 reference.
10837
10838 2018-03-01 Florian Weimer <fweimer@redhat.com>
10839
10840 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
10841 * nptl/Makefile (routines): Add pthread_atfork.
10842 (static-only-routines): Set to pthread_atfork.
10843 (libpthread-routines): Remove pthread_atfork.
10844 (libpthread-static-only-routines): Remove.
10845 (install): Update comment.
10846 (libpthread.so): Do not install libpthread_nonshared.a.
10847 (tests): Do not link with libpthread_nonshared.a.
10848 (generated): Remove libpthread_nonshared.a.
10849 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
10850 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
10851 with libpthread_nonshared.a.
10852
10853 2018-02-28 Joseph Myers <joseph@codesourcery.com>
10854
10855 [BZ #22902]
10856 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
10857 (libc_feholdexcept_setroundf128): New macro.
10858 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
10859
10860 [BZ #15105]
10861 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
10862 libc_hidden_def.
10863 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
10864 * include/inttypes.h: New file.
10865
10866 2018-02-27 Joseph Myers <joseph@codesourcery.com>
10867
10868 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
10869 -Os in two more places.
10870
10871 2018-02-27 Mike FABIAN <mfabian@redhat.com>
10872
10873 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
10874 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
10875 be sorted correctly at the moment because of a bug.
10876
10877 2018-02-27 Mike FABIAN <mfabian@redhat.com>
10878
10879 [BZ #22550] - es_ES locale (and other es_* locales): collation should
10880 treat ñ as a primary different character, sync the collation
10881 for Spanish with CLDR.
10882 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
10883 * localedata/Makefile: Add new test files.
10884 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
10885 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
10886 collation order.
10887 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
10888 * localedata/am_ET.UTF-8.in: New test file.
10889 * localedata/az_AZ.UTF-8.in: Likewise.
10890 * localedata/be_BY.UTF-8.in: Likewise.
10891 * localedata/ber_DZ.UTF-8.in: Likewise.
10892 * localedata/ber_MA.UTF-8.in: Likewise.
10893 * localedata/bg_BG.UTF-8.in: Likewise.
10894 * localedata/br_FR.UTF-8.in: Likewise.
10895 * localedata/cmn_TW.UTF-8.in: Likewise.
10896 * localedata/crh_UA.UTF-8.in: Likewise.
10897 * localedata/csb_PL.UTF-8.in: Likewise.
10898 * localedata/cv_RU.UTF-8.in: Likewise.
10899 * localedata/cy_GB.UTF-8.in: Likewise.
10900 * localedata/dz_BT.UTF-8.in: Likewise.
10901 * localedata/eo.UTF-8.in: Likewise.
10902 * localedata/es_ES.UTF-8.in: Likewise.
10903 * localedata/fa_IR.UTF-8.in: Likewise.
10904 * localedata/fi_FI.UTF-8.in: Likewise.
10905 * localedata/fil_PH.UTF-8.in: Likewise.
10906 * localedata/fur_IT.UTF-8.in: Likewise.
10907 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
10908 * localedata/ha_NG.UTF-8.in: Likewise.
10909 * localedata/ig_NG.UTF-8.in: Likewise.
10910 * localedata/ik_CA.UTF-8.in: Likewise.
10911 * localedata/kk_KZ.UTF-8.in: Likewise.
10912 * localedata/ku_TR.UTF-8.in: Likewise.
10913 * localedata/ky_KG.UTF-8.in: Likewise.
10914 * localedata/ln_CD.UTF-8.in: Likewise.
10915 * localedata/mi_NZ.UTF-8.in: Likewise.
10916 * localedata/ml_IN.UTF-8.in: Likewise.
10917 * localedata/mn_MN.UTF-8.in: Likewise.
10918 * localedata/mr_IN.UTF-8.in: Likewise.
10919 * localedata/mt_MT.UTF-8.in: Likewise.
10920 * localedata/nb_NO.UTF-8.in: Likewise.
10921 * localedata/om_KE.UTF-8.in: Likewise.
10922 * localedata/os_RU.UTF-8.in: Likewise.
10923 * localedata/ps_AF.UTF-8.in: Likewise.
10924 * localedata/ro_RO.UTF-8.in: Likewise.
10925 * localedata/ru_RU.UTF-8.in: Likewise.
10926 * localedata/sc_IT.UTF-8.in: Likewise.
10927 * localedata/se_NO.UTF-8.in: Likewise.
10928 * localedata/sq_AL.UTF-8.in: Likewise.
10929 * localedata/sv_SE.UTF-8.in: Likewise.
10930 * localedata/szl_PL.UTF-8.in: Likewise.
10931 * localedata/tg_TJ.UTF-8.in: Likewise.
10932 * localedata/tk_TM.UTF-8.in: Likewise.
10933 * localedata/tt_RU.UTF-8.in: Likewise.
10934 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
10935 * localedata/ug_CN.UTF-8.in: Likewise.
10936 * localedata/uz_UZ.UTF-8.in: Likewise.
10937 * localedata/vi_VN.UTF-8.in: Likewise.
10938 * localedata/yi_US.UTF-8.in: Likewise.
10939 * localedata/yo_NG.UTF-8.in: Likewise.
10940 * localedata/zh_CN.UTF-8.in: Likewise.
10941 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
10942 file and fix bugs in the collation.
10943 * localedata/locales/az_AZ: Likewise.
10944 * localedata/locales/be_BY: Likewise.
10945 * localedata/locales/ber_DZ: Likewise.
10946 * localedata/locales/ber_MA: Likewise.
10947 * localedata/locales/bg_BG: Likewise.
10948 * localedata/locales/br_FR: Likewise.
10949 * localedata/locales/br_FR@euro: Likewise.
10950 * localedata/locales/ca_ES: Likewise.
10951 * localedata/locales/cns11643_stroke: Likewise.
10952 * localedata/locales/crh_UA: Likewise.
10953 * localedata/locales/cs_CZ: Likewise.
10954 * localedata/locales/csb_PL: Likewise.
10955 * localedata/locales/cv_RU: Likewise.
10956 * localedata/locales/cy_GB: Likewise.
10957 * localedata/locales/da_DK: Likewise.
10958 * localedata/locales/dz_BT: Likewise.
10959 * localedata/locales/en_CA: Likewise.
10960 * localedata/locales/eo: Likewise.
10961 * localedata/locales/es_CU: Likewise.
10962 * localedata/locales/es_EC: Likewise.
10963 * localedata/locales/es_ES: Likewise.
10964 * localedata/locales/es_US: Likewise.
10965 * localedata/locales/et_EE: Likewise.
10966 * localedata/locales/fa_IR: Likewise.
10967 * localedata/locales/fi_FI: Likewise.
10968 * localedata/locales/fil_PH: Likewise.
10969 * localedata/locales/fur_IT: Likewise.
10970 * localedata/locales/gez_ER@abegede: Likewise.
10971 * localedata/locales/ha_NG: Likewise.
10972 * localedata/locales/hr_HR: Likewise.
10973 * localedata/locales/hsb_DE: Likewise.
10974 * localedata/locales/hu_HU: Likewise.
10975 * localedata/locales/ig_NG: Likewise.
10976 * localedata/locales/ik_CA: Likewise.
10977 * localedata/locales/is_IS: Likewise.
10978 * localedata/locales/iso14651_t1_pinyin: Likewise.
10979 * localedata/locales/kk_KZ: Likewise.
10980 * localedata/locales/ku_TR: Likewise.
10981 * localedata/locales/ky_KG: Likewise.
10982 * localedata/locales/ln_CD: Likewise.
10983 * localedata/locales/lt_LT: Likewise.
10984 * localedata/locales/lv_LV: Likewise.
10985 * localedata/locales/mi_NZ: Likewise.
10986 * localedata/locales/ml_IN: Likewise.
10987 * localedata/locales/mn_MN: Likewise.
10988 * localedata/locales/mr_IN: Likewise.
10989 * localedata/locales/mt_MT: Likewise.
10990 * localedata/locales/nb_NO: Likewise.
10991 * localedata/locales/om_KE: Likewise.
10992 * localedata/locales/os_RU: Likewise.
10993 * localedata/locales/pl_PL: Likewise.
10994 * localedata/locales/ps_AF: Likewise.
10995 * localedata/locales/ro_RO: Likewise.
10996 * localedata/locales/ru_RU: Likewise.
10997 * localedata/locales/ru_UA: Likewise.
10998 * localedata/locales/sc_IT: Likewise.
10999 * localedata/locales/se_NO: Likewise.
11000 * localedata/locales/si_LK: Likewise.
11001 * localedata/locales/sq_AL: Likewise.
11002 * localedata/locales/sv_FI: Likewise.
11003 * localedata/locales/sv_FI@euro: Likewise.
11004 * localedata/locales/sv_SE: Likewise.
11005 * localedata/locales/szl_PL: Likewise.
11006 * localedata/locales/tg_TJ: Likewise.
11007 * localedata/locales/ti_ER: Likewise.
11008 * localedata/locales/tk_TM: Likewise.
11009 * localedata/locales/tl_PH: Likewise.
11010 * localedata/locales/tr_TR: Likewise.
11011 * localedata/locales/tt_RU: Likewise.
11012 * localedata/locales/tt_RU@iqtelif: Likewise.
11013 * localedata/locales/ug_CN: Likewise.
11014 * localedata/locales/uk_UA: Likewise.
11015 * localedata/locales/uz_UZ: Likewise.
11016 * localedata/locales/uz_UZ@cyrillic: Likewise.
11017 * localedata/locales/vi_VN: Likewise.
11018 * localedata/locales/yi_US: Likewise.
11019 * localedata/locales/yo_NG: Likewise.
11020
11021 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11022
11023 * gen-locales.mk: Make test files which contain @ modifiers in their
11024 name work.
11025 * localedata/gen-locale.sh: Likewise.
11026
11027 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11028
11029 * posix/tst-fnmatch.input: Fix results for range expressions
11030 for non C locales.
11031 * posix/tst-regexloc.c: Do not use a range expression for
11032 de_DE.ISO-8859-1 locale.
11033
11034 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11035
11036 * posix/bug-regex5.c: Fix test case because with the new
11037 iso14651_t1_common file, the da_DK locale now has 6 collating elements
11038 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
11039 file.
11040
11041 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11042
11043 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
11044 downloaded from ISO, the collation order of @-. and space has changed.
11045 Therefore, this test file needed to be adapted.
11046 * localedata/fr_CA.UTF-8.in: Likewise.
11047 * localedata/fr_FR.UTF-8.in: Likewise.
11048 * localedata/uk_UA.UTF-8.in: Likewise.
11049
11050 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11051
11052 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
11053 order of ȥ in the new iso14651_t1_common file.
11054 * localedata/pl_PL.UTF-8.in: Likewise.
11055
11056 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11057
11058 * localedata/locales/iso14651_t1_common: Add sections for various
11059 scripts to the iso14651_t1_common file.
11060
11061 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11062
11063 * localedata/locales/iso14651_t1_common: Use the code point of a
11064 character in the fourth collation level instead of IGNORE for all
11065 entries which have IGNORE on all 4 levels.
11066
11067 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11068
11069 * localedata/locales/iso14651_t1_common: Add some convenient collation
11070 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
11071 rules similar to those in CLDR.
11072
11073 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11074
11075 * localedata/locales/iso14651_t1_common: The new version of this
11076 file downloaded from ISO contained several syntax errors which
11077 are fixed by this patch.
11078
11079 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11080
11081 * localedata/locales/iso14651_t1_common: replace all <U.....>
11082 with <U000.....> because glibc understands only 4 digit or 8 digit
11083
11084 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11085
11086 * localedata/locales/iso14651_t1_common: Necessary changes
11087 to make the file downloaded from ISO usable by glibc.
11088
11089 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11090
11091 [BZ #14095]
11092 * localedata/locales/iso14651_t1_common: Update file to
11093 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
11094
11095 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11096
11097 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
11098 of <nptl/pthreadP.h>
11099 (thread_attr_compare): Move function to...
11100 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
11101 * sysdeps/nptl/timer_routines.h: ... new header.
11102 * sysdeps/mach/hurd/gai_misc.h: New file.
11103
11104 2018-02-26 Joseph Myers <joseph@codesourcery.com>
11105
11106 * string/strcoll_l.c: Include <libc-diag.h>.
11107 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
11108 declarations of seq1 and seq2.
11109
11110 [BZ #15105]
11111 * stdlib/atoi.c (atoi): Use libc_hidden_def.
11112 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
11113
11114 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
11115
11116 [BZ #22433]
11117 [BZ #22807]
11118 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
11119 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
11120 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
11121 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
11122 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
11123 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
11124
11125 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11126
11127 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
11128 macros used in __ptrace_request.
11129
11130 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
11131
11132 [BZ #22792]
11133 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
11134 to $(CC).
11135 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
11136 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
11137 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
11138 <tcb-offsets.h>.
11139
11140 2018-02-23 Joseph Myers <joseph@codesourcery.com>
11141
11142 [BZ #15105]
11143 * ctype/ctype.c (tolower): Use libc_hidden_def.
11144 (toupper): Likewise.
11145 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
11146 [!_ISOMAC] (toupper): Likewise.
11147
11148 2018-02-23 Mike FABIAN <mfabian@redhat.com>
11149
11150 * localedata/Makefile: Remove --quiet argument when
11151 installing locales
11152
11153 2018-02-23 Mike FABIAN <mfabian@redhat.com>
11154
11155 [BZ #17438]
11156 * localedata/locales/pt_BR (LC_TIME): use / instead of -
11157 in d_fmt.
11158 * localedata/locales/pt_PT (LC_TIME): likewise
11159
11160 2018-02-23 Mike FABIAN <mfabian@redhat.com>
11161
11162 [BZ #22646]
11163 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
11164 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
11165 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
11166
11167 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11168
11169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11170
11171 * nptl/Makefile (routines): Remove unregister-atfork.
11172 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
11173 (fork_handler_alloc): Remove function.
11174 (fork_handlers, fork_handler_init): New variables.
11175 (__fork_lock): Rename to atfork_lock.
11176 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
11177 to use a dynamic array to add/remove atfork handlers.
11178 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11179 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
11180 Remove declaration.
11181 (fork_handler): Remove next, refcntr, and need_signal member.
11182 (__run_fork_handler_type): New enum.
11183 (__run_fork_handlers): New prototype.
11184 * nptl/register-atfork.c: Remove file.
11185 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
11186
11187 * sysdeps/nptl/nptl-signals.h: Move to ...
11188 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
11189 comments.
11190 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
11191 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
11192 unnecessary check for SIGTIMER.
11193 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
11194 remove unnecessary removal of SIGTIMER.
11195 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
11196 include-signals.h rename.
11197 * nptl/pthreadP.h: Likewise.
11198 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
11199 __is_internal_signal instead of __nptl_is_internal_signal.
11200
11201 2018-02-22 Andrew Waterman <andrew@sifive.com>
11202
11203 [BZ # 22884]
11204 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
11205 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
11206 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
11207 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
11208
11209 2018-02-22 DJ Delorie <dj@delorie.com>
11210
11211 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
11212
11213 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
11214
11215 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
11216 do_misaligned, not misaligned8.
11217
11218 2018-02-22 Steve Ellcey <sellcey@cavium.com>
11219
11220 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
11221 Add memcpy_thunderx2.
11222 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
11223 Increment to 4.
11224 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
11225 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
11226 and IS_THUNDERX2PA checks.
11227 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
11228 Use macro to set name appropriately.
11229 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
11230 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
11231 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
11232 New macro.
11233 (IS_THUNDERX2): New macro.
11234
11235 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
11236
11237 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11238
11239 2018-02-21 Zack Weinberg <zackw@panix.com>
11240
11241 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
11242 Define here, unconditionally.
11243 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
11244 * libio/libioP.h: Remove #if 0 blocks.
11245 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
11246 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
11247 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
11248
11249 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
11250 Assume weak_alias is always defined.
11251
11252 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
11253 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
11254 Remove #if 0 and #ifdef TODO blocks.
11255 Assume text_set_element is always defined.
11256
11257 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
11258 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
11259 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
11260
11261 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
11262 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
11263 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
11264 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
11265 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
11266 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
11267 Reformat bit flags for _flags field to make occupancy clearer.
11268 Update commentary.
11269 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
11270 Keep definitions consistent with those in libio/libio.h.
11271
11272 * libio/libio.h (_IO_file_flags): Remove macro.
11273 All uses changed to _flags.
11274
11275 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
11276 (__HAVE_COLUMN, _IO_BE): Don't define.
11277 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
11278 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
11279 * libio/libioP.h (EOF): Don't define.
11280 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
11281 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
11282 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
11283 testing _IO_UNIFIED_JUMPTABLES.
11284
11285 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
11286 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
11287 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
11288 (_IO_size_t): Delete; all uses changed to size_t.
11289 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
11290 (_IO_off_t): Delete; all uses changed to off_t.
11291 (_IO_off64_t): Delete; all uses changed to off64_t.
11292 (_IO_pid_t): Delete; all uses changed to pid_t.
11293 (_IO_uid_t): Delete; all uses changed to uid_t.
11294 (_IO_wint_t): Delete; all uses changed to wint_t.
11295 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
11296 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
11297 (_IO_cookie_io_functions_t): Delete; all uses changed to
11298 cookie_io_functions_t.
11299 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
11300 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
11301 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
11302 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
11303
11304 * libio/iofopncook.c: Remove unnecessary forward declarations.
11305 * libio/iolibio.h: Correct outdated commentary.
11306 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
11307 * stdio-common/fxprintf.c (__fxprintf_nocancel):
11308 Remove unnecessary casts.
11309 * stdio-common/getline.c: Use _IO_getdelim directly.
11310 Don't redefine ssize_t.
11311 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
11312 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
11313 Remove outdated comments.
11314 * stdio-common/vfscanf.c: Don't redefine va_list.
11315
11316 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
11317 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
11318 Remove preprocessor conditionals on _LIBC and __USE_GNU,
11319 which are always true, and __cplusplus, which is always false.
11320
11321 2018-02-21 Joseph Myers <joseph@codesourcery.com>
11322
11323 [BZ #15105]
11324 [BZ #19463]
11325 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
11326 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
11327 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
11328 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
11329 libc_hidden_proto.
11330 [!_ISOMAC] (putc_unlocked): Likewise.
11331 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
11332 define inline if [__USE_EXTERN_INLINES].
11333 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
11334 putc_unlocked.
11335
11336 [BZ #15105]
11337 [BZ #19463]
11338 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
11339 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
11340 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
11341 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
11342 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
11343 getc_unlocked.
11344 * time/tzfile.c (__tzfile_read): Likewise.
11345
11346 2018-02-21 Mike FABIAN <mfabian@redhat.com>
11347
11348 [BZ #22517]
11349 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
11350
11351 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
11352
11353 * io/fcntl.h: Fix a typo in a comment.
11354
11355 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
11356
11357 [BZ #22862]
11358 * include/features.h: Add _ISOC11_SOURCE to test for whether to
11359 define _DEFAULT_SOURCE.
11360 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
11361
11362 2018-02-21 Florian Weimer <fweimer@redhat.com>
11363
11364 [BZ #20890]
11365 * elf/cache.c (save_cache): Call fsync on temporary file before
11366 renaming it.
11367 (save_aux_cache): Call fdatasync on temporary file before renaming
11368 it.
11369
11370 2018-02-21 Florian Weimer <fweimer@redhat.com>
11371
11372 [BZ #22787]
11373 * include/caller.h: Remove file.
11374 * elf/dl-caller.c: Likewise.
11375 * elf/Makefile (dl-routines): Remove dl-caller.
11376 (shared-only-routines): Do not add dl-caller.
11377 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
11378 __check_caller.
11379 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
11380 member.
11381 (dl_open_worker): Do not call __check_caller.
11382 (_dl_open): Do not set caller_dl_open member.
11383 * elf/rtld.c (_rtld_global_ro): Do not initialize
11384 _dl_check_caller member.
11385 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
11386 _dl_check_caller member.
11387 (_dl_check_caller): Remove declaration.
11388 * sysdeps/unix/sysv/linux/dl-execstack.c
11389 (_dl_make_stack_executable): Do not call __check_caller.
11390
11391 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
11392
11393 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
11394 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
11395
11396 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
11397
11398 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
11399 description.
11400
11401 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
11402
11403 [BZ #16335]
11404 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
11405 of 199606L, 200112L, and 200809L.
11406 (_XOPEN_SOURCE): Document special values of 600 and 700.
11407 (_ISOC11_SOURCE): Document macro.
11408 (_ATFILE_SOURCE): Likewise.
11409 (_FORTIFY_SOURCE): Likewise.
11410
11411 2018-02-19 Joseph Myers <joseph@codesourcery.com>
11412
11413 [BZ #15105]
11414 [BZ #19463]
11415 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
11416 and define as weak alias of __ferror_unlocked. Use
11417 libc_hidden_weak.
11418 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
11419 libc_hidden_proto.
11420 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
11421 function if [__USE_EXTERN_INLINES].
11422 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
11423 ferror_unlocked.
11424
11425 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
11426
11427 [BZ #6889]
11428 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
11429
11430 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
11431
11432 [BZ #22818]
11433 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
11434 the GLIBC_2.1 version.
11435
11436 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
11437
11438 [BZ #21508]
11439 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
11440 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
11441 intl/tst-gettext-de.po from po/de.po by removing the
11442 POT-Creation-Date line.
11443 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
11444 ../po/de.po.
11445 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
11446 ../po/de.po.
11447
11448 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
11449
11450 * mach/Makefile (headers): Add mach/param.h.
11451 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
11452 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
11453 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
11454 (__ptsname_r): Move implementation to...
11455 (__ptsname_internal): ... new function. Add filling the STP
11456 structure.
11457
11458 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
11459
11460 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
11461 idouble to 1 ULP.
11462
11463 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
11464
11465 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
11466 syntax.
11467
11468 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11469
11470 * nptl/Makefile (tst-mutex8-ENV): Delete.
11471 * nptl/tst-mutex8.c (check_type):
11472 Add runtime check if mutex will be elided.
11473
11474 2018-02-15 Joseph Myers <joseph@codesourcery.com>
11475
11476 [BZ #20980]
11477 [BZ #21234]
11478 * manual/install.texi (Configuring and compiling): Describe
11479 passing CC and CFLAGS on configure command line, not as
11480 environment variables. Use @code markup on those variables.
11481 Specify what options go in CC and what go in CFLAGS. Note the
11482 requirement to compile with optimization.
11483 * INSTALL: Regenerated.
11484
11485 [BZ #18124]
11486 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
11487 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
11488 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
11489 __sigprocmask instead of sigprocmask.
11490 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
11491 Likewise.
11492 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
11493 __sigsetjmp and sigprocmask.
11494
11495 [BZ #15105]
11496 * include/argz.h (argz_next): Use libc_hidden_proto.
11497 (__argz_next): Likewise.
11498 * string-argz-next.c (__argz_next): Use libc_hidden_def.
11499 (argz_next): Use libc_hidden_weak.
11500
11501 [BZ #15105]
11502 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
11503 libc_hidden_proto.
11504 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
11505 libc_hidden_def.
11506
11507 [BZ #15105]
11508 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
11509 libc_hidden_proto.
11510 * libio/iofputs.c (fputs): Use libc_hidden_weak.
11511
11512 [BZ #15105]
11513 [BZ #19463]
11514 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
11515 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
11516 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
11517 (__feof_unlocked): New declaration, and inline function if
11518 [__USE_EXTERN_INLINES].
11519 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
11520 instead of feof_unlocked.
11521 * intl/localealias.c [_LIBC] (FEOF): Likewise.
11522 * nss/nsswitch.c (nss_parse_file): Likewise.
11523 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
11524 Likewise.
11525 * time/getdate.c (__getdate_r): Likewise.
11526 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
11527 Define as macro to call __feof_unlocked.
11528
11529 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
11530
11531 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
11532
11533 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
11534
11535 * math/Makefile: Remove mpexp.c and mplog.c
11536 * sysdeps/i386/fpu/mpexp.c: Delete file.
11537 * sysdeps/i386/fpu/mplog.c: Likewise.
11538 * sysdeps/ia64/fpu/mpexp.c: Likewise.
11539 * sysdeps/ia64/fpu/mplog.c: Likewise.
11540 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
11541 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
11542 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
11543 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11544 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
11545 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
11546 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
11547 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
11548 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
11549 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11550 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
11551 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
11552 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11553 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
11554 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
11555 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11556
11557 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
11558
11559 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11560
11561 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11562
11563 * sysdeps/sh/libm-test-ulps: Update.
11564
11565 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11566
11567 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
11568 idouble to 1 ULP.
11569
11570 2018-02-12 Zack Weinberg <zackw@panix.com>
11571
11572 [BZ #19239]
11573 * posix/sys/types.h: Don't include sys/sysmacros.h.
11574 * misc/sys/sysmacros.h: Remove the conditional deprecation
11575 warnings for the macros defined by this header.
11576
11577 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
11578
11579 * manual/probes.texi: Remove slowexp probes.
11580 * math/Makefile: Remove slowexp.
11581 * sysdeps/generic/math_private.h (__slowexp): Remove.
11582 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
11583 document error bounds.
11584 * sysdeps/i386/fpu/slowexp.c: Remove.
11585 * sysdeps/ia64/fpu/slowexp.c: Remove.
11586 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
11587 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
11588 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
11589 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
11590 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
11591 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
11592 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
11593 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
11594 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
11595 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
11596 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
11597
11598 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
11599
11600 [BZ #13932]
11601 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
11602 * benchtests/pow-inputs: Update comment for slow path cases.
11603 * manual/probes.texi (slowpow_p10): Delete removed probe.
11604 (slowpow_p10): Likewise.
11605 * math/Makefile: Remove halfulp.c and slowpow.c.
11606 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
11607 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
11608 (__halfulp): Remove.
11609 (__slowpow): Remove.
11610 * sysdeps/i386/fpu/halfulp.c: Delete file.
11611 * sysdeps/i386/fpu/slowpow.c: Likewise.
11612 * sysdeps/ia64/fpu/halfulp.c: Likewise.
11613 * sysdeps/ia64/fpu/slowpow.c: Likewise.
11614 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
11615 improve comments and add error analysis.
11616 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
11617 (power1): Remove function:
11618 (log1): Remove error argument, add error analysis.
11619 (my_log2): Remove function.
11620 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
11621 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11622 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
11623 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
11624 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
11625 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
11626 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
11627 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
11628 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
11629 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
11630 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
11631 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11632 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
11633 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11634
11635 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
11636
11637 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
11638 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
11639
11640 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
11641
11642 [BZ #22433]
11643 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
11644 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
11645 and PTRACE_SETHBPREGS.
11646
11647 2018-02-10 Zack Weinberg <zackw@panix.com>
11648
11649 [BZ #22830]
11650 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
11651 correctly.
11652 * malloc/tst-malloc-stats-cancellation.c: New test case.
11653 * malloc/Makefile: Add new test case.
11654
11655 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
11656
11657 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
11658
11659 2018-02-10 Joseph Myers <joseph@codesourcery.com>
11660
11661 * math/Makefile (libm-narrow-fns): Add add.
11662 (libm-test-funcs-narrow): Likewise.
11663 * math/Versions (GLIBC_2.28): Add narrowing add functions.
11664 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
11665 * math/gen-auto-libm-tests.c (test_functions): Add add.
11666 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
11667 (NARROW_ADD_ROUND_TO_ODD): Likewise.
11668 (NARROW_ADD_TRIVIAL): Likewise.
11669 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
11670 macro.
11671 (__daddl): Likewise.
11672 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
11673 dadd.
11674 (CFLAGS-nldbl-dadd.c): New variable.
11675 (CFLAGS-nldbl-fadd.c): Likewise.
11676 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11677 __nldbl_daddl.
11678 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
11679 prototype.
11680 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
11681 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
11682 * math/auto-libm-test-in: Add tests of add.
11683 * math/auto-libm-test-out-narrow-add: New generated file.
11684 * math/libm-test-narrow-add.inc: New file.
11685 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11686 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
11687 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
11688 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
11689 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
11690 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
11691 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
11692 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
11693 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
11694 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
11695 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
11696 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
11697 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
11698 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
11699 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
11700 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
11701 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
11702 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
11703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11704 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11705 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11706 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11707 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11708 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11709 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11710 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11711 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11712 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11713 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11714 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11715 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11716 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11721 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11722 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11723 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11724 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11725 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11726 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11727 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
11728 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
11729 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11730 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11731
11732 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
11733 (f128-pairs): New variable.
11734 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
11735 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
11736 to CFLAGS.
11737 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
11738 Also make tests add $(f128-loader-link) to gnulib-tests.
11739
11740 2018-02-09 DJ Delorie <dj@redhat.com>
11741
11742 [BZ #22827]
11743 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
11744 64-bit ELF type for 64-bit ELF objects.
11745
11746 2018-02-09 Joseph Myers <joseph@codesourcery.com>
11747
11748 * math/libm-test-driver.c (snan_tests_arg): New variable.
11749 * math/libm-test-support.h (snan_tests_arg): New declaration.
11750 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
11751
11752 * math/Makefile (test-type-pairs): New variable.
11753 (test-type-pairs-f64xf128-yes): Likewise.
11754 (tests): Add test-narrow-macros.
11755 (libm-test-funcs-narrow): New variable.
11756 (libm-test-c-narrow): Likewise.
11757 (generated): Add $(libm-test-c-narrow).
11758 (libm-tests-base-narrow): New variable.
11759 (libm-tests-narrow): Likewise.
11760 (libm-tests): Add $(libm-tests-narrow).
11761 (libm-tests-for-type): Handle $(libm-tests-narrow).
11762 (libm-test-c-narrow-obj): New variable.
11763 ($(libm-test-c-narrow-obj)): New rule.
11764 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
11765 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
11766 $(o-iterator) to set dependencies and CFLAGS.
11767 * math/gen-auto-libm-tests.c: Document use for narrowing
11768 functions.
11769 (output_for_one_input_case): Take argument NARROW.
11770 (generate_output): Likewise. Update call to
11771 output_for_one_input_case.
11772 (main): Take --narrow option. Update call to generate_output.
11773 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
11774 (apply_lit): Update call to _apply_lit.
11775 (apply_arglit): New function.
11776 (parse_args): Handle "a" arguments.
11777 (parse_auto_input): Handle format names using ":".
11778 * math/README.libm-test: Document "a" parameter type.
11779 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
11780 (ARG_TYPE_TRUE_MIN): Likewise.
11781 (ARG_TYPE_MAX): Likwise.
11782 (ARG_MIN_EXP): Likewise.
11783 (ARG_MAX_EXP): Likewise.
11784 (ARG_MANT_DIG): Likewise.
11785 (TEST_COND_arg_ibm128): Likewise.
11786 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
11787 (TEST_COND_arg_fmt): New macro.
11788 (init_max_error): Update prototype.
11789 * math/libm-test-support.c (test_ibm128): New variable.
11790 (init_max_error): Take argument testing_ibm128 and set test_ibm128
11791 instead of using [TEST_COND_ibm128] conditional.
11792 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
11793 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
11794 [TEST_NARROW] (TEST_MSG): New definition.
11795 (arg_plus_zero): New macro.
11796 (arg_minus_zero): Likewise.
11797 (arg_plus_infty): Likewise.
11798 (arg_minus_infty): Likewise.
11799 (arg_qnan_value_pl): Likewise.
11800 (arg_qnan_value): Likewise.
11801 (arg_snan_value_pl): Likewise.
11802 (arg_snan_value): Likewise.
11803 (arg_max_value): Likewise.
11804 (arg_min_value): Likewise.
11805 (arg_min_subnorm_value): Likewise.
11806 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
11807 (RUN_TEST_LOOP_aa_f): New macro.
11808 (TEST_SUFF): New macro.
11809 (TEST_SUFF_STR): Likewise.
11810 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
11811 (TEST_COND_any_ibm128): New macro.
11812 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
11813 this_func. Update call to init_max_error.
11814 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
11815 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
11816 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
11817 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
11818 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
11819 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
11820 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
11821 * math/test-math-scalar.h (TEST_NARROW): Likewise.
11822 * math/test-math-vector.h (TEST_NARROW): Likewise.
11823 * math/test-arg-double.h: New file.
11824 * math/test-arg-float128.h: Likewise.
11825 * math/test-arg-float32x.h: Likewise.
11826 * math/test-arg-float64.h: Likewise.
11827 * math/test-arg-float64x.h: Likewise.
11828 * math/test-arg-ldouble.h: Likewise.
11829 * math/test-math-narrow.h: Likewise.
11830 * math/test-narrow-macros.c: Likewise.
11831 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
11832 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
11833 test-narrow-macros-ldbl-64.
11834 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
11835
11836 * math/bits/mathcalls-narrow.h: New file.
11837 * include/bits/mathcalls-narrow.h: Likewise.
11838 * math/math-narrow.h: Likewise.
11839 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
11840 (__MATHCALL_NARROW_ARGS_2): Likewise.
11841 (__MATHCALL_NARROW_ARGS_3): Likewise.
11842 (__MATHCALL_NARROW_NORMAL): Likewise.
11843 (__MATHCALL_NARROW_REDIR): Likewise.
11844 (__MATHCALL_NARROW): Likewise.
11845 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
11846 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
11847 defined.
11848 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
11849 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
11850 (libm-narrow-fns): New variable.
11851 (libm-narrow-types-basic): Likewise.
11852 (libm-narrow-types-ldouble-yes): Likewise.
11853 (libm-narrow-types-float128-yes): Likewise.
11854 (libm-narrow-types-float128-alias-yes): Likewise.
11855 (libm-narrow-types): Likewise.
11856 (libm-routines): Add narrowing functions.
11857 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
11858 (libc_feholdexcept_setroundf128): New macro.
11859 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
11860 * sysdeps/ieee754/float128/float128_private.h: Include
11861 <math/math-narrow.h>.
11862 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
11863 Undefine and redefine.
11864 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
11865 (libm_alias_float_ldouble): Undefine and redefine.
11866 (libm_alias_double_ldouble): Likewise.
11867
11868 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
11869
11870 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
11871
11872 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
11873 FPCR/FPSR.
11874
11875 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
11876
11877 * manual/creature.texi: Convert references to gcc.info to gcc.
11878 * manual/stdio.texi: Likewise.
11879 * manual/string.texi: Likewise.
11880
11881 2018-02-07 Joseph Myers <joseph@codesourcery.com>
11882
11883 [BZ #17979]
11884 * posix/bits/types.h (__int_least8_t): New typedef.
11885 (__uint_least8_t): Likewise.
11886 (__int_least16_t): Likewise.
11887 (__uint_least16_t): Likewise.
11888 (__int_least32_t): Likewise.
11889 (__uint_least32_t): Likewise.
11890 (__int_least64_t): Likewise.
11891 (__uint_least64_t): Likewise.
11892 * sysdeps/generic/stdint.h (int_least8_t): Define using
11893 __int_least8_t.
11894 (int_least16_t): Define using __int_least16_t.
11895 (int_least32_t): Define using __int_least32_t.
11896 (int_least64_t): Define using __int_least64_t.
11897 (uint_least8_t): Define using __uint_least8_t.
11898 (uint_least16_t): Define using __uint_least16_t.
11899 (uint_least32_t): Define using __uint_least32_t.
11900 (uint_least64_t): Define using __uint_least64_t.
11901 * wcsmbs/uchar.h: Include <bits/types.h>.
11902 (char16_t): Define using __uint_least16_t conditional only on
11903 [!__USE_ISOCXX11].
11904 (char32_t): Define using __uint_least32_t conditional only on
11905 [!__USE_ISOCXX11].
11906 * wcsmbs/test-char-types.c: New file.
11907 * wcsmbs/Makefile (tests): Add test-char-types.
11908
11909 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
11910 version to 4.0.1.
11911
11912 2018-02-07 Zack Weinberg <zackw@panix.com>
11913
11914 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
11915 Delete all contents except for definitions of _G_HAVE_MMAP and
11916 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
11917 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
11918 sysdeps/unix/sysv/linux/_G_config.h. Make same content
11919 change as above.
11920
11921 * libio/libio.h: Don't include bits/_G_config.h here.
11922 Include stddef.h with __need_wchar_t defined. Include
11923 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
11924 Define _IO_iconv_t here, directly.
11925 Don't define _IO_HAVE_ST_BLKSIZE.
11926 * libio/libioP.h: Include _G_config.h here. Move include of
11927 shlib-compat.h up with rest of includes. Simplify conditionals
11928 controlling definition of _IO_JUMPS_OFFSET.
11929
11930 * csu/init.c: Remove always-true #if around entire file.
11931 Don't include stdio.h. Set _IO_stdin_used to hardwired
11932 constant 0x20001, and update commentary.
11933 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
11934 Replace all uses of _G_va_list with __gnuc_va_list.
11935 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
11936 instead of #if _IO_HAVE_ST_BLKSIZE.
11937 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
11938 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
11939 not #ifdef.
11940
11941 * libio/bits/libio.h: Move back to libio/libio.h and adjust
11942 multiple-include guard to match.
11943 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
11944 into this file.
11945 Remove preprocessor conditionals that are always true and/or
11946 redundant to other preprocessor conditionals in the same nest.
11947 Include shlib-compat.h unconditionally.
11948 Error out if _LIBC is not defined, or if _ISOMAC is defined,
11949 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
11950 defined after including stdio.h.
11951 Use __BEGIN_DECLS/__END_DECLS.
11952
11953 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
11954 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
11955 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
11956
11957 2018-02-07 Zack Weinberg <zackw@panix.com>
11958
11959 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
11960 New single-type headers split from _G_config.h.
11961 * libio/bits/types/cookie_io_functions_t.h
11962 * libio/bits/types/struct_FILE.h
11963 New single-type headers split from libio.h.
11964
11965 * libio/Makefile: Install the above new headers. Don't install
11966 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
11967 bits/libio-ldbl.h.
11968 * libio/_G_config.h, libio/libio.h: Delete file.
11969
11970 * libio/bits/libio.h: Remove improper-inclusion guard.
11971 Include stdio.h and don't repeat anything that it does.
11972 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
11973 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
11974 __io_read_fn as cookie_read_function_t,
11975 __io_write_fn as cookie_write_function_t,
11976 __io_seek_fn as cookie_seek_function_t,
11977 __io_close_fn as cookie_close_function_t,
11978 and _IO_cookie_io_functions_t as cookie_io_functions_t.
11979 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
11980 here, in the "compatibility defines" section. Remove an #if 0
11981 block. Use the "body" macros from bits/types/struct_FILE.h to
11982 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
11983 and _IO_ferror_unlocked.
11984 Move prototypes of __uflow and __overflow...
11985
11986 * libio/stdio.h: ...here. Don't include bits/libio.h.
11987 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
11988 directly from stdarg.h. Include bits/types/__fpos_t.h,
11989 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
11990 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
11991 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
11992 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
11993 cookie_io_functions_t, not _IO_cookie_io_functions_t;
11994 __ssize_t, not _IO_ssize_t. Unconditionally define
11995 BUFSIZ as 8192 and EOF as (-1).
11996
11997 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
11998 macros from bits/types/struct_FILE.h instead of _IO_* macros
11999 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
12000 instead of _IO_ssize_t.
12001 * libio/bits/stdio2.h: Similarly.
12002
12003 * libio/iolibio.h: Add multiple-include guard.
12004 Include bits/libio.h after stdio.h.
12005 * libio/libioP.h: Add multiple-include guard.
12006 Include stdio.h and bits/libio.h before iolibio.h.
12007
12008 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
12009 * include/bits/types/cookie_io_functions_t.h
12010 * include/bits/types/struct_FILE.h: New wrappers.
12011
12012 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
12013 Get definitions of _G_fpos_t and _G_fpos64_t from
12014 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
12015 respectively. Remove improper-inclusion guards.
12016
12017 * conform/data/stdio.h-data: Update expectations of va_list.
12018 * scripts/check-installed-headers.sh: Remove special case for
12019 libio.h and _G_config.h.
12020
12021 2018-02-07 Joseph Myers <joseph@codesourcery.com>
12022
12023 [BZ #15105]
12024 [BZ #19463]
12025 * include/sys/sysmacros.h [!_ISOMAC]
12026 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
12027 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
12028 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
12029 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
12030 libc_hidden_proto.
12031 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
12032 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
12033 Likewise.
12034 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
12035 Undefine and redefine to add use __gnu_dev_ prefix.
12036 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
12037 Likewise.
12038 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
12039 and define as hidden inline function.
12040 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
12041 Likewise.
12042 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
12043 Likewise.
12044 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
12045 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
12046 (gnu_dev_minor): Likewise.
12047 (gnu_dev_makedev): Likewise.
12048 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
12049 makedev.
12050 * posix/wordexp.c (exec_comm_child): Likewise.
12051 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
12052 instead of minor and __gnu_dev_major instead of major.
12053 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
12054 __gnu_dev_major instead of major.
12055 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
12056 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
12057 instead of gnu_dev_minor.
12058 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
12059 (SLAVE_P): Likewise.
12060 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
12061 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
12062 instead of major.
12063
12064 [BZ #21313]
12065 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
12066 in another place.
12067 * locale/weightwc.h (findidx): Likewise.
12068
12069 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
12070
12071 * manual/probes.texi (slowlog): Delete documentation of removed probe.
12072 (slowlog_inexact): Likewise
12073 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
12074 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
12075
12076 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
12077
12078 [BZ #22797]
12079 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
12080 missing second underscore to parameter name.
12081
12082 2018-02-06 Joseph Myers <joseph@codesourcery.com>
12083
12084 [BZ #14508]
12085 [BZ #15512]
12086 [BZ #17082]
12087 [BZ #20530]
12088 * bits/byteswap.h: Update file comment. Do not include
12089 <bits/byteswap-16.h>.
12090 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
12091 constant.
12092 (__bswap_16): Define as inline function.
12093 (__bswap_constant_32): Reformat definition.
12094 (__bswap_32): Always define as inline function, not macro, using
12095 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
12096 otherwise __bswap_constant_32.
12097 (__bswap_constant_64): Reformat definition. Do not use
12098 __extension__ here.
12099 (__bswap_64): Always define as inline function, not macro. Use
12100 __extension__ on function definition. Use __builtin_bswap64 if
12101 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
12102 * string/test-endian-file-scope.c: New file.
12103 * string/test-endian-sign-conversion.c: Likewise.
12104 * string/Makefile (headers): Remove bits/byteswap-16.h.
12105 (tests): Add test-endian-file-scope and
12106 test-endian-sign-conversion.
12107 (CFLAGS-test-endian-sign-conversion.c): New variable.
12108 * bits/byteswap-16.h: Remove file.
12109 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
12110 * sysdeps/ia64/bits/byteswap.h: Likewise.
12111 * sysdeps/m68k/bits/byteswap.h: Likewise.
12112 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12113 * sysdeps/s390/bits/byteswap.h: Likewise.
12114 * sysdeps/tile/bits/byteswap.h: Likewise.
12115 * sysdeps/x86/bits/byteswap-16.h: Likewise.
12116 * sysdeps/x86/bits/byteswap.h: Likewise.
12117
12118 [BZ #17721]
12119 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
12120 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
12121 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
12122 199901L] (__restrict): Define to restrict.
12123
12124 [BZ #19667]
12125 * string/testcopy.c: Include <support/support.h>. Do not include
12126 <malloc.h>. Use <support/test-driver.c>.
12127 (main): Rename to do_test. Make static. Use xmalloc instead of
12128 malloc.
12129
12130 [BZ #13575]
12131 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
12132 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
12133 (SSIZE_MAX): Define to INT_MAX.
12134 * posix/test-ssize-max.c: New file.
12135 * posix/Makefile (tests): Add test-ssize-max.
12136
12137 [BZ #19668]
12138 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
12139 <support/support.h>. Do not include <malloc.h>.
12140 (query_auxv): Use xmalloc instead of malloc.
12141
12142 [BZ #14553]
12143 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
12144 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
12145 instead of loff_t.
12146
12147 2018-02-06 Florian Weimer <fweimer@redhat.com>
12148
12149 [BZ #18023]
12150 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12151 Use scratch_buffer instead of extend_alloca.
12152
12153 2018-02-06 Zack Weinberg <zackw@panix.com>
12154
12155 * libio/stdio.h: Don't define getc or putc as macros.
12156 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
12157 not _IO_getc and _IO_putc.
12158
12159 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
12160 * stdio-common/tstgetln.c: Don't redefine ssize_t.
12161
12162 2018-02-06 Joseph Myers <joseph@codesourcery.com>
12163
12164 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
12165 (TCP_FASTOPEN_NO_COOKIE): Likewise.
12166
12167 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
12168
12169 [BZ #14890]
12170 * elf/elf.h (NT_PRFPREG): New macro.
12171 (NT_S390_VXRS_LOW): Likewise.
12172 (NT_S390_VXRS_HIGH): Likewise.
12173 (NT_S390_GS_CB): Likewise.
12174 (NT_S390_GS_BC): Likewise.
12175 (NT_S390_RI_CB): Likewise.
12176
12177 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12178 (MAP_SYNC): New macro.
12179 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
12180 Likewise.
12181 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12182 (MAP_SYNC): Likewise.
12183 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12184 (MAP_SYNC): Likewise.
12185 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12186 (MAP_SYNC): Likewise.
12187 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12188 (MAP_SYNC): Likewise.
12189 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12190 (MAP_SYNC): Likewise.
12191 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12192 (MAP_SYNC): Likewise.
12193 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
12194 Likewise.
12195 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
12196 Likewise.
12197
12198 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
12199 (MAP_SHARED_VALIDATE): New macro.
12200 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12201 (MAP_SHARED_VALIDATE): Likewise.
12202
12203 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12204
12205 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
12206 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
12207 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
12208
12209 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12210
12211 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
12212 (DT_NUM): Updated to 35.
12213
12214 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12215
12216 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
12217 __builtin_expect with __glibc_likely and __glibc_unlikely.
12218 (elf_machine_rela): Likewise.
12219 (elf_machine_lazy_rel): Likewise.
12220
12221 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12222
12223 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
12224 __builtin_expect with __glibc_likely and __glibc_unlikely.
12225 (elf_machine_lazy_rel): Likewise.
12226
12227 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12228
12229 [BZ #22638]
12230 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
12231 SHARED.
12232 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
12233
12234 2018-02-05 Andreas Schwab <schwab@suse.de>
12235
12236 [BZ #22761]
12237 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
12238 string.
12239
12240 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12241
12242 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
12243 not check against PTHREAD_STACK_MIN.
12244
12245 2018-02-02 Sean McKean <smckean83@gmail.com>
12246
12247 [BZ #22735]
12248 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
12249
12250 2018-02-02 Florian Weimer <fweimer@redhat.com>
12251
12252 [BZ #22753]
12253 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
12254 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
12255 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
12256 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
12257 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
12258 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12259 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12260 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
12261 * manual/llio.texi (Scatter-Gather): Mention offset -1.
12262 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
12263 * misc/tst-preadvwritev2.c (do_test): Call it.
12264 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
12265
12266 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
12267
12268 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
12269
12270 * benchtests/bench-memcmp.c: Print json instead of plain text.
12271
12272 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
12273 every test run.
12274
12275 2018-02-01 Joseph Myers <joseph@codesourcery.com>
12276
12277 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12278 version to 4.15.
12279 (s390_sthyi): New syscall.
12280
12281 * sysdeps/generic/ldbl-classify-compat.h: New file.
12282 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
12283 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
12284 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
12285 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
12286 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
12287 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
12288 * sysdeps/ieee754/dbl-64/s_finite.c: Include
12289 <ldbl-classify-compat.h>.
12290 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12291 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
12292 <ldbl-classify-compat.h>.
12293 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12294 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
12295 <ldbl-classify-compat.h>.
12296 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12297 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
12298 <ldbl-classify-compat.h>.
12299 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12300 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
12301 <ldbl-classify-compat.h>.
12302 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12303 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
12304 <ldbl-classify-compat.h>.
12305 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12306 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
12307 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12308 * sysdeps/m68k/coldfire/math_private.h: Remove file.
12309 * sysdeps/microblaze/math_private.h: Likewise.
12310 * sysdeps/nios2/math_private.h: Likewise.
12311 * sysdeps/sh/math_private.h: Likewise.
12312
12313 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
12314 * sysdeps/m68k/coldfire/math_private.h: ... here.
12315 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
12316 * sysdeps/tile/math_private.h: Likewise.
12317 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
12318 Remove macro.
12319 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
12320 Likewise.
12321
12322 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
12323 Remove macro.
12324 (libc_fetestexcept): Likewise.
12325 (libc_feupdateenv_test): Likewise.
12326 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
12327 (libc_fetestexcept): Likewise.
12328 (libc_feupdateenv_test): Likewise.
12329 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
12330 (libc_fetestexcept): Likewise.
12331 (libc_feupdateenv_test): Likewise.
12332 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
12333 (libc_fetestexcept): Likewise.
12334 (libc_feupdateenv_test): Likewise.
12335
12336 * sysdeps/generic/math_private.h
12337 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
12338 New inline function.
12339 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
12340 Likewise.
12341
12342 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
12343 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
12344 * sysdeps/generic/math_private.h
12345 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
12346 inline function.
12347 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
12348 Likewise.
12349 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
12350 Likewise.
12351 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
12352 Likewise.
12353 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
12354 Likewise.
12355 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
12356 Likewise.
12357 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
12358 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
12359 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
12360 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
12361 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
12362 (__fegetenv): Likewise.
12363 (fesetenv): Likewise.
12364 (__fesetenv): Likewise.
12365 (feupdateenv): Likewise.
12366 (__feupdateenv): Likewise.
12367 (fegetround): Likewise.
12368 (__fegetround): Likewise.
12369 (fesetround): Likewise.
12370 (__fesetround): Likewise.
12371
12372 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
12373 (feraiseexcept): New macro.
12374 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
12375 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
12376 Remove macro.
12377 (__feraiseexcept): Likewise.
12378 (feclearexcept): Likewise.
12379 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
12380 (__feraiseexcept): Likewise.
12381 (feclearexcept): Likewise.
12382 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
12383 (__feraiseexcept): Likewise.
12384 (feclearexcept): Likewise.
12385 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
12386 (__feraiseexcept): Likewise.
12387 (feclearexcept): Likewise.
12388 (fetestexcept): Likewise.
12389
12390 * sysdeps/m68k/coldfire/math-tests.h: New file.
12391
12392 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
12393 * sysdeps/m68k/bits/fenv.h: ... here.
12394 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
12395 not define.
12396 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
12397 Likewise.
12398 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
12399 Likewise.
12400 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
12401 Likewise.
12402 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
12403 Likewise.
12404 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
12405 Define to 0.
12406 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
12407 (__FE_UNDEFINED): New enum constant.
12408 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
12409 Do not define.
12410 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
12411 Likewise.
12412 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
12413 Likewise.
12414 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
12415 to match generic bits/fenv.h.
12416 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
12417 Do not define.
12418
12419 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
12420 packed on bits.
12421 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
12422 * soft-fp/half.h (union _FP_UNION_H): Likewise.
12423 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
12424 * soft-fp/single.h (union _FP_UNION_S): Likewise.
12425
12426 2018-02-01 Carlos O'Donell <carlos@redhat.com>
12427 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
12428 Joseph Myers <joseph@codesourcery.com>
12429
12430 [BZ #21314]
12431 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
12432 (__log1p): Disable -Wmaybe-uninitialized for -Os around
12433 computation using c.
12434 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
12435 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
12436 computation using c.
12437
12438 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
12439
12440 * version.h (RELEASE): Set to "development".
12441 (VERSION): Set to "2.27.9000".
12442 * NEWS (2.28): New section.
12443
12444 * version.h (RELEASE): Set to "stable".
12445 (VERSION): Set to "2.27".
12446 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
12447
12448 * NEWS: Add the list of bugs fixed in 2.27.
12449
12450 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12451
12452 * stdlib/test-atexit-race-common.c (do_test): Check stack size
12453 against PTHREAD_STACK_MIN.
12454
12455 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
12456
12457 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
12458 New entries.
12459 (Rafal Luzynski, Andreas Schwab): Update.
12460
12461 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
12462
12463 [BZ #10871]
12464 * NEWS: List the languages which actually use the alternative
12465 months feature in this release. Also explain that "alt_mon" and
12466 "ab_alt_mon" are optional.
12467
12468 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
12469
12470 [BZ #22765]
12471 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
12472
12473 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
12474
12475 * manual/install.texi (Tools for Compilation): Update the newest
12476 versions of gcc, binutils, texinfo, gawk, bison, and sed.
12477 * INSTALL: Regenerated.
12478
12479 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12480
12481 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
12482 instead of __builtin_expect.
12483
12484 2018-01-30 Florian Weimer <fweimer@redhat.com>
12485
12486 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
12487 data.
12488 * nss/tst-nss-getpwent.c (do_test): Likewise.
12489
12490 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
12491
12492 [BZ #10871]
12493 * localedata/locales/hr_HR (mon): Rename to...
12494 (alt_mon): This.
12495 (mon): Import from CLDR (genitive case).
12496 (d_t_fmt): Update the comment.
12497
12498 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
12499
12500 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
12501 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
12502 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
12503
12504 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12505
12506 * mach/Versions: Fix version when __mach_host_self_ was added.
12507 * hurd/Versions: Fix version when _hurd_exec_paths was added.
12508 * sysdeps/mach/hurd/i386/ld.abilist: New file.
12509 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
12510 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
12511 * sysdeps/mach/hurd/i386/libc.abilist: New file.
12512 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
12513 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
12514 * sysdeps/mach/hurd/i386/libm.abilist: New file.
12515 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
12516 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
12517 * sysdeps/mach/hurd/i386/librt.abilist: New file.
12518 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
12519 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
12520 || to respect codestyle.
12521 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
12522 (do_test_bz20181): Rename accordingly.
12523 * malloc/malloc.c: Include <assert.h>.
12524 (assert): Do not define.
12525 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
12526 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
12527 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
12528 * sysdeps/mach/hurd/hp-timing.h: New file.
12529 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
12530
12531 2018-01-29 Darius Rad <darius@bluespec.com>
12532
12533 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
12534
12535 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
12536
12537 * sysdeps/init_array/crti.S (.section .init_array): Add
12538 PREINIT_FUNCTION when defined.
12539 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
12540 * config.h.in: Regenerate.
12541 * manual/platform.texi: Add RISC-V documenation for
12542 __riscv_flush_icache.
12543 * sysdeps/riscv/__longjmp.S: New file.
12544 * sysdeps/riscv/backtrace.c: Likewise.
12545 * sysdeps/riscv/bits/endian.h: Likewise.
12546 * sysdeps/riscv/bits/setjmp.h: Likewise.
12547 * sysdeps/riscv/bits/wordsize.h: Likewise.
12548 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
12549 * sysdeps/riscv/bsd-setjmp.c: Likewise.
12550 * sysdeps/riscv/dl-trampoline.S: Likewise.
12551 * sysdeps/riscv/gccframe.h: Likewise.
12552 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
12553 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
12554 * sysdeps/riscv/machine-gmon.h: Likewise.
12555 * sysdeps/riscv/memusage.h: Likewise.
12556 * sysdeps/riscv/setjmp.S: Likewise.
12557 * sysdeps/riscv/sys/asm.h: Likewise.
12558 * sysdeps/riscv/tls-macros.h: Likewise.
12559 * sysdeps/riscv/dl-tls.h: New file.
12560 * sysdeps/riscv/libc-tls.c: Likewise.
12561 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
12562 * sysdeps/riscv/nptl/tls.h: Likewise.
12563 * sysdeps/riscv/stackinfo.h: Likewise.
12564 * sysdeps/riscv/bits/fenv.h: New file.
12565 * sysdeps/riscv/e_sqrtl.c: Likewise.
12566 * sysdeps/riscv/fpu_control.h: Likewise.
12567 * sysdeps/riscv/math-tests.h: Likewise.
12568 * sysdeps/riscv/nofpu/Implies: Likewise.
12569 * sysdeps/riscv/sfp-machine.h: Likewise.
12570 * sysdeps/riscv/tininess.h: Likewise.
12571 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
12572 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12573 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
12574 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
12575 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
12576 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
12577 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12578 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12579 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12580 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12581 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12582 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
12583 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
12584 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
12585 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
12586 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
12587 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
12588 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12589 * sysdeps/riscv/rvd/s_fma.c: Likewise.
12590 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12591 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12592 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12593 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12594 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12595 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12596 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
12597 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
12598 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
12599 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
12600 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12601 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12602 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12603 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
12604 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
12605 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12606 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12607 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12608 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
12609 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
12610 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12611 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
12612 * sysdeps/riscv/rvf/math_private.h: Likewise.
12613 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12614 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
12615 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12616 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12617 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
12618 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12619 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12620 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12621 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12622 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12623 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12624 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12625 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12626 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12627 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12628 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12629 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
12630 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
12631 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
12632 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
12633 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
12634 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
12635 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
12636 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
12637 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
12638 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
12639 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
12640 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
12641 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
12642 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
12643 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
12644 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
12645 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12646 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
12647 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
12648 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
12649 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
12650 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
12651 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
12652 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
12653 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
12654 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
12655 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
12656 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
12657 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
12658 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
12659 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12660 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
12661 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
12662 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
12663 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
12664 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
12665 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
12666 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
12667 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
12668 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
12669 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
12670 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
12671 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
12672 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
12673 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
12674 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
12675 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12676 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
12677 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12678 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
12679 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
12680 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
12681 * sysdeps/riscv/Implies: New file.
12682 * sysdeps/riscv/Makefile: Likewise.
12683 * sysdeps/riscv/configure: Likewise.
12684 * sysdeps/riscv/configure.ac: Likewise.
12685 * sysdeps/riscv/nptl/Makefile: Likewise.
12686 * sysdeps/riscv/preconfigure: Likewise.
12687 * sysdeps/riscv/rv64/Implies-after: Likewise.
12688 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
12689 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
12690 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
12691 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
12692 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
12693 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
12694 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
12695 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
12696 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
12697 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
12698 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
12699 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
12700 (Config): Likewise.
12701
12702 2018-01-29 Florian Weimer <fweimer@redhat.com>
12703
12704 [BZ #22701]
12705 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
12706 libnsl_hidden_proto.
12707 * include/rpcsvc/yp.h (yp_xdrall): Declare with
12708 libnsl_hidden_proto.
12709 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
12710 * nis/Makefile (libnsl-routines): Add nss-default only for
12711 build-obsolete-nsl.
12712 * nis/nis_defaults.c (__nis_default_ttl): Add
12713 libnsl_hidden_nolink_def.
12714 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
12715 declaration.
12716 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
12717 * nis/ypclnt.c (yp_maplist): Likewise.
12718
12719 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
12720
12721 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12722 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
12723
12724 2018-01-29 Joseph Myers <joseph@codesourcery.com>
12725
12726 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
12727 clean -dxfq for git updates when replacing sources.
12728
12729 * scripts/build-many-glibcs.py (Config.build_gcc): Use
12730 --disable-libcilkrts unconditionally, not just for the final GCC
12731 build for Hurd.
12732
12733 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12734 version to 4.15.
12735
12736 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12737
12738 [BZ #10871]
12739 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
12740 case).
12741
12742 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12743
12744 [BZ #10871]
12745 * localedata/locales/be_BY (mon): Rename to...
12746 (alt_mon): This, then synchronize with CLDR (nominative case).
12747 (abmon): Rename to...
12748 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
12749 (mon): Import from CLDR (genitive case).
12750 (abmon): Likewise.
12751 * localedata/locales/be_BY@latin (mon): Rename to...
12752 (alt_mon): This.
12753 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
12754
12755 * localedata/locales/be_BY@latin (lang_name): Reworded to
12756 "biełaruskaja mova".
12757
12758 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12759
12760 [BZ #10871]
12761 * localedata/locales/el_CY (mon): Renamed to...
12762 (alt_mon): This.
12763 (mon): Import from CLDR (genitive case).
12764 * localedata/locales/el_GR: Likewise.
12765
12766 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12767
12768 [BZ #10871]
12769 * localedata/locales/ru_RU (mon): Rename to...
12770 (alt_mon): This.
12771 (abmon): Rename to...
12772 (ab_alt_mon): This.
12773 (mon): Import from CLDR (genitive case).
12774 (abmon): Copy from the old content except the 5th month which is
12775 now in the genitive case, even when abbreviated.
12776 * localedata/locales/ru_UA: Likewise.
12777 * time/tst-strptime.c (day_tests): Add an actual example of
12778 a difference between %b and %Ob in Russian.
12779
12780 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12781
12782 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
12783 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
12784 a `c' variable.
12785 * resolv/res-close.c: Include <stdlib.h>.
12786 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
12787 <sys/wait.h>, <time.h>, <sys/uio.h>.
12788 (NOT_CANCEL_H): Add inclusion guard.
12789 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
12790 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
12791 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
12792 return 0.
12793 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
12794 vm_address_t * to ElfW(Addr) * for dl_main parameter.
12795 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
12796 instead of void *.
12797 * sysdeps/pthread/timer_create.c (timer_create): Do not use
12798 timer_ptr2id to cast struct timer_node * to void *.
12799 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
12800 --disable-libcilkrts to gcc configure.
12801 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
12802 and make them the default for now.
12803 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
12804 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
12805 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
12806 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
12807 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
12808 MACH_IPC_COMPAT.
12809 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
12810 __task_terminate would ever return successfully.
12811 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
12812 to global scope.
12813 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
12814 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
12815 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
12816 critical section to make code simpler and avoid warning.
12817 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
12818 critical section to make code simpler and avoid warning.
12819 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
12820 const char * instead of char *.
12821 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
12822 __hurd_file_name_split, hurd_file_name_split,
12823 __hurd_directory_name_split, hurd_directory_name_split,
12824 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
12825 hurd_file_name_path_lookup): Make lookup function parameter take a
12826 const char *name instead of char *name.
12827 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
12828 __hurd_directory_name_split): Likewise.
12829 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
12830 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
12831 * sysdeps/mach/hurd/check_native.c: New file.
12832 * sysdeps/mach/hurd/check_pf.c: New file.
12833 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
12834 (__freeifaddrs): Define macro to freeifaddrs.
12835 * sysdeps/mach/hurd/libhurduser.abilist: New file.
12836 * sysdeps/mach/libmachuser.abilist: New file.
12837 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
12838 (do_test_bz20181): Rename accordingly.
12839 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
12840 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
12841 <sys/mount.h>.
12842 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
12843 version only if __USE_EXTERN_INLINES is defined.
12844 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
12845 __hurd_sockfail): Likewise.
12846 (_hurd_fd_get): Always declare functions, and provide inline versions
12847 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
12848 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
12849 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
12850 _hurd_port_set): Always declare functions, and provide inline versions
12851 only if __USE_EXTERN_INLINES and _LIBC are defined and
12852 IS_IN(libc).
12853 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
12854 _hurd_critical_section_unlock): Likewise.
12855 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
12856 * __hurd_threadvar_location): Likewise.
12857 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
12858 _hurd_userlink_clear): Likewise.
12859 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
12860 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
12861 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
12862 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
12863 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
12864 __spin_lock_locked): Likewise.
12865 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
12866 __spin_lock_locked): Likewise.
12867 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
12868 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
12869 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
12870 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
12871 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
12872 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
12873 _POSIX_NO_TRUNC): Define to 0.
12874 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
12875 check size against PTHREAD_STACK_MIN.
12876 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
12877 IS_IN(libpthread)]: Include <sigsetops.h>.
12878 * mach/Makefile (user-interfaces): Add mach/gnumach.
12879 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
12880 * sysdeps/mach/configure (mach_interface_list): Regenerate.
12881 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
12882 instead of invalid -1.
12883 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
12884 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
12885 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
12886 <net/ppp_defs.h>.
12887
12888 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
12889
12890 * hurd/fcntl-internal.h: New file.
12891
12892 2018-01-27 James Clarke <jrtc27@jrtc27.com>
12893
12894 * sysdeps/hppa/fpu/libm-test-ulps: Update.
12895
12896 * sysdeps/alpha/fpu/libm-test-ulps: Update.
12897
12898 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
12899
12900 [BZ #22701]
12901 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
12902 Build only shared objects.
12903
12904 2018-01-26 Carlos O'Donell <carlos@redhat.com>
12905
12906 * README: Update for hppa.
12907
12908 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
12909
12910 * sysdeps/sparc/fpu/libm-test-ulps: Update
12911 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
12912
12913 2018-01-26 Carlos O'Donell <carlos@redhat.com>
12914
12915 Revert:
12916
12917 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
12918
12919 [BZ #22563]
12920 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
12921 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
12922 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
12923 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
12924 to feature_1.
12925
12926 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
12927
12928 [BZ #22563]
12929 * bits/types/__cancel_jmp_buf_tag.h: New file.
12930 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
12931 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
12932 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
12933 * nptl/Makefile (headers): Add
12934 bits/types/__cancel_jmp_buf_tag.h.
12935 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
12936 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
12937 * sysdeps/nptl/pthread.h: Include
12938 <bits/types/__cancel_jmp_buf_tag.h>.
12939 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
12940 __cancel_jmp_buf.
12941 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
12942
12943 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12944
12945 [BZ #10871]
12946 * localedata/locales/uk_UA (mon): Renamed to...
12947 (alt_mon): This.
12948 (alt_digits): "0" removed and then renamed to...
12949 (mon): This.
12950 (date_fmt): Definition changed not to use the alternative
12951 digits hack.
12952
12953 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
12954
12955 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
12956 FLAG_RISCV_FLOAT_ABI_DOUBLE.
12957 * elf/elf.h (EF_RISCV_RVC): New define.
12958 (EF_RISCV_FLOAT_ABI): Likewise.
12959 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
12960 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
12961 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
12962 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
12963 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
12964 define.
12965 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
12966
12967 2018-01-25 Andreas Schwab <schwab@suse.de>
12968
12969 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
12970 single quotes.
12971 * sysdeps/gnu/configure: Regenerate.
12972 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
12973 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12975 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
12976 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
12977 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
12978 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
12979 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
12980
12981 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
12982
12983 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
12984 URL, and run autoconf, make it the default for now.
12985
12986 2018-01-24 Joseph Myers <joseph@codesourcery.com>
12987
12988 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
12989 soft-float ColdFire configuration.
12990
12991 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
12992 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
12993 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
12994
12995 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
12996 MicroBlaze file.
12997
12998 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
12999 ....
13000 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
13001 ... here.
13002 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
13003 New file.
13004
13005 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
13006 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
13007 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
13008 file.
13009
13010 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
13011
13012 [BZ #22742]
13013 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
13014 Rename to __reserved and add comment.
13015 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
13016 Rename to __reserved.
13017
13018 2018-01-24 Joseph Myers <joseph@codesourcery.com>
13019
13020 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13021 i686-gnu configurations.
13022 (Context.run_builds): Include mig, gnumach and hurd in components
13023 considered.
13024 (Context.checkout): Add mig, gnumach and hurd to components.
13025 (Context.checkout_tar): Add URL mappings for mig, gnumach and
13026 hurd.
13027 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
13028 (Config.build): Install gnumach headers, build mig and install
13029 hurd headers for 'gnu' OS.
13030 (Config.install_gnumach_headers): New function.
13031 (Config.install_hurd_headers): Likewise.
13032 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
13033 when building for 'gnu' OS.
13034
13035 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
13036
13037 * manual/tunables.texi (Hardware Capability Tunables): Fix
13038 spelling.
13039
13040 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
13041
13042 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
13043 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
13044 (ALTMON_11, ALTMON_12): Improve documentation.
13045 * manual/time.texi (strftime): Likewise.
13046
13047 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
13048
13049 [BZ #10871]
13050 * localedata/locales/pl_PL: Alternative month names added,
13051 primary month names are genitive now.
13052 * time/tst-strptime.c (day_tests): Actually use a genitive case
13053 of a month name in Polish language.
13054
13055 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
13056
13057 [BZ #10871]
13058 * manual/locale.texi: Document ALTMON_1..12 constants for
13059 nl_langinfo. Specify when to use ALTMON instead of MON.
13060 * manual/time.texi (strftime, strptime): Document GNU extension
13061 permitting O modifier with %B and %b. Specify when to use
13062 %OB instead of %B.
13063
13064 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
13065
13066 [BZ #10871]
13067 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
13068 names, define them as the same as abbreviated month names explicitly.
13069 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
13070 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
13071 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
13072 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
13073 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
13074 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
13075 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
13076 _NL_WABALTMON_12): New enum constants.
13077 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
13078 wab_alt_mon, and ab_alt_mon_defined members.
13079 (time_output): Output ab_alt_mon and wab_alt_mon members.
13080 (time_read): Read them, initialize them as copies of abmon and wabmon
13081 respectively if they are missing, initialize ab_alt_mon_defined.
13082 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
13083 * locale/programs/locfile-kw.h: Regenerate.
13084 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
13085 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
13086 and ru_RU.UTF-8.
13087 * time/strftime_l.c (a_altmonth, aam_len): New macros.
13088 [!COMPILE_WIDE] (ABALTMON_1): New macro.
13089 (__strftime_internal): Handle %Ob and %Oh formats.
13090 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
13091 (__strptime_internal): Handle %Ob and %Oh formats.
13092 * time/tst-strptime.c (day_tests): Add more tests to parse different
13093 forms of month names including the new %Ob format specifier.
13094
13095 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
13096
13097 [BZ #10871]
13098 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
13099 define them as the same as primary full month names explicitly.
13100 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
13101 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
13102 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
13103 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
13104 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
13105 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
13106 _NL_WALTMON_12): New enum constants.
13107 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
13108 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
13109 macros.
13110 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
13111 walt_mon, and alt_mon_defined members.
13112 (time_output): Output alt_mon and walt_mon members.
13113 (time_read): Read them, initialize them as copies of mon and wmon
13114 respectively if they are missing, initialize alt_mon_defined.
13115 * locale/programs/locfile-kw.gperf (alt_mon): Define.
13116 * locale/programs/locfile-kw.h: Regenerate.
13117 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
13118 * localedata/tst-langinfo.c (map): Add tests for the new constants
13119 ALTMON_1 .. ALTMON_12.
13120 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
13121 and pl_PL.UTF-8.
13122 * time/strftime_l.c (f_altmonth): New macro.
13123 (__strftime_internal): Handle %OB format.
13124 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
13125 (__strptime_internal): Handle %OB format.
13126 * time/tst-strptime.c (day_tests): Add tests to parse different forms
13127 of month names including the new %OB format specifier.
13128
13129 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13130
13131 [BZ #22685]
13132 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
13133 from ABORT_TRANSACTION.
13134 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
13135 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
13136 ABORT_TRANSACTION_IMPL): Likewise.
13137 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
13138 Linux code, but remove the code that aborts transactions.
13139
13140 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13141
13142 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
13143
13144 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
13145
13146 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
13147 in date: "2004-14-09" should be "2004-09-14".
13148 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
13149 "2003-15-09" should be "2003-09-15".
13150
13151 2018-01-18 Arjun Shankar <arjun@redhat.com>
13152
13153 [BZ #22343]
13154 [BZ #22774]
13155 CVE-2018-6485
13156 CVE-2018-6551
13157 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
13158 after padding.
13159 (_int_memalign): check for integer overflow before calling
13160 _int_malloc.
13161 * malloc/tst-malloc-too-large.c: New test.
13162 * malloc/Makefile: Add tst-malloc-too-large.
13163
13164 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
13165
13166 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
13167 in date: "2017-24-07" should be "2017-07-24".
13168 * localedata/locales/mai_IN: Likewise.
13169 * localedata/locales/mai_NP: Likewise.
13170
13171 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
13172
13173 * po/ru.po: Update translations.
13174
13175 2018-01-17 Joseph Myers <joseph@codesourcery.com>
13176
13177 [BZ #22719]
13178 * sysdeps/hppa/backtrace.c: New file.
13179
13180 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
13181
13182 [BZ #22715]
13183 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
13184 align La_x86_64_retval to VEC_SIZE.
13185
13186 2018-01-16 Joseph Myers <joseph@codesourcery.com>
13187
13188 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
13189 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
13190
13191 2018-01-16 Florian Weimer <fweimer@redhat.com>
13192
13193 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
13194 Move tst-thread-exit-clobber ...
13195 [$(CXX)] (tests-unsupported): ... to here.
13196
13197 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
13198
13199 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
13200 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
13201 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
13202 (_dl_aarch64_cap_flags): Update.
13203 (_DL_HWCAP_COUNT): Update.
13204
13205 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
13206
13207 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
13208 (_DL_HWCAP_LAST): Remove.
13209 (_DL_HWCAP_COUNT): Move to ...
13210 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
13211 (_DL_HWCAP_COUNT): ... here.
13212
13213 2018-01-16 Florian Weimer <fweimer@redhat.com>
13214
13215 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
13216 mode with GNU extensions.
13217
13218 2018-01-15 Alan Hayward <alan.hayward@arm.com>
13219
13220 * elf/elf.h (NT_ARM_SVE): Define.
13221
13222 2018-01-15 Florian Weimer <fweimer@redhat.com>
13223
13224 [BZ #22636]
13225 * nptl/tst-minstack-throw.cc: New file.
13226 * nptl/Makefile (tests): Add tst-minstack-throw.
13227 (LDLIBS-tst-minstack-throw): Link with libstdc++.
13228 [!CXX] (tests-unsupported): Add tst-minstack-throw.
13229
13230 2018-01-15 Joseph Myers <joseph@codesourcery.com>
13231
13232 * scripts/build-many-glibcs.py (Context.checkout): Default
13233 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
13234 version to 1.1.0.
13235
13236 2018-01-13 Carlos O'Donell <carlos@redhat.com>
13237
13238 [BZ #22707]
13239 * elf/elf.h (DF_1_STUB): Define.
13240 (DF_1_PIE): Define.
13241
13242 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13243
13244 [BZ #22697]
13245 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
13246 Do not add 0.5 to integer or out-of-range arguments.
13247
13248 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
13249
13250 * po/bg.po: Update translations.
13251 * po/cs.po: Likewise.
13252 * po/de.po: Likewise.
13253 * po/ko.po: Likewise.
13254 * po/pl.po: Likewise.
13255 * po/sv.po: Likewise.
13256 * po/uk.po: Likewise.
13257 * po/vi.po: Likewise.
13258
13259 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13260
13261 * aarch64/start.S (_start): Use __wrap_main.
13262 (__wrap_main): New local symbol.
13263
13264 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
13265
13266 [BZ #22679]
13267 CVE-2018-1000001
13268 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
13269 generic_getcwd if the path returned by getcwd syscall is not absolute.
13270 * io/tst-getcwd-abspath.c: New test.
13271 * io/Makefile (tests): Add tst-getcwd-abspath.
13272
13273 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
13274
13275 * malloc/malloc.c (malloc_consolidate): Add size check.
13276
13277 2018-01-12 Florian Weimer <fweimer@redhat.com>
13278
13279 * support/write_message.c (write_message): Preserve errno.
13280 * support/check.c (print_failure): Likewise.
13281 * support/support_test_verify_impl.c (support_test_verify_impl):
13282 Likewise.
13283 * support/support_test_compare_failure.c
13284 (support_test_compare_failure): Likewise.
13285
13286 2018-01-12 Florian Weimer <fweimer@redhat.com>
13287
13288 [BZ #22701]
13289 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
13290 Prevent installation of libnsl.so.
13291 (libnsl-inhibit-o): Do not build (or install) static libraries.
13292
13293 2018-01-12 Egmont Koblinger <egmont@gmail.com>
13294
13295 [BZ #22657]
13296 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
13297 before the day number which may produce a double space.
13298 (date_fmt): Likewise.
13299
13300 2018-01-12 Joseph Myers <joseph@codesourcery.com>
13301
13302 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
13303 instead of fegetenv.
13304
13305 2018-01-11 Joseph Myers <joseph@codesourcery.com>
13306
13307 [BZ #22702]
13308 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
13309 comment to say exceptions are discarded.
13310 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
13311 __fegetenv.
13312 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
13313 be enabled.
13314
13315 2018-01-11 Florian Weimer <fweimer@redhat.com>
13316
13317 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
13318 and error message.
13319
13320 2018-01-11 Florian Weimer <fweimer@redhat.com>
13321
13322 [BZ #22636]
13323 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
13324 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
13325
13326 2018-01-10 Joseph Myers <joseph@codesourcery.com>
13327
13328 [BZ #22693]
13329 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
13330 negative arguments in test for NaN or infinity argument.
13331
13332 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
13333
13334 * po/libc.pot: Regenerate.
13335
13336 2018-01-10 Florian Weimer <fweimer@redhat.com>
13337
13338 [BZ #22636]
13339 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
13340 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
13341
13342 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13343
13344 * hurd/hurd/fd.h: Include <fcntl.h>
13345 (__hurd_at_flags): New function.
13346 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
13347 with call to __hurd_at_flags.
13348 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
13349 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
13350 __faccessat
13351 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
13352 (__access_noerrno): Use __faccessat_common instead of access_common.
13353 (__access): Likewise.
13354 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
13355 with a call to __faccessat.
13356 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
13357 (__faccessat_common): ... this. Move implementation of __access into it when
13358 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
13359 reauthenticate_cwdir_at helper to implement AT mechanism.
13360 (__faccessat_noerrno): New function, just calls __faccessat_common.
13361 (__faccessat): New function, just calls __faccessat_common.
13362 (faccessat): Define weak alias.
13363
13364 2018-01-10 Joseph Myers <joseph@codesourcery.com>
13365
13366 [BZ #22691]
13367 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13368 (CFLAGS-s_fmaxmagl.c): New variable.
13369 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
13370
13371 [BZ #22690]
13372 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
13373 long int for arguments of possibly overflowing addition or
13374 subtraction.
13375 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13376
13377 2018-01-09 Joseph Myers <joseph@codesourcery.com>
13378
13379 [BZ #22688]
13380 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13381 (CFLAGS-e_remainderl.c): New variable.
13382
13383 [BZ #22687]
13384 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
13385 variable.
13386 (CFLAGS-s_cacoshl.c): Likewise.
13387 (CFLAGS-s_casinhl.c): Likewise.
13388 (CFLAGS-s_catanl.c): Likewise.
13389 (CFLAGS-s_catanhl.c): Likewise.
13390 (CFLAGS-s_cexpl.c): Likewise.
13391 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
13392 (CFLAGS-s_csinhl.c): Likewise.
13393 (CFLAGS-s_clogl.c): Likewise.
13394 (CFLAGS-s_clog10l.c): Likewise.
13395 (CFLAGS-s_csinl.c): Likewise.
13396 (CFLAGS-s_csqrtl.c): Likewise.
13397
13398 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
13399 2017-01-09 Svante Signell <svante.signell@gmail.com>
13400
13401 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
13402 (_hurd_exec_paths): New function.
13403 * hurd/hurd.h (_hurd_exec): Deprecate function.
13404 (_hurd_exec_paths): Declare function.
13405 * hurd/Versions: Export _hurd_exec_paths.
13406 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
13407 (__execve): Use __getcwd to build absolute path, and use
13408 _hurd_exec_paths instead of _hurd_exec.
13409 * sysdeps/mach/hurd/spawni.c: Likewise.
13410 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
13411 _hurd_exec.
13412
13413 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
13414
13415 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
13416 test instead of failing in case of ENOENT returned by posix_openpt.
13417
13418 2018-01-08 Florian Weimer <fweimer@redhat.com>
13419
13420 resolv: Support binary labels in test framework.
13421 * support/resolv_test.c (struct to_be_freed): Remove.
13422 (struct compressed_name): New.
13423 (allocate_compressed_name, ascii_tolower)
13424 (compare_compressed_name): New functions.
13425 (struct resolv_response_builder): Update type of
13426 compression_offsets for use with tsearch. Rempve to_be_freed.
13427 (response_push_pointer_to_free): Remove function.
13428 (resolv_response_add_name): Rewrite using struct compressed_name
13429 and tsearch instead of hsearch_r.
13430 (response_builder_allocate): Remove initialization of
13431 compression_offsets.
13432 (response_builder_free): Update for removal of to_be_freed. Use
13433 tdestroy instead of hdestroy_r.
13434 * resolv/Makefile (tests): Add tst-resolv-binary.
13435 (tst-resolv-binary): Link with -lresolv -lpthread.
13436
13437 2018-01-08 Florian Weimer <fweimer@redhat.com>
13438
13439 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
13440 time. Pass positive flag instead of negative flag to
13441 support_test_compare_failure.
13442 (support_test_compare_failure): Change negative parameter to
13443 positive.
13444 * support/support_test_compare_failure.c (report)
13445 (support_test_compare_failure): Likewise.
13446 * support/tst-test_compare.c (return_ssize_t, return_int): New.
13447 (do_test): Check int/size_t, ssize_t/size_t comparisons.
13448
13449 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
13450
13451 [BZ #22637]
13452 * nptl/descr.h (stackblock, stackblock_size): Update comments.
13453 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
13454 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
13455 stacksize.
13456 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
13457
13458 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
13459
13460 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13461 Add s_sincosf-sse2 and s_sincosf-fma.
13462 (CFLAGS-s_sincosf-fma.c): New.
13463 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
13464 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
13465 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
13466 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
13467 __sincosf is defined.
13468
13469 2018-01-08 Florian Weimer <fweimer@redhat.com>
13470
13471 * nptl/tst-thread-exit-clobber.cc: New file.
13472 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
13473 C++11 mode.
13474 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
13475 (tests): Add tst-thread-exit-clobber.
13476 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
13477
13478 2018-01-08 Florian Weimer <fweimer@redhat.com>
13479
13480 * support/check.h (support_static_assert): Define.
13481 (TEST_COMPARE): Use it.
13482
13483 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
13484
13485 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
13486 [!__RLIM_T_MATCHES_RLIM64_T]
13487 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
13488 __getrlimit64. Add libc_hidden_weak.
13489
13490 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
13491
13492 * elf/elf.h (R_RISCV_NONE): New define.
13493 (R_RISCV_32): Likewise.
13494 (R_RISCV_64): Likewise.
13495 (R_RISCV_RELATIVE): Likewise.
13496 (R_RISCV_COPY): Likewise.
13497 (R_RISCV_JUMP_SLOT): Likewise.
13498 (R_RISCV_TLS_DTPMOD32): Likewise.
13499 (R_RISCV_TLS_DTPMOD64): Likewise.
13500 (R_RISCV_TLS_DTPREL32): Likewise.
13501 (R_RISCV_TLS_DTPREL64): Likewise.
13502 (R_RISCV_TLS_TPREL32): Likewise.
13503 (R_RISCV_TLS_TPREL64): Likewise.
13504 * Makerules (make-link-multidir): Make directories before linking into
13505 them.
13506 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
13507 define.
13508 (VDSO_HASH_LINUX_4_15): Likewise.
13509 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
13510 in subdirectories of lib.
13511 * nptl/Makefile (/librt.so): Always depend on
13512 "$(shared-thread-library)".
13513
13514 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13515
13516 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
13517 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
13518 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
13519 (___tls_get_addr).
13520 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
13521 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
13522 "-O2 -march=i686".
13523 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
13524 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
13525 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
13526 * sysdeps/gnu/glob-lstat-compat.c: New file.
13527 * sysdeps/gnu/glob64-lstat-compat.c: New file.
13528 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
13529
13530 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13531
13532 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
13533 Reserve 16 chars to reloc_addr before calling _itoa_word.
13534
13535 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
13536
13537 [BZ #22678]
13538 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
13539 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
13540
13541 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
13542 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
13543
13544 * resource/tst-getrlimit.c: Add copyright header.
13545
13546 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
13547 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13548
13549 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
13550 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
13551 Define __GI_getrlimit64 as weak alias of __getrlimit64.
13552 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
13553 instead.
13554 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
13555 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
13556 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
13557 RLIM64_INFINITY): Fix values to match the kernel ones.
13558 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
13559 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
13560 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
13561 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
13562 getrlimit64@@GLIBC_2_27.
13563 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
13564 and setrlimit64.
13565 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
13566 getrlimit, setrlimit, getrlimit64 and setrlimit64.
13567 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
13568 setrlimit, getrlimit64 and setrlimit64.
13569
13570 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
13571
13572 [BZ #22648]
13573 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
13574 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
13575
13576 2018-01-04 Joseph Myers <joseph@codesourcery.com>
13577
13578 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
13579 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
13580 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
13581
13582 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13583
13584 [BZ #15479]
13585 [BZ #22666]
13586 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
13587 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
13588
13589 [BZ #15479]
13590 [BZ #22665]
13591 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
13592 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
13593 * sysdeps/alpha/fpu/s_floor.c: Likewise.
13594 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
13595
13596 2018-01-04 Florian Weimer <fweimer@redhat.com>
13597
13598 [BZ #22667]
13599 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13600 Align the stack before calling exit.
13601 * stdlib/tst-makecontext-align.c: New file.
13602 * stdlib/Makefile (tests): Add tst-makecontext-align.
13603
13604 2018-01-04 Florian Weimer <fweimer@redhat.com>
13605
13606 Add support for calling dlvsym from libc.so.
13607 * include/dlfcn.h (__libc_dlvsym): Declare.
13608 * elf/Makefile (tests-static-internal): Add
13609 tst-libc_dlvsym-static.
13610 (tests-internal): Add tst-libc_dlvsym.
13611 (modules-names): Add tst-libc_dlvsym-dso.
13612 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
13613 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
13614 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
13615 object tst-libc_dlvsym-dso.so needs to be built before running
13616 these tests.
13617 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
13618 * elf/Versions: Export __libc_dlvsym.
13619 * elf/dl-libc.c (struct do_dlvsym_args): New.
13620 (do_dlvsym, __libc_dlvsym): New functions.
13621 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
13622 (_dl_open_hook2): New variable.
13623 (__libc_register_dl_open_hook): Set it.
13624 * elf/tst-libc_dlvsym-dso.c: New file.
13625 * elf/tst-libc_dlvsym-static.c: Likewise.
13626 * elf/tst-libc_dlvsym.c: Likewise.
13627 * elf/tst-libc_dlvsym.h: Likewise.
13628
13629 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13630
13631 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
13632 include <sys/mount.h>.
13633
13634 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
13635
13636 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
13637 Add __NO_MATH_ERRNO__ check.
13638
13639 2018-01-02 Joseph Myers <joseph@codesourcery.com>
13640
13641 * sysdeps/mips/mips32/libm-test-ulps: Update.
13642 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13643
13644 2018-01-02 Florian Weimer <fweimer@redhat.com>
13645
13646 * misc/tst-pselect.c: Add copyright header.
13647
13648 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
13649
13650 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
13651 comment.
13652 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
13653 comment.
13654 (settrlimit): Rename into setrlimit.
13655 (__sttrlimit): Rename into __setrlimit.
13656
13657 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
13658 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
13659 never defined in that case.
13660
13661 2018-01-02 Joseph Myers <joseph@codesourcery.com>
13662
13663 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
13664
13665 * sysdeps/arm/libm-test-ulps: Update.
13666
13667 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
13668 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
13669
13670 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13671
13672 * NEWS: Add cosf and sincosf to list of optimized functions.
13673
13674 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
13675
13676 [BZ #22660]
13677 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
13678 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
13679 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
13680 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
13681
13682 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
13683
13684 [BZ #22433]
13685 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
13686
13687 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
13688 making a copy of it.
13689
13690 2018-01-01 Joseph Myers <joseph@codesourcery.com>
13691
13692 * manual/texinfo.tex: Update to version 2017-12-26.21 with
13693 trailing whitespace removed.
13694 * scripts/config.guess: Update to version 2018-01-01.
13695 * scripts/config.sub: Update to version 2018-01-01.
13696 * scripts/move-if-change: Update from gnulib.
13697
13698 * NEWS: Update copyright dates.
13699 * catgets/gencat.c (print_version): Likewise.
13700 * csu/version.c (banner): Likewise.
13701 * debug/catchsegv.sh: Likewise.
13702 * debug/pcprofiledump.c (print_version): Likewise.
13703 * debug/xtrace.sh (do_version): Likewise.
13704 * elf/ldconfig.c (print_version): Likewise.
13705 * elf/ldd.bash.in: Likewise.
13706 * elf/pldd.c (print_version): Likewise.
13707 * elf/sotruss.sh: Likewise.
13708 * elf/sprof.c (print_version): Likewise.
13709 * iconv/iconv_prog.c (print_version): Likewise.
13710 * iconv/iconvconfig.c (print_version): Likewise.
13711 * locale/programs/locale.c (print_version): Likewise.
13712 * locale/programs/localedef.c (print_version): Likewise.
13713 * login/programs/pt_chown.c (print_version): Likewise.
13714 * malloc/memusage.sh (do_version): Likewise.
13715 * malloc/memusagestat.c (print_version): Likewise.
13716 * malloc/mtrace.pl: Likewise.
13717 * manual/libc.texinfo: Likewise.
13718 * nptl/version.c (banner): Likewise.
13719 * nscd/nscd.c (print_version): Likewise.
13720 * nss/getent.c (print_version): Likewise.
13721 * nss/makedb.c (print_version): Likewise.
13722 * posix/getconf.c (main): Likewise.
13723 * scripts/test-installation.pl: Likewise.
13724 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13725
13726 * All files with FSF copyright notices: Update copyright dates
13727 using scripts/update-copyrights.
13728 * locale/programs/charmap-kw.h: Regenerated.
13729 * locale/programs/locfile-kw.h: Likewise.
13730
13731 2017-12-31 Zack Weinberg <zackw@panix.com>
13732
13733 * libio/bits/libio-ldbl.h: Correct check for improper
13734 inclusion. Add own multiple include guard.
13735
13736 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
13737 Dmitry V. Levin <ldv@altlinux.org>
13738
13739 [BZ #22625]
13740 CVE-2017-16997
13741 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
13742 string token expansion. Check for NULL pointer or empty string possibly
13743 returned by expand_dynamic_string_token.
13744 (decompose_rpath): Check for empty path after dynamic string
13745 token expansion.
13746
13747 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
13748
13749 [BZ #22433]
13750 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
13751
13752 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
13753 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
13754 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
13755 and PTRACE_SYSCALL.
13756 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
13757 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13758 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13759 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13760 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13761 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
13762
13763 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
13764 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
13765 __ptrace_peeksiginfo_flags, ptrace): Move to ...
13766 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
13767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13768 bits/ptrace-shared.h.
13769 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
13770 <bits/ptrace-shared.h>.
13771 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
13772 __ptrace_peeksiginfo_flags, ptrace): Remove.
13773 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13774 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13775 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13776 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13777 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
13778
13779 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
13780
13781 [BZ #17804]
13782 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
13783 end of the loop. Improve comments.
13784
13785 2017-12-29 Zack Weinberg <zackw@panix.com>
13786
13787 [BZ #22615]
13788 * manual/errno.texi (Checking for Errors): Explicitly say that errno
13789 might be set on success.
13790
13791 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
13792
13793 [BZ #22611]
13794 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
13795 is unchanged on success.
13796
13797 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
13798
13799 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
13800 updated.
13801 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
13802 expand_dynamic_string_token): Likewise.
13803 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
13804 is_path argument.
13805
13806 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
13807 contains ':'.
13808
13809 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
13810 is set and name contains ':', and all code depending on these checks.
13811
13812 2017-12-24 Zack Weinberg <zackw@panix.com>
13813
13814 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
13815 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
13816 respectively.
13817 * libio/libio.h: Rename the original version of this file to
13818 libio/bits/libio.h. Error out if not included by stdio.h or the
13819 stub libio.h.
13820 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
13821 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
13822 if not included by bits/libio.h or the stub _G_config.h.
13823 * sysdeps/unix/sysv/linux/_G_config.h: Move to
13824 sysdeps/unix/sysv/linux/bits. Error out if not included by
13825 bits/libio.h or the stub _G_config.h.
13826 * libio/stdio.h: Include bits/libio.h, not libio.h.
13827 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
13828 well as libio.h and _G_config.h.
13829
13830 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
13831 * libio/strfile.h, stdio-common/vfscanf.c
13832 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
13833 Include stdio.h, not _G_config.h nor libio.h.
13834 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
13835 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
13836
13837 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
13838
13839 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
13840
13841 [BZ #22347]
13842 * stdlib/getrandom.c (getrandom): Fix comment.
13843 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
13844
13845 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
13846
13847 [BZ #21161]
13848 * manual/arith.texi (strtoul): Fix a typo.
13849
13850 [BZ #22596]
13851 * manual/arith.texi (finite): Fix the description of the return
13852 value.
13853
13854 2017-12-22 Eric Blake <ebb9@byu.net>
13855
13856 Avoid gcc warnings on cygwin
13857 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
13858 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
13859 Avoid unused variable.
13860
13861 2017-12-22 Florian Weimer <fweimer@redhat.com>
13862
13863 * io/Makefile (routines): Add copy_file_range.
13864 (tests): Add tst-copy_file_range.
13865 (tests-static, tests-internal): Add tst-copy_file_range-compat.
13866 * io/Versions (GLIBC_2.27): Export copy_file_range.
13867 * io/copy_file_range-compat.c: New file.
13868 * io/copy_file_range.c: Likewise.
13869 * io/tst-copy_file_range-compat.c: Likewise.
13870 * io/tst-copy_file_range.c: Likewise.
13871 * manual/llio.texi (Copying File Data): New section.
13872 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
13873 * support/Makefile (libsupport-routines): Add support-xfstat,
13874 xftruncate, xlseek.
13875 * support/support-xfstat.c: New file.
13876 * support/xftruncate.c: Likewise.
13877 * support/xlseek.c: Likewise.
13878 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
13879 * sysdeps/unix/sysv/linux/**.abilist: Update.
13880 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
13881
13882 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
13883
13884 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13885 disable-multi-arch variant to aarch64-linux-gnu.
13886
13887 2017-12-20 Joseph Myers <joseph@codesourcery.com>
13888
13889 * manual/texinfo.tex: Update to version 2017-12-18.20 with
13890 trailing whitespace removed.
13891 * scripts/config.guess: Update to version 2017-12-17.
13892 * scripts/config.sub: Update to version 2017-11-23.
13893 * scripts/install-sh: Update to version 2017-09-23.17.
13894 * scripts/move-if-change: Update to version 2017-09-13 06:45.
13895
13896 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13897
13898 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
13899 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
13900 * sysdeps/tile/_mcount.S (__mcount): Likewise.
13901 * sysdeps/tile/crti.S (_init, _fini): Likewise.
13902 * sysdeps/tile/crtn.S: Likewise.
13903 * sysdeps/tile/dl-start.S (_start): Likewise.
13904 * sysdeps/tile/dl-trampoline.S: Likewise.
13905 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13906 * sysdeps/tile/start.S (_start): Likewise.
13907 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
13908 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
13909 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
13910 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
13911 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
13912 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
13913 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
13914
13915 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
13916 comment.
13917 * sysdeps/tile/preconfigure: Remove tilegx folder.
13918 * sysdeps/tile/tilegx/Implies: Move definitions to ...
13919 * sysdeps/tile/Implies: ... here.
13920 * sysdeps/tile/tilegx/Makefile: Move rules to ...
13921 * sysdeps/tile/Makefile: ... here.
13922 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
13923 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
13924 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
13925 * sysdeps/tile/bits/wordsize.h: ... here.
13926 * sysdeps/tile/tilegx/*: Move to ...
13927 * sysdeps/tile/*: ... here.
13928 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
13929 * sysdeps/tile/tilegx32/Implies: ... here.
13930 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
13931 * sysdeps/tile/tilegx64/Implies: ... here.
13932 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
13933 to ...
13934 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
13935 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
13936 * sysdeps/unix/sysv/linux/tile/*: ... here.
13937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
13938 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
13939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
13940 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
13941
13942 * README: Remove tilepro-*-linux-gnu from supported architecture.
13943 * scripts/build-many-glibcs.py: Likewise.
13944 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
13945 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
13946 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
13947 elf_machine_matches_host, elf_machine_dynamic,
13948 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
13949 howto, elf_machine_rela): Likewise.
13950 * sysdeps/tile/dl-start.S (_start): Likewise.
13951 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
13952 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
13953 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
13954 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
13955 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
13956 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
13957 Likewise.
13958 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
13959 * sysdeps/tile/preconfigure: Likewise.
13960 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
13961 POINTER_CHK_GUARD): Likewise.
13962 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
13963 * sysdeps/tile/start.S (_start): Likewise.
13964 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
13965 Likewise.
13966 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
13967 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
13968 CMOVNEZ): Remove.
13969 * sysdeps/unix/sysv/linux/tile/bits/environments.h
13970 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
13971 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
13972 Likewise.
13973 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
13974 * sysdeps/tile/tilepro/Implies: Remove file.
13975 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
13976 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
13977 * sysdeps/tile/tilepro/memchr.c: Likewise.
13978 * sysdeps/tile/tilepro/memcpy.S: Likewise.
13979 * sysdeps/tile/tilepro/memset.c: Likewise.
13980 * sysdeps/tile/tilepro/memusage.h: Likewise.
13981 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
13982 * sysdeps/tile/tilepro/strchr.c: Likewise.
13983 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
13984 * sysdeps/tile/tilepro/strlen.c: Likewise.
13985 * sysdeps/tile/tilepro/strrchr.c: Likewise.
13986 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
13987 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
13988 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
13989 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13990 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
13991 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
13992 Likewise.
13993 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
13994 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13995 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
13996 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
13997 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13998 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
13999 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
14000 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
14001 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
14002 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
14003 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
14004 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
14005 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
14006 tilepro mention in comment.
14007
14008 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
14009 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
14010 * nptl/pthread_join_common.c: New file: common function used on
14011 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
14012 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
14013 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
14014 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
14015 (cleanup): Move definition to pthread_join_common.c.
14016 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
14017 Remove superflous checks.
14018 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
14019 Likewise.
14020
14021 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
14022
14023 * sysdeps/aarch64/libm-test-ulps: Update.
14024
14025 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14026
14027 * sysdeps/aarch64/memset.S (MEMSET): Define.
14028
14029 2017-12-20 Florian Weimer <fweimer@redhat.com>
14030
14031 [BZ #22635]
14032 nptl: Provide full implementation of pthread_self in libc.so.
14033 * nptl/Makefile (routines): Add pthread_self.
14034 (libpthread-routines): Replace pthread_self with
14035 compat-pthread_self.
14036 * nptl/forward.c (pthread_self): Remove.
14037 * nptl/nptl-init.c (pthread_functions): Do not initialize
14038 ptr_pthread_self.
14039 * nptl/pthread_self.c (pthread_self): Remove weak alias.
14040 * nptl/compat-pthread_self.c: New file.
14041 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
14042 Remove ptr_pthread_self.
14043
14044 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
14045
14046 * posix/regcomp.c: Fix spelling in comments.
14047 * posix/regex.h: Likewise.
14048 * posix/regex_internal.c: Likewise.
14049 * posix/regexec.c: Likewise.
14050
14051 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14052
14053 [BZ #22377]
14054 * math/Makefile [C++] (tests): Add test for iseqsig.
14055 * math/math.h [C++] (iseqsig): New implementation, which does
14056 not rely on __MATH_TG/__builtin_types_compatible_p.
14057 * math/test-math-iseqsig.cc: New file.
14058 * sysdeps/powerpc/powerpc64le/Makefile
14059 (CFLAGS-test-math-iseqsig.cc): New variable.
14060
14061 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
14062
14063 * elf/dl-load.c (is_trusted_path): Remove.
14064 (fillin_rpath): Remove check_trusted argument and its use,
14065 all callers changed.
14066
14067 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14068
14069 [BZ #22630]
14070 * Makeconfig (link-pie-before-libc): Replace -pie with
14071 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
14072 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
14073 (tst-dlopen-aout-no-pie): New.
14074 (LDFLAGS-tst-prelink): Removed.
14075 (tst-prelink-no-pie): New.
14076 (LDFLAGS-tst-main1): Removed.
14077 (tst-main1-no-pie): New.
14078 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
14079 (tst-gmon-no-pie): New.
14080
14081 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14082
14083 * manual/install.texi: Document that --enable-static-pie
14084 implies PIE.
14085 * INSTALL: Regenerated.
14086
14087 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
14088
14089 [BZ #21309]
14090 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
14091 unsigned.
14092
14093 2017-12-19 Joseph Myers <joseph@codesourcery.com>
14094
14095 Revert:
14096
14097 2017-12-19 Joseph Myers <joseph@codesourcery.com>
14098
14099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14100
14101 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14102
14103 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
14104 <errno.h>. Include "eexp.tbl".
14105 (half): New constant.
14106 (one): Likewise.
14107 (__ieee754_exp): Rewrite.
14108 (__slowexp): Remove prototype.
14109 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
14110 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
14111 * sysdeps/i386/fpu/slowexp.c: Likewise.
14112 * sysdeps/ia64/fpu/slowexp.c: Likewise.
14113 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
14114 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
14115 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
14116 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14117 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
14118 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
14119 comment.
14120 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
14121 (CPPFLAGS-slowexp.c): Remove variable.
14122 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14123 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
14124 (CFLAGS-slowexp-fma.c): Remove variable.
14125 (CFLAGS-slowexp-fma4.c): Likewise.
14126 (CFLAGS-slowexp-avx.c): Likewise.
14127 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
14128 define as macro.
14129 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
14130 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
14131 * math/Makefile (type-double-routines): Remove slowexp.
14132 * manual/probes.texi (slowexp_p6): Remove.
14133 (slowexp_p32): Likewise.
14134
14135 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14136
14137 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
14138 arithmetic.
14139
14140 * lib/glob.c (glob): Do not pass NULL to mempcpy.
14141
14142 2017-12-19 Joseph Myers <joseph@codesourcery.com>
14143
14144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14145
14146 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14147
14148 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
14149 <errno.h>. Include "eexp.tbl".
14150 (half): New constant.
14151 (one): Likewise.
14152 (__ieee754_exp): Rewrite.
14153 (__slowexp): Remove prototype.
14154 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
14155 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
14156 * sysdeps/i386/fpu/slowexp.c: Likewise.
14157 * sysdeps/ia64/fpu/slowexp.c: Likewise.
14158 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
14159 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
14160 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
14161 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14162 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
14163 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
14164 comment.
14165 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
14166 (CPPFLAGS-slowexp.c): Remove variable.
14167 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14168 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
14169 (CFLAGS-slowexp-fma.c): Remove variable.
14170 (CFLAGS-slowexp-fma4.c): Likewise.
14171 (CFLAGS-slowexp-avx.c): Likewise.
14172 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
14173 define as macro.
14174 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
14175 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
14176 * math/Makefile (type-double-routines): Remove slowexp.
14177 * manual/probes.texi (slowexp_p6): Remove.
14178 (slowexp_p32): Likewise.
14179
14180 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14181 James Clarke <jrtc27@jrtc27.com>
14182
14183 [BZ #22603]
14184 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
14185 addition.
14186
14187 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14188
14189 [BZ #22605]
14190 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
14191 code.
14192
14193 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14194
14195 [BZ #22563]
14196 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14197 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
14198 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14199 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
14200 to feature_1.
14201
14202 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14203
14204 [BZ #22563]
14205 * bits/types/__cancel_jmp_buf_tag.h: New file.
14206 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
14207 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
14208 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
14209 * nptl/Makefile (headers): Add
14210 bits/types/__cancel_jmp_buf_tag.h.
14211 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
14212 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
14213 * sysdeps/nptl/pthread.h: Include
14214 <bits/types/__cancel_jmp_buf_tag.h>.
14215 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
14216 __cancel_jmp_buf.
14217 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
14218
14219 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
14220
14221 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
14222 --enable-static-pie variants to x86_64, x32 and i686.
14223
14224 2017-12-19 Joseph Myers <joseph@codesourcery.com>
14225
14226 [BZ #22631]
14227 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
14228 argument for attrubutes. All callers changed.
14229 (__inline_mathop1): Likewise. All callers changed.
14230 (__inline_mathop): Likewise. All callers changed.
14231 [__USE_MISC] (scalbn): Use __inline_forward instead of
14232 __inline_forward_c.
14233 [__USE_ISOC99] (scalbln): Likewise.
14234 [__USE_ISOC99] (nearbyint): Likewise.
14235 [__USE_ISOC99] (lrint): Likewise.
14236 [__USE_MISC] (scalbnf): Likewise.
14237 [__USE_ISOC99] (scalblnf): Likewise.
14238 [__USE_ISOC99] (nearbyintf): Likewise.
14239 [__USE_ISOC99] (lrintf): Likewise.
14240 [__USE_MISC] (scalbnl): Likewise.
14241 [__USE_ISOC99] (scalblnl): Likewise.
14242 [__USE_ISOC99] (nearbyintl): Likewise.
14243 [__USE_ISOC99] (lrintl): Likewise.
14244 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
14245 __inline_mathop and __m81_defun changed.
14246
14247 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
14248 CPU or FPU for ARM hard-float configurations.
14249
14250 2017-12-18 Joseph Myers <joseph@codesourcery.com>
14251
14252 * nptl/tst-attr3.c: Include <libc-diag.h>.
14253 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
14254
14255 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
14256
14257 * string/tester.c (test_strncat): Also disable -Warray-bounds
14258 warnings for two tests.
14259
14260 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
14261
14262 [BZ #22614]
14263 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
14264 $(cc-pie-default) == yes.
14265 * config.make.in (cc-pie-default): New.
14266 * configure.ac (libc_cv_pie_default): Renamed to ...
14267 (libc_cv_cc_pie_default): This.
14268 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
14269 * configure: Regenerated.
14270
14271 2017-12-18 Florian Weimer <fweimer@redhat.com>
14272
14273 [BZ #20204]
14274 ld.so: Harden dl-libc/libdl hooks.
14275 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
14276 (rtld_active): New function.
14277 * dlfcn/dladdr.c (__dladdr): Call it.
14278 * dlfcn/dladdr1.c (__dladdr1): Likewise.
14279 * dlfcn/dlclose.c (__dlcose): Likewise.
14280 * dlfcn/dlerror.c (__dlerror): Likewise.
14281 * dlfcn/dlinfo.c (__dlinfo): Likewise.
14282 * dlfcn/dlmopen.c (__dlmopen): Likewise.
14283 * dlfcn/dlopen.c (__dlopen): Likewise.
14284 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14285 * dlfcn/dlsym.c (__dlsym): Likewise.
14286 * dlfcn/dlvsym.c (__dlvsym): Likewise.
14287 * libio/vtables.c (_IO_vtable_check): Likewise.
14288 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
14289 (__libc_dlclose): Likewise.
14290 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
14291 assignment.
14292
14293 2017-12-18 Joseph Myers <joseph@codesourcery.com>
14294
14295 [BZ #22446]
14296 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
14297 buffers for readlink input and output.
14298
14299 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
14300
14301 [BZ #22624]
14302 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
14303 inhibit_stack_protector.
14304
14305 [BZ #22624]
14306 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
14307 inhibit_stack_protector.
14308
14309 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
14310
14311 [BZ #22627]
14312 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
14313 code and invocation.
14314
14315 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
14316
14317 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
14318
14319 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
14320
14321 [BZ #22505]
14322 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
14323
14324 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14325
14326 * sysdeps/s390/fpu/libm-test-ulps: Update.
14327
14328 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14329
14330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14331
14332 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14333
14334 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
14335 constants to s_sincosf.h file.
14336 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14337 * sysdeps/ieee754/flt-32/s_sincosf.c: New
14338 implementation.
14339 * sysdeps/ieee754/flt-32/s_sincosf.h:
14340 New file.
14341
14342 2017-12-12 Carlos O'Donell <carlos@redhat.com>
14343
14344 [BZ #14681]
14345 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
14346 before mtrace.
14347
14348 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
14349
14350 [BZ #19574]
14351 * INSTALL: Regenerated.
14352 * Makeconfig (real-static-start-installed-name): New.
14353 (pic-default): Updated for --enable-static-pie.
14354 (pie-default): New for --enable-static-pie.
14355 (default-pie-ldflag): Likewise.
14356 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
14357 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
14358 Replace $(static-start-installed-name) with
14359 $(real-static-start-installed-name).
14360 (+prectorT): Updated for --enable-static-pie.
14361 (+postctorT): Likewise.
14362 (CFLAGS-.o): Add $(pie-default).
14363 (CFLAGS-.op): Likewise.
14364 * NEWS: Mention --enable-static-pie.
14365 * config.h.in (ENABLE_STATIC_PIE): New.
14366 * configure.ac (--enable-static-pie): New configure option.
14367 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
14368 (have-static-pie): Likewise.
14369 Enable static PIE if linker supports --no-dynamic-linker.
14370 (ENABLE_STATIC_PIE): New AC_DEFINE.
14371 (enable-static-pie): New LIBC_CONFIG_VAR.
14372 * configure: Regenerated.
14373 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
14374 gr$(start-installed-name) for --enable-static-pie.
14375 (extra-objs): Likewise.
14376 (install-lib): Likewise.
14377 (extra-objs): Add static-reloc.o and static-reloc.os
14378 ($(objpfx)$(start-installed-name)): Also depend on
14379 $(objpfx)static-reloc.o.
14380 ($(objpfx)r$(start-installed-name)): New.
14381 ($(objpfx)g$(start-installed-name)): Also depend on
14382 $(objpfx)static-reloc.os.
14383 ($(objpfx)gr$(start-installed-name)): New.
14384 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
14385 in libc.a.
14386 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
14387 initimage.
14388 * csu/static-reloc.c: New file.
14389 * elf/Makefile (routines): Add dl-reloc-static-pie.
14390 (elide-routines.os): Likewise.
14391 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
14392 (tst-tls1-static-non-pie-no-pie): New.
14393 * elf/dl-reloc-static-pie.c: New file.
14394 * elf/dl-support.c (_dl_get_dl_main_map): New function.
14395 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
14396 STATIC_PIE_BOOTSTRAP.
14397 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
14398 * gmon/Makefile (tests): Add tst-gmon-static-pie.
14399 (tests-static): Likewise.
14400 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
14401 (tst-gmon-static-no-pie): New.
14402 (CFLAGS-tst-gmon-static-pie.c): Likewise.
14403 (CRT-tst-gmon-static-pie): Likewise.
14404 (tst-gmon-static-pie-ENV): Likewise.
14405 (tests-special): Likewise.
14406 ($(objpfx)tst-gmon-static-pie.out): Likewise.
14407 (clean-tst-gmon-static-pie-data): Likewise.
14408 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
14409 * gmon/tst-gmon-static-pie.c: New file.
14410 * manual/install.texi: Document --enable-static-pie.
14411 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
14412 (_dl_get_dl_main_map): Likewise.
14413 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
14414 * sysdeps/x86_64/configure.ac: Likewise.
14415 * sysdeps/i386/configure: Regenerated.
14416 * sysdeps/x86_64/configure: Likewise.
14417 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
14418 (ASFLAGS-.op): Likewise.
14419
14420 2017-12-15 Joseph Myers <joseph@codesourcery.com>
14421
14422 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
14423 * posix/tst-mmap-offset.c (fname): Use /tmp.
14424 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
14425
14426 2017-12-15 Steve Ellcey <sellcey@cavium.com>
14427
14428 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
14429
14430 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
14431
14432 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
14433 errno.
14434
14435 2017-12-15 Joseph Myers <joseph@codesourcery.com>
14436
14437 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14438 --with-float=hard for arm-linux-gnueabihf configurations.
14439
14440 [BZ #14121]
14441 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
14442 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
14443 ($(mo-installed)): Use $(objpfx)%.mo.
14444 (realclean): Remove rule.
14445
14446 * po/Makefile (linguas): Remove rule and dependencies.
14447 (linguas.mo): Likewise.
14448 (.PHONY): Do not depend on linguas and linguas.mo.
14449 (podir): Remove variable.
14450 (pofiles): Likewise.
14451 [$(pofiles)] (%.po): Remove rule.
14452
14453 * sysdeps/sparc/sparc32/Makefile
14454 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
14455 start-of-line whitespace in argument of echo.
14456 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
14457 with whitespace. Generate __wrap_.udiv alias.
14458 * sysdeps/sparc/sparc32/rem.S: Regenerated.
14459 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14460 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14461 * sysdeps/sparc/sparc32/urem.S: Likewise.
14462
14463 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14464
14465 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
14466 for aligned inputs.
14467
14468 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14469
14470 * benchtests/bench-strcmp.c: Print output in JSON format.
14471
14472 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
14473
14474 2017-12-14 Florian Weimer <fweimer@redhat.com>
14475
14476 [BZ #22607]
14477 CVE-2017-1000409
14478 * elf/dl-load.c (_dl_init_paths): Compute number of components in
14479 the expanded path string.
14480
14481 2017-12-14 Florian Weimer <fweimer@redhat.com>
14482
14483 [BZ #22606]
14484 CVE-2017-1000408
14485 * elf/dl-load.c (system_dirs): Update comment.
14486 (nsystem_dirs_len): Use array_length.
14487 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
14488
14489 2017-12-14 Florian Weimer <fweimer@redhat.com>
14490
14491 Simplify compiling most of support/ outside of glibc.
14492 * support/check_addrinfo.c: Include <string.h>.
14493 * support/check_dns_packet.c: Likewise.
14494 * support/check_hostent.c: Likewise.
14495 * support/support_can_chroot.c: Include <support/xunistd.h>.
14496 * support/support_format_addrinfo.c: Include <stdlib.h>
14497 * support/support_format_dns_packet.c: Include <stdbool.h>.
14498 * support/support_format_hostent.c: Include <stdlib.h>.
14499 * support/support_format_netent.c: Likewise.
14500 * support/support_write_string.c: Include <support/xunistd.h>.
14501 * support/xdlfcn.c: Include <stddef.h>.
14502
14503 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
14504
14505 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
14506
14507 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14508 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14509
14510 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
14511 (sysdeps_routines): Add memset-niagara7.
14512 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
14513 Likewise.
14514 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
14515 file.
14516 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
14517 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
14518 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
14519 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
14520 Add niagara7 option.
14521 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
14522 memset.
14523
14524 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
14525 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
14526 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
14527 Likewise.
14528 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
14529 New file.
14530 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
14531 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
14532 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
14533 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
14534 and __memmove_niagara7.
14535 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
14536 Add niagara7 option.
14537 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
14538 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
14539 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
14540 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
14541 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
14542
14543 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
14544
14545 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
14546 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
14547 * sysdeps/sparc/sparc64/memmove.S: Likewise.
14548 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
14549
14550 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
14551 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
14552 _dl_sparc_cap_flags array.
14553 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
14554
14555 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14556
14557 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
14558 time whenever possible.
14559
14560 2017-12-12 Carlos O'Donell <carlos@redhat.com>
14561
14562 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
14563 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
14564
14565 2017-12-12 Joseph Myers <joseph@codesourcery.com>
14566
14567 * soft-fp/fmadf4.c: Move to ....
14568 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
14569 * soft-fp/fmasf4.c: Move to ....
14570 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
14571 * soft-fp/fmatf4.c: Move to ....
14572 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
14573 * sysdeps/ieee754/soft-fp/Makefile: New file.
14574 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
14575 * sysdeps/arm/preconfigure: Regenerated.
14576 * sysdeps/arm/nofpu/Implies: New file.
14577 * sysdeps/arm/s_fma.c: Remove file.
14578 * sysdeps/arm/s_fmaf.c: Likewise.
14579 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
14580 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
14581 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14582 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
14583 * sysdeps/microblaze/s_fma.c: Remove file.
14584 * sysdeps/microblaze/s_fmaf.c: Likewise.
14585 * sysdeps/mips/mips32/nofpu/Implies: New file.
14586 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
14587 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
14588 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
14589 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
14590 * sysdeps/mips/ieee754/s_fma.c: Remove file.
14591 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
14592 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
14593 implementation.
14594 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
14595 * sysdeps/nios2/s_fma.c: Remove file.
14596 * sysdeps/nios2/s_fmaf.c: Likewise.
14597 * sysdeps/sh/nofpu/Implies: New file.
14598 * sysdeps/sh/s_fma.c: Remove file.
14599 * sysdeps/sh/s_fmaf.c: Likewise.
14600 * sysdeps/tile/Implies: Add ieee754/soft-fp.
14601 * sysdeps/tile/s_fma.c: Remove file.
14602 * sysdeps/tile/s_fmaf.c: Likewise.
14603
14604 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
14605
14606 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14607 Add s_cosf-sse2 and s_cosf-fma.
14608 (CFLAGS-s_cosf-fma.c): New.
14609 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
14610 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
14611 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
14612
14613 2017-12-12 Steve Ellcey <sellcey@cavium.com>
14614
14615 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
14616
14617 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14618
14619 * libio/Makefile (tests): Add tst-bz22415.
14620 (tst-bz22415-ENV): New rule.
14621 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
14622 (tests-special): Add tst-bz22415-mem.out.
14623 ($(objpfx)tst-bz22415-mem.out): New rule.
14624 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
14625 in case of a successful seek operation.
14626 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14627 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
14628 buffer is required.
14629 * libio/tst-bz22415.c: New test.
14630
14631 * sysdeps/ia64/fpu/libm-test-ulps: Update.
14632
14633 2017-12-12 James Clarke <jrtc27@jrtc27.com>
14634
14635 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
14636 __IPC_64 to 0 to avoid IPC_64 being set.
14637
14638 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14639
14640 [BZ #22593]
14641 * math/bits/mathcalls.h (nextafter): Remove const.
14642 (nexttoward): Likewise.
14643
14644 2017-12-12 Joseph Myers <joseph@codesourcery.com>
14645
14646 * configure.ac (--with-fp): Remove configure option.
14647 (with_fp_cond): New variable.
14648 (libc_cv_with_fp): New configure test. Use this variable instead
14649 of with_fp.
14650 * configure: Regenerated.
14651 * config.make.in (with-fp): Use @libc_cv_with_fp@.
14652 * manual/install.texi (Configuring and compiling): Remove
14653 --without-fp.
14654 * INSTALL: Regenerated.
14655 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
14656 * sysdeps/mips/preconfigure (with_fp_cond): Define.
14657 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
14658 * sysdeps/sh/preconfigure (with_fp_cond): Define.
14659 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
14660 use --without-fp to configure glibc.
14661
14662 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
14663
14664 * manual/locale.texi (nl_langinfo): Fix a typo.
14665
14666 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
14667
14668 [BZ #22588]
14669 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
14670
14671 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
14672
14673 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
14674 (CFLAGS-argp-parse.c): Likewise.
14675 (CFLAGS-argp-fmtstream.c): Likewise.
14676 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
14677 (CPPFLAGS-sha512-crypt.c): Likewise.
14678 (CPPFLAGS-md5-crypt.c): Likewise.
14679 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
14680 (CFLAGS-stack_chk_fail_local.c): Likewise.
14681 (CFLAGS-backtrace.c): Likewise.
14682 (CFLAGS-sprintf_chk.c): Likewise.
14683 (CFLAGS-snprintf_chk.c): Likewise.
14684 (CFLAGS-vsprintf_chk.c): Likewise.
14685 (CFLAGS-vsnprintf_chk.c): Likewise.
14686 (CFLAGS-asprintf_chk.c): Likewise.
14687 (CFLAGS-vasprintf_chk.c): Likewise.
14688 (CFLAGS-obprintf_chk.c): Likewise.
14689 (CFLAGS-dprintf_chk.c): Likewise.
14690 (CFLAGS-vdprintf_chk.c): Likewise.
14691 (CFLAGS-printf_chk.c): Likewise.
14692 (CFLAGS-fprintf_chk.c): Likewise.
14693 (CFLAGS-vprintf_chk.c): Likewise.
14694 (CFLAGS-vfprintf_chk.c): Likewise.
14695 (CFLAGS-gets_chk.c): Likewise.
14696 (CFLAGS-fgets_chk.c): Likewise.
14697 (CFLAGS-fgets_u_chk.c): Likewise.
14698 (CFLAGS-fread_chk.c): Likewise.
14699 (CFLAGS-fread_u_chk.c): Likewise.
14700 (CFLAGS-swprintf_chk.c): Likewise.
14701 (CFLAGS-vswprintf_chk.c): Likewise.
14702 (CFLAGS-wprintf_chk.c): Likewise.
14703 (CFLAGS-fwprintf_chk.c): Likewise.
14704 (CFLAGS-vwprintf_chk.c): Likewise.
14705 (CFLAGS-vfwprintf_chk.c): Likewise.
14706 (CFLAGS-fgetws_chk.c): Likewise.
14707 (CFLAGS-fgetws_u_chk.c): Likewise.
14708 (CFLAGS-read_chk.c): Likewise.
14709 (CFLAGS-pread_chk.c): Likewise.
14710 (CFLAGS-pread64_chk.c): Likewise.
14711 (CFLAGS-recv_chk.c): Likewise.
14712 (CFLAGS-recvfrom_chk.c): Likewise.
14713 (CFLAGS-tst-longjmp_chk.c): Likewise.
14714 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
14715 (CFLAGS-tst-longjmp_chk2.c): Likewise.
14716 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
14717 (CFLAGS-tst-longjmp_chk3.c): Likewise.
14718 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14719 (CFLAGS-tst-chk1.c): Likewise.
14720 (CFLAGS-tst-chk2.c): Likewise.
14721 (CFLAGS-tst-chk3.c): Likewise.
14722 (CFLAGS-tst-chk4.cc): Likewise.
14723 (CFLAGS-tst-chk5.cc): Likewise.
14724 (CFLAGS-tst-chk6.cc): Likewise.
14725 (CFLAGS-tst-lfschk1.c): Likewise.
14726 (CFLAGS-tst-lfschk2.c): Likewise.
14727 (CFLAGS-tst-lfschk3.c): Likewise.
14728 (CFLAGS-tst-lfschk4.cc): Likewise.
14729 (CFLAGS-tst-lfschk5.cc): Likewise.
14730 (CFLAGS-tst-lfschk6.cc): Likewise.
14731 (CFLAGS-tst-ssp-1.c): Likewise.
14732 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
14733 (CFLAGS-scandir64.c): Likewise.
14734 (CFLAGS-scandir-tail.c): Likewise.
14735 (CFLAGS-scandir64-tail.c): Likewise.
14736 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
14737 (CFLAGS-dl-tunables.c): Likewise.
14738 (CFLAGS-dl-runtime.c): Likewise.
14739 (CFLAGS-dl-lookup.c): Likewise.
14740 (CFLAGS-dl-iterate-phdr.c): Likewise.
14741 (CFLAGS-vismain.c): Likewise.
14742 (CFLAGS-tst-linkall-static.c): Likewise.
14743 (CFLAGS-tst-linkall-static.c): Likewise.
14744 (CPPFLAGS-dl-load.c): Likewise.
14745 (CFLAGS-ldconfig.c): Likewise.
14746 (CFLAGS-dl-cache.c): Likewise.
14747 (CFLAGS-cache.c): Likewise.
14748 (CFLAGS-rtld.c): Likewise.
14749 (CFLAGS-multiload.c): Likewise.
14750 (CFLAGS-filtmod1.c): Likewise.
14751 (CFLAGS-tst-align.c): Likewise.
14752 (CFLAGS-tst-align2.c): Likewise.
14753 (CFLAGS-tst-alignmod.c): Likewise.
14754 (CFLAGS-tst-alignmod2.c): Likewise.
14755 (CPPFLAGS-tst-execstack.c): Likewise.
14756 (CFLAGS-tst-ptrguard1-static.c): Likewise.
14757 (CFLAGS-tst-latepthreadmod.c): Likewise.
14758 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
14759 (CFLAGS-getgrnam_r.c): Likewise.
14760 (CFLAGS-getgrent_r.c): Likewise.
14761 (CFLAGS-getgrent.c): Likewise.
14762 (CFLAGS-fgetgrent.c): Likewise.
14763 (CFLAGS-fgetgrent_r.c): Likewise.
14764 (CFLAGS-putgrent.c): Likewise.
14765 (CFLAGS-initgroups.c): Likewise.
14766 (CFLAGS-getgrgid.c): Likewise.
14767 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
14768 (CFLAGS-getsgent.c): Likewise.
14769 (CFLAGS-fgetsgent.c): Likewise.
14770 (CFLAGS-fgetsgent_r.c): Likewise.
14771 (CFLAGS-putsgent.c): Likewise.
14772 (CFLAGS-getsgnam.c): Likewise.
14773 (CFLAGS-getsgnam_r.c): Likewise.
14774 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
14775 (CFLAGS-iconv_charmap.c): Likewise.
14776 (CFLAGS-dummy-repertoire.c): Likewise.
14777 (CFLAGS-charmap.c): Likewise.
14778 (CFLAGS-linereader.c): Likewise.
14779 (CFLAGS-simple-hash.c): Likewise.
14780 (CFLAGS-gconv_conf.c): Likewise.
14781 (CFLAGS-iconvconfig.c): Likewise.
14782 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14783 (CFLAGS-gethstbyad.c): Likewise.
14784 (CFLAGS-gethstbynm_r.c): Likewise.
14785 (CFLAGS-gethstbynm.c): Likewise.
14786 (CFLAGS-gethstbynm2_r.c): Likewise.
14787 (CFLAGS-gethstbynm2.c): Likewise.
14788 (CFLAGS-gethstent_r.c): Likewise.
14789 (CFLAGS-gethstent.c): Likewise.
14790 (CFLAGS-rcmd.c): Likewise.
14791 (CFLAGS-getnetbynm_r.c): Likewise.
14792 (CFLAGS-getnetbynm.c): Likewise.
14793 (CFLAGS-getnetbyad_r.c): Likewise.
14794 (CFLAGS-getnetbyad.c): Likewise.
14795 (CFLAGS-getnetent_r.c): Likewise.
14796 (CFLAGS-getnetent.c): Likewise.
14797 (CFLAGS-getaliasent_r.c): Likewise.
14798 (CFLAGS-getaliasent.c): Likewise.
14799 (CFLAGS-getrpcent_r.c): Likewise.
14800 (CFLAGS-getrpcent.c): Likewise.
14801 (CFLAGS-getservent_r.c): Likewise.
14802 (CFLAGS-getservent.c): Likewise.
14803 (CFLAGS-getprtent_r.c): Likewise.
14804 (CFLAGS-getprtent.c): Likewise.
14805 (CFLAGS-either_ntoh.c): Likewise.
14806 (CFLAGS-either_hton.c): Likewise.
14807 (CFLAGS-getnetgrent.c): Likewise.
14808 (CFLAGS-getnetgrent_r.c): Likewise.
14809 (CFLAGS-tst-checks-posix.c): Likewise.
14810 (CFLAGS-tst-sockaddr.c): Likewise.
14811 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
14812 (CFLAGS-tst-translit.c): Likewise.
14813 (CFLAGS-tst-gettext2.c): Likewise.
14814 (CFLAGS-tst-codeset.c): Likewise.
14815 (CFLAGS-tst-gettext3.c): Likewise.
14816 (CFLAGS-tst-gettext4.c): Likewise.
14817 (CFLAGS-tst-gettext5.c): Likewise.
14818 (CFLAGS-tst-gettext6.c): Likewise.
14819 * io/Makefile (CFLAGS-open.c): Likewise.
14820 (CFLAGS-open64.c): Likewise.
14821 (CFLAGS-creat.c): Likewise.
14822 (CFLAGS-creat64.c): Likewise.
14823 (CFLAGS-fcntl.c): Likewise.
14824 (CFLAGS-poll.c): Likewise.
14825 (CFLAGS-ppoll.c): Likewise.
14826 (CFLAGS-lockf.c): Likewise.
14827 (CFLAGS-statfs.c): Likewise.
14828 (CFLAGS-fstatfs.c): Likewise.
14829 (CFLAGS-statvfs.c): Likewise.
14830 (CFLAGS-fstatvfs.c): Likewise.
14831 (CFLAGS-fts.c): Likewise.
14832 (CFLAGS-fts64.c): Likewise.
14833 (CFLAGS-ftw.c): Likewise.
14834 (CFLAGS-ftw64.c): Likewise.
14835 (CFLAGS-lockf.c): Likewise.
14836 (CFLAGS-posix_fallocate.c): Likewise.
14837 (CFLAGS-posix_fallocate64.c): Likewise.
14838 (CFLAGS-fallocate.c): Likewise.
14839 (CFLAGS-fallocate64.c): Likewise.
14840 (CFLAGS-read.c): Likewise.
14841 (CFLAGS-write.c): Likewise.
14842 (CFLAGS-test-stat.c): Likewise.
14843 (CFLAGS-test-lfs.c): Likewise.
14844 * libio/Makefile (CFLAGS-fileops.c): Likewise.
14845 (CFLAGS-fputc.c): Likewise.
14846 (CFLAGS-fputwc.c): Likewise.
14847 (CFLAGS-freopen64.c): Likewise.
14848 (CFLAGS-freopen.c): Likewise.
14849 (CFLAGS-fseek.c): Likewise.
14850 (CFLAGS-fseeko64.c): Likewise.
14851 (CFLAGS-fseeko.c): Likewise.
14852 (CFLAGS-ftello64.c): Likewise.
14853 (CFLAGS-ftello.c): Likewise.
14854 (CFLAGS-fwide.c): Likewise.
14855 (CFLAGS-genops.c): Likewise.
14856 (CFLAGS-getc.c): Likewise.
14857 (CFLAGS-getchar.c): Likewise.
14858 (CFLAGS-getwc.c): Likewise.
14859 (CFLAGS-getwchar.c): Likewise.
14860 (CFLAGS-iofclose.c): Likewise.
14861 (CFLAGS-iofflush.c): Likewise.
14862 (CFLAGS-iofgetpos64.c): Likewise.
14863 (CFLAGS-iofgetpos.c): Likewise.
14864 (CFLAGS-iofgets.c): Likewise.
14865 (CFLAGS-iofgetws.c): Likewise.
14866 (CFLAGS-iofputs.c): Likewise.
14867 (CFLAGS-iofputws.c): Likewise.
14868 (CFLAGS-iofread.c): Likewise.
14869 (CFLAGS-iofsetpos64.c): Likewise.
14870 (CFLAGS-iofsetpos.c): Likewise.
14871 (CFLAGS-ioftell.c): Likewise.
14872 (CFLAGS-iofwrite.c): Likewise.
14873 (CFLAGS-iogetdelim.c): Likewise.
14874 (CFLAGS-iogetline.c): Likewise.
14875 (CFLAGS-iogets.c): Likewise.
14876 (CFLAGS-iogetwline.c): Likewise.
14877 (CFLAGS-ioputs.c): Likewise.
14878 (CFLAGS-ioseekoff.c): Likewise.
14879 (CFLAGS-ioseekpos.c): Likewise.
14880 (CFLAGS-iosetbuffer.c): Likewise.
14881 (CFLAGS-iosetvbuf.c): Likewise.
14882 (CFLAGS-ioungetc.c): Likewise.
14883 (CFLAGS-ioungetwc.c): Likewise.
14884 (CFLAGS-oldfileops.c): Likewise.
14885 (CFLAGS-oldiofclose.c): Likewise.
14886 (CFLAGS-oldiofgetpos64.c): Likewise.
14887 (CFLAGS-oldiofgetpos.c): Likewise.
14888 (CFLAGS-oldiofsetpos64.c): Likewise.
14889 (CFLAGS-oldiofsetpos.c): Likewise.
14890 (CFLAGS-peekc.c): Likewise.
14891 (CFLAGS-putc.c): Likewise.
14892 (CFLAGS-putchar.c): Likewise.
14893 (CFLAGS-putwc.c): Likewise.
14894 (CFLAGS-putwchar.c): Likewise.
14895 (CFLAGS-rewind.c): Likewise.
14896 (CFLAGS-wfileops.c): Likewise.
14897 (CFLAGS-wgenops.c): Likewise.
14898 (CFLAGS-oldiofopen.c): Likewise.
14899 (CFLAGS-iofopen.c): Likewise.
14900 (CFLAGS-iofopen64.c): Likewise.
14901 (CFLAGS-oldtmpfile.c): Likewise.
14902 (CFLAGS-tst_putwc.c): Likewise.
14903 * locale/Makefile (CFLAGS-md5.c): Likewise.
14904 (CFLAGS-charmap.c): Likewise.
14905 (CFLAGS-locfile.c): Likewise.
14906 (CFLAGS-charmap-dir.c): Likewise.
14907 * login/Makefile (CFLAGS-grantpt.c): Likewise.
14908 (CFLAGS-getpt.c): Likewise.
14909 (CFLAGS-pt_chown.c): Likewise.
14910 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
14911 (CFLAGS-obstack.c): Likewise.
14912 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
14913 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
14914 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
14915 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
14916 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
14917 (CFLAGS-test-tgmath.c): Likewise.
14918 (CFLAGS-test-tgmath2.c): Likewise.
14919 (CFLAGS-test-tgmath-ret.c): Likewise.
14920 (CFLAGS-test-powl.c): Likewise.
14921 (CFLAGS-test-snan.c): Likewise.
14922 (CFLAGS-test-signgam-finite.c): Likewise.
14923 (CFLAGS-test-signgam-finite-c99.c): Likewise.
14924 (CFLAGS-test-signgam-finite-c11.c): Likewise.
14925 (CFLAGS-test-signgam-uchar.c): Likewise.
14926 (CFLAGS-test-signgam-uchar-init.c): Likewise.
14927 (CFLAGS-test-signgam-uchar-static.c): Likewise.
14928 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
14929 (CFLAGS-test-signgam-uint.c): Likewise.
14930 (CFLAGS-test-signgam-uint-init.c): Likewise.
14931 (CFLAGS-test-signgam-uint-static.c): Likewise.
14932 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
14933 (CFLAGS-test-signgam-ullong.c): Likewise.
14934 (CFLAGS-test-signgam-ullong-init.c): Likewise.
14935 (CFLAGS-test-signgam-ullong-static.c): Likewise.
14936 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
14937 (CFLAGS-test-math-cxx11.cc): Likewise.
14938 (CFLAGS-test-math-isinff.cc): Likewise.
14939 (CFLAGS-test-math-iszero.cc): Likewise.
14940 (CFLAGS-test-math-issignaling.cc): Likewise.
14941 (CFLAGS-test-math-iscanonical.cc): Likewise.
14942 (CFLAGS-test-iszero-excess-precision.c): Likewise.
14943 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
14944 (CFLAGS-test-flt-eval-method.c): Likewise.
14945 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
14946 (CFLAGS-test-finite-macros.c): Likewise.
14947 * misc/Makefile (CFLAGS-select.c): Likewise.
14948 (CFLAGS-tsearch.c): Likewise.
14949 (CFLAGS-lsearch.c): Likewise.
14950 (CFLAGS-pselect.c): Likewise.
14951 (CFLAGS-readv.c): Likewise.
14952 (CFLAGS-writev.c): Likewise.
14953 (CFLAGS-preadv.c): Likewise.
14954 (CFLAGS-preadv64.c): Likewise.
14955 (CFLAGS-pwritev.c): Likewise.
14956 (CFLAGS-pwritev64.c): Likewise.
14957 (CFLAGS-preadv2.c): Likewise.
14958 (CFLAGS-preadv64v2.c): Likewise.
14959 (CFLAGS-pwritev2.c): Likewise.
14960 (CFLAGS-pwritev64v2.c): Likewise.
14961 (CFLAGS-usleep.c): Likewise.
14962 (CFLAGS-syslog.c): Likewise.
14963 (CFLAGS-error.c): Likewise.
14964 (CFLAGS-getpass.c): Likewise.
14965 (CFLAGS-mkstemp.c): Likewise.
14966 (CFLAGS-mkstemp64.c): Likewise.
14967 (CFLAGS-getsysstats.c): Likewise.
14968 (CFLAGS-getusershell.c): Likewise.
14969 (CFLAGS-err.c): Likewise.
14970 (CFLAGS-tst-tsearch.c): Likewise.
14971 (CFLAGS-msync.c): Likewise.
14972 (CFLAGS-fdatasync.c): Likewise.
14973 (CFLAGS-fsync.c): Likewise.
14974 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
14975 (CFLAGS-unwind.c): Likewise.
14976 (CFLAGS-unwind-forcedunwind.c): Likewise.
14977 (CFLAGS-pthread_cancel.c): Likewise.
14978 (CFLAGS-pthread_setcancelstate.c): Likewise.
14979 (CFLAGS-pthread_setcanceltype.c): Likewise.
14980 (CFLAGS-cancellation.c): Likewise.
14981 (CFLAGS-libc-cancellation.c): Likewise.
14982 (CFLAGS-pthread_exit.c): Likewise.
14983 (CFLAGS-forward.c): Likewise.
14984 (CFLAGS-pthread_testcancel.c): Likewise.
14985 (CFLAGS-pthread_join.c): Likewise.
14986 (CFLAGS-pthread_timedjoin.c): Likewise.
14987 (CFLAGS-pthread_once.c): Likewise.
14988 (CFLAGS-pthread_cond_wait.c): Likewise.
14989 (CFLAGS-sem_wait.c): Likewise.
14990 (CFLAGS-sem_timedwait.c): Likewise.
14991 (CFLAGS-fcntl.c): Likewise.
14992 (CFLAGS-lockf.c): Likewise.
14993 (CFLAGS-pread.c): Likewise.
14994 (CFLAGS-pread64.c): Likewise.
14995 (CFLAGS-pwrite.c): Likewise.
14996 (CFLAGS-pwrite64.c): Likewise.
14997 (CFLAGS-wait.c): Likewise.
14998 (CFLAGS-waitpid.c): Likewise.
14999 (CFLAGS-sigwait.c): Likewise.
15000 (CFLAGS-msgrcv.c): Likewise.
15001 (CFLAGS-msgsnd.c): Likewise.
15002 (CFLAGS-tcdrain.c): Likewise.
15003 (CFLAGS-open.c): Likewise.
15004 (CFLAGS-open64.c): Likewise.
15005 (CFLAGS-pause.c): Likewise.
15006 (CFLAGS-recv.c): Likewise.
15007 (CFLAGS-send.c): Likewise.
15008 (CFLAGS-accept.c): Likewise.
15009 (CFLAGS-sendto.c): Likewise.
15010 (CFLAGS-connect.c): Likewise.
15011 (CFLAGS-recvfrom.c): Likewise.
15012 (CFLAGS-recvmsg.c): Likewise.
15013 (CFLAGS-sendmsg.c): Likewise.
15014 (CFLAGS-close.c): Likewise.
15015 (CFLAGS-read.c): Likewise.
15016 (CFLAGS-write.c): Likewise.
15017 (CFLAGS-nanosleep.c): Likewise.
15018 (CFLAGS-sigsuspend.c): Likewise.
15019 (CFLAGS-msync.c): Likewise.
15020 (CFLAGS-fdatasync.c): Likewise.
15021 (CFLAGS-fsync.c): Likewise.
15022 (CFLAGS-pt-system.c): Likewise.
15023 (CFLAGS-tst-cleanup2.c): Likewise.
15024 (CFLAGS-tst-cleanupx2.c): Likewise.
15025 (CFLAGS-flockfile.c): Likewise.
15026 (CFLAGS-ftrylockfile.c): Likewise.
15027 (CFLAGS-funlockfile.c): Likewise.
15028 (CFLAGS-tst-initializers1.c): Likewise.
15029 (CFLAGS-tst-initializers1-c89.c): Likewise.
15030 (CFLAGS-tst-initializers1-c99.c): Likewise.
15031 (CFLAGS-tst-initializers1-c11.c): Likewise.
15032 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
15033 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
15034 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
15035 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
15036 (CFLAGS-nscd_getgr_r.c): Likewise.
15037 (CFLAGS-nscd_gethst_r.c): Likewise.
15038 (CFLAGS-nscd_getai.c): Likewise.
15039 (CFLAGS-nscd_initgroups.c): Likewise.
15040 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
15041 (CFLAGS-pause.c): Likewise.
15042 (CFLAGS-pread.c): Likewise.
15043 (CFLAGS-pread64.c): Likewise.
15044 (CFLAGS-pwrite.c): Likewise.
15045 (CFLAGS-pwrite64.c): Likewise.
15046 (CFLAGS-sleep.c): Likewise.
15047 (CFLAGS-wait.c): Likewise.
15048 (CFLAGS-waitid.c): Likewise.
15049 (CFLAGS-waitpid.c): Likewise.
15050 (CFLAGS-getopt.c): Likewise.
15051 (CFLAGS-wordexp.c): Likewise.
15052 (CFLAGS-sysconf.c): Likewise.
15053 (CFLAGS-pathconf.c): Likewise.
15054 (CFLAGS-fpathconf.c): Likewise.
15055 (CFLAGS-spawn.c): Likewise.
15056 (CFLAGS-spawnp.c): Likewise.
15057 (CFLAGS-spawni.c): Likewise.
15058 (CFLAGS-glob.c): Likewise.
15059 (CFLAGS-glob64.c): Likewise.
15060 (CFLAGS-getconf.c): Likewise.
15061 (CFLAGS-nanosleep.c): Likewise.
15062 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
15063 (CFLAGS-getpwent.c): Likewise.
15064 (CFLAGS-getpw.c): Likewise.
15065 (CFLAGS-fgetpwent_r.c): Likewise.
15066 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
15067 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
15068 (CFLAGS-mq_timedreceive.c): Likewise.
15069 (CFLAGS-mq_timedsend.c): Likewise.
15070 (CFLAGS-clock_nanosleep.c): Likewise.
15071 (CFLAGS-librt-cancellation.c): Likewise.
15072 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
15073 (CFLAGS-getspent.c): Likewise.
15074 (CFLAGS-fgetspent.c): Likewise.
15075 (CFLAGS-fgetspent_r.c): Likewise.
15076 (CFLAGS-putspent.c): Likewise.
15077 (CFLAGS-getspnam.c): Likewise.
15078 (CFLAGS-getspnam_r.c): Likewise.
15079 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
15080 (CFLAGS-sigsuspend.c): Likewise.
15081 (CFLAGS-sigtimedwait.c): Likewise.
15082 (CFLAGS-sigwait.c): Likewise.
15083 (CFLAGS-sigwaitinfo.c): Likewise.
15084 (CFLAGS-sigreturn.c): Likewise.
15085 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
15086 (CFLAGS-vfwprintf.c): Likewise.
15087 (CFLAGS-tmpfile.c): Likewise.
15088 (CFLAGS-tmpfile64.c): Likewise.
15089 (CFLAGS-tempname.c): Likewise.
15090 (CFLAGS-psignal.c): Likewise.
15091 (CFLAGS-vprintf.c): Likewise.
15092 (CFLAGS-cuserid.c): Likewise.
15093 (CFLAGS-errlist.c): Likewise.
15094 (CFLAGS-siglist.c): Likewise.
15095 (CFLAGS-scanf15.c): Likewise.
15096 (CFLAGS-scanf17.c): Likewise.
15097 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
15098 (CFLAGS-msort.c): Likewise.
15099 (CFLAGS-qsort.c): Likewise.
15100 (CFLAGS-system.c): Likewise.
15101 (CFLAGS-fmtmsg.c): Likewise.
15102 (CFLAGS-strfmon.c): Likewise.
15103 (CFLAGS-strfmon_l.c): Likewise.
15104 (CFLAGS-strfromd.c): Likewise.
15105 (CFLAGS-strfromf.c): Likewise.
15106 (CFLAGS-strfroml.c): Likewise.
15107 (CFLAGS-tst-bsearch.c): Likewise.
15108 (CFLAGS-tst-qsort.c): Likewise.
15109 (CFLAGS-tst-makecontext2.c): Likewise.
15110 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
15111 (CFLAGS-xnlm_prot.c): Likewise.
15112 (CFLAGS-xrstat.c): Likewise.
15113 (CFLAGS-xyppasswd.c): Likewise.
15114 (CFLAGS-xklm_prot.c): Likewise.
15115 (CFLAGS-xrex.c): Likewise.
15116 (CFLAGS-xsm_inter.c): Likewise.
15117 (CFLAGS-xmount.c): Likewise.
15118 (CFLAGS-xrusers.c): Likewise.
15119 (CFLAGS-xspray.c): Likewise.
15120 (CFLAGS-xnfs_prot.c): Likewise.
15121 (CFLAGS-xrquota.c): Likewise.
15122 (CFLAGS-xkey_prot.c): Likewise.
15123 (CFLAGS-auth_unix.c): Likewise.
15124 (CFLAGS-key_call.c): Likewise.
15125 (CFLAGS-pmap_rmt.c): Likewise.
15126 (CFLAGS-clnt_perr.c): Likewise.
15127 (CFLAGS-openchild.c): Likewise.
15128 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
15129 (CFLAGS-msgsnd.c): Likewise.
15130 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
15131 * time/Makefile (CFLAGS-tzfile.c): Likewise.
15132 (CFLAGS-tzset.c): Likewise.
15133 (CFLAGS-getdate.c): Likewise.
15134 (CFLAGS-test_time.c): Likewise.
15135 (CPPFLAGS-tst-tzname.c): Likewise.
15136 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
15137 (CFLAGS-zic.c): Likewise.
15138 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
15139 (CFLAGS-wcswidth.c): Likewise.
15140 (CFLAGS-wcstol.c): Likewise.
15141 (CFLAGS-wcstoul.c): Likewise.
15142 (CFLAGS-wcstoll.c): Likewise.
15143 (CFLAGS-wcstoull.c): Likewise.
15144 (CFLAGS-wcstod.c): Likewise.
15145 (CFLAGS-wcstold.c): Likewise.
15146 (CFLAGS-wcstof128.c): Likewise.
15147 (CFLAGS-wcstof.c): Likewise.
15148 (CFLAGS-wcstol_l.c): Likewise.
15149 (CFLAGS-wcstoul_l.c): Likewise.
15150 (CFLAGS-wcstoll_l.c): Likewise.
15151 (CFLAGS-wcstoull_l.c): Likewise.
15152 (CFLAGS-wcstod_l.c): Likewise.
15153 (CFLAGS-wcstold_l.c): Likewise.
15154 (CFLAGS-wcstof128_l.c): Likewise.
15155 (CFLAGS-wcstof_l.c): Likewise.
15156 (CPPFLAGS-tst-wchar-h.c): Likewise.
15157 (CPPFLAGS-wcstold_l.c): Likewise.
15158 ---
15159 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
15160
15161 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
15162
15163 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15164 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15165
15166 * manual/tunables.texi (Hardware Capability Tunables): Document
15167 glibc.tune.cached_memopt.
15168 * sysdeps/powerpc/cpu-features.c: New file.
15169 * sysdeps/powerpc/cpu-features.h: New file.
15170 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
15171 _dl_powerpc_cpu_features.
15172 * sysdeps/powerpc/dl-tunables.list: New file.
15173 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
15174 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15175 (INIT_ARCH): Initialize use_aligned_memopt.
15176 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
15177 IS_IN(rtld))]: Restrict dl_platform_init availability and
15178 initialize CPU features used by tunables.
15179 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
15180 Add memcpy-power8-cached.
15181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
15182 __memcpy_power8_cached.
15183 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
15184 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
15185 New file.
15186
15187 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
15188
15189 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
15190 (CFLAGS-noinl-tester.c): Likewise.
15191 (CFLAGS-tst-strlen.c): Likewise.
15192 (CFLAGS-stratcliff.c): Likewise.
15193 (CFLAGS-test-ffs.c): Likewise.
15194 (CFLAGS-tst-inlcall.c): Likewise.
15195 (CFLAGS-tst-xbzero-opt.c): Likewise.
15196 (CFLAGS-memcpy.c): Likewise.
15197 (CFLAGS-wordcopy.c): Likewise.
15198
15199 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15200
15201 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
15202 Store r15 on stack and add cfi rule.
15203 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
15204 Likewise.
15205
15206 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
15207
15208 [BZ #22577]
15209 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
15210 call.
15211
15212 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
15213
15214 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15215 Add s_sinf-sse2 and s_sinf-fma.
15216 (CFLAGS-s_sinf-fma.c): New.
15217 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
15218 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
15219 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
15220
15221 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
15222
15223 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
15224
15225 2017-12-07 Joseph Myers <joseph@codesourcery.com>
15226
15227 [BZ #22568]
15228 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
15229 part of result to imaginary part of argument if it is zero and the
15230 real part of the argument is not finite.
15231 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
15232 of result to real part of argument if it is zero and the imaginary
15233 part of the argument is not finite.
15234
15235 2017-12-07 Mike FABIAN <mfabian@redhat.com>
15236
15237 [BZ #22524]
15238 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
15239 and to the list of locales to be built for testing.
15240 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
15241 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
15242 and build the collation rules upon that.
15243
15244 2017-12-07 Joseph Myers <joseph@codesourcery.com>
15245
15246 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
15247 * manual/math.texi (Mathematics): Document support for _Float32.
15248 * math/Makefile (test-types): Add float32.
15249 * math/Versions (GLIBC_2.27): Add _Float32 functions.
15250 * stdlib/Versions (GLIBC_2.27): Likewise.
15251 * wcsmbs/Versions (GLIBC_2.27): Likewise.
15252 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
15253 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15254 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15255 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15256 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15257 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15258 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15259 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15260 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15261 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15262 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15263 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15264 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15265 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15266 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15267 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15268 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15269 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15270 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15271 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15272 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
15273 Likewise.
15274 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15275 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15276 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15277 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15278 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15280 Likewise.
15281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15282 Likewise.
15283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15284 Likewise.
15285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15286 Likewise.
15287
15288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
15289 Likewise.
15290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
15291 Likewise.
15292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15293 Likewise.
15294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15295 Likewise.
15296 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15297 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15298 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15299 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15300 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15301 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15302 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15303 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15304 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15305 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15307 Likewise.
15308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15309 Likewise.
15310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15311 Likewise.
15312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15313 Likewise.
15314 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15315 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15316 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15317 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15318 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15319 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15320 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15321 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15322
15323 2017-12-06 Joseph Myers <joseph@codesourcery.com>
15324
15325 * stdlib/strtof.c: Include <bits/floatn.h>
15326 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
15327 and later undefine as macro. Define as weak alias if
15328 [!USE_WIDE_CHAR].
15329 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
15330 and later undefine as macro. Define as weak alias if
15331 [USE_WIDE_CHAR].
15332 * stdlib/strtof_l.c: Include <bits/floatn.h>
15333 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
15334 and later undefine as macro. Define as weak alias if
15335 [!USE_WIDE_CHAR].
15336 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
15337 and later undefine as macro. Define as weak alias if
15338 [USE_WIDE_CHAR].
15339
15340 * stdlib/strfromf.c: Include <bits/floatn.h>.
15341 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
15342 and later undefine as macro and define as weak alias.
15343
15344 * math/test-float32.h: New file.
15345
15346 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
15347 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
15348 (libm_alias_float_other_r): Create f32 alias.
15349 (libm_alias_float_r): Use semicolon before call to
15350 libm_alias_float_other_r.
15351
15352 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
15353 second argument to libm_alias_float_other.
15354 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
15355 second argument to libm_alias_float_other.
15356 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
15357 argument to libm_alias_float_other.
15358
15359 [BZ #22561]
15360 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
15361 real part of result for argument 0 + i * NaN.
15362 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
15363 results for tests of 0 + i * NaN.
15364
15365 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15366
15367 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15368
15369 2017-12-06 David S. Miller <davem@davemloft.net>
15370
15371 * sysdeps/sparc/fpu/libm-test-ulps: Update
15372 exp_{downward,towardzero,upward} ulps.
15373
15374 2017-12-06 Joseph Myers <joseph@codesourcery.com>
15375
15376 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
15377 variables static.
15378
15379 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
15380 (Y0_2D): Likewise.
15381 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
15382 (Y0_2D): Likewise.
15383 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
15384 (Y0_2D): Likewise.
15385 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
15386 (Y0_2D): Likewise.
15387
15388 2017-12-06 Mike FABIAN <mfabian@redhat.com>
15389
15390 [BZ #22515]
15391 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
15392 and to the list of locales to be built for testing.
15393 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
15394 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
15395 and build the collation rules upon that.
15396
15397 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15398
15399 * NEWS: Add sinf to list of optimized functions.
15400
15401 2017-12-06 Joseph Myers <joseph@codesourcery.com>
15402
15403 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
15404 (__HAVE_FLOAT32X): Likewise.
15405 * manual/math.texi (Mathematics): Document support for _Float64
15406 and _Float32x.
15407 * math/Makefile (test-types): Add float64 and float32x.
15408 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
15409 functions.
15410 * stdlib/Versions (GLIBC_2.27): Likewise.
15411 * wcsmbs/Versions (GLIBC_2.27): Likewise.
15412 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
15413 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15414 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15415 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15416 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15417 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15418 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15419 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15420 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15421 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15422 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15423 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15424 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15425 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15426 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15427 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15428 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15429 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15430 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15431 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15432 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
15433 Likewise.
15434 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15435 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15436 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15437 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15438 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15440 Likewise.
15441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15442 Likewise.
15443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15444 Likewise.
15445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15446 Likewise.
15447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
15448 Likewise.
15449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
15450 Likewise.
15451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15452 Likewise.
15453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15454 Likewise.
15455 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15456 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15457 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15458 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15459 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15460 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15461 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15462 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15463 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15464 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15466 Likewise.
15467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15468 Likewise.
15469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15470 Likewise.
15471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15472 Likewise.
15473 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15474 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15475 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15476 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15477 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15478 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15479 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15480 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15481
15482 2017-12-05 Joseph Myers <joseph@codesourcery.com>
15483
15484 * bits/floatn-common.h: Include <bits/long-double.h>.
15485 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15486 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
15487 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15488 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
15489 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15490 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
15491 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
15492 (__builtin_huge_valf64): Use __builtin_huge_vall.
15493 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
15494 (__builtin_inff64): Use __builtin_infl.
15495 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
15496 (__builtin_nanf64): Use __builtin_nanl.
15497 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
15498 (__builtin_nansf64): Use __builtin_nansl.
15499
15500 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15501 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15502 Carlos O'Donnell <carlos@redhat.com>
15503
15504 * elf/dl-tunables.list: Add elision parameters.
15505 * manual/tunables.texi: Add entries about elision tunable.
15506 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
15507 Add callback functions to dynamically enable/disable elision.
15508 Add multiple callbacks functions to set elision parameters.
15509 Deleted __libc_enable_secure check.
15510 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
15511 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
15512 * configure: Regenerated.
15513 * configure.ac: Option enable_lock_elision was deleted.
15514 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
15515 * config.make.in: Remove references to enable_lock_elision.
15516 * manual/install.texi: Elision configure option was removed.
15517 * INSTALL: Regenerated to remove enable_lock_elision.
15518 * nptl/Makefile:
15519 Disable elision so it can verify error case for destroying a mutex.
15520 * sysdeps/powerpc/nptl/elide.h:
15521 Cleanup ENABLE_LOCK_ELISION check.
15522 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
15523 * sysdeps/s390/configure: Regenerated.
15524 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
15525 * nptl/tst-mutex8.c:
15526 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
15527 * sysdeps/powerpc/powerpc32/sysdep.h:
15528 Deleted all ENABLE_LOCK_ELISION checks.
15529 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15530 * sysdeps/powerpc/sysdep.h: Likewise.
15531 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
15532 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
15533 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
15534 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
15535 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15536 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
15537 enable-lock-elision.
15538
15539 2017-12-05 Joseph Myers <joseph@codesourcery.com>
15540
15541 * stdlib/strtod.c: Include <bits/floatn.h>.
15542 (BUILD_DOUBLE): New macro.
15543 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
15544 (strtof64): Define and later undefine as macro. Define as weak
15545 alias if [!USE_WIDE_CHAR].
15546 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
15547 (wcstof64): Define and later undefine as macro. Define as weak
15548 alias if [USE_WIDE_CHAR].
15549 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
15550 (strtof32x): Define and later undefine as macro. Define as weak
15551 alias if [!USE_WIDE_CHAR].
15552 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
15553 (wcstof32x): Define and later undefine as macro. Define as weak
15554 alias if [USE_WIDE_CHAR].
15555 * stdlib/strtod_l.c: Include <bits/floatn.h>.
15556 (BUILD_DOUBLE): New macro.
15557 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
15558 (strtof64_l): Define and later undefine as macro. Define as weak
15559 alias if [!USE_WIDE_CHAR].
15560 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
15561 (wcstof64_l): Define and later undefine as macro. Define as weak
15562 alias if [USE_WIDE_CHAR].
15563 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
15564 (strtof32x_l): Define and later undefine as macro. Define as weak
15565 alias if [!USE_WIDE_CHAR].
15566 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
15567 (wcstof32x_l): Define and later undefine as macro. Define as weak
15568 alias if [USE_WIDE_CHAR].
15569
15570 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15571
15572 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
15573 (reduced): Use ones as double instead of integer.
15574
15575 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
15576
15577 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
15578
15579 2017-12-05 Joseph Myers <joseph@codesourcery.com>
15580
15581 * stdlib/strfromd.c: Include <bits/floatn.h>.
15582 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
15583 and later undefine as macro and define as weak alias.
15584 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
15585 Likewise.
15586
15587 * math/test-float32x.h: New file.
15588 * math/test-float64.h: Likewise.
15589
15590 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
15591 (libm_alias_double_other_r_f64): New macro.
15592 (libm_alias_double_other_r_f32x): Likewise.
15593 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
15594 libm_alias_double_other_r_f32x.
15595 (libm_alias_double_r): Use semicolon before call to
15596 libm_alias_double_other_r.
15597 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
15598 <bits/floatn.h>.
15599 (libm_alias_double_other_r_f64): New macro.
15600 (libm_alias_double_other_r_f32x): Likewise.
15601 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
15602 libm_alias_double_other_r_f32x.
15603
15604 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
15605
15606 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
15607 int.
15608 (SINF_FUNC): Likewise. Replace floor with simple casts.
15609
15610 2017-12-05 Mike FABIAN <mfabian@redhat.com>
15611
15612 [BZ #22517]
15613 * localedata/Makefile: Add et_EE.UTF-8 to test-input
15614 and to the list of locales to be built for testing.
15615 * localedata/et_EE.UTF-8.in: New file for testing the collation.
15616 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
15617 and build the collation rules upon that.
15618
15619 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
15620
15621 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
15622 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
15623 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
15624 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
15625 instead of __insn__xxx.
15626 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
15627 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
15628 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
15629 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
15630 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
15631 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
15632
15633 2017-12-05 Florian Weimer <fweimer@redhat.com>
15634
15635 Linux: Implement interfaces for memory protection keys
15636 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
15637 xsignal, xsysconf.
15638 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
15639 * support/xunistd.h (xsysconf): Declare.
15640 * support/xraise.c: New file.
15641 * support/xsigaction.c: Likewise.
15642 * support/xsignal.c: Likewise.
15643 * support/xsysconf.c: Likewise.
15644 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
15645 pkey_set, pkey_get, pkey_mprotect.
15646 [misc] (tests): Add tst-pkey.
15647 (tst-pkey): Link with -lpthread.
15648 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
15649 pkey_free, pkey_set, pkey_get, pkey_mprotect.
15650 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
15651 (PKEY_DISABLE_WRITE): Define.
15652 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
15653 Declare.
15654 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
15655 (SEGV_PKUERR): Add.
15656 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
15657 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
15658 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
15659 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
15660 Add.
15661 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
15662 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
15663 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
15664 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
15665 * sysdeps/unix/sysv/linux/**.abilist: Update.
15666
15667 2017-12-05 Florian Weimer <fweimer@redhat.com>
15668
15669 * support/tst-test_compare.c (subprocess): Use long long instead
15670 of long argument for consistent type width across 32-bit and
15671 64-bit architectures.
15672 (do_test): Adjust expected output.
15673
15674 2017-12-05 Joseph Myers <joseph@codesourcery.com>
15675
15676 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
15677 (cosf): Define using libm_alias_float.
15678 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
15679 (fabsf): Define using libm_alias_float.
15680 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
15681 (fmaf): Define using libm_alias_float.
15682 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
15683 (rintf): Define using libm_alias_float.
15684 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
15685 (sinf): Define using libm_alias_float.
15686 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
15687 <libm-alias-float.h>.
15688 (modff): Define using libm_alias_float.
15689 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
15690 <libm-alias-float.h>.
15691 (logbf): Define using libm_alias_float.
15692 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
15693 <libm-alias-float.h>.
15694 (ceilf): Define using libm_alias_float.
15695 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
15696 <libm-alias-float.h>.
15697 (copysignf): Define using libm_alias_float.
15698 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
15699 <libm-alias-float.h>.
15700 (floorf): Define using libm_alias_float.
15701 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
15702 <libm-alias-float.h>.
15703 (llrintf): Define using libm_alias_float.
15704 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
15705 <libm-alias-float.h>.
15706 (llroundf): Define using libm_alias_float.
15707 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
15708 <libm-alias-float.h>.
15709 (lrintf): Define using libm_alias_float.
15710 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
15711 <libm-alias-float.h>.
15712 (lroundf): Define using libm_alias_float.
15713 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
15714 <libm-alias-float.h>.
15715 (nearbyintf): Define using libm_alias_float.
15716 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
15717 <libm-alias-float.h>.
15718 (rintf): Define using libm_alias_float.
15719 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
15720 <libm-alias-float.h>.
15721 (roundf): Define using libm_alias_float.
15722 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
15723 <libm-alias-float.h>.
15724 (truncf): Define using libm_alias_float.
15725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
15726 Include <libm-alias-float.h>.
15727 (ceilf): Define using libm_alias_float.
15728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
15729 Include <libm-alias-float.h>.
15730 (copysignf): Define using libm_alias_float.
15731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
15732 Include <libm-alias-float.h>.
15733 (floorf): Define using libm_alias_float.
15734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
15735 Include <libm-alias-float.h>.
15736 (llrintf): Define using libm_alias_float.
15737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
15738 Include <libm-alias-float.h>.
15739 (llroundf): Define using libm_alias_float.
15740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
15741 Include <libm-alias-float.h>.
15742 (logbf): Define using libm_alias_float.
15743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
15744 Include <libm-alias-float.h>.
15745 (lrintf): Define using libm_alias_float.
15746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
15747 Include <libm-alias-float.h>.
15748 (lroundf): Define using libm_alias_float.
15749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
15750 Include <libm-alias-float.h>.
15751 (modff): Define using libm_alias_float.
15752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
15753 Include <libm-alias-float.h>.
15754 (roundf): Define using libm_alias_float.
15755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
15756 Include <libm-alias-float.h>.
15757 (truncf): Define using libm_alias_float.
15758 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
15759 <libm-alias-float.h>.
15760 (llrintf): Define using libm_alias_float.
15761 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
15762 <libm-alias-float.h>.
15763 (llroundf): Define using libm_alias_float.
15764 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
15765 <libm-alias-float.h>.
15766 (ceilf): Define using libm_alias_float.
15767 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
15768 <libm-alias-float.h>.
15769 (floorf): Define using libm_alias_float.
15770 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
15771 <libm-alias-float.h>.
15772 (llroundf): Define using libm_alias_float.
15773 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
15774 <libm-alias-float.h>.
15775 (lroundf): Define using libm_alias_float.
15776 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
15777 <libm-alias-float.h>.
15778 (roundf): Define using libm_alias_float.
15779 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
15780 <libm-alias-float.h>.
15781 (truncf): Define using libm_alias_float.
15782 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
15783 <libm-alias-float.h>.
15784 (copysignf): Define using libm_alias_float.
15785 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
15786 <libm-alias-float.h>.
15787 (llrintf): Define using libm_alias_float.
15788 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
15789 <libm-alias-float.h>.
15790 (llroundf): Define using libm_alias_float.
15791 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
15792 <libm-alias-float.h>.
15793 (lrintf): Define using libm_alias_float.
15794 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
15795 <libm-alias-float.h>.
15796 (lroundf): Define using libm_alias_float.
15797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
15798 <libm-alias-float.h>.
15799 (ceilf): Define using libm_alias_float.
15800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
15801 <libm-alias-float.h>.
15802 (copysignf): Define using libm_alias_float.
15803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
15804 <libm-alias-float.h>.
15805 (cosf): Define using libm_alias_float.
15806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
15807 <libm-alias-float.h>.
15808 (floorf): Define using libm_alias_float.
15809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
15810 <libm-alias-float.h>.
15811 (llrintf): Define using libm_alias_float.
15812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
15813 <libm-alias-float.h>.
15814 (llroundf): Define using libm_alias_float.
15815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
15816 <libm-alias-float.h>.
15817 (logbf): Define using libm_alias_float.
15818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
15819 <libm-alias-float.h>.
15820 (modff): Define using libm_alias_float.
15821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
15822 <libm-alias-float.h>.
15823 (roundf): Define using libm_alias_float.
15824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
15825 <libm-alias-float.h>.
15826 (sinf): Define using libm_alias_float.
15827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
15828 <libm-alias-float.h>.
15829 (truncf): Define using libm_alias_float.
15830 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
15831 <libm-alias-float.h>.
15832 (ceilf): Define using libm_alias_float.
15833 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
15834 <libm-alias-float.h>.
15835 (copysignf): Define using libm_alias_float.
15836 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
15837 <libm-alias-float.h>.
15838 (floorf): Define using libm_alias_float.
15839 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
15840 <libm-alias-float.h>.
15841 (llrintf): Define using libm_alias_float.
15842 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
15843 <libm-alias-float.h>.
15844 (llroundf): Define using libm_alias_float.
15845 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
15846 <libm-alias-float.h>.
15847 (nearbyintf): Define using libm_alias_float.
15848 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
15849 <libm-alias-float.h>.
15850 (rintf): Define using libm_alias_float.
15851 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
15852 <libm-alias-float.h>.
15853 (roundf): Define using libm_alias_float.
15854 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
15855 <libm-alias-float.h>.
15856 (truncf): Define using libm_alias_float.
15857 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
15858 <libm-alias-float.h>.
15859 (ceilf): Define using libm_alias_float.
15860 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
15861 <libm-alias-float.h>.
15862 (floorf): Define using libm_alias_float.
15863 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
15864 <libm-alias-float.h>.
15865 (llroundf): Define using libm_alias_float.
15866 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
15867 <libm-alias-float.h>.
15868 (roundf): Define using libm_alias_float.
15869 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
15870 <libm-alias-float.h>.
15871 (truncf): Define using libm_alias_float.
15872 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
15873 <libm-alias-float.h>.
15874 (copysignf): Define using libm_alias_float.
15875 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
15876 <libm-alias-float.h>.
15877 (llrintf): Define using libm_alias_float.
15878 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
15879 <libm-alias-float.h>.
15880 (llroundf): Define using libm_alias_float.
15881 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
15882 <libm-alias-float.h>.
15883 (cosf): Define using libm_alias_float.
15884 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
15885 <libm-alias-float.h>.
15886 (llrintf): Define using libm_alias_float.
15887 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
15888 <libm-alias-float.h>.
15889 (llroundf): Define using libm_alias_float.
15890 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
15891 <libm-alias-float.h>.
15892 (sinf): Define using libm_alias_float.
15893
15894 2017-12-04 Florian Weimer <fweimer@redhat.com>
15895
15896 * support/check.h (TEST_COMPARE): Define.
15897 (support_test_compare_failure): Declare.
15898 * support/Makefile (libsupport-routines): Add
15899 support_test_compare_failure.
15900 (tests): Add tst-test_compare.
15901 * support /support_test_compare_failure.c: New file.
15902 * support/tst-test_compare.c: Likewise.
15903
15904 2017-12-04 Mike FABIAN <mfabian@redhat.com>
15905
15906 [BZ #22527]
15907 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
15908 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
15909 available, this rewrite of the collation rules does reproduce
15910 the test file in the same order.
15911
15912 2017-12-04 Mike FABIAN <mfabian@redhat.com>
15913
15914 [BZ #10580]
15915 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
15916 digraphs in the month and day names. Using single code points for
15917 digraphs is deprecated. While there are dedicated Unicode
15918 codepoints, for the digraphs, these are included for backwards
15919 compatibility and modern texts use a sequence of Basic Latin
15920 characters. See: https://www.unicode.org/faq/ligature_digraph.html
15921 This makes the month and day names agree exactly with CLDR now,
15922 CLDR does not use the single code points for the digraphs either.
15923
15924 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
15925
15926 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
15927
15928 2017-12-04 Joseph Myers <joseph@codesourcery.com>
15929
15930 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
15931 of floor.
15932
15933 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
15934
15935 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
15936 Define only for libc.so.
15937
15938 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15939
15940 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15941 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
15942 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
15943 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
15944 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15945
15946 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15947
15948 [BZ #5997]
15949 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
15950
15951 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
15952
15953 [BZ libc/19170]
15954 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
15955 PREINIT_FUNCTION_WEAK is nonzero.
15956 (gmon_initializer): New function. Put procedure label for it in
15957 .init_array section.
15958 (_init): Don't call PREINIT_FUNCTION.
15959 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
15960 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
15961 value when map argument is null.
15962
15963 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
15964 depi instruction from PIC pc-relative sequence.
15965 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
15966 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
15967 (elf_machine_load_address): Likewise.
15968 (elf_machine_runtime_setup): Likewise.
15969
15970 2017-12-02 Joseph Myers <joseph@codesourcery.com>
15971
15972 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
15973 <libm-alias-double.h>.
15974 (logb): Define using libm_alias_double.
15975 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
15976 <libm-alias-double.h>.
15977 (copysign): Define using libm_alias_double.
15978 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
15979 <libm-alias-double.h>.
15980 (llrint): Define using libm_alias_double.
15981 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
15982 <libm-alias-double.h>.
15983 (llround): Define using libm_alias_double.
15984 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
15985 <libm-alias-double.h>.
15986 (lrint): Define using libm_alias_double.
15987 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
15988 <libm-alias-double.h>.
15989 (lround): Define using libm_alias_double.
15990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
15991 Include <libm-alias-double.h>.
15992 (copysign): Define using libm_alias_double.
15993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
15994 Include <libm-alias-double.h>.
15995 (llrint): Define using libm_alias_double.
15996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
15997 Include <libm-alias-double.h>.
15998 (llround): Define using libm_alias_double.
15999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
16000 <libm-alias-double.h>.
16001 (logb): Define using libm_alias_double.
16002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
16003 Include <libm-alias-double.h>.
16004 (lrint): Define using libm_alias_double.
16005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
16006 Include <libm-alias-double.h>.
16007 (lround): Define using libm_alias_double.
16008 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
16009 <libm-alias-double.h>.
16010 (llrint): Define using libm_alias_double.
16011 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
16012 <libm-alias-double.h>.
16013 (llround): Define using libm_alias_double.
16014 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
16015 <libm-alias-double.h>.
16016 (llround): Define using libm_alias_double.
16017 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
16018 <libm-alias-double.h>.
16019 (lround): Define using libm_alias_double.
16020 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
16021 <libm-alias-double.h>.
16022 (copysign): Define using libm_alias_double.
16023 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
16024 <libm-alias-double.h>.
16025 (llrint): Define using libm_alias_double.
16026 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
16027 <libm-alias-double.h>.
16028 (llround): Define using libm_alias_double.
16029 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
16030 <libm-alias-double.h>.
16031 (lrint): Define using libm_alias_double.
16032 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
16033 <libm-alias-double.h>.
16034 (lround): Define using libm_alias_double.
16035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
16036 <libm-alias-double.h>.
16037 (copysign): Define using libm_alias_double.
16038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
16039 <libm-alias-double.h>.
16040 (llrint): Define using libm_alias_double.
16041 (lrint): Likewise.
16042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
16043 <libm-alias-double.h>.
16044 (llround): Define using libm_alias_double.
16045 (lround): Likewise.
16046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
16047 <libm-alias-double.h>.
16048 (logb): Define using libm_alias_double.
16049 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
16050 <libm-alias-double.h>.
16051 (copysign): Define using libm_alias_double.
16052 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
16053 <libm-alias-double.h>.
16054 (llrint): Define using libm_alias_double.
16055 (lrint): Likewise.
16056 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
16057 <libm-alias-double.h>.
16058 (llround): Define using libm_alias_double.
16059 (lround): Likewise.
16060 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
16061 <libm-alias-double.h>.
16062 (llround): Define using libm_alias_double.
16063 (lround): Likewise.
16064 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
16065 <libm-alias-double.h>.
16066 (copysign): Define using libm_alias_double.
16067 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
16068 <libm-alias-double.h>.
16069 (llrint): Define using libm_alias_double.
16070 (lrint): Likewise.
16071 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
16072 <libm-alias-double.h>.
16073 (llround): Define using libm_alias_double.
16074 (lround): Likewise.
16075 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
16076 <libm-alias-double.h>.
16077 (llrint): Define using libm_alias_double.
16078 (lrint): Likewise.
16079 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
16080 <libm-alias-double.h>.
16081 (llround): Define using libm_alias_double.
16082 (lround): Likewise.
16083
16084 2017-12-01 Joseph Myers <joseph@codesourcery.com>
16085
16086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16087 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
16088 compat symbol based on llround.
16089
16090 * sysdeps/powerpc/power7/fpu/s_logb.c
16091 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
16092 symbol based on __logb, not on logb.
16093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
16094 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
16095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
16096 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
16097
16098 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
16099 (rint): Define using libm_alias_double.
16100 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
16101 <libm-alias-double.h>.
16102 (modf): Define using libm_alias_double.
16103 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
16104 <libm-alias-double.h>.
16105 (ceil): Define using libm_alias_double.
16106 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
16107 <libm-alias-double.h>.
16108 (floor): Define using libm_alias_double.
16109 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
16110 <libm-alias-double.h>.
16111 (nearbyint): Define using libm_alias_double.
16112 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
16113 <libm-alias-double.h>.
16114 (rint): Define using libm_alias_double.
16115 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
16116 <libm-alias-double.h>.
16117 (round): Define using libm_alias_double.
16118 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
16119 <libm-alias-double.h>.
16120 (trunc): Define using libm_alias_double.
16121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
16122 <libm-alias-double.h>.
16123 (ceil): Define using libm_alias_double.
16124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
16125 Include <libm-alias-double.h>.
16126 (floor): Define using libm_alias_double.
16127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
16128 <libm-alias-double.h>.
16129 (modf): Define using libm_alias_double.
16130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
16131 Include <libm-alias-double.h>.
16132 (round): Define using libm_alias_double.
16133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
16134 Include <libm-alias-double.h>.
16135 (trunc): Define using libm_alias_double.
16136 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
16137 <libm-alias-double.h>.
16138 (ceil): Define using libm_alias_double.
16139 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
16140 <libm-alias-double.h>.
16141 (floor): Define using libm_alias_double.
16142 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
16143 <libm-alias-double.h>.
16144 (round): Define using libm_alias_double.
16145 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
16146 <libm-alias-double.h>.
16147 (trunc): Define using libm_alias_double.
16148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
16149 <libm-alias-double.h>.
16150 (ceil): Define using libm_alias_double.
16151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
16152 <libm-alias-double.h>.
16153 (floor): Define using libm_alias_double.
16154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
16155 <libm-alias-double.h>.
16156 (modf): Define using libm_alias_double.
16157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
16158 <libm-alias-double.h>.
16159 (round): Define using libm_alias_double.
16160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
16161 <libm-alias-double.h>.
16162 (trunc): Define using libm_alias_double.
16163 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
16164 <libm-alias-double.h>.
16165 (ceil): Define using libm_alias_double.
16166 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
16167 <libm-alias-double.h>.
16168 (floor): Define using libm_alias_double.
16169 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
16170 <libm-alias-double.h>.
16171 (nearbyint): Define using libm_alias_double.
16172 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
16173 <libm-alias-double.h>.
16174 (rint): Define using libm_alias_double.
16175 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
16176 <libm-alias-double.h>.
16177 (round): Define using libm_alias_double.
16178 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
16179 <libm-alias-double.h>.
16180 (trunc): Define using libm_alias_double.
16181 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
16182 <libm-alias-double.h>.
16183 (ceil): Define using libm_alias_double.
16184 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
16185 <libm-alias-double.h>.
16186 (floor): Define using libm_alias_double.
16187 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
16188 <libm-alias-double.h>.
16189 (round): Define using libm_alias_double.
16190 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
16191 <libm-alias-double.h>.
16192 (trunc): Define using libm_alias_double.
16193
16194 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
16195 (fabs): Define using libm_alias_double.
16196 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
16197 (fma): Define using libm_alias_double.
16198 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
16199 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
16200 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
16201 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
16202
16203 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16204
16205 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
16206
16207 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
16208 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
16209 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
16210
16211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
16212 due redirect macro.
16213
16214 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
16215
16216 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
16217
16218 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16219
16220 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
16221 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
16222 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
16223 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
16224
16225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16226 (libm-sysdep_routines): Add s_nearbyintf-generic and
16227 s_nearbyint-generic.
16228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
16229 New file.
16230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
16231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
16232 Likewise.
16233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
16234 Likewise.
16235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
16236 file.
16237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
16238 Likewise.
16239
16240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16241 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
16242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
16243 file.
16244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
16245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
16246 Likewise.
16247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
16248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
16249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16250
16251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16252 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
16253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
16254 file.
16255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
16256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
16257 Likewise.
16258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
16259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
16260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
16261
16262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16263 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
16264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
16265 file.
16266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
16267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
16268 Likewise.
16269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
16270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
16271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16272
16273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16274 (sysdep_calls): New rule.
16275 (sysdep_routines): Use sysdep_calls as base.
16276 (libm-sysdep_routines): Add generic rule for symbols shared with
16277 libc. Add s_copysign-generic and s_copysign-generic objects.
16278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
16279 New file.
16280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
16281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
16282 Likewise.
16283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
16284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
16285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
16286
16287 2017-12-01 Mike FABIAN <mfabian@redhat.com>
16288
16289 [BZ #22519]
16290 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
16291 the list of locales to be built for testing.
16292 * localedata/is_IS.UTF-8.in: New file.
16293 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
16294 on iso14651_t1.
16295
16296 2017-12-01 Joseph Myers <joseph@codesourcery.com>
16297
16298 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
16299 <libm-alias-float.h>.
16300 (fabsf): Define using libm_alias_float.
16301
16302 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
16303
16304 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
16305
16306 2017-11-30 Joseph Myers <joseph@codesourcery.com>
16307
16308 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
16309 <libm-alias-float.h>.
16310 (fabsf): Define using libm_alias_float.
16311 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
16312 <libm-alias-float.h>.
16313 (lrintf): Define using libm_alias_float.
16314 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
16315 <libm-alias-float.h>.
16316 (rintf): Define using libm_alias_float.
16317
16318 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
16319 <libm-alias-double.h>.
16320 (fabs): Define using libm_alias_double.
16321 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
16322 <libm-alias-double.h>.
16323 (lrint): Define using libm_alias_double.
16324 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
16325 <libm-alias-double.h>.
16326 (rint): Define using libm_alias_double.
16327
16328 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
16329 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
16330 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
16331 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
16332 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
16333 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
16334 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
16335 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
16336 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
16337 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
16338 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
16339 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
16340 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
16341 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
16342 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
16343 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
16344 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
16345 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
16346 s_atan_template.c.
16347 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
16348 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
16349 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
16350 s_ceil_template.c.
16351 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
16352 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
16353 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
16354 s_cos_template.c.
16355 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
16356 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
16357 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
16358 s_expm1_template.c.
16359 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
16360 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
16361 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
16362 s_fabs_template.c.
16363 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
16364 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
16365 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
16366 s_floor_template.c.
16367 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
16368 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
16369 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
16370 s_frexp_template.c.
16371 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
16372 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
16373 s_lrint_template.c.
16374 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
16375 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
16376 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
16377 s_modf_template.c.
16378 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
16379 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
16380 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
16381 s_nearbyint_template.c.
16382 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
16383 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
16384 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
16385 s_remquo_template.c.
16386 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
16387 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
16388 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
16389 s_rint_template.c.
16390 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
16391 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
16392 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
16393 s_sin_template.c.
16394 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
16395 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
16396 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
16397 s_sincos_template.c.
16398 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
16399 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
16400 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
16401 s_tan_template.c.
16402 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
16403 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
16404 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
16405 s_tanh_template.c.
16406 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
16407 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
16408 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
16409 s_trunc_template.c.
16410 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
16411 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
16412 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
16413 s_atan.c instead of including s_atan.c.
16414 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
16415 s_atanf.c instead of including s_atanf.c.
16416 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
16417 s_atanl.c instead of including s_atanl.c.
16418 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
16419 instead of s_atan.c.
16420 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
16421 instead of s_atanf.c.
16422 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
16423 instead of s_atanl.c.
16424
16425 * scripts/update-copyrights: Do not handle intl/plural.c
16426 specially.
16427
16428 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
16429
16430 [BZ #22432]
16431 * configure.ac (BISON): Require to be present.
16432 * configure: Regenerated.
16433 * intl/Makefile (generated): Add plural.c.
16434 [$(BISON) != no]: Make code unconditional.
16435 (plural.c): Change rule to $(objpfx)plural.c.
16436 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
16437 * intl/plural.c: Remove.
16438 * manual/install.texi (Tools for Compilation): Document bison as
16439 required.
16440 * INSTALL: Regenerated.
16441
16442 2017-11-30 Joseph Myers <joseph@codesourcery.com>
16443
16444 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
16445 <libm-alias-double.h>.
16446 (llrint): Define using libm_alias_double.
16447 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
16448 <libm-alias-float.h>.
16449 (llrintf): Define using libm_alias_float.
16450 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
16451 <libm-alias-ldouble.h>.
16452 (llrintl): Define using libm_alias_ldouble.
16453
16454 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
16455 declare_mgen_alias instead of weak_alias.
16456 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
16457 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
16458 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
16459
16460 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16461
16462 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16463 Add add_n-generic.
16464 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
16465 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
16466 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
16467
16468 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16469 Add submul_1-generic.
16470 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
16471 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
16472 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
16473
16474 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16475 Add addmul_1-generic.
16476 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
16477 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
16478 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
16479
16480 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16481 Add sub_n-generic.
16482 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
16483 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
16484 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
16485
16486 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16487 Add mul_1-generic.
16488 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
16489 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
16490 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
16491
16492 2017-11-30 Mike FABIAN <mfabian@redhat.com>
16493
16494 According to CLDR, collation rules for Serbian and Bosnian
16495 should be the same as for Croatian.
16496
16497 [BZ #22534]
16498 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
16499 and to the list of locales to be built for testing.
16500 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
16501 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
16502 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
16503 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
16504
16505 2017-11-30 Mike FABIAN <mfabian@redhat.com>
16506
16507 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
16508 to make test case pass.
16509 * localedata/hr_HR.UTF-8.in: Add more test strings.
16510
16511 2017-11-30 Mike FABIAN <mfabian@redhat.com>
16512
16513 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
16514
16515 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
16516
16517 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
16518 the list of locales to built for testing.
16519 * localedata/hr_HR.UTF-8.in: New file.
16520
16521 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
16522
16523 [BZ #10580]
16524 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
16525 iso14651_t1.
16526 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
16527 CLDR (except use ligatures for the digraphs, CLDR does not use
16528 the ligatures), add first_workday, some fixes in the date and time
16529 formats.
16530 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
16531 for Đ and đ.
16532 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
16533 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
16534 Add int_p_cs_precedes and int_n_cs_precedes.
16535 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
16536 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
16537 LC_MONETARY now).
16538 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
16539 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
16540 name_miss.
16541 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
16542 and lang_lib. Change postal_fmt.
16543
16544 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
16545
16546 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
16547 <setjmp.h>.
16548 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
16549 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
16550 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
16551 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
16552 * sysdeps/generic/setjmpP.h: New file.
16553 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
16554 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
16555 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
16556 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
16557 Add jmp_buf-ssp.sym.
16558 (tests): Add tst-saved_mask-1.
16559
16560 2017-11-30 Arjun Shankar <arjun@redhat.com>
16561
16562 [BZ #22375]
16563 CVE-2017-17426
16564 * malloc/malloc.c (__libc_malloc): Use checked_request2size
16565 instead of request2size.
16566
16567 2017-11-30 Joseph Myers <joseph@codesourcery.com>
16568
16569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
16570 (__lllrint): Remove alias.
16571 (lllrint): Likewise.
16572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
16573 (__lllrintf): Likewise.
16574 (lllrintf): Likewise.
16575
16576 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
16577 <libm-alias-float.h>.
16578 (copysignf): Define using libm_alias_float.
16579 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
16580 <libm-alias-float.h>.
16581 (fabsf): Define using libm_alias_float.
16582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16583 Include <libm-alias-float.h>.
16584 (copysignf): Define using libm_alias_float.
16585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
16586 <libm-alias-float.h>.
16587 (fabsf): Define using libm_alias_float.
16588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
16589 <libm-alias-float.h>.
16590 (fdimf): Define using libm_alias_float.
16591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
16592 <libm-alias-float.h>.
16593 (fmaf): Define using libm_alias_float.
16594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
16595 <libm-alias-float.h>.
16596 (llrintf): Define using libm_alias_float.
16597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
16598 Include <libm-alias-float.h>.
16599 (nearbyintf): Define using libm_alias_float.
16600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
16601 <libm-alias-float.h>.
16602 (rintf): Define using libm_alias_float.
16603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
16604 <libm-alias-float.h>.
16605 (llrintf): Define using libm_alias_float.
16606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
16607 <libm-alias-float.h>.
16608 (lrintf): Define using libm_alias_float.
16609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
16610 <libm-alias-float.h>.
16611 (nearbyintf): Define using libm_alias_float.
16612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
16613 <libm-alias-float.h>.
16614 (rintf): Define using libm_alias_float.
16615 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
16616 <libm-alias-float.h>.
16617 (ceilf): Define using libm_alias_float.
16618 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
16619 <libm-alias-float.h>.
16620 (floorf): Define using libm_alias_float.
16621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
16622 <libm-alias-float.h>.
16623 (fmaf): Define using libm_alias_float.
16624 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
16625 <libm-alias-float.h>.
16626 (lrintf): Define using libm_alias_float.
16627 (llrintf): Likewise.
16628 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
16629 <libm-alias-float.h>.
16630 (nearbyintf): Define using libm_alias_float.
16631 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
16632 <libm-alias-float.h>.
16633 (rintf): Define using libm_alias_float.
16634 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
16635 <libm-alias-float.h>.
16636 (truncf): Define using libm_alias_float.
16637 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
16638 <libm-alias-float.h>.
16639 (copysignf): Define using libm_alias_float.
16640 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
16641 <libm-alias-float.h>.
16642 (fabsf): Define using libm_alias_float.
16643 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
16644 <libm-alias-float.h>.
16645 (lrintf): Define using libm_alias_float.
16646 (llrintf): Likewise.
16647 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
16648 <libm-alias-float.h>.
16649 (nearbyintf): Define using libm_alias_float.
16650 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
16651 <libm-alias-float.h>.
16652 (rintf): Define using libm_alias_float.
16653
16654 2017-11-29 Joseph Myers <joseph@codesourcery.com>
16655
16656 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
16657 <libm-alias-double.h>.
16658 (copysign): Define using libm_alias_double.
16659 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
16660 <libm-alias-double.h>.
16661 (fabs): Define using libm_alias_double.
16662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16663 Include <libm-alias-double.h>.
16664 (copysign): Define using libm_alias_double.
16665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
16666 <libm-alias-double.h>.
16667 (fabs): Define using libm_alias_double.
16668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
16669 <libm-alias-double.h>.
16670 (fdim): Define using libm_alias_double.
16671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
16672 <libm-alias-double.h>.
16673 (fma): Define using libm_alias_double.
16674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
16675 <libm-alias-double.h>.
16676 (llrint): Define using libm_alias_double.
16677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
16678 Include <libm-alias-double.h>.
16679 (nearbyint): Define using libm_alias_double.
16680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
16681 <libm-alias-double.h>.
16682 (rint): Define using libm_alias_double.
16683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
16684 <libm-alias-double.h>.
16685 (fabs): Define using libm_alias_double.
16686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
16687 <libm-alias-double.h>.
16688 (llrint): Define using libm_alias_double.
16689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
16690 <libm-alias-double.h>.
16691 (nearbyint): Define using libm_alias_double.
16692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
16693 <libm-alias-double.h>.
16694 (rint): Define using libm_alias_double.
16695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
16696 <libm-alias-double.h>.
16697 (ceil): Define using libm_alias_double.
16698 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
16699 <libm-alias-double.h>.
16700 (floor): Define using libm_alias_double.
16701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
16702 <libm-alias-double.h>.
16703 (fma): Define using libm_alias_double.
16704 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
16705 <libm-alias-double.h>.
16706 (lrint): Define using libm_alias_double.
16707 (llrint): Likewise.
16708 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
16709 <libm-alias-double.h>.
16710 (nearbyint): Define using libm_alias_double.
16711 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
16712 <libm-alias-double.h>.
16713 (rint): Define using libm_alias_double.
16714 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
16715 <libm-alias-double.h>.
16716 (trunc): Define using libm_alias_double.
16717 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
16718 <libm-alias-double.h>.
16719 (copysign): Define using libm_alias_double.
16720 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
16721 <libm-alias-double.h>.
16722 (fabs): Define using libm_alias_double.
16723 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
16724 <libm-alias-double.h>.
16725 (lrint): Define using libm_alias_double.
16726 (llrint): Likewise.
16727 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
16728 <libm-alias-double.h>.
16729 (nearbyint): Define using libm_alias_double.
16730 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
16731 <libm-alias-double.h>.
16732 (rint): Define using libm_alias_double.
16733
16734 [BZ #22229]
16735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
16736 <math_ldbl_opt.h>.
16737 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
16738
16739 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16740 SPARC --disable-multi-arch glibc variants.
16741
16742 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
16743 <libm-alias-float.h>.
16744 (exp2f): Define using libm_alias_float, or libm_alias_float_other
16745 if [SHARED].
16746 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
16747 <libm-alias-float.h>.
16748 (exp2f): Define using libm_alias_float, or libm_alias_float_other
16749 if [SHARED].
16750 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
16751 <libm-alias-float.h>.
16752 (exp2f): Define using libm_alias_float, or libm_alias_float_other
16753 if [SHARED].
16754 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
16755 <libm-alias-float.h>.
16756 (exp2f): Define using libm_alias_float, or libm_alias_float_other
16757 if [SHARED].
16758 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
16759 <libm-alias-float.h>.
16760 (exp2f): Define using libm_alias_float, or libm_alias_float_other
16761 if [SHARED].
16762 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
16763 <libm-alias-float.h>.
16764 (ceilf): Define using libm_alias_float.
16765 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
16766 <libm-alias-float.h>.
16767 (floorf): Define using libm_alias_float.
16768 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
16769 <libm-alias-float.h>.
16770 (fmaf): Define using libm_alias_float.
16771 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
16772 <libm-alias-float.h>.
16773 (nearbyintf): Define using libm_alias_float.
16774 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
16775 <libm-alias-float.h>.
16776 (rintf): Define using libm_alias_float.
16777 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
16778 <libm-alias-float.h>.
16779 (truncf): Define using libm_alias_float.
16780 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
16781 (copysignf): Define using libm_alias_float.
16782 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
16783 (cosf): Define using libm_alias_float.
16784 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
16785 (fabsf): Define using libm_alias_float.
16786 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
16787 (fmaxf): Define using libm_alias_float.
16788 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
16789 (fminf): Define using libm_alias_float.
16790 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
16791 (llrintf): Define using libm_alias_float.
16792 [!__ILP32__] (lrintf): Likewise.
16793 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
16794 (sincosf): Define using libm_alias_float.
16795 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
16796 (sinf): Define using libm_alias_float.
16797 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
16798 (lrintf): Define using libm_alias_float.
16799
16800 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
16801 <libm-alias-double.h>.
16802 (atan): Define using libm_alias_double.
16803 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
16804 <libm-alias-double.h>.
16805 (ceil): Define using libm_alias_double.
16806 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
16807 <libm-alias-double.h>.
16808 (floor): Define using libm_alias_double.
16809 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
16810 <libm-alias-double.h>.
16811 (fma): Define using libm_alias_double.
16812 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
16813 <libm-alias-double.h>.
16814 (nearbyint): Define using libm_alias_double.
16815 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
16816 <libm-alias-double.h>.
16817 (rint): Define using libm_alias_double.
16818 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
16819 <libm-alias-double.h>.
16820 (sin): Define using libm_alias_double.
16821 (cos): Likewise.
16822 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
16823 <libm-alias-double.h>.
16824 (tan): Define using libm_alias_double.
16825 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
16826 <libm-alias-double.h>.
16827 (trunc): Define using libm_alias_double.
16828 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
16829 (copysign): Define using libm_alias_double.
16830 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
16831 (fabs): Define using libm_alias_double.
16832 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
16833 (fmax): Define using libm_alias_double.
16834 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
16835 (fmin): Define using libm_alias_double.
16836 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
16837 (llrint): Define using libm_alias_double.
16838 [!__ILP32__] (lrint): Likewise.
16839 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
16840 (lrint): Define using libm_alias_double.
16841
16842 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16843
16844 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
16845 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
16846 objects.
16847 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
16848 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
16849 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
16850 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
16851 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
16852 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16853
16854 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
16855 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
16856 objects.
16857 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
16858 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
16859 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
16860 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
16861 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
16862 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16863
16864 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
16865 (libm-sysdep_routines): Add s_nearbyint-generic and
16866 s_nearbyintf-generic objects.
16867 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
16868 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
16869 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
16870 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
16871 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
16872 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
16873
16874 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
16875 Add s_finitef-generic and s_finite-generic objects.
16876 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
16877 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
16878 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
16879 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
16880 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
16881 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
16882
16883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
16884 Add s_isinff-generic and s_isinf-generic objects.
16885 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
16886 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
16887 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
16888 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
16889 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
16890 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16891
16892 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
16893 Add s_isnanf-generic and s_isnan-generic objects.
16894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
16895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
16896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
16897 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
16898 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
16899 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16900
16901 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
16902 macro.
16903 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
16904 rule.
16905 (sysdep_routines): Use sysdep_calls as base.
16906 (libm-sysdep_routines): Add generic rule for symbols shared with
16907 libc. Add s_signbit-generic and s_signbitf-generic objects.
16908 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
16909 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
16910 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
16911 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
16912 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
16913 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16914
16915 2017-11-29 Joseph Myers <joseph@codesourcery.com>
16916
16917 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
16918 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
16919 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
16920 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
16921 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
16922 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
16923 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
16924 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
16925 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
16926 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
16927 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
16928 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
16929 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
16930 libm_alias_float_r.
16931 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
16932 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
16933 (logf): Likewise.
16934 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
16935 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
16936 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
16937 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
16938 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
16939 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
16940 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
16941 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
16942 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
16943 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
16944 libm_alias_float.
16945 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
16946 (cosf): Likewise.
16947 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
16948 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
16949 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
16950 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
16951 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
16952 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
16953 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
16954 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
16955 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
16956 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
16957 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
16958 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
16959 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
16960 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
16961 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
16962 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
16963 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
16964 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
16965 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
16966 libm_alias_float.
16967 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
16968 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
16969 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
16970 * sysdeps/ia64/fpu/w_lgammaf_main.c
16971 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
16972 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
16973
16974 2017-11-28 Mike FABIAN <mfabian@redhat.com>
16975 Alexandre Oliva <aoliva@redhat.com>
16976
16977 [BZ #17750]
16978 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
16979 * localedata/fr_CA.UTF-8.in: New file with test data for backward
16980 accents sorting.
16981 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
16982 sorting.
16983 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
16984 * localedata/locales/de_DE (LC_COLLATE): Likewise.
16985 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
16986 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
16987 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
16988 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
16989 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
16990 instead of “ifdef DIACRIT_BACKWARD”.
16991
16992 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16993
16994 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
16995 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
16996 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
16997 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
16998 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
16999 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
17000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
17001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
17002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
17003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
17004 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
17005 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
17006 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
17007 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
17008 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
17009 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
17010 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
17011 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
17012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17013 ($(have-as-vis3) == yes): Remove conditional.
17014 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
17015 Likewise.
17016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
17017 file.
17018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
17019 file.
17020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
17021 file.
17022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
17023 file.
17024 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
17025 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
17026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
17027 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
17028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
17029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
17030 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
17031 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
17032
17033 2017-11-29 Joseph Myers <joseph@codesourcery.com>
17034
17035 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
17036 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
17037 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
17038 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
17039 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
17040 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
17041 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
17042 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
17043 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
17044 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
17045 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
17046 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
17047 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
17048 libm_alias_double_r.
17049 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
17050 (log): Likewise.
17051 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
17052 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
17053 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
17054 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
17055 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
17056 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
17057 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
17058 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
17059 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
17060 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
17061 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
17062 libm_alias_double.
17063 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
17064 (cos): Likewise.
17065 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
17066 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
17067 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
17068 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
17069 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
17070 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
17071 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
17072 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
17073 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
17074 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
17075 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
17076 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
17077 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
17078 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
17079 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
17080 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
17081 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
17082 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
17083 libm_alias_double.
17084 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
17085 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
17086 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
17087 * sysdeps/ia64/fpu/w_lgamma_main.c
17088 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
17089 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
17090
17091 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
17092
17093 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
17094 address of $global$ into %dp register earlier. Use pc-relative
17095 instruction sequence for PIC case.
17096
17097 2017-11-28 Joseph Myers <joseph@codesourcery.com>
17098
17099 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
17100 (asinhf): Define using libm_alias_float.
17101 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
17102 (atanf): Define using libm_alias_float.
17103 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
17104 (cbrtf): Define using libm_alias_float.
17105 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
17106 (ceilf): Define using libm_alias_float.
17107 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
17108 (copysignf): Define using libm_alias_float.
17109 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
17110 (expm1f): Define using libm_alias_float.
17111 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
17112 (fabsf): Define using libm_alias_float.
17113 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
17114 (floorf): Define using libm_alias_float.
17115 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
17116 (fmaxf): Define using libm_alias_float.
17117 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
17118 (fminf): Define using libm_alias_float.
17119 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
17120 (frexpf): Define using libm_alias_float.
17121 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
17122 (llrintf): Define using libm_alias_float.
17123 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
17124 (logbf): Define using libm_alias_float.
17125 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
17126 (lrintf): Define using libm_alias_float.
17127 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
17128 (nearbyintf): Define using libm_alias_float.
17129 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
17130 (remquof): Define using libm_alias_float.
17131 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
17132 (rintf): Define using libm_alias_float.
17133 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
17134 (truncf): Define using libm_alias_float.
17135 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
17136 <libm-alias-float.h>.
17137 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17138 if [SHARED].
17139 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
17140 <libm-alias-float.h>.
17141 (expf): Define using libm_alias_float, or libm_alias_float_other
17142 if [SHARED].
17143 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
17144 <libm-alias-float.h>.
17145 (log2f): Define using libm_alias_float, or libm_alias_float_other
17146 if [SHARED].
17147 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
17148 <libm-alias-float.h>.
17149 (logf): Define using libm_alias_float, or libm_alias_float_other
17150 if [SHARED].
17151 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
17152 <libm-alias-float.h>.
17153 (powf): Define using libm_alias_float, or libm_alias_float_other
17154 if [SHARED].
17155 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
17156 <libm-alias-float.h>.
17157 (cosf): Define using libm_alias_float.
17158 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
17159 <libm-alias-float.h>.
17160 (sincosf): Define using libm_alias_float.
17161 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
17162 <libm-alias-float.h>.
17163 (sinf): Define using libm_alias_float.
17164 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
17165 (fmaxf): Define using libm_alias_float.
17166 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
17167 (fminf): Define using libm_alias_float.
17168 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17169 <libm-alias-float.h>.
17170 (fmaf): Define using libm_alias_float.
17171
17172 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
17173 (asinh): Define using libm_alias_double.
17174 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
17175 (atan): Define using libm_alias_double.
17176 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
17177 (cbrt): Define using libm_alias_double.
17178 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
17179 (ceil): Define using libm_alias_double.
17180 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
17181 (copysign): Define using libm_alias_double.
17182 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
17183 (expm1): Define using libm_alias_double.
17184 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
17185 (fabs): Define using libm_alias_double.
17186 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
17187 (fdim): Define using libm_alias_double.
17188 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
17189 (floor): Define using libm_alias_double.
17190 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
17191 (fmax): Define using libm_alias_double.
17192 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
17193 (fmin): Define using libm_alias_double.
17194 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
17195 (frexp): Define using libm_alias_double.
17196 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
17197 (llrint): Define using libm_alias_double.
17198 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
17199 (logb): Define using libm_alias_double.
17200 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
17201 (lrint): Define using libm_alias_double.
17202 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
17203 (nearbyint): Define using libm_alias_double.
17204 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
17205 (remquo): Define using libm_alias_double.
17206 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
17207 (rint): Define using libm_alias_double.
17208 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
17209 (trunc): Define using libm_alias_double.
17210 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
17211 (fmax): Define using libm_alias_double.
17212 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
17213 (fmin): Define using libm_alias_double.
17214 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
17215 (fma): Define using libm_alias_double.
17216
17217 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
17218
17219 [BZ #22370]
17220 * elf/dl-hwcaps.c (ROUND): Removed.
17221 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
17222 and ELF_NOTE_NEXT_OFFSET.
17223 * elf/dl-load.c (ROUND): Removed.
17224 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
17225 * elf/readelflib.c (ROUND): Removed.
17226 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
17227 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
17228 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
17229 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
17230
17231 2017-11-28 Joseph Myers <joseph@codesourcery.com>
17232
17233 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
17234 [!__fmaf] (fmaf): Define using libm_alias_float.
17235
17236 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
17237 [!__fma] (fma): Define using libm_alias_double.
17238 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
17239
17240 2017-11-28 Mike FABIAN <mfabian@redhat.com>
17241
17242 [BZ #22336]
17243 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
17244 and implement the collation rules for cs from CLDR on top of that.
17245 * Makefile: Add cs_CZ.UTF-8 to test-input.
17246 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
17247
17248 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
17249
17250 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
17251
17252 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
17253 Icarus Sparry <icarus.w.sparry@intel.com>
17254
17255 * benchtests/Makefile:Add BENCHSET to allow subsets of
17256 benchmarks to be run.
17257 * benchtests/README: Add documentation for: Running subsets of
17258 benchmarks.
17259
17260 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
17261
17262 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
17263 range of tests names.
17264
17265 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
17266 result from property and remove "max", min" and "mean" from
17267 required properties based on benchtests/bench-skeleton.c.
17268
17269 2017-11-28 Florian Weimer <fweimer@redhat.com>
17270
17271 [BZ #20826]
17272 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
17273 due to Internet requirement.
17274 * posix/Makefile (tests): Remove tst-getaddrinfo4,
17275 tst-getaddrinfo5.
17276 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
17277
17278 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17279
17280 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17281 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
17282 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
17283 (sysdep_routines): Add memset-ultra1.
17284 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
17285 file.
17286 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
17287 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
17288 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
17289 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
17290 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
17291 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
17292 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
17293 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17294
17295 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
17296 file.
17297 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
17298 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
17299 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
17300 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
17301 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
17302 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
17303 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
17304 macro.
17305 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17306 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
17307 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
17308 (sysdep_routines): Add memcpy-ultra1.
17309 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
17310 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
17311
17312 2017-11-28 Joseph Myers <joseph@codesourcery.com>
17313
17314 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
17315 (cfloat_versions): Take function argument without trailing 'f'.
17316 Call libm_alias_float_other.
17317 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
17318 * sysdeps/alpha/fpu/cargf.c: Likewise.
17319 * sysdeps/alpha/fpu/cimagf.c: Likewise.
17320 * sysdeps/alpha/fpu/conjf.c: Likewise.
17321 * sysdeps/alpha/fpu/crealf.c: Likewise.
17322 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
17323 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
17324 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
17325 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
17326 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
17327 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17328 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
17329 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
17330 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
17331 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
17332 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
17333 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
17334 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
17335 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
17336 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
17337 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17338 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17339 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
17340 (clog10f): Use libm_alias_float_other.
17341 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
17342 (ceilf): Define using libm_alias_float.
17343 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
17344 (copysignf): Define using libm_alias_float.
17345 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
17346 (fabsf): Define using libm_alias_float.
17347 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
17348 (floorf): Define using libm_alias_float.
17349 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
17350 (fmaxf): Define using libm_alias_float.
17351 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
17352 (fminf): Define using libm_alias_float.
17353 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
17354 (lrintf): Define using libm_alias_float.
17355 (llrintf): Likewise.
17356 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
17357 (lroundf): Define using libm_alias_float.
17358 (llroundf): Likewise.
17359 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
17360 (rintf): Define using libm_alias_float.
17361 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
17362 (truncf): Define using libm_alias_float.
17363
17364 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
17365 (ceilf): Define using libm_alias_float.
17366 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
17367 (floorf): Define using libm_alias_float.
17368 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
17369 (fmaf): Define using libm_alias_float.
17370 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
17371 (fmaxf): Define using libm_alias_float.
17372 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
17373 (fminf): Define using libm_alias_float.
17374 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
17375 (llrintf): Define using libm_alias_float.
17376 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
17377 (llroundf): Define using libm_alias_float.
17378 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
17379 (lrintf): Define using libm_alias_float.
17380 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
17381 (lroundf): Define using libm_alias_float.
17382 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
17383 <libm-alias-float.h>.
17384 (nearbyintf): Define using libm_alias_float.
17385 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
17386 (rintf): Define using libm_alias_float.
17387 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
17388 (roundf): Define using libm_alias_float.
17389 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
17390 (truncf): Define using libm_alias_float.
17391
17392 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
17393 (ceil): Define using libm_alias_double.
17394 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
17395 (copysign): Define using libm_alias_double.
17396 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
17397 (fabs): Define using libm_alias_double.
17398 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
17399 (floor): Define using libm_alias_double.
17400 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
17401 (fmax): Define using libm_alias_double.
17402 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
17403 (fmin): Define using libm_alias_double.
17404 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
17405 (lrint): Define using libm_alias_double.
17406 (llrint): Likewise.
17407 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
17408 (lround): Define using libm_alias_double.
17409 (llround): Likewise.
17410 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
17411 (rint): Define using libm_alias_double.
17412 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
17413 (trunc): Define using libm_alias_double.
17414
17415 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
17416 (libm_alias_double_r): Add semicolon after weak_alias call.
17417
17418 2017-11-27 Joseph Myers <joseph@codesourcery.com>
17419
17420 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
17421 (ceil): Define using libm_alias_double.
17422 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
17423 (floor): Define using libm_alias_double.
17424 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
17425 (fma): Define using libm_alias_double.
17426 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
17427 (fmax): Define using libm_alias_double.
17428 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
17429 (fmin): Define using libm_alias_double.
17430 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
17431 (llrint): Define using libm_alias_double.
17432 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
17433 (llround): Define using libm_alias_double.
17434 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
17435 (lrint): Define using libm_alias_double.
17436 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
17437 (lround): Define using libm_alias_double.
17438 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
17439 (nearbyint): Define using libm_alias_double.
17440 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
17441 (rint): Define using libm_alias_double.
17442 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
17443 (round): Define using libm_alias_double.
17444 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
17445 (trunc): Define using libm_alias_double.
17446
17447 2017-11-27 Florian Weimer <fweimer@redhat.com>
17448
17449 * sysdeps/unix/sysv/linux/mlock2.c: New file.
17450 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
17451 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
17452 (tests): Add tst-mlock2.
17453 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
17454 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
17455 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
17456 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
17457 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
17458 for mlock. Document mlock2.
17459
17460 2017-11-27 Joseph Myers <joseph@codesourcery.com>
17461
17462 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
17463 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
17464 Likewise.
17465 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
17466 Likewise.
17467 * sysdeps/x86/Makeconfig: New file.
17468 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
17469 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17470 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
17471 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17472 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
17473 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17474 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
17475 Likewise.
17476 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17477 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
17478 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17479 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
17480 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17481 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
17482 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17483 * manual/math.texi (Mathematics): Document support for _Float64x.
17484 * math/Versions (GLIBC_2.27): Add _Float64x functions.
17485 * stdlib/Versions (GLIBC_2.27): Likewise.
17486 * wcsmbs/Versions (GLIBC_2.27): Likewise.
17487 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
17488 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17489 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17490 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17491 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17492 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17493 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17494 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17495 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17496 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17497 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
17499 Likewise.
17500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17501 Likewise.
17502 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17503 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17504 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17505 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17506 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17507 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17508 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17509 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17510 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17511 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17512 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17513 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17514 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17515 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17516
17517 2017-11-27 Andreas Schwab <schwab@suse.de>
17518
17519 * elf/Makefile (dl-routines): Add dl-sort-maps.
17520 * elf/dl-sort-maps.c: New file.
17521 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
17522 (_dl_sort_maps): Declare.
17523 * elf/dl-fini.c (_dl_sort_fini): Remove.
17524 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
17525 * elf/dl-close.c (_dl_close_worker): Likewise.
17526 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
17527 open-coding it.
17528 * elf/dl-open.c (dl_open_worker): Likewise.
17529
17530 2017-11-24 Joseph Myers <joseph@codesourcery.com>
17531
17532 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
17533 using libm_alias_float128.
17534 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
17535 Likewise.
17536 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
17537 Likewise.
17538 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
17539 (setpayloadsigf128): Likewise.
17540 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
17541 Likewise.
17542 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
17543 Likewise.
17544
17545 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
17546 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
17547 -mfloat128 to CFLAGS.
17548 ($(foreach
17549 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
17550 Likewise.
17551 (CFLAGS-libm-test-support-float64x.c): New variable.
17552 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
17553 $(f128-loader-link) to gnulib-tests.
17554
17555 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
17556 (libm_alias_float128_other_r): If
17557 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
17558 alias.
17559 (libm_alias_float128_r): Add semicolon after weak_alias call.
17560 * sysdeps/generic/libm-alias-ldouble.h
17561 (libm_alias_ldouble_other_r_f128): New macro.
17562 (libm_alias_ldouble_other_r_f64x): Likewise.
17563 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
17564 and libm_alias_ldouble_other_r_f64x.
17565 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
17566 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
17567 (libm_alias_ldouble_other_r_f128): New macro.
17568 (libm_alias_ldouble_other_r_f64x): Likewise.
17569 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
17570 and libm_alias_ldouble_other_r_f64x.
17571
17572 * stdlib/strfroml.c: Always include <stdlib.h>.
17573 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
17574 undefine as macro and define as weak alias.
17575 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
17576 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
17577 <stdlib.h>.
17578 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
17579 Define and later undefine as macro and define as weak alias.
17580
17581 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
17582 Define and later undefine as macro. Define as weak alias if
17583 [!USE_WIDE_CHAR].
17584 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
17585 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
17586 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
17587 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
17588 Define and later undefine as macro. Define as weak alias if
17589 [!USE_WIDE_CHAR].
17590 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
17591 Define and later undefine as macro. Define as weak alias if
17592 [USE_WIDE_CHAR].
17593 * sysdeps/ieee754/float128/strtof128_l.c
17594 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
17595 Define and later undefine as macro. Define as weak alias if
17596 [!USE_WIDE_CHAR].
17597 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
17598 Define and later undefine as macro. Define as weak alias if
17599 [USE_WIDE_CHAR].
17600 * sysdeps/ieee754/ldbl-128/strtold_l.c
17601 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
17602 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
17603 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
17604 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
17605 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
17606 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
17607 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
17608 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
17609 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
17610 * sysdeps/ieee754/ldbl-96/strtold_l.c
17611 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
17612 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
17613 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
17614 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
17615
17616 * math/test-float64x.h: New file.
17617 * math/Makefile (type-float64x-yes): New variable.
17618 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
17619
17620 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
17621 function-like macro.
17622 (min_of_type_): Likewise.
17623 (min_of_type_l): Likewise.
17624 (min_of_type_f128): Likewise.
17625 (min_of_type): Pass () as last argument of __MATH_TG.
17626
17627 * stdlib/tst-strtod-round-skeleton.c
17628 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
17629 headers.
17630
17631 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
17632 for combinations of long double with _Float64 and _Float64x.
17633
17634 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
17635 (__DECL_SIMD_cosf32): Likewise.
17636 (__DECL_SIMD_cosf64): Likewise.
17637 (__DECL_SIMD_cosf32x): Likewise.
17638 (__DECL_SIMD_cosf64x): Likewise.
17639 (__DECL_SIMD_cosf128x): Likewise.
17640 (__DECL_SIMD_sinf16): Likewise.
17641 (__DECL_SIMD_sinf32): Likewise.
17642 (__DECL_SIMD_sinf64): Likewise.
17643 (__DECL_SIMD_sinf32x): Likewise.
17644 (__DECL_SIMD_sinf64x): Likewise.
17645 (__DECL_SIMD_sinf128x): Likewise.
17646 (__DECL_SIMD_sincosf16): Likewise.
17647 (__DECL_SIMD_sincosf32): Likewise.
17648 (__DECL_SIMD_sincosf64): Likewise.
17649 (__DECL_SIMD_sincosf32x): Likewise.
17650 (__DECL_SIMD_sincosf64x): Likewise.
17651 (__DECL_SIMD_sincosf128x): Likewise.
17652 (__DECL_SIMD_logf16): Likewise.
17653 (__DECL_SIMD_logf32): Likewise.
17654 (__DECL_SIMD_logf64): Likewise.
17655 (__DECL_SIMD_logf32x): Likewise.
17656 (__DECL_SIMD_logf64x): Likewise.
17657 (__DECL_SIMD_logf128x): Likewise.
17658 (__DECL_SIMD_expf16): Likewise.
17659 (__DECL_SIMD_expf32): Likewise.
17660 (__DECL_SIMD_expf64): Likewise.
17661 (__DECL_SIMD_expf32x): Likewise.
17662 (__DECL_SIMD_expf64x): Likewise.
17663 (__DECL_SIMD_expf128x): Likewise.
17664 (__DECL_SIMD_powf16): Likewise.
17665 (__DECL_SIMD_powf32): Likewise.
17666 (__DECL_SIMD_powf64): Likewise.
17667 (__DECL_SIMD_powf32x): Likewise.
17668 (__DECL_SIMD_powf64x): Likewise.
17669 (__DECL_SIMD_powf128x): Likewise.
17670
17671 * stdlib/Versions (libc): Move entries for wcstof128 and
17672 wcstof128_l to ....
17673 * wcsmbs/Versions (libc): ... here.
17674 Include <float128-abi.h>.
17675
17676 2017-11-24 Florian Weimer <fweimer@redhat.com>
17677
17678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17679 bits/mman-shared.h.
17680 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
17681 <bits/mman-shared.h>.
17682 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
17683 to ...
17684 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
17685 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
17686 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
17687 <bits/mman-shared.h>.
17688
17689 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17690
17691 [BZ #22457]
17692 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
17693 posix_memalign/free.
17694 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
17695
17696 2017-11-22 Mike FABIAN <mfabian@redhat.com>
17697
17698 [BZ #22469]
17699 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
17700 and implement the collation rules for pl from CLDR on top of that.
17701 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
17702 of locales to be built for testing.
17703 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
17704
17705 2017-11-23 Joseph Myers <joseph@codesourcery.com>
17706
17707 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
17708 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
17709 libm_alias_ldouble_other.
17710 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
17711 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
17712 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
17713 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
17714 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
17715 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
17716 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
17717 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
17718 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
17719 libm_alias_ldouble_r.
17720 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
17721 libm_alias_ldouble_other.
17722 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
17723 (log10l): Likewise.
17724 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
17725 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
17726 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
17727 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
17728 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
17729 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
17730 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
17731 (atan2l): Likewise.
17732 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
17733 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
17734 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
17735 libm_alias_ldouble.
17736 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
17737 (cosl): Likewise.
17738 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
17739 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
17740 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
17741 (expl): Likewise.
17742 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
17743 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
17744 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
17745 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
17746 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
17747 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
17748 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
17749 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
17750 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
17751 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
17752 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
17753 libm_alias_ldouble.
17754 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
17755 libm_alias_ldouble_other.
17756 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
17757 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
17758 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
17759 libm_alias_ldouble.
17760 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
17761 libm_alias_ldouble_other.
17762 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
17763 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
17764 * sysdeps/ia64/fpu/w_lgammal_main.c
17765 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
17766 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
17767
17768 2017-11-23 Florian Weimer <fweimer@redhat.com>
17769
17770 * malloc/malloc.c (tcache_thread_shutdown): Rename from
17771 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
17772 alike. Remove freeres marker.
17773 * malloc/arena.c (arena_thread_freeres): Call
17774 tcache_thread_shutdown.
17775
17776 2017-11-23 Florian Weimer <fweimer@redhat.com>
17777
17778 [BZ #22459]
17779 Export nscd hash function as __nss_hash.
17780 * include/nss.h (__nss_hash): Declare.
17781 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
17782 symbol.
17783 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
17784 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
17785 of __nscd_hash.
17786 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
17787 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
17788 * nss/Makefiles (routines): Add nss_hash.
17789 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
17790 * nss/nss_hash.c: Rename from nis/nis_hash.c.
17791 (__nss_hash): Rename from __nis_hash. Define hidden alias.
17792 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
17793
17794 2017-11-23 Florian Weimer <fweimer@redhat.com>
17795
17796 [BZ #22478]
17797 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
17798 Return error code, not -1.
17799 * signal/tst-sigwait-eintr.c: New file.
17800 * signal/Makefile (tests): Add tst-sigwait-eintr.
17801
17802 2017-11-23 Florian Weimer <fweimer@redhat.com>
17803
17804 Linux: Add memfd_create system call wrapper
17805 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
17806 tst-memfd_create.
17807 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
17808 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
17809 [__USE_GNU] (memfd_create): Declare.
17810 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
17811 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
17812 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
17813 * sysdeps/unix/sysv/linux/**.abilist: Update.
17814 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
17815
17816 2017-11-22 Joseph Myers <joseph@codesourcery.com>
17817
17818 * localedata/gen-locale.sh: Fix typo in variable name.
17819
17820 * resolv/res_debug.c (p_secstodate): Condition definition on
17821 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
17822 directly as __p_secstodate, and as a compat symbol. Do not use
17823 libresolv_hidden_def.
17824 * resolv/resolv.h (p_secstodate): Remove macro and function
17825 declaration.
17826 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
17827 using p_secstodate.
17828 * include/resolv.h (__p_secstodate): Do not use
17829 libresolv_hidden_proto.
17830 * resolv/Makefile (tests): Move tst-p_secstodate to ....
17831 (tests-internal): ... here.
17832 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
17833 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
17834 and declare and use __p_secstodate and use compat_symbol_reference
17835 in that case.
17836 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
17837 implementation returning 77.
17838
17839 [BZ #22463]
17840 * resolv/res_debug.c: Include <libc-diag.h>.
17841 (p_secstodate): Assert time_t at least as wide as u_long. On
17842 overflow, use integer seconds since the epoch as output, or use
17843 "<overflow>" as output and set errno to EOVERFLOW if integer
17844 seconds since the epoch would be 14 or more characters.
17845 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
17846 for sprintf call.
17847 * resolv/tst-p_secstodate.c: New file.
17848 * resolv/Makefile (tests): Add tst-p_secstodate.
17849 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
17850
17851 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
17852 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17853 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
17854
17855 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
17856
17857 * posix/regcomp.c (init_word_char): Add comments.
17858
17859 2017-11-22 Joseph Myers <joseph@codesourcery.com>
17860
17861 [BZ #22447]
17862 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
17863 strlen to compute length of ut_user and set trailing NUL byte of
17864 result explicitly.
17865
17866 2017-11-21 Mike FABIAN <mfabian@redhat.com>
17867
17868 [BZ #15537]
17869 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
17870 using “copy "iso14651_t1"” and then implementing the
17871 collation rules for lv from CLDR on top of that.
17872 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
17873 of locales to be built for testing.
17874 * lv_LV.UTF-8.in: New file with test data to test the Latvian
17875 sorting.
17876
17877 2017-11-21 Joseph Myers <joseph@codesourcery.com>
17878
17879 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
17880 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
17881 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
17882 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
17883 [__USE_MISC] (MADV_HWPOISON): New macro.
17884 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
17885
17886 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17887
17888 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
17889 -Wmissing-braces on GCC 4.9.
17890
17891 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
17892
17893 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
17894 * sysdeps/s390/s390-32/start.S (_start): Likewise
17895 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
17896 (thread_start): Likewise.
17897 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
17898 (thread_start): Likewise.
17899 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
17900 (__makecontext_ret): Likewise.
17901 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
17902 (__makecontext_ret): Likewise.
17903
17904 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
17905
17906 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
17907 __wcschrnul): Remove attribute_hidden.
17908
17909 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
17910
17911 regex: don't assume uint64_t or uint32_t
17912 This avoids -Werror=overflow errors for 32-bit systems in
17913 the 64-bit case. Problem reported by Joseph Myers in:
17914 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
17915 Also, when this code is used in Gnulib it ports to platforms
17916 that lack uint64_t and uint32_t. The C standard doesn't guarantee
17917 them, and on some 32-bit compilers there is no uint64_t.
17918 Problem reported by Gianluigi Tiesi in:
17919 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
17920 * posix/regcomp.c (init_word_char): Don't assume that the types
17921 uint64_t and uint32_t exist. Adapted from Gnulib patch
17922 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
17923 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
17924
17925 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
17926
17927 * sysdeps/aarch64/memset-reg.h: New file.
17928 * sysdeps/aarch64/memset.S: Use it.
17929 (__memset): Rename to MEMSET macro.
17930 [ZVA_MACRO]: Use zva_macro.
17931 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17932 Add memset_generic and memset_falkor.
17933 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
17934 (__libc_ifunc_impl_list): Add memset ifuncs.
17935 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
17936 local variable zva_size.
17937 * sysdeps/aarch64/multiarch/memset.c: New file.
17938 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
17939 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
17940 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
17941 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
17942 (DCZID_DZP_MASK): New macro.
17943 (DCZID_BS_MASK): Likewise.
17944 (init_cpu_features): Read and set zva_size.
17945 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
17946 (struct cpu_features): New member zva_size.
17947
17948 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
17949 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
17950 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
17951
17952 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
17953 backwards. Fix timing computation.
17954 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
17955 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
17956 on memset by N at a time. Fix timing computation.
17957
17958 2017-11-20 Florian Weimer <fweimer@redhat.com>
17959
17960 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
17961 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
17962
17963 2017-11-19 Florian Weimer <fweimer@redhat.com>
17964
17965 manual: Document mprotect
17966 * manual/memory.texi (Memory Protection): New section.
17967 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
17968 documentation of PROT_* flags and reference the Memory Protection
17969 section instead.
17970
17971 2017-11-19 Florian Weimer <fweimer@redhat.com>
17972
17973 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
17974 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
17975 (Scatter-Gather): ... to here. Remove misleading comment.
17976
17977 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
17978
17979 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
17980 style.
17981
17982 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
17983 when /proc/<pid>/setgroups does not exist.
17984
17985 2017-11-18 Florian Weimer <fweimer@redhat.com>
17986
17987 * sysdeps/unix/sysv/linux/tst-ttyname.c
17988 (become_root_in_mount_ns): Remove.
17989 (do_in_chroot_1): Call support_enter_mount_namespace.
17990 (do_in_chroot_2): Likewise.
17991 (do_test): Call support_become_root early.
17992
17993 2017-11-18 Florian Weimer <fweimer@redhat.com>
17994
17995 * support/namespace.h (support_enter_mount_namespace): Declare.
17996 * support/support_enter_mount_namespace.c: New file.
17997 * support/Makefile (libsupport-routines): Add
17998 support_enter_mount_namespace.
17999
18000 2017-11-18 Florian Weimer <fweimer@redhat.com>
18001
18002 * support/temp_file.c (support_create_temp_directory): Use
18003 test_dir and do not rely on the presence of the XXXXXX suffix.
18004 * support/temp_file.h (support_create_temp_directory): Update
18005 comment.
18006 * support/tst-xreadlink.c (do_test): Adjust.
18007 * support/support_chroot.c (support_chroot_create): Likewise.
18008
18009 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18010
18011 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
18012 macro.
18013 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
18014 htm-no-suspend.
18015
18016 2017-11-17 Joseph Myers <joseph@codesourcery.com>
18017
18018 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
18019 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
18020 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
18021 (ceill): Define using libm_alias_ldouble.
18022 * sysdeps/x86_64/fpu/s_copysignl.S: Include
18023 <libm-alias-ldouble.h>.
18024 (copysignl): Define using libm_alias_ldouble.
18025 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
18026 (fabsl): Define using libm_alias_ldouble.
18027 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
18028 (floorl): Define using libm_alias_ldouble.
18029 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
18030 (fmaxl): Define using libm_alias_ldouble.
18031 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
18032 (fminl): Define using libm_alias_ldouble.
18033 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
18034 (llrintl): Define using libm_alias_ldouble.
18035 (lrintl): Likewise.
18036 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
18037 <libm-alias-ldouble.h>.
18038 (nearbyintl): Define using libm_alias_ldouble.
18039 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
18040 (truncl): Define using libm_alias_ldouble.
18041 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
18042 <libm-alias-ldouble.h>.
18043 (lrintl): Define using libm_alias_ldouble.
18044
18045 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
18046 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
18047 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
18048 (asinhl): Define using libm_alias_ldouble.
18049 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
18050 (atanl): Define using libm_alias_ldouble.
18051 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
18052 (cbrtl): Define using libm_alias_ldouble.
18053 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
18054 (ceill): Define using libm_alias_ldouble.
18055 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
18056 (copysignl): Define using libm_alias_ldouble.
18057 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
18058 (fabsl): Define using libm_alias_ldouble.
18059 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
18060 (floorl): Define using libm_alias_ldouble.
18061 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
18062 (fmaxl): Define using libm_alias_ldouble.
18063 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
18064 (fminl): Define using libm_alias_ldouble.
18065 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
18066 (frexpl): Define using libm_alias_ldouble.
18067 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
18068 (llrintl): Define using libm_alias_ldouble.
18069 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
18070 (logbl): Define using libm_alias_ldouble.
18071 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
18072 (lrintl): Define using libm_alias_ldouble.
18073 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
18074 (nearbyintl): Define using libm_alias_ldouble.
18075 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
18076 (nextafterl): Define using libm_alias_ldouble.
18077 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
18078 (remquol): Define using libm_alias_ldouble.
18079 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
18080 (rintl): Define using libm_alias_ldouble.
18081 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
18082 (truncl): Define using libm_alias_ldouble.
18083 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
18084 (fmaxl): Define using libm_alias_ldouble.
18085 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
18086 (fminl): Define using libm_alias_ldouble.
18087
18088 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
18089 to C syntax instead of availability and properties of types.
18090 * bits/floatn.h [!__ASSEMBLER]: Likewise.
18091 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
18092 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
18093 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
18094 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
18095 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
18096
18097 2017-11-17 Florian Weimer <fweimer@redhat.com>
18098
18099 support_become_root: Enable file creation in namespaces.
18100 * support/support_become_root.c (setup_mapping): New function.
18101 (support_become_root): Call it.
18102
18103 2017-11-17 Joseph Myers <joseph@codesourcery.com>
18104
18105 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
18106 macro.
18107
18108 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18109
18110 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
18111 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
18112
18113 2017-11-16 Joseph Myers <joseph@codesourcery.com>
18114
18115 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
18116
18117 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18118 version to 4.14.
18119
18120 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
18121
18122 * INSTALL: Fix botched up regeneration.
18123
18124 * NEWS: Update sourceare link to https.
18125 * configure.ac: Likewise.
18126 * crypt/md5test-giant.c: Likewise.
18127 * dlfcn/bug-atexit1.c: Likewise.
18128 * dlfcn/bug-atexit2.c: Likewise.
18129 * localedata/README: Likewise.
18130 * malloc/tst-mallocfork.c: Likewise.
18131 * manual/install.texi: Likewise.
18132 * nptl/tst-pthread-getattr.c: Likewise.
18133 * stdio-common/tst-fgets.c: Likewise.
18134 * stdio-common/tst-fwrite.c: Likewise.
18135 * sunrpc/Makefile: Likewise.
18136 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
18137 * wcsmbs/tst-mbrtowc2.c: Likewise.
18138 * configure: Regenerate.
18139 * INSTALL: Regenerate.
18140
18141 2017-11-15 Martin Sebor <msebor@redhat.com>
18142
18143 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
18144 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
18145 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
18146
18147 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
18148
18149 [BZ #22145]
18150 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
18151 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
18152
18153 [BZ #22145]
18154 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
18155 Defer is_pty check until end of the function.
18156 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18157
18158 [BZ #22145]
18159 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
18160 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
18161 (ttyname): Likewise.
18162 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
18163 (__ttyname_r): Likewise.
18164
18165 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
18166 int to bool.
18167
18168 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
18169
18170 * manual/terminal.texi (Is It a Terminal):
18171 Mention ENODEV for ttyname and ttyname_r.
18172
18173 2017-11-15 Joseph Myers <joseph@codesourcery.com>
18174
18175 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
18176 constant and macro.
18177
18178 * sysdeps/unix/sysv/linux/bits/mman-linux.h
18179 [__USE_MISC] (MADV_WIPEONFORK): New macro.
18180 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
18181 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
18182 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
18183 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
18184
18185 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18186
18187 * signal/sigrelse.c (sigrelse): Optimize implementation.
18188
18189 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
18190 (__sigpause): Rely on __sigsuspend to implement single thread
18191 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
18192
18193 2017-11-15 Joseph Myers <joseph@codesourcery.com>
18194
18195 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18196 kernel version to 4.14.
18197
18198 2017-11-15 Steve Ellcey <sellcey@cavium.com>
18199
18200 [BZ #22442]
18201 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
18202 Check if ifname is too long.
18203
18204 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
18205
18206 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
18207
18208 2017-11-15 Mike FABIAN <mfabian@redhat.com>
18209
18210 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
18211 was accidentally lost.
18212
18213 2017-11-15 Mike FABIAN <mfabian@redhat.com>
18214
18215 * localedata/locales/az_IR: Add standard copyright header.
18216
18217 2017-11-15 Florian Weimer <fweimer@redhat.com>
18218
18219 [BZ #22439]
18220 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
18221 not just the top one. Output a new "subheaps" statistic.
18222
18223 2017-11-15 Florian Weimer <fweimer@redhat.com>
18224
18225 [BZ #22408]
18226 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
18227 under the per-arena lock.
18228 * malloc/Makefile (tests): Add tst-malloc_info.
18229 (tst-malloc_info): Link with libpthread.
18230 * malloc/tst-malloc_info.c: New file.
18231
18232 2017-11-15 Joseph Myers <joseph@codesourcery.com>
18233
18234 [BZ #21660]
18235 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
18236 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
18237 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
18238 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
18239 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
18240 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
18241 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
18242 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
18243 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
18244 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
18245 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
18246 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
18247 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
18248 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
18249 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
18250 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
18251 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
18252 (__floating_type): Likewise.
18253 (__real_integer_type): Likewise.
18254 (__complex_integer_type): Likewise.
18255 (__expr_is_real): Likewise.
18256 (__tgmath_real_type_sub): Likewise.
18257 (__tgmath_real_type): Likewise.
18258 (__tgmath_complex_type_sub): Likewise.
18259 (__tgmath_complex_type): Likewise.
18260 (__TGMATH_F128): Likewise.
18261 (__TGMATH_CF128): Likewise.
18262 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
18263 new macros.
18264 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
18265 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
18266 Likewise.
18267 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
18268 Likewise.
18269 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
18270 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
18271 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
18272 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
18273 Likewise.
18274 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
18275 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
18276 Likewise.
18277 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
18278 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
18279 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
18280 Likewise.
18281 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
18282 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
18283 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
18284 (cimag): Likewise.
18285 (creal): Likewise.
18286
18287 2017-11-14 Joseph Myers <joseph@codesourcery.com>
18288
18289 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
18290 for stpncpy calls for GCC 8.
18291 (test_strncat): Disable -Wstringop-truncation warning for strncat
18292 calls for GCC 8. Disable -Wstringop-overflow= warning for one
18293 strncat call for GCC 7.
18294 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
18295 calls for GCC 8.
18296 (test_memcmp): Use memcpy instead of strncpy for calls not copying
18297 trailing NUL.
18298
18299 * string/bug-strncat1.c: Include <libc-diag.h>.
18300 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
18301
18302 2017-11-13 Claude Paroz <claude@2xlibre.net>
18303
18304 [BZ #22387]
18305 * localedata/locales/aa_DJ: Improved readibility by replacing
18306 <Uxxxx> sequences in the ASCII printable range by their ASCII
18307 character equivalents.
18308 * localedata/locales/aa_ER: Likewise.
18309 * localedata/locales/aa_ER@saaho: Likewise.
18310 * localedata/locales/aa_ET: Likewise.
18311 * localedata/locales/af_ZA: Likewise.
18312 * localedata/locales/agr_PE: Likewise.
18313 * localedata/locales/ak_GH: Likewise.
18314 * localedata/locales/am_ET: Likewise.
18315 * localedata/locales/anp_IN: Likewise.
18316 * localedata/locales/ar_AE: Likewise.
18317 * localedata/locales/ar_BH: Likewise.
18318 * localedata/locales/ar_DZ: Likewise.
18319 * localedata/locales/ar_EG: Likewise.
18320 * localedata/locales/ar_IN: Likewise.
18321 * localedata/locales/ar_IQ: Likewise.
18322 * localedata/locales/ar_JO: Likewise.
18323 * localedata/locales/ar_KW: Likewise.
18324 * localedata/locales/ar_LB: Likewise.
18325 * localedata/locales/ar_LY: Likewise.
18326 * localedata/locales/ar_MA: Likewise.
18327 * localedata/locales/ar_OM: Likewise.
18328 * localedata/locales/ar_QA: Likewise.
18329 * localedata/locales/ar_SA: Likewise.
18330 * localedata/locales/ar_SD: Likewise.
18331 * localedata/locales/ar_SS: Likewise.
18332 * localedata/locales/ar_SY: Likewise.
18333 * localedata/locales/ar_TN: Likewise.
18334 * localedata/locales/ar_YE: Likewise.
18335 * localedata/locales/as_IN: Likewise.
18336 * localedata/locales/ast_ES: Likewise.
18337 * localedata/locales/ayc_PE: Likewise.
18338 * localedata/locales/az_AZ: Likewise.
18339 * localedata/locales/az_IR: Likewise.
18340 * localedata/locales/be_BY: Likewise.
18341 * localedata/locales/be_BY@latin: Likewise.
18342 * localedata/locales/bem_ZM: Likewise.
18343 * localedata/locales/ber_DZ: Likewise.
18344 * localedata/locales/ber_MA: Likewise.
18345 * localedata/locales/bg_BG: Likewise.
18346 * localedata/locales/bhb_IN: Likewise.
18347 * localedata/locales/bho_IN: Likewise.
18348 * localedata/locales/bi_VU: Likewise.
18349 * localedata/locales/bn_BD: Likewise.
18350 * localedata/locales/bn_IN: Likewise.
18351 * localedata/locales/bo_CN: Likewise.
18352 * localedata/locales/bo_IN: Likewise.
18353 * localedata/locales/br_FR: Likewise.
18354 * localedata/locales/brx_IN: Likewise.
18355 * localedata/locales/bs_BA: Likewise.
18356 * localedata/locales/byn_ER: Likewise.
18357 * localedata/locales/ca_AD: Likewise.
18358 * localedata/locales/ca_ES: Likewise.
18359 * localedata/locales/ca_FR: Likewise.
18360 * localedata/locales/ca_IT: Likewise.
18361 * localedata/locales/ce_RU: Likewise.
18362 * localedata/locales/chr_US: Likewise.
18363 * localedata/locales/cmn_TW: Likewise.
18364 * localedata/locales/crh_UA: Likewise.
18365 * localedata/locales/cs_CZ: Likewise.
18366 * localedata/locales/csb_PL: Likewise.
18367 * localedata/locales/cv_RU: Likewise.
18368 * localedata/locales/cy_GB: Likewise.
18369 * localedata/locales/da_DK: Likewise.
18370 * localedata/locales/de_AT: Likewise.
18371 * localedata/locales/de_BE: Likewise.
18372 * localedata/locales/de_CH: Likewise.
18373 * localedata/locales/de_DE: Likewise.
18374 * localedata/locales/de_IT: Likewise.
18375 * localedata/locales/de_LI: Likewise.
18376 * localedata/locales/de_LU: Likewise.
18377 * localedata/locales/doi_IN: Likewise.
18378 * localedata/locales/dv_MV: Likewise.
18379 * localedata/locales/dz_BT: Likewise.
18380 * localedata/locales/el_CY: Likewise.
18381 * localedata/locales/el_GR: Likewise.
18382 * localedata/locales/en_AG: Likewise.
18383 * localedata/locales/en_AU: Likewise.
18384 * localedata/locales/en_BW: Likewise.
18385 * localedata/locales/en_CA: Likewise.
18386 * localedata/locales/en_DK: Likewise.
18387 * localedata/locales/en_GB: Likewise.
18388 * localedata/locales/en_HK: Likewise.
18389 * localedata/locales/en_IE: Likewise.
18390 * localedata/locales/en_IL: Likewise.
18391 * localedata/locales/en_IN: Likewise.
18392 * localedata/locales/en_NG: Likewise.
18393 * localedata/locales/en_NZ: Likewise.
18394 * localedata/locales/en_PH: Likewise.
18395 * localedata/locales/en_SG: Likewise.
18396 * localedata/locales/en_US: Likewise.
18397 * localedata/locales/en_ZA: Likewise.
18398 * localedata/locales/en_ZM: Likewise.
18399 * localedata/locales/en_ZW: Likewise.
18400 * localedata/locales/eo: Likewise.
18401 * localedata/locales/es_AR: Likewise.
18402 * localedata/locales/es_BO: Likewise.
18403 * localedata/locales/es_CL: Likewise.
18404 * localedata/locales/es_CO: Likewise.
18405 * localedata/locales/es_CR: Likewise.
18406 * localedata/locales/es_CU: Likewise.
18407 * localedata/locales/es_DO: Likewise.
18408 * localedata/locales/es_EC: Likewise.
18409 * localedata/locales/es_ES: Likewise.
18410 * localedata/locales/es_GT: Likewise.
18411 * localedata/locales/es_HN: Likewise.
18412 * localedata/locales/es_MX: Likewise.
18413 * localedata/locales/es_NI: Likewise.
18414 * localedata/locales/es_PA: Likewise.
18415 * localedata/locales/es_PE: Likewise.
18416 * localedata/locales/es_PR: Likewise.
18417 * localedata/locales/es_PY: Likewise.
18418 * localedata/locales/es_SV: Likewise.
18419 * localedata/locales/es_US: Likewise.
18420 * localedata/locales/es_UY: Likewise.
18421 * localedata/locales/es_VE: Likewise.
18422 * localedata/locales/et_EE: Likewise.
18423 * localedata/locales/eu_ES: Likewise.
18424 * localedata/locales/eu_ES@euro: Likewise.
18425 * localedata/locales/fa_IR: Likewise.
18426 * localedata/locales/ff_SN: Likewise.
18427 * localedata/locales/fi_FI: Likewise.
18428 * localedata/locales/fil_PH: Likewise.
18429 * localedata/locales/fo_FO: Likewise.
18430 * localedata/locales/fr_BE: Likewise.
18431 * localedata/locales/fr_CA: Likewise.
18432 * localedata/locales/fr_CH: Likewise.
18433 * localedata/locales/fr_FR: Likewise.
18434 * localedata/locales/fr_LU: Likewise.
18435 * localedata/locales/fur_IT: Likewise.
18436 * localedata/locales/fy_DE: Likewise.
18437 * localedata/locales/fy_NL: Likewise.
18438 * localedata/locales/ga_IE: Likewise.
18439 * localedata/locales/gd_GB: Likewise.
18440 * localedata/locales/gez_ER: Likewise.
18441 * localedata/locales/gez_ET: Likewise.
18442 * localedata/locales/gl_ES: Likewise.
18443 * localedata/locales/gu_IN: Likewise.
18444 * localedata/locales/gv_GB: Likewise.
18445 * localedata/locales/ha_NG: Likewise.
18446 * localedata/locales/hak_TW: Likewise.
18447 * localedata/locales/he_IL: Likewise.
18448 * localedata/locales/hi_IN: Likewise.
18449 * localedata/locales/hif_FJ: Likewise.
18450 * localedata/locales/hne_IN: Likewise.
18451 * localedata/locales/hr_HR: Likewise.
18452 * localedata/locales/hsb_DE: Likewise.
18453 * localedata/locales/ht_HT: Likewise.
18454 * localedata/locales/hu_HU: Likewise.
18455 * localedata/locales/hy_AM: Likewise.
18456 * localedata/locales/i18n: Likewise.
18457 * localedata/locales/ia_FR: Likewise.
18458 * localedata/locales/id_ID: Likewise.
18459 * localedata/locales/ig_NG: Likewise.
18460 * localedata/locales/ik_CA: Likewise.
18461 * localedata/locales/is_IS: Likewise.
18462 * localedata/locales/it_CH: Likewise.
18463 * localedata/locales/it_IT: Likewise.
18464 * localedata/locales/iu_CA: Likewise.
18465 * localedata/locales/ja_JP: Likewise.
18466 * localedata/locales/ka_GE: Likewise.
18467 * localedata/locales/kk_KZ: Likewise.
18468 * localedata/locales/kl_GL: Likewise.
18469 * localedata/locales/kn_IN: Likewise.
18470 * localedata/locales/ko_KR: Likewise.
18471 * localedata/locales/kok_IN: Likewise.
18472 * localedata/locales/ks_IN: Likewise.
18473 * localedata/locales/ks_IN@devanagari: Likewise.
18474 * localedata/locales/ku_TR: Likewise.
18475 * localedata/locales/kw_GB: Likewise.
18476 * localedata/locales/ky_KG: Likewise.
18477 * localedata/locales/lb_LU: Likewise.
18478 * localedata/locales/lg_UG: Likewise.
18479 * localedata/locales/li_BE: Likewise.
18480 * localedata/locales/li_NL: Likewise.
18481 * localedata/locales/lij_IT: Likewise.
18482 * localedata/locales/ln_CD: Likewise.
18483 * localedata/locales/lo_LA: Likewise.
18484 * localedata/locales/lt_LT: Likewise.
18485 * localedata/locales/lv_LV: Likewise.
18486 * localedata/locales/lzh_TW: Likewise.
18487 * localedata/locales/mag_IN: Likewise.
18488 * localedata/locales/mai_IN: Likewise.
18489 * localedata/locales/mg_MG: Likewise.
18490 * localedata/locales/mhr_RU: Likewise.
18491 * localedata/locales/mi_NZ: Likewise.
18492 * localedata/locales/mk_MK: Likewise.
18493 * localedata/locales/ml_IN: Likewise.
18494 * localedata/locales/mn_MN: Likewise.
18495 * localedata/locales/mni_IN: Likewise.
18496 * localedata/locales/mr_IN: Likewise.
18497 * localedata/locales/ms_MY: Likewise.
18498 * localedata/locales/mt_MT: Likewise.
18499 * localedata/locales/my_MM: Likewise.
18500 * localedata/locales/nan_TW: Likewise.
18501 * localedata/locales/nan_TW@latin: Likewise.
18502 * localedata/locales/nb_NO: Likewise.
18503 * localedata/locales/nds_DE: Likewise.
18504 * localedata/locales/nds_NL: Likewise.
18505 * localedata/locales/ne_NP: Likewise.
18506 * localedata/locales/nhn_MX: Likewise.
18507 * localedata/locales/niu_NU: Likewise.
18508 * localedata/locales/niu_NZ: Likewise.
18509 * localedata/locales/nl_AW: Likewise.
18510 * localedata/locales/nl_BE: Likewise.
18511 * localedata/locales/nl_NL: Likewise.
18512 * localedata/locales/nn_NO: Likewise.
18513 * localedata/locales/nr_ZA: Likewise.
18514 * localedata/locales/nso_ZA: Likewise.
18515 * localedata/locales/oc_FR: Likewise.
18516 * localedata/locales/om_ET: Likewise.
18517 * localedata/locales/om_KE: Likewise.
18518 * localedata/locales/or_IN: Likewise.
18519 * localedata/locales/os_RU: Likewise.
18520 * localedata/locales/pa_IN: Likewise.
18521 * localedata/locales/pa_PK: Likewise.
18522 * localedata/locales/pap_AW: Likewise.
18523 * localedata/locales/pap_CW: Likewise.
18524 * localedata/locales/pl_PL: Likewise.
18525 * localedata/locales/ps_AF: Likewise.
18526 * localedata/locales/pt_BR: Likewise.
18527 * localedata/locales/pt_PT: Likewise.
18528 * localedata/locales/quz_PE: Likewise.
18529 * localedata/locales/raj_IN: Likewise.
18530 * localedata/locales/ro_RO: Likewise.
18531 * localedata/locales/ru_RU: Likewise.
18532 * localedata/locales/ru_UA: Likewise.
18533 * localedata/locales/rw_RW: Likewise.
18534 * localedata/locales/sa_IN: Likewise.
18535 * localedata/locales/sat_IN: Likewise.
18536 * localedata/locales/sc_IT: Likewise.
18537 * localedata/locales/sd_IN: Likewise.
18538 * localedata/locales/sd_IN@devanagari: Likewise.
18539 * localedata/locales/se_NO: Likewise.
18540 * localedata/locales/sgs_LT: Likewise.
18541 * localedata/locales/shs_CA: Likewise.
18542 * localedata/locales/si_LK: Likewise.
18543 * localedata/locales/sid_ET: Likewise.
18544 * localedata/locales/sk_SK: Likewise.
18545 * localedata/locales/sl_SI: Likewise.
18546 * localedata/locales/sm_WS: Likewise.
18547 * localedata/locales/so_DJ: Likewise.
18548 * localedata/locales/so_ET: Likewise.
18549 * localedata/locales/so_KE: Likewise.
18550 * localedata/locales/so_SO: Likewise.
18551 * localedata/locales/sq_AL: Likewise.
18552 * localedata/locales/sq_MK: Likewise.
18553 * localedata/locales/sr_ME: Likewise.
18554 * localedata/locales/sr_RS: Likewise.
18555 * localedata/locales/sr_RS@latin: Likewise.
18556 * localedata/locales/ss_ZA: Likewise.
18557 * localedata/locales/st_ZA: Likewise.
18558 * localedata/locales/sv_FI: Likewise.
18559 * localedata/locales/sv_SE: Likewise.
18560 * localedata/locales/sw_KE: Likewise.
18561 * localedata/locales/sw_TZ: Likewise.
18562 * localedata/locales/szl_PL: Likewise.
18563 * localedata/locales/ta_IN: Likewise.
18564 * localedata/locales/ta_LK: Likewise.
18565 * localedata/locales/tcy_IN: Likewise.
18566 * localedata/locales/te_IN: Likewise.
18567 * localedata/locales/tg_TJ: Likewise.
18568 * localedata/locales/th_TH: Likewise.
18569 * localedata/locales/the_NP: Likewise.
18570 * localedata/locales/ti_ER: Likewise.
18571 * localedata/locales/ti_ET: Likewise.
18572 * localedata/locales/tig_ER: Likewise.
18573 * localedata/locales/tk_TM: Likewise.
18574 * localedata/locales/tl_PH: Likewise.
18575 * localedata/locales/tn_ZA: Likewise.
18576 * localedata/locales/to_TO: Likewise.
18577 * localedata/locales/tpi_PG: Likewise.
18578 * localedata/locales/tr_CY: Likewise.
18579 * localedata/locales/tr_TR: Likewise.
18580 * localedata/locales/ts_ZA: Likewise.
18581 * localedata/locales/tt_RU: Likewise.
18582 * localedata/locales/tt_RU@iqtelif: Likewise.
18583 * localedata/locales/ug_CN: Likewise.
18584 * localedata/locales/uk_UA: Likewise.
18585 * localedata/locales/unm_US: Likewise.
18586 * localedata/locales/ur_IN: Likewise.
18587 * localedata/locales/ur_PK: Likewise.
18588 * localedata/locales/uz_UZ: Likewise.
18589 * localedata/locales/uz_UZ@cyrillic: Likewise.
18590 * localedata/locales/ve_ZA: Likewise.
18591 * localedata/locales/vi_VN: Likewise.
18592 * localedata/locales/wa_BE: Likewise.
18593 * localedata/locales/wae_CH: Likewise.
18594 * localedata/locales/wal_ET: Likewise.
18595 * localedata/locales/wo_SN: Likewise.
18596 * localedata/locales/xh_ZA: Likewise.
18597 * localedata/locales/yi_US: Likewise.
18598 * localedata/locales/yo_NG: Likewise.
18599 * localedata/locales/yue_HK: Likewise.
18600 * localedata/locales/yuw_PG: Likewise.
18601 * localedata/locales/zh_CN: Likewise.
18602 * localedata/locales/zh_HK: Likewise.
18603 * localedata/locales/zh_SG: Likewise.
18604 * localedata/locales/zh_TW: Likewise.
18605 * localedata/locales/zu_ZA: Likewise.
18606
18607 2017-11-13 Florian Weimer <fweimer@redhat.com>
18608
18609 * support/next_to_fault.h, support/next_to_fault.c: New files.
18610 * support/Makefile (libsupport-routines): Add next_to_fault.
18611 * resolv/tst-inet_pton.c (struct next_to_fault)
18612 (next_to_fault_allocate, next_to_fault_free): Remove.
18613 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
18614
18615 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
18616
18617 * elf/dl-support.c: Include <dl-procruntime.c>.
18618 * include/link.h: Include <link_map.h>.
18619 * sysdeps/generic/dl-procruntime.c: New file.
18620 * sysdeps/generic/link_map.h: Likewise.
18621 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
18622 the writable ld.so namespace.
18623
18624 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
18625
18626 timezone: pacify GCC -Wstringop-truncation
18627 Problem reported by Martin Sebor in:
18628 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
18629 * timezone/zic.c (writezone): Use memcpy, not strncpy.
18630
18631 2017-11-12 Florian Weimer <fweimer@redhat.com>
18632
18633 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
18634 tst-xreadlink.
18635 (tests): Add tst-xreadlink.
18636 * support/support.h (xstrndup): Declare.
18637 * support/xunistd.h (xunlink, xreadlink): Declare.
18638 * support/temp_file.h (support_create_temp_directory): Declare.
18639 * support/temp_file.c (support_create_temp_directory): New function.
18640 * support/support_chroot.c (support_chroot_create): Use it.
18641 * support/xreadlink.c: New file.
18642 * support/xstrndup.c: Likewise.
18643 * support/xunlink.c: Likewise.
18644 * support/tst-xreadlink.c: Likewise.
18645
18646 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
18647
18648 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
18649
18650 2017-11-11 Florian Weimer <fweimer@redhat.com>
18651
18652 [BZ #22409]
18653 [BZ #22412]
18654 * resolv/res_comp.c (printable_string, binary_hnok)
18655 (binary_leading_dash): New functions.
18656 (res_hnok): Reimplement using these functions and ns_name_pton.
18657 (res_ownok): Likewise.
18658 (res_mailok): Reimplement using printable_string, ns_name_pton and
18659 binary_hnok.
18660 (res_dnok): Reimplement using printable_string and ns_name_pton.
18661 * resolv/tst-res_hnok.c (tests): Add additional tests.
18662 (LETTERDIGITS, PRINTABLE): Define.
18663 (do_test): Adjust one_char results.
18664
18665 2017-11-11 Florian Weimer <fweimer@redhat.com>
18666
18667 [BZ #22413]
18668 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
18669 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
18670
18671 2017-11-11 Florian Weimer <fweimer@redhat.com>
18672
18673 * resolv/tst-ns_name_pton.c: New file.
18674 * resolv/Makefile (tests): Add tst-ns_name_pton.
18675 (tst-ns_name_pton): Link against libresolv.
18676
18677 2017-11-11 Florian Weimer <fweimer@redhat.com>
18678
18679 * resolv/tst-res_hnok.c: New file.
18680 * resolv/Makefile (tests): Add tst-res_hnok.
18681 (tst-res_hnok): Link against libresolv.
18682
18683 2017-11-11 Florian Weimer <fweimer@redhat.com>
18684
18685 * resolv/tst-resolv-network.c: Use test framework instead explicit
18686 main function.
18687
18688 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
18689
18690 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
18691 <jmp_buf-macros.h>.
18692 [!_ISOMAC] (STR_HELPER): New.
18693 [!_ISOMAC] (STR): Likewise.
18694 [!_ISOMAC] (TEST_SIZE): Likewise.
18695 [!_ISOMAC] (TEST_ALIGN): Likewise.
18696 [!_ISOMAC] (TEST_OFFSET): Likewise.
18697 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
18698 field offsets of jmp_buf as well as sigjmp_buf.
18699 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
18700 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
18701 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
18702 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
18703 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
18704 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
18705 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
18706 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
18707 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
18708 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
18709 Likewise.
18710 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
18711 Likewise.
18712 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
18713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
18714 Likewise.
18715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
18716 Likewise.
18717 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
18718 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
18719 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
18720 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
18721 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
18722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
18723 Likewise.
18724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
18725 Likewise.
18726 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
18727 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
18728 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
18729
18730 2017-11-07 Joseph Myers <joseph@codesourcery.com>
18731
18732 * include/float.h
18733 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18734 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
18735 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18736 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
18737 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18738 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
18739 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18740 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
18741 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18742 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
18743 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18744 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
18745 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18746 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
18747 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18748 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
18749 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18750 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
18751 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18752 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
18753 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18754 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
18755 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18756 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
18757 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18758 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
18759 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18760 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
18761 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18762 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
18763 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18764 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
18765 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18766 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
18767 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18768 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
18769 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18770 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
18771 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18772 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
18773 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18774 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
18775 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18776 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
18777 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18778 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
18779 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18780 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
18781 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18782 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
18783 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18784 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
18785 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18786 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
18787 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18788 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
18789 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18790 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
18791 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18792 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
18793 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18794 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
18795 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18796 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
18797 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18798 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
18799 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18800 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
18801 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18802 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
18803 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18804 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
18805 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18806 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
18807 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18808 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
18809 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18810 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
18811 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18812 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
18813 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18814 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
18815 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18816 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
18817 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18818 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
18819 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
18820 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
18821
18822 * stdlib/tst-strtod.h (F16): New macro.
18823 (F32): Likewise.
18824 (F64): Likewise.
18825 (F32X): Likewise.
18826 (F64X): Likewise.
18827 (F128X): Likewise.
18828 (IF_FLOAT16): Likewise.
18829 (IF_FLOAT32): Likewise.
18830 (IF_FLOAT64): Likewise.
18831 (IF_FLOAT32X): Likewise.
18832 (IF_FLOAT64X): Likewise.
18833 (IF_FLOAT128X): Likewise.
18834 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
18835 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
18836 (STRTOD_TEST_FOREACH): Likewise.
18837 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
18838 (CHOOSE_f64): Likewise.
18839 (CHOOSE_f32x): Likewise.
18840 (CHOOSE_f64x): Likewise.
18841
18842 2017-11-07 Andreas Schwab <schwab@suse.de>
18843
18844 * nptl/Makefile (tests-internal): Remove tst-typesizes.
18845
18846 2017-11-07 Mike FABIAN <mfabian@redhat.com>
18847
18848 [BZ #22403]
18849 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
18850 to be escaped.
18851 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
18852 to be escaped.
18853
18854 2017-11-07 Claude Paroz <claude@2xlibre.net>
18855
18856 [BZ #22403]
18857 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
18858 to be escaped.
18859 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
18860 to be escaped.
18861 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
18862 to be escaped.
18863
18864 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18865
18866 [BZ #22298]
18867 * nptl/allocatestack.c (allocate_stack): Check if
18868 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
18869 __PTHREAD_MUTEX_HAVE_PREV is defined.
18870 * nptl/descr.h (pthread): Likewise.
18871 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18872 Likewise.
18873 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18874 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18875 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
18876 * sysdeps/nptl/bits/thread-shared-types.h
18877 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
18878 defines.
18879 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
18880 of __WORDSIZE for internal layout.
18881 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
18882 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
18883 instead of __WORDSIZE whether to use an union for __spins and __list
18884 fields.
18885 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
18886 case.
18887 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
18888 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
18889 defines.
18890 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
18891 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
18892 Likewise.
18893 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
18894 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
18895 Likewise.
18896 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
18897 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
18898 Likewise.
18899 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
18900 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
18901 Likewise.
18902 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
18903 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
18904 Likewise.
18905 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
18906 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
18907 Likewise.
18908 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
18909 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
18910 Likewise.
18911 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
18912 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
18913 Likewise.
18914 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
18915 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
18916 Likewise.
18917 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
18918 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
18919 Likewise.
18920 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
18921 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
18922 Likewise.
18923 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
18924 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
18925 Likewise.
18926 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
18927 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
18928 Likewise.
18929 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
18930 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
18931 Likewise.
18932
18933 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
18934 New macros.
18935 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
18936 checks for expected input type size.
18937 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
18938 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
18939 Likewise.
18940 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
18941 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
18942 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
18943 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
18944 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
18945 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
18946 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
18947 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
18948 superflous runtime assert check.
18949 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
18950 Likewise.
18951 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
18952 Likewise.
18953 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
18954 Likewise.
18955 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
18956 Likewise.
18957 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
18958 Likewise.
18959 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
18960 Likewise.
18961 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
18962 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
18963 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
18964 Likewise.
18965 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
18966 Likewise.
18967 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
18968 Likewise.
18969 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
18970 Likewise.
18971 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
18972 Likewise.
18973 * nptl/pthread_attr_setinheritsched.c
18974 (__pthread_attr_setinheritsched): Likewise.
18975 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
18976 Likewise.
18977 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
18978 Likewise.
18979 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
18980 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
18981 __old_pthread_attr_setstack): Likewise.
18982 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
18983 Likewise.
18984 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
18985 Likewise.
18986 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
18987 Likewise.
18988 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
18989 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
18990 Likewise.
18991 * nptl/tst-typesizes.c: Remove file.
18992
18993 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
18994 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
18995 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
18996 checks for internal pthread_mutex_t offsets.
18997 * sysdeps/aarch64/nptl/pthread-offsets.h
18998 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
18999 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
19000 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
19001 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
19002 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
19003 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
19004 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
19005 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
19006 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
19007 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
19008 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
19009 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
19010 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
19011 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
19012 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
19013 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
19014 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
19015 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
19016
19017 2017-11-07 Florian Weimer <fweimer@redhat.com>
19018
19019 * bits/mman-linux.h: Move ...
19020 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
19021 comment.
19022 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
19023 outdated comment.
19024
19025 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19026
19027 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
19028 Redefine STRNLEN as __strnlen_power8.
19029
19030 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19031
19032 * signal/sighold.c (sighold): Optimize implementation.
19033
19034 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
19035 __NR_rt_sigqueueinfo.
19036
19037 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
19038 __sigtimedwait.
19039 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
19040 assume __NR_rt_sigtimedwait.
19041 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
19042 and add LIBC_CANCEL_HANDLED for cancellation marking.
19043 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19044
19045 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
19046 (sysdeps_routines): Add memchr_noneon.
19047 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
19048 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
19049 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
19050 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
19051 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
19052 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
19053 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
19054
19055 * sysdeps/arm/arm-ifunc.h: New file.
19056 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
19057 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
19058 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
19059 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
19060 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
19061 (__memcpy_neon): Avoid create hidden alias.
19062 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
19063 (__memcpy_vfp): Likewise.
19064 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
19065 (sysdep_routines): Add memcpy_arm.
19066 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
19067
19068 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
19069
19070 [BZ #22362]
19071 * Makerules (make-link-multidir): New.
19072 * config.make.in (multidir): New.
19073 * configure.ac (libc_cv_multidir): New. AC_SUBST.
19074 * configure: Regenerated.
19075 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
19076 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
19077 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
19078 New target.
19079
19080 2017-11-06 Joseph Myers <joseph@codesourcery.com>
19081
19082 [BZ #22402]
19083 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
19084 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
19085
19086 2017-11-04 Mike FABIAN <mfabian@redhat.com>
19087
19088 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
19089 to be escaped.
19090
19091 2017-11-04 Florian Weimer <fweimer@redhat.com>
19092
19093 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
19094
19095 2017-11-03 Joseph Myers <joseph@codesourcery.com>
19096
19097 * math/math.h [__HAVE_DISTINCT_FLOAT16
19098 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
19099 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
19100 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
19101 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
19102 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
19103 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
19104 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
19105 (__MATH_TG_F32): New macro.
19106 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
19107 (__MATH_TG_F64X): Likewise.
19108 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
19109 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
19110
19111 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
19112
19113 * po/de.po: Update translations.
19114 * po/ru.po: Likewise.
19115
19116 2017-11-03 Florian Weimer <fweimer@redhat.com>
19117
19118 * manual/filesys.texi (Hard Links): Document linkat.
19119
19120 2017-11-03 Joseph Myers <joseph@codesourcery.com>
19121
19122 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
19123 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
19124 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
19125 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
19126 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
19127 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
19128 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
19129 the same as _Float128.
19130 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
19131 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
19132 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
19133
19134 * stdlib/stdlib.h
19135 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
19136 Declare.
19137 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
19138 Likewise.
19139 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
19140 Likewise.
19141 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19142 (strtof32x): Likewise.
19143 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19144 (strtof64x): Likewise.
19145 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19146 (strtof128x): Likewise.
19147 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19148 (strfromf16): Likewise.
19149 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19150 (strfromf32): Likewise.
19151 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19152 (strfromf64): Likewise.
19153 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19154 (strfromf32x): Likewise.
19155 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19156 (strfromf64x): Likewise.
19157 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19158 (strfromf128x): Likewise.
19159 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
19160 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
19161 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
19162 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
19163 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
19164 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
19165
19166 2017-11-03 Richard Henderson <rth@twiddle.net>
19167
19168 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
19169
19170 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19171
19172 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
19173
19174 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19175
19176 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
19177 DT_TLSDESC_GOT initialization.
19178 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
19179 (_dl_tlsdesc_resolve_hold): Likewise.
19180 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
19181 (_dl_tlsdesc_resolve_hold): Likewise.
19182 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
19183 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
19184
19185 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19186
19187 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
19188
19189 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19190
19191 [BZ #18572]
19192 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
19193 non-lazily for R_ARM_TLS_DESC.
19194
19195 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19196
19197 [BZ #17078]
19198 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
19199 R_ARM_TLS_DESC case.
19200 (elf_machine_lazy_rel): Remove the prelink check.
19201
19202 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19203
19204 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
19205 DT_TLSDESC_GOT initialization.
19206 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
19207 (_dl_tlsdesc_resolve_rela): Likewise.
19208 (_dl_tlsdesc_resolve_hold): Likewise.
19209 (_dl_tlsdesc_undefweak): Remove ldar.
19210 (_dl_tlsdesc_dynamic): Likewise.
19211 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
19212 (_dl_tlsdesc_resolve_rela): Likewise.
19213 (_dl_tlsdesc_resolve_hold): Likewise.
19214 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
19215 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
19216 (_dl_tlsdesc_resolve_rela): Likewise.
19217 (_dl_tlsdesc_resolve_hold): Likewise.
19218
19219 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19220
19221 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
19222 binding and initialization non-lazily for R_AARCH64_TLSDESC.
19223
19224 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19225
19226 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
19227 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19228
19229 2017-11-02 Joseph Myers <joseph@codesourcery.com>
19230
19231 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
19232 Declare.
19233 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
19234 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
19235 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
19236 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
19237 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
19238 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
19239 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
19240 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
19241 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
19242 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
19243 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
19244
19245 2017-11-02 Mike FABIAN <mfabian@redhat.com>
19246
19247 [BZ #22382]
19248 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
19249 * localedata/locales/tpi_PG: Add standard header.
19250
19251 2017-11-02 Florian Weimer <fweimer@redhat.com>
19252
19253 test-errno-linux: quotactl can fail with EPERM in containers.
19254 * sysdeps/unix/sysv/linux/test-errno-linux.c
19255 (LIST, LIST_FORWARD): New macros.
19256 (check_error_in_list): New function.
19257 (test_wrp_rv): Accept list of permitted error codes.
19258 (test_wrp_rv2): Remove.
19259 (test_wrp): Call test_wrp_rv with list of error codes.
19260 (test_wrp2): Accept list of error codes.
19261 (do_test): Adjust. Allow EPERM for quotactl.
19262
19263 2017-11-02 Florian Weimer <fweimer@redhat.com>
19264
19265 * stdio-common/bug16.c (do_test): Use array_length.
19266 * stdio-common/errlist.c (_sys_nerr): Likewise.
19267 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
19268 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
19269 * stdio-common/psiginfo.c (psiginfo): Use array_length.
19270 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
19271 (do_test): Use array_length.
19272 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
19273 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
19274 * stdio-common/tst-printf-round.c (do_test): Likewise.
19275 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
19276 (CHECK): Use array_length.
19277 * stdio-common/tstdiomisc.c (t3, F): Likewise.
19278 * stdio-common/tstscanf.c (main): Likewise.
19279 * stdio-common/vfprintf.c (process_string_arg): Likewise.
19280
19281 2017-11-02 Florian Weimer <fweimer@redhat.com>
19282
19283 Add array_length and array_end macros.
19284 * include/array_length.h: New file.
19285
19286 2017-11-02 Florian Weimer <fweimer@redhat.com>
19287
19288 [BZ #22332]
19289 * posix/tst-glob-tilde.c (do_noescape): New variable.
19290 (one_test): Process it.
19291 (do_test): Set do_noescape. Add unescaping test case.
19292
19293 2017-11-01 Joseph Myers <joseph@codesourcery.com>
19294
19295 * math/complex.h
19296 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
19297 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
19298 with appropriate macros defined and undefined.
19299 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
19300 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19301 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
19302 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19303 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
19304 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19305 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
19306 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19307 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
19308 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19309
19310 * math/complex.h
19311 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
19312 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
19313 that for long double. Do not condition define and undefine of
19314 _Mdouble_complex_ on [__CFLOAT128].
19315
19316 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
19317
19318 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
19319 of <sysdeps/generic/sysdep.h>.
19320 (ALIGNARG): Removed.
19321 (ASM_SIZE_DIRECTIVE): Likewise.
19322 (ENTRY): Likewise.
19323 (END): Likewise.
19324 (ENTRY_CHK): Likewise.
19325 (END_CHK): Likewise.
19326 (syscall_error): Likewise.
19327 (mcount): Likewise.
19328 (PSEUDO_END): Likewise.
19329 (L): Likewise.
19330 (atom_text_section): Likewise.
19331 * sysdeps/x86/sysdep.h: New file.
19332 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
19333 of <sysdeps/generic/sysdep.h>.
19334 (ALIGNARG): Removed.
19335 (ASM_SIZE_DIRECTIVE): Likewise.
19336 (ENTRY): Likewise.
19337 (END): Likewise.
19338 (ENTRY_CHK): Likewise.
19339 (END_CHK): Likewise.
19340 (syscall_error): Likewise.
19341 (mcount): Likewise.
19342 (PSEUDO_END): Likewise.
19343 (L): Likewise.
19344 (atom_text_section): Likewise.
19345
19346 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
19347
19348 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
19349 category of LC_CTYPE set to "i18n:2012".
19350 * localedata/locales/i18n_ctype: Regenerate.
19351
19352 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
19353
19354 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
19355 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
19356 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
19357 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
19358
19359 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
19360 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
19361 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
19362 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
19363
19364 2017-10-31 Joseph Myers <joseph@codesourcery.com>
19365
19366 * math/complex.h
19367 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
19368 New macro.
19369 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
19370 Likewise.
19371 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
19372 Likewise.
19373 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19374 (CMPLXF32X): Likewise.
19375 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19376 (CMPLXF64X): Likewise.
19377 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19378 (CMPLXF128X): Likewise.
19379
19380 * math/math.h
19381 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
19382 (__MATH_EVAL_FMT2): Define to add 0.0f.
19383
19384 2017-10-31 Alan Modra <amodra@gmail.com>
19385
19386 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
19387 include sysdep.h.
19388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
19389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
19390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
19391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
19392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
19393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
19394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
19395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
19396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
19397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
19398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
19399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
19401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
19402 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
19403 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
19404 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
19405 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
19406 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
19407 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
19408 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
19409 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
19410 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
19411 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
19412 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
19413 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
19414 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
19415 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
19416 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
19417 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
19418 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
19419 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
19420 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
19421 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
19422 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
19423 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
19424 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
19425 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
19426 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
19427 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19428 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
19429 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
19430 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
19431 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
19432 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
19433 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
19434 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
19435 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
19436 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
19437 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
19438 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
19439 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
19440 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
19441 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
19442 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
19443 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
19444 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
19445 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
19446 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
19447 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
19448 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
19449 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
19450 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
19451 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19452 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
19453 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
19454 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
19455 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
19456 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
19457
19458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
19459 include sysdep.h and math_ldbl_opt.h.
19460
19461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
19462 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
19463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
19464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
19465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
19466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
19467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
19468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
19469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
19470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
19471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
19472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
19473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
19474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
19475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
19476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
19477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
19478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
19479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
19480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
19481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
19482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
19483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
19484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
19485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
19486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
19487
19488 2017-10-31 Alan Modra <amodra@gmail.com>
19489
19490 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
19491 string/strncase_l.c, not string/strncase.c.
19492 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
19493 (libc_hidden_def): Redefine.
19494
19495 2017-10-31 Alan Modra <amodra@gmail.com>
19496
19497 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
19498 (__STRCMP, STRCMP, __strcasecmp_l): Define.
19499 (__strcasecmp): Don't define.
19500
19501 2017-10-31 Alan Modra <amodra@gmail.com>
19502
19503 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
19504 IS_IN (libc).
19505 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
19506 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
19507 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
19508
19509 2017-10-31 Alan Modra <amodra@gmail.com>
19510
19511 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
19512 USE_AS_STPNCPY.
19513
19514 2017-10-31 Alan Modra <amodra@gmail.com>
19515
19516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
19517 Redefine only when SHARED.
19518
19519 2017-10-30 Joseph Myers <joseph@codesourcery.com>
19520
19521 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
19522 Include <bits/math-finite.h> with appropriate macros defined and
19523 undefined.
19524 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
19525 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
19526 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
19527 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
19528 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
19529
19530 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
19531 [!_Mlong_double_] (_Mlong_double_): Likewise.
19532 [!_Mfloat16_] (_Mfloat16_): Likewise.
19533 [!_Mfloat32_] (_Mfloat32_): Likewise.
19534 [!_Mfloat64_] (_Mfloat64_): Likewise.
19535 [!_Mfloat128_] (_Mfloat128_): Likewise.
19536 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
19537 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
19538 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
19539 (_Mdouble_): Define without indirection through those macros.
19540 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
19541 [!_Mfloat128_] (_Mfloat128_): Likewise.
19542 [_Mlong_double_] (_Mlong_double_): Likewise.
19543 (_Mdouble_): Define without indirection through those macros.
19544 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
19545 not add -D_Mlong_double_=double.
19546 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
19547 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
19548
19549 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
19550
19551 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
19552
19553 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
19554
19555 * sysdeps/x86/libc-start.c: Reformat.
19556
19557 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
19558
19559 [BZ #22353]
19560 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
19561 (1): Renamed to ...
19562 (L(Src0)): This.
19563 (L(Src1)): New.
19564 (L(Src2)): Likewise.
19565 (L(1)): Renamed to ...
19566 (L(Src3)): This.
19567
19568 2017-10-30 Joseph Myers <joseph@codesourcery.com>
19569
19570 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
19571 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
19572 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
19573 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
19574 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
19575 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
19576 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
19577 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
19578 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
19579 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
19580 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
19581 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
19582 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
19583 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
19584 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
19585 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
19586 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
19587 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
19588 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
19589 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
19590 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
19591 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
19592 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
19593 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
19594 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
19595 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
19596 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
19597 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
19598 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
19599 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
19600 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
19601 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
19602 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
19603 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
19604 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
19605 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
19606 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
19607 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
19608 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
19609 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
19610 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
19611 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
19612 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
19613 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
19614 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
19615 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
19616 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
19617 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
19618 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
19619 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
19620 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
19621 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
19622 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
19623 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
19624 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
19625 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
19626 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
19627 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
19628 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
19629 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
19630 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
19631 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
19632 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
19633 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
19634 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
19635 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
19636
19637 2017-10-30 Florian Weimer <fweimer@redhat.com>
19638
19639 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
19640 always defined.
19641 * io/tst-mkdirat.c (do_test): Likewise.
19642 * io/tst-mkfifoat.c (do_test): Likewise.
19643 * io/tst-mknodat.c (do_test): Likewise.
19644 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
19645 * locale/programs/locale.c (select_dirs): Likewise.
19646 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
19647 * posix/bug-glob2.c (my_readdir): Likewise.
19648 * posix/tst-dir.c (main): Likewise.
19649 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
19650 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
19651
19652 2017-10-30 Florian Weimer <fweimer@redhat.com>
19653
19654 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
19655 just __USE_GNU.
19656
19657 2017-10-30 Florian Weimer <fweimer@redhat.com>
19658
19659 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
19660 Convert to support/test-driver.c.
19661 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
19662 New macro parameters.
19663 (PRINTF): Remove macro. Use test_verbose conditionals instead.
19664 * posix/tst-gnuglob.c: New file.
19665 * posix/tst-gnuglob64.c: Likewise.
19666 * posix/Makefile (tests): Add tst-gnuglob64.
19667
19668 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
19669
19670 [BZ #19485]
19671 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
19672 and use a better translation for March in “mon”.
19673 * localedata/locales/csb_PL: Use more ASCII to improve the
19674 readability of the source.
19675
19676 2017-10-30 Mike FABIAN <mfabian@redhat.com>
19677
19678 [BZ #13953]
19679 * localedata/locales/km_KH: Use ASCII as much
19680 as possible for better readability of the source and
19681 remove useless comments.
19682 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
19683 was commented out and apparently wrong anyway because it was
19684 using Lao characters. If Buddhist era should be used
19685 for km_KH, a native speaker should write the correct formaat
19686 for Khmer.
19687 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
19688 (According to CLDR, the first weekday for Cambodia is Sunday).
19689 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
19690 (These were using Lao characters which must be wrong. If we get
19691 the correct data from a native speaker, we could add it back, until
19692 then it is better not to have name_mr and name_mrs at all than
19693 having it wrong).
19694
19695 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
19696
19697 * locale/loadlocale.c: Correct size of
19698 _nl_value_type_LC_<category> arrays.
19699
19700 2017-10-27 Joseph Myers <joseph@codesourcery.com>
19701
19702 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
19703 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
19704 with appropriate macros defined and undefined.
19705 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
19706 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
19707 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
19708 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
19709 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
19710
19711 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
19712
19713 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19714 "-O2 -march=i586".
19715
19716 2017-10-27 Mike FABIAN <mfabian@redhat.com>
19717
19718 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
19719 with lowercase letters to make it agree with CLDR.
19720
19721 2017-10-27 Mike FABIAN <mfabian@redhat.com>
19722
19723 [BZ #15260]
19724 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
19725 first letters of yesstr and nostr in yesexpr and noexpr,
19726 not for the full words.
19727 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
19728 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
19729 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
19730 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
19731 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
19732 first letters of yesstr and nostr in yesexpr and noexpr,
19733 until now only English was matched in yesexpr and noexpr.
19734 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
19735 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
19736 fil but not for tl. As tl and fil are very similar, using fil
19737 is probably better than using English.
19738
19739 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
19740
19741 [BZ #21706]
19742 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
19743 in yesstr and nostr.
19744
19745 2017-10-26 Joseph Myers <joseph@codesourcery.com>
19746
19747 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
19748 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
19749 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
19750 Likewise.
19751 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
19752 Likewise.
19753 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
19754 Likewise.
19755 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
19756 Likewise.
19757 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19758 (SNANF128X): Likewise.
19759
19760 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
19761 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
19762 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19763 (HUGE_VAL_F32): Likewise.
19764 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19765 (HUGE_VAL_F64): Likewise.
19766 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19767 (HUGE_VAL_F32X): Likewise.
19768 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19769 (HUGE_VAL_F64X): Likewise.
19770 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19771 (HUGE_VAL_F128X): Likewise.
19772
19773 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
19774
19775 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
19776 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
19777 for the br_FR locale.
19778
19779 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
19780
19781 [BZ #21706]
19782 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
19783
19784 2017-10-25 Carlos O'Donell <carlos@redhat.com>
19785
19786 * locale/programs/record-status.h: Define globals, and function
19787 prototypes. Move function bodies...
19788 * locale/programs/record-status.c: ... to here. New file.
19789 * iconv/Makefile (iconv_prog-modules): Add record-status.
19790 * locale/Makefile (lib-modules): Likewise.
19791 * iconv/iconv_prog.c: Remove verbose.
19792 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
19793 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
19794 record a warning about ASCII compatibility.
19795 * locale/programs/ld-monetary.c (monetary_finish): If
19796 warn_int_curr_symbol is true then record a warning about the symbol
19797 not being in our ISO 4217 list.
19798 * locale/programs/locale.c: Include record-status.h. Remove verbose.
19799 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
19800 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
19801 (OPT_NO_WARN): Define.
19802 (OPT_WARN): Define.
19803 (options): Add entry for --no-warnings, and --warnings.
19804 (set_warnings): New function to enable/disable warnings.
19805 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
19806 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
19807 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
19808 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
19809 Pass flags to generate_locale.
19810 (generate_locale): Accept new flag argument and pass it to localedef
19811 invocation.
19812 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
19813 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
19814
19815 * localedata/Makefile (test-input-data): Use full file name.
19816 * localedata/da_DK.in: Rename to...
19817 * localedata/da_DK.ISO-8859-1.in: ...this.
19818 * localedata/de_DE.in: Rename to...
19819 * localedata/de_DE.ISO-8859-1.in: ...this.
19820 * localedata/en_US.in: Rename to...
19821 * localedata/en_US.ISO-8859-1.in: ...this.
19822 * localedata/fr_FR.in: Rename to...
19823 * localedata/fr_FR.UTF-8.in: ... this.
19824 * localedata/hr_HR.in: Rename to...
19825 * localedata/hr_HR.ISO-8859-2.in: ...this.
19826 * localedata/hu_HU.in: Rename to...
19827 * localedata/hu_HU.UTF-8.in: ...this.
19828 * localedata/si_LK.in: Rename to...
19829 * localedata/si_LK.UTF-8.in: ...this.
19830 * localedata/sv_SE.in: Rename to...
19831 * localedata/sv_SE.ISO-8859-1.in: ...this.
19832 * localedata/tr_TR.in: Rename to...
19833 * localedata/tr_TR.UTF-8.in: ...this.
19834 * localedata/uk_UA.in: Rename to...
19835 * localedata/uk_UA.UTF-8.in: ...this.
19836 * localedata/sort-test.sh: Test file is locale name with the
19837 suffix.
19838
19839 * localedata/unicode-gen/Makefile (check_i18n): Rename to
19840 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
19841 file.
19842 * localedata/locales/i18n_ctype: Regenerate.
19843 * localedata/locales/tr_TR: Likewise.
19844 * localedata/locales/translit_circle: Likewise.
19845 * localedata/locales/translit_cjk_compat: Likewise.
19846 * localedata/locales/translit_combining: Likewise.
19847 * localedata/locales/translit_compat: Likewise.
19848 * localedata/locales/translit_font: Likewise.
19849 * localedata/locales/translit_fraction: Likewise.
19850
19851 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19852
19853 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
19854 lxvd2x/stxvd2x with lvx/stvx.
19855 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
19856
19857 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
19858
19859 * include/alloc_buffer.h: Replace "if if " with "if " in
19860 comments.
19861 * sysdeps/mips/memcpy.S: Likkewise.
19862 * sysdeps/mips/memset.S: Likewise.
19863 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19864 Likewise.
19865 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
19866 Likewise.
19867 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
19868 Likewise.
19869
19870 2017-10-25 Mike FABIAN <mfabian@redhat.com>
19871
19872 [BZ #15261]
19873 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
19874 yesexpr and noexpr.
19875 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
19876 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
19877 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
19878 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
19879 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
19880 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
19881 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
19882
19883 2017-10-25 Mike FABIAN <mfabian@redhat.com>
19884
19885 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
19886 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
19887 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
19888 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
19889 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
19890 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
19891 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
19892 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
19893 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
19894 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
19895 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
19896 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
19897
19898 2017-10-25 Mike FABIAN <mfabian@redhat.com>
19899
19900 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
19901 as possible for better readability of the source.
19902 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
19903 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
19904 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
19905 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
19906 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
19907 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
19908 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
19909 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
19910 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
19911 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
19912 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
19913 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
19914 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
19915 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
19916 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
19917 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
19918 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
19919 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
19920 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
19921 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
19922 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
19923 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
19924 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
19925 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
19926 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
19927 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
19928 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
19929 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
19930 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
19931 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
19932 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
19933 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
19934 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
19935 * localedata/locales/en_US (LC_MESSAGES): Likewise.
19936 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
19937 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
19938 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
19939 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
19940 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
19941 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
19942 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
19943 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
19944 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
19945 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
19946 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
19947 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
19948 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
19949 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
19950 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
19951 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
19952 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
19953 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
19954 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
19955 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
19956 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
19957 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
19958 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
19959 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
19960 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
19961 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
19962 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
19963 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
19964 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
19965 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
19966 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
19967 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
19968 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
19969 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
19970 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
19971 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
19972 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
19973 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
19974 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
19975 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
19976 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
19977 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
19978 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
19979 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
19980 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
19981 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
19982 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
19983 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
19984 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
19985 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
19986 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
19987 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
19988 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
19989 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
19990 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
19991 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
19992 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
19993 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
19994 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
19995 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
19996 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
19997 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
19998 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
19999 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
20000 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
20001 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
20002 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
20003 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
20004 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
20005 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
20006 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
20007 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
20008 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
20009 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
20010 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
20011 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
20012 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
20013 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
20014 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
20015 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
20016 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
20017 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
20018 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
20019 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
20020 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
20021 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
20022 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
20023 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
20024 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
20025 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
20026 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
20027 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
20028 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
20029 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
20030 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
20031 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
20032 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
20033 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
20034 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
20035 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
20036 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
20037 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
20038 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
20039 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
20040 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
20041 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
20042 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
20043 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
20044 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
20045 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
20046 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
20047 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
20048 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
20049 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
20050 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
20051 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
20052 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
20053 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
20054 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
20055 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
20056 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
20057 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
20058 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
20059 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
20060 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
20061 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
20062 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
20063 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
20064 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
20065 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
20066 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
20067 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
20068 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
20069 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
20070 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
20071 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
20072 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
20073 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
20074 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
20075 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
20076
20077 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20078
20079 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
20080 (Use first letters of yesstr and nostr correctly instead of using
20081 full words).
20082
20083 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20084
20085 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
20086 (Use first letters of yesstr and nostr correctly).
20087
20088 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20089
20090 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
20091 also check for the first characters of yesstr and nostr.
20092 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
20093 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
20094
20095 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20096
20097 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
20098 also check for Chinese characters.
20099
20100 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20101
20102 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
20103 match also for the contents of yesstr and nostr. As the first letter
20104 of yesstr and nostr is equal, checking only for the first letter
20105 is not enough.
20106
20107 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20108
20109 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
20110 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
20111
20112 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20113
20114 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
20115 of main contributor.
20116
20117 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20118
20119 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
20120 instead of using English.
20121
20122 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20123
20124 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
20125 by including the first letters of nostr and yesexpr in the regexp.
20126 Also make it more readable by using ASCII where possible.
20127
20128 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20129
20130 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
20131 the first letter of nostr in the regexp. It agrees with CLDR now.
20132 Also make it more readable by using ASCII where possible.
20133
20134 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20135
20136 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
20137 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
20138 these strings contain a U+17D6 (which somewhat looks like a colon)
20139 instead of a real colon to separate the full words for “yes”
20140 and “no” from the single letter responses.
20141
20142 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20143
20144 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
20145 it agree with CLDR (include the first letter of yesstr).
20146 Also make it more readable by using ASCII where possible.
20147
20148 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20149
20150 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
20151 and improve yesexpr and noexpr. The yesstr and nostr apparently
20152 came from CLDR. And CLDR has a bug there: these strings contain
20153 a U+0903 (which looks like a colon) instead of a real colon
20154 to separate the full words for “yes” and “no” from the single
20155 letter responses.
20156
20157 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20158
20159 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
20160 letters of the full yesstr and nostr in yesexpr and noexpr.
20161
20162 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20163
20164 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
20165 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
20166 * localedata/locales/an_ES: Make source more readable by using ASCII
20167 where possible.
20168
20169 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20170
20171 [BZ #20952]
20172 * localedata/locales/yuw_PG: New file.
20173 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
20174 * locale/iso-639.def: Add Yau (Uruwa).
20175
20176 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
20177
20178 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
20179
20180 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
20181
20182 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
20183 (__libc_realloc): Likewise.
20184 (_mid_memalign): Likewise.
20185 (__libc_calloc): Likewise.
20186
20187 2017-10-23 Mike FABIAN <mfabian@redhat.com>
20188
20189 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
20190 by adding the generic +1 and -0 as in all other locales.
20191 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
20192 day names and make it more readable by using ASCII where possible.
20193
20194 2017-10-24 Joseph Myers <joseph@codesourcery.com>
20195
20196 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
20197 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
20198
20199 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20200
20201 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
20202 WNOHANG in waitpid call.
20203
20204 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
20205
20206 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
20207 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
20208
20209 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
20210 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
20211 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
20212 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
20213 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
20214 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
20215 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
20216 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
20217 variables.
20218
20219 2017-10-23 Michael Collison <michael.collison@arm.com>
20220
20221 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
20222 with __builtin_sqrt.
20223 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
20224 with __builtin_sqrtf.
20225 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
20226 with __builtin_ceil.
20227 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
20228 with __builtin_ceilf.
20229 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
20230 with __builtin_floor.
20231 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
20232 with __builtin_floorf.
20233 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
20234 with __builtin_fma.
20235 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
20236 with __builtin_fmaf.
20237 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
20238 with __builtin_fmax.
20239 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
20240 with __builtin_fmaxf.
20241 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
20242 with __builtin_fmin.
20243 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
20244 with __builtin_fminf.
20245 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
20246 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
20247 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
20248 with builtin_rint and conversion to int.
20249 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
20250 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
20251 with builtin_llround.
20252 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
20253 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
20254 with builtin_rint and conversion to long int.
20255 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
20256 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
20257 with builtin_lround.
20258 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
20259 with builtin_lroundf.
20260 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
20261 statements with __builtin_nearbyint.
20262 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
20263 statements with __builtin_nearbyintf.
20264 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
20265 with __builtin_rint.
20266 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
20267 with __builtin_rintf.
20268 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
20269 with __builtin_round.
20270 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
20271 with __builtin_roundf.
20272 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
20273 with __builtin_trunc.
20274 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
20275 with __builtin_truncf.
20276 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
20277 and s_l[l]round[f].c too.
20278
20279 2017-10-23 Alan Modra <amodra@gmail.com>
20280
20281 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
20282 Adjust stack after restoring regs. Add missing LR cfi_restore.
20283
20284 2017-10-23 Alan Modra <amodra@gmail.com>
20285
20286 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
20287 Move LR save and frame setup/teardown and LR restore to
20288 immediately around memset call. Provide cfi.
20289
20290 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20291
20292 * sysdeps/i386/fpu/e_powf.S: Removed.
20293 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
20294 * sysdeps/i386/fpu/w_powf.c: Likewise.
20295 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
20296 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20297 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20298 Add e_powf-sse2.
20299 (CFLAGS-e_powf-sse2.c): New.
20300 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
20301 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
20302
20303 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20304
20305 * sysdeps/i386/fpu/e_log2f.S: Removed.
20306 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
20307 * sysdeps/i386/fpu/w_log2f.c: Likewise.
20308 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
20309 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20310 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20311 Add e_log2f-sse2.
20312 (CFLAGS-e_log2f-sse2.c): New.
20313 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
20314 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
20315
20316 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20317
20318 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20319 Add e_powf-fma.
20320 (CFLAGS-e_powf-fma.c): New.
20321 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
20322 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
20323
20324 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20325
20326 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20327 Add e_log2f-fma.
20328 (CFLAGS-e_log2f-fma.c): New.
20329 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
20330 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
20331
20332 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20333
20334 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20335 Add e_logf-fma.
20336 (CFLAGS-e_logf-fma.c): New.
20337 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
20338 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
20339
20340 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20341
20342 * sysdeps/i386/fpu/e_logf.S: Removed.
20343 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
20344 * sysdeps/i386/fpu/w_logf.c: Likewise.
20345 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
20346 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
20347 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20348 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20349 Add e_logf-sse2.
20350 (CFLAGS-e_logf-sse2.c): New.
20351 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
20352 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
20353
20354 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20355
20356 * sysdeps/i386/fpu/e_exp2f.S: Removed.
20357 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
20358 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
20359 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20360 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20361 Add e_exp2f-sse2.
20362 (CFLAGS-e_exp2f-sse2.c): New.
20363 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
20364 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
20365
20366 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20367
20368 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20369 Add e_exp2f-fma.
20370 (CFLAGS-e_exp2f-fma.c): New.
20371 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
20372 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
20373
20374 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20375
20376 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
20377 * sysdeps/i386/fpu/e_expf.S: Likewise.
20378 * sysdeps/i386/fpu/math_errf.c: Likewise.
20379 * sysdeps/i386/fpu/w_expf.c: Likewise.
20380 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
20381 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20382 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
20383 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
20384 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20385 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20386 Remove e_expf-ia32.
20387 (CFLAGS-e_expf-sse2.c): New.
20388 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
20389 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
20390
20391 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20392
20393 * sysdeps/x86_64/fpu/e_expf.S: Removed.
20394 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
20395 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
20396 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
20397 e_expf.c.
20398 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
20399 New.
20400 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
20401 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
20402 Renamed to ...
20403 (__redirect_expf): This.
20404 (SYMBOL_NAME): Changed to expf.
20405 (__ieee754_expf): Renamed to ...
20406 (__expf): This.
20407 (__GI___expf): This.
20408 (__ieee754_expf): Add strong_alias.
20409 (__expf_finite): Likewise.
20410 (__expf): New.
20411 Include <sysdeps/ieee754/flt-32/e_expf.c>.
20412
20413 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
20414
20415 [BZ #22332]
20416 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
20417 unescaping.
20418
20419 2017-10-21 Florian Weimer <fweimer@redhat.com>
20420
20421 * posix/Makefile (tests): Add tst-glob-tilde.
20422 (tests-special): Add tst-glob-tilde-mem.out
20423 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
20424 (tst-glob-tilde-mem.out): Add mtrace check.
20425 * posix/tst-glob-tilde.c: New file.
20426
20427 2017-10-20 Joseph Myers <joseph@codesourcery.com>
20428
20429 * bits/floatn-common.h: New file.
20430 * math/Makefile (headers): Add bits/floatn-common.h.
20431 * bits/floatn.h: Include <bits/floatn-common.h>.
20432 * sysdeps/ia64/bits/floatn.h: Likewise.
20433 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
20434 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
20435 * sysdeps/powerpc/bits/floatn.h: Likewise.
20436 * sysdeps/x86/bits/floatn.h: Likewise.
20437
20438 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20439
20440 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
20441 indicates whether compiler emits an warning for alias for
20442 functions with incompatible types.
20443
20444 [BZ #22273]
20445 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
20446 the auxiliary process is terminated by a signal before calling _exit
20447 or execve.
20448
20449 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
20450
20451 [BZ #21265]
20452 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
20453 New.
20454 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
20455 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
20456 and bit_arch_XSAVEC_Usable if needed.
20457 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
20458 and bit_arch_Use_dl_runtime_resolve_opt.
20459 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
20460 Removed.
20461 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
20462 (bit_arch_Prefer_No_AVX512): Updated.
20463 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
20464 (bit_arch_XSAVEC_Usable): New.
20465 (STATE_SAVE_OFFSET): Likewise.
20466 (STATE_SAVE_MASK): Likewise.
20467 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
20468 (cpu_features): Add xsave_state_size and xsave_state_full_size.
20469 (index_arch_Use_dl_runtime_resolve_opt): Removed.
20470 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
20471 (index_arch_XSAVEC_Usable): New.
20472 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
20473 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
20474 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
20475 is enabled.
20476 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
20477 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
20478 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
20479 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
20480 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
20481 _dl_runtime_resolve_xsavec.
20482 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
20483 Removed.
20484 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
20485 instead of VEC_SIZE.
20486 (REGISTER_SAVE_BND0): Removed.
20487 (REGISTER_SAVE_BND1): Likewise.
20488 (REGISTER_SAVE_BND3): Likewise.
20489 (REGISTER_SAVE_RAX): Always defined to 0.
20490 (VMOV): Removed.
20491 (_dl_runtime_resolve_avx): Likewise.
20492 (_dl_runtime_resolve_avx_slow): Likewise.
20493 (_dl_runtime_resolve_avx_opt): Likewise.
20494 (_dl_runtime_resolve_avx512): Likewise.
20495 (_dl_runtime_resolve_avx512_opt): Likewise.
20496 (_dl_runtime_resolve_sse): Likewise.
20497 (_dl_runtime_resolve_sse_vex): Likewise.
20498 (USE_FXSAVE): New.
20499 (_dl_runtime_resolve_fxsave): Likewise.
20500 (USE_XSAVE): Likewise.
20501 (_dl_runtime_resolve_xsave): Likewise.
20502 (USE_XSAVEC): Likewise.
20503 (_dl_runtime_resolve_xsavec): Likewise.
20504 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
20505 Removed.
20506 (_dl_runtime_resolve_avx512_opt): Likewise.
20507 (_dl_runtime_resolve_avx): Likewise.
20508 (_dl_runtime_resolve_avx_opt): Likewise.
20509 (_dl_runtime_resolve_sse): Likewise.
20510 (_dl_runtime_resolve_sse_vex): Likewise.
20511 (_dl_runtime_resolve_fxsave): New.
20512 (_dl_runtime_resolve_xsave): Likewise.
20513 (_dl_runtime_resolve_xsavec): Likewise.
20514
20515 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
20516
20517 [BZ #22320]
20518 CVE-2017-15670
20519 * posix/glob.c (__glob): Fix one-byte overflow.
20520
20521 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
20522
20523 * malloc/malloc.c (sysdep-cancel.h): Add include.
20524
20525 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
20526
20527 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
20528
20529 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
20530
20531 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
20532 (tests): Remove $(objpfx)ga_test depdendency.
20533 * resolv/ga_test.c: Remove file.
20534
20535 2017-10-20 Mike FABIAN <mfabian@redhat.com>
20536
20537 [BZ #18812]
20538 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
20539 * localedata/locales/kab_DZ: New file.
20540
20541 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
20542
20543 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
20544 _dl_relocate_static_pie instead of _dl_start to compute load
20545 address in static PIE.
20546
20547 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
20548
20549 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
20550
20551 2017-10-20 Mike FABIAN <mfabian@redhat.com>
20552
20553 [BZ #13605]
20554 * localedata/SUPPORTED: Add shn_MM/UTF-8.
20555 * localedata/locales/shn_MM: New file.
20556
20557 2017-10-20 Florian Weimer <fweimer@redhat.com>
20558
20559 [BZ #22321]
20560 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
20561 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
20562 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
20563 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
20564 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
20565 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
20566
20567 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
20568
20569 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20570
20571 2017-10-19 Joseph Myers <joseph@codesourcery.com>
20572
20573 * sysdeps/mips/ieee754/bits/floatn.h: New file.
20574
20575 [BZ #22322]
20576 * sysdeps/mips/bits/long-double.h: Move to ....
20577 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
20578
20579 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
20580
20581 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
20582
20583 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
20584 H.J. Lu <hongjiu.lu@intel.com>
20585
20586 [BZ #22299]
20587 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
20588 GLRO(dl_platform) to NULL.
20589 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
20590 (modules-names): Add tst-platformmod-1 and
20591 x86_64/tst-platformmod-2.
20592 (CFLAGS-tst-platform-1.c): New.
20593 (CFLAGS-tst-platformmod-1.c): Likewise.
20594 (CFLAGS-tst-platformmod-2.c): Likewise.
20595 (LDFLAGS-tst-platformmod-2.so): Likewise.
20596 ($(objpfx)tst-platform-1): Likewise.
20597 ($(objpfx)tst-platform-1.out): Likewise.
20598 (tst-platform-1-ENV): Likewise.
20599 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
20600 * sysdeps/x86_64/tst-platform-1.c: New file.
20601 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
20602 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
20603
20604 2017-10-19 Mike FABIAN <mfabian@redhat.com>
20605
20606 [BZ #13994]
20607 * locale/iso-639.def: Add Karbi.
20608 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
20609 * localedata/locales/mjw_IN: New file.
20610
20611 2017-10-18 Joseph Myers <joseph@codesourcery.com>
20612
20613 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
20614 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
20615 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
20616 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
20617 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
20618 (libm_alias_ldouble_other_r): Also create _Float128 alias.
20619 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
20620 <bits/floatn.h>.
20621 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
20622 (libm_alias_ldouble_other_r): Also create _Float128 alias.
20623 * manual/math.texi (Mathematics): Document additional architecture
20624 support for _Float128.
20625 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20626 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20627 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20628 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20629 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20630 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20631 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20632 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20633 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20634 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20635 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20636 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20637 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20638 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20639 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20640
20641 2017-10-18 Renlin Li <renlin.li@arm.com>
20642
20643 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
20644 _DYNAMIC symbol to calculate load address.
20645
20646 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
20647
20648 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
20649 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
20650 summary bits.
20651 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
20652 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
20653
20654 2017-10-18 Mike FABIAN <mfabian@redhat.com>
20655
20656 [BZ #16777]
20657 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
20658 and improve readability by using more ASCII.
20659 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
20660 and improve readability by using more ASCII.
20661
20662 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
20663
20664 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
20665 not all targets support atomics on bool.
20666
20667 2017-10-17 Joseph Myers <joseph@codesourcery.com>
20668
20669 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
20670 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
20671 __f128.
20672 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
20673 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
20674 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
20675 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
20676 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
20677 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
20678
20679 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20680
20681 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
20682 defines.
20683
20684 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
20685
20686 [BZ #22159]
20687 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
20688 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
20689 (do_check_remalloced_chunk): Fix build bug.
20690 (do_check_malloc_state): Add assert that checks arena->top.
20691 (malloc_consolidate): Remove initialization.
20692 (int_mallinfo): Remove call to malloc_consolidate.
20693 (__libc_mallopt): Clarify why malloc_consolidate is needed.
20694
20695 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
20696
20697 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
20698 (have_fastchunks): Remove.
20699 (clear_fastchunks): Remove.
20700 (set_fastchunks): Remove.
20701 (malloc_state): Add have_fastchunks.
20702 (malloc_init_state): Use have_fastchunks.
20703 (do_check_malloc_state): Remove incorrect invariant checks.
20704 (_int_malloc): Use have_fastchunks.
20705 (_int_free): Likewise.
20706 (malloc_consolidate): Likewise.
20707
20708 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
20709
20710 * malloc/malloc.c (tcache_put): Inline.
20711 (tcache_get): Inline.
20712
20713 2017-10-17 Jordi Mallach <jordi@gnu.org>
20714
20715 Aurelien Jarno <aurelien@aurel32.net>
20716 [BZ #2522]
20717 * localedata/locales/ca_ES@valencia: New file.
20718 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
20719
20720 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
20721
20722 [BZ #22296]
20723 * math/math.h: Let signbit use the builtin in C++ mode with gcc
20724 < 6.x
20725
20726 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20727
20728 * scripts/build-many-glibcs.py (Context.add_all_configs):
20729 Add arm-linux-gnueabihf multiarch extra_glibcs.
20730
20731 * sysdeps/generic/ifunc-init.h: New file.
20732 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
20733
20734 2017-10-17 Mike FABIAN <mfabian@redhat.com>
20735
20736 [BZ #22019]
20737 * localedata/locales/el_GR: Set n_cs_precedes to 0.
20738 * localedata/locales/el_CY: copy "el_GR" because it is identical.
20739 * stdlib/tst-strfmon_l.c: adapt test case.
20740
20741 2017-10-16 Joseph Myers <joseph@codesourcery.com>
20742
20743 * sysdeps/generic/float128-abi.h: New file.
20744 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
20745 non-__prefixed symbols to ....
20746 * math/Versions: ... here. Include <float128-abi.h>.
20747 * stdlib/Versions ... and here. Include <float128-abi.h>
20748
20749 2017-10-16 Florian Weimer <fweimer@redhat.com>
20750
20751 * version.h (VERSION): Switch to ".9000" as the development
20752 version suffix.
20753
20754 2017-10-16 Florian Weimer <fweimer@redhat.com>
20755
20756 [BZ #22050]
20757 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
20758 compat_symbol_reference to access non-default version.
20759
20760 2017-10-16 Florian Weimer <fweimer@redhat.com>
20761
20762 * malloc/Makefile (others-extras): Set to mcheck-init.o.
20763
20764 2017-10-16 Carlos O'Donell <carlos@redhat.com>
20765
20766 * include/shlib-compat.h (compat_symbol_reference): Update
20767 comment.
20768
20769 2017-10-16 Joseph Myers <joseph@codesourcery.com>
20770
20771 * math/Makefile (test-types): Add
20772 $(type-float128-$(float128-alias-fcts)).
20773 * math/test-float128.h (TYPE_STR): Define conditional on
20774 [FLT128_MANT_DIG == LDBL_MANT_DIG].
20775 (ULP_IDX): Likewise.
20776 (ULP_I_IDX): Likewise.
20777
20778 * stdlib/strtold.c: Include <bits/floatn.h>
20779 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
20780 and later undefine as macro. Define as weak alias if
20781 [!USE_WIDE_CHAR].
20782 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
20783 and later undefine as macro. Define as weak alias if
20784 [USE_WIDE_CHAR].
20785 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
20786 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
20787 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20788 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
20789 Define and later undefine as macro. Define as weak alias if
20790 [USE_WIDE_CHAR].
20791 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
20792 <bits/floatn.h>.
20793 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
20794 Define and later undefine as macro. Define as weak alias if
20795 [!USE_WIDE_CHAR].
20796 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
20797 Define and later undefine as macro. Define as weak alias if
20798 [USE_WIDE_CHAR].
20799
20800 2017-10-15 Carlos O'Donell <carlos@redhat.com>
20801
20802 * localedata/collate-test.c (allocate_arrays): Don't use \n in
20803 record_verbose messages.
20804
20805 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
20806
20807 [BZ #22052]
20808 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
20809 to silence -O3 -Wall warning with GCC 7.
20810
20811 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
20812
20813 * Makeconfig (+link-static-before-libc): Use the first of
20814 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
20815 * gmon/Makefile (tests): Add tst-gmon-static.
20816 (tests-static): Likewise.
20817 (CFLAGS-tst-gmon-static.c): New.
20818 (CRT-tst-gmon-static): Likewise.
20819 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
20820 (tst-gmon-static-ENV): Likewise.
20821 (tests-special): Likewise.
20822 ($(objpfx)tst-gmon-static.out): Likewise.
20823 (clean-tst-gmon-static-data): Likewise.
20824 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
20825 * gmon/tst-gmon-static-gprof.sh: New file.
20826 * gmon/tst-gmon-static.c: Likewise.
20827
20828 2017-10-13 Carlos O'Donell <carlos@redhat.com>
20829
20830 [BZ #22295]
20831 * locale/programs/linereader.c (get_string): Don't warn on
20832 non-symbolic character.
20833
20834 [BZ #22294]
20835 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
20836 int_curr_symbol.
20837
20838 [BZ #22292]
20839 * locale/programs/record-status.h: New file
20840 * locale/programs/locale.c: Add comment.
20841 * locale/programs/charmap-dir.c: Don't include error.h.
20842 (charmap_opendir): Use record_error.
20843 * locale/programs/charmap.c: Don't include error.h.
20844 (charmap_read): Use record_error, and record_warning.
20845 (parse_charmap): Likewise.
20846 * locale/programs/ld-address.c: Don't include error.h.
20847 (address_finish): Use record_error, and record_warning.
20848 * locale/programs/ld-collate.c: Don't include error.h.
20849 (collate_finish): Use record_error, and record_error_at_line.
20850 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
20851 (ctype_class_new): Likewise.
20852 (ctype_map_new): Likewise.
20853 (set_one_default): Likewise.
20854 (set_class_defaults): Likewise.
20855 (translit_flatten): Likewise.
20856 (allocate_arrays): Use record_error, and record_verbose.
20857 * locale/programs/ld-identification.c: Don't include error.h.
20858 (indentation_finish): Use record_error and record_warning.
20859 * locale/programs/ld-measurement.c: Don't include error.h.
20860 (measurement_finish): Use record_error.
20861 * locale/programs/ld-messages.c
20862 (message_finish): Likewise.
20863 * locale/programs/ld-monetary.c
20864 (monetary_finish): Likewise.
20865 * locale/programs/ld-name.c (name_finish): Use record_error
20866 and record_warning.
20867 * locale/programs/ld-numeric.c
20868 (numeric_finish): Use record_error.
20869 * locale/programs/ld-paper.c: Don't include error.h.
20870 (paper_finish): Use record_error.
20871 * locale/programs/ld-telephone.c: Don't include error.h.
20872 (telephone_finish): Use record_error.
20873 * locale/programs/ld-time.c (time_finish): Likewise.
20874 * locale/programs/linereader.h (lr_error): Make inline func.
20875 * locale/programs/localedef.c: Define recorded_warning_count,
20876 and recorded_error_count.
20877 (main): Use record_error. Use recorded_error_count and
20878 recorded_warning_count to issue correct error returns.
20879 (add_to_readlist): Use record_error.
20880 (find_locale): Likewise.
20881 (load_locale): Likewise.
20882 * locale/programs/localedef.h: Remove be_quiet
20883 and WITH_CUR_LOCALE.
20884 * locale/programs/locarchive.c (compare_from_file): Use
20885 record_error.
20886 * locale/programs/locfile.c (write_locale_data): Use
20887 record_error.
20888 * locale/programs/repertoire.c: Dont include error.h.
20889 (repertoire_complain): Use record_error.
20890 * localedata/tst-fmon.sh: Expect failures from localedef.
20891 * localedata/tst-locale.sh: Likewise.
20892 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
20893
20894 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
20895 (REPORTS): Likewise.
20896 (check): Likewise.
20897 (i18n): Rename to...
20898 (i18n_ctype): ...this.
20899 (i18n-report): Rename to...
20900 (i18n_ctype-report): ...this.
20901 * localedata/locales/i18n_ctype: Regenerate.
20902 * localedata/locales/i18n: copy i18n_ctype.
20903
20904 2017-10-13 Joseph Myers <joseph@codesourcery.com>
20905
20906 * stdlib/strfroml.c: Include <bits/floatn.h>.
20907 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
20908 Define before include of <stdlib.h> and undefine afterwards, then
20909 define as weak alias.
20910
20911 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
20912 Undefine and restore default definition. Use
20913 libm_alias_ldouble_other.
20914
20915 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
20916
20917 [BZ #22153]
20918 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
20919 in coredumps.
20920
20921 2017-10-13 James Clarke <jrtc27@jrtc27.com>
20922
20923 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20924 Assign sym_map to be map for local symbols, as TLS relocations
20925 use sym_map to determine whether the symbol is defined and to
20926 extract the TLS information.
20927 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20928 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20929
20930 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20931
20932 [BZ #22189]
20933 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
20934 (math_force_eval): Add powerpc version.
20935
20936 [BZ #22142]
20937 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
20938 -DBL_MAX.
20939 (do_test): Likewise.
20940 * stdio-common/tst-printf.sh: Likewise.
20941 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
20942 ifdef clause in order to set the carry bit right. Replace r0 by
20943 0 without changing the behavior.
20944
20945 2017-10-13 Joseph Myers <joseph@codesourcery.com>
20946
20947 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
20948 <libm-alias-ldouble.h>.
20949 (fabsl): Define using libm_alias_ldouble.
20950 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
20951 <libm-alias-ldouble.h>.
20952 (fabsl): Define using libm_alias_ldouble.
20953
20954 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
20955 Remove conditional code.
20956
20957 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
20958 Rename to __clog10_internal_l.
20959 (__clog10_internal_l): Define aliases using
20960 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
20961 with __clog10.
20962
20963 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20964
20965 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
20966 * benchtests/sincosf-inputs: New file.
20967 * benchtests/cosf-inputs: New file.
20968 * benchtests/sinf-inputs: New file.
20969
20970 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20971
20972 * posix/tst-spawn.c (do_test): Wait for both children.
20973
20974 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
20975
20976 [BZ #22284]
20977 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
20978 tests-pie): Add tst-gmon-pie.
20979 (CFLAGS-tst-gmon-pie.c): New.
20980 (CRT-tst-gmon-pie): Likewise.
20981 (tst-gmon-pie-ENV): Likewise.
20982 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
20983 ($(objpfx)tst-gmon-pie.out): Likewise.
20984 (clean-tst-gmon-pie-data): Likewise.
20985 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
20986 * gmon/gmon.c [PIC]: Include <link.h>.
20987 [PIC] (callback): New function.
20988 (write_hist): Add an argument for load address. Subtract load
20989 address from PCs.
20990 (write_call_graph): Likewise.
20991 (write_gmon): Call __dl_iterate_phdr to get load address, pass
20992 it to write_hist and write_call_graph.
20993 * gmon/tst-gmon-pie.c: New file.
20994
20995 2017-10-11 Joseph Myers <joseph@codesourcery.com>
20996
20997 * math/Makefile (test-types-basic): New variable.
20998 (test-types): Likewise.
20999 (libm-test-support): Use $(test-types) instead of $(types).
21000 (libm-tests-base-normal): Likewise.
21001 (libm-tests-base-finite): Likewise.
21002 (libm-tests-base-inline): Likewise.
21003 (generated): Likewise.
21004 ($(objpfx)libm-test-support-$(t).c): Likewise.
21005 (libm-tests-for-type iterator): Likewise.
21006 (libm-test-support iterator): Likewise.
21007 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
21008 (ulp_idx): Use ULP_IDX.
21009 * math/test-ldouble.h: Include <float.h>.
21010 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
21011 (ULP_IDX): New macro.
21012 (ULP_I_IDX): Likewise.
21013 * math/test-double.h (ULP_IDX): Likewise.
21014 (ULP_I_IDX): Likewise.
21015 * math/test-float.h (ULP_IDX): Likewise.
21016 (ULP_I_IDX): Likewise.
21017 * math/test-float128.h (ULP_IDX): Likewise.
21018 (ULP_I_IDX): Likewise.
21019
21020 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21021
21022 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
21023 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21024 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21025 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
21026 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21027 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
21028 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
21029 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21030 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21031 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21032 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
21033 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21034 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21035 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21036 (SINGLE_THREAD_BY_GLOBAL): Define.
21037 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21038 Likewise.
21039 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21040 Likewise.
21041 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21042 Likewise.
21043 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21044 Likewise.
21045 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
21046 (SINGLE_THREAD_BY_GLOBAL): Likewise.
21047 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21048 Likewise.
21049
21050 2017-10-11 Andreas Schwab <schwab@suse.de>
21051
21052 * nis/Makefile (aux): Remove.
21053 * nscd/Makefile (aux): Add nscd_hash.
21054 (nscd-modules): Likewise.
21055 ($(objpfx)nscd): Don't depend on libnsl.
21056 * nscd/nscd_hash.c: New file.
21057 * nscd/nscd_hash.h: Likewise.
21058 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
21059 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
21060 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
21061 instead of <nis/rpcsvc/nis.h>.
21062 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
21063
21064 2017-10-11 Florian Weimer <fweimer@redhat.com>
21065
21066 [BZ #22078]
21067 Avoid large NSS buffers with many addresses, aliases.
21068 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
21069 using dynarrays and struct alloc_buffer.
21070 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
21071 (tst-nss-files-hosts-multi): Link with -ldl.
21072 * nss/tst-nss-files-hosts-multi.c: New file.
21073
21074 2017-10-11 Florian Weimer <fweimer@redhat.com>
21075
21076 [BZ #18023]
21077 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
21078 scratch_buffer. Eliminate gotos.
21079
21080 2017-10-11 Joseph Myers <joseph@codesourcery.com>
21081
21082 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
21083 libm_alias_ldouble_other.
21084 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
21085 undefine and redefine.
21086 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
21087 (exp10l): Do not define here.
21088 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
21089 (weak_alias): Undefine and redefine.
21090 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
21091 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
21092 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
21093 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
21094
21095 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
21096 [!__fma] (fma): Define using libm_alias_double.
21097 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
21098 [!__fmaf] (fmaf): Define using libm_alias_float.
21099 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
21100 (fmal): Define using libm_alias_ldouble.
21101
21102 2017-10-10 Joseph Myers <joseph@codesourcery.com>
21103
21104 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
21105 New macro.
21106 (libm_alias_double_other): Likewise.
21107 (libm_alias_double_r): Use libm_alias_double_other_r.
21108 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
21109 New macro.
21110 (libm_alias_float_other): Likewise.
21111 (libm_alias_float_r): Use libm_alias_float_other_r.
21112 * sysdeps/generic/libm-alias-float128.h
21113 (libm_alias_float128_other_r): New macro.
21114 (libm_alias_float128_other): Likewise.
21115 (libm_alias_float128_r): Use libm_alias_float128_other_r.
21116 * sysdeps/generic/libm-alias-ldouble.h
21117 (libm_alias_ldouble_other_r): New macro.
21118 (libm_alias_ldouble_other): Likewise.
21119 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
21120 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21121 (libm_alias_double_other_r): New macro.
21122 (libm_alias_double_other): Likewise.
21123 (libm_alias_double_r): Use libm_alias_double_other_r.
21124 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21125 (libm_alias_ldouble_other_r): New macro.
21126 (libm_alias_ldouble_other): Likewise.
21127 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
21128 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
21129 [!USE_AS_COMPAT]: Use libm_alias_double_other.
21130 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
21131 [!USE_AS_COMPAT]: Use libm_alias_float_other.
21132 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
21133 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
21134 * math/w_exp2f.c: Use libm_alias_float_other.
21135 * math/w_expf.c: Likewise.
21136 * math/w_log2f.c: Likewise.
21137 * math/w_logf.c: Likewise.
21138 * math/w_powf.c: Likewise.
21139 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
21140 [!__exp2f]: Use libm_alias_float_other.
21141 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
21142 [!__expf]: Use libm_alias_float_other.
21143 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
21144 [!__log2f]: Use libm_alias_float_other.
21145 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
21146 [!__logf]: Use libm_alias_float_other.
21147 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
21148 [!__powf]: Use libm_alias_float_other.
21149
21150 2017-10-10 Florian Weimer <fweimer@redhat.com>
21151
21152 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
21153 function.
21154 (_nss_files_gethostbyname3_r): Call it.
21155
21156 2017-10-09 Joseph Myers <joseph@codesourcery.com>
21157
21158 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
21159 error. Remove default definition of declare_mgen_alias.
21160 [!declare_mgen_alias_r]: Likewise.
21161 * sysdeps/generic/math-type-macros-double.h
21162 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
21163 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
21164 (declare_mgen_alias_r): Likewise.
21165 * sysdeps/generic/math-type-macros-float128.h
21166 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
21167 * sysdeps/generic/math-type-macros-ldouble.h
21168 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
21169 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
21170 macro.
21171 (declare_mgen_alias_r_s): Likewise.
21172 (declare_mgen_alias_r): Likewise.
21173 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
21174 (lgamma_r): Define using libm_alias_double_r.
21175 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
21176 (lgammaf_r): Define using libm_alias_float_r.
21177 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
21178 (lgammal_r): Define using libm_alias_ldouble_r.
21179 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
21180 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
21181
21182 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21183
21184 * lib/glob.c (__glob_pattern_type): Remove now-spurious
21185 extern declaration.
21186
21187 2017-10-09 Joseph Myers <joseph@codesourcery.com>
21188
21189 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
21190
21191 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
21192
21193 [BZ #21326]
21194 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
21195 [__cplusplus >= 201103] (__USE_ISOC99): Define.
21196 * math/Makefile (test-math-cxx11): New test.
21197 * math/test-math-cxx11.cc: New file.
21198
21199 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
21200
21201 * login/openpty.c (openpty): Close slave pty file descriptor on error.
21202
21203 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
21204 call to allocate the slave pty file descriptor.
21205
21206 2017-10-06 Joseph Myers <joseph@codesourcery.com>
21207
21208 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
21209 [!__fma] (fma): Define using libm_alias_double.
21210 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
21211 [!__fma] (fma): Define using libm_alias_double.
21212
21213 * sysdeps/ieee754/float128/float128_private.h: Include
21214 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
21215 (libm_alias_ldouble_r): Undefine and redefine.
21216 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
21217 <libm-alias-ldouble.h>.
21218 (asinhl): Define using libm_alias_ldouble.
21219 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
21220 <libm-alias-ldouble.h>.
21221 (atanl): Define using libm_alias_ldouble.
21222 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
21223 <libm-alias-ldouble.h>.
21224 (cbrtl): Define using libm_alias_ldouble.
21225 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
21226 <libm-alias-ldouble.h>.
21227 (ceill): Define using libm_alias_ldouble.
21228 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
21229 <libm-alias-ldouble.h>.
21230 (copysignl): Define using libm_alias_ldouble.
21231 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
21232 <libm-alias-ldouble.h>.
21233 (cosl): Define using libm_alias_ldouble.
21234 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
21235 <libm-alias-ldouble.h>.
21236 (erfl): Define using libm_alias_ldouble.
21237 (erfcl): Likewise.
21238 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
21239 <libm-alias-ldouble.h>.
21240 (expm1l): Define using libm_alias_ldouble.
21241 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
21242 <libm-alias-ldouble.h>.
21243 (fabsl): Define using libm_alias_ldouble.
21244 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
21245 <libm-alias-ldouble.h>.
21246 (floorl): Define using libm_alias_ldouble.
21247 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
21248 <libm-alias-ldouble.h>.
21249 (fmal): Define using libm_alias_ldouble.
21250 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
21251 <libm-alias-ldouble.h>.
21252 (frexpl): Define using libm_alias_ldouble.
21253 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
21254 libm_alias_ldouble.
21255 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
21256 <libm-alias-ldouble.h>.
21257 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
21258 libm_alias_ldouble.
21259 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
21260 <libm-alias-ldouble.h>.
21261 (getpayloadl): Define using libm_alias_ldouble.
21262 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
21263 <libm-alias-ldouble.h>.
21264 (llrintl): Define using libm_alias_ldouble.
21265 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
21266 <libm-alias-ldouble.h>.
21267 (llroundl): Define using libm_alias_ldouble.
21268 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
21269 <libm-alias-ldouble.h>.
21270 (logbl): Define using libm_alias_ldouble.
21271 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
21272 <libm-alias-ldouble.h>.
21273 (lrintl): Define using libm_alias_ldouble.
21274 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
21275 <libm-alias-ldouble.h>.
21276 (lroundl): Define using libm_alias_ldouble.
21277 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
21278 <libm-alias-ldouble.h>.
21279 (modfl): Define using libm_alias_ldouble.
21280 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
21281 <libm-alias-ldouble.h>.
21282 (nearbyintl): Define using libm_alias_ldouble.
21283 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
21284 <libm-alias-ldouble.h>.
21285 (nextafterl): Define using libm_alias_ldouble.
21286 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
21287 <libm-alias-ldouble.h>.
21288 (nextupl): Define using libm_alias_ldouble.
21289 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
21290 <libm-alias-ldouble.h>.
21291 (remquol): Define using libm_alias_ldouble.
21292 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
21293 <libm-alias-ldouble.h>.
21294 (rintl): Define using libm_alias_ldouble.
21295 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
21296 <libm-alias-ldouble.h>.
21297 (roundevenl): Define using libm_alias_ldouble.
21298 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
21299 <libm-alias-ldouble.h>.
21300 (roundl): Define using libm_alias_ldouble.
21301 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
21302 using libm_alias_ldouble.
21303 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
21304 <libm-alias-ldouble.h>.
21305 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
21306 Define using libm_alias_ldouble.
21307 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
21308 <libm-alias-ldouble.h>.
21309 (sincosl): Define using libm_alias_ldouble.
21310 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
21311 <libm-alias-ldouble.h>.
21312 (sinl): Define using libm_alias_ldouble.
21313 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
21314 <libm-alias-ldouble.h>.
21315 (tanhl): Define using libm_alias_ldouble.
21316 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
21317 <libm-alias-ldouble.h>.
21318 (tanl): Define using libm_alias_ldouble.
21319 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
21320 <libm-alias-ldouble.h>.
21321 (totalorderl): Define using libm_alias_ldouble.
21322 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
21323 <libm-alias-ldouble.h>.
21324 (totalordermagl): Define using libm_alias_ldouble.
21325 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
21326 <libm-alias-ldouble.h>.
21327 (truncl): Define using libm_alias_ldouble.
21328 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
21329 libm_alias_ldouble.
21330 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
21331 libm_alias_ldouble.
21332 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
21333 <libm-alias-ldouble.h>.
21334 (weak_alias): Do not undefine and redefine.
21335 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
21336 (copysignl): Define with long_double_symbol only if [IS_IN
21337 (libc)].
21338 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
21339 <libm-alias-ldouble.h>.
21340 (weak_alias): Do not undefine and redefine.
21341 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
21342 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
21343 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
21344 <libm-alias-ldouble.h>.
21345 (weak_alias): Do not undefine and redefine.
21346 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
21347 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
21348 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
21349 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
21350 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
21351 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
21352 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
21353 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
21354 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
21355 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
21356 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
21357 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
21358 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
21359 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
21360 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
21361 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
21362 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
21363 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
21364 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
21365 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
21366 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
21367 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
21368 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
21369 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
21370 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
21371 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
21372
21373 2017-10-06 Carlos O'Donell <carlos@redhat.com>
21374
21375 [BZ #22111]
21376 * malloc/malloc.c (tcache_shutting_down): Use bool type.
21377 (tcache_thread_freeres): Set tcache_shutting_down before
21378 freeing the tcache.
21379 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
21380 * malloc/tst-malloc-tcache-leak.c: New file.
21381
21382 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21383
21384 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
21385 back to powerpc32 file.
21386 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
21387 (memrchr): Add __memrchr_power8 to ifunc list.
21388 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
21389 extra bytes for unaligned inputs.
21390
21391 2017-10-06 Joseph Myers <joseph@codesourcery.com>
21392
21393 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
21394 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
21395 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
21396 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
21397 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
21398
21399 2017-10-05 Joseph Myers <joseph@codesourcery.com>
21400
21401 * sysdeps/arm/libm-test-ulps: Update.
21402
21403 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
21404 <libm-alias-ldouble.h>.
21405 (asinhl): Define using libm_alias_ldouble.
21406 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
21407 <libm-alias-ldouble.h>.
21408 (cbrtl): Define using libm_alias_ldouble.
21409 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
21410 <libm-alias-ldouble.h>.
21411 (copysignl): Define using libm_alias_ldouble.
21412 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
21413 <libm-alias-ldouble.h>.
21414 (cosl): Define using libm_alias_ldouble.
21415 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
21416 <libm-alias-ldouble.h>.
21417 (erfl): Define using libm_alias_ldouble.
21418 (erfcl): Likewise.
21419 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
21420 <libm-alias-ldouble.h>.
21421 (fmal): Define using libm_alias_ldouble.
21422 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
21423 <libm-alias-ldouble.h>.
21424 (frexpl): Define using libm_alias_ldouble.
21425 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
21426 libm_alias_ldouble.
21427 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
21428 <libm-alias-ldouble.h>.
21429 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
21430 libm_alias_ldouble.
21431 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
21432 <libm-alias-ldouble.h>.
21433 (getpayloadl): Define using libm_alias_ldouble.
21434 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
21435 <libm-alias-ldouble.h>.
21436 (llrintl): Define using libm_alias_ldouble.
21437 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
21438 <libm-alias-ldouble.h>.
21439 (llroundl): Define using libm_alias_ldouble.
21440 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
21441 <libm-alias-ldouble.h>.
21442 (lrintl): Define using libm_alias_ldouble.
21443 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
21444 <libm-alias-ldouble.h>.
21445 (lroundl): Define using libm_alias_ldouble.
21446 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
21447 <libm-alias-ldouble.h>.
21448 (modfl): Define using libm_alias_ldouble.
21449 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
21450 <libm-alias-ldouble.h>.
21451 (nextupl): Define using libm_alias_ldouble.
21452 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
21453 <libm-alias-ldouble.h>.
21454 (remquol): Define using libm_alias_ldouble.
21455 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
21456 <libm-alias-ldouble.h>.
21457 (roundevenl): Define using libm_alias_ldouble.
21458 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
21459 <libm-alias-ldouble.h>.
21460 (roundl): Define using libm_alias_ldouble.
21461 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
21462 using libm_alias_ldouble.
21463 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
21464 <libm-alias-ldouble.h>.
21465 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
21466 <libm-alias-ldouble.h>.
21467 (setpayloadsigl): Define using libm_alias_ldouble.
21468 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
21469 <libm-alias-ldouble.h>.
21470 (sincosl): Define using libm_alias_ldouble.
21471 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
21472 <libm-alias-ldouble.h>.
21473 (sinl): Define using libm_alias_ldouble.
21474 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
21475 <libm-alias-ldouble.h>.
21476 (tanhl): Define using libm_alias_ldouble.
21477 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
21478 <libm-alias-ldouble.h>.
21479 (tanl): Define using libm_alias_ldouble.
21480 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
21481 <libm-alias-ldouble.h>.
21482 (totalorderl): Define using libm_alias_ldouble.
21483 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
21484 <libm-alias-ldouble.h>.
21485 (totalordermagl): Define using libm_alias_ldouble.
21486 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
21487 libm_alias_ldouble.
21488 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
21489 libm_alias_ldouble.
21490
21491 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
21492
21493 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
21494 memmove_falkor.
21495 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21496 (__libc_ifunc_impl_list): Likewise.
21497 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
21498 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
21499
21500 * benchtests/bench-memmove-walk.c: New file.
21501 * benchtests/Makefile (string-benchset): Add it.
21502
21503 * benchtests/bench-memset-walk.c: New file.
21504 * benchtests/Makefile (string-benchset): Add it.
21505
21506 * benchtests/bench-memcpy-walk.c: New file.
21507 * benchtests/Makefile (string-benchset): Add it.
21508
21509 2017-10-05 Florian Weimer <fweimer@redhat.com>
21510
21511 nscd: Eliminate compilation time dependency in the build output.
21512 * nscd/nscd_stat.c (STATDATA_VERSION)
21513 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
21514 (STATDATA_VERSION_FULL): New macro definitions.
21515 (compilation): Remove.
21516 (struct statdata): Adjust version member.
21517 (send_stats): Set version from STATDATA_VERSION_FULL.
21518 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
21519
21520 2017-10-05 Joseph Myers <joseph@codesourcery.com>
21521
21522 * configure.ac (--enable-add-ons): Remove option.
21523 (machine): Do not mention add-ons in comment.
21524 (LIBC_PRECONFIGURE): Likewise.
21525 (add_ons): Remove variable and sanity checks and logic to locate
21526 add-ons.
21527 (add_ons_automatic): Remove variable.
21528 (configured_add_ons): Likewise.
21529 (add_ons_sfx): Likewise.
21530 (add_ons_pfx): Likewise.
21531 (add_on_subdirs): Likewise.
21532 (sysnames_add_ons): Likewise. Remove loop over add-ons and
21533 consideration of add-ons in Implies handling.
21534 (sysdeps_add_ons): Likewise.
21535 * configure: Regenerated.
21536 * libidn/configure.ac: Remove.
21537 * libidn/configure: Likewise.
21538 * sysdeps/unix/inet/configure.ac: New file.
21539 * sysdeps/unix/inet/configure: New generated file.
21540 * sysdeps/unix/inet/Subdirs: Add libidn.
21541 * Makeconfig (sysdeps-srcdirs): Remove variable.
21542 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
21543 ($(common-objpfx)config.status): Do not depend on add-on files.
21544 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
21545 comment.
21546 (all-subdirs): Do not include $(add-on-subdirs).
21547 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
21548 * config.make.in (add-ons): Remove variable.
21549 (add-on-subdirs): Likewise.
21550 (sysdeps-add-ons): Likewise.
21551 * manual/Makefile (add-chapters): Remove.
21552 ($(objpfx)texis): Do not depend on $(add-chapters).
21553 (nonexamples): Do not handle $(add-chapters).
21554 (examples): Do not handle $(add-ons).
21555 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
21556 libc-texinfo.sh.
21557 * manual/install.texi (Installation): Do not mention add-ons.
21558 (--enable-add-ons): Do not document configure option.
21559 * INSTALL: Regenerated.
21560 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
21561 * manual/maint.texi (Hierarchy Conventions): Do not mention
21562 add-ons.
21563 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
21564 --enable-add-ons.
21565 * scripts/gen-sorted.awk: Do not handle Subdirs files from
21566 add-ons.
21567 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
21568 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
21569
21570 2017-10-05 Andreas Schwab <schwab@suse.de>
21571
21572 [BZ #15142]
21573 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
21574 (_IO_flush_all_lockp): Always lock list_all_lock.
21575 (_IO_flush_all_linebuffered): Likewise.
21576 (_IO_unbuffer_all): Likewise.
21577
21578 2017-10-05 Florian Weimer <fweimer@redhat.com>
21579
21580 [BZ #15436]
21581 Do not flush stdio streams on abort.
21582 * stdlib/abort.c (fflush): Remove macro definition.
21583 (abort): Remove stages related to stdio flushing.
21584
21585 2017-10-05 Florian Weimer <fweimer@redhat.com>
21586
21587 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
21588
21589 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
21590
21591 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21592
21593 2017-10-05 Florian Weimer <fweimer@redhat.com>
21594
21595 * support/support_format_hostent.c (support_format_hostent): Add
21596 more error information for NETDB_INTERNAL.
21597
21598 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
21599
21600 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
21601 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
21602 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
21603 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
21604 AC_DEFINE if multi-arch is enabled.
21605 * sysdeps/i386/configure: Regenerated.
21606
21607 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
21608
21609 * Makeconfig (+link-static-before-libc): Use
21610 $(DEFAULT-LDFLAGS-$(@F)).
21611 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
21612 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
21613 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
21614
21615 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
21616
21617 * elf/Makefile (tests): Add tst-main1.
21618 (modules-names): Add tst-main1mod.
21619 ($(objpfx)tst-main1): New.
21620 (CRT-tst-main1): Likewise.
21621 (LDFLAGS-tst-main1): Likewise.
21622 (LDLIBS-tst-main1): Likewise.
21623 (tst-main1mod.so-no-z-defs): Likewise.
21624 * elf/tst-main1.c: New file.
21625 * elf/tst-main1mod.c: Likewise.
21626
21627 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
21628
21629 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
21630
21631 2017-10-04 Joseph Myers <joseph@codesourcery.com>
21632
21633 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
21634 (fma): Define using libm_alias_double.
21635 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
21636 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
21637 <math_ldbl_opt.h>.
21638 (fmal): Do not define as compat symbol here.
21639 * sysdeps/alpha/fpu/s_fma.c: New file.
21640
21641 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
21642
21643 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
21644
21645 2017-10-04 Joseph Myers <joseph@codesourcery.com>
21646
21647 [BZ #22229]
21648 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21649 <math_ldbl_opt.h>
21650 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
21651 and libc.
21652 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
21653 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21654 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
21655 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
21656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21657 Include <math_ldbl_opt.h>
21658 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
21659 and libc.
21660 (compat_symbol): Undefine and redefine.
21661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21662 <math_ldbl_opt.h>
21663 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21664 (compat_symbol): Undefine and redefine.
21665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
21666 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
21667 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
21668 GLIBC_2_1 for libm.
21669 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
21670 GLIBC_2.0 copysignl symbol.
21671 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
21672 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
21673
21674 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
21675
21676 2017-10-04 Florian Weimer <fweimer@redhat.com>
21677
21678 * scripts/check-local-headers.sh: Ignore nspr4 header file
21679 directory in addition to nspr.
21680
21681 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
21682
21683 [BZ #17956]
21684 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
21685 * configure: Regenerate.
21686 * crypt/Makefile (nss-cpp-flags): New variable.
21687 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
21688 (CPPFLAGS-md5-crypt.c): Use it.
21689 * scripts/check-local-headers.sh: Ignore nspr header file
21690 directory.
21691
21692 2017-10-04 Andreas Schwab <schwab@suse.de>
21693
21694 * nis/Makefile (services): Remove compat.
21695 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
21696 ($(objpfx)libnss_compat.so): Remove rule.
21697 * nis/Versions (libnss_compat): Remove.
21698 * nss/Makefile (services): Add compat.
21699 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
21700 * nss/Versions (libnss_compat): Define.
21701 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
21702 Don't include <rpc/types.h>. Replace bool_t by bool.
21703 * nss/nss_compat/compat-initgroups.c: Likewise.
21704 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
21705 instead of <rpcsrv/ypclnt.h>.
21706 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
21707 yp_get_default_domain.
21708 * nss/nss_compat/compat-pwd.c: Likewise.
21709 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
21710 yp_get_default_domain.
21711 * nss/nss_compat/nisdomain.c: New file.
21712 * nss/nss_compat/nisdomain.h: Likewise.
21713
21714 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
21715
21716 [BZ #22244]
21717 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
21718 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21719
21720 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
21721
21722 [BZ #22243]
21723 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
21724 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
21725
21726 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
21727
21728 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
21729 "movl main@GOTOFF(%ebx), %eax".
21730
21731 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
21732
21733 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
21734 allow undefined _DYNAMIC in PIE libc.a.
21735 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
21736 Likewse.
21737
21738 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
21739
21740 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
21741 check _DYNAMIC.
21742
21743 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
21744
21745 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
21746 check _DYNAMIC.
21747
21748 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
21749
21750 * math/test-math-iscanonical.cc (error): Replace bool with int.
21751
21752 2017-10-03 Joseph Myers <joseph@codesourcery.com>
21753
21754 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
21755 (modf): Define using libm_alias_double, only if [!__modf].
21756 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
21757 <libm-alias-double.h>.
21758 (modf): Define using libm_alias_double, only if [!__modf].
21759 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
21760 compat symbol here.
21761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
21762 (weak_alias): Do not undefine and redefine.
21763 (strong_alias): Likewise.
21764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
21765 (weak_alias): Likewise.
21766 (strong_alias): Likewise.
21767
21768 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
21769 (logb): Define using libm_alias_double, only if [!__logb].
21770 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
21771 <libm-alias-double.h>.
21772 (logb): Define using libm_alias_double, only if [!__logb].
21773 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
21774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
21775 (weak_alias): Do not undefine and redefine.
21776 (strong_alias): Likewise.
21777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
21778 (weak_alias): Likewise.
21779 (strong_alias): Likewise.
21780
21781 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
21782
21783 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
21784 Check SHARED instead PIC.
21785
21786 2017-10-03 Joseph Myers <joseph@codesourcery.com>
21787
21788 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
21789 [!__fmaf] (fmaf): Define using libm_alias_float.
21790
21791 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
21792 (frexp): Define using libm_alias_double.
21793 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
21794 <libm-alias-double.h>.
21795 (frexp): Define using libm_alias_double.
21796 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
21797 compat symbol here.
21798
21799 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
21800
21801 [BZ #22235]
21802 * math/math.h: Trivial fix for unbalanced parentheses in comment.
21803 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
21804 (CFLAGS-test-math-iscanonical.cc): New variable.
21805 * math/test-math-iscanonical.cc: New file.
21806 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
21807 Provide a C++ implementation based on function overloading,
21808 rather than using __MATH_TG, which uses C-only builtins.
21809 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
21810 Likewise.
21811 * sysdeps/powerpc/powerpc64le/Makefile
21812 (CFLAGS-test-math-iscanonical.cc): New variable.
21813
21814 2017-10-03 Joseph Myers <joseph@codesourcery.com>
21815
21816 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
21817 (ceil): Define using libm_alias_double.
21818 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
21819 (floor): Define using libm_alias_double.
21820 * sysdeps/ieee754/dbl-64/s_llround.c: Include
21821 <libm-alias-double.h>.
21822 (llround): Define using libm_alias_double.
21823 * sysdeps/ieee754/dbl-64/s_lround.c: Include
21824 <libm-alias-double.h>.
21825 (lround): Define using libm_alias_double.
21826 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
21827 <libm-alias-double.h>.
21828 (nearbyint): Define using libm_alias_double.
21829 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
21830 <libm-alias-double.h>.
21831 (remquo): Define using libm_alias_double.
21832 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
21833 (rint): Define using libm_alias_double.
21834 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
21835 (round): Define using libm_alias_double.
21836 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
21837 (trunc): Define using libm_alias_double.
21838 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
21839 <libm-alias-double.h>.
21840 (ceil): Define using libm_alias_double.
21841 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
21842 <libm-alias-double.h>.
21843 (floor): Define using libm_alias_double.
21844 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
21845 <libm-alias-double.h>.
21846 (llround): Define using libm_alias_double.
21847 [_LP64] (lround): Likewise.
21848 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
21849 <libm-alias-double.h>.
21850 [!_LP64] (lround): Define using libm_alias_double.
21851 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
21852 <libm-alias-double.h>.
21853 (nearbyint): Define using libm_alias_double.
21854 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
21855 <libm-alias-double.h>.
21856 (remquo): Define using libm_alias_double.
21857 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
21858 <libm-alias-double.h>.
21859 (rint): Define using libm_alias_double.
21860 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
21861 <libm-alias-double.h>.
21862 (round): Define using libm_alias_double.
21863 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
21864 <libm-alias-double.h>.
21865 (trunc): Define using libm_alias_double.
21866 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
21867 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
21868 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
21869 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
21870 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
21871 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
21872 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
21873 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
21874 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
21875
21876 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
21877
21878 * math/w_remainder.c: New file.
21879 * math/w_remainderf.c: New file.
21880 * math/w_remainderl.c: New file.
21881
21882 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
21883
21884 * elf/rtld.c (BOOTSTRAP_MAP): New.
21885 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
21886 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
21887 Likewise.
21888 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
21889 Likewise.
21890 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
21891 Likewise.
21892
21893 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
21894
21895 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
21896 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
21897 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
21898 rtld_hidden_data_ver): Define to empty.
21899 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
21900 __assert_perror_fail): Likewise.
21901 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
21902 (__rewinddir): Likewise.
21903 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
21904 (__profile_frequency): Likewise.
21905 * include/setjmp.h (__sigsetjmp): Likewise.
21906 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
21907 __libc_sigaction): Likewise.
21908 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
21909 not set hidden attribute.
21910 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
21911 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
21912 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
21913 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
21914 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
21915 __fxstatat64): Likewise.
21916 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
21917 (__uname): Likewise.
21918 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
21919 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
21920 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
21921 (NO_RTLD_HIDDEN): Set.
21922 * sysdeps/mach/hurd/configure: Refresh.
21923 * config.h.in: Refresh.
21924
21925 2017-10-02 Joseph Myers <joseph@codesourcery.com>
21926
21927 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
21928 (atan): Define using libm_alias_double.
21929 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
21930 (tan): Define using libm_alias_double.
21931 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
21932 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
21933
21934 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
21935 define as weak alias of __atan. Do not define any aliases if
21936 [__atan].
21937 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
21938 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
21939 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
21940 as weak alias of __tan. Do not define any aliases if [__tan].
21941 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
21942 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
21943 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
21944 __atan.
21945 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
21946 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
21947 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
21948 and define as weak alias of __atan.
21949 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
21950 __atan.
21951 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
21952 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
21953 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
21954 define as weak alias of __tan.
21955
21956 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
21957
21958 * math/w_lgamma.c: New file.
21959 * math/w_lgammaf.c: New file.
21960 * math/w_lgammal.c: New file.
21961
21962 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
21963
21964 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
21965 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
21966 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
21967 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
21968 * sysdeps/ieee754/flt-32/w_logf.c: New file.
21969 * sysdeps/ieee754/flt-32/w_powf.c: New file.
21970 * sysdeps/i386/fpu/w_log2f.c: New file.
21971 * sysdeps/i386/fpu/w_logf.c: New file.
21972 * sysdeps/i386/fpu/w_powf.c: New file.
21973 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
21974 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
21975 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
21976
21977 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
21978 H.J. Lu <hongjiu.lu@intel.com>
21979
21980 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
21981 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
21982 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
21983 * sysdeps/ieee754/flt-32/w_expf.c: New file.
21984 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
21985 the new expf code.
21986 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
21987 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
21988 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
21989 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
21990 * sysdeps/i386/fpu/w_exp2f.c: New file.
21991 * sysdeps/i386/fpu/w_expf.c: New file.
21992 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
21993 * sysdeps/x86_64/fpu/w_expf.c: New file.
21994
21995 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
21996
21997 * math/Versions (logf): New libm symbol at GLIBC_2.27.
21998 (log2f): Likewise.
21999 (powf): Likewise.
22000 * math/w_log2f.c: New file.
22001 * math/w_logf.c: New file.
22002 * math/w_powf.c: New file.
22003 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
22004 * math/w_logf_compat.c (__logf_compat): Likewise.
22005 * math/w_powf_compat.c (__powf_compat): Likewise.
22006 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
22007 * sysdeps/ia64/fpu/e_logf.S: Likewise.
22008 * sysdeps/ia64/fpu/e_powf.S: Likewise.
22009 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
22010 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22011 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22012 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22013 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22014 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22015 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22016 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22017 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22018 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22019 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22020 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22022 Likewise.
22023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22024 Likewise.
22025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22026 Likewise.
22027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22028 Likewise.
22029 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22030 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22031 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22032 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22033 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22035 Likewise.
22036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22037 Likewise.
22038 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22039 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22040 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22041
22042 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22043
22044 * sysdeps/powerpc/powerpc64/multiarch/Makefile
22045 (sysdep_routines): Add memrchr_power8.
22046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22047 (memrchr): Add __memrchr_power8 to list of memrchr functions.
22048 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
22049 New file.
22050 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
22051 (memrchr): Add __memrchr_power8 to ifunc list.
22052 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
22053
22054 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22055
22056 [BZ #18822]
22057 * sysdeps/unix/sysv/linux/posix_fadvise64.c
22058 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
22059 libc_hidden_def.
22060 * sysdeps/unix/sysv/linux/posix_fallocate64.c
22061 (__posix_fallocate64_l64): Likewise.
22062
22063 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22064
22065 [BZ #18822]
22066 * sysdeps/unix/sysv/linux/sched_setaffinity.c
22067 (__sched_setaffinity_new): Add libc_hidden_proto and
22068 libc_hidden_def.
22069
22070 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22071
22072 [BZ #18822]
22073 * include/glob.h (__glob64): Add libc_hidden_proto.
22074 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
22075 libc_hidden_def.
22076
22077 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22078
22079 [BZ #18822]
22080 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
22081 attribute_hidden.
22082
22083 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22084
22085 [BZ #18822]
22086 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
22087
22088 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22089
22090 [BZ #18822]
22091 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
22092 libc_hidden_def.
22093
22094 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22095
22096 [BZ #18822]
22097 * csu/version.c (__libc_print_version): Add attribute_hidden.
22098
22099 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22100
22101 [BZ #18822]
22102 * include/libc-internal.h (__init_misc): Add attribute_hidden.
22103
22104 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22105
22106 [BZ #18822]
22107 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
22108
22109 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22110
22111 [BZ #18822]
22112 * nscd/nscd_helper.c (__nis_hash): New prototype.
22113
22114 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22115
22116 [BZ #18822]
22117 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
22118 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
22119 libc_hidden_def.
22120 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22121 * termios/tcgetattr.c (__tcgetattr): Likewise.
22122
22123 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22124
22125 [BZ #18822]
22126 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
22127 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
22128 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
22129 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
22130 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
22131
22132 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22133
22134 [BZ #18822]
22135 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
22136
22137 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22138
22139 [BZ #18822]
22140 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
22141 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
22142
22143 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22144
22145 [BZ #18822]
22146 * intl/hash-string.h (__hash_string): Add attribute_hidden.
22147
22148 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22149
22150 [BZ #18822]
22151 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
22152 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
22153
22154 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22155
22156 [BZ #18822]
22157 * include/ifreq.h: New file.
22158 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
22159 (__ifreq): Likewise.
22160 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
22161 (__ifreq): Likewise.
22162
22163 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22164
22165 [BZ #18822]
22166 * include/idna.h: New file.
22167 * inet/getnameinfo.c: Include <idna.h> instead of
22168 <libidn/idna.h>.
22169 (__idna_to_unicode_lzlz): Removed.
22170 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
22171 <libidn/idna.h>.
22172 (__idna_to_ascii_lz): Removed.
22173 (__idna_to_unicode_lzlz): Likewise.
22174
22175 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22176
22177 [BZ #18822]
22178 * include/plural-exp.h: New file.
22179 * intl/plural-exp.c: Include <plural-exp.h> instead of
22180 "plural-exp.h".
22181
22182 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22183
22184 [BZ #18822]
22185 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
22186 "getsourcefilter.h".
22187 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
22188 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
22189 "getsourcefilter.h".
22190 (__get_sol): Removed.
22191
22192 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22193
22194 [BZ #18822]
22195 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
22196 to ...
22197 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
22198
22199 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22200
22201 [BZ #18822]
22202 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
22203 attribute_hidden.
22204
22205 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22206
22207 [BZ #18822]
22208 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
22209
22210 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22211
22212 [BZ #18822]
22213 * include/search.h (__tdestroy): Add libc_hidden_proto.
22214 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
22215
22216 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22217
22218 [BZ #18822]
22219 * include/assert.h (__assert_fail_base): Add attribute_hidden.
22220
22221 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22222
22223 [BZ #18822]
22224 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
22225 attribute_hidden.
22226
22227 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22228
22229 [BZ #18822]
22230 * include/signal.h (__kill): Add libc_hidden_proto.
22231 (__sigblock): Likewise.
22232 (__sigprocmask): Likewise.
22233 (__sigaltstack): Likewise.
22234 * signal/kill.c (__kill): Add libc_hidden_def.
22235 * signal/sigblock.c (__sigblock): Likewise.
22236 * signal/sigprocmask.c (__sigprocmask): Likewise.
22237 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
22238 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
22239 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
22240 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
22241 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
22242 Likewise.
22243 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
22244 Likewise.
22245 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
22246 (__sigprocmask): Likewise.
22247 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
22248 Likewise.
22249 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
22250 (__sigprocmask): Likewise.
22251 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
22252 Likewise.
22253
22254 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22255
22256 [BZ #18822]
22257 * include/string.h (__strsep): Add libc_hidden_proto.
22258 * string/strsep.c (__strsep): Add libc_hidden_def.
22259
22260 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22261
22262 [BZ #18822]
22263 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
22264 attribute_hidden.
22265 (__spawni): Likewise.
22266
22267 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22268
22269 [BZ #18822]
22270 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
22271 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
22272 libc_hidden_def.
22273
22274 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22275
22276 [BZ #18822]
22277 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
22278
22279 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22280
22281 [BZ #18822]
22282 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
22283 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
22284 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
22285 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
22286 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
22287 Likewise.
22288 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
22289 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
22290
22291 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22292
22293 [BZ #18822]
22294 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
22295 (__dcigettext): Likewise.
22296
22297 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22298
22299 [BZ #18822]
22300 * include/sys/sysinfo.h (__get_nprocs_conf): Add
22301 libc_hidden_proto.
22302 (__get_nprocs): Likewise.
22303 (__get_phys_pages): Likewise.
22304 (__get_avphys_pages): Likewise.
22305 (__get_child_max): Add attribute_hidden.
22306 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
22307 (__get_nprocs): Likewise.
22308 (__get_phys_pages): Likewise.
22309 (__get_avphys_pages): Likewise.
22310 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
22311 libc_hidden_def.
22312 (__get_nprocs): Likewise.
22313 (__get_phys_pages): Likewise.
22314 (__get_avphys_pages): Likewise.
22315 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
22316 libc_hidden_def.
22317 (__get_nprocs_conf): Likewise.
22318 (__get_phys_pages): Likewise.
22319 (__get_avphys_pages): Likewise.
22320
22321 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22322
22323 [BZ #18822]
22324 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
22325 attribute_hidden.
22326 (__netlink_close): Likewise.
22327 (__netlink_free_handle): Likewise.
22328 (__netlink_request): Likewise.
22329
22330 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22331
22332 [BZ #18822]
22333 * include/rpc/rpc.h (__rpc_thread_variables): Add
22334 attribute_hidden.
22335 (__rpc_thread_svc_cleanup): Likewise.
22336 (__rpc_thread_clnt_cleanup): Likewise.
22337 (__rpc_thread_key_cleanup): Likewise.
22338
22339 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22340
22341 [BZ #18822]
22342 * include/sys/uio.h (__readv): Add libc_hidden_proto.
22343 (__writev): Likewise.
22344 * misc/readv.c (__readv): Add libc_hidden_def.
22345 * misc/writev.c (__writev): Likewise.
22346 * sysdeps/posix/readv.c (__readv): Likewise.
22347 * sysdeps/posix/writev.c (__writev): Likewise.
22348 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
22349 (__readv): Likewise.
22350 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
22351 (__writev): Likewise.
22352
22353 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22354
22355 [BZ #18822]
22356 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
22357 (__regcomp): Add libc_hidden_proto.
22358 (__regexec): Likewise.
22359 (__regfree): Likewise.
22360 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
22361 (__regfree): Likewise.
22362 * posix/regexec.c (__regexec): Likewise.
22363
22364 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22365
22366 [BZ #18822]
22367 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
22368 (__getutent): Likewise.
22369 (__getutid): Likewise.
22370 (__getutline): Likewise.
22371 (__pututline): Likewise.
22372 (__getutent_r): Likewise.
22373 (__getutid_r): Likewise.
22374 (__getutline_r): Likewise.
22375 (__utmpname): Add attribute_hidden.
22376 (__setutent): Likewise.
22377 (__endutent): Likewise.
22378 * login/getutent.c (__getutent): Add libc_hidden_def.
22379 * login/getutent_r.c (__getutent_r): Likewise.
22380 (__pututline): Likewise.
22381 * login/getutid.c (__getutid): Likewise.
22382 * login/getutid_r.c (__getutid_r): Likewise.
22383 * login/getutline.c (__getutline): Likewise.
22384 * login/getutline_r.c (__getutline_r): Likewise.
22385 * login/updwtmp.c (__updwtmp): Likewise.
22386
22387 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22388
22389 [BZ #18822]
22390 * include/dirent.h (__opendir): Always add attribute_hidden.
22391 (__fdopendir): Likewise.
22392 (__closedir): Likewise.
22393 (__readdir): Likewise.
22394 (__readdir64): Add libc_hidden_proto.
22395 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
22396 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
22397 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
22398 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
22399 New alias.
22400
22401 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22402
22403 [BZ #18822]
22404 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
22405 * include/netdb.h (__gethostbyaddr_r): Likewise.
22406 (__gethostbyname_r): Likewise.
22407 (__gethostbyname2_r): Likewise.
22408 (__getnetbyaddr_r): Likewise.
22409 (__getnetbyname_r): Likewise.
22410 (__getservbyname_r): Likewise.
22411 (__getservbyport_r): Likewise.
22412 (__getprotobyname_r): Likewise.
22413 (__getprotobynumber_r): Likewise.
22414 (__getnetgrent_r): Likewise.
22415 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
22416 (__getrpcbynumber_r): Likewise.
22417 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
22418
22419 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22420
22421 [BZ #18822]
22422 * include/stdio.h (__fcloseall): Add attribute_hidden.
22423 (__getline): Likewise.
22424 (__path_search): Likewise.
22425 (__gen_tempname): Likewise.
22426 (__libc_message): Likewise.
22427 (__flockfile): Likewise.
22428 (__funlockfile): Likewise.
22429 (__fxprintf): Likewise.
22430 (__fxprintf_nocancel): Likewise.
22431
22432 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22433
22434 [BZ #18822]
22435 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
22436 (__sgetsgent_r): Likewise.
22437
22438 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22439
22440 [BZ #18822]
22441 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
22442 (__statfs64): Likewise.
22443 (__fstatfs64): Likewise.
22444 * include/sys/statvfs.h (__statvfs64): Likewise.
22445 (__fstatvfs64): Likewise.
22446 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
22447 (__statfs_filesize_max): Likewise.
22448 (__statfs_symlinks): Likewise.
22449 (__statfs_chown_restricted): Likewise.
22450
22451 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22452
22453 [BZ #18822]
22454 * include/time.h (__tzstring): Add attribute_hidden.
22455 (__tzfile_read): Likewise.
22456 (__tzfile_compute): Likewise.
22457 (__tzfile_default): Likewise.
22458 (__tzset_parse_tz): Likewise.
22459 (__offtime): Likewise.
22460 (__asctime_r): Likewise.
22461 (__tzset): Likewise.
22462 (__tz_convert): Likewise.
22463 (__getdate_r): Likewise.
22464 (__getclktck): Likewise.
22465
22466 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22467
22468 [BZ #18822]
22469 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
22470 (__nscd_unmap): Likewise.
22471 (__nscd_cache_search): Likewise.
22472 (__nscd_get_nl_timestamp): Likewise.
22473 (__nscd_getpwnam_r): Likewise.
22474 (__nscd_getpwuid_r): Likewise.
22475 (__nscd_getgrnam_r): Likewise.
22476 (__nscd_getgrgid_r): Likewise.
22477 (__nscd_gethostbyname_r): Likewise.
22478 (__nscd_gethostbyname2_r): Likewise.
22479 (__nscd_gethostbyaddr_r): Likewise.
22480 (__nscd_getai): Likewise.
22481 (__nscd_getgrouplist): Likewise.
22482 (__nscd_getservbyname_r): Likewise.
22483 (__nscd_getservbyport_r): Likewise.
22484 (__nscd_innetgr): Likewise.
22485 (__nscd_setnetgrent): Likewise.
22486
22487 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22488
22489 [BZ #18822]
22490 * include/gmp.h: Declare internal functions only if _ISOMAC is
22491 undefined.
22492 (__mpn_extract_double): Add attribute_hidden.
22493 (__mpn_extract_long_double): Likewise.
22494 (__mpn_extract_float128): Likewise.
22495 (__mpn_construct_float): Likewise.
22496 (__mpn_construct_double): Likewise.
22497 (__mpn_construct_long_double): Likewise.
22498 (__mpn_construct_float128): Likewise.
22499 (mpn_add_1): Likewise.
22500 (mpn_addmul_1): Likewise.
22501 (mpn_add_n): Likewise.
22502 (mpn_cmp): Likewise.
22503 (mpn_divrem): Likewise.
22504 (mpn_lshift): Likewise.
22505 (mpn_mul): Likewise.
22506 (mpn_mul_1): Likewise.
22507 (mpn_rshift): Likewise.
22508 (mpn_sub_1): Likewise.
22509 (mpn_submul_1): Likewise.
22510 (mpn_sub_n): Likewise.
22511
22512 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22513
22514 [BZ #18822]
22515 * include/wchar.h (__wcsnlen): Add attribute_hidden.
22516 (__wcscat): Likewise.
22517 (__btowc): Likewise.
22518 (__wcrtomb): Likewise.
22519 (__mbsrtowcs): Likewise.
22520 (__wcsrtombs): Likewise.
22521 (__mbsnrtowcs): Likewise.
22522 (__wcsnrtombs): Likewise.
22523 (__wcsncpy): Likewise.
22524 (__wcpncpy): Likewise.
22525 (__wmemcpy): Likewise.
22526 (__wmempcpy): Likewise.
22527 (__wmemmove): Likewise.
22528 (__wcschrnul): Likewise.
22529 (__vfwscanf): Likewise.
22530 (__vswprintf): Likewise.
22531 (__fwprintf): Likewise.
22532 (__vfwprintf): Likewise.
22533
22534 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22535
22536 [BZ #18822]
22537 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
22538 (__getgrgid_r): Likewise.
22539 (__getgrnam_r): Likewise.
22540 * include/pwd.h (__getpwuid_r): Likewise.
22541 (__getpwnam_r): Likewise.
22542 (__fgetpwent_r): Likewise.
22543 * include/shadow.h (__getspnam_r): Likewise.
22544 (__sgetspent_r): Likewise.
22545 (__fgetspent_r): Likewise.
22546
22547 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22548
22549 [BZ #18822]
22550 * include/unistd.h (__access): Add attribute_hidden.
22551 (__lseek64): Likewise.
22552 (__libc_pread64): Likewise.
22553 (__pipe2): Likewise.
22554 (__sleep): Likewise.
22555 (__chdir): Likewise.
22556 (__fchdir): Likewise.
22557 (__getcwd): Likewise.
22558 (__rmdir): Likewise.
22559 (__execvpe): Likewise.
22560 (__execve): Likewise.
22561 (__setsid): Likewise.
22562 (__getuid): Likewise.
22563 (__geteuid): Likewise.
22564 (__getgid): Likewise.
22565 (__getegid): Likewise.
22566 (__getgroups): Likewise.
22567 (__group_member): Likewise.
22568 (__ttyname_r): Likewise.
22569 (__isatty): Likewise.
22570 (__readlink): Likewise.
22571 (__unlink): Likewise.
22572 (__gethostname): Likewise.
22573 (__profil): Likewise.
22574 (__getdtablesize): Likewise.
22575 (__brk): Likewise.
22576 (__ftruncate): Likewise.
22577 (__ftruncate64): Likewise.
22578
22579 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22580
22581 [BZ #18822]
22582 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
22583 * argp/argp-fs-xinl.c: Likewise.
22584 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
22585 * argp/argp-parse.c: Include <argp.h>.
22586 * argp/argp-xinl.c: Likewise.
22587 * include/argp-fmtstream.h: New file.
22588 * include/argp.h (__argp_error): Add attribute_hidden.
22589 (__argp_failure): Likewise.
22590 (__argp_input): Likewise.
22591 (__argp_state_help): Likewise.
22592
22593 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22594
22595 [BZ #18822]
22596 * include/wchar.h (____wcstof_l_internal): New prototype.
22597 (____wcstod_l_internal): Likewise.
22598 (____wcstold_l_internal): Likewise.
22599 (____wcstol_l_internal): Likewise.
22600 (____wcstoul_l_internal): Likewise.
22601 (____wcstoll_l_internal): Likewise.
22602 (____wcstoull_l_internal): Likewise.
22603 (____wcstof128_l_internal): Likewise.
22604 * sysdeps/ieee754/float128/wcstof128.c
22605 (____wcstof128_l_internal): Removed.
22606 * sysdeps/ieee754/float128/wcstof128_l.c
22607 (____wcstof128_l_internal): Likewise.
22608 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
22609 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
22610 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
22611 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
22612 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
22613 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
22614 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
22615 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
22616 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
22617 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
22618
22619 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22620
22621 [BZ #18822]
22622 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
22623 instead of <sys/statvfs.h>.
22624 (__internal_statvfs): Removed.
22625 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
22626 instead of <sys/statvfs.h>.
22627 (__internal_statvfs64): Removed.
22628 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
22629 "internal_statvfs.h" instead of <sys/statvfs.h>.
22630 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
22631 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
22632 instead of <sys/statvfs.h>.
22633 (__internal_statvfs): Removed.
22634 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
22635 instead of <sys/statvfs.h>.
22636 (__internal_statvfs64): Removed.
22637
22638 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22639
22640 [BZ #18822]
22641 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
22642 (__gconv_close): Likewise.
22643 (__gconv): Likewise.
22644 (__gconv_find_transform): Likewise.
22645 (__gconv_lookup_cache): Likewise.
22646 (__gconv_compare_alias_cache): Likewise.
22647 (__gconv_load_cache): Likewise.
22648 (__gconv_get_path): Likewise.
22649 (__gconv_close_transform): Likewise.
22650 (__gconv_release_cache): Likewise.
22651 (__gconv_find_shlib): Likewise.
22652 (__gconv_release_shlib): Likewise.
22653 (__gconv_get_builtin_trans): Likewise.
22654 (__gconv_compare_alias): Likewise.
22655 * include/dlfcn.h (_dlerror_run): Likewise.
22656 * include/stdio.h (__fortify_fail_abort): Likewise.
22657 * include/time.h (__tz_compute): Likewise.
22658 (__strptime_internal): Likewise.
22659 * intl/gettextP.h (_nl_find_domain): Likewise.
22660 (_nl_load_domain): Likewise.
22661 (_nl_find_msg): Likewise.
22662 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
22663 (EXTRACT_PLURAL_EXPRESSION): Likewise.
22664 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
22665 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
22666 (__gai_find_request): Likewise.
22667 (__gai_remove_request): Likewise.
22668 (__gai_notify): Likewise.
22669 (__gai_notify_only): Likewise.
22670 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
22671 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
22672 (_dl_non_dynamic_init): Likewise.
22673 (_dl_aux_init): Likewise.
22674 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
22675 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
22676 Likewise.
22677 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
22678 (__wcsmbs_clone_conv): Likewise.
22679 (__wcsmbs_named_conv): Likewise.
22680
22681 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22682
22683 [BZ #18822]
22684 * include/stdlib.h (__random): Add attribute_hidden.
22685 (__random_r): Likewise.
22686 (__srandom_r): Likewise.
22687 (__initstate_r): Likewise.
22688 (__setstate_r): Likewise.
22689 (__erand48_r): Likewise.
22690 (__nrand48_r): Likewise.
22691 (__jrand48_r): Likewise.
22692 (__srand48_r): Likewise.
22693 (__seed48_r): Likewise.
22694 (__lcong48_r): Likewise.
22695 (__drand48_iterate): Likewise.
22696 (__setenv): Likewise.
22697 (__unsetenv): Likewise.
22698 (__clearenv): Likewise.
22699 (__ptsname_r): Likewise.
22700 (__posix_openpt): Likewise.
22701 (__add_to_environ): Likewise.
22702 (__realpath): Add libc_hidden_proto.
22703 (__ecvt_r): Likewise.
22704 (__fcvt_r): Likewise.
22705 (__qecvt_r): Likewise.
22706 (__qfcvt_r): Likewise.
22707 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
22708 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
22709
22710 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22711
22712 [BZ #18822]
22713 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
22714 * include/time.h (__mktime_internal): Likewise.
22715 * libio/iolibio.h (__fopen_internal): Likewise.
22716
22717 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
22718
22719 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
22720 pointer in frame.
22721 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
22722 Correct offset used to restore PIC register.
22723
22724 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
22725
22726 [BZ libc/22165]
22727 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
22728 code to load address of __getcontext_ret when generating PIC code.
22729
22730 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
22731
22732 * elf/Makefile (tests-static-internal): Add
22733 tst-tls1-static-non-pie.
22734 (LDFLAGS-tst-tls1-static-non-pie): New.
22735 * elf/tst-tls1-static-non-pie.c: New file.
22736
22737 2017-09-29 Joseph Myers <joseph@codesourcery.com>
22738
22739 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
22740 (asinh): Define using libm_alias_double.
22741 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
22742 (cbrt): Define using libm_alias_double.
22743 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
22744 <libm-alias-double.h>.
22745 (copysign): Define using libm_alias_double.
22746 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
22747 (erf): Define using libm_alias_double.
22748 (erfc): Likewise.
22749 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
22750 (expm1): Define using libm_alias_double.
22751 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
22752 (fabs): Define using libm_alias_double.
22753 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
22754 libm_alias_double.
22755 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
22756 <libm-alias-double.h>.
22757 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
22758 libm_alias_double.
22759 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
22760 <libm-alias-double.h>.
22761 (getpayload): Define using libm_alias_double.
22762 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
22763 <libm-alias-double.h>.
22764 (llrint): Define using libm_alias_double.
22765 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
22766 (lrint): Define using libm_alias_double.
22767 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
22768 <libm-alias-double.h>.
22769 (nextup): Define using libm_alias_double.
22770 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
22771 <libm-alias-double.h>.
22772 (roundeven): Define using libm_alias_double.
22773 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
22774 libm_alias_double.
22775 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
22776 <libm-alias-double.h>.
22777 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
22778 using libm_alias_double.
22779 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
22780 (cos): Define using libm_alias_double.
22781 (sin): Likewise.
22782 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
22783 <libm-alias-double.h>.
22784 (sincos): Define using libm_alias_double.
22785 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
22786 (tanh): Define using libm_alias_double.
22787 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
22788 <libm-alias-double.h>.
22789 (totalorder): Define using libm_alias_double.
22790 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
22791 <libm-alias-double.h>.
22792 (totalordermag): Define using libm_alias_double.
22793 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
22794 libm_alias_double.
22795 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
22796 libm_alias_double.
22797 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
22798 <libm-alias-double.h>.
22799 (getpayload): Define using libm_alias_double.
22800 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
22801 <libm-alias-double.h>.
22802 (roundeven): Define using libm_alias_double.
22803 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
22804 <libm-alias-double.h>.
22805 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
22806 <libm-alias-double.h>.
22807 (totalorder): Define using libm_alias_double.
22808 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
22809 <libm-alias-double.h>.
22810 (totalordermag): Define using libm_alias_double.
22811 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
22812 libc compat symbol here.
22813 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
22814 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
22815 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
22816 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
22817 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
22818 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
22819 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
22820 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
22821 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
22822 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
22823
22824 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
22825
22826 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
22827 _dl_relocate_static_pie instead of _dl_start to compute load
22828 address in static PIE. Return 0 if _DYNAMIC is undefined for
22829 static executable.
22830
22831 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
22832
22833 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
22834 _DYNAMIC is undefined for static executable.
22835
22836 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
22837
22838 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
22839
22840 2017-09-29 Joseph Myers <joseph@codesourcery.com>
22841
22842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22843
22844 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
22845
22846 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
22847 (__ieee754_lgamma_r): Use fabs rather than __fabs.
22848 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22849 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22850 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
22851 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
22852 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
22853 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
22854 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
22855 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
22856 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
22857 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
22858 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
22859 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
22860 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22861 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22862 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
22863
22864 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
22865
22866 * math/bits/cmathcalls.h (cimag): Remove inline.
22867 (creal): Remove inline.
22868 (conj): Remove inline.
22869
22870 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
22871
22872 * math/Makefile (type-float-routines): Add e_powf_log2_data.
22873 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
22874 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
22875 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
22876 (issignalingf_inline): Likewise.
22877 (POWF_LOG2_TABLE_BITS): Likewise.
22878 (POWF_LOG2_POLY_ORDER): Likewise.
22879 (POWF_SCALE_BITS): Likewise.
22880 (POWF_SCALE): Likewise.
22881 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
22882 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
22883 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
22884
22885 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
22886
22887 * math/Makefile (type-float-routines): Add e_log2f_data.
22888 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
22889 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
22890 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
22891 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
22892 * sysdeps/i386/fpu/e_log2f_data.c: New file.
22893 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
22894 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
22895
22896 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
22897
22898 * math/Makefile (type-float-routines): Add e_logf_data.
22899 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
22900 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
22901 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
22902 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
22903 * sysdeps/i386/fpu/e_logf_data.c: New file.
22904 * sysdeps/ia64/fpu/e_logf_data.c: New file.
22905 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
22906
22907 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
22908
22909 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
22910 undefined _DYNAMIC in PIE libc.a.
22911 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
22912 Likewse.
22913
22914 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
22915
22916 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
22917 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
22918 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
22919 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
22920 (__signbit): Remove.
22921 (__signbitl): Remove.
22922 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
22923 (__signbit): Remove.
22924 (__signbitl): Remove.
22925 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
22926 (__signbit): Remove.
22927 (__signbitl): Remove.
22928 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
22929 (__signbit): Remove.
22930 (__signbitl): Remove.
22931 * sysdeps/tile/bits/mathinline.h: Delete file.
22932 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
22933 (__signbit): Remove.
22934 (__signbitl): Remove.
22935
22936 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
22937
22938 * math/math.h: Improve handling of C99 isgreater macros.
22939 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
22940 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
22941 * sysdeps/powerpc/bits/mathinline.h: Likewise.
22942 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22943 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
22944
22945 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
22946
22947 * sysdeps/aarch64/libm-test-ulps: Update.
22948
22949 2017-09-28 Joseph Myers <joseph@codesourcery.com>
22950
22951 [BZ #22225]
22952 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22953 math_opt_barrier on argument when doing arithmetic on it.
22954 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22955 Likewise. Use math_force_eval not math_opt_barrier after
22956 arithmetic.
22957 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
22958 math_opt_barrier on argument when doing arithmetic on it.
22959 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22960 Likewise.
22961
22962 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
22963
22964 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
22965 libc_hidden_def.
22966 (__freeifaddrs): Likewise.
22967
22968 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22969
22970 * include/dirent.h (__dirfd): New declaration.
22971 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
22972 alias.
22973 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
22974 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
22975 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
22976 * include/unistd.h (__revoke): New declaration.
22977 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
22978 alias.
22979 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
22980 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
22981 revoke.
22982 * include/dirent.h (__seekdir): New declaration.
22983 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
22984 redefine as weak alias.
22985 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
22986 of seekdir.
22987 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
22988 and use libc_hidden_def on them.
22989 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
22990 them.
22991 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
22992 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
22993 instead of getifaddrs and freeifaddrs.
22994
22995 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
22996
22997 [BZ #18822]
22998 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
22999 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
23000 (__dso_handle): Remove declaration.
23001 * dlfcn/tstatexit.c (__dso_handle): Removed.
23002 (main): Don't check __dso_handle.
23003 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
23004 (main): Don't check __dso_handle.
23005 * include/dso_handle.h: New file.
23006 * malloc/mtrace.c: Include <dso_handle.h>.
23007 (mtrace): Pass __dso_handle directly.
23008 * nptl/pthread_atfork.c: Include <dso_handle.h>.
23009 (__dso_handle): Remove declaration.
23010 (__pthread_atfork): Pass __dso_handle directly.
23011 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
23012 (__dso_handle): Removed.
23013 * posix/wordexp-test.c: Include <dso_handle.h>.
23014 (__dso_handle): Remove declaration.
23015 (__app_register_atfork): Pass __dso_handle directly.
23016 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
23017 (__dso_handle): Remove declaration.
23018 (at_quick_exit): Pass __dso_handle directly.
23019 * stdlib/atexit.c: Include <dso_handle.h>.
23020 (__dso_handle): Remove declaration.
23021 (atexit): Pass __dso_handle directly.
23022 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
23023 (__dso_handle): Removed.
23024
23025 2017-09-26 Joseph Myers <joseph@codesourcery.com>
23026
23027 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
23028 using VDSO.
23029
23030 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
23031
23032 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
23033 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
23034 values to correct default value for given type.
23035
23036 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
23037
23038 [BZ #22101]
23039 * elf/Makefile (tests): Add tst-debug1.
23040 ($(objpfx)tst-debug1): New.
23041 ($(objpfx)tst-debug1.out): Likewise.
23042 ($(objpfx)tst-debug1mod1.so): Likewise.
23043 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
23044 with p_filesz == 0.
23045 * elf/tst-debug1.c: New file.
23046
23047 2017-09-26 Joseph Myers <joseph@codesourcery.com>
23048
23049 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
23050 Define using __ifunc.
23051
23052 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23053
23054 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
23055 exp2f() values.
23056
23057 2017-09-26 Joseph Myers <joseph@codesourcery.com>
23058
23059 [BZ #22156]
23060 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
23061
23062 2017-09-26 Florian Weimer <fweimer@redhat.com>
23063
23064 * resolv/Makefile (tests-internal): Fix typo in comment.
23065
23066 2017-09-26 Florian Weimer <fweimer@redhat.com>
23067
23068 * resolv/nss_dns/dns-host.c: Fix typo in comment.
23069
23070 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23071
23072 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
23073 Use an union instead of a max_align_t array for __space,
23074 so that __space is the same size on all platforms.
23075 * malloc/scratch_buffer_grow_preserve.c
23076 (__libc_scratch_buffer_grow_preserve): Likewise.
23077
23078 [BZ #22183]
23079 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
23080 version to 2.
23081 * posix/Makefile (routines): Add glob-lstat-compat and
23082 glob64-lstat-compat.
23083 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
23084 * posix/glob-lstat-compat.c: New file.
23085 * posix/glob64-lstat-compat.c: Likewise.
23086 * posix/tst-glob_lstat_compat.c: Likewise.
23087 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
23088 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
23089 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
23090 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
23091 Likewise.
23092 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
23093 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
23094 * posix/glob.c (glob_lstat): New function.
23095 (glob): Rename to __glob and add versioned symbol to 2.27.
23096 (glob_in_dir): Use glob_lstat.
23097 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
23098 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23099 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
23100 2.27.
23101 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
23102 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
23103 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
23104 gl_lstat on glob call.
23105 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
23106 and glob64 symbols.
23107 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23108 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23109 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23110 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23111 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23112 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23113 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23114 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23115 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
23116 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23117 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23118 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23120 Likewise.
23121 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
23122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
23123 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23124 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23125 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23126 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23127 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
23129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
23130 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23131 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23132 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23133
23134 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
23135
23136 * configure.ac (AS): Require binutils 2.25 or later.
23137 * configure: Regenerated.
23138
23139 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23140
23141 [BZ #22207]
23142 * stdlib/test-atexit-race-common.c (do_test): Minimize required
23143 VM size.
23144
23145 2017-09-25 DJ Delorie <dj@redhat.com>
23146
23147 [BZ #22161]
23148 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
23149 resetting timeout.
23150
23151 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
23152
23153 * sysdeps/ieee754/dbl-64/sincos32.h
23154 [SINCCOS32_H]: Remove define.
23155 [SINCOS32_H]: Define.
23156
23157 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
23158
23159 * math/Versions (expf): New libm symbol at GLIBC_2.27.
23160 (exp2f): Likewise.
23161 * math/w_exp2f.c: New file.
23162 * math/w_expf.c: New file.
23163 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
23164 * math/w_expf_compat.c (__expf_compat): Likewise.
23165 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
23166 * sysdeps/ia64/fpu/e_expf.S: Likewise.
23167 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
23168 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23169 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23170 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23171 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23172 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23173 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23174 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23175 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23176 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23177 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23178 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23180 Likewise.
23181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23182 Likewise.
23183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23184 Likewise.
23185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23186 Likewise.
23187 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23188 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23189 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23190 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23191 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23192 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23193 Likewise.
23194 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23195 Likewise.
23196 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23197 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23198 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23199
23200 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
23201
23202 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
23203 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
23204 (roundtoint, converttoint): Likewise.
23205 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
23206 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
23207 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
23208 * sysdeps/ieee754/flt-32/math_config.h: New file.
23209 * sysdeps/ieee754/flt-32/math_errf.c: New file.
23210 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
23211 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
23212 * sysdeps/i386/fpu/math_errf.c: New file.
23213 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
23214 * sysdeps/ia64/fpu/math_errf.c: New file.
23215 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
23216 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
23217
23218 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
23219
23220 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
23221 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
23222 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
23223 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
23224 to make sure that these symbols are defined.
23225 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
23226 of <limits.h>
23227 (__need_NULL): Do not define.
23228 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
23229 alignment.
23230 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
23231 CMGROUP_MAX, cmsgcred): Do not define.
23232 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
23233 NULL.
23234 * bits/socket.h: Likewise.
23235 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
23236 __gettimeofday instead of gettimeofday.
23237 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
23238 instead of settimeofday.
23239
23240 2017-09-22 Joseph Myers <joseph@codesourcery.com>
23241
23242 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
23243 (asinhf): Define using libm_alias_float.
23244 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
23245 (atanf): Define using libm_alias_float.
23246 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
23247 (cbrtf): Define using libm_alias_float.
23248 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
23249 (ceilf): Define using libm_alias_float.
23250 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
23251 <libm-alias-float.h>.
23252 (copysignf): Define using libm_alias_float.
23253 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
23254 (cosf): Define using libm_alias_float.
23255 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
23256 (erff): Define using libm_alias_float.
23257 (erfcf): Likewise.
23258 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
23259 (expm1f): Define using libm_alias_float.
23260 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
23261 (fabsf): Define using libm_alias_float.
23262 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
23263 (floorf): Define using libm_alias_float.
23264 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
23265 (frexpf): Define using libm_alias_float.
23266 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
23267 libm_alias_float.
23268 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
23269 <libm-alias-float.h>.
23270 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
23271 libm_alias_float.
23272 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
23273 <libm-alias-float.h>.
23274 (getpayloadf): Define using libm_alias_float.
23275 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
23276 <libm-alias-float.h>.
23277 (llrintf): Define using libm_alias_float.
23278 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
23279 <libm-alias-float.h>.
23280 (llroundf): Define using libm_alias_float.
23281 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
23282 (logbf): Define using libm_alias_float.
23283 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
23284 (lrintf): Define using libm_alias_float.
23285 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
23286 (lroundf): Define using libm_alias_float.
23287 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
23288 (modff): Define using libm_alias_float.
23289 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
23290 <libm-alias-float.h>.
23291 (nearbyintf): Define using libm_alias_float.
23292 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
23293 <libm-alias-float.h>.
23294 (nextafterf): Define using libm_alias_float.
23295 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
23296 <libm-alias-float.h>.
23297 (nextupf): Define using libm_alias_float.
23298 * sysdeps/ieee754/flt-32/s_remquof.c: Include
23299 <libm-alias-float.h>.
23300 (remquof): Define using libm_alias_float.
23301 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
23302 (rintf): Define using libm_alias_float.
23303 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
23304 <libm-alias-float.h>.
23305 (roundevenf): Define using libm_alias_float.
23306 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
23307 (roundf): Define using libm_alias_float.
23308 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
23309 using libm_alias_float.
23310 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
23311 <libm-alias-float.h>.
23312 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
23313 Define using libm_alias_float.
23314 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
23315 <libm-alias-float.h>.
23316 (sincosf): Define using libm_alias_float.
23317 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
23318 (sinf): Define using libm_alias_float.
23319 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
23320 (tanf): Define using libm_alias_float.
23321 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
23322 (tanhf): Define using libm_alias_float.
23323 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
23324 <libm-alias-float.h>.
23325 (totalorderf): Define using libm_alias_float.
23326 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
23327 <libm-alias-float.h>.
23328 (totalordermagf): Define using libm_alias_float.
23329 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
23330 (truncf): Define using libm_alias_float.
23331 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
23332 libm_alias_float.
23333 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
23334 libm_alias_float.
23335
23336 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23337
23338 [BZ #22146]
23339 math/math.h: Let fpclassify use the builtin in C++ mode, even
23340 when optimazing for size.
23341
23342 2017-09-22 Joseph Myers <joseph@codesourcery.com>
23343
23344 * csu/Makefile (generated): Do not add version-info.h.
23345 (before-compile): Likewise.
23346 (all-Banner-files): Remove variable.
23347 ($(objpfx)version-info.h): Remove rule.
23348 * csu/version.c (banner): Do not include "version-info.h".
23349 * libidn/Banner: Remove.
23350 * manual/contrib.texi (Simon Josefsson): New entry.
23351
23352 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23353
23354 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23355 Remove conditionals on LDBL_MANT_DIG.
23356 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
23357 (__ieee754_lgammal_r): Likewise.
23358
23359 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23360
23361 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
23362 _Float128 and L().
23363 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
23364 _Float128 and L(). Replace _Float128 with long double and L(x)
23365 with xL, throughout the file.
23366 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
23367 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
23368 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
23369 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
23370
23371 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23372
23373 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
23374 sysdeps/ieee754/ldbl-128ibm.
23375 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
23376 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
23377 of including it. Keep _Float128 and L() intact. These will be
23378 reviewed by a separate patch.
23379 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
23380 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
23381 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
23382 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
23383
23384 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23385
23386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
23387 (__finitef128): Define to __redirect___finitef128.
23388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
23389 (__isinff128): Define to __redirect___isinff128.
23390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
23391 (__isnanf128): Define to __redirect___isnanf128.
23392
23393 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23394
23395 * sysdeps/powerpc/powerpc64le/Makefile
23396 (CFLAGS-tst-strtod-nan-locale.c): New variable.
23397 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
23398
23399 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
23400 Carlos O'Donell <carlos@redhat.com>
23401
23402 [BZ #22180]
23403 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
23404 * stdlib/test-dlclose-exit-race.c: New file.
23405 * stdlib/test-dlclose-exit-race-helper.c: New file.
23406 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
23407
23408 2017-09-21 Joseph Myers <joseph@codesourcery.com>
23409
23410 * crypt/Banner: Remove file.
23411 * nptl/Banner: Likewise.
23412 * resolv/Banner: Likewise.
23413 * soft-fp/Banner: Likewise.
23414 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
23415 ($(objpfx)version.d): Remove dependency on banner.h.
23416 ($(objpfx)version.os): Likewise.
23417 * nptl/version.c (banner): Do not include banner.h.
23418 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
23419 Jelinek and BIND code.
23420
23421 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
23422 Carlos O'Donell <carlos@redhat.com>
23423
23424 * support/xdlfcn.h: New file.
23425 * support/xdlfcn.c: New file.
23426 * support/Makefile (libsupport-routines): Add xdlfcn.
23427 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
23428
23429 2017-09-20 Joseph Myers <joseph@codesourcery.com>
23430
23431 [BZ #20142]
23432 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23433 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
23434 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
23435 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
23436 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
23437 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
23438 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
23439 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
23440
23441 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
23442 Ricky Zhou <rickyz@google.com>
23443 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
23444
23445 [BZ #14333]
23446 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
23447 Remove atomics.
23448 (__new_exitfn): Fail registration when we finished at_exit processing.
23449 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23450 * stdlib/on_exit.c (__on_exit): Likewise.
23451 * stdlib/exit.c (__exit_funcs_done): New variable.
23452 (__run_exit_handlers): Use __exit_funcs_lock.
23453 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
23454 declarations.
23455 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
23456 (test-cxa_atexit-race, test-on_exit-race): New tests.
23457 * stdlib/test-atexit-race-common.c: New file.
23458 * stdlib/test-atexit-race.c: New file.
23459 * stdlib/test-at_quick_exit-race.c: New file.
23460 * stdlib/test-cxa_atexit-race.c: New file.
23461 * stdlib/test-on_exit-race.c: New file.
23462
23463 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23464
23465 * benchtests/Makefile: Add exp2f and log2f benchmarks.
23466 * benchtests/exp2f-inputs: Copy of expf-inputs.
23467 * benchtests/log2f-inputs: Copy of logf-inputs.
23468
23469 2017-09-19 Joseph Myers <joseph@codesourcery.com>
23470
23471 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
23472 Explicitly take address of first element of array arguments in
23473 call to INLINE_SYSCALL.
23474
23475 2017-09-19 Andreas Schwab <schwab@suse.de>
23476
23477 [BZ #22134]
23478 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
23479 execveat first.
23480 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
23481 unimplemented.
23482 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
23483 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
23484 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23485 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
23486 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23487 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
23488 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23489 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
23490 * posix/Makefile (tests): Add tst-fexecve.
23491 * posix/tst-fexecve.c: New file.
23492
23493 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
23494
23495 * benchtests/Makefile: Add logf benchmark.
23496 * benchtests/logf-inputs: Add reduced trace from wrf_r.
23497
23498 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
23499
23500 * benchtests/Makefile: Add expf benchmark.
23501 * benchtests/expf-inputs: Add reduced trace from wrf_r.
23502
23503 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
23504
23505 * csu/Makefile: Add -funwind-tables to libc-start.c.
23506 * debug/Makefile: Add -funwind-tables to backtrace.c.
23507 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
23508 * sysdeps/arm/Makefile: Likewise.
23509 * sysdeps/i386/Makefile: Likewise.
23510 * sysdeps/m68k/Makefile: Likewise.
23511 * sysdeps/mips/Makefile: Likewise.
23512 * sysdeps/nios2/Makefile: Likewise.
23513 * sysdeps/sh/Makefile: Likewise.
23514 * sysdeps/sparc/Makefile: Likewise.
23515
23516 2017-09-19 Joseph Myers <joseph@codesourcery.com>
23517
23518 * benchtests/Makefile (bench-math): Add trunc and truncf.
23519 (CFLAGS-bench-trunc.c): New variable.
23520 (CFLAGS-bench-truncf.c): Likewise.
23521 * benchtests/trunc-inputs: New file.
23522 * benchtests/truncf-inputs: Likewise.
23523
23524 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23525
23526 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
23527
23528 2017-09-18 Joseph Myers <joseph@codesourcery.com>
23529
23530 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
23531 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
23532 redefine.
23533 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
23534 (exp10l): Define as weak alias.
23535 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
23536 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
23537 and redefine.
23538 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
23539 (remainderl): Define as weak alias.
23540
23541 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
23542 (fmal): Define using libm_alias_ldouble.
23543 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
23544 (acoshl): Define using libm_alias_ldouble.
23545 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
23546 (acosl): Define using libm_alias_ldouble.
23547 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
23548 (asinl): Define using libm_alias_ldouble.
23549 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
23550 (atan2l): Define using libm_alias_ldouble.
23551 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
23552 (atanhl): Define using libm_alias_ldouble.
23553 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
23554 (coshl): Define using libm_alias_ldouble.
23555 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
23556 (exp10l): Define using libm_alias_ldouble.
23557 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
23558 (exp2l): Define using libm_alias_ldouble.
23559 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
23560 (expl): Define using libm_alias_ldouble.
23561 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
23562 (fmodl): Define using libm_alias_ldouble.
23563 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
23564 (hypotl): Define using libm_alias_ldouble.
23565 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
23566 (j0l): Define using libm_alias_ldouble.
23567 (y0l): Likewise.
23568 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
23569 (j1l): Define using libm_alias_ldouble.
23570 (y1l): Likewise.
23571 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
23572 (jnl): Define using libm_alias_ldouble.
23573 (ynl): Likewise.
23574 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
23575 (log10l): Define using libm_alias_ldouble.
23576 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
23577 (log2l): Define using libm_alias_ldouble.
23578 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
23579 (logl): Define using libm_alias_ldouble.
23580 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
23581 (powl): Define using libm_alias_ldouble.
23582 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
23583 (remainderl): Define using libm_alias_ldouble.
23584 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
23585 (sinhl): Define using libm_alias_ldouble.
23586 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
23587 (sqrtl): Define using libm_alias_ldouble.
23588 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
23589 (tgammal): Define using libm_alias_ldouble.
23590 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
23591 (exp10l): Do not use long_double_symbol here.
23592 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
23593 [LIBM_SVID_COMPAT] (remainderl): Likewise.
23594 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
23595 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
23596 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
23597 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
23598 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
23599 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
23600 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
23601 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
23602 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
23603 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
23604 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
23605 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
23606 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
23607 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
23608 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
23609 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
23610 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
23611 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
23612 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
23613 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
23614
23615 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
23616
23617 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
23618 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
23619
23620 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
23621
23622 * io/read.c (read): Add libc_hidden_weak.
23623 * sysdeps/mach/hurd/read.c (read): Likewise.
23624 * io/write.c (write): Likewise.
23625 * sysdeps/mach/hurd/write.c (write): Likewise.
23626 * io/pread64.c (__pread64): Likewise.
23627 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
23628 * posix/pread64.c (__pread64): Add libc_hidden_def.
23629
23630 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23631
23632 * benchtests/scripts/compare_strings.py: New option -g.
23633 (draw_graph): Print a message that a graph is being generated.
23634 (process_results): Generate graph only if -g is passed.
23635 (main): Process option -g.
23636
23637 * benchtests/scripts/compare_strings.py (process_results):
23638 Better spacing for output.
23639
23640 * benchtests/scripts/compare_strings.py: Use argparse.
23641 * benchtests/README: Document existence of compare_strings.py.
23642
23643 2017-09-15 Joseph Myers <joseph@codesourcery.com>
23644
23645 * math/s_fma.c: Include <libm-alias-double.h>.
23646 (fma): Define using libm_alias_double.
23647 * math/s_nextafter.c: Include <libm-alias-double.h>.
23648 (nextafter): Define using libm_alias_double.
23649 * math/w_acos_compat.c: Include <libm-alias-double.h>.
23650 (acos): Define using libm_alias_double.
23651 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
23652 (aocsh): Define using libm_alias_double.
23653 * math/w_asin_compat.c: Include <libm-alias-double.h>.
23654 (asin): Define using libm_alias_double.
23655 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
23656 (atan2): Define using libm_alias_double.
23657 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
23658 (atanh): Define using libm_alias_double.
23659 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
23660 (cosh): Define using libm_alias_double.
23661 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
23662 (exp10): Define using libm_alias_double.
23663 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
23664 (exp2): Define using libm_alias_double.
23665 * math/w_exp_compat.c: Include <libm-alias-double.h>.
23666 (exp): Define using libm_alias_double.
23667 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
23668 (fmod): Define using libm_alias_double.
23669 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
23670 (hypot): Define using libm_alias_double.
23671 * math/w_j0_compat.c: Include <libm-alias-double.h>.
23672 (j0): Define using libm_alias_double.
23673 (y0): Likewise.
23674 * math/w_j1_compat.c: Include <libm-alias-double.h>.
23675 (j1): Define using libm_alias_double.
23676 (y1): Likewise.
23677 * math/w_jn_compat.c: Include <libm-alias-double.h>.
23678 (jn): Define using libm_alias_double.
23679 (yn): Likewise.
23680 * math/w_log10_compat.c: Include <libm-alias-double.h>.
23681 (log10): Define using libm_alias_double.
23682 * math/w_log2_compat.c: Include <libm-alias-double.h>.
23683 (log2): Define using libm_alias_double.
23684 * math/w_log_compat.c: Include <libm-alias-double.h>.
23685 (log): Define using libm_alias_double.
23686 * math/w_pow_compat.c: Include <libm-alias-double.h>.
23687 (pow): Define using libm_alias_double.
23688 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
23689 (remainder): Define using libm_alias_double.
23690 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
23691 (sinh): Define using libm_alias_double.
23692 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
23693 (sqrt): Define using libm_alias_double.
23694 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
23695 (tgamma): Define using libm_alias_double.
23696 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
23697 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
23698 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
23699 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
23700 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
23701 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
23702 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
23703 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
23704 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
23705 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
23706 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
23707 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
23708 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
23709 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
23710 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
23711 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
23712 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
23713 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
23714 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
23715 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
23716 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
23717 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
23718 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
23719 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
23720 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
23721
23722 * math/e_acoshl.c: Remove.
23723 * math/e_acosl.c: Likewise.
23724 * math/e_asinl.c: Likewise.
23725 * math/e_atan2l.c: Likewise.
23726 * math/e_atanhl.c: Likewise.
23727 * math/e_coshl.c: Likewise.
23728 * math/e_expl.c: Likewise.
23729 * math/e_fmodl.c: Likewise.
23730 * math/e_gammal_r.c: Likewise.
23731 * math/e_hypotl.c: Likewise.
23732 * math/e_j0l.c: Likewise.
23733 * math/e_j1l.c: Likewise.
23734 * math/e_jnl.c: Likewise.
23735 * math/e_lgammal_r.c: Likewise.
23736 * math/e_log10l.c: Likewise.
23737 * math/e_log2l.c: Likewise.
23738 * math/e_logl.c: Likewise.
23739 * math/e_powl.c: Likewise.
23740 * math/e_rem_pio2l.c: Likewise.
23741 * math/e_sinhl.c: Likewise.
23742 * math/e_sqrtf128.c: Likewise.
23743 * math/e_sqrtl.c: Likewise.
23744 * math/k_cosl.c: Likewise.
23745 * math/k_sinl.c: Likewise.
23746 * math/k_tanl.c: Likewise.
23747 * math/s_asinhl.c: Likewise.
23748 * math/s_atanl.c: Likewise.
23749 * math/s_cbrtl.c: Likewise.
23750 * math/s_erfl.c: Likewise.
23751 * math/s_expm1l.c: Likewise.
23752 * math/s_log1pl.c: Likewise.
23753 * math/s_tanhl.c: Likewise.
23754
23755 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23756
23757 [BZ #21745]
23758 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
23759 [$(subdir) = math] (sysdep_calls): New variable. Has the
23760 previous contents of sysdep_routines, but re-sorted..
23761 [$(subdir) = math] (sysdep_routines): Re-use the contents from
23762 sysdep_calls.
23763 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
23764 defined in sysdep_calls and replace by the respective m_* names.
23765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
23766 (compat_symbol): Undefine to avoid duplicated compat symbols in
23767 libc.
23768
23769 2017-09-15 Joseph Myers <joseph@codesourcery.com>
23770
23771 * math/s_fmaf.c: Include <libm-alias-float.h>.
23772 (fmaf): Define using libm_alias_float.
23773 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
23774 (acosf): Define using libm_alias_float.
23775 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
23776 (acoshf): Define using libm_alias_float.
23777 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
23778 (asinf): Define using libm_alias_float.
23779 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
23780 (atan2f): Define using libm_alias_float.
23781 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
23782 (atanhf): Define using libm_alias_float.
23783 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
23784 (coshf): Define using libm_alias_float.
23785 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
23786 (exp10f): Define using libm_alias_float.
23787 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
23788 (fmodf): Define using libm_alias_float.
23789 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
23790 (hypotf): Define using libm_alias_float.
23791 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
23792 (j0f): Define using libm_alias_float.
23793 (y0f): Likewise.
23794 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
23795 (j1f): Define using libm_alias_float.
23796 (y1f): Likewise.
23797 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
23798 (jnf): Define using libm_alias_float.
23799 (ynf): Likewise.
23800 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
23801 (log10f): Define using libm_alias_float.
23802 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
23803 (log2f): Define using libm_alias_float.
23804 * math/w_logf_compat.c: Include <libm-alias-float.h>.
23805 (logf): Define using libm_alias_float.
23806 * math/w_powf_compat.c: Include <libm-alias-float.h>.
23807 (powf): Define using libm_alias_float.
23808 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
23809 (remainderf): Define using libm_alias_float.
23810 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
23811 (sinhf): Define using libm_alias_float.
23812 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
23813 (sqrtf): Define using libm_alias_float.
23814 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
23815 (tgammaf): Define using libm_alias_float.
23816
23817 2017-09-14 Joseph Myers <joseph@codesourcery.com>
23818
23819 * include/math.h (roundeven): Change hidden_proto call to
23820 __roundeven.
23821 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
23822 alias.
23823 [NO_LONG_DOUBLE] (__j0l): New strong alias.
23824 (y0): Rename to __y0 and define as weak alias.
23825 [NO_LONG_DOUBLE] (__y0l): New strong alias.
23826 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
23827 alias.
23828 (y0f): Rename to __y0f and define as weak alias.
23829 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
23830 alias.
23831 [NO_LONG_DOUBLE] (__j1l): New strong alias.
23832 (y1): Rename to __y1 and define as weak alias.
23833 [NO_LONG_DOUBLE] (__y1l): New strong alias.
23834 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
23835 alias.
23836 (y1f): Rename to __y1f and define as weak alias.
23837 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
23838 alias.
23839 [NO_LONG_DOUBLE] (__jnl): New strong alias.
23840 (yn): Rename to __yn and define as weak alias.
23841 [NO_LONG_DOUBLE] (__ynl): New strong alias.
23842 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
23843 alias.
23844 (ynf): Rename to __ynf and define as weak alias.
23845 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
23846 (fromfp): Define as weak alias.
23847 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
23848 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
23849 (fromfpx): Define as weak alias.
23850 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
23851 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
23852 __getpayload and define as weak alias.
23853 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
23854 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
23855 __roundeven and define as weak alias.
23856 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
23857 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
23858 __setpayload.
23859 (setpayload): Define as weak alias.
23860 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
23861 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
23862 __setpayloadsig.
23863 (setpayloadsig): Define as weak alias.
23864 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
23865 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
23866 __totalorder and define as weak alias.
23867 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
23868 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
23869 to __totalordermag and define as weak alias.
23870 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
23871 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
23872 (ufromfp): Define as weak alias.
23873 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
23874 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
23875 __ufromfpx.
23876 (ufromfpx): Define as weak alias.
23877 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
23878 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
23879 Rename to __getpayload and define as weak alias.
23880 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
23881 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
23882 Rename to __roundeven and define as weak alias.
23883 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
23884 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
23885 Rename to __totalorder and define as weak alias.
23886 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
23887 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
23888 (totalordermag): Rename to __totalordermag and define as weak
23889 alias.
23890 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
23891 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
23892 macro.
23893 (__roundevenl): Likewise.
23894 (__totalorderl): Likewise.
23895 (__totalordermagl): Likewise
23896 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
23897 __fromfpf128.
23898 (fromfpf128): Define as weak alias.
23899 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
23900 __fromfpxf128.
23901 (fromfpxf128): Define as weak alias.
23902 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
23903 __setpayloadf128.
23904 (setpayloadf128): Define as weak alias.
23905 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
23906 __setpayloadsigf128.
23907 (setpayloadsigf128): Define as weak alias.
23908 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
23909 __ufromfpf128.
23910 (ufromfpf128): Define as weak alias.
23911 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
23912 __ufromfpxf128.
23913 (ufromfpxf128): Define as weak alias.
23914 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
23915 (fromfpf): Define as weak alias.
23916 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
23917 __fromfpxf.
23918 (fromfpxf): Define as weak alias.
23919 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
23920 __getpayloadf and define as weak alias.
23921 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
23922 __roundevenf and define as weak alias.
23923 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
23924 __setpayloadf.
23925 (setpayloadf): Define as weak alias.
23926 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
23927 __setpayloadsigf.
23928 (setpayloadsigf): Define as weak alias.
23929 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
23930 __totalorderf and define as weak alias.
23931 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
23932 Rename to __totalordermagf and define as weak alias.
23933 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
23934 __ufromfpf.
23935 (ufromfpf): Define as weak alias.
23936 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
23937 __ufromfpxf.
23938 (ufromfpxf): Define as weak alias.
23939 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
23940 __fromfpl.
23941 (fromfpl): Define as weak alias.
23942 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
23943 __fromfpxl.
23944 (fromfpxl): Define as weak alias.
23945 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
23946 to __getpayloadl and define as weak alias.
23947 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
23948 __roundevenl and define as weak alias.
23949 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
23950 __setpayloadl.
23951 (setpayloadl): Define as weak alias.
23952 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
23953 __setpayloadsigl.
23954 (setpayloadsigl): Define as weak alias.
23955 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
23956 to __totalorderl and define as weak alias.
23957 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
23958 Rename to __totalordermagl and define as weak alias.
23959 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
23960 __ufromfpl.
23961 (ufromfpl): Define as weak alias.
23962 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
23963 __ufromfpxl.
23964 (ufromfpxl): Define as weak alias.
23965 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
23966 __fromfpl.
23967 (fromfpl): Define as weak alias.
23968 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
23969 __fromfpxl.
23970 (fromfpxl): Define as weak alias.
23971 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
23972 Rename to __getpayloadl and define as weak alias.
23973 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
23974 to __roundevenl and define as weak alias. Call __roundeven
23975 instead of roundeven.
23976 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
23977 __setpayloadl.
23978 (setpayloadl): Define as weak alias.
23979 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
23980 __setpayloadsigl.
23981 (setpayloadsigl): Define as weak alias.
23982 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
23983 Rename to __totalorderl and define as weak alias.
23984 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
23985 Rename to __totalordermagl and define as weak alias.
23986 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
23987 __ufromfpl.
23988 (ufromfpl): Define as weak alias.
23989 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
23990 __ufromfpxl.
23991 (ufromfpxl): Define as weak alias.
23992 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
23993 __fromfpl.
23994 (fromfpl): Define as weak alias.
23995 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
23996 __fromfpxl.
23997 (fromfpxl): Define as weak alias.
23998 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
23999 __getpayloadl and define as weak alias.
24000 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
24001 __roundevenl and define as weak alias.
24002 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
24003 __setpayloadl.
24004 (setpayloadl): Define as weak alias.
24005 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
24006 __setpayloadsigl.
24007 (setpayloadsigl): Define as weak alias.
24008 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
24009 __totalorderl and define as weak alias.
24010 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
24011 Rename to __totalordermagl and define as weak alias.
24012 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
24013 __ufromfpl.
24014 (ufromfpl): Define as weak alias.
24015 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
24016 __ufromfpxl.
24017 (ufromfpxl): Define as weak alias.
24018
24019 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24020
24021 * benchtests/bench-string.h (realloc_bufs): New function.
24022 (test_init): Call it.
24023 * benchtests/bench-memset-large.c (do_test): Likewise.
24024 * benchtests/bench-memset.c (do_test): Likewise.
24025
24026 * benchtests/bench-memset-large.c: Print output in JSON
24027 format.
24028 * benchtests/bench-memset.c: Likewise.
24029
24030 2017-09-14 Mike FABIAN <mfabian@redhat.com>
24031
24032 [BZ #21084]
24033 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
24034 * iconvdata/Makefile: Add IBM858.
24035 * iconvdata/gconv-modules: Likewise.
24036 * iconvdata/tst-tables.sh: Likewise.
24037 * iconvdata/ibm858.c: New file.
24038 * localedata/charmaps/IBM858: Likewise.
24039
24040 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
24041
24042 [BZ #22023]
24043 * locales/niu_NZ (LC_TIME): copy "niu_NU".
24044 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
24045
24046 2017-09-14 Mike FABIAN <mfabian@redhat.com>
24047
24048 [BZ #22112]
24049 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
24050 and add tel_int_fmt.
24051
24052 2017-09-14 Joseph Myers <joseph@codesourcery.com>
24053
24054 * sysdeps/generic/libm-alias-float128.h: New file.
24055 * sysdeps/generic/math-type-macros-float128.h: Include
24056 <libm-alias-float128.h>.
24057 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
24058
24059 2017-09-13 Joseph Myers <joseph@codesourcery.com>
24060
24061 * sysdeps/generic/libm-alias-ldouble.h: New file.
24062 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
24063 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
24064 * sysdeps/generic/math-type-macros-ldouble.h: Include
24065 <libm-alias-ldouble.h>.
24066 [!declare_mgen_alias] (declare_mgen_alias): Define to use
24067 libm_alias_ldouble.
24068
24069 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
24070
24071 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
24072 * math/w_exp_compat.c: ... here.
24073 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
24074 * math/w_expf_compat.c: ... here.
24075 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
24076 * math/w_expl_compat.c: ... here.
24077 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
24078 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
24079 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
24080 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
24081
24082 2017-09-13 Joseph Myers <joseph@codesourcery.com>
24083
24084 * math/w_scalbln_template.c (strong_alias): Do not undefine and
24085 redefine.
24086 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
24087 macro.
24088 (ldexpl): Only define as compat symbol for libc, not libm.
24089 (scalbnl): Define as compat symbol for libc here.
24090 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
24091 define for [IS_IN (libc)].
24092 (__ldexpl_2): Remove alias.
24093 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
24094 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
24095 name in long_double_symbol call.
24096 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
24097 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24098 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24099 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
24100 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
24101 Remove macro.
24102 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
24103 Define as compat symbol.
24104
24105 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24106
24107 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
24108 * sysdeps/unix/sysv/linux/alpha/Makefile
24109 [$(subdir) = csu] (sysdep_routines): Remove rule.
24110
24111 2017-09-13 Joseph Myers <joseph@codesourcery.com>
24112
24113 * sysdeps/generic/libm-alias-double.h: New file.
24114 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
24115 * sysdeps/generic/math-type-macros-double.h: Include
24116 <libm-alias-double.h>.
24117 [declare_mgen_alias] (declare_mgen_alias): Define to use
24118 libm_alias_double.
24119 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
24120 (M_LIBM_NEED_COMPAT): Remove macro.
24121 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
24122 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
24123 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
24124 code.
24125 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24126 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24127 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24128 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24129 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24130 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24131 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24132 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24133 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24134 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24135 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24136 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24137 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24138 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24139 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24140 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24141 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24142 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24143 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24144 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24145 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24146 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24147 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24148 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24149 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24150 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24151 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24152 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
24153 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
24154 macro.
24155 (declare_mgen_alias): New macro.
24156 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
24157 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
24158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
24159 (M_LIBM_NEED_COMPAT): Remove macro.
24160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
24161 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
24162 <first-versions.h>.
24163 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
24164 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
24165
24166 2017-09-12 Joseph Myers <joseph@codesourcery.com>
24167
24168 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
24169 (declare_mgen_alias_2): Remove.
24170 * sysdeps/generic/math-type-macros-double.h
24171 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
24172 Likewise.
24173 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
24174 alias.
24175 (ldexp): Define with declare_mgen_alias.
24176 (scalbn): Likewise.
24177
24178 2017-09-12 Steve Ellcey <sellcey@cavium.com>
24179
24180 * grp/initgroups.c: Include config.h.
24181 (DEFAULT_CONFIG): New macro.
24182 (internal_getgrouplist): Use DEFAULT_CONFIG.
24183 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24184 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
24185 (DEFAULT_DEFCONFIG): New macro.
24186 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
24187 * nss/grp-lookup.c: Include config.h
24188 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
24189 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
24190 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
24191 * manual/nss.texi: Update default values section.
24192
24193 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
24194
24195 [BZ #21967]
24196 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
24197 New.
24198 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
24199 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24200 Handle MathVec_Prefer_No_AVX512.
24201 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
24202 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
24203 is set.
24204
24205 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
24206
24207 * posix/sched_primax.c (__sched_get_priority_max): Add
24208 libc_hidden_def.
24209 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
24210 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
24211 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
24212 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
24213 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
24214 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
24215 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
24216 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
24217 Add aliases.
24218
24219 2017-09-11 Joseph Myers <joseph@codesourcery.com>
24220
24221 * sysdeps/generic/libm-alias-float.h: New file.
24222 * sysdeps/generic/math-type-macros-float.h: Include
24223 <libm-alias-float.h>.
24224 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
24225
24226 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
24227
24228 [BZ #22093]
24229 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
24230 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
24231 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
24232 (HWCAP_IMPORTANT): Likewise.
24233 (HWCAP_X86_64): New enum.
24234 (HWCAP_X86_AVX512_1): Updated.
24235 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
24236 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
24237 (modules-names): Add x86_64/tst-x86_64mod-1.
24238 (LDFLAGS-tst-x86_64mod-1.so): New.
24239 ($(objpfx)tst-x86_64-1): Likewise.
24240 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
24241 (tst-x86_64-1-clean): Likewise.
24242 * sysdeps/x86_64/tst-x86_64-1.c: New file.
24243 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
24244
24245 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
24246
24247 * po/sv.po: Update translations.
24248 * po/fr.po: Likewise.
24249
24250 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24251
24252 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
24253 seconds.
24254 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
24255 seconds.
24256 * elf/rtld-Rules: Fix $(error) use.
24257
24258 2017-09-09 Mike FABIAN <mfabian@redhat.com>
24259
24260 [BZ #14925]
24261 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
24262 * locale/iso-639.def: Change “Bengali” to “Bangla”.
24263 * localedata/locales/bn_BD: “Bengali” was still used in some
24264 comments. Change it to “Bangla”.
24265
24266 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
24267
24268 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
24269
24270 2017-09-08 Steve Ellcey <sellcey@cavium.com>
24271
24272 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
24273 thunderx2t99p1 to list of cpu names.
24274 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
24275 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
24276
24277 2017-09-08 Steve Ellcey <sellcey@cavium.com>
24278
24279 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
24280 Use strcmp instead of tunable_is_name.
24281
24282 2017-09-08 Joseph Myers <joseph@codesourcery.com>
24283
24284 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
24285 (F_GET_RW_HINT): New macro.
24286 [__USE_GNU] (F_SET_RW_HINT): Likewise.
24287 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
24288 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
24289 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
24290 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
24291 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
24292 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
24293 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
24294 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
24295
24296 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
24297 (F_ADD_SEALS): New macro.
24298 [__USE_GNU] (F_GET_SEALS): Likewise.
24299 [__USE_GNU] (F_SEAL_SEAL): Likewise.
24300 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
24301 [__USE_GNU] (F_SEAL_GROW): Likewise.
24302 [__USE_GNU] (F_SEAL_WRITE): Likewise.
24303
24304 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24305
24306 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
24307 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
24308 * posix/glob_internal.h (__glob_pattern_type):
24309 * posix/glob.c (glob):
24310 * posix/glob_pattern_p.c (__glob_pattern_p):
24311 Use them.
24312
24313 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
24314 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24315 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
24316 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
24317 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
24318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
24319 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
24320 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
24321 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
24322 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24323 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
24324 * sysdeps/wordsize-64/glob.c: Likewise.
24325 * sysdeps/wordsize-64/glob64.c: Likewise.
24326 * sysdeps/wordsize-64/globfree.c: Likewise.
24327 * sysdeps/wordsize-64/globfree64.c: Likewise.
24328 * sysdeps/unix/sysv/linux/glob.c: New file.
24329 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
24330 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
24331 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
24332 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
24333 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
24334 adds !GLOB_NO_OLD_VERSION as an extra condition.
24335 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
24336 using relative path instead of absolute one.
24337 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
24338 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24339 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24340 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
24341 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
24342 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
24343
24344 [BZ #1062]
24345 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
24346 (glob): Use the same scratch buffer for both getlogin_r and
24347 getpwnam_r. Don’t require preallocation of the login name. This
24348 simplifies storage allocation, and corrects the handling of
24349 long login names.
24350
24351 [BZ #1062]
24352 * posix/glob.c (glob): Port recent patches to platforms
24353 lacking getpwnam_r.
24354 (glob): Fix longstanding misuse of errno after getpwnam_r, which
24355 returns an error number rather than setting errno.
24356
24357 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
24358 instead of GCC extension.
24359 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
24360 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
24361 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
24362
24363 [BZ #866]
24364 [BZ #1062]
24365 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
24366 * posix/bug-glob1.c: Remove file.
24367 * posix/tst-glob_symlinks.c: New file.
24368 * posix/glob.c (__lstat64): New macro.
24369 (is_dir): New function.
24370 (glob, glob_in_dir): Match symlinks even if they are dangling.
24371 (link_stat, link_exists_p): Remove. All uses removed.
24372
24373 [BZ #1062]
24374 [BZ #19971]
24375 * posix/glob.c (struct readdir_result): Remove skip_entry member.
24376 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
24377 All uses removed.
24378
24379 [BZ #1062]
24380 CVE-2017-15671
24381 * posix/Makefile (routines): Add globfree, globfree64, and
24382 glob_pattern_p.
24383 * posix/flexmember.h: New file.
24384 * posix/glob_internal.h: Likewise.
24385 * posix/glob_pattern_p.c: Likewise.
24386 * posix/globfree.c: Likewise.
24387 * posix/globfree64.c: Likewise.
24388 * sysdeps/gnu/globfree64.c: Likewise.
24389 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
24390 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
24391 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
24392 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
24393 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
24394 * sysdeps/wordsize-64/globfree.c: Likewise.
24395 * sysdeps/wordsize-64/globfree64.c: Likewise.
24396 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
24397 [NDEBUG): Remove comments.
24398 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
24399 (dirent_type): New type. Use uint_fast8_t not
24400 uint8_t, as C99 does not require uint8_t.
24401 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
24402 (struct readdir_result): Use dirent_type. Do not define skip_entry
24403 unless it is needed; this saves a byte on platforms lacking d_ino.
24404 (readdir_result_type, readdir_result_skip_entry):
24405 New functions, replacing ...
24406 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
24407 these functions, which were removed. This makes the callers
24408 easier to read. All callers changed.
24409 (D_INO_TO_RESULT): Now empty if there is no d_ino.
24410 (size_add_wrapv, glob_use_alloca): New static functions.
24411 (glob, glob_in_dir): Check for size_t overflow in several places,
24412 and fix some size_t checks that were not quite right.
24413 Remove old code using SHELL since Bash no longer
24414 uses this.
24415 (glob, prefix_array): Separate MS code better.
24416 (glob_in_dir): Remove old Amiga and VMS code.
24417 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
24418 separate files.
24419 (glob_in_dir): Do not rely on undefined behavior in accessing
24420 struct members beyond their bounds. Use a flexible array member
24421 instead
24422 (link_stat): Rename from link_exists2_p and return -1/0 instead of
24423 0/1. Caller changed.
24424 (glob): Fix memory leaks.
24425 * posix/glob64 (globfree64): Move to separate file.
24426 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
24427 (globfree64): Remove hidden alias.
24428 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
24429 oldglob.
24430 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
24431 separate file.
24432 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
24433 define.
24434 Move compat code to separate file.
24435 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
24436 separate file.
24437
24438 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
24439
24440 * resolv/tst-resolv-qtypes.c (domain): Changed to
24441 "const char domain[] =".
24442
24443 2017-09-07 Joseph Myers <joseph@codesourcery.com>
24444
24445 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
24446 version to 3.1.6.
24447
24448 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
24449 (TCP_MD5SIG_EXT): Likewise.
24450 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
24451 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
24452 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
24453
24454 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
24455
24456 2017-09-07 Mike FABIAN <mfabian@redhat.com>
24457
24458 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
24459
24460 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
24461
24462 [BZ #22100]
24463 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
24464
24465 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
24466
24467 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
24468 before assuming that the file is empty. Avoid testing buffer content
24469 when nread == 0.
24470
24471 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24472
24473 [BZ #18858]
24474 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
24475 Remove define.
24476 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
24477 Likewise.
24478 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
24479 Likewise.
24480 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
24481 Likewise.
24482 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
24483 Likewise.
24484 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
24485 Likewise.
24486 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
24487 Likewise.
24488
24489 2017-09-06 Florian Weimer <fweimer@redhat.com>
24490
24491 * malloc/dynarray_emplace_enlarge.c
24492 (__libc_dynarray_emplace_enlarge): Add missing else.
24493
24494 2017-09-06 Florian Weimer <fweimer@redhat.com>
24495
24496 [BZ #22096]
24497 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
24498 case of failure to obtain the global conf object.
24499
24500 2017-09-06 Florian Weimer <fweimer@redhat.com>
24501
24502 [BZ #22095]
24503 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
24504 dynarray allocation failure.
24505
24506 2017-09-06 Florian Weimer <fweimer@redhat.com>
24507
24508 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
24509 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
24510 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
24511 New functions.
24512 (response): Call them. Add 'p', '6' flag processing.
24513 (test_reverse): New function.
24514 (test_get2_any): Call it.
24515 (test_no_inet6): Add 'p' test.
24516 (test_inet6): Likewise.
24517
24518 2017-09-06 Florian Weimer <fweimer@redhat.com>
24519
24520 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
24521 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
24522 the QNAME.
24523 (test_gai): Adjust query names. Add additional tests.
24524 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
24525 test_get2. Adjust query names. Add additional tests.
24526 (test_no_inet6): New function, extracted from threadfunc.
24527 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
24528 Add additional tests.
24529
24530 2017-09-06 Mike FABIAN <mfabian@redhat.com>
24531
24532 [BZ #22070]
24533 * localedata/unicode-gen/utf8_gen.py: Set the width for
24534 characters with Prepended_Concatenation_Mark property to 1
24535 * localedata/charmaps/UTF-8: Updated using the improved script.
24536
24537 2017-09-06 Mike FABIAN <mfabian@redhat.com>
24538
24539 [BZ #21750]
24540 * localedata/unicode-gen/utf8_gen.py: Improve the script to
24541 use the range notation for all ranges of neighbouring characters
24542 with the same width.
24543
24544 2017-09-05 Joseph Myers <joseph@codesourcery.com>
24545
24546 * sysdeps/generic/math-type-macros-double.h: Include
24547 <math-svid-compat.h>.
24548 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
24549 * sysdeps/generic/math-type-macros-float.h: Include
24550 <math-svid-compat.h>.
24551 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
24552 * sysdeps/generic/math-type-macros-ldouble.h: Include
24553 <math-svid-compat.h>.
24554 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
24555 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
24556 condition.
24557 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
24558 * math/w_acosf_compat.c: Likewise.
24559 * math/w_acosh_compat.c: Likewise.
24560 * math/w_acoshf_compat.c: Likewise.
24561 * math/w_acoshl_compat.c: Likewise.
24562 * math/w_acosl_compat.c: Likewise.
24563 * math/w_asin_compat.c: Likewise.
24564 * math/w_asinf_compat.c: Likewise.
24565 * math/w_asinl_compat.c: Likewise.
24566 * math/w_atan2_compat.c: Likewise.
24567 * math/w_atan2f_compat.c: Likewise.
24568 * math/w_atan2l_compat.c: Likewise.
24569 * math/w_atanh_compat.c: Likewise.
24570 * math/w_atanhf_compat.c: Likewise.
24571 * math/w_atanhl_compat.c: Likewise.
24572 * math/w_cosh_compat.c: Likewise.
24573 * math/w_coshf_compat.c: Likewise.
24574 * math/w_coshl_compat.c: Likewise.
24575 * math/w_exp10_compat.c: Likewise.
24576 * math/w_exp10f_compat.c: Likewise.
24577 * math/w_exp10l_compat.c: Likewise.
24578 * math/w_exp2_compat.c: Likewise.
24579 * math/w_exp2f_compat.c: Likewise.
24580 * math/w_exp2l_compat.c: Likewise.
24581 * math/w_fmod_compat.c: Likewise.
24582 * math/w_fmodf_compat.c: Likewise.
24583 * math/w_fmodl_compat.c: Likewise.
24584 * math/w_hypot_compat.c: Likewise.
24585 * math/w_hypotf_compat.c: Likewise.
24586 * math/w_hypotl_compat.c: Likewise.
24587 * math/w_j0_compat.c: Likewise.
24588 * math/w_j0f_compat.c: Likewise.
24589 * math/w_j0l_compat.c: Likewise.
24590 * math/w_j1_compat.c: Likewise.
24591 * math/w_j1f_compat.c: Likewise.
24592 * math/w_j1l_compat.c: Likewise.
24593 * math/w_jn_compat.c: Likewise.
24594 * math/w_jnf_compat.c: Likewise.
24595 * math/w_jnl_compat.c: Likewise.
24596 * math/w_lgamma_r_compat.c: Likewise.
24597 * math/w_lgammaf_r_compat.c: Likewise.
24598 * math/w_lgammal_r_compat.c: Likewise.
24599 * math/w_log10_compat.c: Likewise.
24600 * math/w_log10f_compat.c: Likewise.
24601 * math/w_log10l_compat.c: Likewise.
24602 * math/w_log2_compat.c: Likewise.
24603 * math/w_log2f_compat.c: Likewise.
24604 * math/w_log2l_compat.c: Likewise.
24605 * math/w_log_compat.c: Likewise.
24606 * math/w_logf_compat.c: Likewise.
24607 * math/w_logl_compat.c: Likewise.
24608 * math/w_pow_compat.c: Likewise.
24609 * math/w_powf_compat.c: Likewise.
24610 * math/w_powl_compat.c: Likewise.
24611 * math/w_remainder_compat.c: Likewise.
24612 * math/w_remainderf_compat.c: Likewise.
24613 * math/w_remainderl_compat.c: Likewise.
24614 * math/w_sinh_compat.c: Likewise.
24615 * math/w_sinhf_compat.c: Likewise.
24616 * math/w_sinhl_compat.c: Likewise.
24617 * math/w_sqrt_compat.c: Likewise.
24618 * math/w_sqrtf_compat.c: Likewise.
24619 * math/w_sqrtl_compat.c: Likewise.
24620 * math/w_tgamma_compat.c: Likewise.
24621 * math/w_tgammaf_compat.c: Likewise.
24622 * math/w_tgammal_compat.c: Likewise.
24623 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
24624 [LIBM_SVID_COMPAT].
24625 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
24626 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
24627 [LIBM_SVID_COMPAT].
24628 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
24629 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
24630 [LIBM_SVID_COMPAT].
24631 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
24632 * sysdeps/i386/fpu/w_sqrt.c: New file.
24633 * sysdeps/ia64/fpu/w_acos.c: Likewise.
24634 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
24635 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
24636 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
24637 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
24638 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
24639 * sysdeps/ia64/fpu/w_asin.c: Likewise.
24640 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
24641 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
24642 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
24643 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
24644 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
24645 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
24646 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
24647 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
24648 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
24649 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
24650 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
24651 * sysdeps/ia64/fpu/w_exp.c: Likewise.
24652 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
24653 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
24654 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
24655 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
24656 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
24657 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
24658 * sysdeps/ia64/fpu/w_expf.c: Likewise.
24659 * sysdeps/ia64/fpu/w_expl.c: Likewise.
24660 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
24661 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
24662 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
24663 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
24664 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
24665 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
24666 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
24667 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
24668 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
24669 * sysdeps/ia64/fpu/w_log.c: Likewise.
24670 * sysdeps/ia64/fpu/w_log10.c: Likewise.
24671 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
24672 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
24673 * sysdeps/ia64/fpu/w_log2.c: Likewise.
24674 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
24675 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
24676 * sysdeps/ia64/fpu/w_logf.c: Likewise.
24677 * sysdeps/ia64/fpu/w_logl.c: Likewise.
24678 * sysdeps/ia64/fpu/w_pow.c: Likewise.
24679 * sysdeps/ia64/fpu/w_powf.c: Likewise.
24680 * sysdeps/ia64/fpu/w_powl.c: Likewise.
24681 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
24682 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
24683 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
24684 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
24685 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
24686 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
24687 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
24688 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
24689 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
24690 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
24691 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
24692 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
24693 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
24694 [LIBM_SVID_COMPAT].
24695 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
24696 * sysdeps/ieee754/k_standard.c: Likewise.
24697 * sysdeps/ieee754/k_standardf.c: Likewise.
24698 * sysdeps/ieee754/k_standardl.c: Likewise.
24699 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
24700 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
24701 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
24702 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
24703 long_double_symbol call on [LIBM_SVID_COMPAT].
24704 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
24705 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
24706 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
24707 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
24708 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
24709 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
24710 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
24711 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
24712 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
24713 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
24714 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
24715 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24716 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
24717 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
24718 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
24719 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
24720 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
24721 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
24722 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
24723 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
24724 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
24725 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
24726
24727 2017-09-05 Steve Ellcey <sellcey@cavium.com>
24728
24729 * include/shlib-compat.h (TEST_COMPAT): New Macro.
24730 * malloc/tst-mallocstate.c: Convert from test-skeleton
24731 to test-driver. Ifdef code using TEST_COMPAT macro.
24732 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
24733 * math/test-matherr.c: Likewise.
24734
24735 2017-09-05 Joseph Myers <joseph@codesourcery.com>
24736
24737 [BZ #22086]
24738 * debug/pcprofiledump.c (main): Use byte-swapped mask when
24739 comparing word with byte-swapped constant.
24740
24741 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
24742
24743 [BZ #20498]
24744 * locale/iso-639.def: add Miskito.
24745 * localedata/SUPPORTED: Add miq_NI/UTF-8.
24746 * localedata/locales/miq_NI: New file.
24747
24748 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
24749
24750 [BZ #18822]
24751 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
24752 (__mkdir): Likewise.
24753 * io/chmod.c (__chmod): Add libc_hidden_def.
24754 * io/mkdir.c (__mkdir): Likewise.
24755 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
24756 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
24757 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
24758 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
24759
24760 2017-09-04 Joseph Myers <joseph@codesourcery.com>
24761
24762 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24763 version to 4.13.
24764
24765 [BZ #22082]
24766 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
24767 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
24768
24769 2017-09-04 Florian Weimer <fweimer@redhat.com>
24770
24771 * math/math.h: Issue warning if log is defined.
24772
24773 2017-09-04 Joseph Myers <joseph@codesourcery.com>
24774
24775 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24776 kernel version to 4.13.
24777
24778 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
24779
24780 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
24781 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
24782 parameter.
24783 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
24784 just <bits/types.h>.
24785 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
24786 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
24787 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
24788 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
24789 * misc/preadv2.c: Include <errno.h>.
24790 * misc/preadv64v2.c: Include <errno.h>.
24791 * misc/pwritev2.c: Include <errno.h>.
24792 * misc/pwritev64v2.c: Include <errno.h>.
24793 * sysdeps/posix/preadv2.c: Include <errno.h>.
24794 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
24795 Fix <unistd.h> inclusion.
24796 * sysdeps/posix/pwritev2.c: Include <errno.h>.
24797 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
24798 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
24799 __strtoul_internal): New functions.
24800 * sysdeps/posix/pause.c: Include <sigsetops.h>.
24801 * sysdeps/posix/system.c: Include <sigsetops.h>.
24802 * sysdeps/mach/hurd/i386/Makefile
24803 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
24804 [$(subdir) = csu] (sysdep-only-routines): Likewise.
24805 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
24806 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
24807 __feraiseexcept_renamed to feraiseexcept instead of
24808 __GI_feraiseexcept.
24809 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
24810 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
24811 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
24812 RWF_NOWAIT): Define to 0 if undefined already.
24813 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
24814 boils down to 0.
24815 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
24816 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
24817
24818 2017-09-01 Joseph Myers <joseph@codesourcery.com>
24819
24820 * manual/math.texi (pow10): Do not document.
24821 (pow10f): Likewise.
24822 (pow10l): Likewise.
24823 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
24824 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
24825 * math/libm-test-exp10.inc (pow10_test): Remove.
24826 (do_test): Do not call pow10.
24827 * math/w_exp10_compat.c (pow10): Make into compat symbol.
24828 [NO_LONG_DOUBLE] (pow10l): Likewise.
24829 * math/w_exp10f_compat.c (pow10f): Likewise.
24830 * math/w_exp10l_compat.c (pow10l): Likewise.
24831 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
24832 (pow10): Make into compat symbol.
24833 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
24834 (pow10f): Make into compat symbol.
24835 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
24836 (pow10l): Make into compat symbol.
24837 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
24838 pow10.
24839 (CFLAGS-nldbl-pow10.c): Remove variable..
24840 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
24841 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
24842 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
24843 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
24844 Undefine and redefine.
24845 (pow10l): Make into compat symbol.
24846 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
24847 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
24848 * sysdeps/arm/libm-test-ulps: Likewise.
24849 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
24850 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24851 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24852 * sysdeps/microblaze/libm-test-ulps: Likewise.
24853 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24854 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24855 * sysdeps/nios2/libm-test-ulps: Likewise.
24856 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24857 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24858 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24859 * sysdeps/sh/libm-test-ulps: Likewise.
24860 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24861 * sysdeps/tile/libm-test-ulps: Likewise.
24862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24863
24864 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
24865
24866 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
24867
24868 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
24869
24870 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
24871 "../ChangeLog.old/ChangeLog.8".
24872 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
24873 "../ChangeLog.old/ChangeLog.14".
24874
24875 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
24876
24877 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
24878 Threads Library.
24879
24880 2017-09-01 Joseph Myers <joseph@codesourcery.com>
24881
24882 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
24883
24884 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
24885
24886 * csu/version.c (banner): Remove "by Roland McGrath et al.".
24887 * nptl/Banner: Remove "by Ulrich Drepper et al.".
24888
24889 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
24890
24891 * stdlib/tst-atexit-common.c (do_test): Test support for at least
24892 32 atexit handlers.
24893
24894 2017-09-01 Zack Weinberg <zackw@panix.com>
24895
24896 * math/math.h (HUGE_VAL): Improve commentary.
24897
24898 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24899 Andreas Schwab <schwab@suse.de>
24900
24901 [BZ #21530]
24902 * include/stdio.h (__gen_tempfd): New function.
24903 * stdio-common/Makefile (routines): Add gentempfd.
24904 * stdio-common/gentempfd.c: New file.
24905 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
24906 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
24907 unnamed file first.
24908
24909 2017-09-01 Florian Weimer <fweimer@redhat.com>
24910
24911 [BZ #21915]
24912 [BZ #21922]
24913 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
24914 result to determine success or failure, not the errno value.
24915 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
24916 (tst-nss-files-hosts-erange): Link with -ldl.
24917 * nss/tst-nss-files-hosts-erange.c: New file.
24918 * nss/tst-resolv-basic.c (response): Handle nodata.example.
24919 (do_test): Add NO_DATA tests.
24920 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
24921 (do_test): Call it.
24922
24923 2017-09-01 Florian Weimer <fweimer@redhat.com>
24924
24925 [BZ #21922]
24926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
24927 coming from gethostbyname2_r.
24928
24929 2017-09-01 Florian Weimer <fweimer@redhat.com>
24930
24931 * support/namespace.h (struct support_chroot_configuration): Add
24932 hosts, host_conf.
24933 (struct support_chroot): Add path_hosts, path_host_conf.
24934 * support/support_chroot.c (write_file): New function.
24935 (support_chroot_create): Call it to process /etc/resolv.conf,
24936 /etc/hosts, /etc/host.conf.
24937 (support_chroot_free): Update.
24938
24939 2017-09-01 Florian Weimer <fweimer@redhat.com>
24940
24941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
24942 status indicates it is set.
24943
24944 2017-09-01 Florian Weimer <fweimer@redhat.com>
24945
24946 [BZ #20532]
24947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
24948 function lookup failures more reliable.
24949
24950 2017-09-01 Florian Weimer <fweimer@redhat.com>
24951
24952 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
24953 (getcanonname): Likewise.
24954 (gaih_inet): Likewise.
24955
24956 2017-09-01 Florian Weimer <fweimer@redhat.com>
24957
24958 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
24959 (getcanonname): Likewise.
24960 (gaih_inet): Likewise.
24961
24962 2017-08-31 Steve Ellcey <sellcey@cavium.com>
24963 Richard Henderson <rth@twiddle.net>
24964
24965 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
24966 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
24967 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
24968 (IREG_SIZE, OREG_SIZE): New macros.
24969 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
24970 (IREG_SIZE, OREG_SIZE): New macros.
24971 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
24972 (IREG_SIZE): New macro.
24973 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
24974 (IREG_SIZE): New macro.
24975 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
24976 New includes.
24977 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
24978 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
24979 (__CONCATX): Handle exceptions correctly on large values that may
24980 set FE_INVALID.
24981 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
24982 Initialize if not already set.
24983 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
24984
24985 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24986
24987 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
24988 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
24989 Likewise.
24990 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
24991 Likewise.
24992 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
24993 Likewise.
24994 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
24995 Likewise.
24996 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
24997 Likewise.
24998 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
24999 Likewise.
25000 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
25001 Likewise.
25002 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
25003 (NO_CANCELLATION): Likewise.
25004 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
25005 Likewise.
25006 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
25007 Likewise.
25008 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
25009 Likewise.
25010 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
25011 (NO_CANCELLATION): Likewise.
25012 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
25013 (NO_CANCELLATION): Likewise.
25014 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
25015 Likewise
25016 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
25017 Likewise.
25018 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
25019 Likewise.
25020 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
25021 Likewise.
25022 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
25023 hidden prototype.
25024 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
25025 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
25026
25027 2017-08-31 Steve Ellcey <sellcey@cavium.com>
25028
25029 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
25030 in resolver call.
25031
25032 2017-08-31 Florian Weimer <fweimer@redhat.com>
25033
25034 * include/libc-symbols.h (internal_function): Remove.
25035
25036 2017-08-31 Florian Weimer <fweimer@redhat.com>
25037
25038 * stdlib/fmtmsg.c (internal_addseverity): Remove
25039 internal_function.
25040
25041 2017-08-31 Florian Weimer <fweimer@redhat.com>
25042
25043 * stdio-common/printf_fp.c (group_number): Remove
25044 internal_function.
25045 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
25046
25047 2017-08-31 Florian Weimer <fweimer@redhat.com>
25048
25049 * posix/fnmatch.c (internal_function): Remove definition.
25050 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
25051 * posix/regcomp.c (peek_token, init_word_char)
25052 (duplicate_node_closure, fetch_token, peek_token)
25053 (peek_token_bracket, build_range_exp, build_collating_symbol):
25054 Likewise.
25055 * posix/regex_internal.c (re_string_construct_common)
25056 (create_ci_newstate, create_cd_newstate, re_string_allocate)
25057 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
25058 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
25059 (re_string_translate_buffer, re_string_reconstruct)
25060 (re_string_peek_byte_case, re_string_fetch_byte_case)
25061 (re_string_destruct, re_string_context_at, re_node_set_alloc)
25062 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
25063 (re_node_set_add_intersect, re_node_set_init_union)
25064 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
25065 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
25066 (re_dfa_add_node, calc_state_hash, re_acquire_state)
25067 (re_acquire_state_context): Likewise.
25068 * posix/regex_internal.h (internal_function): Remove definition.
25069 (re_string_realloc_buffers, build_wcs_buffer)
25070 (build_wcs_upper_buffer, build_upper_buffer)
25071 (re_string_translate_buffer, re_string_context_at)
25072 (re_string_char_size_at, re_string_wchar_at)
25073 (re_string_elem_size_at): Likewise.
25074 * posix/regexec.c (match_ctx_init, match_ctx_clean)
25075 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
25076 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
25077 (re_search_internal, re_search_2_stub, re_search_stub)
25078 (re_copy_regs, prune_impossible_nodes, check_matching)
25079 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
25080 (free_fail_stack_return, sift_states_iter_mb)
25081 (sift_states_backward, build_sifted_states)
25082 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
25083 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
25084 (check_subexp_limits, sift_states_bkref, merge_state_array)
25085 (find_recover_state, transit_state, merge_state_with_log)
25086 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
25087 (transit_state_mb, transit_state_bkref, get_subexp)
25088 (get_subexp_sub, find_subexp_node, check_arrival)
25089 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
25090 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
25091 (check_node_accept_bytes, find_collation_sequence_value)
25092 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
25093 (acquire_init_state_context, check_halt_node_context)
25094 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
25095 (sub_epsilon_src_nodes): Likewise.
25096 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
25097 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
25098 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
25099 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
25100 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
25101 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
25102 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
25103 * sysdeps/posix/ttyname.c (getttyname): Likewise.
25104 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
25105 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
25106 (PREADV): Likewise.
25107 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
25108 (PREADV): Likewise.
25109 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
25110 (PWRITEV): Likewise.
25111 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
25112 (PWRITEV): Likewise.
25113 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
25114 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
25115
25116 2017-08-31 Florian Weimer <fweimer@redhat.com>
25117
25118 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
25119 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
25120 Remove internal_function.
25121 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
25122 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
25123 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
25124 (__deallocate_stack, __libc_pthread_init)
25125 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
25126 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
25127 (__libc_disable_asynccancel, __librt_disable_asynccancel):
25128 Likewise.
25129 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
25130 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
25131 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
25132 Likewise.
25133 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
25134 (__pthread_mutex_unlock_usercnt): Likewise.
25135
25136 2017-08-31 Florian Weimer <fweimer@redhat.com>
25137
25138 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
25139 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
25140 (fts_safe_changedir): Remove internal_function.
25141 * io/ftw.c (internal_function): Remove definition.
25142 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
25143
25144 2017-08-31 Florian Weimer <fweimer@redhat.com>
25145
25146 * inet/deadline.c (__deadline_current_time)
25147 (__deadline_from_timeval, __deadline_to_ms): Remove
25148 internal_function.
25149 * inet/getnameinfo.c (nrl_domainname): Likewise.
25150 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
25151 * inet/inet6_option.c (add_pad): Likewise.
25152 * inet/net-internal.h (__deadline_current_time)
25153 (__deadline_from_timeval, __deadline_to_ms): Likewise.
25154 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
25155 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
25156 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
25157
25158 2017-08-31 Joseph Myers <joseph@codesourcery.com>
25159
25160 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
25161 include <bits/nan.h>.
25162 * math/Makefile (headers): Remove bits/nan.h.
25163 * bits/nan.h: Remove.
25164 * sysdeps/ieee754/bits/nan.h: Likewise.
25165 * sysdeps/mips/bits/nan.h: Likewise.
25166
25167 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
25168 not include <bits/inf.h>.
25169 * math/Makefile (headers): Remove bits/inf.h.
25170 * bits/inf.h: Remove.
25171 * sysdeps/ieee754/bits/inf.h: Likewise.
25172
25173 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
25174 bits/huge_vall.h or bits/huge_val_flt128.h.
25175 (HUGE_VAL): Define directly here.
25176 [__USE_ISOC99] (HUGE_VALF): Likewise.
25177 [__USE_ISOC99] (HUGE_VALL): Likewise.
25178 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25179 (HUGE_VAL_F128): Likewise.
25180 * math/Makefile (headers): Remove bits/huge_val.h,
25181 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
25182 * bits/huge_val.h: Remove.
25183 * bits/huge_val_flt128.h: Likewise.
25184 * bits/huge_valf.h: Likewise.
25185 * bits/huge_vall.h: Likewise.
25186 * sysdeps/ia64/bits/huge_vall.h: Likewise.
25187 * sysdeps/ieee754/bits/huge_val.h: Likewise.
25188 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
25189 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
25190 * sysdeps/sh/bits/huge_val.h: Likewise.
25191 * sysdeps/sparc/bits/huge_vall.h: Likewise.
25192 * sysdeps/x86/bits/huge_vall.h: Likewise.
25193
25194 2017-08-31 Florian Weimer <fweimer@redhat.com>
25195
25196 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
25197 internal_function.
25198 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
25199 Likewise.
25200 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
25201 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25202 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
25203 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
25204 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25205 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25206 * elf/dl-libc.c (dlerror_run): Likewise.
25207 * elf/dl-load.c (add_name_to_object, decompose_rpath)
25208 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
25209 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
25210 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
25211 Likewise.
25212 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
25213 (_dl_higher_prime_number, _dl_strtoul): Likewise.
25214 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
25215 * elf/dl-profile.c (_dl_start_profile): Likewise.
25216 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
25217 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
25218 Likewise.
25219 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
25220 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
25221 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
25222 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
25223 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
25224 (_dl_allocate_tls_storage): Likewise.
25225 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
25226 (_dl_check_all_versions): Likewise.
25227 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
25228 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
25229 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
25230 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
25231 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
25232 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
25233 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
25234 internal_function from __dl_start.
25235 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
25236 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
25237 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
25238 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
25239 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
25240 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
25241 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
25242 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
25243 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
25244 (_dl_next_ld_env_entry, _dl_important_hwcaps)
25245 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
25246 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
25247 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
25248 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
25249 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
25250 Likewise.
25251 (struct rtld_global_ro): Remove internal_function from the
25252 _dl_lookup_symbol_x member.
25253 (_dl_symbol_value): Remove. No longer defined anywhere.
25254 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
25255 internal_function.
25256 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
25257 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
25258 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
25259 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
25260 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
25261 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
25262 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
25263 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
25264 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
25265 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
25266 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
25267 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
25268
25269 2017-08-31 Florian Weimer <fweimer@redhat.com>
25270
25271 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
25272 Remove internal_function.
25273 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
25274 Likewise.
25275 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
25276 Likewise.
25277
25278 2017-08-31 Florian Weimer <fweimer@redhat.com>
25279
25280 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
25281 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
25282 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
25283
25284 2017-08-31 Florian Weimer <fweimer@redhat.com>
25285
25286 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
25287 (__gai_enqueue_request): Remove internal_function.
25288 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
25289 (__gai_remove_request, __gai_notify, __gai_notify_only)
25290 (__gai_sigqueue): Likewise.
25291 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
25292 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
25293 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
25294 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25295 Likewise.
25296
25297 2017-08-31 Florian Weimer <fweimer@redhat.com>
25298
25299 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
25300 * include/dirent.h (__opendirat, __getdents, __getdents64)
25301 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
25302 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
25303 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
25304 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25305 Likewise.
25306 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
25307
25308 2017-08-31 Florian Weimer <fweimer@redhat.com>
25309
25310 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
25311 internal_function.
25312 (GETCWD_RETURN_TYPE): Likewise.
25313
25314 2017-08-31 Florian Weimer <fweimer@redhat.com>
25315
25316 * include/time.h (__tz_compute, __strptime_internal): Remove
25317 internal_function.
25318 * time/strptime_l.c (__strptime_internal): Likewise.
25319 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
25320
25321 2017-08-31 Florian Weimer <fweimer@redhat.com>
25322
25323 * iconv/gconv.c (__gconv): Remove internal_function.
25324 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
25325 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
25326 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
25327 (__gconv_release_cache): Likewise.
25328 * iconv/gconv_close.c (__gconv_close): Likewise.
25329 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
25330 (read_conf_file, __gconv_get_path): Likewise.
25331 * iconv/gconv_db.c (derivation_lookup, add_derivation)
25332 (__gconv_release_step, gen_steps, increment_counter)
25333 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
25334 (__gconv_close_transform, free_modules_db): Likewise.
25335 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
25336 Likewise.
25337 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
25338 (__gconv_find_transform, __gconv_lookup_cache)
25339 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
25340 (__gconv_close_transform, __gconv_release_cache)
25341 (__gconv_loaded_object, __gconv_release_shlib)
25342 (__gconv_compare_alias): Likewise.
25343 * iconv/gconv_open.c (__gconv_open): Likewise.
25344 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
25345 * iconv/iconvconfig.c (add_module): Likewise.
25346 * intl/dcigettext.c (plural_lookup, guess_category_value)
25347 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
25348 * intl/eval-plural.h (plural_eval): Likewise.
25349 * intl/finddomain.c (_nl_find_domain): Likewise.
25350 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
25351 (_nl_load_domain, _nl_find_msg): Likewise.
25352 (internal_function): Remove definition.
25353 * intl/loadinfo.h (internal_function): Likewise.
25354 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
25355 internal_function.
25356 * intl/localealias.c (internal_function): Remove definition.
25357 (read_alias_file): Remove internal_function.
25358 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
25359 * intl/plural-exp.h (internal_function): Remove definition.
25360 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
25361 internal_function.
25362 * intl/plural.c: Regenerate.
25363 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
25364 * locale/coll-lookup.c (__collidx_table_lookup)
25365 (__collseq_table_lookup): Likewise.
25366 * locale/coll-lookup.h (__collidx_table_lookup)
25367 (__collseq_table_lookup): Likewise.
25368 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
25369 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25370 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
25371 (_nl_unload_locale): Likewise.
25372 * locale/localeinfo.h (struct __locale_data): Remove
25373 internal_function from cleanup member.
25374 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
25375 (_nl_remove_locale, _nl_load_locale_from_archive)
25376 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
25377 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
25378 (_nl_cleanup_time): Remove internal_function.
25379 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
25380 (_nl_parse_alt_digit): Likewise.
25381 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
25382 (_nl_select_era_entry): Likewise.
25383 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
25384 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
25385 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
25386 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
25387 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
25388
25389 2017-08-31 Florian Weimer <fweimer@redhat.com>
25390
25391 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
25392 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25393 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
25394 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
25395 Likewise.
25396 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
25397 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
25398 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
25399 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
25400 Likewise.
25401 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
25402
25403 2017-08-31 Florian Weimer <fweimer@redhat.com>
25404
25405 * misc/getttyent.c (skip, value): Remove internal_function.
25406 * misc/syslog.c (openlog_internal): Likewise.
25407 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
25408
25409 2017-08-31 Florian Weimer <fweimer@redhat.com>
25410
25411 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
25412 (__nss_rewrite_field): Remove internal_function.
25413 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25414 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
25415 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25416 * nss/nsswitch.c (nss_parse_file, nss_getline)
25417 (nss_parse_service_list, nss_new_service): Likewise.
25418 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
25419 * nss/valid_field.c (__nss_valid_field): Likewise.
25420 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
25421
25422 2017-08-31 Florian Weimer <fweimer@redhat.com>
25423
25424 * malloc/arena.c (__malloc_fork_lock_parent)
25425 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
25426 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
25427 internal_function from defintions.
25428 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
25429 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
25430 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
25431 internal_function from declarations.
25432 * malloc/malloc.c (internal_function): Do not define.
25433 (mem2mem_check): Remove internal_function from declaration.
25434 (munmap_chunk, mremap_chunk): Remove internal_function.
25435 * malloc/mtrace.c (tr_where): Likewise.
25436
25437 2017-08-31 Florian Weimer <fweimer@redhat.com>
25438
25439 * include/rpc/pmap_clnt.h (__get_socket): Remove
25440 internal_function.
25441 * sunrpc/auth_des.c (synchronize): Likewise.
25442 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
25443 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
25444 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
25445 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
25446 (key_call): Likewise.
25447 * sunrpc/pm_getport.c (__get_socket): Likewise.
25448 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
25449 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
25450 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
25451 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
25452 (invalidate): Likewise.
25453 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
25454 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
25455 (set_input_fragment, get_input_bytes): Likewise.
25456
25457 2017-08-31 Florian Weimer <fweimer@redhat.com>
25458
25459 * malloc/malloc.c (_int_free): Remove locked variable and related
25460 asserts.
25461
25462 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
25463
25464 [BZ #22051]
25465 * Makerules (build-module-helper-objlist): Filter out
25466 $(elf-objpfx)sofini.os.
25467 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
25468 needed.
25469
25470 2017-08-31 Florian Weimer <fweimer@redhat.com>
25471
25472 * libio/fcloseall.c: Assume weak_alias is defined.
25473 * libio/feof.c: Likewise.
25474 * libio/fileno.c: Likewise.
25475 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
25476 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
25477 definitions.
25478 (_IO_file_open): Call __open directly.
25479 (_IO_new_file_sync): Assume ESPIPE is defined.
25480 (_IO_file_seekoff_maybe_mmap): Call __read directly.
25481 (_IO_new_file_write): Call __write directly.
25482 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
25483 * libio/ftello64.c (__ftello64): Assume EIO is defined.
25484 * libio/genops.c: Assume _LIBC is defined.
25485 (save_for_backup): Remove internal_function.
25486 * libio/getc.c: Assume weak_alias is defined.
25487 * libio/getwc.c: Likewise.
25488 * libio/iofclose.c: Assume _LIBC is defined.
25489 * libio/iofdopen.c: Likewise.
25490 (_IO_fcntl): Remove macro definition.
25491 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
25492 Call __fcntl directly.
25493 * libio/iofflush.c: Assume weak_alias is defined.
25494 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
25495 defined.
25496 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
25497 * libio/iofgets.c: Likewise.
25498 * libio/iofopen.c: Assume _LIBC is defined.
25499 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
25500 * libio/iofputs.c: Assume weak_alias is defined.
25501 * libio/iofread.c: Likewise.
25502 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
25503 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
25504 * libio/ioftell.c: Assume weak_alias is defined.
25505 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
25506 * libio/iofwide.c: Assume _LIBC is defined.
25507 (_IO_fwide): Drop SHARED conditional because it is implied by
25508 SHLIB_COMPAT.
25509 * libio/iofwrite.c: Assume weak_alias is defined.
25510 * libio/iogetdelim.c: Likewise.
25511 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
25512 * libio/iogetwline.c (wmemcpy): Remove macro definition.
25513 (_IO_getwline): Call __wmemcpy directly.
25514 * libio/iopopen.c: Assume _LIBC is defined.
25515 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
25516 (_IO_close): Remove macro definitions.
25517 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
25518 _exit directly.
25519 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
25520 directly.
25521 * libio/ioputs.c: Assume weak_alias is defined.
25522 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
25523 * libio/iosetbuffer.c: Assume weak_alias is defined.
25524 * libio/iosetvbuf.c: Likewise.
25525 * libio/ioungetc.c: Likewise.
25526 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
25527 libc_hidden_def, libc_hidden_weak, NULL are defined.
25528 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
25529 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
25530 defined.
25531 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
25532 definitions.
25533 (_IO_old_file_init_internal): Drop SHARED conditional because it
25534 is implied by SHLIB_COMPAT.
25535 (_IO_old_file_fopen): Call __open directly.
25536 (_IO_old_file_sync): Assume ESPIPE is defined.
25537 (_IO_old_file_write): Call __write directly.
25538 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
25539 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
25540 Call __fcntl directly.
25541 * libio/oldiofgetpos.c: Assume weak_alias is defined.
25542 (_IO_old_fgetpos): Assume EIO is defined.
25543 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
25544 (_IO_old_fgetpos64): Assume EIO is defined.
25545 * libio/oldiofsetpos.c: Assume weak_alias is defined.
25546 (_IO_old_fsetpos): Assume EIO is defined.
25547 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
25548 (_IO_old_fsetpos64): Assume EIO is defined.
25549 * libio/oldiopopen.c: Assume _LIBC is defined.
25550 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
25551 (_IO_close): Remove macro definitions.
25552 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
25553 directly.
25554 (_IO_old_proc_close): Call __close, __waitpid directly.
25555 * libio/put.c: Assume weak_alias is defined.
25556 * libio/stdfiles.c: Assume _LIBC is defined.
25557 * libio/stdio.c: Likewise.
25558 * libio/wfileops.c: Likewise.
25559 (_IO_wfile_sync): Assume ESPIPE is defined.
25560 * libio/wgenops.c: Assume _LIBC is defined.
25561 (save_for_wbackup): Remove internal_function.
25562
25563 2017-08-31 Florian Weimer <fweimer@redhat.com>
25564
25565 * malloc/malloc.c (top_check): Change return type to void. Remove
25566 internal_function.
25567 * malloc/hooks.c (top_check): Likewise.
25568 (malloc_check, realloc_check, memalign_check): Adjust.
25569
25570 2017-08-30 Joseph Myers <joseph@codesourcery.com>
25571
25572 [BZ #21457]
25573 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
25574 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
25575 sigcontext and namespace requirements.
25576 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
25577 * sysdeps/m68k/sys/ucontext.h: Likewise.
25578 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
25579 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
25580 <bits/sigcontext.h>.
25581 (__ctx): Define earlier.
25582 (mcontext_t): Define structure contents rather than using struct
25583 sigcontext.
25584 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
25585 __glibc_reserved1 instead of __reserved.
25586 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
25587 <bits/sigcontext.h>.
25588 (__ctx): Define earlier.
25589 (mcontext_t): Define structure contents rather than using struct
25590 sigcontext.
25591 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
25592 mcontext_t instead of struct sigcontext.
25593 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
25594 <bits/sigcontext.h>.
25595 (__ctx): Define earlier.
25596 (mcontext_t): Define structure contents rather than using struct
25597 sigcontext.
25598 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
25599 <bits/sigcontext.h>.
25600 (__ctx): Define earlier.
25601 (mcontext_t): Define structure contents rather than using struct
25602 sigcontext.
25603 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
25604 mcontext_t instead of struct sigcontext.
25605 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
25606 mcontext_t instead of struct sigcontext.
25607 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
25608 <bits/sigcontext.h>.
25609 (__ctx): New macro.
25610 (struct __ia64_fpreg_mcontext): New type.
25611 (mcontext_t): Define structure contents rather than using struct
25612 sigcontext.
25613 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
25614 (uc_sigmask): Define using __ctx.
25615 (uc_stack): Likewise.
25616 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
25617 <bits/sigcontext.h>.
25618 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25619 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
25620 <bits/sigcontext.h>.
25621 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
25622 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
25623 <bits/sigcontext.h>.
25624 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
25625 <bits/sigcontext.h>.
25626 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
25627 <bits/sigcontext.h>.
25628 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
25629 <bits/sigcontext.h>.
25630 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
25631 <bits/sigcontext.h>.
25632 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
25633 <bits/sigcontext.h>.
25634 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
25635 <bits/sigcontext.h>.
25636 (__ctx): Define earlier.
25637 (mcontext_t): Define structure contents rather than using struct
25638 sigcontext.
25639 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
25640 <bits/sigcontext.h>. Include <bits/types.h>.
25641 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
25642 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
25643 (test-xfail-XPG42/ucontext.h/conform): Likewise.
25644 (test-xfail-UNIX98/signal.h/conform): Likewise.
25645 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
25646 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
25647 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
25648 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
25649 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
25650 (test-xfail-POSIX2008/signal.h/conform): Likewise.
25651 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
25652 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
25653 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
25654
25655 2017-08-30 Florian Weimer <fweimer@redhat.com>
25656
25657 * malloc/dynarray_emplace_enlarge.c
25658 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
25659 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
25660 * malloc/tst-dynarray.c (test_long_overflow): New function.
25661 (do_test): Call it.
25662
25663 2017-08-30 Florian Weimer <fweimer@redhat.com>
25664
25665 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
25666 (set_arena_corrupt): Remove definitions.
25667 (mtrim): Do not check for corrupt arena.
25668 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
25669 Likewise.
25670
25671 2017-08-30 Florian Weimer <fweimer@redhat.com>
25672
25673 [BZ #21754]
25674 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
25675 check_action.
25676 (ptmalloc_init): Do not set or use check_action.
25677 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
25678 call to malloc_printerr. Remove return statement.
25679 (free_check): Likewise. Remove arena unlock.
25680 (top_check): Update comment. Adjust call to malloc_printerr.
25681 Remove heap repair code.
25682 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
25683 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
25684 (sysmalloc): Adjust call to malloc_printerr.
25685 (munmap_chunk, __libc_realloc): Likewise. Remove return
25686 statement.
25687 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
25688 Remove errout label and corresponding gotos.
25689 (_int_free): Likewise. Remove arena unlock.
25690 (do_set_mallopt_check): Do not set check_action.
25691 (malloc_printerr): Adjust parameter list. Do not mark arena as
25692 corrupt.
25693 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
25694 comment.
25695 * manual/probes.texi (Memory Allocation Probes): Remove
25696 memory_mallopt_check_action.
25697
25698 2017-08-30 Steve Ellcey <sellcey@cavium.com>
25699
25700 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
25701 Use pointer to uint64_t instead of long int for sp.
25702
25703 2017-08-30 Florian Weimer <fweimer@redhat.com>
25704
25705 [BZ #21754]
25706 * malloc/malloc.c (malloc_printerr): Always terminate the process,
25707 without printing a backtrace. Do not leak any information in the
25708 error message.
25709 * manual/memory.texi (Heap Consistency Checking): Update.
25710 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
25711
25712 2017-08-30 Florian Weimer <fweimer@redhat.com>
25713
25714 Do not scale NPTL tests with available number of CPUs.
25715 * nptl/tst-cond16.c (count): Set to constant value of 8.
25716 * nptl/tst-cond18.c (count): Likewise.
25717
25718 2017-08-29 Joseph Myers <joseph@codesourcery.com>
25719
25720 [BZ #22035]
25721 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
25722 Define to take a second argument that is a macro that
25723 concatentates a suffix, not the suffix itself.
25724 (__CONCAT_d): New macro.
25725 (__CONCAT_f): Likewise.
25726 (__CONCAT_l): Likewise.
25727
25728 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
25729
25730 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
25731 by child.
25732
25733 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25734 Aurelien Jarno <aurelien@aurel32.net>
25735 Maciej W. Rozycki <macro@imgtec.com>
25736
25737 [BZ #21956]
25738 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
25739 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
25740 `mips16-syscall6' and `mips16-syscall7'.
25741 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
25742 (CFLAGS-mips16-syscall7.c): Remove.
25743 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
25744 Remove `__mips16_syscall5', `__mips16_syscall6' and
25745 `__mips16_syscall7'.
25746 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
25747 (__mips16_syscall0): Rename `__mips16_syscall_return' to
25748 `__mips_syscall_return'.
25749 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
25750 (__mips16_syscall1): Likewise.
25751 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
25752 (__mips16_syscall2): Likewise.
25753 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
25754 (__mips16_syscall3): Likewise.
25755 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
25756 (__mips16_syscall4): Likewise.
25757 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
25758 Remove.
25759 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
25760 Remove.
25761 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
25762 Remove.
25763 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
25764 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
25765 `__mips16_syscall5'. Remove prototype.
25766 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
25767 `__mips16_syscall6'. Remove prototype.
25768 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
25769 `__mips16_syscall7'. Remove prototype.
25770 (__nomips16, __mips16_syscall_return): Move to...
25771 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
25772 (__nomips16, __mips_syscall_return): ... here.
25773 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
25774 `__mips16_syscall_return' to `__mips_syscall_return'.
25775 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
25776 `internal_syscall##nr'.
25777 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
25778 `internal_syscall##nr'.
25779 (FORCE_FRAME_POINTER): Remove.
25780 (__mips_syscall5): New prototype.
25781 (internal_syscall5): Rewrite to call `__mips_syscall5'.
25782 (__mips_syscall6): New prototype.
25783 (internal_syscall6): Rewrite to call `__mips_syscall6'.
25784 (__mips_syscall7): New prototype.
25785 (internal_syscall7): Rewrite to call `__mips_syscall7'.
25786 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
25787 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
25788 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
25789 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
25790 (sysdep_routines): Add libc-do-syscall.
25791 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
25792 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
25793
25794 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25795
25796 [BZ #21672]
25797 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
25798 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
25799 (advise_stack_range): New function.
25800 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
25801 stack non required to advise_stack_range at allocatestack.c
25802
25803 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25804
25805 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
25806
25807 2017-08-29 Florian Weimer <fweimer@redhat.com>
25808
25809 [BZ #22026]
25810 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
25811 __end_fct. Mangle __end_fct after setting it to NULL.
25812 * iconv/Makefile (tests): Add tst-gconv-init-failure.
25813 (modules-names, modules-names-tests): Add
25814 tst-gconv-init-failure-mod.
25815 (gconv-modules): New target.
25816 (tst-gconv-init-failure-mod.so): Link against libsupport.
25817 (tst-gconv-init-failure): Depend on gconv-modules,
25818 tst-gconv-init-failure-mod.so.
25819 * iconv/tst-gconv-init-failure-mod.c: New file.
25820 * iconv/tst-gconv-init-failure.c: Likewise.
25821 * iconv/test-gconv-modules: Likewise.
25822
25823 2017-08-29 Florian Weimer <fweimer@redhat.com>
25824
25825 [BZ #22025]
25826 * iconv/gconv_db.c (free_derivation): Remove redundant
25827 parentheses.
25828 (gen_steps): Unconditionally mangle __btowc_fct after
25829 initialization.
25830 (increment_counter): Likewise. Do not call init_fct for internal
25831 modules.
25832
25833 2017-08-29 Joseph Myers <joseph@codesourcery.com>
25834
25835 [BZ #22028]
25836 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
25837 (_MSUF_): Remove macro.
25838 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
25839 Likewise.
25840 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
25841 (__REDIRFROM_X): New macro.
25842 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
25843 Likewise.
25844 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
25845 (__REDIRTO_X): Likewise.
25846 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
25847 arguments.
25848 (__MATH_REDIRCALL_2): Likewise.
25849 (__MATH_REDIRCALL_INTERNAL): Likewise.
25850 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
25851 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
25852 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
25853 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
25854 * math/test-finite-macros.c: New file.
25855 * math/Makefile (tests): Add test-finite-macros.
25856 (CFLAGS-test-finite-macros.c): New variable.
25857
25858 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
25859 Jeff Law <law@redhat.com>
25860
25861 [BZ #22025]
25862 Mangle NULL pointers in iconv/gconv.
25863 * iconv/gconv_cache.c (find_module): Demangle init_fct before
25864 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
25865 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
25866 is non-NULL before demangling the end_fct. Check for NULL
25867 end_fct after demangling.
25868 (__gconv_release_step): Demangle the end_fct before checking
25869 it for NULL. Remove assert on __shlibc_handle != NULL.
25870 (gen_steps): Don't check btowc_fct for NULL before mangling.
25871 Demangle init_fct before checking for NULL.
25872 (increment_counter): Likewise.
25873 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
25874 end_fct for NULL before mangling.
25875 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
25876 for NULL.
25877
25878 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
25879
25880 [BZ #21971]
25881 * locale/iso-639.def: add Morisyen.
25882
25883 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
25884
25885 [BZ #21930]
25886 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
25887 (iszero): New C++ implementation that does not use
25888 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
25889 signaling nans are enabled, since __builtin_types_compatible_p
25890 is a C-only feature.
25891 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
25892 defined, include ieee754_float128.h for access to the union and
25893 member ieee854_float128.ieee.
25894 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
25895 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
25896 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
25897 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
25898 options of test-math-zero on powerpc64le.
25899
25900 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
25901
25902 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
25903 Change double to float.
25904
25905 2017-08-28 Joseph Myers <joseph@codesourcery.com>
25906
25907 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
25908 unconditional.
25909 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
25910 conditional code; define contents only for [LIBM_SVID_COMPAT].
25911
25912 2017-08-28 Florian Weimer <fweimer@redhat.com>
25913
25914 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
25915 (abi-lp64_be-options): Remove.
25916 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
25917 (abi-hard-options): Likewise.
25918 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
25919 (abi-o32_hard-options, abi-o32_soft_2008-options)
25920 (abi-o32_hard_2008-options, abi-n32_soft-options)
25921 (abi-n32_hard-options, abi-n32_soft_2008-options)
25922 (abi-n32_hard_2008-options, abi-n64_soft-options)
25923 (abi-n64_hard-options, abi-n64_soft_2008-options)
25924 (abi-n64_hard_2008-options): Likewise.
25925 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
25926 (abi-64-v1-options, abi-64-v2-options): Likewise.
25927 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
25928 (abi-64-options): Likewise.
25929 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
25930 (abi-64-options): Likewise.
25931 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
25932 (abi-64-options): Likewise.
25933 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
25934 (abi-64-options, abi-x32-options): Likewise.
25935
25936 2017-08-28 Florian Weimer <fweimer@redhat.com>
25937
25938 Store supported list of SYS_* system calls in the source tree.
25939 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
25940 (bits/syscall.h): Generate from list file.
25941 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
25942 [$(subdir) = misc] (tests): Add tst-syscall-list.
25943 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
25944 [$(subdir) = misc] (tst-syscall-list-macros.list)
25945 [$(subdir) = misc] (tst-syscall-list-nr.list)
25946 (tst-syscall-list-sys.list): Helper targets for new
25947 tst-syscall-list test.
25948 [$(subdir) = misc] (tst-syscall-list.out): Run test script
25949 tst-syscall-list.sh.
25950 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
25951 target. Do not include bits/syscall.d.
25952 [$(subdir) = misc] (generated): Do not update.
25953 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
25954 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
25955 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
25956 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
25957
25958 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
25959
25960 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
25961 (tst-cxa_atexit, tst-on_exit): Likewise.
25962 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
25963 tst-cxa_atexit, and tst-on_exit.
25964 * stdlib/tst-atexit-common.c: New file.
25965 * stdlib/tst-atexit.c: New file.
25966 * stdlib/tst-at_quick_exit.c: New file.
25967 * stdlib/tst-cxa_atexit.c: New file.
25968 * stdlib/tst-on_exit.c: New file.
25969
25970 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
25971
25972 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
25973 * mach/stack_chk_fail_local.c: New file.
25974 * hurd/stack_chk_fail_local.c: New file.
25975 * mach/Machrules ($(interface-library)-routines): Add
25976 stack_chk_fail_local.
25977 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
25978 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
25979 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
25980 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
25981 * hurd/Makefile (CFLAGS-hurdstartup.o,
25982 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
25983
25984 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
25985
25986 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
25987 (index_cpu_*, index_arch_*): Removed.
25988
25989 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
25990
25991 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
25992 Use uint64_t instead of unsigned long.
25993
25994 2017-08-25 Joseph Myers <joseph@codesourcery.com>
25995
25996 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
25997 [__HAVE_DISTINCT_FLOAT128].
25998
25999 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
26000 of <bits/math-finite.h>.
26001 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
26002 inclusion of <bits/math-finite.h>.
26003 * math/bits/math-finite.h (__REDIRTO_X): Do not define
26004 conditionally on [__MATH_DECLARING_LDOUBLE && defined
26005 __NO_LONG_DOUBLE_MATH].
26006 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
26007 (__MATH_REDIRCALL_2): Likewise.
26008 (__MATH_REDIRCALL_INTERNAL): Likewise.
26009 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
26010 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
26011 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
26012
26013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
26014 Remove file.
26015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
26016 Likewise.
26017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
26018 Likewise.
26019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
26020 Likewise.
26021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
26022 Likewise.
26023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
26024 Likewise.
26025 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
26026 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
26027 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
26028 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
26029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
26030 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
26031 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
26032 w_sqrtf_compat-ppc32.
26033
26034 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26035
26036 * math/math.h [defined __cplusplus] (issignaling): In the long
26037 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
26038 is not defined. Call __issignaling, otherwise.
26039
26040 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26041
26042 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
26043 syscall definitions and replace __builtin_expect with __glibc_likely.
26044 * sysdeps/unix/syscall-template.S: Update comment about cancellable
26045 syscall.
26046 (SYSCALL_CANCELLABLE): Removedefinition
26047 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
26048 definition.
26049 (PSEUDO_END): Likewise.
26050 [IS_IN (libpthread)] (CENABLE): Likewise.
26051 [IS_IN (libpthread)] (CDISABLE): Likewise.
26052 [IS_IN (libc)] (CENABLE): Likewise.
26053 [IS_IN (libc)] (CENABLE): Likewise.
26054 [IS_IN (librt)] (CDISABLE): Likewise.
26055 [IS_IN (librt)] (CDISABLE): Likewise.
26056 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26057 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
26058 definition.
26059 (PSEUDO_END): Likewise.
26060 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
26061 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
26062 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
26063 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
26064 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
26065 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
26066 (CENABLE): Likewise.
26067 (CDISABLE): Likewise.
26068 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26069 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
26070 defintion.
26071 (PSEUDO_END): Likewise.
26072 [IS_IN (libpthread)] (CENABLE): Likewise.
26073 [IS_IN (libpthread)] (CDISABLE): Likewise.
26074 [IS_IN (libc)] (CENABLE): Likewise.
26075 [IS_IN (libc)] (CENABLE): Likewise.
26076 [IS_IN (librt)] (CDISABLE): Likewise.
26077 [IS_IN (librt)] (CDISABLE): Likewise.
26078 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26079 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
26080 definition.
26081 (PSEUDO_END): Likewise.
26082 [IS_IN (libpthread)] (CENABLE): Likewise.
26083 [IS_IN (libpthread)] (CDISABLE): Likewise.
26084 [IS_IN (libc)] (CENABLE): Likewise.
26085 [IS_IN (libc)] (CENABLE): Likewise.
26086 [IS_IN (librt)] (CDISABLE): Likewise.
26087 [IS_IN (librt)] (CDISABLE): Likewise.
26088 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26089 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
26090 definition.
26091 (PSEUDO_END): Likewise.
26092 [IS_IN (libpthread)] (CENABLE): Likewise.
26093 [IS_IN (libpthread)] (CDISABLE): Likewise.
26094 [IS_IN (libc)] (CENABLE): Likewise.
26095 [IS_IN (libc)] (CENABLE): Likewise.
26096 [IS_IN (librt)] (CDISABLE): Likewise.
26097 [IS_IN (librt)] (CDISABLE): Likewise.
26098 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26099 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
26100 definition.
26101 (PSEUDO_END): Likewise.
26102 [IS_IN (libpthread)] (CENABLE): Likewise.
26103 [IS_IN (libpthread)] (CDISABLE): Likewise.
26104 [IS_IN (libc)] (CENABLE): Likewise.
26105 [IS_IN (libc)] (CENABLE): Likewise.
26106 [IS_IN (librt)] (CDISABLE): Likewise.
26107 [IS_IN (librt)] (CDISABLE): Likewise.
26108 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26109 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
26110 definition.
26111 (PSEUDO_END): Likewise.
26112 [IS_IN (libpthread)] (CENABLE): Likewise.
26113 [IS_IN (libpthread)] (CDISABLE): Likewise.
26114 [IS_IN (libc)] (CENABLE): Likewise.
26115 [IS_IN (libc)] (CENABLE): Likewise.
26116 [IS_IN (librt)] (CDISABLE): Likewise.
26117 [IS_IN (librt)] (CDISABLE): Likewise.
26118 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26119 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
26120 definition.
26121 (PSEUDO_END): Likewise.
26122 [IS_IN (libpthread)] (CENABLE): Likewise.
26123 [IS_IN (libpthread)] (CDISABLE): Likewise.
26124 [IS_IN (libc)] (CENABLE): Likewise.
26125 [IS_IN (libc)] (CENABLE): Likewise.
26126 [IS_IN (librt)] (CDISABLE): Likewise.
26127 [IS_IN (librt)] (CDISABLE): Likewise.
26128 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26129 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
26130 Remove definition.
26131 (PSEUDO_END): Likewise.
26132 [IS_IN (libpthread)] (CENABLE): Likewise.
26133 [IS_IN (libpthread)] (CDISABLE): Likewise.
26134 [IS_IN (libc)] (CENABLE): Likewise.
26135 [IS_IN (libc)] (CENABLE): Likewise.
26136 [IS_IN (librt)] (CDISABLE): Likewise.
26137 [IS_IN (librt)] (CDISABLE): Likewise.
26138 (SINGLE_THREAD_P): Likewise.
26139 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
26140 definition.
26141 (PSEUDO_END): Likewise.
26142 [IS_IN (libpthread)] (CENABLE): Likewise.
26143 [IS_IN (libpthread)] (CDISABLE): Likewise.
26144 [IS_IN (libc)] (CENABLE): Likewise.
26145 [IS_IN (libc)] (CENABLE): Likewise.
26146 [IS_IN (librt)] (CDISABLE): Likewise.
26147 [IS_IN (librt)] (CDISABLE): Likewise.
26148 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26149 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
26150 definition.
26151 (PSEUDO_END): Likewise.
26152 [IS_IN (libpthread)] (CENABLE): Likewise.
26153 [IS_IN (libpthread)] (CDISABLE): Likewise.
26154 [IS_IN (libc)] (CENABLE): Likewise.
26155 [IS_IN (libc)] (CENABLE): Likewise.
26156 [IS_IN (librt)] (CDISABLE): Likewise.
26157 [IS_IN (librt)] (CDISABLE): Likewise.
26158 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26159 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
26160 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26161 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
26162 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
26163 definition.
26164 (PSEUDO_END): Likewise.
26165 [IS_IN (libpthread)] (CENABLE): Likewise.
26166 [IS_IN (libpthread)] (CDISABLE): Likewise.
26167 [IS_IN (libc)] (CENABLE): Likewise.
26168 [IS_IN (libc)] (CENABLE): Likewise.
26169 [IS_IN (librt)] (CDISABLE): Likewise.
26170 [IS_IN (librt)] (CDISABLE): Likewise.
26171 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26172 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
26173 definition.
26174 (PSEUDO_END): Likewise.
26175 [IS_IN (libpthread)] (CENABLE): Likewise.
26176 [IS_IN (libpthread)] (CDISABLE): Likewise.
26177 [IS_IN (libc)] (CENABLE): Likewise.
26178 [IS_IN (libc)] (CENABLE): Likewise.
26179 [IS_IN (librt)] (CDISABLE): Likewise.
26180 [IS_IN (librt)] (CDISABLE): Likewise.
26181 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26182 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
26183 definition.
26184 (PSEUDO_END): Likewise.
26185 [IS_IN (libpthread)] (CENABLE): Likewise.
26186 [IS_IN (libpthread)] (CDISABLE): Likewise.
26187 [IS_IN (libc)] (CENABLE): Likewise.
26188 [IS_IN (libc)] (CENABLE): Likewise.
26189 [IS_IN (librt)] (CDISABLE): Likewise.
26190 [IS_IN (librt)] (CDISABLE): Likewise.
26191 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26192 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
26193 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26194 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
26195 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
26196 definition.
26197 (PSEUDO_END): Likewise.
26198 [IS_IN (libpthread)] (CENABLE): Likewise.
26199 [IS_IN (libpthread)] (CDISABLE): Likewise.
26200 [IS_IN (libc)] (CENABLE): Likewise.
26201 [IS_IN (libc)] (CENABLE): Likewise.
26202 [IS_IN (librt)] (CDISABLE): Likewise.
26203 [IS_IN (librt)] (CDISABLE): Likewise.
26204 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26205 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
26206 definition.
26207 (PSEUDO_END): Likewise.
26208 [IS_IN (libpthread)] (CENABLE): Likewise.
26209 [IS_IN (libpthread)] (CDISABLE): Likewise.
26210 [IS_IN (libc)] (CENABLE): Likewise.
26211 [IS_IN (libc)] (CENABLE): Likewise.
26212 [IS_IN (librt)] (CDISABLE): Likewise.
26213 [IS_IN (librt)] (CDISABLE): Likewise.
26214 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26215
26216 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
26217
26218 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
26219
26220 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
26221
26222 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26223
26224 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
26225
26226 [BZ #21982]
26227 * string/stratcliff.c (do_test): Declare size, nchars, inner,
26228 middle and outer with size_t instead of int. Repleace %d and
26229 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
26230 "MAX (outer, nchars - 64)" to support unsigned outer and
26231 nchars. Also exit loop when outer == 0.
26232
26233 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26234
26235 * include/fcntl.h (__fcntl_nocancel): Remove definition.
26236 * include/signal.h (__sigsuspend_nocancel): Likewise.
26237 * include/time.h (__nanosleep_nocancel): Likewise.
26238 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
26239 * login/utmp_file.c: Include non cancellable syscall header.
26240 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
26241 prototype.
26242
26243 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
26244
26245 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
26246 .byte sequences with AVX512F instructions.
26247 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
26248 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
26249 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
26250 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
26251 Likewise.
26252 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26253 Likewise.
26254
26255 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
26256 Steve Ellcey <sellcey@cavium.com>
26257
26258 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
26259 Use PTR_REG macro in cmp instruction.
26260
26261 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26262
26263 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
26264 Change the return type of the ifunc resolver to match the return
26265 type of the target function.
26266
26267 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26268
26269 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
26270 (preadv64): Likewise.
26271 (pwrite64(: Likewise.
26272 (pwritev64): Likewise.
26273
26274 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
26275 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
26276 (LOAD_ARGS_0): Likewise.
26277 (LOAD_ARGS_1): Likewise.
26278 (LOAD_ARGS_2): Likewise.
26279 (LOAD_ARGS_3): Likewise.
26280 (LOAD_ARGS_4): Likewise.
26281 (LOAD_ARGS_5): Likewise.
26282 (LOAD_ARGS_6): Likewise.
26283 (LOAD_REGS_0): Likewise.
26284 (LOAD_REGS_1): Likewise.
26285 (LOAD_REGS_2): Likewise.
26286 (LOAD_REGS_3): Likewise.
26287 (LOAD_REGS_4): Likewise.
26288 (LOAD_REGS_5): Likewise.
26289 (LOAD_REGS_6): Likewise.
26290 (ASM_ARGS_0): Likewise.
26291 (ASM_ARGS_1): Likewise.
26292 (ASM_ARGS_2): Likewise.
26293 (ASM_ARGS_3): Likewise.
26294 (ASM_ARGS_4): Likewise.
26295 (ASM_ARGS_5): Likewise.
26296 (ASM_ARGS_6): Likewise.
26297 (LOAD_ARGS_TYPES_1): Likewise.
26298 (LOAD_ARGS_TYPES_2): Likewise.
26299 (LOAD_ARGS_TYPES_3): Likewise.
26300 (LOAD_ARGS_TYPES_4): Likewise.
26301 (LOAD_ARGS_TYPES_5): Likewise.
26302 (LOAD_ARGS_TYPES_6): Likewise.
26303 (LOAD_REGS_TYPES_1): Likewise.
26304 (LOAD_REGS_TYPES_2): Likewise.
26305 (LOAD_REGS_TYPES_3): Likewise.
26306 (LOAD_REGS_TYPES_4): Likewise.
26307 (LOAD_REGS_TYPES_5): Likewise.
26308 (LOAD_REGS_TYPES_6): Likewise.
26309 (TYPEFY): New define.
26310 (ARGIFY): Likewise.
26311 (internal_syscall0): Likewise.
26312 (internal_syscall1): Likewise.
26313 (internal_syscall2): Likewise.
26314 (internal_syscall3): Likewise.
26315 (internal_syscall4): Likewise.
26316 (internal_syscall5): Likewise.
26317 (internal_syscall6): Likewise.
26318 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
26319 (INTERNAL_SYSCALL_NCS): Remove define.
26320 (internal_syscall1): Add define.
26321
26322 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26323
26324 * math/w_remainder_compat.c: Remove duplicate inclusion of
26325 math-svid-compat.h.
26326 * math/w_remainderf_compat.c: Likewise.
26327 * math/w_remainderl_compat.c: Likewise.
26328
26329 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26330
26331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26332
26333 2017-08-22 Joseph Myers <joseph@codesourcery.com>
26334
26335 [BZ #21684]
26336 * math/tgmath.h (__floating_type): Simplify definitions.
26337 (__real_integer_type): New macro.
26338 (__complex_integer_type): Likewise.
26339 (__expr_is_real): Likewise.
26340 (__tgmath_real_type_sub): Update comment to describe handling of
26341 complex types.
26342 (__tgmath_complex_type_sub): New macro.
26343 (__tgmath_complex_type): Likewise.
26344 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26345 (__TGMATH_CF128): Use __expr_is_real.
26346 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
26347 __expr_is_real.
26348 (__TGMATH_BINARY_REAL_IMAG): Likewise.
26349 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
26350 * math/gen-tgmath-tests.py (Type.create_type): Create complex
26351 integer types.
26352
26353 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26354
26355 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
26356 macro.
26357 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
26358 alias.
26359 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
26360 Likewise.
26361
26362 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
26363 nanosleep_not_cancel with __nanosleep_nocancel.
26364 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
26365 (__nanosleep_nocancel): New macro.
26366 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
26367 function.
26368 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
26369 macro.
26370 (__nanosleep_nocancel): New prototype.
26371
26372 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
26373 pause_not_cancel with __pause_nocancel.
26374 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
26375 (__pause_nocancel): New macro.
26376 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
26377 macro.
26378 (__pause_nocancel): New prototype.
26379 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
26380
26381 2017-08-22 Martin Sebor <msebor@redhat.com>
26382
26383 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
26384 to return a pointer to the same type as the target function.
26385
26386 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
26387
26388 [BZ #18822]
26389 [BZ #21986]
26390 * include/printf.h (__printf_fphex): Add attribute_hidden.
26391 (__guess_grouping): New prototype.
26392 * stdio-common/printf_fp.c (__guess_grouping): Removed.
26393 * stdio-common/reg-printf.c (__register_printf_specifier): Add
26394 libc_hidden_proto and libc_hidden_def.
26395 * stdlib/strfmon_l.c (__guess_grouping): Removed.
26396 (__vstrfmon_l): Remove the third argument passed to
26397 __guess_grouping.
26398
26399 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26400
26401 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
26402 definition for issignaling that does not rely on __MATH_TG,
26403 since __MATH_TG uses __builtin_types_compatible_p, which is only
26404 available in C mode.
26405 (CFLAGS-test-math-issignaling.cc): New variable.
26406 * math/Makefile [CXX] (tests): Add test-math-issignaling.
26407 * math/test-math-issignaling.cc: New test for C++ implementation
26408 of type-generic issignaling.
26409 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
26410 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
26411 options of test-math-issignaling on powerpc64le.
26412
26413 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
26414
26415 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
26416 building libc.a.
26417 (hidden_proto): Likewise.
26418 (hidden_tls_proto): Likewise.
26419 (__hidden_proto): Likewise.
26420
26421 2017-08-22 Florian Weimer <fweimer@redhat.com>
26422
26423 math: Statically link tests of internal functionality.
26424 * math/Makefile (tests): Remove atest-exp, atest-sincos,
26425 atest-exp2.
26426 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
26427 (gmp-objs): Remove assignment.
26428 (atest-exp, atest-sincos, atest-exp2): Remove targets.
26429
26430 2017-08-22 Joseph Myers <joseph@codesourcery.com>
26431
26432 [BZ #21987]
26433 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
26434 and copy to ...
26435 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
26436 ... here.
26437 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
26438 ... and here.
26439
26440 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
26441 variable definitions above inclusion of ../Rules.
26442
26443 2017-08-21 Joseph Myers <joseph@codesourcery.com>
26444
26445 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
26446 case calling __builtin_unreachable.
26447
26448 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26449
26450 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
26451 __waitpid_nocancel.
26452 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
26453 (__waitpid_nocancel): New macro.
26454 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
26455 macro.
26456 (__waitpid_nocancel): Replace macro with a function.
26457 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
26458 function.
26459
26460 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
26461 __fcntl_nocancel.
26462 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
26463 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
26464
26465 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
26466 __writev_nocancel_nostatus.
26467 (write_call_graph): Likewise.
26468 (write_bb_counts): Likewise.
26469 * resolv/herror.c (herror): Likewise.
26470 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
26471 macro.
26472 (__writev_nocancel_nostatus): New macro.
26473 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
26474 Remove macro.
26475 (__writev_nocancel_nostatus): New function.
26476
26477 2017-08-21 Joseph Myers <joseph@codesourcery.com>
26478
26479 Revert:
26480 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
26481
26482 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
26483 building libc.a.
26484 (hidden_proto): Likewise.
26485 (hidden_tls_proto): Likewise.
26486 (__hidden_proto): Likewise.
26487
26488 [BZ #21973]
26489 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
26490 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
26491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
26492 Likewise.
26493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
26494 Likewise.
26495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
26496 Likewise.
26497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
26498 Likewise.
26499 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
26500 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
26501 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
26502 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
26503 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26504 GLIBC_2.0 sqrtl symbol.
26505
26506 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
26507 [__USE_MISC] (_LIB_VERSION): Likewise.
26508 [__USE_MISC] (struct exception): Likewise.
26509 [__USE_MISC] (matherr): Likewise.
26510 [__USE_MISC] (DOMAIN): Likewise.
26511 [__USE_MISC] (SING): Likewise.
26512 [__USE_MISC] (OVERFLOW): Likewise.
26513 [__USE_MISC] (UNDERFLOW): Likewise.
26514 [__USE_MISC] (TLOSS): Likewise.
26515 [__USE_MISC] (PLOSS): Likewise.
26516 [__USE_MISC] (HUGE): Likewise.
26517 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
26518 * math/math-svid-compat.h: New file.
26519 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
26520 and matherrl.
26521 * include/math.h [!_ISOMAC] (__matherr): Remove.
26522 * manual/arith.texi (FP Exceptions): Do not document matherr.
26523 * math/Makefile (tests): Change test-matherr to test-matherr-3.
26524 (tests-internal): New variable.
26525 (install-lib): Do not add libieee.a.
26526 (non-lib.a): Likewise.
26527 (extra-objs): Do not add libieee.a and ieee-math.o.
26528 (CPPFLAGS-s_lib_version.c): Remove variable.
26529 ($(objpfx)libieee.a): Remove rule.
26530 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
26531 * math/ieee-math.c: Remove.
26532 * math/libm-test-support.c (matherr): Remove.
26533 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
26534 and license notices. Include <math-svid-compat.h> and
26535 <shlib-compat.h>.
26536 (matherr): Undefine as macro. Use compat_symbol_reference.
26537 (_LIB_VERSION): Likewise.
26538 * math/test-matherr-2.c: New file.
26539 * math/test-matherr-3.c: Likewise.
26540 * sysdeps/generic/math_private.h (__kernel_standard): Remove
26541 declaration.
26542 (__kernel_standard_f): Likewise.
26543 (__kernel_standard_l): Likewise.
26544 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
26545 <math_private.h>. Include <math-svid-compat.h>.
26546 (_LIB_VERSION): Undefine as macro.
26547 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
26548 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
26549 [LIBM_SVID_COMPAT], use compat_symbol.
26550 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
26551 <math_private.h>. Include <math-svid-compat.h>.
26552 (matherr): Undefine as macro.
26553 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
26554 compat_symbol.
26555 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
26556 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
26557 compat_symbol_reference.
26558 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
26559 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
26560 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
26561 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
26562 (MATHERR_D): Remove declaration.
26563 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
26564 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
26565 [LIBM_BUILD] (pmatherrf): Likewise.
26566 [LIBM_BUILD] (pmatherr): Likewise.
26567 [LIBM_BUILD] (pmatherrl): Likewise.
26568 (DOMAIN): Likewise.
26569 (SING): Likewise.
26570 (OVERFLOW): Likewise.
26571 (UNDERFLOW): Likewise.
26572 (TLOSS): Likewise.
26573 (PLOSS): Likewise.
26574 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
26575 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
26576 compat_symbol.
26577 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
26578 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
26579 compat_symbol.
26580 * math/lgamma-compat.h: Include <math-svid-compat.h>.
26581 * math/w_acos_compat.c: Likewise.
26582 * math/w_acosf_compat.c: Likewise.
26583 * math/w_acosh_compat.c: Likewise.
26584 * math/w_acoshf_compat.c: Likewise.
26585 * math/w_acoshl_compat.c: Likewise.
26586 * math/w_acosl_compat.c: Likewise.
26587 * math/w_asin_compat.c: Likewise.
26588 * math/w_asinf_compat.c: Likewise.
26589 * math/w_asinl_compat.c: Likewise.
26590 * math/w_atan2_compat.c: Likewise.
26591 * math/w_atan2f_compat.c: Likewise.
26592 * math/w_atan2l_compat.c: Likewise.
26593 * math/w_atanh_compat.c: Likewise.
26594 * math/w_atanhf_compat.c: Likewise.
26595 * math/w_atanhl_compat.c: Likewise.
26596 * math/w_cosh_compat.c: Likewise.
26597 * math/w_coshf_compat.c: Likewise.
26598 * math/w_coshl_compat.c: Likewise.
26599 * math/w_exp10_compat.c: Likewise.
26600 * math/w_exp10f_compat.c: Likewise.
26601 * math/w_exp10l_compat.c: Likewise.
26602 * math/w_exp2_compat.c: Likewise.
26603 * math/w_exp2f_compat.c: Likewise.
26604 * math/w_exp2l_compat.c: Likewise.
26605 * math/w_fmod_compat.c: Likewise.
26606 * math/w_fmodf_compat.c: Likewise.
26607 * math/w_fmodl_compat.c: Likewise.
26608 * math/w_hypot_compat.c: Likewise.
26609 * math/w_hypotf_compat.c: Likewise.
26610 * math/w_hypotl_compat.c: Likewise.
26611 * math/w_j0_compat.c: Likewise.
26612 * math/w_j0f_compat.c: Likewise.
26613 * math/w_j0l_compat.c: Likewise.
26614 * math/w_j1_compat.c: Likewise.
26615 * math/w_j1f_compat.c: Likewise.
26616 * math/w_j1l_compat.c: Likewise.
26617 * math/w_jn_compat.c: Likewise.
26618 * math/w_jnf_compat.c: Likewise.
26619 * math/w_jnl_compat.c: Likewise.
26620 * math/w_lgamma_main.c: Likewise.
26621 * math/w_lgamma_r_compat.c: Likewise.
26622 * math/w_lgammaf_main.c: Likewise.
26623 * math/w_lgammaf_r_compat.c: Likewise.
26624 * math/w_lgammal_main.c: Likewise.
26625 * math/w_lgammal_r_compat.c: Likewise.
26626 * math/w_log10_compat.c: Likewise.
26627 * math/w_log10f_compat.c: Likewise.
26628 * math/w_log10l_compat.c: Likewise.
26629 * math/w_log2_compat.c: Likewise.
26630 * math/w_log2f_compat.c: Likewise.
26631 * math/w_log2l_compat.c: Likewise.
26632 * math/w_log_compat.c: Likewise.
26633 * math/w_logf_compat.c: Likewise.
26634 * math/w_logl_compat.c: Likewise.
26635 * math/w_pow_compat.c: Likewise.
26636 * math/w_powf_compat.c: Likewise.
26637 * math/w_powl_compat.c: Likewise.
26638 * math/w_remainder_compat.c: Likewise.
26639 * math/w_remainderf_compat.c: Likewise.
26640 * math/w_remainderl_compat.c: Likewise.
26641 * math/w_scalb_compat.c: Likewise.
26642 * math/w_scalbf_compat.c: Likewise.
26643 * math/w_scalbl_compat.c: Likewise.
26644 * math/w_sinh_compat.c: Likewise.
26645 * math/w_sinhf_compat.c: Likewise.
26646 * math/w_sinhl_compat.c: Likewise.
26647 * math/w_sqrt_compat.c: Likewise.
26648 * math/w_sqrtf_compat.c: Likewise.
26649 * math/w_sqrtl_compat.c: Likewise.
26650 * math/w_tgamma_compat.c: Likewise.
26651 * math/w_tgammaf_compat.c: Likewise.
26652 * math/w_tgammal_compat.c: Likewise.
26653 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
26654 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
26655 * sysdeps/ieee754/k_standard.c: Likewise.
26656 * sysdeps/ieee754/k_standardf.c: Likewise.
26657 * sysdeps/ieee754/k_standardl.c: Likewise.
26658 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
26659 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
26660 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
26661 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
26662 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
26663 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
26664 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
26665 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
26666 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
26667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
26668 Likewise.
26669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
26670 Likewise.
26671 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
26672 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
26673 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
26674 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
26675
26676 2017-08-21 Florian Weimer <fweimer@redhat.com>
26677
26678 [BZ #21864]
26679 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
26680 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
26681 Move before inclusion of ../Rules.
26682
26683 2017-08-21 Florian Weimer <fweimer@redhat.com>
26684
26685 [BZ #21972]
26686 * assert/assert.h (assert): Use static_cast (bool) for C++.
26687 Use the ternary operator in the warning branch for GNU C.
26688 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
26689 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
26690 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
26691 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
26692 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
26693
26694 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
26695
26696 [BZ #18822]
26697 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26698 (__syscall_clock_gettime): Add attribute_hidden.
26699 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
26700 (__start_context): Likewise.
26701
26702 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
26703
26704 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
26705 building libc.a.
26706 (hidden_proto): Likewise.
26707 (hidden_tls_proto): Likewise.
26708 (__hidden_proto): Likewise.
26709
26710 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
26711
26712 * include/libc-symbols.h (attribute_hidden): Enable hidden
26713 visibility in libc.a compiled with PIE.
26714
26715 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
26716
26717 [BZ #18822]
26718 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
26719 Add attribute_hidden.
26720
26721 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
26722
26723 [BZ #21864]
26724 * Makerules (all-nonlib): Add $(others-extras).
26725 * catgets/Makefile (others-extras): New.
26726 * elf/Makefile (others-extras): Likewise.
26727 * nss/Makefile (others-extras): Likewise.
26728
26729 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
26730
26731 [BZ #18822]
26732 * csu/libc-start.c (__libc_multiple_libcs): Removed.
26733 * elf/dl-open.c: Include <libc-internal.h>.
26734 (__libc_multiple_libcs): Removed.
26735 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
26736 <hp-timing.h>.
26737 * include/libc-internal.h (__libc_multiple_libcs): New.
26738 * misc/sbrk.c: Include <libc-internal.h>.
26739 (__libc_multiple_libcs): Removed.
26740
26741 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
26742
26743 [BZ #18822]
26744 * grp/initgroups.c (__nss_group_database): Removed.
26745 (__nss_initgroups_database): Likewise.
26746 * nscd/gai.c (__nss_hosts_database): Likewise.
26747 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
26748 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
26749 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
26750 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
26751 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
26752 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
26753 attribute_hidden.
26754 * nss/nsswitch.c (__nss_database_custom): Define only if
26755 USE_NSCD is defined.
26756 (__nss_configure_lookup): Use __nss_database_custom only if
26757 USE_NSCD is defined.
26758 * nss/nsswitch.h (__nss_database_custom): Declare only if
26759 USE_NSCD is defined. Add attribute_hidden.
26760 (__nss_setent): Add attribute_hidden.
26761 (__nss_endent): Likewise.
26762 (__nss_getent_r): Likewise.
26763 (__nss_getent): Likewise.
26764 (DEFINE_DATABASE): Declare __nss_##arg##_database.
26765
26766 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
26767
26768 [BZ #18822]
26769 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
26770 libc_hidden_proto and libc_hidden_def.
26771
26772 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
26773
26774 [BZ #18822]
26775 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
26776 Add libc_hidden_proto.
26777 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
26778 Add libc_hidden_def.
26779
26780 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
26781
26782 [BZ #21974]
26783 * gmon/Makefile (routines): Remove bb_init_func and
26784 bb_exit_func.
26785 (elide-routines.os): Removed.
26786 * gmon/bb_exit_func.c: Likewise.
26787 * gmon/bb_init_func.c: Likewise.
26788 * include/sys/gmon.h (__bb): Likewise.
26789 (__bb_init_func): Likewise.
26790 (__bb_exit_func): Likewise.
26791 * sysdeps/alpha/bb_init_func.S: Likewise.
26792
26793 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
26794
26795 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
26796 * include/setjmp.h (____longjmp_chk): Here. Add
26797 attribute_hidden.
26798
26799 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
26800
26801 [BZ #18822]
26802 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
26803 attribute_hidden.
26804 (__strspn_sse2): Likewise.
26805
26806 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26807
26808 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
26809 (close_not_cancel_no_status): Likewise.
26810 (__close_nocancel): New macro.
26811 (__close_nocancel_nostatus): Likewise.
26812 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
26813 macro.
26814 (close_not_cancel): Likewise.
26815 (close_not_cancel_no_status): Likewise.
26816 (__close_nocancel): New prototype.
26817 (__close_nocancel_nostatus): New function.
26818 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
26819 * catgets/open_catalog.c (__open_catalog): Replace
26820 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
26821 * gmon/gmon.c (write_gmon): Likewise.
26822 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26823 * intl/loadmsgcat.c (close): Likewise.
26824 * io/ftw.c (open_dir_stream): Likewise.
26825 (ftw_startup): Likewise.
26826 * libio/fileops.c (_IO_file_open): Likewise.
26827 (_IO_file_close_mmap): Likewise.
26828 (_IO_file_close): Likewise.
26829 * libio/iopopen.c (_IO_dup2): Likewise.
26830 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26831 * locale/loadlocale.c (_nl_load_locale): Likewise.
26832 * login/utmp_file.c (pututline_file): Likewise.
26833 (endutent_file): Likewise.
26834 * misc/daemon.c (daemon): Likewise.
26835 * nscd/nscd_getai.c (__nscd_getai): Likewise.
26836 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26837 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
26838 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26839 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26840 * nscd/nscd_helper.c (open_socket): Likewise.
26841 (__nscd_open_socket): Likewise.
26842 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26843 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
26844 (__nscd_innetgr): Likewise.
26845 * nss/nss_db/db-open.c (internal_setent): Likewise.
26846 * resolv/res-close.c (__res_iclose): Likewise.
26847 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
26848 * sysdeps/posix/closedir.c (__closedir): Likewise.
26849 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
26850 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
26851 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
26852 (opendir_tail): Likewise.
26853 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
26854 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
26855 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
26856 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26857 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
26858 (gethostid): Likewise.
26859 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
26860 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26861 Likewise.
26862 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26863 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
26864 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
26865 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
26866 Likewise.
26867 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
26868 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
26869 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
26870 Likewise.
26871 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
26872 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
26873 Likewise.
26874 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
26875 Likewise.
26876 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
26877 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
26878 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
26879 __close_nocancel.
26880
26881 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
26882 (openat_not_cancel_3): Likewise.
26883 (openat64_not_cancel_3): Likewise).
26884 (openat_not_cancel_3): Likewise).
26885 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
26886 macro.
26887 (openat_not_cancel_3): Likewise.
26888 (openat64_not_cancel): Likewise.
26889 (openat64_not_cancel_3): Likewise.
26890 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
26891 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
26892 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
26893 __open{64}_nocancel.
26894 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
26895 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
26896 * sysdeps/posix/opendir.c (__opendirat): Likewise.
26897
26898 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
26899
26900 [BZ #18822]
26901 * include/argz.h (__argz_create_sep): New function prototype.
26902 (__argz_append): Likewise.
26903 (__argz_add): Likewise.
26904 (__argz_add_sep): Likewise.
26905 (__argz_delete): Likewise.
26906 (__argz_insert): Likewise.
26907 (__argz_replace): Likewise.
26908 * string/argz.h (__argz_create_sep): Removed.
26909 (__argz_append): Likewise.
26910 (__argz_add): Likewise.
26911 (__argz_add_sep): Likewise.
26912 (__argz_delete): Likewise.
26913 (__argz_insert): Likewise.
26914 (__argz_replace): Likewise.
26915
26916 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
26917
26918 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
26919 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
26920 (GNU_PROPERTY_STACK_SIZE): Likewie.
26921 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
26922 (GNU_PROPERTY_LOPROC): Likewise.
26923 (GNU_PROPERTY_HIPROC): Likewise.
26924 (GNU_PROPERTY_LOUSER): Likewise.
26925 (GNU_PROPERTY_HIUSER): Likewise.
26926 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
26927 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
26928 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
26929 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
26930 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
26931 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
26932 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
26933 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
26934 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
26935 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
26936 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
26937 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
26938 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
26939 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
26940 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
26941 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
26942 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
26943 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
26944 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
26945 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
26946 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
26947 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
26948 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
26949
26950 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26951
26952 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
26953 in C++ mode.
26954
26955 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26956
26957 [BZ #21930]
26958 * math/math.h (isinf): Check if in C or C++ mode before using
26959 __builtin_types_compatible_p, since this is a C mode feature.
26960
26961 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26962
26963 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
26964 (__write_nocancel): New macro.
26965 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
26966 Rewrite as a function prototype.
26967 (write_not_cancel): Remove macro.
26968 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
26969 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
26970 (write_gmon): Likewise.
26971 * libio/fileops.c (_IO_new_file_write): Likewise.
26972 * login/utmp_file.c (pututline_file): Likewise.
26973 (updwtmp_file): Likewise.
26974 * stdio-common/psiginfo.c (psiginfo): Likewise.
26975 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
26976 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
26977 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
26978 Likewise.
26979 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
26980 Likewise.
26981
26982 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
26983 (__read_nocancel): New macro.
26984 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
26985 __read_nocancel.
26986 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
26987 macro.
26988 (__read_nocancel): New prototype.
26989 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
26990 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
26991 with __read_nocancel.
26992 * intl/loadmsgcat.c (read): Likewise.
26993 * libio/fileops.c (_IO_file_read): Likewise.
26994 * locale/loadlocale.c (_nl_load_locale): Likewise.
26995 * login/utmp_file.c (getutent_r_file): Likewise.
26996 (internal_getut_r): Likewise.
26997 (getutline_r_file): Likewise.
26998 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
26999 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27000 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
27001 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27002 Likewise.
27003 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
27004 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
27005 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
27006 Likewise.
27007 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
27008 Likewise.
27009 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
27010 Likewise.
27011 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27012 Likewise.
27013 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
27014
27015 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
27016
27017 [BZ #21966]
27018 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
27019 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
27020 usable.
27021
27022 2017-08-17 DJ Delorie <dj@redhat.com>
27023
27024 * bug17079.c: Update to new test harness.
27025 * test-digits-dots.c: Likewise.
27026 * test-netdb.c: Likewise.
27027 * tst-field.c: Likewise.
27028 * tst-nss-getpwent.c: Likewise.
27029 * tst-nss-static.c: Likewise.
27030 * tst-nss-test1.c: Likewise.
27031 * tst-nss-test2.c: Likewise.
27032 * tst-nss-test3.c: Likewise.
27033 * tst-nss-test4.c: Likewise.
27034 * tst-nss-test5.c: Likewise.
27035
27036 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27037
27038 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
27039 (open_not_cancel_2): Likewise.
27040 (open_nocancel): New macro.
27041 (open64_nocancel): Likewise.
27042 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
27043 (open_not_cancel_2): Likewise.
27044 (__open_nocancel): New prototype.
27045 (__open64_nocancel): Likewise.
27046 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
27047 __open_nocancel.
27048 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
27049 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
27050 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
27051 with __open_nocancel.
27052 * csu/check_fds.c (check_one_fd): Likewise.
27053 * gmon/gmon.c (write_gmon): Likewise.
27054 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
27055 * intl/loadmsgcat.c (open): Likewise.
27056 * libio/fileops.c (_IO_file_open): Likewise.
27057 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27058 * locale/loadlocale.c (_nl_load_locale): Likewise.
27059 * login/utmp_file.c (setutent_file): Likewise.
27060 * misc/daemon.c (daemon): Likewise.
27061 * nss/nss_db/db-open.c (internal_setent): Likewise.
27062 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
27063 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
27064 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
27065 (__opendir): Likewise.
27066 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
27067 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
27068 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
27069 (gethostid): Likewise.
27070 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
27071 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27072 Likewise.
27073 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27074 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
27075 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
27076 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
27077 Likewise.
27078 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
27079 Likewise.
27080 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
27081 Likewise.
27082 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
27083 Likewise.
27084 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27085 Likewise.
27086 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27087 Likewise.
27088 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
27089 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
27090
27091 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
27092
27093 * benchtests/bench-skeleton.c (main): Add support for
27094 latency benchmarking.
27095 * benchtests/scripts/bench.py: Add support for latency benchmarking.
27096
27097 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
27098
27099 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
27100 the startup object.
27101
27102 2017-08-17 Florian Weimer <fweimer@redhat.com>
27103
27104 * include/sys/socket.h (__opensock): Remove internal_function.
27105 * socket/opensock.c (__opensock): Likewise.
27106 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
27107
27108 2017-08-16 Joseph Myers <joseph@codesourcery.com>
27109
27110 [BZ #21944]
27111 * signal/bits/types/__sigval_t.h: New file.
27112 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
27113 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
27114 and define sigval_t using __sigval_t.
27115 * include/bits/types/__sigval_t.h: New file.
27116 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
27117 instead of <bits/types/__sigval_t.h>.
27118 (struct sigevent): Use __sigval_t instead of sigval_t.
27119 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
27120 instead of <bits/types/__sigval_t.h>.
27121 (siginfo_t): Use __sigval_t instead of sigval_t.
27122 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
27123 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
27124 (struct sigevent): Use __sigval_t instead of sigval_t.
27125 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
27126 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
27127 (siginfo_t): Use __sigval_t instead of sigval_t.
27128 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
27129
27130 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
27131
27132 * NEWS: Remove "[Add new features here]" for 2.27.
27133
27134 2017-08-16 Joseph Myers <joseph@codesourcery.com>
27135
27136 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
27137 libc.so.
27138
27139 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
27140
27141 * NEWS: Mention x86-64 FMA optimization.
27142
27143 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
27144
27145 [BZ #21912]
27146 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27147 Add e_expf-fma.
27148 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
27149 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
27150 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
27151
27152 2017-08-16 Andreas Schwab <schwab@suse.de>
27153
27154 [BZ #16750]
27155 CVE-2009-5064
27156 * elf/ldd.bash.in: Never run file directly.
27157
27158 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
27159
27160 [BZ #21955]
27161 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
27162 (L(SP_INF_0)): Likewise.
27163
27164 2017-08-15 Florian Weimer <fweimer@redhat.com>
27165
27166 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
27167 run-built-tests.
27168
27169 2017-08-15 Florian Weimer <fweimer@redhat.com>
27170
27171 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
27172 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
27173 BROKEN_THREAD_SIGNALS code.
27174 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
27175 request_list): Remove caller_pid member used for
27176 BROKEN_THREAD_SIGNALS.
27177 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
27178 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
27179 Remove BROKEN_THREAD_SIGNALS support.
27180 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27181 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
27182
27183 2017-08-15 Florian Weimer <fweimer@redhat.com>
27184
27185 * gmon/Makefile (tests): Add tst-gmon.
27186 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
27187 Set.
27188 (tests-special): Add tst-gmon-prof.out.
27189 (tst-gmon.out): Depend on clean-tst-gmon-data.
27190 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
27191 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
27192 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
27193 startup object.
27194 * aclocal.m4 (GPROF): Set and substitute.
27195 * config.amke.in (GPROF): Set.
27196 * configure: Regenerate.
27197
27198 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
27199
27200 * elf/elf.h A (NT_PPC_TAR): New macro.
27201 (NT_PPC_PPR): Likewise.
27202 (NT_PPC_DSCR): Likewise.
27203 (NT_PPC_EBB): Likewise.
27204 (NT_PPC_PMU): Likewise.
27205 (NT_PPC_TM_CGPR): Likewise.
27206 (NT_PPC_TM_CFPR): Likewise.
27207 (NT_PPC_TM_CVMX): Likewise.
27208 (NT_PPC_TM_CVSX): Likewise.
27209 (NT_PPC_TM_SPR): Likewise.
27210 (NT_PPC_TM_CTAR): Likewise.
27211 (NT_PPC_TM_CPPR): Likewise.
27212 (NT_PPC_TM_CDSCR): Likewise.
27213
27214 2017-08-15 Florian Weimer <fweimer@redhat.com>
27215
27216 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
27217 regparm (2) instead of internal_function.
27218 (_MCOUNT_DECL): Adjust.
27219
27220 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
27221
27222 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
27223 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
27224
27225 2017-08-14 Joseph Myers <joseph@codesourcery.com>
27226
27227 * conform/data/sys/wait.h-data (si_value): Do not expect for
27228 XPG42.
27229
27230 2017-08-14 Florian Weimer <fweimer@redhat.com>
27231
27232 [BZ #21962]
27233 NSS: Create stubs for accidentally exported lookup functions.
27234 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
27235 Remove declaration.
27236 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
27237 (ether_hostton): Call __nss_ethers_lookup2 instead.
27238 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
27239 (ether_ntohost): Call __nss_ethers_lookup2 instead.
27240 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
27241 (setup): Call __nss_netgroup_lookup2 instead.
27242 * nss/Makefile (routines): Add compat-lookup.
27243 * nss/Versions (GLIBC_2.27): Add symbol version.
27244 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
27245 (DB_COMPAT_FCT): Remove.
27246 * nss/compat-lookup.c: New file.
27247 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
27248 from databases.def.
27249 * nss/service-lookup.c (NO_COMPAT): Remove definition.
27250 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
27251 (netname2user): Call __nss_publickey_lookup2 instead.
27252 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
27253 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
27254 instead.
27255
27256 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27257 Sergei Trofimovich <slyfox@inbox.ru>
27258
27259 [BZ #21908]
27260 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
27261 Rename to MMAP2_PAGE_UNIT.
27262 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
27263 __OFF_T_MATCHES_OFF64_T is not defined.
27264 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
27265 uint64_t.
27266 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
27267 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
27268
27269 2017-08-14 Florian Weimer <fweimer@redhat.com>
27270
27271 i386: Do not set internal_function.
27272 * config.h.in (USE_REGPARMS, internal_function): Remove.
27273 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
27274 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
27275
27276 2017-08-14 Florian Weimer <fweimer@redhat.com>
27277
27278 * elf/dl-init.c (_dl_init): Remove internal_function.
27279 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
27280 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
27281
27282 2017-08-14 Florian Weimer <fweimer@redhat.com>
27283
27284 * elf/rtld.c (_dl_start): Remove internal_function.
27285 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
27286 _dl_start.
27287
27288 2017-08-14 Florian Weimer <fweimer@redhat.com>
27289
27290 * elf/dl-fini.c (_dl_fini): Remove internal_function
27291 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27292
27293 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
27294
27295 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
27296 (bit_cpu_SHSTK): Likewise.
27297 (index_cpu_IBT): Likewise.
27298 (index_cpu_SHSTK): Likewise.
27299 (reg_IBT): Likewise.
27300 (reg_SHSTK): Likewise.
27301 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27302 Handle index_cpu_IBT and index_cpu_SHSTK.
27303
27304 2017-08-14 Mike FABIAN <mfabian@redhat.com>
27305
27306 [BZ #19982]
27307 * po/fr.po: Fix spelling mistake.
27308
27309 2017-08-13 Florian Weimer <fweimer@redhat.com>
27310
27311 * elf/dl-addr.c (_dl_addr): Remove internal_function.
27312 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
27313 (_dl_catch_error, _dl_receive_error): Likewise.
27314 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
27315 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
27316 (_dl_deallocate_tls): Likewise.
27317 * include/dlfcn.h (_dl_addr): Likewise.
27318 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
27319 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
27320 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
27321 Likewise.
27322
27323 2017-08-13 Florian Weimer <fweimer@redhat.com>
27324
27325 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
27326 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
27327 internal_function.
27328 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
27329
27330 2017-08-13 Florian Weimer <fweimer@redhat.com>
27331
27332 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
27333 internal_function.
27334 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
27335 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
27336 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
27337 internal_function from _dl_make_stack_executable_hook member.
27338 (_dl_make_stack_executable): Remove internal_function.
27339 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
27340 Likewise.
27341 * sysdeps/unix/sysv/linux/dl-execstack.c
27342 (_dl_make_stack_executable): Likewise.
27343
27344 2017-08-13 Florian Weimer <fweimer@redhat.com>
27345
27346 * sysdeps/unix/sysv/linux/netlinkaccess.h
27347 (__netlink_assert_response): Remove internal_function.
27348 * sysdeps/unix/sysv/linux/netlink_assert_response.c
27349 (__netlink_assert_response): Likewise.
27350
27351 2017-08-13 Florian Weimer <fweimer@redhat.com>
27352
27353 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
27354 internal_function.
27355 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
27356
27357 2017-08-13 Florian Weimer <fweimer@redhat.com>
27358
27359 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
27360 internal_function.
27361 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
27362 * inet/netgroup.h (__internal_setnetgrent)
27363 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
27364 * inet/getnetgrent_r.c (__internal_setnetgrent)
27365 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
27366 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
27367 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
27368 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
27369 * nss/nsswitch.h (db_lookup_function): Likewise.
27370
27371 2017-08-13 Florian Weimer <fweimer@redhat.com>
27372
27373 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
27374 Remove internal_function.
27375 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
27376 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
27377 message argument on the stack.
27378 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
27379 Likeweise.
27380
27381 2017-08-12 Mike FABIAN <mfabian@redhat.com>
27382
27383 Adapt test case data to the changes in the thousands
27384 separators.
27385
27386 [BZ #20756]
27387 * localedata/tst-langinfo.sh: Adapt test case data.
27388 * stdlib/tst-strfmon_l.c: Likewise.
27389 * stdlib/tst-strtod4.c: Likewise.
27390 * stdlib/tst-strtod5i.c: Likewise.
27391
27392 2017-08-11 Florian Weimer <fweimer@redhat.com>
27393
27394 [BZ #21242]
27395 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
27396 Suppress pedantic warning resulting from statement expression.
27397 (__ASSERT_FUNCTION): Add missing __extension__.
27398
27399 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27400
27401 * benchtests/bench-memmove-large.c: Print output in JSON
27402 format.
27403 * benchtests/bench-memmove.c: Likewise.
27404
27405 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
27406 * benchtests/bench-memchr.c (do_one_test): Likewise.
27407 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
27408 * benchtests/bench-memcpy.c (do_one_test): Likewise.
27409 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
27410 * benchtests/bench-memmove.c (do_one_test): Likewise.
27411 * benchtests/bench-memset-large.c (do_one_test): Likewise.
27412 * benchtests/bench-memset.c (do_one_test): Likewise.
27413 * benchtests/bench-string.h (test_init): Remove memsets.
27414
27415 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
27416
27417 * manual/lang.texi
27418 (Computing the Width of an Integer Data Type): Rename section to
27419 "Width of an Integer Type". Remove inaccurate statement regarding
27420 lack of C language facilities for determining width of integer
27421 types, and reorder content to improve flow and context of
27422 discussion.
27423
27424 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
27425
27426 * lang.texi (va_copy): Change standard from ISO to C99.
27427 (__va_copy): Add standard and header annotation.
27428 Update description for clarity of origins and current use.
27429
27430 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27431
27432 [BZ #21941]
27433 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
27434 xssqrtqp requires operands to be in Vector Registers
27435 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
27436 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
27437 (__ieee754_sqrtf128): Likewise.
27438
27439 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
27440
27441 * sysdeps/aarch64/memcmp.S (memcmp):
27442 Rewrite of optimized memcmp.
27443
27444 2017-08-10 Florian Weimer <fweimer@redhat.com>
27445
27446 Introduce ld.so exceptions.
27447 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
27448 (_dl_exception_create, _dl_exception_create_format)
27449 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
27450 (_dl_catch_exception): Declare.
27451 (_dl_catch_error): Update comment.
27452 * elf/dl-error-skeleton.c (struct catch): Replace objname,
27453 errstring, malloced members with exception member.
27454 (_dl_out_of_memory): Remove.
27455 (fatal_error): New function, extracted from _dl_signal_error.
27456 (_dl_signal_exception, _dl_signal_cexception): New functions.
27457 (_dl_signal_error): Call _dl_exception_create to allocate an
27458 exception object.
27459 (_dl_catch_exception): New function, based on _dl_catch_error.
27460 (_dl_catch_error): Implement using _dl_catch_exception.
27461 * elf/dl-exception.c: New file.
27462 * elf/Makefile (dl-routines): Add dl-exception.
27463 (elide-routines.os): Likewise.
27464 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
27465 _dl_exception_create_format, _dl_exception_free.
27466 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
27467 _dl_signal_exception.
27468 * elf/dl-lookup.c (make_string): Remove.
27469 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
27470 _dl_signal_cexception, _dl_exception_free.
27471 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
27472 _dl_signal_exception.
27473 * elf/dl-sym.c (do_sym): Likewise.
27474 * elf/dl-version.c (make_string): Remove.
27475 (match_symbol): Use _dl_exception_create_format,
27476 _dl_signal_cexception, _dl_exception_free.
27477 (_dl_check_map_versions): Likewise.
27478 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
27479 _dl_catch_exception.
27480 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
27481 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
27482 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
27483 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
27484 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
27485 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
27486 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
27487 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
27488 Likewise.
27489 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
27490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
27491 (ld.so): Likewise.
27492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
27493 (ld.so): Likewise.
27494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
27495 Likewise.
27496 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
27497 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
27498 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
27499 Likewise.
27500 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
27501 Likewise.
27502 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
27503
27504 2017-08-10 Florian Weimer <fweimer@redhat.com>
27505
27506 * inet/net-internal.h (__inet6_scopeid_pton): Remove
27507 attribute_hidden, internal_function.
27508 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
27509 internal_function.
27510
27511 2017-08-10 Florian Weimer <fweimer@redhat.com>
27512
27513 * malloc/malloc.c (get_max_fast): Reimplement as an inline
27514 function which calls __builtin_unreachable.
27515
27516 2017-08-10 Mike FABIAN <mfabian@redhat.com>
27517
27518 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
27519 Indian monetary formatting
27520 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
27521 test cases.
27522
27523 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
27524
27525 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
27526 Fix typo in comment.
27527
27528 [BZ #21928]
27529 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
27530 PTRACE_SEIZE_DEVEL): Remove.
27531 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
27532 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27533 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27534 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27535 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27536
27537 2017-08-09 Joseph Myers <joseph@codesourcery.com>
27538
27539 * posix/bits/types.h (__qaddr_t): Remove.
27540
27541 [BZ #21457]
27542 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
27543 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
27544 __glibc_reserved1.
27545 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
27546 (ucontext_t): Use __ctx with uc_flags.
27547 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
27548 (__ctxt): Likewise.
27549 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
27550 __glibc_reserved1.
27551 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
27552 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
27553 __glibc_reserved1.
27554 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
27555 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
27556 __glibc_reserved1.
27557 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
27558 macro.
27559 (ucontext_t): Use __ctx with uc_flags.
27560 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
27561 (ucontext_t): Use __ctx with uc_flags.
27562 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
27563 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
27564 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
27565 (ucontext_t): Use __ctx with uc_flags.
27566 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
27567 undefine further down.
27568 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
27569 __glibc_reserved1.
27570 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
27571 undefine further down.
27572 (ucontext_t): Use __ctx with uc_flags.
27573 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
27574 undefine further down.
27575 (ucontext_t): Use __ctx with uc_flags.
27576 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
27577 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
27578 Rename uc_pad to __glibc_reserved1.
27579 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
27580 undefine further down.
27581 (ucontext_t): Use __ctx with uc_flags.
27582 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
27583 further down.
27584 (ucontext_t): Use __ctx with uc_flags.
27585 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
27586 __ctx with uc_flags.
27587 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
27588 (ucontext_t): Use __ctx with uc_flags.
27589 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
27590 __ctx with uc_flags.
27591
27592 2017-08-09 Florian Weimer <fweimer@redhat.com>
27593
27594 [BZ #21932]
27595 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
27596 before early return.
27597
27598 2017-08-09 Andreas Schwab <schwab@suse.de>
27599
27600 [BZ #21041]
27601 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
27602 renamed alias.
27603
27604 [BZ #21041]
27605 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
27606 tst-compat-forwarder.
27607 (modules-names): Add tst-compat-forwarder-mod.
27608 ($(objpfx)tst-compat-forwarder): Depend on
27609 $(objpfx)tst-compat-forwarder-mod.so.
27610 * nptl/tst-compat-forwarder.c: New file.
27611 * nptl/tst-compat-forwarder-mod.c: New file.
27612
27613 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
27614
27615 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
27616 comments.
27617
27618 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
27619 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27620 memcpy_falkor.
27621 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
27622 Bump.
27623 (__libc_ifunc_impl_list): Add __memcpy_falkor.
27624 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
27625 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
27626 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27627 Add falkor.
27628 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
27629 New macro.
27630
27631 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27632
27633 [BZ #759]
27634 * manual/setjmp.texi (getcontex): Document uc_stack value
27635 compatibility differences.
27636
27637 2017-08-08 Joseph Myers <joseph@codesourcery.com>
27638
27639 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
27640 (old_malloc_hook): Likewise.
27641 (old_memalign_hook): Likewise.
27642 (old_realloc_hook): Likewise.
27643 (struct hdr): Likewise.
27644 (flood): Likewise.
27645 (freehook): Likewise.
27646 (mallochook): Likewise.
27647 (memalignhook): Likewise.
27648 (reallochook): Likewise.
27649 (mprobe): Likewise.
27650 * malloc/mtrace.c (mallwatch): Likewise.
27651 (tr_old_free_hook): Likewise.
27652 (tr_old_malloc_hook): Likewise.
27653 (tr_old_realloc_hook): Likewise.
27654 (tr_old_memalign_hook): Likewise.
27655 (tr_where): Likewise.
27656 (lock_and_info): Likewise.
27657 (tr_freehook): Likewise.
27658 (tr_mallochook): Likewise.
27659 (tr_reallochook): Likewise.
27660 (tr_memalignhook): Likewise.
27661 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
27662 * misc/mmap.c (__mmap): Likewise.
27663 * misc/mmap64.c (__mmap64): Likewise.
27664 * misc/mprotect.c (__mprotect): Likewise.
27665 * misc/msync.c (msync): Likewise.
27666 * misc/munmap.c (__munmap): Likewise.
27667 * posix/posix_madvise.c (posix_madvise): Likewise.
27668 * socket/send.c (__send): Likewise.
27669 * socket/sendto.c (__sendto): Likewise.
27670 * socket/setsockopt.c (__setsockopt): Likewise.
27671 * string/memcmp.c (__ptr_t): Remove macro.
27672 (MEMCMP): Use void * instead of ptr_t.
27673 * string/memrchr.c (__ptr_t): Remove macro.
27674 (__memrchr): Use void * instead of ptr_t.
27675 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
27676 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27677 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27678 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
27679 * sysdeps/mach/msync.c (msync): Likewise.
27680 * sysdeps/mach/munmap.c (__munmap): Likewise.
27681 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
27682 Likewise.
27683 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27684 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
27685 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
27686 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
27687 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
27688 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
27689 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
27690 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
27691 Likewise.
27692 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
27693 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
27694 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
27695 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
27696 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
27697 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
27698 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
27699 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
27700 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
27701 Likewise.
27702 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
27703 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
27704 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
27705 (MEMCMP): Use void * instead of ptr_t.
27706 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
27707 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
27708
27709 2017-08-08 Florian Weimer <fweimer@redhat.com>
27710
27711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
27712 return statement.
27713
27714 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
27715
27716 [BZ #21913]
27717 * csu/libc-tls.c: Include <startup.h> first.
27718 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
27719 * elf/dl-tunables.c: Include <startup.h> first.
27720 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
27721 * sysdeps/generic/startup.h: New file.
27722 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
27723 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
27724 (I386_USE_SYSENTER): New. Defined to 0.
27725
27726 2017-08-08 Andreas Schwab <schwab@suse.de>
27727
27728 [BZ #21041]
27729 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
27730 * nptl/pt-system.c (system): Likewise.
27731
27732 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27733
27734 [BZ #21780]
27735 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
27736 EOPNOTSUPP.
27737 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
27738 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
27739 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
27740 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
27741 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
27742 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
27743 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
27744
27745 2017-08-07 Joseph Myers <joseph@codesourcery.com>
27746
27747 [BZ #21899]
27748 * bits/sigaction.h (struct sigaction): Define sa_handler and
27749 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
27750 (SA_ONSTACK): Change [__USE_UNIX98] condition to
27751 [__USE_XOPEN_EXTENDED].
27752 (SA_RESTART): Likewise.
27753 (SA_NODEFER): Likewise.
27754 (SA_RESETHAND): Likewise.
27755 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
27756 (struct sigaction): Define sa_handler and sa_sigaction using union
27757 also for [__USE_XOPEN_EXTENDED].
27758 (SA_ONSTACK): Change [__USE_UNIX98] condition to
27759 [__USE_XOPEN_EXTENDED].
27760 (SA_RESTART): Likewise.
27761 (SA_NODEFER): Likewise.
27762 (SA_RESETHAND): Likewise.
27763 * sysdeps/unix/sysv/linux/bits/sigaction.h
27764 (struct sigaction): Define sa_handler and sa_sigaction using union
27765 also for [__USE_XOPEN_EXTENDED].
27766 (SA_ONSTACK): Change [__USE_UNIX98] condition to
27767 [__USE_XOPEN_EXTENDED].
27768 (SA_RESTART): Likewise.
27769 (SA_NODEFER): Likewise.
27770 (SA_RESETHAND): Likewise.
27771 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
27772 (struct sigaction): Define sa_handler and sa_sigaction using union
27773 also for [__USE_XOPEN_EXTENDED].
27774 (SA_ONSTACK): Change [__USE_UNIX98] condition to
27775 [__USE_XOPEN_EXTENDED].
27776 (SA_RESTART): Likewise.
27777 (SA_NODEFER): Likewise.
27778 (SA_RESETHAND): Likewise.
27779 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
27780 (struct sigaction): Define sa_handler and sa_sigaction using union
27781 also for [__USE_XOPEN_EXTENDED].
27782 (SA_ONSTACK): Change [__USE_UNIX98] condition to
27783 [__USE_XOPEN_EXTENDED].
27784 (SA_RESTART): Likewise.
27785 (SA_NODEFER): Likewise.
27786 (SA_RESETHAND): Likewise.
27787 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
27788 (struct sigaction): Define sa_handler and sa_sigaction using union
27789 also for [__USE_XOPEN_EXTENDED].
27790 (SA_ONSTACK): Change [__USE_UNIX98] condition to
27791 [__USE_XOPEN_EXTENDED].
27792 (SA_RESTART): Likewise.
27793 (SA_NODEFER): Likewise.
27794 (SA_RESETHAND): Likewise.
27795 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
27796 (struct sigaction): Define sa_handler and sa_sigaction using union
27797 also for [__USE_XOPEN_EXTENDED].
27798 (SA_ONSTACK): Change [__USE_UNIX98] condition to
27799 [__USE_XOPEN_EXTENDED].
27800 (SA_RESTART): Likewise.
27801 (SA_NODEFER): Likewise.
27802 (SA_RESETHAND): Likewise.
27803 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
27804 (struct sigaction): Define sa_handler and sa_sigaction using union
27805 also for [__USE_XOPEN_EXTENDED].
27806 (SA_ONSTACK): Change [__USE_UNIX98] condition to
27807 [__USE_XOPEN_EXTENDED].
27808 (SA_RESTART): Likewise.
27809 (SA_NODEFER): Likewise. Define directly rather than as alias.
27810 (SA_RESETHAND): Likewise.
27811 (SA_INTERRUPT): Define only for [__USE_MISC].
27812 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
27813 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
27814 [__USE_MISC].
27815 (SA_STACK): Define only for [__USE_MISC].
27816 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
27817 (struct sigaction): Define sa_handler and sa_sigaction using union
27818 also for [__USE_XOPEN_EXTENDED].
27819 (SA_ONSTACK): Change [__USE_UNIX98] condition to
27820 [__USE_XOPEN_EXTENDED].
27821 (SA_RESTART): Likewise.
27822 (SA_NODEFER): Likewise.
27823 (SA_RESETHAND): Likewise.
27824 (SA_NOPTRACE): Define only for [__USE_MISC].
27825
27826 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
27827 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
27828 (struct catalog_info): Likewise.
27829 * inet/htontest.c (lo): Likewise.
27830 (foo): Likewise.
27831 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27832 * inet/inet_net.c (inet_network): Likewise.
27833 * inet/inet_netof.c (inet_netof): Likewise.
27834 * inet/rcmd.c (__ivaliduser): Likewise.
27835 (iruserok): Likewise.
27836 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
27837 * locale/programs/locale-spec.c (locale_special): Likewise.
27838 * nis/nis_findserv.c (struct findserv_req): Likewise.
27839 (__nis_findfastest_with_timeout): Likewise.
27840 * nss/test-netdb.c (test_network): Likewise.
27841 * resolv/inet_neta.c (inet_neta): Likewise.
27842 * resolv/ns_date.c (ns_datetosecs): Likewise.
27843 (SECS_PER_DAY): Likewise.
27844 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
27845 Likewise.
27846 * resolv/res_comp.c (__putlong): Likewise.
27847 (__putshort): Likewise.
27848 (_getlong): Likewise.
27849 (_getshort): Likewise.
27850 * resolv/res_debug.c (p_time): Likewise.
27851 (precsize_ntoa): Likewise.
27852 (precsize_aton): Likewise.
27853 (latlon2ul): Likewise.
27854 (loc_aton): Likewise.
27855 (loc_ntoa): Likewise.
27856 * resolv/res_hconf.c (struct netaddr): Likewise.
27857 (_res_hconf_reorder_addrs): Likewise.
27858 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27859 (clnttcp_control): Likewise.
27860 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27861 (clntudp_control): Likewise.
27862 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27863 (clntunix_control): Likewise.
27864 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27865 * sunrpc/rpc/auth.h (union des_block): Likewise.
27866 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
27867 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
27868 (xdrrec_create): Likewise.
27869 (xdrrec_endofrecord): Likewise.
27870 (flush_out): Likewise.
27871 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
27872 (xdrstdio_putlong): Likewise.
27873 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
27874 Likewise.
27875
27876 * misc/sys/cdefs.h (__long_double_t): Remove.
27877 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
27878 instead of __long_double_t,
27879 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
27880
27881 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
27882
27883 * benchtests/scripts/compare_strings.py: Avoid display error when
27884 running on a text terminal.
27885
27886 * benchtests/scripts/compare_strings.py (main): Add an
27887 optional -base option.
27888 (process_results): New argument base_func.
27889
27890 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
27891 hardcoding memcpy.
27892 * benchtests/bench-memcpy-large.c (test_name): Likewise.
27893 * benchtests/bench-memcpy-random.c (test_name): Likewise.
27894
27895 2017-08-07 Andreas Schwab <schwab@suse.de>
27896
27897 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
27898 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
27899 * intl/Makefile ($(objpfx)tst-gettext.out)
27900 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
27901 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
27902 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
27903 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
27904 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
27905 * posix/Makefile ($(objpfx)globtest.out)
27906 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
27907 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
27908 ($(objpfx)tst-printf.out): Likewise.
27909 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
27910 ($(objpfx)tst-setcontext3.out): Likewise.
27911
27912 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
27913
27914 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27915 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
27916 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
27917 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
27918 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
27919 and mptan-fma.
27920 (CFLAGS-doasin-fma.c): New.
27921 (CFLAGS-dosincos-fma.c): Likewise.
27922 (CFLAGS-e_asin-fma.c): Likewise.
27923 (CFLAGS-e_atan2-fma.c): Likewise.
27924 (CFLAGS-e_exp-fma.c): Likewise.
27925 (CFLAGS-e_log-fma.c): Likewise.
27926 (CFLAGS-e_pow-fma.c): Likewise.
27927 (CFLAGS-halfulp-fma.c): Likewise.
27928 (CFLAGS-mpa-fma.c): Likewise.
27929 (CFLAGS-mpatan-fma.c): Likewise.
27930 (CFLAGS-mpatan2-fma.c): Likewise.
27931 (CFLAGS-mpexp-fma.c): Likewise.
27932 (CFLAGS-mplog-fma.c): Likewise.
27933 (CFLAGS-mpsqrt-fma.c): Likewise.
27934 (CFLAGS-mptan-fma.c): Likewise.
27935 (CFLAGS-s_atan-fma.c): Likewise.
27936 (CFLAGS-sincos32-fma.c): Likewise.
27937 (CFLAGS-slowexp-fma.c): Likewise.
27938 (CFLAGS-slowpow-fma.c): Likewise.
27939 (CFLAGS-s_sin-fma.c): Likewise.
27940 (CFLAGS-s_tan-fma.c): Likewise.
27941 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
27942 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
27943 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
27944 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
27945 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
27946 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
27947 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
27948 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
27949 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
27950 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
27951 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
27952 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
27953 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
27954 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
27955 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
27956 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
27957 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
27958 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
27959 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
27960 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
27961 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
27962 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
27963 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
27964 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
27965 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27966 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27967 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27968 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
27969 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27970 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27971 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27972
27973 2017-08-04 Joseph Myers <joseph@codesourcery.com>
27974
27975 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
27976 (min_of_type_f): New macro.
27977 (min_of_type_): Likewise.
27978 (min_of_type_l): Likewise.
27979 (min_of_type_f128): Likewise.
27980 (min_of_type): Define using __MATH_TG and taking an expression
27981 argument.
27982 (math_check_force_underflow): Pass expression instead of type to
27983 min_of_type.
27984 (math_check_force_underflow_nonneg): Likewise.
27985
27986 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
27987
27988 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
27989 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
27990 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
27991
27992 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
27993
27994 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27995 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
27996 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
27997 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
27998 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
27999 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
28000 memcpy_chk-nonshared, mempcpy_chk-nonshared,
28001 memmove_chk-nonshared and memset_chk-nonshared
28002 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
28003 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
28004 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
28005 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
28006 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
28007 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
28008 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
28009 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
28010 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
28011 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
28012 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
28013 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
28014 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
28015 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
28016 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
28017 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
28018 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
28019 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
28020 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
28021 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
28022 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
28023 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
28024 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
28025 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
28026 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
28027 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
28028 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
28029 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
28030 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
28031 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
28032 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
28033 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
28034 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
28035 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
28036 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
28037 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
28038 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
28039 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
28040 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
28041 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
28042 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
28043 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
28044 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
28045 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
28046 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
28047 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
28048 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
28049 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
28050 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
28051 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
28052 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
28053 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
28054 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
28055 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
28056 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
28057 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
28058 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
28059 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
28060 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
28061 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
28062 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
28063 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
28064 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
28065 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
28066 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
28067 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
28068 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
28069 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
28070 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
28071 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
28072 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
28073 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28074 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28075 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28076 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28077 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28078 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28079 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28080 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28081 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28082 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28083 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28084 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28085 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28086 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28087 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28088 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28089 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28090 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28091 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28092 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28093 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28094 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28095 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28096 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28097 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28098 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28099 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28100 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28101 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28102 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28103 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28104 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28105 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28106 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28107 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28108 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28109 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28110
28111 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28112
28113 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
28114 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
28115 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
28116 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
28117 svml_d_log2_core-sse2, svml_d_log4_core-sse,
28118 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
28119 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
28120 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
28121 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
28122 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
28123 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
28124 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
28125 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
28126 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
28127 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
28128 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
28129 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
28130 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
28131 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
28132 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
28133 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
28134 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
28135 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
28136 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
28137 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
28138 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
28139 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
28140 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
28141 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
28142 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
28143 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
28144 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
28145 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
28146 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
28147 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
28148 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
28149 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
28150 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
28151 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
28152 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
28153 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
28154 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
28155 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
28156 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
28157 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
28158 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
28159 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
28160 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
28161 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
28162 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
28163 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
28164 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
28165 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
28166 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
28167 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
28168 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
28169 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
28170 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
28171 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
28172 ...
28173 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
28174 Don't include <sysdep.h> nor <init-arch.h>.
28175 (_ZGVbN2v_cos): Removed.
28176 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
28177 ...
28178 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
28179 Don't include <sysdep.h> nor <init-arch.h>.
28180 (_ZGVdN4v_cos): Removed.
28181 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
28182 ...
28183 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
28184 Don't include <sysdep.h> nor <init-arch.h>.
28185 (_ZGVeN8v_cos): Removed.
28186 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
28187 ...
28188 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
28189 Don't include <sysdep.h> nor <init-arch.h>.
28190 (_ZGVbN2v_exp): Removed.
28191 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
28192 ...
28193 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
28194 Don't include <sysdep.h> nor <init-arch.h>.
28195 (_ZGVdN4v_exp): Removed.
28196 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
28197 ...
28198 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
28199 Don't include <sysdep.h> nor <init-arch.h>.
28200 (_ZGVeN8v_exp): Removed.
28201 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
28202 ...
28203 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
28204 Don't include <sysdep.h> nor <init-arch.h>.
28205 (_ZGVbN2v_log): Removed.
28206 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
28207 ...
28208 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
28209 Don't include <sysdep.h> nor <init-arch.h>.
28210 (_ZGVdN4v_log): Removed.
28211 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
28212 ...
28213 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
28214 Don't include <sysdep.h> nor <init-arch.h>.
28215 (_ZGVeN8v_log): Removed.
28216 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
28217 ...
28218 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
28219 Don't include <sysdep.h> nor <init-arch.h>.
28220 (_ZGVbN2vv_pow): Removed.
28221 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
28222 ...
28223 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
28224 Don't include <sysdep.h> nor <init-arch.h>.
28225 (_ZGVdN4vv_pow): Removed.
28226 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
28227 ...
28228 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
28229 Don't include <sysdep.h> nor <init-arch.h>.
28230 (_ZGVeN8vv_pow): Removed.
28231 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
28232 ...
28233 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
28234 Don't include <sysdep.h> nor <init-arch.h>.
28235 (_ZGVbN2v_sin): Removed.
28236 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
28237 ...
28238 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
28239 Don't include <sysdep.h> nor <init-arch.h>.
28240 (_ZGVbN4v_sin): Removed.
28241 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
28242 ...
28243 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
28244 Don't include <sysdep.h> nor <init-arch.h>.
28245 (_ZGVbN8v_sin): Removed.
28246 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
28247 ...
28248 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
28249 Don't include <sysdep.h> nor <init-arch.h>.
28250 (_ZGVbN2vvv_sincos): Removed.
28251 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
28252 ...
28253 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
28254 Don't include <sysdep.h> nor <init-arch.h>.
28255 (_ZGVdN4vvv_sincos): Removed.
28256 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
28257 ...
28258 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
28259 Don't include <sysdep.h> nor <init-arch.h>.
28260 (_ZGVeN8vvv_sincos): Removed.
28261 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
28262 ...
28263 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
28264 Don't include <sysdep.h> nor <init-arch.h>.
28265 (_ZGVeN16v_cosf): Removed.
28266 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
28267 ...
28268 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
28269 Don't include <sysdep.h> nor <init-arch.h>.
28270 (_ZGVbN4v_cosf): Removed.
28271 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
28272 ...
28273 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
28274 Don't include <sysdep.h> nor <init-arch.h>.
28275 (_ZGVdN8v_cosf): Removed.
28276 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
28277 ...
28278 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
28279 Don't include <sysdep.h> nor <init-arch.h>.
28280 (_ZGVeN16v_expf): Removed.
28281 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
28282 ...
28283 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
28284 Don't include <sysdep.h> nor <init-arch.h>.
28285 (_ZGVbN4v_expf): Removed.
28286 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
28287 ...
28288 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
28289 Don't include <sysdep.h> nor <init-arch.h>.
28290 (_ZGVdN8v_expf): Removed.
28291 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
28292 ...
28293 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
28294 Don't include <sysdep.h> nor <init-arch.h>.
28295 (_ZGVeN16v_logf): Removed.
28296 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
28297 ...
28298 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
28299 Don't include <sysdep.h> nor <init-arch.h>.
28300 (_ZGVbN4v_logf): Removed.
28301 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
28302 ...
28303 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
28304 Don't include <sysdep.h> nor <init-arch.h>.
28305 (_ZGVdN8v_logf): Removed.
28306 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
28307 ...
28308 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
28309 Don't include <sysdep.h> nor <init-arch.h>.
28310 (_ZGVeN16vv_powf): Removed.
28311 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
28312 ...
28313 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
28314 Don't include <sysdep.h> nor <init-arch.h>.
28315 (_ZGVbN4vv_powf): Removed.
28316 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
28317 ...
28318 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
28319 Don't include <sysdep.h> nor <init-arch.h>.
28320 (_ZGVdN8vv_powf): Removed.
28321 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
28322 ...
28323 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
28324 Don't include <sysdep.h> nor <init-arch.h>.
28325 (_ZGVeN16vvv_sincosf): Removed.
28326 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
28327 ...
28328 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
28329 Don't include <sysdep.h> nor <init-arch.h>.
28330 (_ZGVbN4vvv_sincosf): Removed.
28331 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
28332 ...
28333 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
28334 Don't include <sysdep.h> nor <init-arch.h>.
28335 (_ZGVdN8vvv_sincosf): Removed.
28336 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
28337 ...
28338 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
28339 Don't include <sysdep.h> nor <init-arch.h>.
28340 (_ZGVeN16v_sinf): Removed.
28341 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
28342 ...
28343 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
28344 Don't include <sysdep.h> nor <init-arch.h>.
28345 (_ZGVbN4v_sinf): Removed.
28346 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
28347 ...
28348 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
28349 Don't include <sysdep.h> nor <init-arch.h>.
28350 (_ZGVdN8v_sinf): Removed.
28351
28352 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28353
28354 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28355 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
28356 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
28357 s_rint-sse4_1 and s_rintf-sse4_1.
28358 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
28359 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
28360 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
28361 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
28362 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
28363 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
28364 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
28365 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
28366 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
28367 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
28368 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
28369 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28370 (__ceil): Removed.
28371 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
28372 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
28373 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28374 (__ceilf): Removed.
28375 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
28376 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
28377 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28378 (__floor): Removed.
28379 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
28380 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
28381 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28382 (__floorf): Removed.
28383 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
28384 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
28385 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28386 (__nearbyint): Removed.
28387 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
28388 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
28389 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28390 (__nearbyintf): Removed.
28391 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
28392 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
28393 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28394 (__rint): Removed.
28395 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
28396 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
28397 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28398 (__rintf): Removed.
28399
28400 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28401
28402 * sysdeps/i386/start.S (_start): Check Check PIC instead of
28403 SHARED. Avoid dynamic relocation against main in static PIE.
28404
28405 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28406
28407 [BZ #21815]
28408 * elf/Makefile (CFLAGS-tst-prelink.c): New.
28409 (LDFLAGS-tst-prelink): Likewise.
28410
28411 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28412
28413 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
28414 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
28415 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
28416 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
28417 (INTERNAL_SYSCALL_NCS): Likewise.
28418 (LOADARGS_1): Likewise.
28419 (LOADARGS_5): Likewise.
28420 (RESTOREARGS_1): Likewise.
28421 (RESTOREARGS_5): Likewise.
28422
28423 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28424
28425 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
28426 (MEMPCPY_SYMBOL): Likewise.
28427 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28428 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
28429 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
28430 in libc.a.
28431 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28432 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
28433 Likewise.
28434 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
28435 (__hidden_ver1): Don't use in libc.a.
28436 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
28437 (__mempcpy): Don't create a weak alias in libc.a.
28438 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
28439 libc.a.
28440 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
28441 (__hidden_ver1): Don't use in libc.a.
28442
28443 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28444
28445 * config.make.in (have-insert): New.
28446 * configure.ac (libc_cv_insert): New. Set to yes if linker
28447 supports INSERT in linker script.
28448 (AC_SUBST(libc_cv_insert): New.
28449 * configure: Regenerated.
28450 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
28451 if $(have-insert) == yes.
28452
28453 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28454
28455 * elf/Makefile (tests): Add vismain only if
28456 $(have-protected-data) == yes.
28457 (tests-pie): Likewise.
28458
28459 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28460
28461 [BZ #21871]
28462 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
28463 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
28464
28465 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28466
28467 [BZ #21790]
28468 * sysdeps/i386/i586/memset.S
28469 (__memset_zero_constant_len_parameter): Removed.
28470 * sysdeps/i386/i686/memset.S
28471 (__memset_zero_constant_len_parameter): Likewise.
28472 * sysdeps/i386/i686/multiarch/memset_chk.S
28473 (__memset_zero_constant_len_parameter): Likewise.
28474 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
28475 Likewise.
28476
28477 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
28478
28479 * stdlib/getentropy.c (getentropy): Change return type to int.
28480
28481 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
28482
28483 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
28484
28485 2017-08-03 Joseph Myers <joseph@codesourcery.com>
28486
28487 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
28488 u_intN_t.
28489 * math/s_nexttowardf.c (__nexttowardf): Likewise.
28490 * sysdeps/generic/math_private.h (ieee_double_shape_type):
28491 Likewise.
28492 (ieee_float_shape_type): Likewise.
28493 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
28494 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
28495 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
28496 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28497 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28498 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
28499 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
28500 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
28501 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
28502 Likewise.
28503 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
28504 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28505 (__ieee754_yn): Likewise.
28506 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28507 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28508 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
28509 Likewise.
28510 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28511 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
28512 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
28513 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
28514 (__erfc): Likewise.
28515 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
28516 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
28517 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
28518 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
28519 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
28520 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
28521 Likewise.
28522 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
28523 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
28524 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
28525 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
28526 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
28527 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
28528 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
28529 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
28530 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
28531 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
28532 (__issignaling): Likewise.
28533 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
28534 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
28535 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
28536 Likewise.
28537 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28538 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28539 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
28540 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
28541 Likewise.
28542 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
28543 Likewise.
28544 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
28545 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
28546 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
28547 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
28548 (__erfcf): Likewise.
28549 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
28550 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
28551 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
28552 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
28553 Likewise.
28554 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
28555 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
28556 Likewise.
28557 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
28558 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
28559 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
28560 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
28561 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
28562 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28563 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
28564 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
28565 Likewise.
28566 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
28567 Likewise.
28568 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
28569 Likewise.
28570 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
28571 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
28572 Likewise.
28573 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28574 Likewise.
28575 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28576 (__ieee754_ynl): Likewise.
28577 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
28578 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
28579 Likewise.
28580 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
28581 Likewise.
28582 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
28583 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
28584 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28585 Likewise.
28586 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
28587 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
28588 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
28589 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
28590 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
28591 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
28592 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
28593 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
28594 Likewise.
28595 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
28596 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
28597 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
28598 Likewise.
28599 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
28600 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
28601 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
28602 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
28603 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
28604 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28605 Likewise.
28606 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
28607 Likewise.
28608 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28609 Likewise.
28610 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28611 Likewise.
28612 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
28613 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28614 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28615 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
28616 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
28617 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
28618 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
28619 Likewise.
28620 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28621 Likewise.
28622 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28623 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28624 Likewise.
28625 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
28626 (__ieee754_remainderl): Likewise.
28627 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28628 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28629 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28630 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28631 Likewise.
28632 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28633 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28634 Likewise.
28635 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28636 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
28637 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
28638 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
28639 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
28640 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
28641 Likewise.
28642 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
28643 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
28644 (__ieee754_y0l): Likewise.
28645 (pzero): Likewise.
28646 (qzero): Likewise.
28647 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28648 (__ieee754_y1l): Likewise.
28649 (pone): Likewise.
28650 (qone): Likewise.
28651 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28652 (__ieee754_ynl): Likewise.
28653 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
28654 (__ieee754_lgammal_r): Likewise.
28655 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
28656 Likewise.
28657 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
28658 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
28659 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
28660 (__erfcl): Likewise.
28661 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
28662 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
28663 Likewise.
28664 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
28665 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
28666 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
28667 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
28668 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
28669 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28670 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28671 Likewise.
28672 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
28673 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28674 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
28675 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
28676 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28677 Likewise.
28678 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
28679 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
28680 Likewise.
28681 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
28682 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
28683 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
28684 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
28685 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
28686
28687 2017-08-03 Florian Weimer <fweimer@redhat.com>
28688
28689 [BZ #21885]
28690 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
28691 on memory allocation failure.
28692
28693 2017-08-03 Alan Modra <amodra@gmail.com>
28694
28695 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
28696 tst-tlsopt-powerpc.c with function name change and no test harness.
28697 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
28698 Call tls_get_addr_opt_test.
28699 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
28700 (modules-names): Add mod-tlsopt-powerpc.
28701 (mod-tlsopt-powerpc.so-no-z-defs): Define.
28702 (tst-tlsopt-powerpc): Depend on .so.
28703 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
28704 define. Expand use in TLS_GD and TLS_LD.
28705
28706 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28707
28708 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
28709 function.
28710 * sysdeps/posix/shm_open.c: Include <pthread.h>.
28711
28712 2017-08-02 Joseph Myers <joseph@codesourcery.com>
28713
28714 [BZ #21686]
28715 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
28716 comparing size with that of double.
28717 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28718 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28719 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
28720 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28721 (__TGMATH_BINARY_REAL_IMAG): Likewise.
28722 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
28723 unsigned __int128 types.
28724
28725 2017-08-02 Steve Ellcey <sellcey@cavium.com>
28726
28727 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
28728 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
28729 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
28730 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
28731 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
28732
28733 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
28734
28735 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
28736
28737 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
28738
28739 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
28740 of SHARED.
28741 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
28742 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28743 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28744 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28745 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28746 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28747 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28748
28749 2017-08-02 Joseph Myers <joseph@codesourcery.com>
28750
28751 [BZ #21685]
28752 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
28753 bit-field expressions passed to sizeof or typeof.
28754 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28755 (__TGMATH_F128): Likewise.
28756 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28757 (__TGMATH_CF128): Likewise.
28758 (__TGMATH_UNARY_REAL_ONLY): Likewise.
28759 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
28760 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
28761 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
28762 (__TGMATH_BINARY_REAL_ONLY): Likewise.
28763 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
28764 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
28765 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
28766 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
28767 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
28768 (__TGMATH_UNARY_REAL_IMAG): Likewise.
28769 (__TGMATH_UNARY_IMAG): Likewise.
28770 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
28771 (__TGMATH_BINARY_REAL_IMAG): Likewise.
28772 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
28773 type.
28774 (define_vars_for_type): Handle bit_field type specially.
28775 (Tests.__init__): Declare structure with bit-field element.
28776
28777 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
28778
28779 [BZ #21791]
28780 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
28781 (MEMCPY_CHK): Define only if SHARED is defined.
28782 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
28783 Likewise.
28784 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
28785 Likewise.
28786
28787 See ChangeLog.18 for earlier changes.