]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
regex: fix heap-use-after-free error
[thirdparty/glibc.git] / ChangeLog
1 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2
3 regex: fix heap-use-after-free error
4 [BZ #18040]
5 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6 https://debbugs.gnu.org/32592
7 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
8 call extend_buffers which reallocates the re_string_t internal buffer.
9 Local variable 'buf' was not updated in such case, resulting in
10 use-after-free.
11 * posix/regexec.c (get_subexp): Update 'buf' after call to
12 get_subexp_sub.
13
14 2018-12-15 Florian Weimer <fweimer@redhat.com>
15
16 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
17 (minimum_stride_size): Use it.
18 (support_blob_repeat_allocate): Likewise.
19
20 2018-12-14 Joseph Myers <joseph@codesourcery.com>
21
22 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
23 definition.
24 (acosh): Likewise.
25 (atanh): Likewise.
26
27 2018-12-14 Florian Weimer <fweimer@redhat.com>
28
29 * manual/process.texi (Process Creation Concepts): Remove
30 documentation of process (ID) lifetime. List more process
31 creation functions. Reference Process Identification section.
32 (Process Identification): Add information about process ID
33 lifetime. Describe Linux thread/task IDs.
34 * manual/signal.texi (Signaling Another Process): Mention that the
35 signal is always sent to the process.
36
37 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
38
39 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
40 and tst-ldbl-efgcvt.
41 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
42 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
43 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
44 (fcvt_tests, output_error, output_r_error, do_test): Use the
45 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
46 select the type of floating-point variables and arguments; to
47 produce extra tests for double and conversion specifiers for
48 printf; and to set the names of called functions.
49 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
50 in tst-efgcvt-template.c.
51 * misc/tst-ldbl-efgcvt.c: Likewise.
52
53 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
54
55 * nss/Makefile (tst-nss-test3.out): New rule.
56
57 2018-12-13 Joseph Myers <joseph@codesourcery.com>
58
59 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
60 clobber sp.
61
62 2018-12-13 fanjinke <fanjinke@hygon.cn>
63
64 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
65 "HygonGenuine".
66
67 2018-12-13 Andreas Schwab <schwab@suse.de>
68
69 [BZ #23861]
70 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
71 (__pthread_rwlock_rdlock_full): Update expected value for
72 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
73 * nptl/tst-rwlock-pwn.c: New file.
74 * nptl/Makefile (tests): Add tst-rwlock-pwn.
75
76 2018-12-12 Joseph Myers <joseph@codesourcery.com>
77
78 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
79 definition.
80
81 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
82
83 * benchtests/scripts/compare_bench.py (do_compare): write to
84 stderr in casestat is not present.
85 * benchtests/scripts/compare_bench.py (plot_graphs): write to
86 stderr in case timings field is not present. Also string showing
87 the output filename goes into the stderr.
88
89 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
90
91 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
92 and ZeroDivisorError exceptions.
93 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
94 argument to loop through user provided statistics.
95 * benchtests/scripts/compare_bench.py (main): Include the --stats
96 argument.
97
98 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
99
100 * benchtests/scripts/compare_bench.py (compare_runs): Continue
101 instead of return.
102
103 2018-12-12 Florian Weimer <fweimer@redhat.com>
104
105 * sysdeps/posix/timespec_get.c: Add missing “any later version”
106 clause to copyright header.
107
108 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
109
110 [BZ #23614]
111 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
112 registers saved in the stack frame.
113 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
114 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
115
116 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
117
118 * include/bits/monetary-ldbl.h: New file.
119 * include/bits/printf-ldbl.h: Likewise.
120 * include/bits/stdio-ldbl.h: Likewise.
121 * include/bits/stdlib-ldbl.h: Likewise.
122 * include/bits/syslog-ldbl.h: Likewise.
123 * include/bits/wchar-ldbl.h: Likewise.
124
125 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
126
127 * libio/libio.h: Remove redirection for _IO_vfprintf.
128
129 2018-12-11 Andreas Schwab <schwab@suse.de>
130
131 * Makerules: Remove all references to abilist-pattern.
132 (update-all-abi): Simplify find expression.
133
134 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
135
136 [BZ #23961]
137 * math/auto-libm-test-in: Add new test case.
138 * math/auto-libm-test-out-pow: Regenerated.
139 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
140
141 2018-12-10 DJ Delorie <dj@redhat.com>
142
143 [BZ #23948]
144 * support/test-container.c: Move postclean step to before we
145 change namespaces.
146
147 2018-12-10 Joseph Myers <joseph@codesourcery.com>
148
149 * scripts/gen-as-const.py (main): Handle --python option.
150 * scripts/gen-py-const.awk: Remove.
151 * Makerules (py-const-script): Use gen-as-const.py.
152 ($(py-const)): Likewise.
153 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
154 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
155 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
156 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
157 ~PTHREAD_MUTEX_NO_ELISION_NP.
158 * manual/README.pretty-printers: Update reference to
159 gen-py-const.awk.
160
161 * scripts/glibcextract.py: New file.
162 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
163 or tempfile. Import glibcexctract.
164 (compute_c_consts): Remove. Moved to glibcextract.py.
165 (gen_test): Update reference to compute_c_consts.
166 (main): Likewise.
167 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
168 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
169 * sysdeps/unix/sysv/linux/Makefile
170 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
171 Redirect stderr as well as stdout.
172
173 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
174
175 [BZ #19767]
176 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
177 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
178 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
179 ALWAYS_USE_VSYSCALL.
180 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
181 ALWAYS_USE_VSYSCALL.
182 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
183 ALWAYS_USE_VSYSCALL.
184
185 2018-12-10 Florian Weimer <fweimer@redhat.com>
186
187 [BZ #23972]
188 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
189 offset instead of count for clarity. Fix typo in comment.
190 (__old_getdents64): Keep track of previous offset. Use it to call
191 handle_overflow.
192 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
193 that d_off is never zero.
194
195 2018-12-10 Andreas Schwab <schwab@suse.de>
196
197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
198 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
200 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
201 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
202
203 2018-12-10 Joseph Myers <joseph@codesourcery.com>
204
205 * timezone/private.h: Update from tzcode 2018g.
206 * timezone/tzfile.h: Likewise.
207 * timezone/tzselect.ksh: Likewise.
208 * timezone/zdump.c: Likewise.
209 * timezone/zic.c: Likewise.
210
211 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
212
213 [BZ #23490]
214 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
215 (do_test): Adjust buffer size and fix format.
216
217 2018-12-07 DJ Delorie <dj@redhat.com>
218
219 [BZ #23907]
220 * malloc/tst-tcfree3.c: New.
221 * malloc/Makefile: Add it.
222
223 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
224
225 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
226
227 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
228
229 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
230 used as a mask for the mode argument of __vfscanf_internal and
231 __vfwscanf_internal.
232 * stdio-common/vfscanf-internal.c
233 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
234 (__strtof128_internal): Define to __wcstof128_internal.
235 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
236 __strtof128_internal or __wcstof128_internal when the format of
237 long double is the same as _Float128.
238
239 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
240
241 * include/unistd.h (__confstr): Add prototype and hidden prototype.
242 * posix/confstr.c (confstr): Rename to __confstr.
243 (__confstr): Add hidden def.
244 (confstr): Add weak alias for __confstr.
245 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
246 confstr.
247
248 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
249
250 * NEWS: Mention getcpu.
251 * include/sched.h (__getcpu): New libc_hidden_proto.
252 * manual/resource.texi: Document getcpu.
253 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
254 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
255 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
256 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
257 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
258 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
259 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
260 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
261 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
262 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
263 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
264 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
265 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
266 Likewise.
267 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
268 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
269 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
271 Likewise.
272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
273 Likewise.
274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
275 Likewise.
276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
277 Likewise.
278 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
279 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
280 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
281 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
282 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
283 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
284 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
285 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
286 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
287 * sysdeps/unix/sysv/linux/getcpu.c: New file.
288 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
289 Also check getcpu.
290
291 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
292
293 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
294 functions.
295 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
296
297 2018-12-07 Florian Weimer <fweimer@redhat.com>
298
299 [BZ #17405]
300 * posix/Makefile (routines): Add spawn_faction_addfchdir.
301 * posix/Versions (GLIBC_2.29): Export
302 posix_spawn_file_actions_addfchdir_np.
303 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
304 * posix/spawn_faction_destroy.c
305 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
306 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
307 and the field action.fchdir_action.
308 * posix/tst-spawn-chdir.c (add_chdir): New function.
309 (do_test): Add do_fchdir loop. Call add_chdir.
310 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
311 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
312 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
313 posix_spawn_file_actions_addfchdir_np.
314 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
315 Likewise.
316 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
317 Likewise.
318 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
319 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
320 Likewise.
321 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
322 Likewise.
323 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
324 Likewise.
325 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
326 Likewise.
327 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
328 Likewise.
329 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
330 Likewise.
331 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
332 (GLIBC_2.29): Likewise.
333 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
334 (GLIBC_2.29): Likewise.
335 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
336 (GLIBC_2.29): Likewise.
337 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
338 (GLIBC_2.29): Likewise.
339 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
340 Likewise.
341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
342 (GLIBC_2.29): Likewise.
343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
344 (GLIBC_2.29): Likewise.
345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
346 (GLIBC_2.29): Likewise.
347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
348 (GLIBC_2.29): Likewise.
349 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
350 Likewise.
351 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
352 Likewise.
353 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
354 Likewise.
355 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
356 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
357 Likewise.
358 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
359 Likewise.
360 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
361 Likewise.
362 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
363 Likewise.
364
365 2018-12-06 Joseph Myers <joseph@codesourcery.com>
366
367 * manual/texinfo.tex: Update to version 2018-09-21.20 with
368 trailing whitespace removed.
369 * scripts/config.guess: Update to version 2018-11-28.
370 * scripts/config.sub: Update to version 2018-11-28.
371 * scripts/install-sh: Update to version 2018-03-11.20.
372 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
373 * scripts/move-if-change: Update to version 2018-03-07 03:47.
374
375 2018-12-07 Florian Weimer <fweimer@redhat.com>
376
377 [BZ #23927]
378 CVE-2018-19591
379 * inet/tst-if_index-long.c: New file.
380 * inet/Makefile (tests): Add tst-if_index-long.
381
382 2018-12-07 Florian Weimer <fweimer@redhat.com>
383
384 * support/check.h (support_record_failure_is_failed): Declare.
385 * support/descriptors.h: New file.
386 * support/support_descriptors.c: Likewise.
387 * support/tst-support_descriptors.c: Likewise.
388 * support/support_record_failure.c
389 (support_record_failure_is_failed): New function.
390 * support/Makefile (libsupport-routines): Add support_descriptors.
391 (tests): Add tst-support_descriptors.
392
393 2018-12-05 Zack Weinberg <zackw@panix.com>
394 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
395
396 * stdio-common/vfprintf-internal.c
397 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
398 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
399 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
400 and __no_long_double.
401 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
402 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
403 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
404 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
405 and __nldbl_*syslog* functions.
406 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
407 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
408 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
409 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
410 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
411 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
412 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
413 (__nldbl_vwprintf, __nldbl_wprintf):
414 Directly call the appropriate __v*printf_internal routine, passing
415 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
416 variable names.
417 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
418 (__nldbl___printf_chk, __nldbl___snprintf_chk)
419 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
420 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
421 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
422 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
423 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
424 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
425 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
426 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
427 Likewise, and also pass PRINTF_FORTIFY when appropriate.
428 (__nldbl_syslog, __nldbl_vsyslog):
429 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
430 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
431 appropriate.
432 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
433 appropriate.
434
435 2018-12-05 Zack Weinberg <zackw@panix.com>
436 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
437
438 [BZ #11319]
439 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
440 Moved here from debug/vsprintf_chk.c.
441 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
442 and completion logic for the strfile to match exactly what
443 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
444 _IO_str_init_static_internal instead of maxlen-1.
445 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
446 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
447 __vsprintf_internal.
448
449 * debug/vsprintf_chk.c (__vsprintf_chk)
450 * debug/sprintf_chk.c (__sprintf_chk):
451 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
452 'flags' argument is positive, and slen as maxlen. No need to lock
453 the FILE and/or construct a temporary FILE. Minimize and normalize
454 header inclusions and variable names. Do not libc_hidden_def anything.
455
456 * debug/asprintf_chk.c (__asprintf_chk)
457 * debug/dprintf_chk.c (__dprintf_chk)
458 * debug/fprintf_chk.c (__fprintf_chk)
459 * debug/fwprintf_chk.c (__fwprintf_chk)
460 * debug/printf_chk.c (__printf_chk)
461 * debug/snprintf_chk.c (__snprintf_chk)
462 * debug/swprintf_chk.c (__swprintf_chk)
463 * debug/vasprintf_chk.c (__vasprintf_chk)
464 * debug/vdprintf_chk.c (__vdprintf_chk)
465 * debug/vfprintf_chk.c (__vfprintf_chk)
466 * debug/vfwprintf_chk.c (__vfwprintf_chk)
467 * debug/vprintf_chk.c (__vprintf_chk)
468 * debug/vsnprintf_chk.c (__vsnprintf_chk)
469 * debug/vswprintf_chk.c (__vswprintf_chk)
470 * debug/vwprintf_chk.c (__vwprintf_chk)
471 * debug/wprintf_chk.c (__wprintf_chk):
472 Directly call the corresponding vxxprintf_internal function, passing
473 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
474 the FILE and/or construct a temporary FILE. Minimize and normalize
475 header inclusions and variable names. Do not libc_hidden_def anything.
476
477 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
478 __obstack_vprintf_internal.
479 (__obstack_vprintf_chk): Convert into a wrapper that calls
480 __obstack_vprintf_internal (these two functions already had the
481 same code) and move to new file...
482 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
483 file.
484 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
485 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
486 * debug/Makefile (routines): Add vobprintf_chk.
487
488 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
489 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
490 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
491 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
492 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
493 (__nldbl___obstack_vfprintf_chk):
494 Directly call the corresponding vxxprintf_internal function,
495 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
496 duplicate comparison of slen with 0 or maxlen from the corresponding
497 non-__nldbl function.
498
499 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
500 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
501 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
502 Remove libc_hidden_proto.
503
504 * stdio-common/vfprintf-internal.c
505 (__vfprintf_internal, __vfwprintf_internal):
506 Do not check _IO_FLAGS2_FORTIFY.
507 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
508 * libio/libioP.h: Update prototype of __vsprintf_internal and add
509 a comment explaining why it has the maxlen argument.
510 (_IO_acquire_lock_clear_flags2_fct): Remove.
511 (_IO_acquire_lock_clear_flags2): Remove.
512 (_IO_release_lock): Remove conditional statement which will
513 now never execute.
514 (_IO_acquire_lock): Remove variable which is now unused.
515 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
516 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
517
518 * stdio-common/Makefile (tests): Add tst-bz11319 and
519 tst-bz11319-fortify2.
520 (CFLAGS-tst-bz11319-fortify2.c): New macro.
521 * stdio-common/tst-bz11319-fortify2.c: New file.
522 * stdio-common/tst-bz11319.c: Likewise.
523
524 2018-12-05 Zack Weinberg <zackw@panix.com>
525 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
526
527 * misc/syslog.c: Include libioP.h, not iolibio.h.
528 (__vsyslog_internal): New function with the former body of
529 __vsyslog_chk; takes mode_flags argument same as
530 __v*printf_internal. Call __vfprintf_internal directly.
531
532 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
533 Remove libc_hidden_def.
534 (__syslog, __syslog_chk): Use __vsyslog_internal.
535 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
536
537 * include/sys/syslog.h: Add multiple inclusion guard.
538 Add prototype for __vsyslog_internal.
539 Remove declaration and libc_hidden_proto for __vsyslog_chk.
540
541 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
542 Use __vsyslog_internal.
543
544 2018-12-05 Zack Weinberg <zackw@panix.com>
545 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
546
547 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
548 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
549 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
550 New functions.
551 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
552 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
553
554 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
555 Include wctype.h here if COMPILE_WPRINTF is defined.
556 Define __vfprintf_internal or __vfwprintf_internal, depending
557 on COMPILE_WPRINTF.
558 Temporarily, on entry to this function, update mode_flags
559 according to the environmental settings corresponding to
560 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
561 Throughout, check mode_flags instead of __ldbl_is_dbl and
562 _IO_FLAGS2_FORTIFY on the destination FILE.
563 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
564 Include vfprintf-internal.c. Don't include wctype.h.
565 * stdio-common/vfprintf.c: New file. Just define __vfprintf
566 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
567 and vfprintf.
568 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
569 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
570 and vfwprintf.
571 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
572
573 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
574 and add mode_flags argument; use __vfprintf_internal.
575 (__vdprintf): New function. Alias vdprintf to this.
576 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
577 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
578 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
579 (__obstack_printf): Use __obstack_printf_internal.
580 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
581 public aliases __vsnprintf and vsnprintf.
582 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
583 called internally.
584 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
585 public aliases _IO_vsprintf and vsprintf.
586 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
587 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
588 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
589 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
590 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
591
592 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
593 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
594 * stdio-common/fprintf.c, stdio-common/fxprintf.c
595 * stdio-common/printf.c: Use __vfprintf_internal.
596
597 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
598 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
599 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
600
601 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
602 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
603 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
604 __vfwprintf_internal.
605
606 * libio/libio.h: Remove libc_hidden_proto and declaration for
607 _IO_vfprintf.
608 Remove declaration of _IO_vfwprintf.
609 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
610 _IO_vsprintf.
611 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
612 _IO_obstack_printf.
613 * include/stdio.h: Add prototype for __vasprintf.
614 (__vsnprintf): Remove declaration, because there are no more
615 internal calls.
616 * include/wchar.h (__vfwprintf, __vswprintf): Remove
617 declaration, because there are no more internal calls.
618
619 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
620 __vsnprintf_internal, instead of _IO_vsnprintf.
621 * argp/argp-help.c (__argp_error, __argp_failure): Use
622 __vasprintf_internal, instead of _IO_vasprintf.
623 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
624 redefine, because there are no more internal calls.
625
626 2018-12-05 Zack Weinberg <zackw@panix.com>
627 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
628
629 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
630 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
631 Include libio/strfile.h instead of libioP.h.
632 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
633 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
634 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
635 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
636 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
637 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
638 necessary. Do not set __no_long_double. Normalize variable names.
639 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
640 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
641 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
642 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
643 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
644 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
645 Call __vfscanf_internal / __vfwscanf_internal directly, passing
646 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
647 Do not set __no_long_double. Normalize variable names.
648
649 2018-12-05 Zack Weinberg <zackw@panix.com>
650 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
651
652 * stdio-common/isoc99_scanf.c
653 * stdio-common/isoc99_fscanf.c
654 * stdio-common/isoc99_sscanf.c
655 * stdio-common/isoc99_vscanf.c
656 * stdio-common/isoc99_vfscanf.c
657 * stdio-common/isoc99_vsscanf.c
658 * wcsmbs/isoc99_wscanf.c
659 * wcsmbs/isoc99_fwscanf.c
660 * wcsmbs/isoc99_swscanf.c
661 * wcsmbs/isoc99_vwscanf.c
662 * wcsmbs/isoc99_vfwscanf.c
663 * wcsmbs/isoc99_vswscanf.c:
664 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
665 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
666 No need to lock and unlock the FILE passed to that function.
667
668 * stdio-common/vfscanf-internal.c
669 (__vfscanf_internal, __vfwscanf_internal):
670 Don't look at _IO_FLAGS2_SCANF_STD.
671 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
672 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
673 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
674
675 2018-12-05 Zack Weinberg <zackw@panix.com>
676 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
677
678 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
679 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
680 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
681 * libio/strfile.h: Add multiple inclusion guard.
682 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
683
684 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
685 consistency with the other version of this file.
686 (ldbl_compat_symbol): New macro.
687 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
688 New macro.
689
690 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
691 Define __vfscanf_internal or __vfwscanf_internal, depending on
692 COMPILE_WSCANF; don't define any other public symbols.
693 Remove errval and code to set errp.
694 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
695 as the mode_flags argument.
696 (encode_error, conv_error, input_error): Don't set errval.
697 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
698 Include vfscanf-internal.c.
699 * stdio-common/vfscanf.c: New file defining the public entry
700 point vfscanf, which calls __vfscanf_internal.
701 * stdio-common/vfwscanf.c: New file defining the public entry
702 point vfwscanf, which calls __vfwscanf_internal.
703
704 * stdio-common/iovfscanf.c: New file.
705 * stdio-common/iovfwscanf.c: Likewise.
706
707 * stdio-common/Makefile (routines): Add vfscanf-internal,
708 vfwscanf-internal, iovfscanf, iovfwscanf.
709 * stdio-common/Versions: Mention GLIBC_2.29, so that
710 it can be used in SHLIB_COMPAT expressions.
711 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
712 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
713 Call __vfscanf_internal, instead of _IO_vfscanf.
714 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
715 _IO_vfscanf.
716 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
717 _IO_vfwscanf.
718
719 * libio/iovsscanf.c: Clean up includes, when possible. Use
720 _IO_strfile_read or _IO_strfile_readw, when needed. Call
721 __vfscanf_internal or __vfwscanf_internal directly.
722 * libio/iovswscanf.c: Likewise.
723 * libio/swscanf.c: Likewise.
724 * libio/vscanf.c: Likewise.
725 * libio/vwscanf.c: Likewise.
726 * libio/wscanf.c: Likewise.
727 * stdio-common/isoc99_fscanf.c: Likewise.
728 * stdio-common/isoc99_scanf.c: Likewise.
729 * stdio-common/isoc99_sscanf.c: Likewise.
730 * stdio-common/isoc99_vfscanf.c: Likewise.
731 * stdio-common/isoc99_vscanf.c: Likewise.
732 * stdio-common/isoc99_vsscanf.c: Likewise.
733 * stdio-common/scanf.c: Likewise.
734 * stdio-common/sscanf.c: Likewise.
735 * wcsmbs/isoc99_fwscanf.c: Likewise.
736 * wcsmbs/isoc99_swscanf.c: Likewise.
737 * wcsmbs/isoc99_vfwscanf.c: Likewise.
738 * wcsmbs/isoc99_vswscanf.c: Likewise.
739 * wcsmbs/isoc99_vwscanf.c: Likewise.
740 * wcsmbs/isoc99_wscanf.c: Likewise.
741
742 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
743
744 * include/time.h
745 (__tz_compute): Replace time_t with __time64_t.
746 (__tz_convert): Replace time_t* with __time64_t.
747 (__offtime): Replace time_t* with __time64_t.
748 * time/gmtime.c
749 (__gmtime_r): Adjust call to __tz_convert.
750 (gmtime): Likewise.
751 * time/localtime.c
752 (__localtime_r): Likewise.
753 (localtime): Likewise.
754 * time/offtime.c: Replace time_t with __time64_t.
755 * time/tzset.c: Likewise.
756
757 2018-12-04 Joseph Myers <joseph@codesourcery.com>
758
759 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
760 dynamic linker unless [$(run-built-tests) = yes].
761
762 2018-12-03 DJ Delorie <dj@delorie.com>
763
764 * support/test-container.c (check_for_unshare_hints): New.
765 (main): Call it if unshare fails. Add support for "su" scriptlet
766 command.
767
768 2018-12-03 Joseph Myers <joseph@codesourcery.com>
769
770 * scripts/gen-as-const.py (compute_c_consts): Take an argument
771 'START' to indicate that start text should be output.
772 (gen_test): Likewise.
773 (main): Generate 'START' for first symbol or '--' line, or at end
774 of input if not previously generated.
775
776 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
777
778 [BZ #19767]
779 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
780 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
781 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
782 ALWAYS_USE_VSYSCALL.
783
784 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
785
786 [BZ #23913]
787 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
788 new_argv by one.
789
790 2018-12-03 Carlos O'Donell <carlos@redhat.com>
791
792 [BZ #23923]
793 * locale/programs/localedef.c: Declare boolean hard_links default true.
794 (options): Add --no-hard-links option.
795 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
796 * locale/programs/localedef.h: Declare prototype for hard_links.
797 * locale/programs/locfile.c (write_locale_data): Don't use hard
798 links if hard_links is false.
799
800 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
801
802 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
803 cpu_features_basic.
804 (__cache_sysconf): Likewise.
805 (init_cacheinfo): Likewise.
806 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
807 populate COMMON_CPUID_INDEX_80000007 and
808 COMMON_CPUID_INDEX_80000008.
809 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
810 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
811 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
812 (init_cpu_features): Use _Static_assert on
813 index_arch_Fast_Unaligned_Load.
814 __get_cpuid_registers and __get_arch_feature. Updated for
815 cpu_features_basic. Set stepping in cpu_features.
816 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
817 (FEATURE_INDEX_2): New.
818 (FEATURE_INDEX_MAX): Changed to enum.
819 (COMMON_CPUID_INDEX_D_ECX_1): New.
820 (COMMON_CPUID_INDEX_80000007): Likewise.
821 (COMMON_CPUID_INDEX_80000008): Likewise.
822 (cpuid_registers): Likewise.
823 (cpu_features_basic): Likewise.
824 (CPU_FEATURE_USABLE): Likewise.
825 (bit_arch_XXX_Usable): Likewise.
826 (cpu_features): Use cpuid_registers and cpu_features_basic.
827 (bit_arch_XXX): Reweritten.
828 (bit_cpu_XXX): Likewise.
829 (index_cpu_XXX): Likewise.
830 (reg_XXX): Likewise.
831 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
832 <support/check.h>.
833 (CHECK_CPU_FEATURE): New.
834 (CHECK_CPU_FEATURE_USABLE): Likewise.
835 (cpu_kinds): Likewise.
836 (do_test): Print vendor, family, model and stepping. Check
837 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
838 (TEST_FUNCTION): Removed.
839 Include <support/test-driver.c> instead of
840 "../../test-skeleton.c".
841 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
842 Check POPCNT instead of POPCOUNT.
843 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
844
845 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
846
847 * scripts/gen-as-const.py (main): Avoid emitting empty line when
848 there is no element in `consts'.
849
850 2018-12-01 Florian Weimer <fweimer@redhat.com>
851
852 * support/support_capture_subprocess.c
853 (support_capture_subprocess): Check that pipe descriptors have
854 expected values. Close original pipe descriptors in subprocess.
855
856 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
857
858 [BZ #23032]
859 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
860 attr with __pthread_default_barrierattr.
861 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
862 attr with __pthread_default_condattr.
863 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
864 attr with __pthread_default_mutexattr.
865 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
866 attr with __pthread_default_rwlockattr.
867
868 2018-12-01 Kemi Wang <kemi.wang@intel.com>
869
870 * manual/tunables.texi (POSIX Thread Tunables): New node.
871 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
872 * nptl/nptl-init.c: Include pthread_mutex_conf.h
873 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
874 __pthread_tunables_init.
875 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
876 (max_adaptive_count): Define.
877 * nptl/pthread_mutex_conf.c: New file.
878 * nptl/pthread_mutex_conf.h: New file.
879 * sysdeps/generic/adaptive_spin_count.h: New file.
880 * sysdeps/nptl/dl-tunables.list: New file.
881 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
882 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
883 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
884 Likewise.
885
886 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
887
888 [BZ #20544]
889 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
890 * stdlib/on_exit.c (__on_exit): Likewise.
891 * stdlib/Makefile (tests): Add tst-bz20544.
892 * stdlib/tst-bz20544.c: New test.
893
894 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
895
896 [BZ #19767]
897 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
898 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
899 New.
900
901 2018-11-30 Florian Weimer <fweimer@redhat.com>
902
903 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
904 Extend error logging.
905 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
906 symbol.
907
908 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
909
910 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
911 __sigismember instead of sigismember.
912 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
913 cancel_handler): New definitions.
914 (do_system): Use posix_spawn instead of fork and execl and remove
915 reentracy code.
916 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
917 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
918 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
919 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
920 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
921 * sysdeps/unix/sysv/linux/system.c: Likewise.
922
923 [BZ #22834]
924 [BZ #17490]
925 * NEWS: Add new semantic for atfork with popen and system.
926 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
927 fork and execl.
928
929 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
930
931 [BZ #23690]
932 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
933 modification order when accessing reloc_result->addr.
934 * include/link.h (reloc_result): Add field init.
935 * nptl/Makefile (tests): Add tst-audit-threads.
936 (modules-names): Add tst-audit-threads-mod1 and
937 tst-audit-threads-mod2.
938 Add rules to build tst-audit-threads.
939 * nptl/tst-audit-threads-mod1.c: New file.
940 * nptl/tst-audit-threads-mod2.c: Likewise.
941 * nptl/tst-audit-threads.c: Likewise.
942 * nptl/tst-audit-threads.h: Likewise.
943
944 2018-11-30 Joseph Myers <joseph@codesourcery.com>
945
946 * scripts/gen-as-const.py: New file.
947 * scripts/gen-as-const.awk: Remove.
948 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
949 gen-as-const.py.
950 ($(objpfx)test-as-const-%.c): Likewise.
951
952 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
953
954 * elf/dl-exception.c: Include <_itoa.h>.
955
956 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
957
958 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
959 returned by __f_setlk.
960
961 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
962 Adhemerval Zanella <adhemerval.zanella@linaro.org>
963
964 * elf/Makefile (tests-internal): Add tst-create_format1.
965 * elf/dl-exception.c (_dl_exception_create_format): Support
966 %x, %lx and %zx.
967 * elf/tst-create_format1.c: New file.
968
969 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
970
971 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
972 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
973 gnulib.)
974 * argp/argp-help.c (__argp_failure): Likewise.
975
976 2018-11-29 Mao Han <han_mao@c-sky.com>
977
978 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
979 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
980 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
981 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
982 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
983 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
984 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
985 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
986 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
987 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
988 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
989 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
990 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
991 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
992 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
993 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
994 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
995 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
996 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
997 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
998 (R_CKCORE_TLS_TPOFF32): New defines.
999
1000 2018-11-29 Florian Weimer <fweimer@redhat.com>
1001
1002 * posix/Makefile (before-compile): Remove testcases.h and
1003 ptestcases.h.
1004 (generated): Add testcases.h and ptestcases.h.
1005 (testcases.h, ptestcases.h): Move to $(objpfx).
1006 (runtests.o): Add dependency on testcases.h.
1007 (runptests.o): Add dependency on ptestcases.h.
1008 * posix/testcases.h, posix/ptestcases.h: Remove files.
1009 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
1010 not touch posix/testcases.h and posix/ptestcases.h.
1011
1012 2018-11-28 Florian Weimer <fweimer@redhat.com>
1013
1014 support: Add signal support to support_capture_subprocess_check.
1015 * support/capture_subprocess.h (support_capture_subprocess_check):
1016 Adjust comment and rename parameter.
1017 * support/support_capture_subprocess_check.c
1018 (print_actual_status): New function.
1019 (support_capture_subprocess_check): Support negative
1020 status_or_signal. Call print_actual_status.
1021 * support/tst-support_capture_subprocess.c (do_test): Call
1022 support_capture_subprocess_check.
1023 * libio/tst-vtables-common.c (termination_status)
1024 (init_termination_status): Remove.
1025 (check_for_termination): Adjust support_capture_subprocess_check
1026 call.
1027 (do_test): Remove call to init_termination_status.
1028
1029 2018-11-28 Joseph Myers <joseph@codesourcery.com>
1030
1031 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
1032 source directory instead of a copy.
1033 (CommandList.create_copy_dir): Remove.
1034
1035 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
1036
1037 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1038
1039 2018-11-28 Florian Weimer <fweimer@redhat.com>
1040
1041 * support/support.h (support_quote_string): Do not use str
1042 parameter name.
1043
1044 2018-11-27 Joseph Myers <joseph@codesourcery.com>
1045
1046 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
1047 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
1048
1049 2018-11-27 Florian Weimer <fweimer@redhat.com>
1050
1051 * support/support.h (support_quote_string): Declare.
1052 * support/support_quote_string.c: New file.
1053 * support/tst-support_quote_string.c: Likewise.
1054 * support/Makefile (libsupport-routines): Add
1055 support_quote_string.
1056 (tests): Add tst-support_quote_string.
1057
1058 2018-11-27 Florian Weimer <fweimer@redhat.com>
1059
1060 [BZ #23927]
1061 CVE-2018-19591
1062 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
1063 descriptor leak in case of ENODEV error.
1064
1065 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
1066
1067 [BZ #19767]
1068 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
1069 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
1070 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
1071
1072 2018-11-26 Carlos O'Donell <carlos@redhat.com>
1073
1074 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
1075 Error for unknown lines.
1076
1077 2018-11-26 Joseph Myers <joseph@codesourcery.com>
1078
1079 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
1080 Touch additional files.
1081
1082 2018-11-26 Florian Weimer <fweimer@redhat.com>
1083
1084 [BZ #23907]
1085 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
1086 double-frees.
1087
1088 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
1089
1090 [BZ #19767]
1091 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
1092 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
1093 SHARED. Include sysdep.h.
1094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
1095 ALWAYS_USE_VSYSCALL.
1096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
1097 ALWAYS_USE_VSYSCALL.
1098
1099 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
1100
1101 [BZ #19767]
1102 * nptl/Makefile (tests-static): Add tst-cond11-static.
1103 (tests): Likewise.
1104 * nptl/tst-cond11-static.c: New File.
1105 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
1106 tst-affinity-static.
1107 (tests): Likewise.
1108 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
1109 instead of SHARED.
1110 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
1111 (USE_VSYSCALL): Likewise.
1112 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
1113 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
1114 instead of SHARED.
1115 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
1116 SHARED.
1117 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1118 New.
1119
1120 2018-11-23 Joseph Myers <joseph@codesourcery.com>
1121
1122 [BZ #23915]
1123 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1124 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
1125 Undefine.
1126
1127 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
1128
1129 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
1130 (tst-cet-legacy-1a-ARGS): New.
1131 ($(objpfx)tst-cet-legacy-1a): New target.
1132 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
1133
1134 2018-11-22 Joseph Myers <joseph@codesourcery.com>
1135
1136 * conform/conformtest.py (CompileSubTest.__init__): Set
1137 self.run_early to False.
1138 (ExecuteSubTest.__init__): Likewise.
1139 (HeaderTests.run): Try running all non-optional, non-XFAILed
1140 compilation tests in a single execution of the compiler.
1141
1142 * conform/conformtest.py (CompileSubTest): New class.
1143 (ExecuteSubTest): Likewise.
1144 (ElementTest.run): Rename to gen_subtests. Append tests to
1145 self.subtests instead of running them.
1146 (ConstantTest.run): Likewise.
1147 (SymbolTest.run): Likewise.
1148 (TypeTest.run): Likewise.
1149 (TagTest.run): Likewise.
1150 (FunctionTest.run): Likewise.
1151 (VariableTest.run): Likewise.
1152 (MacroFunctionTest.run): Likewise.
1153 (MacroStrTest.run): Likewise.
1154 (HeaderTests.handle_test_line): Generate subtests for tests.
1155 (HeaderTests.run): Run subtests for tests.
1156
1157 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1158
1159 * math/Versions (GLIBC_2.29): Add pow.
1160 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
1161 symbol.
1162 * math/w_pow.c: New file.
1163 * sysdeps/i386/fpu/w_pow.c: New file.
1164 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
1165 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
1166 and add necessary aliases.
1167 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
1168 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
1169 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1170 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1171 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1172 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1173 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1174 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1175 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1176 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1177 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1178 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1179 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1180 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1181 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1186 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1187 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1188 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1189 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1190 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1191 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1192 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1193 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
1194 __pow.
1195 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
1196 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
1197 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
1198
1199 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1200
1201 * math/Versions (GLIBC_2.29): Add log2.
1202 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
1203 symbol.
1204 * math/w_log2.c: New file.
1205 * sysdeps/i386/fpu/w_log2.c: New file.
1206 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
1207 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
1208 and add necessary aliases.
1209 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
1210 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
1211 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1212 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1213 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1214 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1215 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1216 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1217 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1218 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1219 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1220 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1221 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1222 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1223 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1228 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1229 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1230 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1231 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1232 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1233 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1234 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1235
1236 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1237
1238 * math/Versions (GLIBC_2.29): Add log.
1239 * math/w_log_compat.c (__log_compat): Change to versioned compat
1240 symbol.
1241 * math/w_log.c: New file.
1242 * sysdeps/i386/fpu/w_log.c: New file.
1243 * sysdeps/ia64/fpu/e_log.S: Update.
1244 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
1245 and add necessary aliases.
1246 * sysdeps/ieee754/dbl-64/w_log.c: New file.
1247 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
1248 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1249 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1250 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1251 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1252 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1253 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1254 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1255 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1256 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1257 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1258 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1259 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1260 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1265 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1266 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1267 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1268 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1269 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1270 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1271 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1272 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
1273 __log.
1274 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
1275 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
1276 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
1277 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
1278
1279 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1280
1281 * math/Versions (GLIBC_2.29): Add exp and exp2.
1282 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
1283 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
1284 * math/w_exp_compat.c (__exp_compat): Likewise.
1285 * math/w_exp.c: New file.
1286 * math/w_exp2.c: New file.
1287 * sysdeps/i386/fpu/w_exp.c: New file.
1288 * sysdeps/i386/fpu/w_exp2.c: New file.
1289 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
1290 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1291 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
1292 and add necessary aliases.
1293 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
1294 and add necessary aliases.
1295 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
1296 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
1297 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
1298 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
1299 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1300 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
1301 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
1302 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
1303 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
1304 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1305 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
1306 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
1307 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
1308 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
1309 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
1310 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
1311 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
1313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
1315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
1316 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
1317 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
1318 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
1319 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
1320 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
1321 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
1322 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
1323 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
1324 (__ieee754_exp): Rename to __exp.
1325 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
1326 (__ieee754_exp): Rename to __exp.
1327 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
1328 (__ieee754_exp): Rename to __exp.
1329 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
1330 __exp.
1331 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
1332
1333 2018-11-20 DJ Delorie <dj@redhat.com>
1334
1335 * malloc/malloc.c (tcache_entry): Add key field.
1336 (tcache_put): Set it.
1337 (tcache_get): Likewise.
1338 (_int_free): Check for double free in tcache.
1339 * malloc/tst-tcfree1.c: New.
1340 * malloc/tst-tcfree2.c: New.
1341 * malloc/Makefile: Run the new tests.
1342 * manual/probes.texi: Document memory_tcache_double_free probe.
1343
1344 * dlfcn/dlerror.c (check_free): Prevent double frees.
1345
1346 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
1347
1348 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
1349
1350 2018-11-20 Joseph Myers <joseph@codesourcery.com>
1351
1352 * conform/conformtest.py (ElementTest.run): Use unique identifiers
1353 in tests. Use names for format arguments.
1354 (ConstantTest.run): Likewise.
1355 (SymbolTest.run): Likewise.
1356 (TypeTest.run): Likewise.
1357 (TagTest.run): Likewise.
1358 (FunctionTest.run): Likewise.
1359 (VariableTest.run): Likewise.
1360 (MacroFunctionTest.run): Likewise.
1361 (MacroStrTest.run): Likewise.
1362 (HeaderTests.__init__): Set self.num_tests.
1363 (HeaderTests.handle_test_line): Set test.num. Increment
1364 self.num_tests.
1365
1366 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
1367
1368 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
1369 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
1370 SEEK_SET.
1371
1372 2018-11-19 Mao Han <han_mao@c-sky.com>
1373
1374 * scripts/config.guess: Update to version 2018-08-29.
1375 * scripts/config.sub: Update to version 2018-08-29.
1376
1377 2018-11-19 Florian Weimer <fweimer@redhat.com>
1378
1379 support: Print timestamps in timeout handler.
1380 * support/support_test_main.c (print_timestamp): New function.
1381 (signal_handler): Use it to print the termination time and the
1382 time of the last write to standard output.
1383
1384 2018-11-16 Zack Weinberg <zackw@panix.com>
1385 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1386
1387 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
1388 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
1389 argument.
1390 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
1391 and add flags argument. Check flags instead of __ldbl_is_dbl when
1392 deciding whether to set is_long_double.
1393 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
1394 passing zero for flags argument.
1395 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
1396
1397 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1398 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
1399 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
1400 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
1401 variable names. Remove libc_hidden_def/libc_hidden_proto from
1402 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
1403 longer called from within the library.
1404 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
1405 for __nldbl___vstrfmon_l, declare it explicitly.
1406
1407 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
1408
1409 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
1410
1411 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
1412 macros
1413 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
1414 F_SETLK64, F_SETLKW64, respectively.
1415 * sysdeps/mach/hurd/f_setlk.c: New file.
1416 * sysdeps/mach/hurd/f_setlk.h: New file.
1417 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
1418 f_setlk.
1419 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
1420 (__libc_fcntl): Move non-flock operations to...
1421 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
1422 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
1423
1424 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
1425
1426 mktime: DEBUG_MKTIME cleanup
1427 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
1428 And it’s no longer needed now that glibc and Gnulib both have
1429 their own testing mechanisms for mktime.
1430 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
1431
1432 mktime: fix non-EOVERFLOW errno handling
1433 [BZ#23789]
1434 mktime was not properly reporting failures when the underlying
1435 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
1436 them like EOVERFLOW failures, and set errno to EOVERFLOW.
1437 The problem could happen on non-glibc platforms, with Gnulib.
1438 * time/mktime.c (guess_time_tm): Remove, replacing with ...
1439 (tm_diff): ... this simpler function, which does not change errno.
1440 All callers changed to deal with errno themselves.
1441 (ranged_convert, __mktime_internal): Return failure immediately if
1442 the underlying function reports any failure other than EOVERFLOW.
1443 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
1444 gap code fails.
1445
1446 mktime: fix bug with Y2038 DST transition
1447 [BZ#23789]
1448 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
1449 mishandle a DST transition that jumps over the Y2038 boundary.
1450 No such DST transitions are known so this is only a theoretical
1451 bug, but we might as well do things right.
1452
1453 mktime: make more room for overflow
1454 [BZ#23789]
1455 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
1456 This is so that we can add tm_diff results to a previous guess,
1457 which will be useful in a later patch.
1458
1459 mktime: simplify offset guess
1460 [BZ#23789]
1461 * time/mktime.c (__mktime_internal): Omit excess precision.
1462
1463 mktime: new test for mktime failure
1464 [BZ#23789]
1465 Based on a test suggested by Albert Aribaud in:
1466 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
1467 * time/Makefile (tests): Add bug-mktime4.
1468 * time/bug-mktime4.c: New file.
1469
1470 mktime: fix EOVERFLOW bug
1471 [BZ#23789]
1472 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
1473 Include libc-config.h, not config.h, for __set_errno.
1474 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
1475
1476 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
1477
1478 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
1479 __attribute_copy__ to copy attributes from name. Drop static qualifier
1480 to avoid warnings about leaf attribute not having effect on static
1481 functions.
1482
1483 2018-11-13 Florian Weimer <fweimer@redhat.com>
1484
1485 * malloc/malloc.c (fastbin_push_entry): New function.
1486 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
1487 (REMOVE_FB): Remove macro.
1488 (_int_malloc): Use fastbin_pop_entry and reindent.
1489 (_int_free): Use fastbin_push_entry.
1490 (malloc_consolidate): Use atomic_exchange_acquire.
1491
1492 2018-11-13 Joseph Myers <joseph@codesourcery.com>
1493
1494 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
1495 alias attribute, not with strong_alias.
1496
1497 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
1498 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
1499 with additional parameter thread.
1500 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
1501 in terms of __hidden_ver2.
1502 (hidden_tls_def): New macro.
1503 (libc_hidden_tls_def): Likewise.
1504 (rtld_hidden_tls_def): Likewise.
1505 (libm_hidden_tls_def): Likewise.
1506 (libmvec_hidden_tls_def): Likewise.
1507 (libresolv_hidden_tls_def): Likewise.
1508 (librt_hidden_tls_def): Likewise.
1509 (libdl_hidden_tls_def): Likewise.
1510 (libnss_files_hidden_tls_def): Likewise.
1511 (libnsl_hidden_tls_def): Likewise.
1512 (libnss_nisplus_hidden_tls_def): Likewise.
1513 (libutil_hidden_tls_def): Likewise.
1514 (libutil_hidden_tls_def): Likweise.
1515 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
1516 libc_hidden_tls_def.
1517 (__sim_disabled_exceptions_thread): Likewise.
1518 (__sim_round_mode_thread): Likewise.
1519
1520 * sysdeps/sparc/sparc-ifunc.h [SHARED]
1521 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
1522 copy attributes from name.
1523
1524 2018-11-12 Joseph Myers <joseph@codesourcery.com>
1525
1526 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
1527 Use __attribute_copy__ to copy attributes from name.
1528
1529 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
1530 with __hidden_ver1 call.
1531 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
1532 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
1533 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
1534 (__cosf): Do not declare here.
1535 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
1536 (__sincosf): Do not declare here.
1537 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
1538 (__sinf): Do not declare here.
1539
1540 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
1541 (__BIG_ENDIAN): Likewise.
1542 (__BYTE_ORDER): Likewise.
1543 (strong_alias): Likewise.
1544 (_strong_alias): Likewise.
1545
1546 2018-11-12 Florian Weimer <fweimer@redhat.com>
1547
1548 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
1549 function. Move after the definition of in_smallbin_range. Do not
1550 use __builtin_expect for paths that lead to a noreturn function.
1551 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
1552 because it is unclear whether this is in fact an unlikely
1553 condition.
1554 (_int_malloc, _int_free): Adjust.
1555 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
1556 variables.
1557 * malloc/arena.c (heap_trim): Likewise.
1558
1559 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1560
1561 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
1562 it, free it if needed.
1563 (reauthenticate): Test and use ccwdir.
1564 (child_init_port): In non-resetids case, test and use ccwdir.
1565 (child_chdir): New nested function to set ccwdir.
1566 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
1567 * hurd/hurd/port.h (_hurd_port_move): New function.
1568 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
1569 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
1570 * hurd/Versions (_hurd_port_move): Export function.
1571 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
1572 symbol.
1573 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
1574 of dtablesize for allocating dtable_cloexec.
1575
1576 2018-11-09 Martin Sebor <msebor@redhat.com>
1577
1578 * include/libc-symbols.h (__attribute_copy__): Define macro unless
1579 it's already defined.
1580 (_strong_alias): Use __attribute_copy__.
1581 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
1582 * misc/sys/cdefs.h (__attribute_copy__): New macro.
1583 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
1584 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
1585 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
1586 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
1587 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
1588 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
1589 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
1590 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
1591 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
1592 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
1593 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
1594 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
1595 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
1596 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
1597 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
1598 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
1599 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
1600
1601 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1602
1603 * misc/tst-efgcvt.c: Include support/check.h and
1604 support/test-driver.c. Do not include test-skeleton.c.
1605 (error_count): Remove.
1606 (output_error): Replace increments to error_count with calls to
1607 support_record_failure.
1608 (output_r_error): Likewise.
1609 (special): Likewise.
1610 (do_test): Unconditionally return zero.
1611 (TEST_FUNCTION): Remove.
1612
1613 2018-11-09 Joseph Myers <joseph@codesourcery.com>
1614
1615 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
1616 not $(@D)/scratch.
1617 ($(linknamespace-header-tests)): Likewise.
1618
1619 * conform/conformtest.py: New file.
1620 * conform/conformtest.pl: Remove.
1621 * conform/GlibcConform.pm: Likewise.
1622 * conform/glibcconform.py (KEYWORDS_C90): New constant.
1623 (KEYWORDS_C99): Likewise.
1624 (KEYWORDS): Likewise.
1625 * conform/Makefile ($(conformtest-header-tests)): Use
1626 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
1627 option. Use --header instead of --headers.
1628 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
1629 function entries.
1630 * conform/data/spawn.h-data: Likewise.
1631 * conform/data/fcntl.h-data (openat): Add space after function
1632 name.
1633 * conform/data/wchar.h-data (wcscasecmp): Likewise.
1634 (wcscasecmp_l): Likewise.
1635 * conform/data/termios.h-data (c_cc): Add space after element
1636 name.
1637
1638 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1639
1640 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
1641 instead of manually comparing and reporting mismatching strings.
1642 * misc/tst-ldbl-error.c (do_one_test): Likewise.
1643 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1644
1645 2018-11-08 Joseph Myers <joseph@codesourcery.com>
1646
1647 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
1648 __ASSUME_SOCKETCALL.
1649 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1650 (__ASSUME_SOCKETCALL): Remove.
1651 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1652 (__ASSUME_SOCKETCALL): Likewise.
1653 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1654 (__ASSUME_SOCKETCALL): Likewise.
1655 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1656 (__ASSUME_SOCKETCALL): Likewise.
1657 * sysdeps/unix/sysv/linux/s390/kernel-features.h
1658 (__ASSUME_SOCKETCALL): Likewise.
1659 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1660 (__ASSUME_SOCKETCALL): Likewise.
1661 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1662 (__ASSUME_SOCKETCALL): Likewise.
1663
1664 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
1665
1666 [BZ #23509]
1667 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
1668 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
1669 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
1670 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
1671 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
1672 lc_unknown.
1673
1674 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
1675
1676 [BZ #17630]
1677 * resolv/tst-resolv-network.c: Add test for getnetbyname.
1678
1679 2018-11-07 Joseph Myers <joseph@codesourcery.com>
1680
1681 [BZ #23867]
1682 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1683 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
1684 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1685 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
1686
1687 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1688
1689 * support/support_test_compare_string.c
1690 (support_test_compare_string): Fix printf format.
1691
1692 2018-11-07 Florian Weimer <fweimer@redhat.com>
1693
1694 Implement TEST_COMPARE_STRING.
1695 * support/check.h (TEST_COMPARE_STRING): Define.
1696 (support_test_compare_string): Declare.
1697 * support/Makefile (libsupport-routines): Add
1698 support_test_compare_string.
1699 (tests): Add tst-test_compare_string.
1700 * support/support_test_compare_string.c: New file.
1701 * support/tst-test_compare_string.c: Likewise.
1702
1703 2018-11-07 Andreas Schwab <schwab@suse.de>
1704
1705 [BZ #23864]
1706 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
1707 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
1708 Undef.
1709
1710 2018-11-06 Joseph Myers <joseph@codesourcery.com>
1711
1712 [BZ #23862]
1713 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1714 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
1715 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
1716 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
1717 Likewise.
1718
1719 2018-11-06 Florian Weimer <fweimer@redhat.com>
1720
1721 [BZ #17405]
1722 * posix/Makefile (routines): Add spawn_faction_addchdir.
1723 (tests): Add tst-spawn-chdir.
1724 * posix/Versions (GLIBC_2.29): Add
1725 posix_spawn_file_actions_addchdir_np.
1726 * posix/spawn_faction_addchdir.c: New file.
1727 * posix/spawn_faction_destroy.c
1728 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
1729 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
1730 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
1731 chdir_action.
1732 * posix/tst-spawn-chdir.c: New file.
1733 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
1734 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1735 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
1736 posix_spawn_file_actions_addchdir_np.
1737 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
1738 Likewise.
1739 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
1740 Likewise.
1741 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
1742 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
1743 Likewise.
1744 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
1745 Likewise.
1746 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
1747 Likewise.
1748 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
1749 Likewise.
1750 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
1751 Likewise.
1752 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
1753 Likewise.
1754 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1755 (GLIBC_2.29): Likewise.
1756 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1757 (GLIBC_2.29): Likewise.
1758 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1759 (GLIBC_2.29): Likewise.
1760 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1761 (GLIBC_2.29): Likewise.
1762 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
1763 Likewise.
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1765 (GLIBC_2.29): Likewise.
1766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1767 (GLIBC_2.29): Likewise.
1768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1769 (GLIBC_2.29): Likewise.
1770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1771 (GLIBC_2.29): Likewise.
1772 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
1773 Likewise.
1774 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
1775 Likewise.
1776 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
1777 Likewise.
1778 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
1779 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
1780 Likewise.
1781 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
1782 Likewise.
1783 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
1784 Likewise.
1785 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
1786 Likewise.
1787
1788 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1789
1790 * misc/Makefile (tests): Add tst-ldbl-error.
1791 * misc/tst-ldbl-error.c: New file.
1792
1793 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1794
1795 * misc/Makefile (tests): Add tst-ldbl-warn.
1796 * misc/tst-ldbl-warn.c: New file.
1797
1798 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1799
1800 * argp/Makefile (tests): Add tst-ldbl-argp.
1801 * argp/tst-ldbl-argp.c: New file.
1802
1803 2018-11-05 Arjun Shankar <arjun@redhat.com>
1804
1805 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
1806 __gconv_path_elem and call __gconv_get_path unconditionally.
1807
1808 2018-11-05 Andreas Schwab <schwab@suse.de>
1809
1810 [BZ #22927]
1811 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
1812 creating the first helper thread failed.
1813
1814 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1815
1816 * sysdeps/mach/hurd/msync.c: New file.
1817
1818 2018-11-02 Florian Weimer <fweimer@redhat.com>
1819
1820 * support/shell-container.c (copy_func): Call
1821 support_copy_file_range instead of copy_file_range to support
1822 cross-device copies.
1823
1824 2018-11-02 Florian Weimer <fweimer@redhat.com>
1825
1826 * support/test-container.c: Include <libc-pointer-arith.h> for
1827 ALIGN_UP.
1828
1829 2018-11-01 Zong Li <zong@andestech.com>
1830
1831 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
1832 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
1833 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
1834 (__FP_FRAC_SET_8): Add implementation for RV32 use.
1835
1836 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
1837 variable to avoid overlap arguments.
1838
1839 2018-11-01 Joseph Myers <joseph@codesourcery.com>
1840
1841 * posix/bug-regex22.c (main): Use puts with distinct error
1842 messages for unexpected success of re_compile_pattern, not printf
1843 with NULL argument to %s.
1844
1845 * stdio-common/bug22.c: Include <libc-diag.h>.
1846 (do_test): Disable -Wformat-overflow= warnings around fprintf
1847 calls outputting more than INT_MAX characters.
1848 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
1849 around printf call with NULL %s argument.
1850
1851 [BZ #23848]
1852 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
1853 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
1854 Undefine.
1855 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1856 (__ASSUME_RECVMSG_SYSCALL): Likewise.
1857 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1858 (__ASSUME_SENDTO_SYSCALL): Likewise.
1859 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1860 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
1861 [!__arch64__].
1862 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1863 (__ASSUME_CONNECT_SYSCALL): Likewise.
1864 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
1865 (__ASSUME_RECVFROM_SYSCALL): Likewise.
1866 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
1867 Define.
1868 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
1869 Likewise.
1870 [__LINUX_KERNEL_VERSION >= 0x040400]
1871 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1872 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
1873 Remove.
1874 (listen): Likewise.
1875 (setsockopt): Likewise.
1876
1877 2018-11-01 Fredrik Noring <noring@nocrew.org>
1878
1879 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
1880 with the ISA override.
1881
1882 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
1883
1884 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
1885 #endif.
1886
1887 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
1888
1889 * manual/errno.texi (EIEIO): Document how translators should
1890 translate the error message.
1891 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
1892 printing trailing whitespaces refused by git.
1893 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
1894 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1895 * hurd/Makefile (user-interfaces): Add pci.
1896
1897 2018-10-30 Joseph Myers <joseph@codesourcery.com>
1898
1899 * conform/linknamespace.py: New file.
1900 * conform/linknamespace.pl: Remove file.
1901 * conform/Makefile ($(linknamespace-header-tests)): Use
1902 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
1903 option.
1904
1905 2018-10-30 Florian Weimer <fweimer@redhat.com>
1906
1907 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
1908 memory leaks.
1909
1910 2018-10-30 Florian Weimer <fweimer@redhat.com>
1911
1912 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
1913
1914 2018-10-30 Florian Weimer <fweimer@redhat.com>
1915
1916 * stdlib/tst-strtod-overflow.c (do_test): Switch to
1917 support_blob_repeat.
1918
1919 2018-10-30 Florian Weimer <fweimer@redhat.com>
1920
1921 Avoid spurious test failures in stdlib/test-bz22786.
1922 * support/Makefile (libsupport-routines): Add blob_repeat.
1923 (tests): Add tst-support_blob_repeat.
1924 * support/blob_repeat.h: New file.
1925 * support/blob_repeat.c: Likewise.
1926 * support/tst-support_blob_repeat.c: Likewise.
1927 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
1928 support_blob_repeat_allocate.
1929
1930 2018-10-30 Andreas Schwab <schwab@suse.de>
1931
1932 [BZ #23125]
1933 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
1934 Don't use tail call.
1935 * elf/tst-unwind-main.c: New file.
1936 * elf/Makefile (tests): Add tst-unwind-main.
1937 (CFLAGS-tst-unwind-main.c): Define.
1938
1939 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
1940
1941 [BZ #23791]
1942 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
1943 n_cs_precedes to 0.
1944 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
1945
1946 2018-10-29 Joseph Myers <joseph@codesourcery.com>
1947
1948 * conform/glibcconform.py: Do not import shutil.
1949 (list_exported_functions): Use tempfile.TemporaryDirectory instead
1950 of mkdtemp.
1951
1952 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
1953 critic_missing for versions before 3.4.
1954 * configure: Regenerated.
1955 * manual/install.texi (Tools for Compilation): Document
1956 requirement for Python to build glibc.
1957 * INSTALL: Regenerated.
1958 * Rules [PYTHON]: Make code unconditional.
1959 * benchtests/Makefile [PYTHON]: Likewise.
1960 * conform/Makefile [PYTHON]: Likewise.
1961 * manual/Makefile [PYTHON]: Likewise.
1962 * math/Makefile [PYTHON]: Likewise.
1963
1964 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1965
1966 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
1967 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
1968 answer to interrupt_operation, return EIEIO instead of EINTR.
1969 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
1970 _hurd_intr_rpc_msg_about_to global point to start of controlled
1971 assembly snippet. Make it check canceled flag.
1972 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
1973 the _hurd_intr_rpc_msg_about_to point.
1974 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
1975 issue, remove cancel flag check.
1976
1977 2018-10-26 Joseph Myers <joseph@codesourcery.com>
1978
1979 * scripts/build-many-glibcs.py: Remove compatibility for missing
1980 os.cpu_count and re.fullmatch.
1981
1982 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
1983
1984 [BZ #23822]
1985 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
1986 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
1987 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
1988
1989 2018-10-25 Joseph Myers <joseph@codesourcery.com>
1990
1991 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
1992 macro.
1993
1994 2018-10-25 Florian Weimer <fweimer@redhat.com>
1995
1996 [BZ #23562]
1997 [BZ #23821]
1998 XFAIL siginfo_t si_band conform test on sparc64.
1999 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2000 (__SI_BAND_TYPE): Only override long int default type on sparc64.
2001 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2002 (conformtest-xfail-conds): Add sparc64-linux.
2003 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
2004 sparc64.
2005 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
2006
2007 2018-10-25 Joseph Myers <joseph@codesourcery.com>
2008
2009 * elf/elf.h (NT_MIPS_DSP): New macro.
2010 (NT_MIPS_FP_MODE): Likewise.
2011
2012 2018-10-25 Zong Li <zong@andestech.com>
2013
2014 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
2015 name by adding the file extension (.so).
2016
2017 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
2018
2019 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
2020 (test-xfail-ISO11/threads.h/linknamespace,
2021 test-xfail-ISO11/threads.h/conform): Add.
2022
2023 2018-10-24 Joseph Myers <joseph@codesourcery.com>
2024
2025 * math/gen-libm-test.py: Import os.
2026 (ALL_FLOATS_MANUAL): New constant.
2027 (ALL_FLOATS_SUFFIX): Likewise.
2028 (Ulps.all_functions): New function.
2029 (real_all_ulps): Likewise.
2030 (generate_err_table_sub): Likewise.
2031 (generate_err_table): Likewise.
2032 (main): Handle -s and -m options.
2033 * manual/libm-err-tab.pl: Remove.
2034 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
2035 instead of libm-err-tab.pl.
2036 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
2037 != no].
2038 * manual/install.texi (Tools for Compilation): Document
2039 requirement for Python to build manual.
2040 * INSTALL: Regenerated.
2041
2042 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
2043
2044 * bits/time64.h: New file.
2045 * include/time.h: Replace internal_time_t with __time64_t.
2046 * posix/bits/types (__time64_t): Add.
2047 * stdlib/Makefile: Add bits/time64.h to includes.
2048 * time/tzfile.c: Replace internal_time_t with __time64_t.
2049
2050 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2051
2052 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
2053 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
2054 __posix_spawn_file_actions_init, __posix_spawnattr_init,
2055 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
2056 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
2057 prototype.
2058 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
2059 * posix/spawn_faction_addclose.c
2060 (__posix_spawn_file_actions_addclose): Add hidden definition.
2061 * posix/spawn_faction_adddup2.c
2062 (__posix_spawn_file_actions_adddup2): Likewise.
2063 * posix/spawn_faction_destroy.c
2064 (__posix_spawn_file_actions_destroy): Likewise.
2065 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
2066 Likewise.
2067 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
2068 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
2069 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
2070 Likewise.
2071 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
2072 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
2073 Likewise.
2074
2075 2018-10-24 Andreas Schwab <schwab@suse.de>
2076
2077 [BZ #18093]
2078 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
2079 format cache.
2080 * elf/cache.c (print_cache): Likewise.
2081
2082 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
2083
2084 * bits/timesize.h: New file.
2085 * stdlib/Makefile (headers): Add bits/timesize.h.
2086 * sysdeps/unix/sysv/linux/bits/msq-pad.h
2087 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
2088 * sysdeps/unix/sysv/linux/bits/sem-pad.h
2089 (__SEM_PAD_AFTER_TIME): Likewise.
2090 * sysdeps/unix/sysv/linux/bits/shm-pad.h
2091 (__SHM_PAD_AFTER_TIME): Likewise.
2092 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
2093 (__MSQ_PAD_BEFORE_TIME): Likewise.
2094 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
2095 (__SEM_PAD_BEFORE_TIME): Likewise.
2096 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
2097 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
2098 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
2099 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
2100 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
2101 (__MSQ_PAD_BEFORE_TIME): Likewise.
2102 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
2103 (__SEM_PAD_BEFORE_TIME): Likewise.
2104 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
2105 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
2106 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
2107 (__MSQ_PAD_BEFORE_TIME): Likewise.
2108 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
2109 (__SEM_PAD_BEFORE_TIME): Likewise.
2110 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
2111 (__SHM_PAD_BEFORE_TIME): Likewise.
2112 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
2113 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
2114 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
2115
2116 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
2117
2118 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
2119 USE_RDTSCP is defined.
2120 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
2121 USE_RDTSCP is defined.
2122
2123 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2124
2125 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
2126 defined.
2127
2128 [BZ #23709]
2129 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
2130 independently of other flags.
2131
2132 2018-10-23 Florian Weimer <fweimer@redhat.com>
2133
2134 * time/tst-mktime2.c (N_STRINGS): Remove.
2135 (set_timezone): New function.
2136 (spring_forward_gap): Call it. Use FAIL_EXIT1.
2137 (mktime_test1): Report localtime failure and check errno value.
2138 Use TEST_COMPARE.
2139 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
2140 (do_test): Remove alarm call. Use set_timezone and array_length.
2141
2142 2018-10-23 Andreas Schwab <schwab@suse.de>
2143
2144 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
2145 (__start_context): Use END instead of PSEUDO_END.
2146
2147 2018-10-22 Joseph Myers <joseph@codesourcery.com>
2148
2149 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2150 version to 4.19.
2151
2152 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2153 version to 4.19.
2154
2155 [BZ #23793]
2156 * wcsmbs/c32rtomb.c: New file.
2157 * wcsmbs/mbrtoc32.c: Likewise.
2158 * wcsmbs/tst-c32-state.c: Likewise.
2159 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
2160 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
2161 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
2162 (tests): Add tst-c32-state.
2163 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
2164 $(gen-locales).
2165
2166 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
2167
2168 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
2169 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
2170
2171 2018-10-19 Joseph Myers <joseph@codesourcery.com>
2172
2173 [BZ #23794]
2174 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
2175 pair and return 0 in that case, and use saved character to
2176 interpret following character.
2177 * wcsmbs/tst-c16-surrogate.c: New file.
2178 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
2179 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
2180 Depend on $(gen-locales)
2181
2182 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
2183
2184 [BZ #23562]
2185 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
2186 (struct siginfo_t): Use correct type for si_band.
2187
2188 2018-10-19 Florian Weimer <fweimer@redhat.com>
2189
2190 [BZ #23689]
2191 * resource/bits/types/struct_rusage.h (struct rusage): Update
2192 comment on struct. Remove extraneous field comment.
2193
2194 2018-10-18 David S. Miller <davem@davemloft.net>
2195
2196 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
2197 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
2198 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
2199 sysdep_routines in subdir elf.
2200 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
2201 version for __vdso_clock_gettime.
2202 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
2203 Define.
2204 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2205 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2206
2207 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2208
2209 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
2210
2211 * sysdeps/i386/init-arch.h: Removed.
2212 * sysdeps/i386/i586/init-arch.h: Likewise.
2213 * sysdeps/i386/i686/init-arch.h: Likewise.
2214 * sysdeps/i386/i686/hp-timing.h: Likewise.
2215 * sysdeps/x86_64/hp-timing.h: Likewise.
2216 * sysdeps/i386/isa.h: New file.
2217 * sysdeps/i386/i586/isa.h: Likewise.
2218 * sysdeps/i386/i686/isa.h: Likewise.
2219 * sysdeps/x86_64/isa.h: Likewise.
2220 * sysdeps/x86/hp-timing.h: New file.
2221 * sysdeps/x86/init-arch.h: Include <isa.h>.
2222
2223 2018-10-17 Joseph Myers <joseph@codesourcery.com>
2224
2225 * math/libm-test-pow.inc (pow_test_data): Do not allow
2226 divide-by-zero exception for pow(+/- 0, -Inf).
2227
2228 2018-10-17 Zack Weinberg <zackw@panix.com>
2229
2230 * manual/job.texi (Job Control is Optional): Remove node, as
2231 job control has not been optional in quite some time.
2232 (Job Control): Mention briefly that systems older than
2233 POSIX.1-2001 might not support job control.
2234 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
2235 defined on systems conforming to POSIX.1-2001.
2236
2237 2018-10-17 Arjun Shankar <arjun@redhat.com>
2238
2239 [BZ #22062]
2240 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
2241 indentation.
2242 * (__gconv_read_conf): Mark function static.
2243 * (once): New static variable.
2244 * (__gconv_load_conf): New function.
2245 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
2246 * iconv/gconv_db.c (once): Remove static variable.
2247 * (__gconv_compare_alias): Use __gconv_load_conf instead of
2248 __gconv_read_conf.
2249 * (__gconv_find_transform): Likewise.
2250 * iconv/tst-iconv-mt.c: New test.
2251 * iconv/Makefile: Add tst-iconv_mt.
2252
2253 2018-10-17 Joseph Myers <joseph@codesourcery.com>
2254
2255 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2256 bits/shm-pad.h.
2257 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
2258 (shmatt_t): Define as __syscall_ulong_t.
2259 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
2260 and [__SHM_PAD_AFTER_TIME].
2261 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
2262 Define shm_segsz and associated padding based on
2263 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
2264 Use __syscall_ulong_t instead of unsigned long int.
2265 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
2266 unsigned long int.
2267 [__USE_MISC] (struct shm_info): Likewise.
2268 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
2269 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
2270 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
2271 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
2272 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
2273 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
2274 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
2275 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2276 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2277 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2278 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2279
2280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2281 bits/shmlba.h.
2282 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
2283 (SHMLBA): Remove macro.
2284 (__getpagesize): Remove function declaration.
2285 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
2286 <bits/shmlba.h>.
2287 (SHMLBA): Remove macro.
2288 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
2289 <bits/shmlba.h>.
2290 (SHMLBA): Remove macro.
2291 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
2292 <bits/shmlba.h>.
2293 (SHMLBA): Remove macro.
2294 (__getpagesize): Remove function declaration.
2295 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
2296 <bits/shmlba.h>.
2297 (SHMLBA): Remove macro.
2298 (__getshmlba): Remove function declaration.
2299 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
2300 (SHMLBA): Remove macro.
2301 (__getpagesize): Remove function declaration.
2302 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
2303 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
2304 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2305 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
2306 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
2307 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
2308 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
2309 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
2310 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
2311 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
2312
2313 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
2314
2315 [BZ #23275]
2316 * nptl/tst-mutex10.c: New File.
2317 * nptl/Makefile (tests): Add tst-mutex10.
2318 (tst-mutex10-ENV): New variable.
2319 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
2320 Ensure that elision path is used if elision is available.
2321 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
2322 Likewise.
2323 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
2324 Likewise.
2325 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
2326 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
2327 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
2328 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
2329 Likewise.
2330 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
2331 (__pthread_mutex_cond_lock_adjust): Likewise.
2332 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2333 Likewise.
2334 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
2335 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2336 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2337 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
2338 Add comments.
2339 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
2340 Use atomic_load_relaxed and atomic_store_relaxed.
2341 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
2342 Use atomic_store_relaxed.
2343
2344 2018-10-17 Andreas Schwab <schwab@suse.de>
2345
2346 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
2347 * crypt/badsalttest.c (TIMEOUT): Likewise.
2348 * crypt/sha256c-test.c (TIMEOUT): Likewise.
2349 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
2350 * io/test-lfs.c (TIMEOUT): Likewise.
2351 * libio/tst-atime.c (TIMEOUT): Likewise.
2352 * localedata/tst-leaks.c (TIMEOUT): Likewise.
2353 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
2354 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
2355 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
2356 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
2357 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
2358 * nptl/tst-cond11.c (TIMEOUT): Likewise.
2359 * nptl/tst-cond14.c (TIMEOUT): Likewise.
2360 * nptl/tst-cond15.c (TIMEOUT): Likewise.
2361 * nptl/tst-cond24.c (TIMEOUT): Likewise.
2362 * nptl/tst-cond25.c (TIMEOUT): Likewise.
2363 * nptl/tst-kill2.c (TIMEOUT): Likewise.
2364 * nptl/tst-kill3.c (TIMEOUT): Likewise.
2365 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
2366 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
2367 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
2368 * nptl/tst-once2.c (TIMEOUT): Likewise.
2369 * nptl/tst-once3.c (TIMEOUT): Likewise.
2370 * nptl/tst-once4.c (TIMEOUT): Likewise.
2371 * nptl/tst-robust8.c (TIMEOUT): Likewise.
2372 * nptl/tst-robust9.c (TIMEOUT): Likewise.
2373 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
2374 * nptl/tst-sem14.c (TIMEOUT): Likewise.
2375 * nptl/tst-sem6.c (TIMEOUT): Likewise.
2376 * nptl/tst-signal3.c (TIMEOUT): Likewise.
2377 * nptl/tst-spin4.c (TIMEOUT): Likewise.
2378 * nptl/tst-tls3.c (TIMEOUT): Likewise.
2379 * nptl/tst-tls4.c (TIMEOUT): Likewise.
2380 * posix/tst-chmod.c (TIMEOUT): Likewise.
2381 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
2382 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
2383 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
2384 * posix/tst-regex2.c (TIMEOUT): Likewise.
2385 * posix/tst-waitid.c (TIMEOUT): Likewise.
2386 * rt/tst-aio.c (TIMEOUT): Likewise.
2387 * rt/tst-aio10.c (TIMEOUT): Likewise.
2388 * rt/tst-aio4.c (TIMEOUT): Likewise.
2389 * rt/tst-aio5.c (TIMEOUT): Likewise.
2390 * rt/tst-aio6.c (TIMEOUT): Likewise.
2391 * rt/tst-aio64.c (TIMEOUT): Likewise.
2392 * rt/tst-aio7.c (TIMEOUT): Likewise.
2393 * rt/tst-aio9.c (TIMEOUT): Likewise.
2394 * rt/tst-clock.c (TIMEOUT): Likewise.
2395 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
2396 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
2397 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
2398 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
2399 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
2400 * rt/tst-timer4.c (TIMEOUT): Likewise.
2401 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
2402 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
2403 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
2404 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
2405 * time/tst-ftime.c (TIMEOUT): Likewise.
2406 * timezone/tst-tzset.c (TIMEOUT): Likewise.
2407
2408 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2409
2410 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
2411 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
2412 for thunderX2.
2413
2414 2018-10-15 Joseph Myers <joseph@codesourcery.com>
2415
2416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2417 bits/sem-pad.h.
2418 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
2419 instead of <bits/wordsize.h>.
2420 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
2421 and [__SEM_PAD_AFTER_TIME].
2422 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
2423 __syscall_ulong_t instead of unsigned long int.
2424 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
2425 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
2426 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
2427 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
2428 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
2429 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
2430 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
2431 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
2432 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2433 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2434 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2435
2436 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
2437
2438 regex: simplify by using intprops.h
2439 [BZ#23744]
2440 * posix/regex_internal.h [_LIBC]: Include intprops.h.
2441 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
2442 intprops.h defines them.
2443
2444 regex: __builtin_expect → __glibc_unlikely
2445 [BZ#23744]
2446 This refactoring was prompted by a problem when the regex code is
2447 used as part of Gnulib and when the builder’s compiler does not grok
2448 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
2449 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
2450 Although this refactoring does not fix the problem directly,
2451 we might as well have Gawk use the now-preferred glibc style for when
2452 __builtin_expect is unavailable.
2453 * posix/regex_internal.h (BE): Remove.
2454 All uses replaced by __glibc_unlikely or __glibc_likely.
2455
2456 2018-10-11 Joseph Myers <joseph@codesourcery.com>
2457
2458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2459 bits/msq-pad.h.
2460 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
2461 instead of <bits/wordsize.h>.
2462 (msgqnum_t): Define as __syscall_ulong_t.
2463 (msglen_t): Likewise.
2464 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
2465 and [__MSQ_PAD_AFTER_TIME].
2466 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
2467 __syscall_ulong_t instead of unsigned long int.
2468 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
2469 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
2470 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
2471 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
2472 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
2473 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
2474 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
2475 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
2476 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2477 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2478 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2479
2480 2018-10-10 Joseph Myers <joseph@codesourcery.com>
2481
2482 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
2483 (struct shmid_ds): Condition padding after time fields on
2484 [__WORDSIZE == 32].
2485 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
2486 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
2487 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2488
2489 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
2490 (struct semid_ds): Condition padding after time fields on
2491 [__WORDSIZE == 32].
2492 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
2493 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
2494 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
2495 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2496
2497 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
2498 (struct msqid_ds): Condition padding after time fields on
2499 [__WORDSIZE == 32].
2500 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
2501 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
2502 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
2503 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2504
2505 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2506
2507 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
2508
2509 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2510
2511 * libio/tst-readline.c (TIMEOUT): Define.
2512
2513 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
2514
2515 mktime fix for Gnulib + coreutils
2516 [BZ#23745]
2517 This fix affects only Gnulib. Problem discovered when
2518 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
2519 * time/mktime.c:
2520 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
2521 Do not define since it is not used. Defining an unused static
2522 function prompts a warning from GCC when Coreutils is configured
2523 with --enable-gcc-warnings.
2524
2525 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2526
2527 * benchtests/scripts/compare_bench.py (main): set float type on
2528 threshold argument.
2529
2530 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
2531
2532 [BZ #23740]
2533 * localedata/locales/kl_GL (mon): Update, the relative case.
2534 (alt_mon): Add, fill with month names in the nominative case.
2535 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
2536 (d_fmt): Set to "%b %d %Y".
2537
2538 2018-10-04 Joseph Myers <joseph@codesourcery.com>
2539
2540 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
2541 <bits/mman-linux.h>.
2542 (PROT_READ): Don't define here.
2543 (PROT_WRITE): Likewise.
2544 (PROT_EXEC): Likewise.
2545 (PROT_NONE): Likewise.
2546 (PROT_GROWSDOWN): Likewise.
2547 (PROT_GROWSUP): Likewise.
2548 (MAP_SHARED): Likewise.
2549 (MAP_PRIVATE): Likewise.
2550 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
2551 [__USE_MISC] (MAP_FILE): Likewise.
2552 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
2553 [__USE_MISC] (MAP_ANON): Likewise.
2554 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
2555 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
2556 (MCL_CURRENT): Likewise.
2557 (MCL_FUTURE): Likewise.
2558 (MCL_ONFAULT): Likewise.
2559 [__USE_MISC] (MADV_NORMAL): Likewise.
2560 [__USE_MISC] (MADV_RANDOM): Likewise.
2561 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
2562 [__USE_MISC] (MADV_WILLNEED): Likewise.
2563 [__USE_MISC] (MADV_DONTNEED): Likewise.
2564 [__USE_MISC] (MADV_FREE): Likewise.
2565 [__USE_MISC] (MADV_REMOVE): Likewise.
2566 [__USE_MISC] (MADV_DONTFORK): Likewise.
2567 [__USE_MISC] (MADV_DOFORK): Likewise.
2568 [__USE_MISC] (MADV_HWPOISON): Likewise.
2569 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
2570 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
2571 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
2572 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
2573 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
2574 (__MAP_ANONYMOUS): New macro.
2575 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
2576 <bits/mman-linux.h> inclusion.
2577 (MAP_FIXED): Likewise.
2578 (MS_SYNC): Likewise.
2579 (MS_ASYNC): Likewise.
2580 (MS_INVALIDATE): Likewise.
2581 [__USE_MISC] (MADV_MERGEABLE): Likewise.
2582 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
2583 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
2584 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
2585 [__USE_MISC] (MADV_DONTDUMP): Likewise.
2586 [__USE_MISC] (MADV_DODUMP): Likewise.
2587 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
2588 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
2589
2590 [BZ #23735]
2591 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
2592 Define.
2593 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
2594 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
2595 Add test-nldbl-redirect.
2596 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
2597 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
2598 $(objpfx)libnldbl_nonshared.a.
2599
2600 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
2601
2602 * support/support.h (support_objdir_elf_ldso): New variable.
2603 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
2604 * support/Makefile (CFLAGS-support_paths.c): Add definition
2605 for OBJDIR_ELF_LDSO_PATH.
2606 * support/test-container.c (main): Search for the ld.so
2607 which is also used by the testsuite.
2608
2609 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
2610
2611 [BZ #20209]
2612 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
2613 should be "sap" rather than "sab".
2614 (day): Fix spelling of Sunday, should be "sapaat" rather than
2615 "sabaat".
2616
2617 2018-10-02 Joseph Myers <joseph@codesourcery.com>
2618
2619 * math/libm-test-fma.inc (fma_test_data): Add more tests.
2620
2621 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
2622
2623 [BZ #19444]
2624 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
2625 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
2626 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
2627
2628 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2629
2630 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
2631
2632 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
2633
2634 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
2635 Add -mrtm.
2636 (CFLAGS-elision-unlock.c): Likewise.
2637 (CFLAGS-elision-timed.c): Likewise.
2638 (CFLAGS-elision-trylock.c): Likewise.
2639 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
2640
2641 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2642
2643 [BZ #21037]
2644 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
2645 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
2646 new fd_to_filename interface.
2647 * libio/freopen64.c (freopen64): Likewise.
2648 * libio/tst-memstream.h: New file.
2649 * libio/tst-memstream4.c: Likewise.
2650 * libio/tst-wmemstream4.c: Likewise.
2651 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
2652 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
2653 and remove internal dynamic allocation.
2654
2655 2018-10-01 Joseph Myers <joseph@codesourcery.com>
2656
2657 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
2658 (MREMAP_MAYMOVE): Do not define here.
2659 [__USE_GNU] (MREMAP_FIXED): Likewise.
2660 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
2661 (MREMAP_MAYMOVE): Define here instead.
2662 [__USE_GNU] (MREMAP_FIXED): Likewise.
2663 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
2664 (MREMAP_MAYMOVE): Remove.
2665 [__USE_GNU] (MREMAP_FIXED): Likewise.
2666
2667 2018-09-28 Joseph Myers <joseph@codesourcery.com>
2668
2669 * math/fromfp.h: Do not include <math_private.h>.
2670 * math/s_cacosh_template.c: Likewise.
2671 * math/s_casin_template.c: Likewise.
2672 * math/s_casinh_template.c: Likewise.
2673 * math/s_ccos_template.c: Likewise.
2674 * math/s_cproj_template.c: Likewise.
2675 * math/s_fdim_template.c: Likewise.
2676 * math/s_fmaxmag_template.c: Likewise.
2677 * math/s_fminmag_template.c: Likewise.
2678 * math/s_iseqsig_template.c: Likewise.
2679 * math/s_ldexp_template.c: Likewise.
2680 * math/s_nextdown_template.c: Likewise.
2681 * math/w_log1p_template.c: Likewise.
2682 * math/w_scalbln_template.c: Likewise.
2683 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
2684 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
2685 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
2686 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
2687 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
2688 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
2689 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
2690 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
2691 * sysdeps/i386/fpu/s_atanl.c: Likewise.
2692 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
2693 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
2694 * sysdeps/i386/fpu/s_fdim.c: Likewise.
2695 * sysdeps/i386/fpu/s_logbl.c: Likewise.
2696 * sysdeps/i386/fpu/s_rintl.c: Likewise.
2697 * sysdeps/i386/fpu/s_significandl.c: Likewise.
2698 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
2699 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
2700 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2701 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2702 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
2703 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
2704 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2705 * sysdeps/ieee754/k_standardf.c: Likewise.
2706 * sysdeps/ieee754/k_standardl.c: Likewise.
2707 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2708 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2709 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
2710 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2711 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2712 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2713 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2714 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
2715 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
2716 * sysdeps/ieee754/s_signgam.c: Likewise.
2717 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2718 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
2719 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
2720 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
2721 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
2722 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
2723 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
2724 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
2725 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
2726 * sysdeps/riscv/rvd/s_finite.c: Likewise.
2727 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
2728 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
2729 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
2730 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
2731 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
2732 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
2733 * sysdeps/riscv/rvf/fegetround.c: Likewise.
2734 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
2735 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
2736 * sysdeps/riscv/rvf/fesetround.c: Likewise.
2737 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
2738 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
2739 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
2740 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
2741 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
2742 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
2743 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
2744 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
2745 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
2746 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
2747 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
2748 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
2749 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
2750 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
2751 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
2752 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
2753 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
2754 <math_private.h>.
2755 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
2756
2757 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
2758
2759 [BZ #23716]
2760 * sysdeps/i386/dl-cet.c: Removed.
2761 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
2762 prototype.
2763 (_dl_runtime_profile_shstk): Likewise.
2764 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
2765 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
2766
2767 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2768
2769 [BZ #23579]
2770 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
2771 do_test_with_invalid_iov): New tests.
2772 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
2773 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
2774 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
2775 errno is ENOSYS.
2776 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
2777 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
2778 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
2779
2780 2018-09-27 Joseph Myers <joseph@codesourcery.com>
2781
2782 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
2783 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
2784 (MATH_REDIRECT_BINARY_ARGS): New macro.
2785 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
2786 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
2787 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
2788 header inclusion.
2789 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
2790 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2791 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
2792 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2793 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2794 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2795 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2797 Likewise.
2798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
2799 Likewise.
2800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
2802 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
2803 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
2804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
2805 Likewise.
2806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
2807 Likewise.
2808 * sysdeps/generic/math_private_calls.h
2809 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
2810 Do not declare and define as an inline function.
2811 * math/divtc3.c (__divtc3): Use copysign functions instead of
2812 __copysign variants.
2813 * math/multc3.c (__multc3): Likewise.
2814 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
2815 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
2816 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2817 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
2818 Likewise.
2819 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2820 (__ieee754_yn): Likewise.
2821 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2822 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
2823 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
2824 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2825 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
2826 (__sin): Likewise.
2827 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
2828 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2829 Likewise.
2830 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2831 Likewise.
2832 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2833 Likewise.
2834 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2835 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
2836 Likewise.
2837 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2838 (__ieee754_ynf): Likewise.
2839 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
2840 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2841 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
2842 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
2843 Likewise.
2844 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2845 (__ieee754_ynl): Likewise.
2846 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2847 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2848 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2849 Likewise.
2850 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2851 (__ieee754_ynl): Likewise.
2852 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
2853 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2854 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2855 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
2856 Likewise.
2857 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2858 (__ieee754_ynl)
2859 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
2860 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2861 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
2862 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
2863 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2864
2865 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
2866 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
2867 using MATH_REDIRECT.
2868 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
2869 header inclusion.
2870 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
2871 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2872 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2873 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
2874 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2875 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2876 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
2878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
2879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
2880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
2881 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
2882 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
2883 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2884 (round): Redirect to __round.
2885 (__roundl): Call round instead of __round.
2886 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
2887 Remove macro.
2888 [_ARCH_PWR5X] (__roundf): Likewise.
2889 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
2890 functions instead of __round 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-96/e_gammal_r.c (gammal_positive):
2897 Likewise.
2898 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
2899 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
2900 __lroundl.
2901 (__ieee754_expl): Call roundl instead of __roundl.
2902
2903 2018-09-27 Andreas Schwab <schwab@suse.de>
2904
2905 [BZ #23717]
2906 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
2907 (do_test): Make st1 static.
2908
2909 2018-09-26 Andreas Schwab <schwab@suse.de>
2910
2911 [BZ #23707]
2912 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
2913 * elf/Makefile (tests): Add tst-unwind-ctor.
2914 (modules-names): Add tst-unwind-ctor-lib.
2915 ($(objpfx)tst-unwind-ctor): Depend on
2916 $(objpfx)tst-unwind-ctor-lib.so.
2917
2918 2018-09-26 Joseph Myers <joseph@codesourcery.com>
2919
2920 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
2921 file. Most contents moved from ....
2922 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
2923 and include <bits/mman-map-flags-generic.h>.
2924 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2925 (sysdep_headers): Add bits/mman-map-flags-generic.h.
2926 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
2927 <bits/mman-map-flags-generic.h>.
2928 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
2929 macros defined in <bits/mman-map-flags-generic.h>.
2930 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
2931 <bits/mman-map-flags-generic.h>.
2932 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
2933 defined in <bits/mman-map-flags-generic.h>.
2934
2935 2018-09-26 Andreas Schwab <schwab@suse.de>
2936
2937 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
2938 output.
2939
2940 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
2941 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2942 Fangrui Song <maskray@google.com>
2943
2944 [BZ #20480]
2945 * config.make.in (have-textrel_ifunc): New define.
2946 * configure.ac: Add check if linker supports textrel relocation with
2947 ifunc.
2948 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
2949 tst-ifunc-textrel.
2950 (CFLAGS-tst-ifunc-textrel.c): New rule.
2951 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
2952 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
2953 * elf/tst-ifunc-textrel.c: New file.
2954
2955 2018-09-25 Joseph Myers <joseph@codesourcery.com>
2956
2957 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
2958 <bits/procfs-prregset.h>.
2959 (prgregset_t): Define using __prgregset_t.
2960 (prfpregset_t): Define using __prfpregset_t.
2961 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2962 (sysdep_headers): Add bits/procfs-prregset.h.
2963 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
2964 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
2965 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
2966 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
2967
2968 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
2969 <bits/procfs-id.h> and <bits/procfs-extra.h>.
2970 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
2971 pr_uid and pr_gid.
2972 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2973 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
2974 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
2975 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
2976 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
2977 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
2978 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
2979 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
2980 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
2981 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
2982 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
2983 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
2984 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
2985 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
2986 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
2987 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
2988 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
2989 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
2990 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
2991 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
2992 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
2993 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
2994 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2995 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
2996
2997 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
2998 AArch64 version. Include <bits/procfs.h>.
2999 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3000 (sysdep_headers): Add bits/procfs.h.
3001 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
3002 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
3003 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
3004 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
3005 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
3006 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
3007 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
3008 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
3009 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
3010 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
3011 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
3012 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
3013 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
3014 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3015 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
3016 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3017 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
3018
3019 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3020
3021 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
3022 Use libsupport.
3023
3024 2018-09-25 Arjun Shankar <arjun@redhat.com>
3025
3026 * iconv/gconv_int.h (__gconv_path_elem): Remove.
3027 (__gconv_max_path_elem_len): Likewise.
3028 (__gconv_nmodules): Likewise.
3029 (__gconv_get_path): Likewise.
3030 (path_elem): Move to ...
3031 * iconv/gconv_conf.c: ... here.
3032 (__gconv_get_path): Mark function static.
3033 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
3034 * iconv/gconv_open.c: ... here.
3035
3036 2018-09-24 Andreas Schwab <schwab@suse.de>
3037
3038 * scripts/haveversions.awk: New file.
3039 * Makerules ($(common-objpfx)Versions.def)
3040 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
3041 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
3042 Move rules ...
3043 * Makeconfig ($(common-objpfx)Versions.def)
3044 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
3045 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
3046 ... here.
3047 ($(common-objpfx)Versions.mk): New rule. Include it.
3048 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
3049 Emit error if build-obsolete-nsl = yes.
3050 * manual/install.texi (Configuring and compiling): Describe
3051 --enable-obsolete-nsl as unavaiable after version 2.28.
3052 * INSTALL: Regenerate.
3053
3054 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3055
3056 * NEWS: Add note about new TLE support on powerpc64le.
3057 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
3058 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
3059 __ununsed1.
3060 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
3061 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
3062 * sysdeps/powerpc/powerpc32/sysdep.h,
3063 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
3064 ABORT_TRANSACTION): Remove macros.
3065 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
3066 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
3067 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
3068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
3069 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3070 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
3071 usage.
3072 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
3073
3074 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
3075
3076 [BZ #10425]
3077 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
3078 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
3079 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
3080 which is the same as in it_IT.
3081 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
3082 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
3083
3084 2018-09-20 Joseph Myers <joseph@codesourcery.com>
3085
3086 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3087 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
3088 using MATH_REDIRECT.
3089 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
3090 header inclusion.
3091 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
3092 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3093 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
3094 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3095 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3096 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
3098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
3099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
3100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
3101 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
3102 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
3103 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3104 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3105 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
3106 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
3107 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
3108 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3109 (ceil): Redirect to __ceil.
3110 (floor): Redirect to __floor.
3111 (trunc): Redirect to __trunc.
3112 (__truncl): Call trunc instead of __trunc.
3113 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
3114 Remove macro.
3115 [_ARCH_PWR5X] (__truncf): Likewise.
3116 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
3117 trunc functions instead of __trunc variants.
3118 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3119 Likewise.
3120 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3121 Likewise.
3122 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3123 Likewise.
3124 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3125 Likewise.
3126
3127 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
3128 [__i586__ || __pentium__].
3129 [__i486__]: Handle explicitly.
3130 (HAS_CPUID): Define to 1 if above macros are undefined.
3131 (HAS_I586): Likewise.
3132 (HAS_I686): Likewise.
3133
3134 2018-09-20 Florian Weimer <fweimer@redhat.com>
3135
3136 * misc/tst-gethostid.c: New file.
3137 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
3138 (tst-gethostid): Link with -ldl.
3139
3140 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
3141
3142 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
3143 value from gethostbyname_r.
3144
3145 2018-09-19 Carlos O'Donell <carlos@redhat.com>
3146
3147 * stdlib/tst-setcontext9.c (f1): Rename to...
3148 (f1a): ... this.
3149 (f1b): New function implementing lower half of f1 in alternate stack.
3150
3151 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
3152
3153 Fix mktime localtime offset confusion
3154 [BZ #23603]
3155 * include/time.h (__mktime_internal): The localtime offset is now
3156 of type long int instead of time_t. This is the longstanding type
3157 in glibc, and it is more than enough to represent difference
3158 between localtime and gmtime even if it is 32 bits and time_t is
3159 64. Changing it now will let us avoid an unnecessary change when
3160 time_t is widened to 64 bits on 32-bit platforms.
3161 * time/mktime-internal.h (mktime_offset_t): Now long int.
3162
3163 Merge mktime, timegm from upstream Gnulib
3164 [BZ #23603][BZ #16346]
3165 This fixes some obscure problems with integer overflow.
3166 Although it looks scary, it is almost all a byte-for-byte copy
3167 from Gnulib, and the Gnulib code has been tested reasonably well.
3168 * include/intprops.h: New file, copied from Gnulib.
3169 * include/verify.h, time/mktime-internal.h:
3170 New tiny files, simplified from Gnulib.
3171 * time/mktime.c: Copy from Gnulib. This has the following changes:
3172 Do not include config.h if DEBUG_MKTIME is nonzero.
3173 Include stdbool.h, intprops.h, verify.h.
3174 Include string.h only if needed.
3175 Include stdlib.h on MS-Windows.
3176 Include mktime-internal.h.
3177 (DEBUG_MKTIME): Default to 0, and simplify later uses.
3178 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
3179 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
3180 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
3181 simplify later conditionals; default the others to zero. Use
3182 these conditionals to express only the code needed on the current
3183 platform. In uses of these conditionals, explicitly spell out how
3184 _LIBC affects things, so it’s easier to review from a glibc
3185 viewpoint.
3186 (WRAPV): Remove; no longer needed now that we have
3187 systematic overflow checking.
3188 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
3189 compartmentalize tzset issues. Move system-dependent tzsettish
3190 code here from mktime.
3191 (verify): Remove; now done by verify.h. All uses changed.
3192 (long_int): Use a more-conservative definition, to avoid
3193 integer overflow.
3194 (SHR): Remove, replacing with ...
3195 (shr): New function, which means we needn’t worry about side
3196 effects in args, and conversion analysis is simpler.
3197 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
3198 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
3199 (time_t_avg, time_t_add_ok): Remove.
3200 (mktime_min, mktime_max): New constants.
3201 (leapyear, isdst_differ): Use bool for booleans.
3202 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
3203 Use long_int, not time_t, for mktime differences.
3204 (long_int_avg): New function, replacing time_t_avg.
3205 INT_ADD_WRAPV replaces time_t_add_ok.
3206 (guess_time_tm): 6th arg is now long_int, not time_t const *.
3207 All uses changed.
3208 (convert_time): New function.
3209 (ranged_convert): Use it.
3210 (__mktime_internal): Last arg now points to mktime_offset_t, not
3211 time_t. All uses changed. This is a no-op on glibc, where
3212 mktime_offset_t is always time_t. Use int, not time_t, for UTC
3213 offset guess. Directly check for integer overflow instead of
3214 using a heuristic that works only 99.9...% of the time.
3215 Access *OFFSET only once, to avoid an unlikely race if the
3216 compiler delays a load and if this cascades into a signed integer
3217 overflow.
3218 (mktime): Move tzsettish code to my_tzset, and move
3219 localtime_offset to within mktime so that it doesn’t
3220 need a separate ifdef.
3221 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
3222 instead of localtime.
3223 * time/timegm.c: Copy from Gnulib. This has the following changes:
3224 Include mktime-internal.h.
3225 [!_LIBC]: Include config.h and time.h. Do not include
3226 timegm.h or time_r.h. Make __mktime_internal a macro,
3227 and include mktime-internal.h to get its declaration.
3228 (timegm): Temporary is now mktime_offset_t, not time_t.
3229 This affects only Gnulib.
3230
3231 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
3232
3233 [BZ #23637]
3234 * string/test-strstr.c (pr23637): New function.
3235 (test_main): Add tests with longer needles.
3236 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
3237 * string/strstr.c (AVAILABLE): Likewise.
3238
3239 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
3240
3241 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
3242
3243 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
3244
3245 * NEWS: Mention pow improvements.
3246 * math/Makefile (type-double-routines): Add e_pow_log_data.
3247 * sysdeps/generic/math_private.h (__exp1): Remove.
3248 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
3249 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
3250 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
3251 contraction.
3252 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
3253 (exp_inline): Remove.
3254 (__ieee754_exp): Only single double input is handled.
3255 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
3256 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
3257 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
3258 (__pow_log_data): Define.
3259 * sysdeps/ieee754/dbl-64/upow.h: Remove.
3260 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
3261 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
3262 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
3263 contraction.
3264 (CFLAGS-e_pow-fma4.c): Likewise.
3265
3266 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
3267
3268 Simplify tzfile fstat failure code
3269 [BZ #21716]
3270 * time/tzfile.c (__tzfile_read): Simplify slightly.
3271
3272 Fix tzfile low-memory assertion failure
3273 [BZ #21716]
3274 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
3275 when registering time zone abbreviations.
3276
3277 2018-09-18 Joseph Myers <joseph@codesourcery.com>
3278
3279 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
3280 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
3281 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
3282 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
3283 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
3284 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
3285 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
3286 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3287 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3288
3289 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
3290 __ceil.
3291 (__ceill): Call ceil instead of __ceil.
3292 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
3293 __floor.
3294 (__floorl): Call floor instead of __floor.
3295
3296 2018-09-17 Joseph Myers <joseph@codesourcery.com>
3297
3298 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3299 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
3300 using MATH_REDIRECT.
3301 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
3302 header inclusion.
3303 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
3304 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3305 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3306 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
3307 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3308 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3309 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3310 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
3311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
3312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
3313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
3314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
3315 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
3316 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
3317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3319 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
3320 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
3321 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
3322 Remove macro.
3323 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
3324 functions instead of __ceil variants.
3325 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
3326 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
3327 Likewise.
3328 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
3329 Likewise.
3330 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3331 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
3332 Likewise.
3333 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
3334 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3335
3336 [BZ #21286]
3337 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
3338 constant.
3339 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
3340 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
3341 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
3342 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
3343 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
3344 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
3345 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
3346 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
3347 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
3348 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
3349 (ILL_BADIADDR): Remove constant.
3350 (TRAP_BRANCH): Likewise.
3351 (TRAP_HWBKPT): Likewise.
3352
3353 2018-09-14 Joseph Myers <joseph@codesourcery.com>
3354
3355 [BZ #23656]
3356 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
3357 Remove [_MIPS_SIM = _ABIN32] conditional case.
3358 (struct elf_prpsinfo): Likewise.
3359
3360 [BZ #23649]
3361 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
3362 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
3363 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
3364 Likewise.
3365 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
3366 elf_prpsinfo): Likewise.
3367 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
3368 elf_prpsinfo): Likewise.
3369 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
3370 Likewise.
3371
3372 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3373 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
3374 using MATH_REDIRECT.
3375 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
3376 header inclusion.
3377 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
3378 * sysdeps/alpha/fpu/s_rint.c: Likewise.
3379 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
3380 * sysdeps/i386/fpu/s_rintl.c: Likewise.
3381 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3382 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3383 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
3384 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3385 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3386 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3387 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
3388 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
3389 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
3390 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
3391 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
3392 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3393 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3394 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
3395 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
3396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
3397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
3398 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
3399 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
3400 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
3401 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
3402 * sysdeps/x86_64/fpu/math_private.h: Remove file.
3403 * math/e_scalb.c (invalid_fn): Use rint functions instead of
3404 __rint variants.
3405 * math/e_scalbf.c (invalid_fn): Likewise.
3406 * math/e_scalbl.c (invalid_fn): Likewise.
3407 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
3408 Likewise.
3409 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3410 Likewise.
3411 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
3412 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
3413 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3414 Likewise.
3415 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3416 Likewise.
3417 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3418 Likewise.
3419 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
3420 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3421
3422 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3423 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
3424 New macro.
3425 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
3426 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
3427 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
3428 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
3429 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
3430 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
3431 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
3432 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
3433 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
3434 && !NO_MATH_REDIRECT] (floor): Likewise.
3435 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
3436 header inclusion.
3437 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
3438 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3439 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3440 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
3441 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3442 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3443 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3444 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
3445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
3446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
3447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
3448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
3449 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
3450 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
3451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3453 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
3454 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
3455 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
3456 Remove macro.
3457 [_ARCH_PWR5X] (__floorf): Likewise.
3458 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
3459 inline function.
3460 [__SSE4_1__] (__floorf): Likewise.
3461 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
3462 instead of __floor variants.
3463 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
3464 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
3465 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
3466 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
3467 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
3468 * math/w_tgamma_compat.c (__tgamma): Likewise.
3469 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
3470 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
3471 * math/w_tgammal_compat.c (__tgammal): Likewise.
3472 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
3473 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3474 Likewise.
3475 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
3476 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
3477 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
3478 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3479 Likewise.
3480 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
3481 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
3482 Likewise.
3483 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
3484 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
3485 Likewise.
3486 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3487 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
3488 Likewise.
3489 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3490 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3491 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
3492 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
3493 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
3494 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3495
3496 2018-09-12 Joseph Myers <joseph@codesourcery.com>
3497
3498 * elf/Makefile (modules-names-tests): New variable.
3499
3500 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
3501
3502 * NEWS: Mention log2 improvements.
3503 * math/Makefile (type-double-routines): Add e_log2_data.
3504 * sysdeps/i386/fpu/e_log2_data.c: New file.
3505 * sysdeps/ia64/fpu/e_log2_data.c: New file.
3506 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
3507 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
3508 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
3509 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
3510 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
3511
3512 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
3513
3514 * NEWS: Mention log improvement.
3515 * math/Makefile (type-double-routines): Add e_log_data.
3516 * sysdeps/i386/fpu/e_log_data.c: New file.
3517 * sysdeps/ia64/fpu/e_log_data.c: New file.
3518 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
3519 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
3520 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
3521 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
3522 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
3523 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
3524
3525 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
3526 Xuepeng Guo <xuepeng.guo@intel.com>
3527
3528 [BZ #23606]
3529 * sysdeps/i386/start.S: Include <sysdep.h>
3530 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
3531 enabled. Add cfi_undefined (eip).
3532
3533 2018-09-11 Joseph Myers <joseph@codesourcery.com>
3534
3535 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
3536 (MOVQ): Likewise.
3537 (EXTRACT_WORDS64): Likewise.
3538 (INSERT_WORDS64): Likewise.
3539 (GET_FLOAT_WORD): Likewise.
3540 (SET_FLOAT_WORD): Likewise.
3541
3542 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
3543 argument.
3544 (Config.build_gcc): Use --disable-libsanitizer for first GCC
3545 build, but not for second build if --full-gcc. Use
3546 --enable-languages=all for second build if --full-gcc.
3547 (get_parser): Add --full-gcc option.
3548 (main): Update call to Context.
3549
3550 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
3551
3552 [BZ #10797]
3553 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
3554 Single Quotation Mark).
3555 (thousands_sep): Likewise.
3556 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
3557 * localedata/locales/it_IT (thousands_sep): Use ".".
3558 (grouping): Use "3;3".
3559
3560 2018-09-10 Joseph Myers <joseph@codesourcery.com>
3561
3562 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3563 x86_64 and i686 configs using --enable-obsolete-rpc
3564 --enable-obsolete-nsl.
3565
3566 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
3567
3568 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3569
3570 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
3571
3572 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
3573 Increment size of new_argv by one.
3574
3575 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
3576
3577 [BZ #17426]
3578 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
3579 * localedata/locales/ar_IN (d_fmt): Likewise.
3580 * localedata/locales/bhb_IN (d_fmt): Likewise.
3581 * localedata/locales/bho_IN (d_fmt): Likewise.
3582 * localedata/locales/bn_BD (d_fmt): Likewise.
3583 * localedata/locales/bn_IN (d_fmt): Likewise.
3584 * localedata/locales/doi_IN (d_fmt): Likewise.
3585 * localedata/locales/gu_IN (d_fmt): Likewise.
3586 * localedata/locales/hi_IN (d_fmt): Likewise.
3587 * localedata/locales/hne_IN (d_fmt): Likewise.
3588 * localedata/locales/kn_IN (d_fmt): Likewise.
3589 * localedata/locales/mag_IN (d_fmt): Likewise.
3590 * localedata/locales/mai_IN (d_fmt): Likewise.
3591 * localedata/locales/mjw_IN (d_fmt): Likewise.
3592 * localedata/locales/ml_IN (d_fmt): Likewise.
3593 * localedata/locales/mni_IN (d_fmt): Likewise.
3594 * localedata/locales/mr_IN (d_fmt): Likewise.
3595 * localedata/locales/pa_IN (d_fmt): Likewise.
3596 * localedata/locales/raj_IN (d_fmt): Likewise.
3597 * localedata/locales/sat_IN (d_fmt): Likewise.
3598 * localedata/locales/sd_IN (d_fmt): Likewise.
3599 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
3600 * localedata/locales/ta_IN (d_fmt): Likewise.
3601 * localedata/locales/ta_LK (d_fmt): Likewise.
3602 * localedata/locales/tcy_IN (d_fmt): Likewise.
3603 * localedata/locales/ur_IN (d_fmt): Likewise.
3604
3605 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
3606 * localedata/locales/ks_IN (d_fmt): Likewise.
3607 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
3608
3609 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
3610 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
3611 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
3612 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
3613
3614 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
3615
3616 * NEWS: Mention exp and exp2 improvements.
3617 * math/Makefile (libm-support): Remove t_exp.
3618 (type-double-routines): Add math_err and e_exp_data.
3619 * sysdeps/aarch64/libm-test-ulps: Update.
3620 * sysdeps/arm/libm-test-ulps: Update.
3621 * sysdeps/i386/fpu/e_exp_data.c: New file.
3622 * sysdeps/i386/fpu/math_err.c: New file.
3623 * sysdeps/i386/fpu/t_exp.c: Remove.
3624 * sysdeps/ia64/fpu/e_exp_data.c: New file.
3625 * sysdeps/ia64/fpu/math_err.c: New file.
3626 * sysdeps/ia64/fpu/t_exp.c: Remove.
3627 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
3628 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
3629 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
3630 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
3631 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
3632 * sysdeps/ieee754/dbl-64/math_config.h: New file.
3633 * sysdeps/ieee754/dbl-64/math_err.c: New file.
3634 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
3635 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
3636 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
3637 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
3638 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
3639 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
3640 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
3641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3643
3644 2018-09-05 Joseph Myers <joseph@codesourcery.com>
3645
3646 * sysdeps/alpha/fpu/math_private.h: Remove.
3647
3648 * sysdeps/generic/math_private.h
3649 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
3650 Move this inline function ....
3651 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
3652 * include/math.h [!_ISOMAC]: To here....
3653
3654 2018-09-04 Joseph Myers <joseph@codesourcery.com>
3655
3656 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
3657 code ....
3658 [!FE_HAVE_ROUNDING_MODES]: And this code ....
3659 * include/fenv.h [!_ISOMAC]: ... to here.
3660 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
3661 (feraiseexcept): Likewise.
3662 * math/fromfp.h: Do not include <fenv_private.h>.
3663 * math/s_cexp_template.c: Likewise.
3664 * math/s_csin_template.c: Likewise.
3665 * math/s_csinh_template.c: Likewise.
3666 * math/s_ctan_template.c: Likewise.
3667 * math/s_ctanh_template.c: Likewise.
3668 * math/s_iseqsig_template.c: Likewise.
3669 * math/w_acos_compat.c: Likewise.
3670 * math/w_acosf_compat.c: Likewise.
3671 * math/w_acosl_compat.c: Likewise.
3672 * math/w_asin_compat.c: Likewise.
3673 * math/w_asinf_compat.c: Likewise.
3674 * math/w_asinl_compat.c: Likewise.
3675 * math/w_j0_compat.c: Likewise.
3676 * math/w_j0f_compat.c: Likewise.
3677 * math/w_j0l_compat.c: Likewise.
3678 * math/w_j1_compat.c: Likewise.
3679 * math/w_j1f_compat.c: Likewise.
3680 * math/w_j1l_compat.c: Likewise.
3681 * math/w_jn_compat.c: Likewise.
3682 * math/w_jnf_compat.c: Likewise.
3683 * math/w_log10_compat.c: Likewise.
3684 * math/w_log10f_compat.c: Likewise.
3685 * math/w_log10l_compat.c: Likewise.
3686 * math/w_log2_compat.c: Likewise.
3687 * math/w_log2f_compat.c: Likewise.
3688 * math/w_log2l_compat.c: Likewise.
3689 * math/w_log_compat.c: Likewise.
3690 * math/w_logf_compat.c: Likewise.
3691 * math/w_logl_compat.c: Likewise.
3692 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3693 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3694 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3695 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3696 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3697 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3698 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3699 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3700 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3701 * sysdeps/ieee754/k_standardl.c: Likewise.
3702 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3703 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3704 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3705 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3706 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3707 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3708 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3709 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3710 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3711 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3712 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3713 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
3714 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
3715 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3716 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3717 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3718 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3719 * math/w_ilogb_template.c: Include <fenv.h> instead of
3720 <fenv_private.h>.
3721 * math/w_llogb_template.c: Likewise.
3722 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3723 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3724
3725 2018-09-03 Joseph Myers <joseph@codesourcery.com>
3726
3727 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
3728 * math/fromfp.h: Include <fenv_private.h>.
3729 * math/math-narrow.h: Likewise.
3730 * math/s_cexp_template.c: Likewise.
3731 * math/s_csin_template.c: Likewise.
3732 * math/s_csinh_template.c: Likewise.
3733 * math/s_ctan_template.c: Likewise.
3734 * math/s_ctanh_template.c: Likewise.
3735 * math/s_iseqsig_template.c: Likewise.
3736 * math/w_acos_compat.c: Likewise.
3737 * math/w_acosf_compat.c: Likewise.
3738 * math/w_acosl_compat.c: Likewise.
3739 * math/w_asin_compat.c: Likewise.
3740 * math/w_asinf_compat.c: Likewise.
3741 * math/w_asinl_compat.c: Likewise.
3742 * math/w_ilogb_template.c: Likewise.
3743 * math/w_j0_compat.c: Likewise.
3744 * math/w_j0f_compat.c: Likewise.
3745 * math/w_j0l_compat.c: Likewise.
3746 * math/w_j1_compat.c: Likewise.
3747 * math/w_j1f_compat.c: Likewise.
3748 * math/w_j1l_compat.c: Likewise.
3749 * math/w_jn_compat.c: Likewise.
3750 * math/w_jnf_compat.c: Likewise.
3751 * math/w_llogb_template.c: Likewise.
3752 * math/w_log10_compat.c: Likewise.
3753 * math/w_log10f_compat.c: Likewise.
3754 * math/w_log10l_compat.c: Likewise.
3755 * math/w_log2_compat.c: Likewise.
3756 * math/w_log2f_compat.c: Likewise.
3757 * math/w_log2l_compat.c: Likewise.
3758 * math/w_log_compat.c: Likewise.
3759 * math/w_logf_compat.c: Likewise.
3760 * math/w_logl_compat.c: Likewise.
3761 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
3762 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
3763 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
3764 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
3765 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3766 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3767 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3768 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3769 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3770 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3771 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3772 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3773 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
3774 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
3775 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3776 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
3777 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3778 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3779 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3780 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3781 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3782 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3783 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3784 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3785 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3786 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3787 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3788 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
3789 * sysdeps/ieee754/float128/float128_private.h: Likewise.
3790 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3791 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3792 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3793 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
3794 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3795 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3796 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3797 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3798 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3799 * sysdeps/ieee754/k_standardl.c: Likewise.
3800 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3801 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3802 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3803 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3804 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3805 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3806 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3807 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3808 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3809 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3810 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3811 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3812 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3813 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3814 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
3815 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3816 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3817 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
3818 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3819 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3820 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3821 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3822 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3823 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3824 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3825 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
3826 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3827 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3828 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
3829 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
3830 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
3831 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3832 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3833 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3834 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3835 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3836 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3837 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3838 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
3839 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
3840 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
3841 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
3842 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
3843 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
3844 * sysdeps/riscv/rvd/s_finite.c: Likewise.
3845 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
3846 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
3847 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
3848 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
3849 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
3850 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
3851 * sysdeps/riscv/rvf/fegetround.c: Likewise.
3852 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
3853 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
3854 * sysdeps/riscv/rvf/fesetround.c: Likewise.
3855 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
3856 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
3857 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
3858 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
3859 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
3860 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
3861 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
3862 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
3863 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
3864 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
3865 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
3866 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
3867 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
3868 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
3869 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
3870 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
3871
3872 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3873
3874 [BZ #20271]
3875 * include/stdio.h (__libc_fatal): Mention newline in comment.
3876 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
3877 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
3878 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3879 * nss/nsswitch.c (__nss_next2): Likewise.
3880 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
3881 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
3882 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
3883 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3884 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
3885 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
3886 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
3887 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
3888 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
3889 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
3890 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
3891 * sysdeps/unix/sysv/linux/netlink_assert_response.c
3892 (__netlink_assert_response): Likewise.
3893
3894 2018-08-31 Joseph Myers <joseph@codesourcery.com>
3895
3896 * conform/glibcconform.py: New file.
3897 * conform/list-header-symbols.py: Likewise.
3898 * conform/list-header-symbols.pl: Remove.
3899 * conform/Makefile (tests-special): Only add linknamespace tests
3900 if [PYTHON].
3901 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
3902
3903 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
3904
3905 [BZ #23597]
3906 * support/Makefile (libsupport-routines): Add
3907 support_copy_file_range and xcopy_file_range.
3908 * support/support.h: Include <sys/types.h>.
3909 (support_copy_file_range): New prototype.
3910 * support/support_copy_file_range.c: New file. Copied and
3911 modified from io/copy_file_range-compat.c.
3912 * support/test-container.c (copy_one_file): Call xcopy_file_rang
3913 instead of copy_file_range.
3914 * support/xcopy_file_range.c: New file.
3915 * support/xunistd.h (xcopy_file_range): New prototype.
3916
3917 2018-08-30 Carlos O'Donell <carlos@redhat.com>
3918
3919 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
3920 xpthread_create and xpthread_join.
3921
3922 2018-08-30 Florian Weimer <fweimer@redhat.com>
3923
3924 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
3925
3926 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
3927
3928 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
3929 if malloc fails.
3930
3931 2018-08-29 Joseph Myers <joseph@codesourcery.com>
3932
3933 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
3934 and minus_oflow as non-finite.
3935
3936 2018-08-28 Joseph Myers <joseph@codesourcery.com>
3937
3938 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
3939 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
3940 moved to fenv_private.h except for ...
3941 (TOINT_INTRINSICS): Kept in math_private.h.
3942 (roundtoint): Likewise.
3943 (converttoint): Likewise.
3944 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
3945 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
3946 * sysdeps/arm/math_private.h: Remove.
3947 * sysdeps/generic/fenv_private.h: New file. Contents moved from
3948 ....
3949 * sysdeps/generic/math_private.h: ... this file. Include
3950 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
3951 Include <fenv_private.h>. Remove functions and macros moved to
3952 fenv_private.h.
3953 * sysdeps/i386/fpu/math_private.h: Remove.
3954 * sysdeps/mips/math_private.h: Move to ....
3955 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
3956 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
3957 [__mips_hard_float] conditional. Include next <fenv_private.h>.
3958 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
3959 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
3960 * sysdeps/powerpc/fpu/math_private.h: Do not include
3961 <fenv_private.h>.
3962 * sysdeps/riscv/rvf/math_private.h: Move to ....
3963 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
3964 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
3965 <fenv_private.h>.
3966 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
3967 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
3968 * sysdeps/sparc/fpu/math_private.h: Remove.
3969 * sysdeps/i386/fpu/fenv_private.h: Move to ....
3970 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
3971 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
3972 <fenv_private.h>.
3973 * sysdeps/x86_64/fpu/math_private.h: Do not include
3974 <sysdeps/i386/fpu/fenv_private.h>.
3975
3976 2018-08-28 Florian Weimer <fweimer@redhat.com>
3977
3978 [BZ #23578]
3979 * posix/tst-regcomp-truncated.c: New file.
3980 * posix/Makefile (tests): Add it.
3981 (tst-regcomp-truncated.out): Depend on generated locales.
3982
3983 2018-08-28 Florian Weimer <fweimer@redhat.com>
3984
3985 * support/test-container.c (main): Treat unshare failure with
3986 EPERM as an unsupported test.
3987
3988 2018-08-28 Florian Weimer <fweimer@redhat.com>
3989
3990 [BZ #23520]
3991 nscd: Fix use-after-free in addgetnetgrentX and its callers.
3992 * nscd/netgroupcache.c
3993 (addgetnetgrentX): Add tofreep parameter. Do not free
3994 heap-allocated buffer.
3995 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
3996 (addgetnetgrentX_ignore): New function.
3997 (addgetnetgrent): Call it.
3998 (readdgetnetgrent): Likewise.
3999
4000 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4001
4002 * string/memmem.c: Use memcmp for first match.
4003
4004 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4005
4006 [BZ #17426]
4007 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
4008
4009 2018-08-27 DJ Delorie <dj@redhat.com>
4010
4011 * support/Makefile (others): Don't list programs explicitly as a
4012 dependency of "others".
4013
4014 2018-08-27 Joseph Myers <joseph@codesourcery.com>
4015
4016 * sysdeps/generic/math-tests-trap-force.h: New file.
4017 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
4018 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
4019 * sysdeps/powerpc/math-tests.h: Remove file.
4020 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
4021
4022 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
4023 Torvald Riegel <triegel@redhat.com>
4024
4025 [BZ #23538]
4026 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
4027 Update r to include the set wake-request flag if waiters are
4028 remaining after spinning.
4029
4030 2018-08-27 Joseph Myers <joseph@codesourcery.com>
4031
4032 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
4033
4034 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
4035
4036 [BZ #23578]
4037 regex: fix uninitialized memory access
4038 I introduced this bug into gnulib in commit
4039 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
4040 eventually it was merged into glibc. The bug was found by
4041 project-repo <bugs@feusi.co> and reported here:
4042 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
4043 Diagnosis and draft fix reported by Assaf Gordon here:
4044 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
4045 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
4046 * posix/regex_internal.c (build_wcs_upper_buffer):
4047 Fix bug when mbrtowc returns 0.
4048
4049 2018-08-24 Carlos O'Donell <carlos@redhat.com>
4050
4051 * po/be.po: Update translation.
4052
4053 2018-08-24 DJ Delorie <dj@delorie.com>
4054
4055 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
4056 $(libunwind).
4057
4058 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4059
4060 [BZ #23400]
4061 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
4062 create temporary files in source tree.
4063
4064 2018-08-24 Joseph Myers <joseph@codesourcery.com>
4065
4066 * sysdeps/generic/math-tests-trap.h: New file.
4067 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
4068 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
4069 * sysdeps/aarch64/math-tests.h: Remove file.
4070 * sysdeps/arm/math-tests.h: Likewise.
4071 * sysdeps/riscv/math-tests.h: Likewise.
4072 * sysdeps/aarch64/math-tests-trap.h: New file.
4073 * sysdeps/arm/math-tests-trap.h: Likewise.
4074 * sysdeps/riscv/math-tests-trap.h: Likewise.
4075
4076 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
4077
4078 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
4079 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
4080 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
4081 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
4082 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
4083 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
4084 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4085 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
4086 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
4087 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4088 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4089 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4090 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4091 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
4092 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
4093 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
4094 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4095 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4096
4097 2018-08-23 Joseph Myers <joseph@codesourcery.com>
4098
4099 * sysdeps/generic/math-tests-exceptions.h: New file.
4100 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
4101 (EXCEPTION_TESTS_float): Do not define here.
4102 (EXCEPTION_TESTS_double): Likewise.
4103 (EXCEPTION_TESTS_long_double): Likewise.
4104 (EXCEPTION_TESTS_float128): Likewise.
4105 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
4106 Likewise.
4107 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
4108 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
4109 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
4110 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
4111 * sysdeps/mips/math-tests.h: Likewise.
4112 * sysdeps/nios2/math-tests.h: Likewise.
4113 * sysdeps/riscv/math-tests.h [!__riscv_flen]
4114 (EXCEPTION_TESTS_float): Do not define here.
4115 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
4116 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
4117 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
4118
4119 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
4120
4121 * NEWS: Move optimized sinf entry to 2.29.
4122
4123 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
4124
4125 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
4126
4127 2018-08-22 DJ Delorie <dj@redhat.com>
4128
4129 * Makefile (testroot.pristine): New rules to initialize the
4130 test-in-container "testroot".
4131 * Makerules (all-testsuite): Add tests-container.
4132 * Rules (tests-expected): Add tests-container.
4133 (binaries-all-tests): Likewise.
4134 (tests-container): New, run these tests in the testroot container.
4135 * support/Makefile (others): Add *-container, support_paths.c,
4136 xmkdirp, and links-dso-program.
4137 * support/links-dso-program-c.c: New.
4138 * support/links-dso-program.cc: New.
4139 * support/test-container.c: New.
4140 * support/shell-container.c: New.
4141 * support/echo-container.c: New.
4142 * support/true-container.c: New.
4143 * support/xmkdirp.c: New.
4144 * support/xsymlink.c: New.
4145 * support/support_paths.c: New.
4146 * support/support.h: Add support paths prototypes.
4147 * support/xunistd.h: Add xmkdirp () and xsymlink ().
4148
4149 * nss/tst-nss-test3.c: Convert to test-in-container.
4150 * nss/tst-nss-test3.root/: New.
4151
4152 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
4153
4154 regex: port Gnulib code to z/OS POSIX environment
4155 Problem reported by Arnold Robbins in:
4156 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
4157 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
4158 Undef.
4159
4160 2018-08-22 Joseph Myers <joseph@codesourcery.com>
4161
4162 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
4163 (ROUNDING_TESTS_double): Remove.
4164 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
4165 (ROUNDING_TESTS_double): Remove.
4166 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
4167 (ROUNDING_TESTS_double): Remove.
4168 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
4169 (ROUNDING_TESTS_float): Remove.
4170 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
4171 (ROUNDING_TESTS_float): Remove.
4172 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
4173 (ROUNDING_TESTS_float): Remove.
4174 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
4175 !TEST_MATHVEC here.
4176 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4177 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4178
4179 * sysdeps/generic/math-tests-rounding.h: New file.
4180 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
4181 (ROUNDING_TESTS_float): Do not define here.
4182 (ROUNDING_TESTS_double): Likewise.
4183 (ROUNDING_TESTS_long_double): Likewise.
4184 (ROUNDING_TESTS_float128): Likewise.
4185 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
4186 (ROUNDING_TESTS_double): Undefine before defining.
4187 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
4188 (ROUNDING_TESTS_double): Undefine before defining.
4189 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
4190 (ROUNDING_TESTS_double): Undefine before defining.
4191 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
4192 (ROUNDING_TESTS_float): Undefine before defining.
4193 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
4194 (ROUNDING_TESTS_float): Undefine before defining.
4195 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
4196 (ROUNDING_TESTS_float): Undefine before defining.
4197 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
4198 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
4199 not define here.
4200 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
4201 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
4202 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
4203 * sysdeps/riscv/math-tests.h [!__riscv_flen]
4204 (ROUNDING_TESTS_float): Do not define here.
4205 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
4206 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
4207 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
4208 (ROUNDING_TESTS_float): Likewise.
4209 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
4210 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
4211 * sysdeps/mips/math-tests.h [__mips_soft_float]
4212 (ROUNDING_TESTS_float): Likewise.
4213 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
4214 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
4215 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
4216 (ROUNDING_TESTS_double): Likewise.
4217 (ROUNDING_TESTS_long_double): Likewise.
4218
4219 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
4220
4221 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
4222 (PF_XDP): New macro.
4223 (AF_XDP): New macro.
4224 (SOL_XDP): New macro.
4225
4226 2018-08-21 Joseph Myers <joseph@codesourcery.com>
4227
4228 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
4229 (TCP_INQ): Likewise.
4230 (TCP_CM_INQ): Likewise.
4231 (TCP_REPAIR_ON): Likewise.
4232 (TCP_REPAIR_OFF): Likewise.
4233 (TCP_REPAIR_OFF_NO_WP): Likewise.
4234 (struct tcp_zerocopy_receive): New type.
4235
4236 2018-08-21 Florian Weimer <fweimer@redhat.com>
4237
4238 * support/support.h (support_descriptor_supports_holes): Declare.
4239 * support/Makefile (libsupport-routines): Add
4240 support_descriptor_supports_holes.
4241 * support/support_descriptor_supports_holes.c: New file.
4242 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
4243 and stop testing if holes are not supported.
4244 * io/test-lfs.c (do_prepare): Likewise.
4245 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
4246 Likewise.
4247 * timezone/tst-tzset.c (create_tz_file): Likewise.
4248 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
4249 variable.
4250 (do_prepare): Set it.
4251 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
4252
4253 2018-08-21 Florian Weimer <fweimer@redhat.com>
4254
4255 [BZ #17248]
4256 * Makeconfig (+cflags): Do not sort (and deduplicate).
4257
4258 2018-08-21 Florian Weimer <fweimer@redhat.com>
4259
4260 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
4261 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
4262
4263 2018-08-20 Florian Weimer <fweimer@redhat.com>
4264
4265 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
4266 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
4267
4268 2018-08-20 Joseph Myers <joseph@codesourcery.com>
4269
4270 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
4271 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
4272 and ssi_arch members.
4273
4274 * elf/elf.c (NT_VMCOREDD): New macro.
4275 (AT_MINSIGSTKSZ): Likewise.
4276
4277 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4278
4279 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4280 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
4281 s_cosf-ppc64 and s_cosf-power8.
4282 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
4283 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4284 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4285 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
4287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
4290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
4291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
4292 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4293 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
4294
4295 2018-08-17 Florian Weimer <fweimer@redhat.com>
4296
4297 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4298
4299 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
4300
4301 * malloc/malloc.c (_int_malloc): Additional binning code checks.
4302
4303 2018-08-16 Florian Weimer <fweimer@redhat.com>
4304
4305 * configure.ac: Add --with-nonshared-cflags option.
4306 * config.make.in (extra-nonshared-cflags): Set variable.
4307 * Makeconfig (CFLAGS-.oS): Use it.
4308 * manual/install.texi (Configuring and compiling): Document
4309 --with-nonshared-cflags.
4310 * configure: Regenerate.
4311 * INSTALL: Likewise.
4312
4313 2018-08-16 Florian Weimer <fweimer@redhat.com>
4314
4315 * Makeconfig (ASFLAGS): Always append required assembler flags.
4316
4317 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
4318
4319 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
4320 (malloc_consolidate): Likewise.
4321
4322 2018-08-16 Pochang Chen <johnchen902@gmail.com>
4323
4324 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
4325
4326 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4327
4328 * benchtests/bench-strlen.c (do_test): Allocate buffers before
4329 every strlen call.
4330
4331 * benchtests/bench-strlen.c: Print performance numbers in json.
4332
4333 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4334
4335 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4336 (sysdep_routines): Build strcmp-power9 and strncmp-power9
4337 only for little endian.
4338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4339 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
4340 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
4341 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
4342 Add check for little endian.
4343 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
4344 (__strcmp_power9): Add check for little endian.
4345 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
4346 Add check for little endian.
4347 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
4348 (__strncmp_power9): Add check for little endian.
4349 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
4350 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
4351 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
4352 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
4353 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
4354
4355 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
4356
4357 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
4358 [!STRLEN](STRLEN): Set to __strlen.
4359 * sysdeps/aarch64/multiarch/strlen.c: New file.
4360 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
4361 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
4362 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
4363 (__libc_ifunc_impl_list): Add strlen.
4364 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
4365 strlen_generic and strlen_asimd.
4366
4367 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
4368
4369 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
4370 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
4371 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
4372
4373 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
4374
4375 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
4376
4377 2018-08-14 Florian Weimer <fweimer@redhat.com>
4378
4379 [BZ #23519]
4380 * include/stdio.h (__vfxprintf): Declare.
4381 * stdio-common/fxprintf.c (__vfxprintf): New function.
4382 (__fxprintf): Call it.
4383 * misc/err.c (convert_and_print): Remove function.
4384 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
4385 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
4386 * misc/Makefile (tests): Add tst-warn-wide.
4387 * misc/tst-warn-wide.c: New file.
4388
4389 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
4390 Szabolcs Nagy <szabolcs.nagy@arm.com>
4391
4392 * NEWS: Mention sinf, cosf, sincosf.
4393 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
4394 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
4395 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
4396 constants rather than including generic sincosf.h.
4397 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
4398 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
4399 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
4400 (reduced_cos): Remove.
4401 (sinf_poly): New function.
4402 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
4403
4404 2018-08-14 Florian Weimer <fweimer@redhat.com>
4405
4406 [BZ #23521]
4407 [BZ #23522]
4408 * nss/nss_files/files-alias.c (get_next_alias): During :include:
4409 processing, bail out if no room, and close the stream before
4410 returning ERANGE.
4411 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
4412 (tst-nss-files-alias-leak): Link with libdl.
4413 (tst-nss-files-alias-leak.out): Depend on nss_files.
4414
4415 * nss/tst-nss-files-alias-leak.c: New file.
4416
4417 2018-08-14 Florian Weimer <fweimer@redhat.com>
4418
4419 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
4420 server_user, stat_user.
4421
4422 2018-08-13 Joseph Myers <joseph@codesourcery.com>
4423
4424 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4425 version to 4.18.
4426 (io_pgetevents): New syscall.
4427 (rseq): Likewise.
4428
4429 * manual/install.texi (Configuring and compiling): Do not list
4430 tools used for testing pretty printers here.
4431 (Tools for Compilation): List Python, PExpect and GDB here.
4432 Update descriptions of uses of Perl and Python.
4433 * INSTALL: Regenerate.
4434
4435 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4436 version to 4.18.
4437
4438 2018-08-13 Florian Weimer <fweimer@redhat.com>
4439
4440 * misc/error.c (error): Add missing va_end call.
4441 (error_at_line): Likewise.
4442
4443 2018-08-13 Florian Weimer <fweimer@redhat.com>
4444
4445 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
4446
4447 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
4448
4449 * benchtests/scripts/benchout.schema.json (properties): Add
4450 new properties.
4451
4452 * benchtests/bench-skeleton.c (main): Add duration and
4453 iterations attributes.
4454
4455 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
4456
4457 regex: Gnulib unibyte RRI uses bytes not chars
4458 Adjust the non-glibc code to agree with what Gawk needs for
4459 rational range interpretation (RRI) for regular expression ranges.
4460 In unibyte locales, Gawk wants ranges to use the underlying byte
4461 rather than the character code point. This change does not affect
4462 glibc proper.
4463 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
4464 In unibyte locales, use the byte value rather than
4465 running it through btowc.
4466
4467 2018-08-10 Joseph Myers <joseph@codesourcery.com>
4468
4469 * sysdeps/generic/math-tests-snan.h: New file.
4470 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
4471 (SNAN_TESTS_float): Do not define here.
4472 (SNAN_TESTS_double): Likewise.
4473 (SNAN_TESTS_long_double): Likewise.
4474 (SNAN_TESTS_float128): Likewise.
4475 * sysdeps/i386/fpu/math-tests-snan.h: New file.
4476 * sysdeps/i386/fpu/math-tests.h: Remove file.
4477 * sysdeps/ia64/math-tests-snan.h: New file.
4478 * sysdeps/ia64/math-tests.h: Remove file.
4479 * sysdeps/x86/math-tests.h: Likewise.
4480 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
4481
4482 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
4483 Szabolcs Nagy <szabolcs.nagy@arm.com>
4484
4485 * math/Makefile: Add s_sincosf_data.c.
4486 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
4487 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
4488 (sincosf_poly): Likewise.
4489 (reduce_small): Likewise.
4490 (reduce_large): Likewise.
4491 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
4492 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
4493 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
4494 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
4495
4496 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
4497 Szabolcs Nagy <szabolcs.nagy@arm.com>
4498
4499 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
4500 (converttoint): Use lround.
4501 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
4502 document the semantics when TOINT_INTRINSICS is set.
4503 (converttoint): Likewise.
4504 (TOINT_RINT): Remove.
4505 (TOINT_SHIFT): Remove.
4506 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
4507 path.
4508
4509 2018-08-10 Florian Weimer <fweimer@redhat.com>
4510
4511 [BZ #23497]
4512 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
4513 function.
4514 (__old_getdents64): Use getdents64. Convert entries without
4515 moving them.
4516 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
4517 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
4518 tst-readdir64-compat.
4519
4520 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4521
4522 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
4523 Fix unwind.
4524
4525 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4526
4527 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
4528 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
4529 code to s390x-mcount.h and #include it.
4530 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
4531 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4532 (__fentry__): Add.
4533
4534 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4535
4536 * stdlib/Versions: Remove __fentry__.
4537 * sysdeps/i386/Versions: Add __fentry__.
4538 * sysdeps/x86_64/Versions: Add __fentry__.
4539
4540 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4541
4542 * sysdeps/s390/Makefile: Register the new tests.
4543 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
4544 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
4545 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
4546 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
4547 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
4548 * sysdeps/s390/tst-dl-runtime.c: New file.
4549
4550 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4551
4552 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4553 Do not clobber R0.
4554
4555 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4556
4557 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
4558 Do not clobber R0.
4559
4560 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4561
4562 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4563 Do not clobber R0.
4564
4565 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4566
4567 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4568 Do not clobber R0.
4569
4570 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4571
4572 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4573 Use symbolic offsets for stack variables.
4574
4575 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4576
4577 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
4578 Use symbolic offsets for stack variables.
4579
4580 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4581
4582 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4583 Use symbolic offsets for stack variables.
4584
4585 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
4586
4587 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4588 Use symbolic offsets for stack variables.
4589
4590 2018-08-09 Joseph Myers <joseph@codesourcery.com>
4591
4592 * math/gen-libm-test.py: New file.
4593 * math/gen-libm-test.pl: Remove.
4594 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
4595 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
4596 gen-libm-test.pl.
4597 ($(libm-test-c-noauto-obj)): Likewise.
4598 ($(libm-test-c-auto-obj)): Likewise.
4599 ($(libm-test-c-narrow-obj)): Likewise.
4600 (regen-ulps): Likewise.
4601 * math/README.libm-test: Update references to gen-libm-test.pl.
4602 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
4603 referencing gen-libm-test.pl.
4604 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
4605 * math/libm-test-support.c: Likewise.
4606 * math/libm-test-support.h: Likewise.
4607 * sysdeps/generic/libm-test-ulps: Likewise.
4608
4609 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
4610
4611 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
4612 Fix value.
4613
4614 2018-08-08 Joseph Myers <joseph@codesourcery.com>
4615
4616 * math/libm-test-nextdown.inc (do_test): Move comment to ....
4617 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
4618
4619 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4620
4621 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
4622 symbols.
4623 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
4624 __pthread_setspecific): Add hidden proto.
4625 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
4626 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
4627
4628 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
4629
4630 * benchtests/bench-string.h (buf1_size, buf2_size): New
4631 variables.
4632 (init_sizes): New function.
4633 (test_init): Use it.
4634 (alloc_buf, exit_error): New functions.
4635 (alloc_bufs): Use ALLOC_BUF.
4636 (realloc_bufs): Remove.
4637 * benchtests/bench-memcmp.c (do_test): Adjust.
4638 * benchtests/bench-memset-large.c (do_test): Likewise.
4639 * benchtests/bench-memset-walk.c (do_test): Likewise.
4640 * benchtests/bench-memset.c (do_test): Likewise.
4641 * benchtests/bench-strncmp.c (do_test): Likewise.
4642
4643 2018-08-06 Andreas Schwab <schwab@suse.de>
4644
4645 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
4646 of CONST_THREAD_AREA.
4647
4648 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
4649
4650 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
4651 (STATE_SAVE_MASK): Likewise.
4652 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
4653 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
4654 (STATE_SAVE_MASK): Likewise.
4655 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
4656 instead of <cpu-features.h>.
4657
4658 2018-08-03 DJ Delorie <dj@redhat.com>
4659
4660 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
4661 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
4662
4663 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4664
4665 2018-08-03 Joseph Myers <joseph@codesourcery.com>
4666
4667 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
4668 after TEST_* calls.
4669 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
4670 * math/libm-test-logb.inc (logb_test_data): Likewise.
4671
4672 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
4673
4674 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
4675 * string/strstr.c (AVAILABLE): Likewise.
4676
4677 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
4678
4679 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
4680 <init-arch.h>.
4681 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
4682 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
4683 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
4684
4685 2018-08-03 Carlos O'Donell <carlos@redhat.com>
4686
4687 * po/be.po: Update translation.
4688
4689 * po/be.po: Update translation.
4690
4691 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
4692
4693 * sysdeps/x86/cpu-features-offsets.sym
4694 (rtld_global_ro_offsetof): Removed.
4695 (CPU_FEATURES_SIZE): Likewise.
4696 (CPUID_OFFSET): Likewise.
4697 (CPUID_SIZE): Likewise.
4698 (CPUID_EAX_OFFSET): Likewise.
4699 (CPUID_EBX_OFFSET): Likewise.
4700 (CPUID_ECX_OFFSET): Likewise.
4701 (CPUID_EDX_OFFSET): Likewise.
4702 (FAMILY_OFFSET): Likewise.
4703 (MODEL_OFFSET): Likewise.
4704 (FEATURE_OFFSET): Likewise.
4705 (FEATURE_SIZ): Likewise.
4706 (COMMON_CPUID_INDEX_1): Likewise.
4707 (COMMON_CPUID_INDEX_7): Likewise.
4708 (FEATURE_INDEX_1): Likewise.
4709 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
4710
4711 2018-08-02 Carlos O'Donell <carlos@redhat.com>
4712
4713 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
4714 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
4715 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
4716 (install-locales): Depend on install-locale-archive.
4717 (install-locale-archive): Define.
4718 (install-locale-files): Define.
4719 (build-one-locale): Define macro.
4720 * manual/install.texi (Running make install): Document.
4721 * manual/INSTALL: Regenerate.
4722
4723 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
4724
4725 * benchtests/scripts/compare_strings.py: Import traceback.
4726 (parse_file): Pretty-print error.
4727
4728 * NEWS: Mention the change.
4729 * elf/dl-tunables.list: Rename tune namespace to cpu.
4730 * sysdeps/powerpc/dl-tunables.list: Likewise.
4731 * sysdeps/x86/dl-tunables.list: Likewise.
4732 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
4733 cpu.name.
4734 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
4735 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
4736 * manual/README.tunables: Likewise.
4737 * manual/tunables.texi: Likewise.
4738 * sysdeps/powerpc/cpu-features.c: Likewise.
4739 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
4740 (init_cpu_features): Likewise.
4741 * sysdeps/x86/cpu-features.c: Likewise.
4742 * sysdeps/x86/cpu-features.h: Likewise.
4743 * sysdeps/x86/cpu-tunables.c: Likewise.
4744 * sysdeps/x86_64/Makefile: Likewise.
4745 * sysdeps/x86/dl-cet.c: Likewise.
4746
4747 2018-08-02 Joseph Myers <joseph@codesourcery.com>
4748
4749 [BZ #23479]
4750 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
4751 [__mips_hard_float].
4752 (FE_UNDERFLOW): Likewise.
4753 (FE_OVERFLOW): Likewise.
4754 (FE_DIVBYZERO): Likewise.
4755 (FE_INVALID): Likewise.
4756 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
4757 (FE_TOWARDZERO): Define only if [__mips_hard_float].
4758 (FE_UPWARD): Likewise.
4759 (FE_DOWNWARD): Likewise.
4760 (__FE_UNDEFINED): Define if [!__mips_hard_float]
4761 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
4762 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
4763 [__mips_hard_float].
4764 (FP_ROUNDMODE): Likewise.
4765 (FP_RND_NEAREST): Likewise.
4766 (FP_RND_ZERO): Likewise.
4767 (FP_RND_PINF): Likewise.
4768 (FP_RND_MINF): Likewise.
4769 (FP_EX_INVALID): Likewise.
4770 (FP_EX_OVERFLOW): Likewise.
4771 (FP_EX_UNDERFLOW): Likewise.
4772 (FP_EX_DIVZERO): Likewise.
4773 (FP_EX_INEXACT): Likewise.
4774 (FP_INIT_ROUNDMODE): Likewise.
4775 * sysdeps/mips/nofpu/fesetenv.c: New file.
4776 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
4777
4778 2018-08-01 Joseph Myers <joseph@codesourcery.com>
4779
4780 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
4781 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
4782 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
4783 conditional on [FE_UPWARD].
4784
4785 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
4786
4787 regex: fix memory leak in Gnulib
4788 Problem and fix reported by Assaf Gordon in:
4789 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
4790 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
4791 range_ends members too, as they are defined in 'struct
4792 re_charset_t' even if not _LIBC. This affects only Gnulib.
4793
4794 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
4795
4796 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
4797 ...
4798 (get_common_indices): This.
4799 (init_cpu_features): Updated.
4800
4801 2018-08-01 Joseph Myers <joseph@codesourcery.com>
4802
4803 * sysdeps/generic/math-tests-snan-payload.h: New file.
4804 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
4805 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
4806 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
4807 * sysdeps/generic/math-tests.h: Include
4808 <math-tests-snan-payload.h>.
4809 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
4810 * sysdeps/hppa/math-tests.h: Remove file.
4811 * sysdeps/mips/math-tests.h [!__mips_nan2008]
4812 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
4813 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
4814 Likewise.
4815
4816 * sysdeps/generic/math-tests-snan-cast.h: New file.
4817 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
4818 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
4819 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
4820 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
4821
4822 2018-08-01 Carlos O'Donel <carlos@redhat.com>
4823
4824 * version.h (RELEASE): Set to "development".
4825 (VERSION): Set to "2.28.9000".
4826 * NEWS (2.29): New section.
4827
4828 * version.h (RELEASE): Set to "stable".
4829 (VERSION): Set to "2.28".
4830 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
4831 * NEWS: Add the list of bugs fixed in 2.28.
4832
4833 * po/ca.po: Update to latest version.
4834 * po/cs.po: Likewise
4835 * po/da.po: Likewise
4836 * po/el.po: Likewise
4837 * po/eo.po: Likewise
4838 * po/es.po: Likewise
4839 * po/fi.po: Likewise
4840 * po/fr.po: Likewise
4841 * po/gl.po: Likewise
4842 * po/hu.po: Likewise
4843 * po/ia.po: Likewise
4844 * po/id.po: Likewise
4845 * po/it.po: Likewise
4846 * po/ja.po: Likewise
4847 * po/ko.po: Likewise
4848 * po/lt.po: Likewise
4849 * po/nb.po: Likewise
4850 * po/nl.po: Likewise
4851 * po/pt_BR.po: Likewise
4852 * po/ru.po: Likewise
4853 * po/rw.po: Likewise
4854 * po/sk.po: Likewise
4855 * po/sl.po: Likewise
4856 * po/tr.po: Likewise
4857 * po/zh_CN.po: Likewise
4858 * po/zh_TW.po: Likewise
4859
4860 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4861
4862 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
4863 initialization...
4864 (init): ... before initializing libpthread.
4865
4866 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
4867 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
4868 (__mach_setup_tls): ... new function.
4869 (mach_setup_tls): New alias.
4870 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
4871 __mach_setup_thread.
4872 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
4873 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
4874 * mach/Versions [libc] (mach_setup_tls): Add symbol.
4875 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
4876
4877 2018-07-31 Carlos O'Donell <carlos@redhat.com>
4878
4879 * manual/install.texi: Update versions.
4880 * INSTALL: Regenerate.
4881
4882 * manual/contrib.texi (Contributors): Update contributions.
4883
4884 2018-07-31 Carlos O'Donell <carlos@redhat.com>
4885
4886 * po/be.po: Update translations.
4887
4888 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4889
4890 * sysdeps/sh/libm-test-ulps: Update.
4891
4892 2018-07-30 Carlos O'Donell <carlos@redhat.com>
4893
4894 * po/bg.po: Update translations.
4895 * po/de.po: Likewise.
4896 * po/hr.po: Likewise.
4897 * po/pt_BR.po: Likewise.
4898 * po/sv.po: Likewise.
4899 * po/vi.po: Likewise.
4900
4901 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
4902
4903 [BZ #23467]
4904 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
4905 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
4906 (CFLAGS-tst-cet-property-1.o): New.
4907 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
4908 ($(objpfx)tst-cet-property-2): Likewise.
4909 ($(objpfx)tst-cet-property-2.out): Likewise.
4910 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
4911 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
4912 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
4913 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
4914 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
4915
4916 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
4917
4918 [BZ #23458]
4919 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
4920
4921 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4922
4923 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
4924 __sbrk): Do not set attribute_hidden.
4925 * sysdeps/mach/hurd/not-errno.h: New file.
4926 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
4927 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
4928
4929 2018-07-27 Carlos O'Donell <carlos@redhat.com>
4930
4931 * po/uk.po: Update translations.
4932 * po/cs.po: Likewise.
4933 * po/pl.po: Likewise.
4934
4935 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
4936
4937 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
4938 parse beyond the note end.
4939
4940 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4941
4942 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
4943 kernel does not support OFD locks.
4944 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
4945
4946 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4947
4948 * sysdeps/mach/hurd/Versions (libc): Make __access and
4949 __access_noerrno external so they can override the ld symbols.
4950 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
4951 __writev, __open64, __access_noerrno extern so they can be overrided.
4952 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
4953 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
4954
4955 2018-07-26 Carlos O'Donell <carlos@redhat.com>
4956
4957 * po/libc.pot: Regenerate.
4958
4959 2018-07-26 Joseph Myers <joseph@codesourcery.com>
4960
4961 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4962
4963 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
4964
4965 [BZ #23459]
4966 * sysdeps/x86/cpu-features.c (get_extended_indices): New
4967 function.
4968 (init_cpu_features): Call get_extended_indices for both Intel
4969 and AMD CPUs.
4970 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
4971 Remove "for AMD" comment.
4972
4973 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
4974
4975 [BZ # 23456]
4976 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
4977 COMMON_CPUID_INDEX_80000001.
4978
4979 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
4980
4981 * string/tst-xbzero-opt.c (use_test_buffer): New function.
4982 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
4983
4984 2018-07-26 Florian Weimer <fweimer@redhat.com>
4985
4986 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
4987 aliases for symbols not in the implementation namespace.
4988
4989 2018-07-25 Carlos O'Donell <carlos@redhat.com>
4990
4991 [BZ #23393]
4992 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
4993 lowercase in LATIN script.
4994 * localedata/Makefile (test-input): Add en_US.UTF-8.
4995 * localedata/en_US.UTF-8.in: New file.
4996 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
4997 and restore old tests.
4998 * posix/tst-regexloc.c (do_test): Add back range expression test.
4999
5000 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5001
5002 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
5003
5004 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5005
5006 * nptl/threads.h: Move to ...
5007 * sysdeps/nptl/threads.h: ... here.
5008 * sysdeps/hurd/stdc-predef.h: New file.
5009
5010 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5011
5012 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
5013 tst-cet-setcontext-1 if CET is enabled.
5014 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
5015 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
5016
5017 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5018
5019 * include/threads.h: Move to ...
5020 * sysdeps/nptl/threads.h: ... here.
5021 * sysdeps/htl/threads.h: New file.
5022 * conform/Makefile (linknamespace-libs-ISO11): Use
5023 static-thread-library instead of linking libpthread.
5024 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
5025
5026 2018-07-25 Florian Weimer <fweimer@redhat.com>
5027
5028 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
5029 nanoseconds into seconds.
5030 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
5031 (do_test): Likewise.
5032 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
5033 (do_test): Likewise. Avoid nanosecond overflow and spurious
5034 timeouts due to system load.
5035 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
5036 (child_wait): Increment it.
5037 (do_test): Wait as long as necessary until all expected threads
5038 have arrived.
5039
5040 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
5041 H.J. Lu <hongjiu.lu@intel.com>
5042
5043 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
5044 __ssp.
5045 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
5046 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
5047 (__push___start_context): New.
5048 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
5049 <asm/prctl.h>.
5050 (__getcontext): Record the current shadow stack base. Save the
5051 caller's shadow stack pointer and base.
5052 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
5053 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
5054 (__push___start_context): New prototype.
5055 (__makecontext): Call __push___start_context to allocate a new
5056 shadow stack, push __start_context onto the new stack as well
5057 as the new shadow stack.
5058 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
5059 <asm/prctl.h>.
5060 (__setcontext): Restore the target shadow stack.
5061 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
5062 <asm/prctl.h>.
5063 (__swapcontext): Record the current shadow stack base. Save
5064 the caller's shadow stack pointer and base. Restore the target
5065 shadow stack.
5066 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5067 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
5068 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
5069
5070 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5071
5072 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
5073 tst-setcontext8 and tst-setcontext9.
5074 * stdlib/tst-setcontext6.c: New file.
5075 * stdlib/tst-setcontext7.c: Likewise.
5076 * stdlib/tst-setcontext8.c: Likewise.
5077 * stdlib/tst-setcontext9.c: Likewise.
5078
5079 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5080
5081 * stdlib/Makefile ((tests): Add tst-setcontext5.
5082 * stdlib/tst-setcontext5.c: New file.
5083
5084 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5085
5086 * stdlib/Makefile (tests): Add tst-setcontext4.
5087 * stdlib/tst-setcontext4.c: New file.
5088
5089 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5090
5091 * stdlib/Makefile (tests): Add tst-swapcontext1.
5092 * stdlib/tst-swapcontext1.c: New test.
5093
5094 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5095
5096 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
5097 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
5098 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
5099 and tst-cet-legacy-4c.
5100 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
5101 and tst-cet-legacy-mod-4.
5102 (CFLAGS-tst-cet-legacy-2.c): New.
5103 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
5104 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
5105 (CFLAGS-tst-cet-legacy-3.c): Likewise.
5106 (CFLAGS-tst-cet-legacy-4.c): Likewise.
5107 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
5108 ($(objpfx)tst-cet-legacy-1): Likewise.
5109 ($(objpfx)tst-cet-legacy-2): Likewise.
5110 ($(objpfx)tst-cet-legacy-2.out): Likewise.
5111 ($(objpfx)tst-cet-legacy-2a): Likewise.
5112 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
5113 ($(objpfx)tst-cet-legacy-4): Likewise.
5114 ($(objpfx)tst-cet-legacy-4.out): Likewise.
5115 ($(objpfx)tst-cet-legacy-4a): Likewise.
5116 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
5117 (tst-cet-legacy-4a-ENV): Likewise.
5118 ($(objpfx)tst-cet-legacy-4b): Likewise.
5119 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
5120 (tst-cet-legacy-4b-ENV): Likewise.
5121 ($(objpfx)tst-cet-legacy-4c): Likewise.
5122 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
5123 (tst-cet-legacy-4c-ENV): Likewise.
5124 * sysdeps/x86/tst-cet-legacy-1.c: New file.
5125 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
5126 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
5127 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
5128 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
5129 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
5130 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
5131 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
5132 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
5133 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
5134 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
5135
5136 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5137
5138 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
5139 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
5140 with ssp_base.
5141 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
5142 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
5143 with ssp_base.
5144
5145 2018-07-25 Andreas Schwab <schwab@suse.de>
5146
5147 [BZ #23442]
5148 * locale/weightwc.h (findidx): Handle the case where usrc is a
5149 prefix of cp but one character too short.
5150
5151 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5152
5153 * NEWS: Add ISO C threads addition.
5154
5155 2018-07-24 Florian Weimer <fweimer@redhat.com>
5156
5157 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5158 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
5159 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
5160 4.13.
5161
5162 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
5163
5164 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
5165 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
5166 <sys/prctl.h> and <asm/prctl.h>.
5167 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
5168 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
5169 and <asm/prctl.h>.
5170 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
5171 ARCH_CET_LEGACY_BITMAP.
5172 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
5173 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
5174 * sysdeps/x86/libc-start.c: Include <startup.h>.
5175
5176 2018-07-24 Florian Weimer <fweimer@redhat.com>
5177
5178 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
5179 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
5180
5181 2018-07-24 Rical Jasan <rj@2c3t.io>
5182 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5183 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
5184
5185 [BZ #14092]
5186 * manual/debug.texi: Update adjacent chapter name.
5187 * manual/probes.texi: Likewise.
5188 * manual/threads.texi (ISO C Threads): New section.
5189 (POSIX Threads): Convert to a section.
5190
5191 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5192 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
5193
5194 [BZ# 14092]
5195 * nptl/Makefile (tests): Add new test files.
5196 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
5197 * nptl/tst-cnd-basic.c: Likewise.
5198 * nptl/tst-cnd-broadcast.c: Likewise.
5199 * nptl/tst-cnd-timedwait.c: Likewise.
5200 * nptl/tst-mtx-basic.c: Likewise.
5201 * nptl/tst-mtx-recursive.c: Likewise.
5202 * nptl/tst-mtx-timedlock.c: Likewise.
5203 * nptl/tst-mtx-trylock.c: Likewise.
5204 * nptl/tst-thrd-basic.c: Likewise.
5205 * nptl/tst-thrd-detach.c: Likewise.
5206 * nptl/tst-thrd-sleep.c: Likewise.
5207 * nptl/tst-tss-basic.c: Likewise.
5208
5209 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5210
5211 [BZ #14092]
5212 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
5213 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
5214 symbols.
5215 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5216 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5217 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5218 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5219 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5220 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5221 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5222 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5223 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5224 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5225 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5226 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5228 Likewise.
5229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5230 Likewise.
5231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5232 Likewise.
5233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5234 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5235 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5236 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5237 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5238 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5239 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5240 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5241 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5242 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
5243 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
5244 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
5245 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
5246 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
5247 Likewise.
5248 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
5249 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
5250 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
5251 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
5252 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
5253 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
5254 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
5255 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
5256 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
5257 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
5258 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
5259 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
5260 ikewise.
5261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
5262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5263 Likewise.
5264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5265 Likewise.
5266 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
5267 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
5268 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
5269 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
5270 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
5271 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
5272 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
5273 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
5274
5275 [BZ #14092]
5276 * conform/data/threads.h-data (thread_local): New macro.
5277 (TSS_DTOR_ITERATIONS): Likewise.
5278 (tss_t): New type.
5279 (tss_dtor_t): Likewise.
5280 (tss_create): New function.
5281 (tss_get): Likewise.
5282 (tss_set): Likewise.
5283 (tss_delete): Likewise.
5284 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
5285 tss_get, and tss_set objects.
5286 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
5287 * nptl/tss_create.c: New file.
5288 * nptl/tss_delete.c: Likewise.
5289 * nptl/tss_get.c: Likewise.
5290 * nptl/tss_set.c: Likewise.
5291 * sysdeps/nptl/threads.h (thread_local): New define.
5292 (TSS_DTOR_ITERATIONS): Likewise.
5293 (tss_t): New typedef.
5294 (tss_dtor_t): Likewise.
5295 (tss_create): New prototype.
5296 (tss_get): Likewise.
5297 (tss_set): Likewise.
5298 (tss_delete): Likewise.
5299
5300 [BZ #14092]
5301 * conform/data/threads.h-data (cnd_t): New type.
5302 (cnd_init): New function.
5303 (cnd_signal): Likewise.
5304 (cnd_broadcast): Likewise.
5305 (cnd_wait): Likewise.
5306 (cnd_timedwait): Likewise.
5307 (cnd_destroy): Likewise.
5308 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
5309 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
5310 object.
5311 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
5312 * nptl/cnd_broadcast.c: New file.
5313 * nptl/cnd_destroy.c: Likewise.
5314 * nptl/cnd_init.c: Likewise.
5315 * nptl/cnd_signal.c: Likewise.
5316 * nptl/cnd_timedwait.c: Likewise.
5317 * nptl/cnd_wait.c: Likewise.
5318 * sysdeps/nptl/threads.h (cnd_t): New type.
5319 (cnd_init): New prototype.
5320 (cnd_signa): Likewise.
5321 (cnd_broadcast): Likewise.
5322 (cnd_wait): Likewise.
5323 (cnd_timedwait): Likewise.
5324 (cnd_destroy): Likewise.
5325
5326 [BZ #14092]
5327 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
5328 (once_flag): New type.
5329 (call_once): New function.
5330 * nptl/Makefile (libpthread-routines): Add call_once object.
5331 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
5332 * nptl/call_once.c: New file.
5333 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
5334 (once_flag): New type.
5335 (call_once): New prototype.
5336
5337 [BZ #14092]
5338 * conform/data/threads.h-data (mtx_plain): New constant.
5339 (mtx_recursive): Likewise.
5340 (mtx_timed): Likewise.
5341 (mtx_t): New type.
5342 (mtx_init): New function.
5343 (mtx_lock): Likewise.
5344 (mtx_timedlock): Likewise.
5345 (mtx_trylock): Likewise.
5346 (mtx_unlock): Likewise.
5347 (mtx_destroy): Likewise.
5348 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
5349 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
5350 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
5351 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
5352 * nptl/mtx_destroy.c: New file.
5353 * nptl/mtx_init.c: Likewise.
5354 * nptl/mtx_lock.c: Likewise.
5355 * nptl/mtx_timedlock.c: Likewise.
5356 * nptl/mtx_trylock.c: Likewise.
5357 * nptl/mtx_unlock.c: Likewise.
5358 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
5359 (mtx_recursive): Likewise.
5360 (mtx_timed): Likewise.
5361 (mtx_t): New type.
5362 (mtx_init): New prototype.
5363 (mtx_lock): Likewise.
5364 (mtx_timedlock): Likewise.
5365 (mtx_trylock): Likewise.
5366 (mtx_unlock): Likewise.
5367 (mtx_destroy): Likewise.
5368
5369 [BZ #14092]
5370 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
5371 (linknamespace-libs-ISO11): Add libpthread.a.
5372 * conform/data/threads.h-data: New file: add C11 thrd_* types and
5373 functions.
5374 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
5375 * nptl/Makefile (headers): Add threads.h.
5376 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
5377 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
5378 thrd_yield.
5379 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
5380 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
5381 thrd_join, thrd_sleep, and thrd_yield symbols.
5382 * nptl/descr.h (struct pthread): Add c11 field.
5383 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
5384 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
5385 routine with expected function prototype.
5386 (__pthread_create_2_1): Add C11 threads check based on attribute
5387 value.
5388 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
5389 * nptl/thrd_create.c: New file.
5390 * nptl/thrd_current.c: Likewise.
5391 * nptl/thrd_detach.c: Likewise.
5392 * nptl/thrd_equal.c: Likewise.
5393 * nptl/thrd_exit.c: Likewise.
5394 * nptl/thrd_join.c: Likewise.
5395 * nptl/thrd_priv.h: Likewise.
5396 * nptl/thrd_sleep.c: Likewise.
5397 * nptl/thrd_yield.c: Likewise.
5398 * include/threads.h: Likewise.
5399
5400 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
5401
5402 * bits/indirect-return.h: New file.
5403 * misc/sys/cdefs.h (__glibc_has_attribute): New.
5404 * sysdeps/x86/bits/indirect-return.h: Likewise.
5405 * stdlib/Makefile (headers): Add bits/indirect-return.h.
5406 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
5407 (swapcontext): Add __INDIRECT_RETURN.
5408 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
5409 (prepare_test_buffer): Use it.
5410
5411 2018-07-24 Andreas Schwab <schwab@suse.de>
5412
5413 [BZ #23448]
5414 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
5415 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
5416
5417 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
5418
5419 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
5420 Redefine if shadow stack is enabled.
5421 (SYSCALL_ERROR_LABEL): Likewise.
5422 (__vfork): Pop shadow stack and jump back to to caller directly
5423 when shadow stack is in use.
5424 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
5425 Redefine if shadow stack is enabled.
5426 (SYSCALL_ERROR_LABEL): Likewise.
5427 (__vfork): Pop shadow stack and jump back to to caller directly
5428 when shadow stack is in use.
5429
5430 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
5431
5432 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
5433 enabled.
5434 (foo): Likewise.
5435 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
5436 (foo): Likewise.
5437
5438 2018-07-20 Joseph Myers <joseph@codesourcery.com>
5439
5440 * scripts/build-many-glibcs.py (Context.checkout): Default
5441 binutils version to 2.31 branch.
5442
5443 2018-07-20 Zong Li <zong@andestech.com>
5444
5445 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
5446 URL of gcc's tarball.
5447
5448 2018-07-20 Florian Weimer <fweimer@redhat.com>
5449
5450 [BZ #23396]
5451 * posix/regcomp.c (build_equiv_class): When comparing weights, do
5452 not compare an extra byte after the end of the weights.
5453
5454 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
5455
5456 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
5457 to 1.
5458 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
5459 hidden prototypes.
5460 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
5461 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
5462 * scripts/check-execstack.awk: Consider `xfail' variable containing a
5463 list of libraries whose stack executability is expected.
5464 * elf/Makefile ($(objpfx)check-execstack.out): Pass
5465 $(check-execstack-xfail) to check-execstack.awk through `xfail'
5466 variable.
5467 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
5468 libc.so libpthread.so.
5469
5470 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
5471
5472 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
5473 SOCK_NONBLOCK.
5474 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
5475 and SOCK_NONBLOCK.
5476 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
5477 implement __pipe2.
5478 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
5479
5480 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5481
5482 * benchtests/scripts/compare_bench.py (__main__): use the argparse
5483 library to improve command line parsing.
5484 (__main__): make schema file as optional parameter (--schema),
5485 defaulting to benchtests/scripts/benchout.schema.json.
5486 (main): move out of the parsing stuff to __main_  and leave it
5487 only as caller of main comparison functions.
5488
5489 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
5490
5491 * NEWS: Add a note for Intel CET status.
5492 * manual/install.texi: Likewise.
5493 * INSTALL: Regenerated.
5494
5495 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
5496
5497 [BZ #23140]
5498 * localedata/locales/oc_FR (mon): Rename to...
5499 (alt_mon): This, then update October (typo fix).
5500 (mon): New content (genitive case, month names preceded by
5501 "de" or "d’").
5502
5503 [BZ #23422]
5504 * localedata/locales/oc_FR (abday): Update all items.
5505 (day): Update Wednesday and Saturday (typo fixes).
5506 (abmon): Update all items, except May.
5507 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
5508 (LC_IDENTIFICATION): Bump the revision number and date.
5509 Keep the "category" entries in alphabetic order.
5510 (LC_ADDRESS): Remove no longer needed comment.
5511 (LC_COLLATE): Use “copy "ca_ES"”.
5512 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
5513 "name_mrs".
5514
5515 2018-07-18 Joseph Myers <joseph@codesourcery.com>
5516
5517 * grp/tst_fgetgrent.c: Include <unistd.h>.
5518 (main): Use mkstemp instead of tmpnam.
5519 * io/test-utime.c (main): Likewise.
5520 * posix/annexc.c (macrofile): Change to modifiable array.
5521 (main): Remove macrofile here.
5522 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
5523 macrofile here.
5524 (check_header): Do not remove macrofile here.
5525 * posix/bug-getopt1.c: Include <stdlib.h>.
5526 (do_test): Use mkstemp instead of tmpnam.
5527 * posix/bug-getopt2.c: Include <stdlib.h>.
5528 (do_test): Use mkstemp instead of tmpnam.
5529 * posix/bug-getopt3.c: Include <stdlib.h>.
5530 (do_test): Use mkstemp instead of tmpnam.
5531 * posix/bug-getopt4.c: Include <stdlib.h>.
5532 (do_test): Use mkstemp instead of tmpnam.
5533 * posix/bug-getopt5.c: Include <stdlib.h>.
5534 (do_test): Use mkstemp instead of tmpnam.
5535 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
5536 (main): Use mkstemp instead of tmpnam.
5537 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
5538 (main): Use mkstemp instead of tmpnam.
5539 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
5540 (main): use mkstemp instead of tmpnam.
5541 * stdlib/isomac.c (macrofile): Change to modifiable array.
5542 (main): Remove macrofile here.
5543 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
5544 macrofile here.
5545 (check_header): Do not remove macrofile here.
5546
5547 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5548
5549 * manual/tunables.texi: Document glibc.tune.x86_ibt and
5550 glibc.tune.x86_shstk.
5551
5552 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5553
5554 * NEWS: Mention --enable-cet.
5555 * manual/install.texi: Document --enable-cet.
5556 * INSTALL: Regenerated.
5557
5558 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5559
5560 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
5561 Add _CET_NOTRACK before indirect jump to jump table.
5562
5563 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5564
5565 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
5566 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5567 to jump table.
5568
5569 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5570
5571 * sysdeps/i386/i686/multiarch/strcat-sse2.S
5572 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5573 to jump table.
5574
5575 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5576
5577 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
5578 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5579 to jump table.
5580
5581 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5582
5583 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
5584 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5585 to jump table.
5586
5587 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5588
5589 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
5590 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5591 to jump table.
5592 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
5593
5594 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5595
5596 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
5597 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5598 to jump table.
5599
5600 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5601
5602 * sysdeps/i386/i686/multiarch/memset-sse2.S
5603 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5604 to jump table.
5605
5606 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5607
5608 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
5609 indirect jump to jump table.
5610
5611 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5612
5613 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
5614 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5615 to jump table.
5616 (MEMCPY): Likewise.
5617
5618 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5619
5620 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
5621 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5622 to jump table.
5623 (MEMCPY): Likewise.
5624
5625 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5626
5627 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
5628 _CET_NOTRACK before indirect jump to jump table.
5629
5630 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5631
5632 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
5633 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
5634 to jump table.
5635
5636 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
5637
5638 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
5639 indirect jump to jump table.
5640
5641 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
5642
5643 [BZ #22241]
5644 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
5645 (LOCALES): Likewise.
5646 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
5647 * localedata/locales/sah_RU: New file.
5648 * localedata/sah_RU.UTF-8.in: New file.
5649
5650 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5651
5652 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
5653 "sysdep.h".
5654 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
5655 _CET_ENDBR to indirect jump targets and adjust jump destination
5656 for _CET_ENDBR.
5657 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
5658 "sysdep.h".
5659 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
5660 _CET_ENDBR to indirect jump targets and adjust jump destination
5661 for _CET_ENDBR.
5662 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
5663 "sysdep.h".
5664 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
5665 _CET_ENDBR to indirect jump targets and adjust jump destination
5666 for _CET_ENDBR.
5667
5668 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5669
5670 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
5671 _CET_ENDBR.
5672
5673 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5674
5675 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
5676 _CET_ENDBR.
5677 (_dl_tlsdesc_undefweak): Likewise.
5678 (_dl_tlsdesc_dynamic): Likewise.
5679 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
5680 (_dl_tlsdesc_resolve_rel): Likewise.
5681 (_dl_tlsdesc_resolve_rela): Likewise.
5682 (_dl_tlsdesc_resolve_hold): Likewise.
5683 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
5684 (_dl_tlsdesc_undefweak): Likewise.
5685 (_dl_tlsdesc_dynamic): Likewise.
5686 (_dl_tlsdesc_resolve_rela): Likewise.
5687 (_dl_tlsdesc_resolve_hold): Likewise.
5688
5689 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5690
5691 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
5692 (_fini): Likewise.
5693 * sysdeps/x86_64/crti.S (_init): Likewise.
5694 (_fini): Likewise.
5695
5696 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
5697
5698 [BZ #23140]
5699 * localedata/locales/os_RU (mon): Rename to...
5700 (alt_mon): This.
5701 (mon): Import from CLDR (genitive case).
5702
5703 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
5704
5705 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
5706 cet-tunables.h> when CET is enabled.
5707
5708 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
5709
5710 [BZ #21598]
5711 * configure.ac: Add --enable-cet.
5712 * configure: Regenerated.
5713 * elf/Makefille (all-built-dso): Add a comment.
5714 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
5715 Include <dl-prop.h>.
5716 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
5717 segment.
5718 * elf/dl-open.c: Include <dl-prop.h>.
5719 (dl_open_worker): Call _dl_open_check.
5720 * elf/rtld.c: Include <dl-prop.h>.
5721 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
5722 _rtld_main_check.
5723 * sysdeps/generic/dl-prop.h: New file.
5724 * sysdeps/i386/dl-cet.c: Likewise.
5725 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
5726 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
5727 * sysdeps/x86/cet-tunables.h: Likewise.
5728 * sysdeps/x86/check-cet.awk: Likewise.
5729 * sysdeps/x86/configure: Likewise.
5730 * sysdeps/x86/configure.ac: Likewise.
5731 * sysdeps/x86/dl-cet.c: Likewise.
5732 * sysdeps/x86/dl-procruntime.c: Likewise.
5733 * sysdeps/x86/dl-prop.h: Likewise.
5734 * sysdeps/x86/libc-start.h: Likewise.
5735 * sysdeps/x86/link_map.h: Likewise.
5736 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
5737 _CET_ENDBR.
5738 (_dl_runtime_profile): Likewise.
5739 (_dl_runtime_resolve_shstk): New.
5740 (_dl_runtime_profile_shstk): Likewise.
5741 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
5742 if CET is enabled.
5743 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
5744 (CFLAGS-.os): Likewise.
5745 (CFLAGS-.op): Likewise.
5746 (CFLAGS-.oS): Likewise.
5747 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
5748 is enabled.
5749 (tests-special): Add $(objpfx)check-cet.out.
5750 (cet-built-dso): New.
5751 (+$(cet-built-dso:=.note)): Likewise.
5752 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
5753 ($(objpfx)check-cet.out): New.
5754 (generated): Add check-cet.out.
5755 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
5756 <cet-tunables.h>.
5757 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
5758 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
5759 (init_cpu_features): Call get_cet_status to check CET status
5760 and update dl_x86_feature_1 with CET status. Call
5761 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
5762 (set_x86_shstk). Disable and lock CET in libc.a.
5763 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
5764 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
5765 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
5766 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
5767 (_CET_ENDBR): Define if not defined.
5768 (ENTRY): Add _CET_ENDBR.
5769 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
5770 x86_shstk.
5771 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
5772 _CET_ENDBR.
5773 (_dl_runtime_profile): Likewise.
5774
5775 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
5776
5777 [BZ #21895]
5778 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
5779 restore r2 on longjmp.
5780 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
5781 test list.
5782 Added rules to build test tst-setjmp-bug21895-static.
5783 Added module setjmp-bug21895 and rules to build a shared object from it.
5784 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
5785 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
5786
5787 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
5788
5789 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
5790 * benchtests/bench-strstr.c: Likewise.
5791 * string/memmem.c (FASTSEARCH): Define.
5792 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
5793 Add support for FASTSEARCH.
5794 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
5795 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
5796 (FASTSEARCH): Define.
5797 * string/test-strcasestr.c: Rename __strnlen to strnlen.
5798 * string/test-strstr.c: Likewise.
5799
5800 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
5801
5802 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
5803 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
5804
5805 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
5806 H.J. Lu <hongjiu.lu@intel.com>
5807
5808 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
5809 (__longjmp): Restore shadow stack pointer if shadow stack is
5810 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
5811 isn't defined for __longjmp_cancel.
5812 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
5813 (_setjmp): Save shadow stack pointer if shadow stack is enabled
5814 and SHADOW_STACK_POINTER_OFFSET is defined.
5815 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
5816 (setjmp): Save shadow stack pointer if shadow stack is enabled
5817 and SHADOW_STACK_POINTER_OFFSET is defined.
5818 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
5819 (__sigsetjmp): Save shadow stack pointer if shadow stack is
5820 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
5821 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
5822 <jmp_buf-ssp.h>.
5823 (____longjmp_chk): Restore shadow stack pointer if shadow stack
5824 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
5825 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
5826 Remove jmp_buf-ssp.sym.
5827 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5828 <jmp_buf-ssp.h>.
5829 (____longjmp_chk): Restore shadow stack pointer if shadow stack
5830 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
5831 * sysdeps/x86/Makefile (gen-as-const-headers): Add
5832 jmp_buf-ssp.sym.
5833 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
5834 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
5835 (__longjmp): Restore shadow stack pointer if shadow stack is
5836 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
5837 isn't defined for __longjmp_cancel.
5838 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
5839 (__sigsetjmp): Save shadow stack pointer if shadow stack is
5840 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
5841
5842 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
5843
5844 [BZ #22563]
5845 * nptl/pthread_create.c: Include <tls-setup.h>.
5846 (__pthread_create_2_1): Call tls_setup_tcbhead.
5847 * sysdeps/generic/tls-setup.h: New file.
5848 * sysdeps/x86/nptl/tls-setup.h: Likewise.
5849 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
5850 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
5851 Likewise.
5852 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
5853 to feature_1.
5854 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
5855 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
5856 (X86_FEATURE_1_SHSTK): Likewise.
5857 (CET_ENABLED): Likewise.
5858 (IBT_ENABLED): Likewise.
5859 (SHSTK_ENABLED): Likewise.
5860
5861 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
5862
5863 [BZ #23208]
5864 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
5865 (LOCALES): Likewise.
5866 * localedata/dsb_DE.UTF-8.in: New file.
5867 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
5868
5869 2018-07-12 Florian Weimer <fweimer@redhat.com>
5870
5871 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
5872 __mprotect, not mprotect.
5873
5874 2018-07-11 Florian Weimer <fweimer@redhat.com>
5875
5876 * io/Makefile (headers): Add bits/statx.h.
5877
5878 2018-07-10 Mike FABIAN <mfabian@redhat.com>
5879
5880 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
5881 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
5882 and headers.
5883 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
5884 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
5885 for utf8_gen.py
5886
5887 2018-07-10 Florian Weimer <fweimer@redhat.com>
5888
5889 * io/Makefile (routines): Add statx.
5890 (tests-internal): Add tst-statx.
5891 * io/Versions (GLIBC_2.28): Export statx.
5892 * io/bits/statx.h: New file.
5893 * io/sys/stat.h [__USE_GNU]: Include it.
5894 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
5895 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
5896 Define.
5897 * io/statx.c: New file.
5898 * io/statx_generic.: Likewise.
5899 * io/tst-statx.: Likewise.
5900 * include/bits/statx.h: Likewise.
5901 * sysdeps/unix/sysv/linux/kernel-features.h
5902 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
5903 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5904 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
5905 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
5906 Undefine.
5907 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5908 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
5909 * sysdeps/unix/sysv/linux/statx.c: New file.
5910 * manual/filesys.texi: Note that statx is undocumented.
5911 * sysdeps/**/libc*.abilist: Update.
5912
5913 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5914
5915 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
5916 a kernel issue which lead to test failure in some cases.
5917
5918 2018-07-10 Florian Weimer <fweimer@redhat.com>
5919
5920 [BZ #23036]
5921 * posix/regexec.c (check_node_accept_bytes): When comparing
5922 weights, do not compare an extra byte after the end of the
5923 weights.
5924
5925 2018-07-10 Florian Weimer <fweimer@redhat.com>
5926
5927 * libio/readline.c: Fix copyright year.
5928 * libio/tst-readline.c Likewise.
5929 * nss/tst-nss-files-hosts-getent.c: Likewise.
5930
5931 2018-07-06 Florian Weimer <fweimer@redhat.com>
5932
5933 [BZ #18991]
5934 * nss/nss_files/files-XXX.c (internal_getent): Use
5935 __libc_readline_unlocked. Seek back to the start of the line if
5936 parsing failes with ERANGE.
5937 (get_contents_ret, get_contents): Remove.
5938 * nss/tst-nss-files-hosts-getent.c: New file.
5939 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
5940 (tst-nss-files-hosts-getent): Link with -ldl.
5941
5942 2018-07-06 Florian Weimer <fweimer@redhat.com>
5943
5944 * include/stdio.h (__libc_readline_unlocked): Declare.
5945 (__ftello64, __fseeko64): Declare aliases.
5946 * libio/readline.c: New file.
5947 * libio/tst-readline.c: Likewise.
5948 (routines): Add readline.
5949 (tests-internal): Add tst-readlime.
5950 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
5951 __libc_readline_unlocked.
5952 * libio/fseeko.c (__fseeko): Rename from fseeko.
5953 (fseeko): Add alias.
5954 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
5955 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
5956 (fseeko64): Add alias.
5957 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
5958 * libio/ftello64.c (__ftello64): Rename from ftello64.
5959 (ftello64): Add alias.
5960
5961 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
5962
5963 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
5964 HWCAP_ATOMICS.
5965
5966 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
5967
5968 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
5969 Use dl_hwcap without masking.
5970 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
5971 Remove HWCAP_CPUID.
5972
5973 2018-07-06 Florian Weimer <fweimer@redhat.com>
5974
5975 * conform/conformtest.pl (checknamespace): Escape literal braces
5976 in regular expressions.
5977
5978 2018-07-06 Amit Pawar <amit.pawar@amd.com>
5979
5980 * sysdeps/x86/cpu-features.c (get_common_indeces):
5981 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
5982 * sysdeps/x86/cpu-features.c (init_cpu_features):
5983 AVX_Fast_Unaligned_Load is disabled for Excavator core.
5984
5985 2018-07-05 Florian Weimer <fweimer@redhat.com>
5986
5987 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
5988 protector.
5989 (CFLAGS-elf-init.oS): Likewise.
5990
5991 2018-07-05 Florian Weimer <fweimer@redhat.com>
5992 Carlos O'Donell <carlos@redhat.com>
5993
5994 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
5995 $(no-stack-protector). stack_chk_fail_local.c can be compiled
5996 with stack protector enabled because there is no risk of infinite
5997 recursion.
5998
5999 2018-07-05 Maciej W. Rozycki <macro@mips.com>
6000
6001 [BZ #19818]
6002 [BZ #23307]
6003 * libc-abis (ABSOLUTE): New ABI.
6004 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
6005 * NEWS: Mention the new ABI.
6006
6007 2018-07-05 Florian Weimer <fweimer@redhat.com>
6008
6009 [BZ # 17662]
6010 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
6011 (RENAME_WHITEOUT): Define.
6012 [__USE_GNU] (renameat2): Declare.
6013 * stdio-common/Makefile (routines): Add renameat2.
6014 (tests): Add tst-renameat2.
6015 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
6016 * stdio-common/renameat2.c: New file.
6017 * stdio-common/tst-renameat2.c: Likewise.
6018 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
6019 * manual/filesys.texi (Temporary Files): Note that renameat2 is
6020 undocumented.
6021 * sysdeps/unix/sysv/linux/kernel-features.h
6022 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
6023 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6024 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
6025 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6026 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
6027 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6028 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
6029 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6030 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
6031 * include/stdio.h (__renameat): Add alias for renameat.
6032 * stdio-common/renameat.c (__renameat): Rename from renameat.
6033 Add hidden definition and alias.
6034 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6035 * sysdeps/mach/hurd/renameat.c: Likewise.
6036 * sysdeps/**/libc*.abilist: Add renameat2.
6037
6038 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6039
6040 * posix/bug-regex33.c: Fix build after regex sync.
6041
6042 2018-07-04 Carlos O'Donell <carlos@redhat.com>
6043
6044 [BZ #23164]
6045 * localedata/tst-langinfo-setlocale.c: New file.
6046 * localedata/tst-langinfo-setlocale-static.c: New file.
6047 * localedata/tst-langinfo-newlocale.c: New file.
6048 * localedata/tst-langinfo-newlocale-static.c: New file.
6049 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
6050 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
6051 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
6052 (tests-static): Remove tst-langinfo-static. Add
6053 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
6054 (tests-special): Remove $(objpfx)tst-langinfo.out,
6055 $(objpfx)tst-langinfo-static.out. Add
6056 $(objpfx)tst-langinfo-setlocale.out,
6057 $(objpfx)tst-langinfo-newlocale.out,
6058 $(objpfx)tst-langinfo-setlocale-static.out,
6059 $(objpfx)tst-langinfo-newlocale-static.out.
6060 ($(objpfx)tst-langinfo.out): Remove.
6061 ($(objpfx)tst-langinfo-static.out): Remove.
6062 ($(objpfx)tst-langinfo-newlocale.out): New target.
6063 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
6064 (test-xfail-tst-langinfo-newlocale-static): Add.
6065 ($(objpfx)tst-langinfo-setlocale.out): New target.
6066 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
6067 * localedata/tst-langinfo.c: Call test_locale.
6068 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
6069 data.
6070
6071 2018-07-04 Florian Weimer <fweimer@redhat.com>
6072
6073 testrun.sh: Implement --tool=strace, --tool=valgrind
6074 * Makefile (testrun-script): Define variable.
6075 (testrun.sh): Use variable.
6076 * manual/install.texi (Tools for Compilation): make 4.0 or later
6077 is required.
6078 * configure.ac: Check for make 4.0 or later.
6079 * INSTALL: Regenerate.
6080 * configure: Likewise.
6081
6082 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6083
6084 [BZ #23233]
6085 [BZ #21163]
6086 [BZ #18986]
6087 [BZ #13762]
6088 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
6089 * posix/PCRE.tests: Remove invalid test.
6090 * posix/bug-regex28.c: Fix expected values for used syntax.
6091 * posix/bug-regex37.c: New file.
6092 * posix/bug-regex38.c: Likewise.
6093 * posix/regcomp.c: Sync with gnulib.
6094 * posix/regex.c: Likewise.
6095 * posix/regex.h: Likewise.
6096 * posix/regex_internal.c: Likewise.
6097 * posix/regex_internal.h: Likewise.
6098 * posix/regexec.c: Likewise.
6099
6100 2018-06-26 Mike FABIAN <mfabian@redhat.com>
6101
6102 [BZ #23308]
6103 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
6104 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
6105 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
6106 * localedata/unicode-gen/PropList.txt: likewise.
6107 * localedata/unicode-gen/UnicodeData.txt: likewise.
6108 * localedata/charmaps/UTF-8: Regenerate.
6109 * localedata/locales/i18n_ctype: likewise.
6110 * localedata/locales/tr_TR: likewise.
6111 * localedata/locales/translit_circle: likewise.
6112 * localedata/locales/translit_cjk_compat: likewise.
6113 * localedata/locales/translit_combining: likewise.
6114 * localedata/locales/translit_compat: likewise.
6115 * localedata/locales/translit_font: likewise.
6116 * localedata/locales/translit_fraction: likewise.
6117
6118 2018-07-03 Florian Weimer <fweimer@redhat.com>
6119
6120 [BZ #23363]
6121 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
6122 * stdio-common/tst-printf.sh: Adjust expected output.
6123 * LICENSES: Update.
6124
6125 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6126
6127 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
6128 symbol.
6129
6130 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6131
6132 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
6133 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
6134 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
6135 * stdio-common/tst-printfsz-islongdouble.c: New file.
6136 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
6137 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
6138 [subdir == stdio-common] (routines): Add ieee128-printf_size.
6139 [subdir == stdio-common] (tests-internal): Add
6140 test-printf-size-ieee128, and test-printf-size-ibm128.
6141 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
6142 (CFLAGS-test-printf-size-ibm128.c): New variables.
6143 [subdir == stdio-common] (tests-special): Add
6144 $(objpfx)test-printf-size-ieee128.out and
6145 $(objpfx)test-printf-size-ibm128.out.
6146 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
6147 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
6148 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
6149 __printf_sizeieee128.
6150 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
6151 New file.
6152 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
6153 Likewise.
6154 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
6155 Likewise.
6156
6157 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
6158
6159 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
6160 (exp2f_inline): Likewise.
6161 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
6162 (__math_uflowf): Likewise.
6163 (__math_may_uflowf): Likewise.
6164 (__math_divzerof): Likewise.
6165 (__math_invalidf): Likewise.
6166 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
6167 (__math_oflowf): Likewise.
6168 (__math_uflowf): Likewise.
6169 (__math_may_uflowf): Likewise.
6170 (__math_divzerof): Likewise.
6171 (__math_invalidf): Likewise.
6172
6173 2018-06-29 DJ Delorie <dj@redhat.com>
6174 Carlos O'Donell <carlos@redhat.com>
6175
6176 [BZ #23329]
6177 * include/libc-symbols.h: Comment the freeres framework.
6178 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
6179 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
6180 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
6181 * dlfcn/dlerror.c: Include libc-symbols.h
6182 (__dlerror_main_freeres): New function.
6183 * dlfcn/dlfreeres.c: New file.
6184 * dlfcn/sdlfreeres.c: New file.
6185 * include/dlfcn.h: Declare __dlerror_main_freeres.
6186 * malloc/set-freeres.c: Declare __libdl_freeres, and
6187 __libpthread_freeres.
6188 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
6189 the releavant libraries are loaded.
6190 * malloc/thread-freeres.c: Add comments.
6191 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
6192 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
6193 * nptl/allocatestack.c (__nptl_free_stacks): New function.
6194 (__free_stacks): Rename to...
6195 (free_stacks): ...this. Mark static.
6196 (queue_stack): Call free_stacks.
6197 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
6198 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
6199 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
6200 ptr_freeres element from struct.
6201 (pthread_functions): Remove .ptr_freeres from struct initializer.
6202 [SHARED] (nptl_freeres): Remove.
6203 * nptl/nptlfreeres.c: New file.
6204 * nptl/pthreadP.h
6205 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
6206 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
6207 attribute_hidden.
6208 (__free_stacks): Rename to...
6209 (__nptl_stacks_freeres): ...this.
6210 (__shm_directory_freeres): Declare.
6211 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
6212 (__nptl_unwind_freeres): ...this.
6213 * resolv/res-close.c: Add comment.
6214 * resolv/resolv_conf.c: Include libc-symbols.h.
6215 * string/strerror_l.c: Include libc-symbols.h.
6216 * sunrpc/rpc_thread.c: Include libc-symbols.h.
6217 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
6218 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
6219 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
6220
6221 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6222
6223 * stdlib/tst-strfmon_l.c: Add tests for long double.
6224
6225 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
6226
6227 [BZ #23208]
6228 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
6229 * localedata/locales/dsb_DE: New file.
6230
6231 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
6232
6233 [BZ #23140]
6234 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
6235 genitive case).
6236 (alt_mon): New entry, import from CLDR (nominative case).
6237
6238 2018-06-29 Sylvain Lesage <severo@rednegra.net>
6239
6240 [BZ #22996]
6241 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
6242
6243 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
6244
6245 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
6246 Use vector registers.
6247
6248 * sysdeps/aarch64/multiarch/memmove_falkor.S
6249 (__memcpy_falkor): Use vector registers.
6250
6251 2018-06-29 Martin Sebor <msebor@redhat.com>
6252
6253 * manual/stdio.texi (Customizing Printf): Mention interaction
6254 with GCC built-ins.
6255
6256 2018-06-29 Maciej W. Rozycki <macro@mips.com>
6257
6258 [BZ #23307]
6259 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
6260 `st_value' is 0 if `st_shndx' is SHN_ABS.
6261 * elf/tst-absolute-zero.c: New file.
6262 * elf/tst-absolute-zero-lib.c: New file.
6263 * elf/tst-absolute-zero-lib.lds: New file.
6264 * elf/Makefile (tests): Add `tst-absolute-zero'.
6265 (modules-names): Add `tst-absolute-zero-lib'.
6266 (LDLIBS-tst-absolute-zero-lib.so): New variable.
6267 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
6268 ($(objpfx)tst-absolute-zero: New dependency.
6269
6270 2018-06-29 Zack Weinberg <zackw@panix.com>
6271
6272 * configure.ac: New command-line option --disable-crypt.
6273 Force --disable-nss-crypt when --disable-crypt is given, with a
6274 warning if it was explicitly enabled.
6275 * configure: Regenerate.
6276 * config.make.in: New boolean substitution variable $(build-crypt).
6277 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
6278 when $(build-crypt).
6279 * manual/install.texi: Document --disable-crypt.
6280 * INSTALL: Regenerate.
6281
6282 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
6283 which is never set.
6284 * conform/Makefile: Only include libcrypt.a in
6285 linknamespace-libs-xsi and linknamespace-libs-XPG4
6286 when $(build-crypt).
6287 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
6288 USE_CRYPT to 1 when $(build-crypt).
6289 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
6290 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
6291 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
6292
6293 2018-06-29 Zack Weinberg <zackw@panix.com>
6294
6295 * crypt/crypt.h, posix/unistd.h: Update comments and
6296 prototypes for crypt and crypt_r.
6297
6298 * manual/crypt.texi (Cryptographic Functions): New initial
6299 exposition.
6300 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
6301 (Unpredictable Bytes): Improve initial exposition. Clarify error
6302 behavior of getentropy and getrandom.
6303 * manual/examples/genpass.c: Generate a salt using getentropy
6304 instead of the current time. Use hash $5$ (SHA-2-256).
6305 * manual/examples/testpass.c: Demonstrate validation against
6306 hashes generated with three different one-way functions.
6307
6308 * manual/intro.texi: crypt.texi does not need an overview
6309 anymore.
6310
6311 * manual/nss.texi, manual/memory.texi, manual/socket.texi
6312 * manual/terminal.texi: Consistently refer to "passphrases"
6313 * instead of "passwords", and to the "user database" instead
6314 * of the "password database".
6315 * manual/users.texi: Similarly. Add notes about how actual
6316 passphrase hashes are now stored in the shadow database.
6317 Remove 20-year-old junk todo note.
6318
6319 2018-06-29 Zack Weinberg <zackw@panix.com>
6320
6321 * manual/crypt.texi: Use a normal top-level @node declaration.
6322 Move most of the introductory text to the 'crypt' section.
6323 Move the example programs below the @deftypefun for 'crypt_r'.
6324 Move the 'getpass' section...
6325 * manual/terminal.texi: ...here.
6326
6327 2018-06-29 Zack Weinberg <zackw@panix.com>
6328 Florian Weimer <fweimer@redhat.com>
6329
6330 * posix/unistd.h: Do not declare encrypt.
6331 (_XOPEN_CRYPT): Remove macro definition.
6332 (crypt): Declare only for _USE_MISC.
6333 * stdlib/stdlib.h: Do not declare setkey.
6334 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
6335 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
6336
6337 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
6338 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
6339 into compat symbols. Don't define initial_perm if it's not
6340 going to be used.
6341 * crypt/cert.c: Link explicitly with the expected versions for
6342 setkey and encrypt. If they are not available at all, mark
6343 the test as unsupported.
6344
6345 * sunrpc/des_crypt.c: Unconditionally block linkage with
6346 cbc_crypt and ecb_crypt for new binaries.
6347 * sunrpc/des_soft.c: Unconditionally block linkage with
6348 des_setparity for new binaries.
6349
6350 * manual/crypt.texi: Remove the entire "DES Encryption"
6351 section. Also remove the paragraph talking about FIPS 140-2
6352 from the introduction.
6353 * manual/string.texi (strfry, memfrob): Revise. Recommend use
6354 of libgcrypt for "real" encryption, not DES.
6355 * manual/conf.texi (Constants for Sysconf): Mention that
6356 _XOPEN_CRYPT is no longer impelemented.
6357
6358 * conform/data/unistd.h-data: Remove crypt function declaration.
6359
6360 2018-06-29 Florian Weimer <fweimer@redhat.com>
6361
6362 [BZ #23351]
6363 * malloc/hooks.c: Update comments on restoring of dumped heaps.
6364 (disallow_malloc_check): Remove variable.
6365 (__malloc_check_init): Adjust.
6366 (malloc_set_state): Update comment.
6367 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
6368 declarations.
6369
6370 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
6371
6372 [BZ #23140]
6373 * localedata/locales/ast_ES (mon): Rename to...
6374 (alt_mon): This.
6375 (mon): Import from CLDR (genitive case).
6376
6377 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
6378 Jakub Sitnicki <jkbs@redhat.com>
6379
6380 [BZ #21812]
6381 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
6382 on NLM_F_DUMP_INTR.
6383
6384 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
6385
6386 * manual/llio.texi: Remove spurious space.
6387
6388 2018-06-28 Florian Weimer <fweimer@redhat.com>
6389
6390 [BZ #23349]
6391 * time/bits/types/struct_timespec.h: Change header inclusion guard to
6392 _STRUCT_TIMESPEC.
6393
6394 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6395
6396 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6397 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
6398 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
6399 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
6400 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
6401 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
6402 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
6403
6404 2018-06-27 Maciej W. Rozycki <macro@mips.com>
6405
6406 [BZ #23266]
6407 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
6408 Copy and null-terminate entries that are not terminated, in
6409 addition to empty ones.
6410
6411 2018-06-27 Florian Weimer <fweimer@redhat.com>
6412
6413 [BZ #18023]
6414 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
6415 (extend_alloca_account): Remove.
6416 * manual/stdio.texi (Variable Arguments Output): Update comment.
6417
6418 2018-06-27 Joseph Myers <joseph@codesourcery.com>
6419
6420 * nptl/sockperf.c: Remove file.
6421
6422 2018-06-27 Florian Weimer <fweimer@redhat.com>
6423
6424 [BZ #18023]
6425 * elf/dl-deps.c (_dl_map_object_deps): Use struct
6426 scratch_buffer instead of extend_alloca.
6427
6428 2018-06-27 Florian Weimer <fweimer@redhat.com>
6429
6430 [BZ #18023]
6431 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
6432 scratch_buffer instead of extend_alloca. Update comments.
6433
6434 2018-06-27 Florian Weimer <fweimer@redhat.com>
6435
6436 [BZ #18023]
6437 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
6438 instead of extend_alloca.
6439
6440 2018-06-26 Joseph Myers <joseph@codesourcery.com>
6441
6442 [BZ #13888]
6443 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
6444 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
6445 /tmp.
6446 * scripts/test-installation.pl: Put temporary files in build
6447 directory, not /tmp.
6448 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
6449 (CFLAGS-bug4.c): Likewise.
6450 (CFLAGS-bug5.c): Likewise.
6451 (CFLAGS-test-fseek.c): Likewise.
6452 (CFLAGS-test-popen.c): Likewise.
6453 (CFLAGS-test_rdwr.c): Likewise.
6454 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
6455 /tmp.
6456 * stdio-common/bug4.c (main): Likewise.
6457 * stdio-common/bug5.c (main): Likewise.
6458 * stdio-common/test-fseek.c (TESTFILE): Likewise.
6459 * stdio-common/test-popen.c (do_test): Likewise.
6460 * stdio-common/test_rdwr.c (main): Likewise.
6461
6462 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
6463
6464 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
6465 (sem_open): Set sem.newsem.pad to zero for valgrind.
6466
6467 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6468
6469 [BZ #20251]
6470 * NEWS: Mention fcntl64 addition.
6471 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
6472 * login/utmp_file.c: Likewise.
6473 * sysdeps/posix/fdopendir.c: Likewise.
6474 * sysdeps/posix/opendir.c: Likewise.
6475 * sysdeps/unix/pt-fcntl.c: Likewise.
6476 * include/fcntl.h (__libc_fcntl64, __fcntl64,
6477 __fcntl64_nocancel_adjusted): New prototype.
6478 (__fcntl_nocancel_adjusted): Remove prototype.
6479 * io/Makefile (routines): Add fcntl64.
6480 (CFLAGS-fcntl64.c): New rule.
6481 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
6482 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
6483 * io/fcntl.h (fcntl64): Add prototype and redirect if
6484 __USE_FILE_OFFSET64 is defined.
6485 * io/fcntl64.c: New file.
6486 * manual/llio.text: Add a note for which commands fcntl acts a
6487 cancellation point.
6488 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
6489 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
6490 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
6491 New symbols.
6492 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
6493 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
6494 non-LFS case.
6495 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
6496 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
6497 to __fcntl64_nocancel.
6498 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
6499 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
6500 to __fcntl64_nocancel.
6501 * sysdeps/generic/not-cancel.h: Likewise.
6502 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
6503 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
6504 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
6505 (fcntl64): New symbol.
6506 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6507 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6508 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6511 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6512 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6513 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6514 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6515 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6516 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
6517 fcntl64): Likewise.
6518 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6519 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
6520 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6521 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6522 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6523 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6524 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6525 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6526 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6528 Likewise.
6529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6530 Likewise.
6531 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6532 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6533 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6534
6535 2018-06-26 Florian Weimer <fweimer@redhat.com>
6536
6537 Run thread shutdown functions in an explicit order.
6538 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
6539 definition.
6540 (__libc_thread_freeres): Call thread shutdown functions
6541 explicitly.
6542 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
6543 * include/string.h (__strerror_thread_freeres): Declare.
6544 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
6545 arena_thread_freeres. No longer static. Remove thread shutdown
6546 hook registration.
6547 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
6548 Declare.
6549 * resolv/res-close.c (__res_thread_freeres): Renamed from
6550 res_thread_freeres. No longer static. Remove thread shutdown
6551 hook registration.
6552 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
6553 * resolv/resolv_conf.c (freeres): Remove incorrect section
6554 attribute and use libc_freeres_fn.
6555 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
6556 strerror_thread_freeres. No longer static. Remove thread
6557 shutdown hook registration.
6558 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
6559 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
6560 shutdown hook registration.
6561 * Makerules (shlib.lds): Do not provide section boundary symbols
6562 for __libc_thread_subfreeres.
6563 * manual/memory.texi (Basic Allocation): Update comment.
6564
6565 2018-06-26 Florian Weimer <fweimer@redhat.com>
6566
6567 Remove always-defined _RPC_THREAD_SAFE_ macro.
6568 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
6569 Do not define _RPC_THREAD_SAFE_.
6570 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
6571 conditional.
6572 * sunrpc/clnt_perr.c: Likewise.
6573 * sunrpc/clnt_raw.c: Likewise.
6574 * sunrpc/clnt_simp.c: Likewise.
6575 * sunrpc/key_call.c: Likewise.
6576 * sunrpc/rpc_common.c: Likewise.
6577 * sunrpc/rpc_main.c: Likewise.
6578 * sunrpc/rpc_thread.c: Likewise.
6579 * sunrpc/svc.c: Likewise.
6580 * sunrpc/svc_raw.c: Likewise.
6581 * sunrpc/svc_simple.c: Likewise.
6582 * sumrpc/svcauth_des.c: Likewise.
6583
6584 2018-06-26 Florian Weimer <fweimer@redhat.com>
6585
6586 * libio/Makefile (tests-internal): Add tst-vtables,
6587 tst-vtables-interposed.
6588 * libio/tst-vtables.c: New file.
6589 * libio/tst-vtables-common.c: Likewise.
6590 * libio/tst-vtables-interposed.c: Likewise.
6591
6592 2018-06-26 Florian Weimer <fweimer@redhat.com>
6593
6594 * support/support_test_main.c (support_test_main): Only call
6595 setvbuf if not disables.
6596 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
6597 * support/test-driver.h (struct test_config): Add no_setvbuf member.
6598
6599 2018-06-26 Florian Weimer <fweimer@redhat.com>
6600
6601 [BZ #23313]
6602 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
6603
6604 2018-06-25 Florian Weimer <fweimer@redhat.com>
6605
6606 [BZ #18023]
6607 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6608 Use struct scratch_buffer instead of extend_alloca.
6609
6610 2018-06-25 Florian Weimer <fweimer@redhat.com>
6611
6612 [BZ #18023]
6613 * nss/getent.c (initgroups_keys): Use dynarray instead of
6614 extend_alloca.
6615
6616 2018-06-25 Florian Weimer <fweimer@redhat.com>
6617
6618 [BZ #18023]
6619 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
6620 Use struct scratch_buffer instead of extend_alloca.
6621
6622 2018-06-25 Florian Weimer <fweimer@redhat.com>
6623
6624 [BZ #18023]
6625 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
6626 back to malloc directly, without stack allocations.
6627
6628 2018-06-25 Florian Weimer <fweimer@redhat.com>
6629
6630 [BZ #18023]
6631 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
6632 of extend_alloca.
6633
6634 2018-06-25 Florian Weimer <fweimer@redhat.com>
6635
6636 [BZ #18023]
6637 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
6638 of extend_alloca.
6639 * nscd/hstcache.c (addhstbyX): Likewise.
6640 * nscd/pwdcache.c (addpwbyX): Likewise.
6641 * nscd/servicescache.c (addservbyX): Likewise.
6642
6643 2018-06-25 Florian Weimer <fweimer@redhat.com>
6644
6645 [BZ #18023]
6646 * nscd/connections.c (read_cmdline): New function.
6647 (restart): Use it. Update comment.
6648
6649 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
6650
6651 [BZ #23140]
6652 * localedata/locales/csb_PL (mon): Rename to...
6653 (alt_mon): This.
6654 (abmon): Rename to...
6655 (ab_alt_mon): This.
6656 (mon): Add with proper genitive forms, copy from Wikipedia.
6657 (abmon): Likewise.
6658
6659 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
6660
6661 [BZ #19485]
6662 * localedata/locales/csb_PL (mon): Fix typos:
6663 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
6664 (yesstr): Add, value is "jo".
6665 (nostr): Add, value is "nié".
6666
6667 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6668
6669 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
6670 all log1p and significand functions on m680x0.
6671 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
6672 of s_significand.c..
6673 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6674 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
6675 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
6676 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
6677 s_log1p.c and include it..
6678
6679 2018-06-21 Vincent Chen <vincentc@andestech.com>
6680
6681 * elf/elf.h (R_NDS32_NONE): New define.
6682 (R_NDS32_32_RELA): Likewise.
6683 (R_NDS32_COPY): Likewise.
6684 (R_NDS32_GLOB_DAT): Likewise.
6685 (R_NDS32_JUMP_SLOT): Likewise.
6686 (R_NDS32_RELATIVE): Likewise.
6687 (R_NDS32_TLS_TPOFF): Likewise.
6688 (R_NDS32_TLS_DESC): Likewise.
6689
6690 2018-06-21 Mark Wielaard <mark@klomp.org>
6691
6692 * elf/elf.h (R_BPF_MAP_FD): Removed.
6693 (R_BPF_64_64, R_BPF_64_32): New.
6694
6695 2018-06-21 Florian Weimer <fweimer@redhat.com>
6696
6697 [BZ #23253]
6698 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
6699 Renamed from libc_feholdsetround_ctx.
6700 (default_libc_feresetround_ctx): Renamed from
6701 libc_feresetround_ctx.
6702 (default_libc_feholdsetround_noex_ctx): Renamed from
6703 libc_feholdsetround_noex_ctx.
6704 (default_libc_feresetround_noex_ctx): Renamed from
6705 libc_feresetround_noex_ctx.
6706 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
6707 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
6708 forwardning to the old implementations under the new names.
6709 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
6710 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
6711 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
6712 (libc_feresetround_ctx): Forward to default implements for i386
6713 and MATH_SET_BOTH_ROUNDING_MODES.
6714 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
6715 Add -DMATH_SET_BOTH_ROUNDING_MODES.
6716
6717 2018-06-20 Joseph Myers <joseph@codesourcery.com>
6718
6719 * string/tst-cmp.c: Include <libc-diag.h>.
6720 (strncmp_max): Disable -Wstringop-overflow= around call to
6721 strncmp.
6722 (strncasecmp_max): Disable -Wstringop-overflow= around call to
6723 strncasecmp.
6724
6725 * string/bug-strpbrk1.c: Include <libc-diag.h>.
6726 (main): Disable -Wunused-value around call to strpbrk.
6727 * string/bug-strspn1.c: Include <libc-diag.h>.
6728 (main): Disable -Wunused-value around call to strspn.
6729
6730 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6731 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6732
6733 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
6734 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
6735
6736 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6737
6738 * math/Makefile (libm-calls): Move s_significandF to...
6739 (gen-libm-calls): ... here.
6740 * math/s_significand_template.c: New file.
6741 * math/s_significand.c: Removed.
6742 * math/s_significandf.c: Removed.
6743 * math/s_significandl.c: Removed.
6744 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
6745 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
6746
6747 * math/e_exp2_template.c (declare_mgen_finite_alias,
6748 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
6749 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
6750 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
6751
6752 2018-06-20 Florian Weimer <fweimer@redhat.com>
6753
6754 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
6755
6756 2018-06-19 Joseph Myers <joseph@codesourcery.com>
6757
6758 [BZ #23280]
6759 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
6760 floating-point number to strtod functions rather than possibly
6761 negating result of those functions.
6762 * stdio-common/tst-scanf-round.c: New file.
6763 * stdio-common/Makefile (tests): Add tst-scanf-round.
6764 ($(objpfx)tst-scanf-round): Depend on $(libm).
6765
6766 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6767
6768 * sysdeps/mach/hurd/localplt.data: Move to...
6769 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
6770 R_386_GLOB_DAT like on Linux i386.
6771
6772 2018-06-18 Joseph Myers <joseph@codesourcery.com>
6773
6774 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
6775 (SHM_STAT_ANY): New macro.
6776 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
6777 (SHM_STAT_ANY): Likewise.
6778 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
6779 (SHM_STAT_ANY): Likewise.
6780 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
6781 (SHM_STAT_ANY): Likewise.
6782 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
6783 (SHM_STAT_ANY): Likewise.
6784 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
6785 (SHM_STAT_ANY): Likewise.
6786 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
6787 (SHM_STAT_ANY): Likewise.
6788 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
6789 (SHM_STAT_ANY): Likewise.
6790 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
6791 (SHM_STAT_ANY): Likewise.
6792 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
6793 (SHM_STAT_ANY): Likewise.
6794 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
6795 (SHM_STAT_ANY): Likewise.
6796 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
6797 (SHM_STAT_ANY): Likewise.
6798
6799 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
6800 (SEM_STAT_ANY): New macro.
6801 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
6802 (SEM_STAT_ANY): Likewise.
6803 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
6804 (SEM_STAT_ANY): Likewise.
6805 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
6806 (SEM_STAT_ANY): Likewise.
6807 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
6808 (SEM_STAT_ANY): Likewise.
6809 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
6810 (SEM_STAT_ANY): Likewise.
6811 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
6812 (SEM_STAT_ANY): Likewise.
6813 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
6814 (SEM_STAT_ANY): Likewise.
6815 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
6816 (SEM_STAT_ANY): Likewise.
6817 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
6818 (SEM_STAT_ANY): Likewise.
6819
6820 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
6821 (MSG_STAT_ANY): New macro.
6822 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
6823 (MSG_STAT_ANY): Likewise.
6824 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
6825 (MSG_STAT_ANY): Likewise.
6826 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
6827 (MSG_STAT_ANY): Likewise.
6828 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
6829 (MSG_STAT_ANY): Likewise.
6830 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
6831 (MSG_STAT_ANY): Likewise.
6832 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
6833 (MSG_STAT_ANY): Likewise.
6834 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
6835 (MSG_STAT_ANY): Likewise.
6836 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
6837 (MSG_STAT_ANY): Likewise.
6838 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
6839 (MSG_STAT_ANY): Likewise.
6840
6841 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6842 (MAP_TYPE): Change value to 0x2b.
6843
6844 2018-06-18 Florian Weimer <fweimer@redhat.com>
6845
6846 [BZ #15722]
6847 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
6848 socket with SOCK_CLOEXEC.
6849
6850 2018-06-18 Joseph Myers <joseph@codesourcery.com>
6851
6852 [BZ #23303]
6853 * sysdeps/powerpc/powerpc64/le/Makefile
6854 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
6855 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
6856 (gnulib-tests): Also add $(f128-loader-link) for
6857 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
6858
6859 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6860
6861 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
6862 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
6863 of sendfile.
6864 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
6865 (sendfile64): New strong alias.
6866 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
6867 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
6868 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
6869 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
6870 attribute.
6871 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
6872 ___pthread_get_cleanup_stack.
6873 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
6874 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
6875 * mach/shortcut.awk: Make syscall stubs include
6876 <mach-shortcuts-hidden.h> and add hidden definition.
6877 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
6878 (__mach_msg): Add hidden prototype.
6879 * mach/msg.c: Include <mach.h>.
6880 (__mach_msg): Add hidden definition.
6881 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
6882 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
6883 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
6884 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
6885 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
6886 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
6887 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
6888 prototype and definition.
6889 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
6890 hidden target for _hurd_self_sigstate.
6891
6892 2018-06-15 Joseph Myers <joseph@codesourcery.com>
6893
6894 [BZ #23007]
6895 * stdlib/tst-strtod-nan-sign-main.c: New file.
6896 * stdlib/tst-strtod-nan-sign.c: Likewise.
6897 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
6898 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
6899 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
6900 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
6901 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
6902
6903 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
6904
6905 [BZ #23007]
6906 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
6907 appropriate sign.
6908
6909 2018-06-14 Florian Weimer <fweimer@redhat.com>
6910
6911 [BZ #23290]
6912 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
6913 that the result stays within the ISO-8859-1 range.
6914 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
6915 characters are defined in IBM273.
6916
6917 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6918
6919 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
6920 __mach_task_self): Remove attribute_hidden.
6921
6922 2018-06-14 Joseph Myers <joseph@codesourcery.com>
6923
6924 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
6925 ignore -Wrestrict for one test.
6926
6927 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
6928 Szabolcs Nagy <szabolcs.nagy@arm.com>
6929
6930 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
6931
6932 2018-06-14 Florian Weimer <fweimer@redhat.com>
6933
6934 * scripts/update-abilist.sh: Accept empty list of files to patch.
6935
6936 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
6937
6938 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
6939 test-xfail-check-abi-libmachuser): Add.
6940 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
6941 __libc_read and __libc_write to __read and __write.
6942 * sysdeps/hurd/include/hurd/port.h: New file.
6943 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
6944 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
6945 __thread_switch, __evc_wait): Move declarations to...
6946 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
6947 attribute_hidden.
6948 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
6949 use PLT to call _hurd_self_sigstate.
6950
6951 2018-06-13 Joseph Myers <joseph@codesourcery.com>
6952
6953 [BZ #23279]
6954 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
6955 MAX_EXP as overflowing.
6956 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
6957 overflow flag.
6958 (round_str): Output also whether result overflows in each rounding
6959 mode.
6960 * stdlib/tst-strtod-round-data: Add more tests.
6961 * stdlib/tst-strtod-round-data.h: Regenerated.
6962 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
6963 (TEST): Handle extra arguments for overflow flags.
6964 (struct test_overflow): New type.
6965 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
6966 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
6967 (test_in_one_mode): Take argument with overflow information.
6968 (do_test): Update calls to test_in_one_mode.
6969
6970 2018-06-12 Carlos O'Donell <carlos@redhat.com>
6971
6972 * elf/dl-load (_dl_dst_substitute): Correct comment.
6973 (_dl_dst_count): Likewise.
6974
6975 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
6976 lll_futex_timed_wait.
6977
6978 2018-06-12 Joseph Myers <joseph@codesourcery.com>
6979
6980 [BZ #23277]
6981 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
6982 attribute.
6983 * math/test-nan-const.c: New file.
6984 * math/Makefile (tests): Add test-nan-const.
6985 (CFLAGS-test-nan-const.c): New variable.
6986
6987 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
6988
6989 * benchtests/scripts/compare_strings.py (process_results): Add
6990 funcs argument. Compare only functions which are selected.
6991 (main): Check if base function is among selected functions.
6992 Pass selected functions to process_results.
6993 (__main__): Add -f/--functions argument.
6994
6995 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
6996 Hongbo Zhang <hongbo.zhang@linaro.org>
6997
6998 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
6999 __memcpy_falkor for phecda core.
7000 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
7001 __memmove_falkor for phecda core.
7002 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
7003 __memset_falkor for phecda core.
7004 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
7005 for phecda core.
7006 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
7007 macro to identify phecda core.
7008
7009 2018-06-12 Carlos O'Donell <carlos@redhat.com>
7010 Andreas Schwab <schwab@suse.de>
7011 Dmitry V. Levin <ldv@altlinux.org>
7012 Florian Weimer <fweimer@redhat.com>
7013
7014 [BZ #23102]
7015 [BZ #21942]
7016 [BZ #18018]
7017 [BZ #23259]
7018 CVE-2011-0536
7019 * elf/dl-dst.h: Remove DL_DST_COUNT.
7020 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
7021 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
7022 (is_dst): Comment. Support ELF gABI.
7023 (_dl_dst_count): Comment. Simplify and count DSTs.
7024 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
7025 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
7026 locals.
7027
7028 2018-06-12 Zack Weinberg <zackw@panix.com>
7029
7030 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
7031 * sysdeps/unix/sysv/linux/dl-sysdep.c
7032 Include not-cancel.h. Use __close_nocancel instead of __close,
7033 __open64_nocancel instead of __open, __read_nocancel instead of
7034 __libc_read, and __write_nocancel instead of __libc_write.
7035
7036 * csu/check_fds.c (check_one_fd)
7037 * sysdeps/posix/fdopendir.c (__fdopendir)
7038 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
7039 instead of __fcntl and/or __libc_fcntl.
7040
7041 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
7042 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
7043 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
7044 Use __open64_nocancel instead of __open_nocancel.
7045
7046 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
7047 hidden_proto declarations to the end and issue them if either
7048 IS_IN(libc) or IS_IN(rtld).
7049 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
7050 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
7051 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
7052 read_nocancel, waitpid_nocancel, write_nocancel.
7053
7054 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
7055 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
7056 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
7057
7058 * nptl/pt-fcntl.c: New file.
7059 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
7060 (libpthread-routines): Add pt-fcntl.
7061 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
7062 (__libc_fcntl): Remove attribute_hidden.
7063 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
7064 __fcntl_nocancel_adjusted, not fcntl_common.
7065 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
7066 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
7067 to fcntl_nocancel.c.
7068 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
7069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
7070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7071 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
7072
7073 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
7074 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
7075 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
7076 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
7077 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
7078 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
7079 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
7080 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
7081 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
7082 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
7083 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
7084 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
7085 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
7086 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
7087 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
7088 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
7089 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
7090 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
7091 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
7092 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
7093
7094 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
7095 libpthread-routines.
7096 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
7097 defines nothing.
7098
7099 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
7100 __libc_read, and __write instead of __libc_write. Define
7101 __open64 in addition to __open.
7102
7103 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
7104
7105 [BZ #23250]
7106 [BZ #10686]
7107 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
7108 to _private_tm[3] and add __glibc_reserved2.
7109 Add _Static_assert of offset of __private_ss == 0x30.
7110 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
7111 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
7112
7113 2018-06-12 Florian Weimer <fweimer@redhat.com>
7114
7115 x86: Make strncmp usable from rtld.
7116 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
7117 __strncmp_ia32 if in libc (and not in rtld).
7118 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
7119 strncmp if not in libc (and not to __strncmp_sse2).
7120
7121 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
7122
7123 [BZ #23140]
7124 * localedata/locales/gd_GB (mon): Rename to...
7125 (alt_mon): This.
7126 (mon): Import from CLDR (genitive case).
7127 * localedata/locales/hsb_DE (mon): Rename to...
7128 (alt_mon): This.
7129 (mon): Import from CLDR (genitive case).
7130 * localedata/locales/wa_BE (mon): Rename to...
7131 (alt_mon): This.
7132 (mon): Add, fill with the proper genitive forms, but CLDR data
7133 is incomplete; completed according to the comments in this file.
7134 (d_t_fmt): Do not use "di" before the month name, no longer needed.
7135
7136 * localedata/locales/wa_BE (country_name): Reword
7137 "Beljike" -> "Beldjike".
7138
7139 2018-06-11 Joseph Myers <joseph@codesourcery.com>
7140
7141 [BZ #23272]
7142 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
7143 cases of non-finite arguments.
7144 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7145
7146 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
7147
7148 [BZ #23174]
7149 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
7150
7151 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7152
7153 [BZ #23264]
7154 * include/unistd.h (__execvpex): New prototype.
7155 * posix/Makefile (tests): Add tst-spawn4.
7156 (tests-internal): Add tst-spawn4-compat.
7157 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
7158 * posix/tst-spawn4-compat.c: New file.
7159 * posix/tst-spawn4.c: Likewise.
7160 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
7161 binaries as shell scripts.
7162 * sysdeps/posix/spawni.c (__spawni): Likewise.
7163
7164 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
7165
7166 [BZ #23145]
7167 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
7168 ($(all-built-dso:=.dynsym): New target.
7169 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
7170 ($(objpfx)check-initfini.out): New target.
7171 (generated): Add check-initfini.out.
7172 * scripts/check-initfini.awk: New file.
7173 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
7174 (_fini): Likewise.
7175 * sysdeps/alpha/crti.S (_init): Mark as hidden.
7176 (_fini): Likewise.
7177 * sysdeps/arm/crti.S (_init): Mark as hidden.
7178 (_fini): Likewise.
7179 * sysdeps/hppa/crti.S (_init): Mark as hidden.
7180 (_fini): Likewise.
7181 * sysdeps/i386/crti.S (_init): Mark as hidden.
7182 (_fini): Likewise.
7183 * sysdeps/ia64/crti.S (_init): Mark as hidden.
7184 (_fini): Likewise.
7185 * sysdeps/m68k/crti.S (_init): Mark as hidden.
7186 (_fini): Likewise.
7187 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
7188 (_fini): Likewise.
7189 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
7190 (_fini): Likewise.
7191 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
7192 (_fini): Likewise.
7193 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
7194 (_fini): Likewise.
7195 * sysdeps/nios2/crti.S (_init): Mark as hidden.
7196 (_fini): Likewise.
7197 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
7198 (_fini): Likewise.
7199 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
7200 (_fini): Likewise.
7201 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
7202 (_fini): Likewise.
7203 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
7204 (_fini): Likewise.
7205 * sysdeps/sh/crti.S (_init): Mark as hidden.
7206 (_fini): Likewise.
7207 * sysdeps/sparc/crti.S (_init): Mark as hidden.
7208 (_fini): Likewise.
7209 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
7210 (_fini): Likewise.
7211
7212 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7213
7214 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
7215 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
7216 and TF redirection to KFtype and KF only when the default
7217 long double type is not the IEEE 128-bit floating point type.
7218
7219 2018-06-05 Joseph Myers <joseph@codesourcery.com>
7220
7221 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
7222 macro.
7223 (HWCAP_USCAT): Likewise.
7224 (HWCAP_ILRCPC): Likewise.
7225 (HWCAP_FLAGM): Likewise.
7226 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7227 Increase to 28.
7228 (_dl_aarch64_cap_flags): Add new flag names.
7229
7230 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
7231 (MAP_FIXED_NOREPLACE): New macro.
7232 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
7233 (MAP_FIXED_NOREPLACE): Likewise.
7234 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
7235 (MAP_FIXED_NOREPLACE): Likewise.
7236 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7237 (MAP_FIXED_NOREPLACE): Likewise.
7238 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
7239 (MAP_FIXED_NOREPLACE): Likewise.
7240 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
7241 (MAP_FIXED_NOREPLACE): Likewise.
7242 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
7243 (MAP_FIXED_NOREPLACE): Likewise.
7244 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
7245 (MAP_FIXED_NOREPLACE): Likewise.
7246 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
7247 (MAP_FIXED_NOREPLACE): Likewise.
7248 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
7249 (MAP_FIXED_NOREPLACE): Likewise.
7250 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
7251 (MAP_FIXED_NOREPLACE): Likewise.
7252 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
7253 (MAP_FIXED_NOREPLACE): Likewise.
7254 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
7255 (MAP_FIXED_NOREPLACE): Likewise.
7256 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
7257 (MAP_FIXED_NOREPLACE): Likewise.
7258 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
7259 (MAP_FIXED_NOREPLACE): Likewise.
7260
7261 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7262 version to 4.17.
7263
7264 2018-06-04 Joseph Myers <joseph@codesourcery.com>
7265
7266 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7267 version to 4.17
7268
7269 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7270
7271 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
7272 int.
7273 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
7274
7275 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7276
7277 * benchtests/scripts/compare_string.py: (process_results) Catch
7278 exception in non-existent base_func and catch exception in
7279 non-existent attribute.
7280 (parse_file) Catch exception if input file does not exist.
7281
7282 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7283
7284 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
7285 options to avoid diff calculation and omit header, respectively.
7286 (main): process --no-diff and --no-header
7287
7288 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7289 H.J. Lu <hongjiu.lu@intel.com>
7290
7291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7292 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
7293 wcsncmp-sse2.
7294 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7295 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
7296 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
7297 and __wcsncmp_sse2.
7298 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
7299 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7300 AVX unaligned load is fast and vzeroupper is preferred.
7301 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
7302 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
7303 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
7304 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
7305 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
7306 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
7307 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
7308 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
7309 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
7310 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
7311 is undefined.
7312
7313 2018-06-01 Florian Weimer <fweimer@redhat.com>
7314
7315 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
7316 configuring with --disable-multi-arch, building with
7317 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
7318 Haswell-era CPU.
7319
7320 2018-06-01 Florian Weimer <fweimer@redhat.com>
7321
7322 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
7323 results from building with “-march=x86-64 -mtune=generic
7324 -mfpmath=sse” and running on a Haswell-era CPU.
7325
7326 2018-06-01 Joseph Myers <joseph@codesourcery.com>
7327
7328 [BZ #18473]
7329 * soft-fp/sqrttf2.c: Remove file.
7330 * soft-fp/sqrtdf2.c: Move to ....
7331 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
7332 <shlib-compat.h>.
7333 (__sqrtdf2): Make conditional on
7334 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
7335 symbol.
7336 * soft-fp/sqrtsf2.c: Move to ....
7337 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
7338 <shlib-compat.h>.
7339 (__sqrtsf2): Make conditional on
7340 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
7341 symbol.
7342 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
7343 (gcc-double-routines): Remove sqrtdf2.
7344 (gcc-quad-routines): Remove sqrttf2.
7345 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
7346 Do not filter out sqrtsf2 and sqrtdf2.
7347 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7348 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
7349
7350 2018-06-01 Florian Weimer <fweimer@redhat.com>
7351
7352 * sysdeps/generic/libcidn.abilist: Remove file.
7353
7354 2018-06-01 Florian Weimer <fweimer@redhat.com>
7355
7356 [BZ #23236]
7357 * libio/strfile.h (struct _IO_str_fields): Rename members to
7358 discourage their use and add comment.
7359 (_IO_STR_DYNAMIC): Remove unused macro.
7360 * libio/strops.c (_IO_str_init_static_internal): Do not use
7361 callback pointers. Call malloc and free.
7362 (_IO_str_overflow): Do not use callback pointers. Call malloc
7363 and free.
7364 (enlarge_userbuf): Likewise.
7365 (_IO_str_finish): Call free.
7366 * libio/wstrops.c (_IO_wstr_init_static): Initialize
7367 _allocate_buffer_unused.
7368 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
7369 and free.
7370 (enlarge_userbuf): Likewise.
7371 (_IO_wstr_finish): Call free.
7372 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
7373 _allocate_buffer_unused, _free_buffer_unused.
7374 * libio/memstream.c (__open_memstream): Likewise.
7375 * libio/vasprintf.c (_IO_vasprintf): Likewise.
7376 * libio/wmemstream.c (open_wmemstream): Likewise.
7377
7378 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
7379
7380 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
7381 AMD Ryzen 7 1800X.
7382
7383 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7384
7385 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
7386 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
7387 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
7388 New file.
7389 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
7390 Likewise.
7391 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
7392
7393 2018-05-29 Florian Weimer <fweimer@redhat.com>
7394
7395 * support/Makefile (libsupport-routines): Add
7396 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
7397 xpthread_barrierattr_setpshared.
7398 * support/xpthread_barrierattr_destroy.c: New file.
7399 * support/xpthread_barrierattr_init.c: Likewise.
7400 * support/xpthread_barrierattr_setpshared.c: Likewise.
7401
7402 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
7403
7404 [BZ #23206]
7405 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
7406 _r_debug and update DT_DEBUG for debugger.
7407
7408 2018-05-29 Florian Weimer <fweimer@redhat.com>
7409
7410 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
7411 (tst-strtod5i.out): Likewise.
7412
7413 2018-05-25 Joseph Myers <joseph@codesourcery.com>
7414
7415 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
7416 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
7417 (sparc64-quad-routines): New variable. Moved from ....
7418 [$(subdir) = soft-fp] (sysdep_routines): Add
7419 $(sparc64-quad-routines). Moved from ....
7420 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
7421 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
7422 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
7423 moved from ....
7424 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
7425 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
7426 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
7427 * sysdeps/sparc/sparc64/qp_add.c: ... here.
7428 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
7429 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
7430 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
7431 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
7432 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
7433 * sysdeps/sparc/sparc64/qp_div.c: ... here.
7434 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
7435 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
7436 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
7437 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
7438 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
7439 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
7440 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
7441 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
7442 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
7443 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
7444 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
7445 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
7446 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
7447 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
7448 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
7449 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
7450 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
7451 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
7452 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
7453 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
7454 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
7455 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
7456 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
7457 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
7458 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
7459 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
7460 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
7461 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
7462 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
7463 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
7464 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
7465 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
7466 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
7467 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
7468 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
7469 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
7470 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
7471 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
7472 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
7473 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
7474 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
7475 * sysdeps/sparc/sparc64/qp_util.c: ... here.
7476 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
7477 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
7478 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
7479 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
7480 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
7481 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
7482
7483 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
7484 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
7485 (sparc32-quad-routines): New variable. Moved from ....
7486 [$(subdir) = soft-fp] (sysdep_routines): Add
7487 $(sparc32-quad-routines). Moved from ....
7488 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
7489 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
7490 moved from ....
7491 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
7492 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
7493 * sysdeps/sparc/sparc32/q_add.c: ... here.
7494 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
7495 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
7496 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
7497 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
7498 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
7499 * sysdeps/sparc/sparc32/q_div.c: ... here.
7500 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
7501 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
7502 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
7503 * sysdeps/sparc/sparc32/q_feq.c: ... here.
7504 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
7505 * sysdeps/sparc/sparc32/q_fge.c: ... here.
7506 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
7507 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
7508 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
7509 * sysdeps/sparc/sparc32/q_fle.c: ... here.
7510 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
7511 * sysdeps/sparc/sparc32/q_flt.c: ... here.
7512 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
7513 * sysdeps/sparc/sparc32/q_fne.c: ... here.
7514 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
7515 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
7516 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
7517 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
7518 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
7519 * sysdeps/sparc/sparc32/q_mul.c: ... here.
7520 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
7521 * sysdeps/sparc/sparc32/q_neg.c: ... here.
7522 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
7523 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
7524 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
7525 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
7526 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
7527 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
7528 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
7529 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
7530 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
7531 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
7532 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
7533 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
7534 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
7535 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
7536 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
7537 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
7538 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
7539 * sysdeps/sparc/sparc32/q_sub.c: ... here.
7540 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
7541 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
7542 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
7543 * sysdeps/sparc/sparc32/q_util.c: ... here.
7544 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
7545 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
7546 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
7547 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
7548
7549 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7550 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7551
7552 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
7553 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
7554 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
7555 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
7556
7557 2018-05-24 Joseph Myers <joseph@codesourcery.com>
7558
7559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
7560 powerpc/soft-fp.
7561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7562 Likewise.
7563 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
7564 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
7565
7566 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7567
7568 [BZ #23171]
7569 * math/math.h [C++] (iseqsig): Fix parameter type for the long
7570 double version.
7571
7572 2018-05-23 Joseph Myers <joseph@codesourcery.com>
7573
7574 * sysdeps/sh/Implies: Remove sh/soft-fp.
7575 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
7576 * sysdeps/sh/sfp-machine.h: ... here.
7577
7578 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
7579
7580 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7581 (__mempcpy_erms): Skip zero length.
7582 (__memmove_erms): Likewise.
7583 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7584 (__memset_erms): Likewise.
7585
7586 2018-05-23 Joseph Myers <joseph@codesourcery.com>
7587
7588 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
7589 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
7590 Add functions moved from ....
7591 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
7592 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
7593 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
7594 from ....
7595 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
7596 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
7597 * sysdeps/alpha/e_sqrtl.c: ... here.
7598 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
7599 * sysdeps/alpha/local-soft-fp.h: ... here.
7600 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
7601 * sysdeps/alpha/ots_add.c: ... here.
7602 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
7603 * sysdeps/alpha/ots_cmp.c: ... here.
7604 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
7605 * sysdeps/alpha/ots_cmpe.c: ... here.
7606 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
7607 * sysdeps/alpha/ots_cvtqux.c: ... here.
7608 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
7609 * sysdeps/alpha/ots_cvtqx.c: ... here.
7610 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
7611 * sysdeps/alpha/ots_cvttx.c: ... here.
7612 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
7613 * sysdeps/alpha/ots_cvtxq.c: ... here.
7614 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
7615 * sysdeps/alpha/ots_cvtxt.c: ... here.
7616 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
7617 * sysdeps/alpha/ots_div.c: ... here.
7618 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
7619 * sysdeps/alpha/ots_mul.c: ... here.
7620 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
7621 * sysdeps/alpha/ots_nintxq.c: ... here.
7622 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
7623 * sysdeps/alpha/ots_sub.c: ... here.
7624 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
7625 * sysdeps/alpha/sfp-machine.h: ... here.
7626
7627 2018-05-23 Florian Weimer <fweimer@redhat.com>
7628
7629 [BZ #19728]
7630 [BZ #19729]
7631 [BZ #22247]
7632 CVE-2016-6261
7633 CVE-2016-6263
7634 CVE-2017-14062
7635 Switch to extern IDNA implementation (libidn2).
7636 * libidn: Remove subdirectory.
7637 * LICENSES: Do not mention licensing conditions for the removed
7638 libidn code.
7639 * config.h.in (HAVE_LIBIDN): Remove.
7640 * include/dlfcn.h (__libc_dlopen): Update comment.
7641 * include/idna.h: Remove file.
7642 * inet/Makefile (routines): Add idna.
7643 (tests-static, tests-internal): Add tst-idna_name_classify.
7644 (LOCALES): Generate locales for tests.
7645 (tst-idna_name_classify.out): Depend on generated locales.
7646 * inet/idna_name_classify.c: New file.
7647 * inet/tst-idna_name_classify.c: Likewise.
7648 * inet/net-internal.h (__idna_to_dns_encoding)
7649 (__idna_from_dns_encoding): Declare.
7650 * inet/net-internal.h (enum idna_name_classification): Define.
7651 (__idna_name_classify): Declare.
7652 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
7653 __idna_from_dns_encoding.
7654 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
7655 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
7656 name as a fallback in case of encoding errors.
7657 (getnameinfo): Use DEPRECATED_NI_IDN.
7658 * inet/idna.c: New file.
7659 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
7660 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
7661 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
7662 (modules-names): Add tst-no-libidn2.
7663 (extra-test-objs): Add tst-no-libidn2.os.
7664 (LDFLAGS-tst-no-libidn2.so): Set soname.
7665 (LOCALES): Set, and generate locales.
7666 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
7667 (tst-resolv-ai_idn-latin1): Likewise.
7668 (tst-resolv-ai_idn-nolibidn2): Likewise.
7669 (tst-resolv-ai_idn.out): Depend on locales.
7670 (tst-resolv-ai_idn-latin1.out): Depend on locales.
7671 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
7672 tst-no-libidn2.so.
7673 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
7674 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
7675 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
7676 * resolv/tst-resolv-ai_idn.c: New file.
7677 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
7678 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
7679 * resolv/tst-no-libidn2.c: Likewise.
7680 * support/support_format_addrinfo.c (format_ai_flags): Do not
7681 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
7682 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
7683 (gaih_inet): Call __idna_to_dns_encoding and
7684 __idna_from_dns_encoding, and use the original (punycode) name if
7685 __idna_from_dns_encoding fails due to an encoding error.
7686 (getaddrinfo): Use DEPRECATED_AI_IDN.
7687 * sysdeps/unix/inet/Subdirs (libidn): Remove.
7688 * sysdeps/unix/inet/configure: Remove file.
7689 * sysdeps/unix/inet/configure.ac: Likewise.
7690
7691 2018-05-23 Florian Weimer <fweimer@redhat.com>
7692
7693 Implement allocate_once.
7694 * include/allocate_once.h: New file.
7695 * misc/allocate_once.c: Likewise.
7696 * misc/tst-allocate_once.c: Likewise.
7697 * misc/Makefile (routines): Add allocate_once.
7698 (tests-internal): Add tst-allocate_once.
7699 (generated): Add tst-allocate_once.mtrace,
7700 tst-allocate_once-mem.out.
7701 (tests-special): Add tst-allocate_once-mem.out.
7702 (tst-allocate_once-ENV): Set MALLOC_TRACE.
7703 (tst-allocate_once-mem.out): Call mtrace.
7704 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
7705
7706 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
7707
7708 [BZ #23196]
7709 * string/test-memcpy.c (do_test1): New function.
7710 (test_main): Call it.
7711
7712 2018-05-23 Andreas Schwab <schwab@suse.de>
7713
7714 [BZ #23196]
7715 CVE-2018-11237
7716 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
7717 (L(preloop_large)): Save initial destination pointer in %r11 and
7718 use it instead of %rax after the loop.
7719 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
7720
7721 2018-05-22 Joseph Myers <joseph@codesourcery.com>
7722
7723 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
7724 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
7725 -I../soft-fp. Moved from ....
7726 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
7727 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
7728 * sysdeps/aarch64/e_sqrtl.c: ... here.
7729 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
7730 * sysdeps/aarch64/sfp-machine.h: ... here.
7731
7732 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
7733 -Wmaybe-uninitialized around access to fq[0].
7734 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7735 Likewise.
7736
7737 [BZ #18471]
7738 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
7739 aliases for non-libc case of versioned symbols.
7740 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
7741 (llseek): Define as compat symbol if
7742 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
7743 with link warning.
7744 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
7745 Make into a compat symbol, disabled for minimum symbol version
7746 GLIBC_2.28 and later.
7747 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
7748
7749 2018-05-22 Florian Weimer <fweimer@redhat.com>
7750
7751 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
7752 not add -mpreferred-stack-boundary=4.
7753 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
7754 (stack-align-test-flags): Likewise.
7755 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
7756 Likewise.
7757 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
7758 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
7759 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
7760 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
7761 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
7762 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
7763 (CFLAGS-tst-align2.c): Likewise.
7764
7765 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
7766
7767 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
7768 (index_arch_Prefer_FSRM): Likewise.
7769 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
7770 Also check Prefer_FSRM.
7771 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
7772 Also return OPTIMIZE (erms) for Prefer_FSRM.
7773
7774 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
7775
7776 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
7777 (index_cpu_FSRM): Likewise.
7778 (reg_FSRM): Likewise.
7779
7780 2018-05-18 Joseph Myers <joseph@codesourcery.com>
7781
7782 * math/gen-tgmath-tests.py: Import sys.
7783 (Tests.__init__): Initialize macros_seen.
7784 (Tests.add_tests): Add macro to macros_seen. Only generate tests
7785 if requested to do so for this macro.
7786 (Tests.add_all_tests): Take argument for macro for which to
7787 generate tests.
7788 (Tests.check_macro_list): New function.
7789 (main): Handle check-list argument and argument specifying macro
7790 for which to generate tests.
7791 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
7792 [PYTHON] (tgmath3-macro-tests): Likewise.
7793 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
7794 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
7795 not test-tgmath3.c.
7796 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
7797 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
7798 to CFLAGS.
7799 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
7800 [PYTHON] ($(foreach
7801 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
7802 rule.
7803 [PYTHON] (tests-special): Add
7804 $(objpfx)test-tgmath3-macro-list.out.
7805 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
7806
7807 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
7808 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
7809 later.
7810
7811 [BZ #22639]
7812 * time/tzset.c (SECSPERDAY): Cast to time_t.
7813 * time/tst-y2039.c: New file.
7814 * time/Makefile (tests): Add tst-y2039.
7815
7816 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7817
7818 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7819 (PREFETCH_ONE_SET): Remove duplicate line.
7820
7821 2018-05-17 Florian Weimer <fweimer@redhat.com>
7822
7823 * sysdeps/generic/math-type-macros-double.h: Include
7824 <math-nan-payload-double.h> after <libm-alias-double.h>.
7825 * sysdeps/generic/math-type-macros-float.h: Include
7826 <math-nan-payload-float.h> after <libm-alias-float.h>.
7827 * sysdeps/generic/math-type-macros-float128.h: Include
7828 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
7829 * sysdeps/generic/math-type-macros-ldouble.h: Include
7830 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
7831
7832 2018-05-17 Andreas Schwab <schwab@suse.de>
7833
7834 * resolv/res_send.c (__res_context_send): Don't set errno when
7835 returing error after malloc failure.
7836
7837 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
7838
7839 * nptl/allocatestack.c (allocate_stack): Remove the
7840 !__ASSUME_PRIVATE_FUTEX paths.
7841 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
7842 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7843 Likewise.
7844 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
7845 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
7846 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
7847 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
7848 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
7849 !__ASSUME_PRIVATE_FUTEX path.
7850 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
7851 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
7852 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
7853 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
7854 !__ASSUME_PRIVATE_FUTEX macros.
7855 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7856 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7857 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7858 * sysdeps/unix/sysv/linux/kernel-features.h
7859 (__ASSUME_PRIVATE_FUTEX): Removed.
7860
7861 2018-05-17 Joseph Myers <joseph@codesourcery.com>
7862
7863 * math/Makefile (libm-narrow-fns): Add div.
7864 (libm-test-funcs-narrow): Likewise.
7865 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
7866 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
7867 * math/gen-auto-libm-tests.c (test_functions): Add div.
7868 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
7869 (NARROW_DIV_ROUND_TO_ODD): Likewise.
7870 (NARROW_DIV_TRIVIAL): Likewise.
7871 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
7872 macro.
7873 (__ddivl): Likewise.
7874 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
7875 ddiv.
7876 (CFLAGS-nldbl-ddiv.c): New variable.
7877 (CFLAGS-nldbl-fdiv.c): Likewise.
7878 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
7879 __nldbl_ddivl.
7880 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
7881 prototype.
7882 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
7883 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
7884 * math/auto-libm-test-in: Add tests of div.
7885 * math/auto-libm-test-out-narrow-div: New generated file.
7886 * math/libm-test-narrow-div.inc: New file.
7887 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
7888 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
7889 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
7890 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
7891 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
7892 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
7893 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
7894 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
7895 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
7896 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
7897 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
7898 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
7899 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
7900 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
7901 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
7902 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7903 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
7904 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7906 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
7907 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7908 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7909 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7910 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7911 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7912 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7913 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7914 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7915 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7916 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7917 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7918 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
7920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
7921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
7922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
7923 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
7924 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7925 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7926 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7927 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7928 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7929 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7930 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7931
7932 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7933
7934 [BZ #23178]
7935 * nscd/nscd-client.h (sendfileall): Remove prototype.
7936 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
7937 (handle_request): Use writeall instead of sendfileall.
7938 * nscd/aicache.c (addhstaiX): Likewise.
7939 * nscd/grpcache.c (cache_addgr): Likewise.
7940 * nscd/hstcache.c (cache_addhst): Likewise.
7941 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7942 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
7943 * nscd/pwdcache.c (cache_addpw): Likewise.
7944 * nscd/servicescache.c (cache_addserv): Likewise.
7945 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
7946 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
7947 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
7948 Remove define.
7949
7950 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
7951
7952 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
7953 Include <string/strncat.c>.
7954 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
7955 alias.
7956 (__GI___strncat): New hidden alias.
7957
7958 2018-05-16 Joseph Myers <joseph@codesourcery.com>
7959
7960 * sysdeps/mips/mips32/libm-test-ulps: Update.
7961 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7962
7963 2018-05-16 Florian Weimer <fweimer@redhat.com>
7964
7965 * support/Makefile (libsupport-routines): Add support_quote_blob,
7966 support_test_compare_blob.
7967 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
7968 * support/check.h (TEST_COMPARE_BLOB): Define.
7969 (support_test_compare_blob): Declare.
7970 * support/support.h (support_quote_blob): Declare.
7971 * support/support_quote_blob.c: New file.
7972 * support/support_test_compare_blob.c: Likewise.
7973 * support/tst-support_quote_blob.c: Likewise.
7974 * support/tst-test_compare_blob.c: Likewise.
7975
7976 2018-05-16 Florian Weimer <fweimer@redhat.com>
7977
7978 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
7979 of <strtod_nan_double.h>.
7980 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
7981 instead of SET_MANTISSA.
7982 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
7983 of include <strtod_nan_float.h>.
7984 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
7985 instead of <strtod_nan_ldouble.h>.
7986 * stdlib/strtod_nan_double.h: Move to ...
7987 * sysdeps/generic/math-nan-payload-double.h: ... here.
7988 (FLOAT): Remove definition.
7989 (SET_MANTISSA): Rename to ...
7990 (SET_NAN_PAYLOAD): ... this.
7991 * stdlib/strtod_nan_float.h: Move to ...
7992 * sysdeps/generic/math-nan-payload-float.h: ... here.
7993 (FLOAT): Remove definition.
7994 (SET_MANTISSA): Rename to ...
7995 (SET_NAN_PAYLOAD): ... this.
7996 * sysdeps/generic/math-type-macros-double.h: Include
7997 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
7998 instead of <math-svid-compat.h>.
7999 * sysdeps/generic/math-type-macros-float.h: Include
8000 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
8001 instead of <math-svid-compat.h>.
8002 * sysdeps/generic/math-type-macros-float128.h: Include
8003 <math-nan-payload-float128.h>.
8004 * sysdeps/generic/math-type-macros-ldouble.h: Include
8005 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
8006 instead of <math-svid-compat.h>.
8007 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
8008 check for definition.
8009 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
8010 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
8011 Include <ieee754_float128.h>.
8012 (FLOAT): Remove definition.
8013 (SET_MANTISSA): Rename to ...
8014 (SET_NAN_PAYLOAD): ... this.
8015 * sysdeps/ieee754/float128/strtof128_nan.c: Include
8016 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
8017 Do not include <float128_private.h>.
8018 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
8019 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
8020 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
8021 (FLOAT): Remove definition.
8022 (SET_MANTISSA): Rename to ...
8023 (SET_NAN_PAYLOAD): ... this.
8024 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
8025 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
8026 (FLOAT): Remove definition.
8027 (SET_MANTISSA): Rename to ...
8028 (SET_NAN_PAYLOAD): ... this.
8029 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
8030 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
8031 (FLOAT): Remove definition.
8032 (SET_MANTISSA): Rename to ...
8033 (SET_NAN_PAYLOAD): ... this.
8034 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
8035 of "../stdlib/strtod_nan_double.h".
8036 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
8037 of "../stdlib/strtod_nan_float.h".
8038 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
8039 instead of "../stdlib/strtod_nan_ldouble.h".
8040 * manual/arith.texi (Parsing of Floats): Adjust comment.
8041
8042 2018-05-16 Joseph Myers <joseph@codesourcery.com>
8043
8044 * math/Makefile (libm-narrow-fns): Add mul.
8045 (libm-test-funcs-narrow): Likewise.
8046 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
8047 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
8048 * math/gen-auto-libm-tests.c (test_functions): Add mul.
8049 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
8050 (NARROW_MUL_ROUND_TO_ODD): Likewise.
8051 (NARROW_MUL_TRIVIAL): Likewise.
8052 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
8053 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
8054 macro.
8055 (__dmull): Likewise.
8056 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
8057 dmul.
8058 (CFLAGS-nldbl-dmul.c): New variable.
8059 (CFLAGS-nldbl-fmul.c): Likewise.
8060 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
8061 __nldbl_dmull.
8062 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
8063 prototype.
8064 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
8065 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
8066 * math/auto-libm-test-in: Add tests of mul.
8067 * math/auto-libm-test-out-narrow-mul: New generated file.
8068 * math/libm-test-narrow-mul.inc: New file.
8069 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
8070 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
8071 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
8072 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
8073 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
8074 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
8075 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
8076 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
8077 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
8078 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
8079 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
8080 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
8081 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
8082 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
8083 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
8084 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
8085 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
8086 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
8087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8088 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
8089 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8090 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8091 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8092 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8093 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8094 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8095 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8096 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8097 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8098 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8099 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8100 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
8103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8105 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
8106 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8107 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8108 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8109 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8110 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8111 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8112 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8113
8114 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
8115
8116 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8117 with *%eax in call.
8118
8119 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
8120
8121 * sysdeps/i386/ldsodefs.h: Removed.
8122 * sysdeps/x86_64/ldsodefs.h: Moved to ...
8123 * sysdeps/x86/ldsodefs.h: This.
8124 (La_i86_regs): New.
8125 (La_i86_retval): Likewise.
8126 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
8127 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
8128
8129 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
8130
8131 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
8132 unnecessary testl.
8133
8134 2018-05-13 Alan Modra <amodra@gmail.com>
8135
8136 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
8137 R_PARISC_TLS_DTPOFF32 reloc addend.
8138
8139 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8140
8141 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
8142 * math/math.h: Restrict the prototype definition for the functions
8143 issignaling(_Float128) and iszero(_Float128); and template
8144 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
8145 __HAVE_FLOAT128_UNLIKE_LDBL.
8146 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
8147 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
8148 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
8149 __f128() constants; define the type _Float128 as long double;
8150 and reuse long double in __CFLOAT128.
8151
8152 2018-05-11 Joseph Myers <joseph@codesourcery.com>
8153
8154 * sysdeps/generic/math_private.h: Do not include
8155 <math-barriers.h>.
8156 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
8157 <math_private.h>.
8158 * math/fromfp.h: Include <math-barriers.h>.
8159 * math/math-narrow.h: Likewise.
8160 * math/s_nextafter.c: Likewise.
8161 * math/s_nexttowardf.c: Likewise.
8162 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8163 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8164 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8165 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8166 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8167 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8168 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8169 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8170 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8171 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8172 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8173 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8174 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8175 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8176 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8177 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8178 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8179 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8180 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8181 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8182 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8183 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8184 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8185 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8186 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8187 * sysdeps/ieee754/k_standardl.c: Likewise.
8188 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8189 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8190 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8191 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8192 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8193 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8194 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8195 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8196 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8197 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8198 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8199 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8200 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8201 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8202 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8203 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8204 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8205 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8206 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8207 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8208 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
8209 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
8210
8211 2018-05-11 Florian Weimer <fweimer@redhat.com>
8212
8213 Use 64-bit epoch values in the time zone file parser.
8214 * include/time.h (internal_time_t): Define.
8215 (__tzfile_compute): Use it.
8216 * time/tzfile.c (struct leap): Use internal_time_t for epoch
8217 member.
8218 (transitions): Switch to internal_time_t.
8219 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
8220 types.
8221 (__tzfile_compute): Use internal_time_t for timer argument. Check
8222 for truncation before calling __offtime.
8223
8224 2018-05-11 Florian Weimer <fweimer@redhat.com>
8225
8226 [BZ #23166]
8227 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
8228 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
8229 Likewise.
8230 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
8231 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
8232 export without --enable-obsolete-rpc.
8233 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
8234 symbol. This should not have been exported, ever.
8235
8236 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
8237
8238 [BZ #23152]
8239 * localedata/locales/gd_GB (abmon): Fix typo in May:
8240 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
8241
8242 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
8243
8244 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
8245 Use multiple registers to copy data in loop tail.
8246
8247 * sysdeps/aarch64/multiarch/memmove_falkor.S
8248 (__memmove_falkor): Use multiple registers to move data in
8249 loop tail.
8250
8251 2018-05-10 Joseph Myers <joseph@codesourcery.com>
8252
8253 * math/math-underflow.h: New file.
8254 * sysdeps/generic/math_private.h: Do not include <float.h>.
8255 (fabs_tg): Remove macro. Moved to math-underflow.h.
8256 (min_of_type_f): Likewise.
8257 (min_of_type_): Likewise.
8258 (min_of_type_l): Likewise.
8259 (min_of_type_f128): Likewise.
8260 (min_of_type): Likewise.
8261 (math_check_force_underflow): Likewise.
8262 (math_check_force_underflow_nonneg): Likewise.
8263 (math_check_force_underflow_complex): Likewise.
8264 * math/e_exp2_template.c: Include <math-underflow.h>.
8265 * math/k_casinh_template.c: Likewise.
8266 * math/s_catan_template.c: Likewise.
8267 * math/s_catanh_template.c: Likewise.
8268 * math/s_ccosh_template.c: Likewise.
8269 * math/s_cexp_template.c: Likewise.
8270 * math/s_clog10_template.c: Likewise.
8271 * math/s_clog_template.c: Likewise.
8272 * math/s_csin_template.c: Likewise.
8273 * math/s_csinh_template.c: Likewise.
8274 * math/s_csqrt_template.c: Likewise.
8275 * math/s_ctan_template.c: Likewise.
8276 * math/s_ctanh_template.c: Likewise.
8277 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8278 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8279 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8280 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8281 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8282 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8283 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8284 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8285 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8286 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8287 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8288 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8289 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8290 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8291 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8292 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8293 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8294 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8295 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8296 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8297 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8298 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8299 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8300 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8301 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8302 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8303 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8304 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8305 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8306 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8307 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8308 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8309 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8310 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8311 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8312 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8313 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8314 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8315 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8316 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8317 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8318 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8319 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8320 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8321 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8322 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8323 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8324 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8325 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8326 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8327 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8329 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8330 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8331 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8332 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8333 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8334 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8335 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8336 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8337 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8338 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8339 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8340 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8341 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8342 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8343 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8344 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8345 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8346 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8347 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8348 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8349 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8350 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
8351 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8352 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8353 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8354 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8355 * sysdeps/x86/fpu/powl_helper.c: Likewise.
8356 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
8357 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
8358 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8359 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
8360 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
8361
8362 2018-05-09 Joseph Myers <joseph@codesourcery.com>
8363
8364 * sysdeps/generic/math-barriers.h: New file.
8365 * sysdeps/generic/math_private.h [!math_opt_barrier]
8366 (math_opt_barrier): Move to math-barriers.h.
8367 [!math_opt_barrier] (math_force_eval): Likewise.
8368 * sysdeps/aarch64/fpu/math-barriers.h: New file.
8369 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
8370 math-barriers.h.
8371 (math_force_eval): Likewise.
8372 * sysdeps/alpha/fpu/math-barriers.h: New file.
8373 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
8374 math-barriers.h.
8375 (math_force_eval): Likewise.
8376 * sysdeps/x86/fpu/math-barriers.h: New file.
8377 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
8378 math-barriers.h.
8379 (math_force_eval): Likewise.
8380 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
8381 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
8382 multiple-include guard for rename.
8383 * sysdeps/powerpc/fpu/math-barriers.h: New file.
8384 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
8385 math-barriers.h.
8386 (math_force_eval): Likewise.
8387
8388 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8389
8390 [BZ #22786]
8391 CVE-2018-11236
8392 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
8393 computation.
8394 * stdlib/Makefile (test-bz22786): New test.
8395 * stdlib/test-bz22786.c: New test.
8396
8397 2018-05-09 Joseph Myers <joseph@codesourcery.com>
8398
8399 * include/math-narrow-eval.h: New file. Contents moved from ....
8400 * sysdeps/generic/math_private.h: ... here.
8401 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
8402 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
8403 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
8404 * stdlib/strtod_l.c: Likewise.
8405 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8406 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8407 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8408 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8409 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8410 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8411 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8412 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8413 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8414 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8415 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8416 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8417 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8418 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8419 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8420 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8421 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8422 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8423 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8424 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8425 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8426 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8427 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8428 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8429 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8430 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8431 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8432 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8433 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8434
8435 2018-05-08 Andreas Schwab <schwab@suse.de>
8436
8437 * sysdeps/nptl/internaltypes.h: Fix comment.
8438
8439 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
8440
8441 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8442 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
8443 hidden.
8444
8445 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8446
8447 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
8448 of I into loop header.
8449 * benchtests/bench-memmove-walk.c
8450 (test_main): Likewise.
8451
8452 2018-05-07 Alexandre Oliva <oliva@gnu.org>
8453
8454 Revert:
8455 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
8456 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
8457
8458 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8459
8460 [BZ #20419]
8461 * elf/dl-load.c (open_verify): Fix stack overflow.
8462 * elf/Makefile (tst-big-note): New test.
8463 * elf/tst-big-note-lib.S: New.
8464 * elf/tst-big-note.c: New.
8465
8466 2018-05-04 Joseph Myers <joseph@codesourcery.com>
8467
8468 * scripts/abilist.awk: Ignore absolute symbols.
8469 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
8470 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
8471 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
8472 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
8473 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
8474 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
8475 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
8476 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
8477 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
8478 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
8479 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
8480 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
8481 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
8482 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
8483 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
8484 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
8485 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
8486 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
8487 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8488 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
8489 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
8490 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
8491 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
8492 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
8493 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
8494 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
8495 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
8496 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
8497 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8498 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
8499 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
8500 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8501 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
8502 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
8503 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
8504 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
8505 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
8506 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
8507 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
8508 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
8509 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
8510 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8511 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
8512 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
8513 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8514 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
8515 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
8516 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
8517 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
8518 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
8519 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
8520 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
8521 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
8522 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
8523 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8524 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
8525 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
8526 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8527 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
8528 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
8529 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
8530 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
8531 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
8532 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
8533 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
8534 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
8535 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
8536 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8537 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
8538 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
8539 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8540 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
8541 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
8542 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
8543 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
8544 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
8545 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
8546 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
8547 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
8548 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
8549 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8550 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
8551 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
8552 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8553 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
8554 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
8555 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
8556 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
8557 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
8558 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
8559 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
8560 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8561 Likewise.
8562 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
8563 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8564 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
8565 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
8566 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8567 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
8568 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
8569 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
8570 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
8571 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
8572 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
8573 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
8574 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8575 Likewise.
8576 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
8577 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8578 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
8579 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
8580 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8581 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
8582 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
8583 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
8584 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
8585 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
8586 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
8587 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
8588 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
8589 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
8590 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8591 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
8592 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
8593 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8594 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
8595 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
8596 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
8597 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
8598 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
8599 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
8600 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8601 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
8602 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8603 Likewise.
8604 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
8605 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
8606 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
8607 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
8608 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8609 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
8610 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
8611 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
8612 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
8613 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
8614 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
8615 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
8616 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
8617 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
8618 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
8619 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
8620 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
8621 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
8622 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8623 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8624 Likewise.
8625 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
8626 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
8627 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
8628 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8629 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
8630 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
8631 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
8632 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
8633 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
8634 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
8635 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8636 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
8637 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
8638 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8639 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
8640 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
8641 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
8642 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
8643 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8644 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
8645 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
8646 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8647 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
8648 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8649 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
8650 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
8651 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
8652 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
8653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
8654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8657 Likewise.
8658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
8659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
8660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
8661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
8662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8663 Likewise.
8664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
8665 Likewise.
8666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
8667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8668 Likewise.
8669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
8670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8671 Likewise.
8672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8673 Likewise.
8674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
8675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8677 Likewise.
8678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8679 Likewise.
8680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
8681 Likewise.
8682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
8683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8686 Likewise.
8687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
8688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
8689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
8690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
8693 Likewise.
8694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
8695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8696 Likewise.
8697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8698 Likewise.
8699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8700 Likewise.
8701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
8702 Likewise.
8703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
8704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
8705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8706 Likewise.
8707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8708 Likewise.
8709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8710 Likewise.
8711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
8712 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
8713 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
8714 Likewise.
8715 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
8716 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8717 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
8718 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
8719 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
8720 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
8721 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8722 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
8723 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
8724 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
8725 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
8726 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
8727 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
8728 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8729 Likewise.
8730 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8731 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
8732 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
8733 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8734 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
8735 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8736 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
8737 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
8738 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
8739 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
8740 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
8741 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8742 Likewise.
8743 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8744 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
8745 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
8746 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8747 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
8748 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8749 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
8750 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
8751 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
8752 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
8753 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
8754 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
8755 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
8756 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8757 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
8758 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
8759 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8760 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
8761 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8762 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
8763 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
8764 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
8765 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
8766 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
8767 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8768 Likewise.
8769 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
8770 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8771 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
8772 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
8773 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8774 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
8775 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8776 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
8777 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
8778 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
8779 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
8780 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
8781 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8782 Likewise.
8783 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
8784 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8785 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
8786 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
8787 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8788 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
8789 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8790 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
8791 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
8792 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
8793 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
8794 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
8795 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
8796 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
8797 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8798 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
8799 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
8800 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8801 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
8802 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8803 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
8804 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
8805 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
8806 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
8807 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
8808 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
8809 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
8810 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
8811 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8812 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
8813 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
8814 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8815 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
8816 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8817 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
8818 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
8819 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
8820 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
8821
8822 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
8823
8824 [BZ #23137]
8825 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
8826 Use atomic_load_acquire to load __tid.
8827
8828 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
8829
8830 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
8831 Restore the pointer into %rdx, after syscall and use %rdx,
8832 instead of %rsi, to restore context.
8833
8834 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
8835
8836 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
8837 Pop the pointer into %rdx after syscall and use %rdx, instead
8838 of %rsi, to restore context.
8839
8840 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
8841
8842 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
8843 handlers after setjmp.
8844 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
8845 defined.
8846 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
8847 <libc-pointer-arith.h>.
8848 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
8849 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
8850 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
8851 _JUMP_BUF_SIGSET_BITS_PER_WORD.
8852 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
8853 * sysdeps/x86/__longjmp_cancel.S: New file.
8854 * sysdeps/x86/longjmp.c: Likewise.
8855 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
8856
8857 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8858
8859 * NEWS: Add ustat.h deprecation entry.
8860 * bits/ustat.h: Remove file.
8861 * misc/sys/ustat.h: Likewise.
8862 * misc/ustat.h: Likewise.
8863 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
8864 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
8865 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
8866 compatibility mode.
8867 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
8868 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
8869 generic Linux implementation.
8870
8871 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8872
8873 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
8874 * math/w_expl_compat.c: Likewise.
8875 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
8876
8877 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
8878
8879 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
8880
8881 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8882
8883 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
8884 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
8885 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
8886 Remove.
8887 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8889 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8890 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
8891 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
8892 and SYSCALL_LL64.
8893
8894 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8895
8896 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
8897
8898 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
8899 * math/w_asin_template.c: Likewise.
8900 * math/w_atanh_template.c: Likewise.
8901
8902 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8903
8904 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
8905 to powerpc/powerpc64/be for big-endian.
8906 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
8907 little-endian.
8908
8909 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
8910 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
8911 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
8912 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
8913 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8914 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
8915 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
8916 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
8917 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
8918 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8919 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
8920 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
8921 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
8922 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
8923 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
8924 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
8925 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
8926 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
8927 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
8928 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
8929 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
8930 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8931 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
8932 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
8933 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
8934 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8935 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
8936 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
8937 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
8938 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8939 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8940 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8941
8942 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
8943 adjusted to imply powerpc64 and older processors on powerpc64/be.
8944 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
8945 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
8946 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
8947 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
8948 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
8949 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
8950 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
8951 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
8952 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
8953 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
8954 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
8955 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
8956 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
8957 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
8958 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
8959 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
8960 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
8961 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
8962 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
8963 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
8964 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
8965 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
8966 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
8967 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
8968 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
8969 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
8970 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
8971 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
8972 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
8973 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
8974 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
8975
8976 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
8977 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
8978 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
8979 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
8980
8981 * sysdeps/powerpc/powerpc64/be/Implies: New file.
8982 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
8983 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
8984 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
8985
8986 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
8987 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
8988 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
8989 * sysdeps/powerpc/powerpc64le/configure: Likewise.
8990 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
8991 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
8992 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
8993 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
8994 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
8995 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
8996 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
8997
8998 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
8999 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
9000 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
9001 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
9002 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
9003 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
9004 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
9005 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
9006 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
9007 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
9008 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
9009
9010 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
9011 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
9012 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
9013 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
9014 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
9015 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
9016 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
9017 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
9018 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
9019 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
9020 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
9021 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
9022
9023 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
9024 and adjusted to imply olders processors.
9025 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
9026 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
9027 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
9028 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
9029 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
9030 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
9031 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
9032 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
9033 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
9034 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
9035 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
9036
9037 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
9038 powerpc64/le.
9039 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
9040 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
9041
9042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
9043 powerpc64le.
9044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
9045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
9046
9047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
9048 powerpc64/be.
9049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
9051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
9052
9053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
9054 powerpc64 and adjusted.
9055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
9056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
9057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
9058 Likewise.
9059
9060 2018-04-27 Joseph Myers <joseph@codesourcery.com>
9061
9062 * sysdeps/tile: Remove.
9063 * sysdeps/unix/sysv/linux/tile: Likewise.
9064 * README (tilegx-*-linux-gnu): Remove from list of supported
9065 configurations.
9066 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
9067 contribution of support for generic Linux kernel syscall
9068 interface.
9069 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
9070 tilegx configurations.
9071 (Config.install_linux_headers): Do not handle tile.
9072 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
9073 in comment.
9074 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
9075 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
9076 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
9077 conditional undefine and redefine.
9078 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
9079 in comment.
9080 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
9081 conditional undefine and redefine.
9082
9083 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
9084
9085 * signal/tst-sigaction.c: New file to test BZ #23069.
9086 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
9087
9088 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9089
9090 [BZ #22766]
9091 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
9092 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
9093 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
9094 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9095
9096 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9097
9098 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
9099 _DIRENT_MATCHES_DIRENT64 is not defined.
9100 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
9101 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
9102 is defined.
9103 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
9104 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
9105
9106 2018-04-25 Joseph Myers <joseph@codesourcery.com>
9107
9108 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
9109 version to GCC 8 branch.
9110
9111 2018-04-24 Joseph Myers <joseph@codesourcery.com>
9112
9113 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
9114 (check_no_hidden): Use type of original function when declaring
9115 alias.
9116
9117 * sysdeps/unix/sysv/linux/sys/ptrace.h
9118 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
9119 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
9120 (struct __ptrace_seccomp_metadata): New type.
9121 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9122 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9123 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
9124 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9125 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
9126 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9127 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9128 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9129 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9130 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9131 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9132 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9133 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
9134 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9135 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
9136 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9137
9138 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9139
9140 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
9141 defined.
9142 * dirent/versionsort.c (versionsort): Likewise.
9143 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
9144 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
9145 * dirent/versionsort64.c (versionsort64): Likewise.
9146 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
9147 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
9148 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
9149 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
9150 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
9151 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
9152 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
9153 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
9154 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
9155 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
9156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
9157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
9158 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
9159 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
9160
9161 2018-04-23 Joseph Myers <joseph@codesourcery.com>
9162
9163 * elf/elf.h (NT_PPC_PKEY): New macro.
9164
9165 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
9166
9167 [BZ #23094]
9168 * localedata/locales/hr_HR: fix thousands_sep and
9169 mon_thousands_sep
9170
9171 2018-04-20 Joseph Myers <joseph@codesourcery.com>
9172
9173 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
9174 (XTABS): Define to TAB3.
9175
9176 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9177
9178 * sysdeps/hppa/fpu/libm-test-ulps: Update.
9179
9180 * dirent/scandir-tail-common.c: New file.
9181 * dirent/scandir-tail.c: Use scandir-tail-common.c.
9182 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
9183 * dirent/scandir.c: Use scandir-tail-common.c.
9184 * dirent/scandirat.c: Likewise.
9185 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
9186 * dirent/scandir64.c (scandir64): Always build and alias to scandir
9187 if _DIRENT_MATCHES_DIRENT64 is defined.
9188 * dirent/scandirat64.c (scandirat64): Likewise.
9189 * include/dirent.h (__scandir_tail): Only define iff
9190 _DIRENT_MATCHES_DIRENT64 is not defined.
9191 (__scandir64_tail): Define regardless.
9192 (__scandirat, scandirat64): Remove libc_hidden_proto.
9193 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
9194 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
9195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
9196 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
9197 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9198 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
9199 * sysdeps/unix/sysv/linux/scandir64.c: New file.
9200
9201 2018-04-20 Joseph Myers <joseph@codesourcery.com>
9202
9203 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
9204 New macro.
9205 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
9206 Increase to 24.
9207 (_dl_aarch64_cap_flags): Add asimdfhm.
9208
9209 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
9210
9211 * sysdeps/nios2/libm-test-ulps: Update.
9212
9213 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9214
9215 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
9216 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
9217
9218 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
9219 requirements.
9220 (_DIRENT_MATCHES_DIRENT64): Undef
9221 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
9222 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
9223 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
9224 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
9225 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
9226 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
9227 use getdents64 syscalls as base.
9228 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
9229 symbol if required.
9230 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
9231 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
9232 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
9233 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
9234 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
9235 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
9236 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
9237 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
9238 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9239 (__get_clockfreq_via_proc_openprom): Use __getdents64.
9240 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
9241
9242 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
9243
9244 * scripts/test_printers_common.py (init_test): Disable lock elision.
9245
9246 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
9247
9248 * math/test-tgmath.c (count_double, count_float,
9249 count_ldouble, count_cdouble, count_cfloat,
9250 count_cldouble): Use volatile int.
9251
9252 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
9253
9254 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
9255 (conformtest-xfail-conds): Add i386-gnu.
9256 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
9257 i386-gnu.
9258 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
9259 ipc_perm.cuid, ipc_perm.cgid): Likewise.
9260 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
9261 msqid_ds.msg_lrpid): Likewise.
9262 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
9263 Likewise.
9264 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
9265 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9266 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
9267 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
9268 unsigned int.
9269 (struct statvfs64): Likewise.
9270 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
9271 Likewise.
9272 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
9273 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
9274 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
9275 instead of wait_queue.
9276 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
9277 instead of vm_area_struct.
9278 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
9279 struct sched_param definition to it.
9280 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9281 * bits/types/struct_sched_param.h: New file.
9282 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
9283 <bits/types/struct_sched_param.h> instead of <sched.h>.
9284 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
9285 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
9286 generic version but include <bits/pthreadtypes.h> to make struct
9287 sigevent's sigev_notify_attributes field a pthread_attr_t*.
9288 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
9289 non-compliant.
9290 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
9291 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
9292 [__USE_XOPEN] (OFDEL): New macro.
9293 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
9294 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
9295 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
9296 prototypes.
9297 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
9298 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
9299 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
9300 non-compliant.
9301 * sysdeps/i386/sys/ucontext.h: Likewise.
9302 * sysdeps/m68k/sys/ucontext.h: Likewise.
9303 * sysdeps/mips/sys/ucontext.h: Likewise.
9304 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
9305 * sysdeps/mach/hurd/i386/Makefile
9306 (test-xfail-POSIX/fcntl.h/conform): Add.
9307 (test-xfail-POSIX/signal.h/conform): Add.
9308 (test-xfail-POSIX/semaphore.h/conform): Add.
9309 (test-xfail-POSIX/regex.h/conform): Add.
9310 (test-xfail-POSIX/aio.h/conform): Add.
9311 (test-xfail-POSIX/mqueue.h/conform): Add.
9312 (test-xfail-POSIX/sys/types.h/conform): Add.
9313 (test-xfail-UNIX98/fcntl.h/conform): Add.
9314 (test-xfail-UNIX98/netdb.h/conform): Add.
9315 (test-xfail-UNIX98/signal.h/conform): Add.
9316 (test-xfail-UNIX98/semaphore.h/conform): Add.
9317 (test-xfail-UNIX98/regex.h/conform): Add.
9318 (test-xfail-UNIX98/aio.h/conform): Add.
9319 (test-xfail-UNIX98/ftw.h/conform): Add.
9320 (test-xfail-UNIX98/mqueue.h/conform): Add.
9321 (test-xfail-UNIX98/netinet/in.h/conform): Add.
9322 (test-xfail-UNIX98/sys/wait.h/conform): Add.
9323 (test-xfail-UNIX98/sys/sem.h/conform): Add.
9324 (test-xfail-UNIX98/sys/uio.h/conform): Add.
9325 (test-xfail-UNIX98/sys/socket.h/conform): Add.
9326 (test-xfail-UNIX98/sys/types.h/conform): Add.
9327 (test-xfail-UNIX98/stdlib.h/conform): Add.
9328 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
9329 (test-xfail-POSIX2008/fcntl.h/conform): Add.
9330 (test-xfail-POSIX2008/netdb.h/conform): Add.
9331 (test-xfail-POSIX2008/signal.h/conform): Add.
9332 (test-xfail-POSIX2008/semaphore.h/conform): Add.
9333 (test-xfail-POSIX2008/regex.h/conform): Add.
9334 (test-xfail-POSIX2008/aio.h/conform): Add.
9335 (test-xfail-POSIX2008/mqueue.h/conform): Add.
9336 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
9337 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
9338 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
9339 (test-xfail-POSIX2008/sys/types.h/conform): Add.
9340 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
9341 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
9342 (test-xfail-XOPEN2K/netdb.h/conform): Add.
9343 (test-xfail-XOPEN2K/signal.h/conform): Add.
9344 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
9345 (test-xfail-XOPEN2K/regex.h/conform): Add.
9346 (test-xfail-XOPEN2K/aio.h/conform): Add.
9347 (test-xfail-XOPEN2K/ftw.h/conform): Add.
9348 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
9349 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
9350 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
9351 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
9352 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
9353 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
9354 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
9355 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
9356 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
9357 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
9358 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
9359 (test-xfail-XOPEN2K8/signal.h/conform): Add.
9360 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
9361 (test-xfail-XOPEN2K8/regex.h/conform): Add.
9362 (test-xfail-XOPEN2K8/aio.h/conform): Add.
9363 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
9364 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
9365 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
9366 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
9367 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
9368 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
9369 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
9370 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
9371 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
9372 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
9373 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
9374 i386-gnu.
9375 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
9376 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
9377
9378 2018-04-18 Joseph Myers <joseph@codesourcery.com>
9379
9380 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
9381 --enable-obsolete for powerpc-linux-gnuspe.
9382
9383 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9384
9385 * conform/data/sys/un.h-data: Allow sun_ prefix.
9386 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
9387 prototypes.
9388 * sysdeps/mach/include/mach.h: Likewise.
9389 * sysdeps/mach/include/mach/mig_support.h: Likewise.
9390 * sysdeps/mach/include/mach_error.h: Likewise.
9391
9392 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9393
9394 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
9395 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
9396 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
9397 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
9398
9399 2018-04-16 Andreas Schwab <schwab@suse.de>
9400
9401 [BZ #19527]
9402 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
9403
9404 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
9405
9406 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
9407 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
9408
9409 2018-04-12 DJ Delorie <dj@redhat.com>
9410
9411 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9412 version to 4.16.
9413
9414 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9415
9416 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
9417 (struct kernel_sigaction): Use the same definition on 31bit as is used
9418 on 64bit.
9419
9420 2018-04-09 Florian Weimer <fweimer@redhat.com>
9421
9422 [BZ #23037]
9423 * resolv/res_send.c (send_dg): Use designated initializers instead
9424 of assignment to zero-initialize other fields of struct mmsghdr.
9425
9426 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9427
9428 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
9429 __READDIR_ALIAS): Undefine after usage.
9430 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
9431 __READDIR_R_ALIAS): Likewise.
9432 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
9433 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
9434 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
9435 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
9436 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
9437 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
9438 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9439 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9440 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
9441 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
9442 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
9443 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
9444 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9445 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
9446 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
9447 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
9448 * sysdeps/unix/sysv/linux/readdir.c: New file.
9449 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
9450 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
9451 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
9452
9453 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
9454
9455 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
9456
9457 * manual/charset.texi (Converting a Character): Fix typo.
9458
9459 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9460
9461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9462
9463 * sysdeps/arm/libm-test-ulps: Update.
9464
9465 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
9466 as base implementation.
9467 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9468 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9469 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9470 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9471 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9472 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
9473 remove unrequired definitions and update comments.
9474 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
9475 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
9476 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
9477 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
9478 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
9479 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
9480 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
9481 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
9482 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
9483 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
9484 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
9485 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9486 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9487 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
9488 and RESET_SA_RESTORER hooks.
9489
9490 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
9491
9492 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9493
9494 2018-04-05 Florian Weimer <fweimer@redhat.com>
9495
9496 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
9497 integer overflow, memory leak on error, and indeterminate errno
9498 value. Add a null wide character to terminate the result string.
9499 * manual/charset.texi (Converting a Character): Mention embedded
9500 null bytes in the mbrtowc input string. Explain what happens in
9501 the -2 result case. Do not claim that mbrtowc is simple or
9502 obvious to use. Adjust the description of the code example. Use
9503 @code, not @var, for concrete variables.
9504
9505 2018-04-05 Florian Weimer <fweimer@redhat.com>
9506
9507 * manual/examples/mbstouwcs.c: New file.
9508 * manual/charset.texi (Converting a Character): Include it.
9509
9510 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9511
9512 * include/dirent.h (dirfd): Add hidden proto.
9513 * dirent/dirfd.c (dirfd): Add hidden def.
9514 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
9515 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
9516
9517 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9518
9519 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
9520 sin, cos and sincos to 1 ULP.
9521
9522 2018-04-04 Maciej W. Rozycki <macro@mips.com>
9523
9524 [BZ #19818]
9525 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
9526 symbols.
9527 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
9528 * elf/tst-absolute-sym.c: New file.
9529 * elf/tst-absolute-sym-lib.c: New file.
9530 * elf/tst-absolute-sym-lib.lds: New file.
9531 * elf/Makefile (tests): Add `tst-absolute-sym'.
9532 (modules-names): Add `tst-absolute-sym-lib'.
9533 (LDLIBS-tst-absolute-sym-lib.so): New variable.
9534 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
9535 ($(objpfx)tst-absolute-sym): New dependency.
9536
9537 [BZ #19818]
9538 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
9539 parameter.
9540 (SYMBOL_ADDRESS): New macro.
9541 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
9542 SYMBOL_ADDRESS for symbol address calculation.
9543 * elf/dl-runtime.c (_dl_fixup): Likewise.
9544 (_dl_profile_fixup): Likewise.
9545 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
9546 * elf/rtld.c (dl_main): Likewise.
9547 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
9548 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
9549 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
9550 (elf_machine_rela): Likewise.
9551 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
9552 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
9553 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9554 (elf_machine_rela): Likewise.
9555 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9556 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
9557 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
9558 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
9559 Likewise.
9560 (elf_machine_reloc): Likewise.
9561 (elf_machine_got_rel): Likewise.
9562 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
9563 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
9564 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9565 Likewise.
9566 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9567 Likewise.
9568 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
9569 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9570 Likewise.
9571 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9572 Likewise.
9573 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9574 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9575 Likewise.
9576 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9577 Likewise.
9578 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
9579 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9580
9581 2018-04-04 Zack Weinberg <zackw@panix.com>
9582
9583 * sysdeps/generic/internal-signals.h: Include signal.h,
9584 sigsetops.h, and stdbool.h.
9585 (__libc_signal_block_all): Actually block all signals.
9586 (__libc_signal_block_app): Likewise.
9587 (__libc_signal_restore_set): Actually restore the signal mask.
9588
9589 2018-04-04 Florian Weimer <fweimer@redhat.com>
9590
9591 inet: Actually build and run tst-deadline.
9592 * inet/Makefile (tests-internal): Add tst-deadline and do not
9593 overwrite the variable.
9594 (tests-static-internal): Remove variable.
9595
9596 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
9597
9598 [BZ #22947]
9599 * bits/uio-ext.h (RWF_APPEND): New.
9600 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
9601 * manual/llio.texi: Document RWF_APPEND.
9602 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
9603 (RWF_SUPPORTED): Add RWF_APPEND.
9604
9605 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9606
9607 [BZ #22391]
9608 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
9609 check for internal nptl signals.
9610 * nptl/sigaction.c (__sigaction): Likewise.
9611 * signal/sigaddset.c (sigaddset): Likewise.
9612 * signal/sigdelset.c (sigdelset): Likewise.
9613 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9614 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
9615 value.
9616 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
9617 to filter out internal nptl signals.
9618 * signal/tst-sigset.c (do_test): Check ech signal indidually and
9619 also check realtime signals using standard macros.
9620 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
9621 __is_internal_signal, __libc_signal_block_all,
9622 __libc_signal_block_app, __libc_signal_restore_set): New functions.
9623 * sysdeps/nptl/sigfillset.c: Remove file.
9624 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
9625 Change return to bool.
9626 (__clear_internal_signals): Remove SIGTIMER clean since it is
9627 equal to SIGCANEL on Linux.
9628 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
9629 signal set was constructed using standard functions.
9630
9631 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9632
9633 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
9634 ifname is too long.
9635 * hurd/hurdsig.c (interrupted_reply_port_location): Use
9636 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
9637 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
9638 hidden def.
9639 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
9640 * signal/sigaddset.c: Include <sigsetopts.h>.
9641 * signal/sigdelset.c: Likewise.
9642
9643 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9644
9645 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
9646 (__cos): Likewise.
9647 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
9648 logic as sin and cos.
9649
9650 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9651
9652 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
9653 inputs. Return correct sign.
9654 (do_sincos): Remove small input check before do_sin, let do_sin set
9655 the sign.
9656 (__sin): Likewise.
9657 (__cos): Likewise.
9658
9659 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9660
9661 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
9662 (do_cos_slow): Likewise.
9663 (do_sin_slow): Likewise.
9664 (reduce_and_compute): Likewise.
9665 (slow): Likewise.
9666 (slow1): Likewise.
9667 (slow2): Likewise.
9668 (sloww): Likewise.
9669 (sloww1): Likewise.
9670 (sloww2): Likewise.
9671 (bslow): Likewise.
9672 (bslow1): Likewise.
9673 (bslow2): Likewise.
9674 (cslow2): Likewise.
9675
9676 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9677
9678 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
9679 (do_cos): Remove corp parameter and calculations.
9680 (do_sin): Likewise.
9681 (do_sincos): Remove cor variable.
9682 (__sin): Use do_sincos for huge inputs.
9683 (__cos): Likewise.
9684 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9685 (reduce_and_compute_sincos): Remove unused function.
9686
9687 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9688
9689 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
9690 reduce_sincos, improve accuracy to 136 bits.
9691 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
9692 (__sin): Use improved reduction and simplified do_sincos calculation.
9693 (__cos): Likewise.
9694 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9695
9696 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9697
9698 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
9699 (do_sincos_2): Likewise.
9700 (__sin): Remove middle range reduction case.
9701 (__cos): Likewise.
9702 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
9703 reduction case.
9704
9705 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
9706
9707 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
9708 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
9709 inputs.
9710 (__cos): Likewise.
9711 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
9712
9713 2018-04-03 Joseph Myers <joseph@codesourcery.com>
9714
9715 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9716 version to 4.16
9717
9718 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9719
9720 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
9721 Remove definitions.
9722 (opendir_oflags): Use O_DIRECTORY regardless.
9723 (__opendir, __opendirat): Remove need_isdir_precheck usage.
9724 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
9725
9726 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9727
9728 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
9729 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
9730 macros.
9731 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
9732 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
9733 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
9734 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
9735 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
9736 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
9737
9738 * htl/Makefile: Bump licence to LGPL 2.1+.
9739 * htl/alloca_cutoff.c: Likewise.
9740 * htl/cthreads-compat.c: Likewise.
9741 * htl/lockfile.c: Likewise.
9742 * htl/pt-alloc.c: Likewise.
9743 * htl/pt-cancel.c: Likewise.
9744 * htl/pt-cleanup.c: Likewise.
9745 * htl/pt-create.c: Likewise.
9746 * htl/pt-dealloc.c: Likewise.
9747 * htl/pt-detach.c: Likewise.
9748 * htl/pt-exit.c: Likewise.
9749 * htl/pt-getattr.c: Likewise.
9750 * htl/pt-initialize.c: Likewise.
9751 * htl/pt-internal.h: Likewise.
9752 * htl/pt-join.c: Likewise.
9753 * htl/pt-self.c: Likewise.
9754 * htl/pt-setcancelstate.c: Likewise.
9755 * htl/pt-setcanceltype.c: Likewise.
9756 * htl/pt-sigmask.c: Likewise.
9757 * htl/pt-spin-inlines.c: Likewise.
9758 * htl/pt-testcancel.c: Likewise.
9759 * htl/pt-yield.c: Likewise.
9760 * htl/tests/test-1.c: Likewise.
9761 * htl/tests/test-10.c: Likewise.
9762 * htl/tests/test-11.c: Likewise.
9763 * htl/tests/test-12.c: Likewise.
9764 * htl/tests/test-13.c: Likewise.
9765 * htl/tests/test-14.c: Likewise.
9766 * htl/tests/test-15.c: Likewise.
9767 * htl/tests/test-16.c: Likewise.
9768 * htl/tests/test-17.c: Likewise.
9769 * htl/tests/test-2.c: Likewise.
9770 * htl/tests/test-3.c: Likewise.
9771 * htl/tests/test-4.c: Likewise.
9772 * htl/tests/test-5.c: Likewise.
9773 * htl/tests/test-6.c: Likewise.
9774 * htl/tests/test-7.c: Likewise.
9775 * htl/tests/test-8.c: Likewise.
9776 * htl/tests/test-9.c: Likewise.
9777 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
9778 * sysdeps/htl/bits/cancelation.h: Likewise.
9779 * sysdeps/htl/bits/pthread-np.h: Likewise.
9780 * sysdeps/htl/bits/pthread.h: Likewise.
9781 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
9782 * sysdeps/htl/bits/semaphore.h: Likewise.
9783 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
9784 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
9785 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
9786 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
9787 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
9788 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
9789 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
9790 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
9791 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
9792 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
9793 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
9794 * sysdeps/htl/old_pt-atfork.c: Likewise.
9795 * sysdeps/htl/pt-atfork.c: Likewise.
9796 * sysdeps/htl/pt-attr-destroy.c: Likewise.
9797 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
9798 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
9799 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
9800 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
9801 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
9802 * sysdeps/htl/pt-attr-getscope.c: Likewise.
9803 * sysdeps/htl/pt-attr-getstack.c: Likewise.
9804 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
9805 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
9806 * sysdeps/htl/pt-attr-init.c: Likewise.
9807 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
9808 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
9809 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
9810 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
9811 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
9812 * sysdeps/htl/pt-attr-setscope.c: Likewise.
9813 * sysdeps/htl/pt-attr-setstack.c: Likewise.
9814 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
9815 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
9816 * sysdeps/htl/pt-attr.c: Likewise.
9817 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
9818 * sysdeps/htl/pt-barrier-init.c: Likewise.
9819 * sysdeps/htl/pt-barrier-wait.c: Likewise.
9820 * sysdeps/htl/pt-barrier.c: Likewise.
9821 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
9822 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
9823 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
9824 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
9825 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
9826 * sysdeps/htl/pt-cond-destroy.c: Likewise.
9827 * sysdeps/htl/pt-cond-init.c: Likewise.
9828 * sysdeps/htl/pt-cond-signal.c: Likewise.
9829 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
9830 * sysdeps/htl/pt-cond-wait.c: Likewise.
9831 * sysdeps/htl/pt-cond.c: Likewise.
9832 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
9833 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
9834 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
9835 * sysdeps/htl/pt-condattr-init.c: Likewise.
9836 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
9837 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
9838 * sysdeps/htl/pt-destroy-specific.c: Likewise.
9839 * sysdeps/htl/pt-equal.c: Likewise.
9840 * sysdeps/htl/pt-getconcurrency.c: Likewise.
9841 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
9842 * sysdeps/htl/pt-getschedparam.c: Likewise.
9843 * sysdeps/htl/pt-getspecific.c: Likewise.
9844 * sysdeps/htl/pt-init-specific.c: Likewise.
9845 * sysdeps/htl/pt-key-create.c: Likewise.
9846 * sysdeps/htl/pt-key-delete.c: Likewise.
9847 * sysdeps/htl/pt-key.h: Likewise.
9848 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
9849 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
9850 * sysdeps/htl/pt-mutex-init.c: Likewise.
9851 * sysdeps/htl/pt-mutex-lock.c: Likewise.
9852 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
9853 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
9854 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
9855 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
9856 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
9857 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
9858 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
9859 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
9860 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
9861 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
9862 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
9863 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
9864 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
9865 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
9866 * sysdeps/htl/pt-mutexattr.c: Likewise.
9867 * sysdeps/htl/pt-once.c: Likewise.
9868 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
9869 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
9870 * sysdeps/htl/pt-rwlock-init.c: Likewise.
9871 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
9872 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
9873 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
9874 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
9875 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
9876 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
9877 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
9878 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
9879 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
9880 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
9881 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
9882 * sysdeps/htl/pt-setconcurrency.c: Likewise.
9883 * sysdeps/htl/pt-setschedparam.c: Likewise.
9884 * sysdeps/htl/pt-setschedprio.c: Likewise.
9885 * sysdeps/htl/pt-setspecific.c: Likewise.
9886 * sysdeps/htl/pt-spin.c: Likewise.
9887 * sysdeps/htl/pt-startup.c: Likewise.
9888 * sysdeps/htl/pthread.h: Likewise.
9889 * sysdeps/htl/sem-close.c: Likewise.
9890 * sysdeps/htl/sem-destroy.c: Likewise.
9891 * sysdeps/htl/sem-getvalue.c: Likewise.
9892 * sysdeps/htl/sem-init.c: Likewise.
9893 * sysdeps/htl/sem-open.c: Likewise.
9894 * sysdeps/htl/sem-post.c: Likewise.
9895 * sysdeps/htl/sem-timedwait.c: Likewise.
9896 * sysdeps/htl/sem-trywait.c: Likewise.
9897 * sysdeps/htl/sem-unlink.c: Likewise.
9898 * sysdeps/htl/sem-wait.c: Likewise.
9899 * sysdeps/hurd/htl/pt-kill.c: Likewise.
9900 * sysdeps/i386/htl/pt-machdep.h: Likewise.
9901 * sysdeps/mach/htl/pt-block.c: Likewise.
9902 * sysdeps/mach/htl/pt-spin.c: Likewise.
9903 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
9904 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
9905 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
9906 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
9907 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
9908 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
9909 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
9910 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
9911 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
9912 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
9913 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
9914 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
9915 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
9916 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
9917 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
9918 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
9919 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
9920 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
9921 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
9922 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
9923 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
9924 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
9925 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
9926 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
9927 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
9928 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
9929 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
9930 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
9931 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
9932 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
9933 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
9934 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
9935 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
9936 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
9937 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
9938 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
9939 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
9940 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
9941 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
9942 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
9943 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
9944 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
9945 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
9946
9947 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
9948 * README: Remove the mention of out-of-tree patches needed for
9949 GNU/Hurd.
9950
9951 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
9952 (UTIME_NOW, UTIME_OMIT): Define macros.
9953
9954 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
9955 instead of pthread_detach.
9956 (__cthread_fork): Call __pthread_create instead of pthread_create.
9957 (__cthread_keycreate): Call __pthread_key_create instead of
9958 pthread_key_create.
9959 (__cthread_getspecific): Call __pthread_getspecific instead of
9960 pthread_getspecific.
9961 (__cthread_setspecific): Call __pthread_setspecific instead of
9962 pthread_setspecific.
9963 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
9964 __pthread_mutex_unlock instead of pthread_mutex_lock and
9965 pthread_mutex_unlock.
9966 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
9967 ___pthread_get_cleanup_stack.
9968 (__pthread_get_cleanup_stack): New strong alias.
9969 * htl/pt-create.c: Include <pthreadP.h>.
9970 (entry_point): Call __pthread_exit instead of pthread_exit.
9971 (pthread_create): Rename to __pthread_create.
9972 (pthread_create): New strong alias.
9973 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
9974 (pthread_detach): New strong alias.
9975 (__pthread_detach): Call __pthread_cond_broadcast instead of
9976 pthread_cond_broadcast.
9977 * htl/pt-exit.c: Include <pthreadP.h>.
9978 (__pthread_exit): Call __pthread_setcancelstate and
9979 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
9980 __pthread_get_cleanup_stack.
9981 * htl/pt-testcancel.c: Include <pthreadP.h>.
9982 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
9983 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
9984 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
9985 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
9986 pthread_attr_getstacksize.
9987 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
9988 Rename to __pthread_attr_getstackaddr.
9989 (pthread_attr_getstackaddr): New strong alias.
9990 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
9991 Rename to __pthread_attr_getstacksize.
9992 (pthread_attr_getstacksize): New strong alias.
9993 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
9994 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
9995 (pthread_attr_setstack): New strong alias.
9996 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
9997 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
9998 pthread_attr_getstacksize, pthread_attr_setstacksize and
9999 pthread_attr_setstackaddr.
10000 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
10001 Rename to __pthread_attr_setstackaddr.
10002 (pthread_attr_setstackaddr): New strong alias.
10003 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
10004 Rename to __pthread_attr_setstacksize.
10005 (pthread_attr_setstacksize): New strong alias.
10006 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
10007 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
10008 pthread_exit.
10009 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
10010 (__pthread_key_create): New hidden def.
10011 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
10012 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
10013 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
10014 __pthread_exit, __pthread_key_create, __pthread_getspecific,
10015 __pthread_setspecific, __pthread_setcancelstate,
10016 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
10017 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
10018 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
10019 declarations.
10020 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
10021 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
10022 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
10023 (pthread_attr_setstackaddr): New strong alias.
10024 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
10025 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
10026 (pthread_attr_setstacksize): New strong alias.
10027 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
10028 (call_exit): Call __pthread_exit instead of pthread_exit.
10029 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
10030 (_pthread_mutex_init): New hidden definition.
10031 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
10032 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
10033 instead of pthread_attr_init and pthread_attr_setstack.
10034
10035 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
10036 __vm_deallocate instead of vm_allocate and vm_deallocate.
10037 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
10038 setenv.
10039 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
10040 of geteuid.
10041 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
10042 strdup.
10043 * hurd/siginfo.c: Include <libioP.h>.
10044 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
10045 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
10046 munmap.
10047 * mach/devstream.c: Include <libioP.h>.
10048 (dealloc_ref): Call __mach_port_deallocate instead of
10049 mach_port_deallocate.
10050 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
10051 Call __mach_port_deallocate instead of mach_port_deallocate.
10052 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
10053 pathconf.
10054 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
10055 munmap.
10056 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
10057 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
10058 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
10059 of munmap.
10060 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
10061 of close.
10062 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
10063 instead of sysconf.
10064 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
10065 __clock_gettime instead of clock_gettime.
10066 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
10067 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
10068 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
10069 * sysdeps/unix/bsd/stty.c (stty): Likewise.
10070 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
10071 tcgetattr.
10072 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
10073 __clock_gettime and __nanosleep instead of clock_gettime and
10074 nanosleep.
10075 * hurd/catch-signal.c (hurd_catch_signal): Rename to
10076 __hurd_catch_signal.
10077 (hurd_catch_signal): New strong alias.
10078 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
10079 __hurd_catch_signal instead of hurd_catch_signal.
10080 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
10081 * hurd/hurdexec.c (_hurd_init): Add hidden def.
10082 * hurd/hurdinit.c (_hurd_init): Add hidden def.
10083 * hurd/hurdsig.c: Include <mach/mig_support.h>.
10084 (_hurd_thread_sigstate): Add hidden def.
10085 (_hurd_internal_post_signal): Use __mutex_unlock instead of
10086 mutex_unlock.
10087 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
10088 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
10089 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
10090 __hurd_file_name_path_lookup.
10091 (hurd_file_name_path_lookup): New strong alias.
10092 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
10093 hurd_file_name_path_lookup.
10094 * mach/errstring.c (mach_error_type): Add hidden def.
10095 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
10096 * mach/mutex-init.c (__mutex_init): Add hidden def.
10097 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
10098 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
10099 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
10100 * sysdeps/mach/hurd/getcwd.c
10101 (_hurd_canonicalize_directory_name_internal): Rename to
10102 __hurd_canonicalize_directory_name_internal.
10103 (_hurd_canonicalize_directory_name_internal): New strong alias.
10104 (__canonicalize_directory_name_internal, __getcwd): Call
10105 __hurd_canonicalize_directory_name_internal instead of
10106 _hurd_canonicalize_directory_name_internal.
10107 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
10108 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
10109 hidden defs.
10110 * sysdeps/hurd/include/hurd.h: New file.
10111 * sysdeps/hurd/include/hurd/fd.h: New file.
10112 * sysdeps/hurd/include/hurd/signal.h: New file.
10113 * sysdeps/mach/include/lock-intern.h: New file.
10114 * sysdeps/mach/include/mach.h: New file.
10115 * sysdeps/mach/include/mach/mig_support.h: New file.
10116 * sysdeps/mach/include/mach_error.h: New file.
10117 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
10118 prototype.
10119 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
10120 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
10121 _HEADER_H_HIDDEN_DEF macro.
10122 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
10123 _hurd_fd_error_signal): Add hidden prototype.
10124 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
10125 hidden def.
10126 * libio/iolibio.h (_IO_puts): New hidden prototype.
10127 * libio/ioputs.c (_IO_puts): New hidden def.
10128 * sysdeps/mach/hurd/localplt.data: New file.
10129
10130 2018-04-02 Agustina Arzille <avarzille@riseup.net>
10131 Amos Jeffries <squid3@treenet.co.nz>
10132 David Michael <fedora.dm0@gmail.com>
10133 Marco Gerards <marco@gnu.org>
10134 Marcus Brinkmann <marcus@gnu.org>
10135 Neal H. Walfield <neal@gnu.org>
10136 Pino Toscano <toscano.pino@tiscali.it>
10137 Richard Braun <rbraun@sceen.net>
10138 Roland McGrath <roland@gnu.org>
10139 Samuel Thibault <samuel.thibault@ens-lyon.org>
10140 Thomas DiModica <ricinwich@yahoo.com>
10141 Thomas Schwinge <tschwinge@gnu.org>
10142
10143 * htl: New directory.
10144 * sysdeps/htl: New directory.
10145 * sysdeps/hurd/htl: New directory.
10146 * sysdeps/i386/htl: New directory.
10147 * sysdeps/mach/htl: New directory.
10148 * sysdeps/mach/hurd/htl: New directory.
10149 * sysdeps/mach/hurd/i386/htl: New directory.
10150 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
10151 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
10152 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
10153
10154 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10155
10156 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
10157 signals in thread created for runing timers.
10158
10159 2018-04-01 Florian Weimer <fweimer@redhat.com>
10160
10161 * support/support_format_addrinfo.c (support_format_addrinfo):
10162 Include unknown error number in formatted result.
10163
10164 2018-03-29 Florian Weimer <fweimer@redhat.com>
10165
10166 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
10167 capture SIGBUS.
10168
10169 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10170
10171 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
10172 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
10173 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10174 (__ASSUME_CLONE_BACKWARDS): Define.
10175
10176 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
10177
10178 [BZ #23024]
10179 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
10180 early when linux sentinel value is set.
10181
10182 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10183
10184 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
10185
10186 2018-03-27 Andreas Schwab <schwab@suse.de>
10187
10188 [BZ #23005]
10189 * resolv/res_send.c (__res_context_send): Return ENOMEM if
10190 allocation of private copy of nsaddr_list fails.
10191
10192 2018-03-26 Joseph Myers <joseph@codesourcery.com>
10193
10194 [BZ #16552]
10195 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
10196 * sysdeps/unix/sysv/linux/umount.c: ... here.
10197 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
10198 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
10199 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
10200 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
10201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
10202 * sysdeps/unix/sysv/linux/umount.S: Likewise.
10203 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
10204
10205 2018-03-26 Andreas Schwab <schwab@suse.de>
10206
10207 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
10208 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
10209 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
10210 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
10211 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
10212 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
10213 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
10214 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
10215 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
10216 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
10217 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
10218 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
10219 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
10220 (R_RISCV_NUM): Define.
10221
10222 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
10223
10224 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
10225 TLS declaration of errno.
10226 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
10227 __libc_setup_tls.
10228 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
10229 (ARCH_SETUP_TLS): Likewise.
10230 * sysdeps/mach/hurd/libc-start.h: New file copied from
10231 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
10232 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
10233 instead of __libc_setup_tls.
10234 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
10235 __libc_setup_tls before initializing libpthread and running _hurd_init
10236 which starts the signal thread.
10237 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
10238 Declare function.
10239 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10240
10241 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
10242
10243 [BZ #22998]
10244 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
10245 after it is defined.
10246
10247 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
10248 Max Horn <max@quendi.de>
10249
10250 [BZ #22644]
10251 CVE-2017-18269
10252 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
10253 branch conditions.
10254 * string/test-memmove.c (do_test2): New testcase.
10255
10256 2018-03-22 Joseph Myers <joseph@codesourcery.com>
10257
10258 * sysdeps/generic/frame.h: Remove file.
10259 * sysdeps/arm/frame.h: Likewise.
10260 * sysdeps/hppa/frame.h: Likewise.
10261 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
10262 macro.
10263 (GET_FRAME): Likewise.
10264 (GET_STACK): Likewise.
10265 (CALL_SIGHANDLER): Likewise.
10266 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
10267 Likewise.
10268 (GET_FRAME): Likewise.
10269 (GET_STACK): Likewise.
10270 (CALL_SIGHANDLER): Likewise.
10271 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
10272 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10273 (GET_FRAME): Likewise.
10274 (GET_STACK): Likewise.
10275 (CALL_SIGHANDLER): Likewise.
10276 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
10277 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10278 (GET_FRAME): Likewise.
10279 (GET_STACK): Likewise.
10280 (ADVANCE_STACK_FRAME): Likewise.
10281 (CALL_SIGHANDLER): Likewise.
10282 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
10283 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10284 (GET_FRAME): Likewise.
10285 (GET_STACK): Likewise.
10286 (CALL_SIGHANDLER): Likewise.
10287 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
10288 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10289 (GET_FRAME): Likewise.
10290 (GET_STACK): Likewise.
10291 (CALL_SIGHANDLER): Likewise.
10292 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
10293 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10294 (GET_FRAME): Likewise.
10295 (GET_STACK): Likewise.
10296 (CALL_SIGHANDLER): Likewise.
10297 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
10298 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10299 (GET_FRAME): Likewise.
10300 (GET_STACK): Likewise.
10301 (CALL_SIGHANDLER): Likewise.
10302 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
10303 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10304 (GET_FRAME): Likewise.
10305 (GET_STACK): Likewise.
10306 (CALL_SIGHANDLER): Likewise.
10307 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
10308 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10309 (GET_FRAME): Likewise.
10310 (GET_STACK): Likewise.
10311 (CALL_SIGHANDLER): Likewise.
10312 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
10313 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10314 (GET_FRAME): Likewise.
10315 (GET_STACK): Likewise.
10316 (CALL_SIGHANDLER): Likewise.
10317 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
10318 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10319 (GET_FRAME): Likewise.
10320 (GET_STACK): Likewise.
10321 (CALL_SIGHANDLER): Likewise.
10322 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
10323 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10324 (GET_FRAME): Likewise.
10325 (GET_STACK): Likewise.
10326 (CALL_SIGHANDLER): Likewise.
10327 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
10328 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10329 (FIRST_FRAME_POINTER): Likewise.
10330 (ADVANCE_STACK_FRAME): Likewise.
10331 (GET_STACK): Likewise.
10332 (GET_FRAME): Likewise.
10333 (CALL_SIGHANDLER): Likewise.
10334 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
10335 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10336 (ADVANCE_STACK_FRAME): Likewise.
10337 (GET_STACK): Likewise.
10338 (GET_FRAME): Likewise.
10339 (CALL_SIGHANDLER): Likewise.
10340 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
10341 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10342 (GET_FRAME): Likewise.
10343 (GET_STACK): Likewise.
10344 (CALL_SIGHANDLER): Likewise.
10345 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
10346 (SIGCONTEXT_EXTRA_ARGS): Likewise.
10347 (GET_FRAME): Likewise.
10348 (GET_STACK): Likewise.
10349 (CALL_SIGHANDLER): Likewise.
10350
10351 2018-03-21 Joseph Myers <joseph@codesourcery.com>
10352
10353 * sysdeps/x86_64/backtrace.c: Move to ....
10354 * debug/backtrace.c: ... here.
10355 * sysdeps/aarch64/backtrace.c: Remove file.
10356 * sysdeps/alpha/backtrace.c: Likewise.
10357 * sysdeps/hppa/backtrace.c: Likewise.
10358 * sysdeps/ia64/backtrace.c: Likewise.
10359 * sysdeps/mips/backtrace.c: Likewise.
10360 * sysdeps/nios2/backtrace.c: Likewise.
10361 * sysdeps/riscv/backtrace.c: Likewise.
10362 * sysdeps/sh/backtrace.c: Likewise.
10363 * sysdeps/tile/backtrace.c: Likewise.
10364
10365 2018-03-20 Joseph Myers <joseph@codesourcery.com>
10366
10367 [BZ #22987]
10368 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
10369 function.
10370 (fdimf): Likewise.
10371 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
10372
10373 [BZ #17343]
10374 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
10375 possibly overflowing computations.
10376
10377 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10378
10379 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
10380 values from Linux-specific section now that it is in the GNU section.
10381 * sysdeps/gnu/errlist.c: Regenerate.
10382
10383 2018-03-20 Joseph Myers <joseph@codesourcery.com>
10384
10385 * math/Makefile (libm-narrow-fns): Add sub.
10386 (libm-test-funcs-narrow): Likewise.
10387 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
10388 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
10389 * math/gen-auto-libm-tests.c (test_functions): Add sub.
10390 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
10391 (NARROW_SUB_ROUND_TO_ODD): Likewise.
10392 (NARROW_SUB_TRIVIAL): Likewise.
10393 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
10394 macro.
10395 (__dsubl): Likewise.
10396 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
10397 dsub.
10398 (CFLAGS-nldbl-dsub.c): New variable.
10399 (CFLAGS-nldbl-fsub.c): Likewise.
10400 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10401 __nldbl_dsubl.
10402 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
10403 prototype.
10404 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
10405 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
10406 * math/auto-libm-test-in: Add tests of sub.
10407 * math/auto-libm-test-out-narrow-sub: New generated file.
10408 * math/libm-test-narrow-sub.inc: New file.
10409 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10410 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
10411 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
10412 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
10413 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
10414 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
10415 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
10416 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
10417 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
10418 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
10419 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
10420 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
10421 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
10422 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
10423 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
10424 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
10425 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
10426 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
10427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10428 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10429 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10430 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10431 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10432 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10433 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10434 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10435 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10436 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10437 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10438 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10439 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10440 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10445 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10446 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10447 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10448 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10449 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10450 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10451 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
10452 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
10453 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10454 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10455
10456 2018-03-19 Joseph Myers <joseph@codesourcery.com>
10457
10458 [BZ #20079]
10459 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
10460
10461 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
10462
10463 * benchtests/bench-timing.h (attribute_hidden): Undefine.
10464
10465 2018-03-18 Richard Braun <rbraun@sceen.net>
10466
10467 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
10468 thread reference.
10469
10470 2018-03-18 Agustina Arzille <avarzille@riseup.net>
10471
10472 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
10473 (__libc_cleanup_fct): Define function.
10474 (__libc_cleanup_region_start, __libc_cleanup_region_end,
10475 __libc_cleanup_end): Rewrite implementation using
10476 __attribute__ ((__cleanup__)).
10477 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
10478 * hurd/Makefile (routines): Add hurdlock.
10479 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
10480 interface.
10481 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
10482 * hurd/hurdpid.c: Include <lowlevellock.h>
10483 (_S_msg_proc_newids): Use lll_wait to synchronize.
10484 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
10485 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
10486 * mach/Makefile (lock-headers): Remove machine-lock.h.
10487 * mach/lock-intern.h: Include <lowlevellock.h> instead of
10488 <machine-lock.h>.
10489 (__spin_lock_t): New type.
10490 (__SPIN_LOCK_INITIALIZER): New macro.
10491 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
10492 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
10493 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
10494 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
10495 (__mutex_init): Initialize with lll.
10496 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
10497 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
10498 needing lll.
10499 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10500 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
10501 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
10502 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
10503 (__setpgid): Use lll for synchronization.
10504 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
10505 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
10506 instead of <cthreads.h>.
10507 (_IO_lock_inexpensive): New macro
10508 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
10509 (__libc_lock_self0): New declaration.
10510 (__libc_lock_owner_self): New macro.
10511 (__libc_key_t): Remove type.
10512 (_LIBC_LOCK_INITIALIZER): New macro.
10513 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
10514 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
10515 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
10516 __libc_lock_define_initialized_recursive,
10517 __rtld_lock_define_initialized_recursive,
10518 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
10519 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
10520 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
10521 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
10522 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
10523 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
10524 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
10525 New macros.
10526 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
10527 * hurd/hurdlock.c: New file.
10528 * hurd/hurdlock.h: New file.
10529 * mach/lowlevellock.h: New file
10530
10531 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10532
10533 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
10534 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
10535 when opening a symlink with O_NOFOLLOW.
10536 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
10537 path when flags contains O_NOFOLLOW.
10538 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
10539 if flags contains O_DIRECTORY and the result is a directory.
10540 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
10541 oneself when the pointer given in D is nul (as set by ext2fs).
10542 * sysdeps/mach/hurd/mlockall.c: New file.
10543 * sysdeps/mach/hurd/munlockall.c: New file.
10544
10545 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
10546
10547 * hurd/hurdsig.c: Include <pthread.h>.
10548 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
10549 get the signal thread stack layout.
10550 * hurd/Makefile (headers): Remove threadvar.h.
10551 (inline-headers): Remove threadvar.h.
10552 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
10553 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
10554 __hurd_threadvar_max, __hurd_errno_location.
10555 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
10556 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
10557 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
10558 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
10559 unless TLS is not initialized yet, in which case we do not need a
10560 critical section yet anyway.
10561 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
10562 <machine-sp.h>.
10563 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
10564 declarations.
10565 (__hurd_threadvar_index): Remove enum.
10566 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
10567 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
10568 inlines.
10569 (__hurd_reply_port0): New variable declaration.
10570 (__hurd_local_reply_port): New macro.
10571 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
10572 (interrupted_reply_port_location): Add thread_t parameter. Use it
10573 with THREAD_TCB to access thread-local variables.
10574 (_hurdsig_abort_rpcs): Pass ss->thread to
10575 interrupted_reply_port_location.
10576 (_hurd_internal_post_signal): Likewise.
10577 (_hurdsig_init): Use presence of cthread_fork instead of
10578 __hurd_threadvar_stack_mask to start signal thread by hand.
10579 Remove signal thread threadvar initialization.
10580 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
10581 * hurd/sigunwind.c: Include <hurd/threadvar.h>
10582 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
10583 of threadvar.
10584 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
10585 __libc_lock_self0.
10586 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
10587 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
10588 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
10589 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
10590 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
10591 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
10592 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
10593 define variables.
10594 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
10595 <hurd/threadvar.h>.
10596 [IS_IN(rtld)] (rtld_errno): New variable.
10597 [IS_IN(rtld)] (__errno_location): New weak function.
10598 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
10599 * sysdeps/mach/hurd/errno.c: Remove file.
10600 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
10601 (__fork): Remove THREADVAR_SPACE macro and its use.
10602 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
10603 variable.
10604 (init): Do not initialize threadvar.
10605 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
10606 symbol.
10607 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
10608 __hurd_local_reply_port instead of threadvar.
10609 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
10610 _hurd_sigstate fields.
10611 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
10612 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
10613 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
10614 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
10615 instead of threadvar.
10616 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
10617 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
10618 (use_threadvar, global_reply_port): Remove variables.
10619 (__hurd_reply_port0): New variable.
10620 (__mig_get_reply_port): Use __hurd_local_reply_port and
10621 __hurd_reply_port0 instead of threadvar.
10622 (__mig_dealloc_reply_port): Likewise.
10623 (__mig_init): Do not initialize threadvar.
10624 * sysdeps/mach/hurd/profil.c: Fix comment.
10625 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
10626 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
10627 cthread_keycreate, cthread_getspecific, cthread_setspecific to
10628 __cthread_fork, __cthread_detach, __pthread_getattr_np,
10629 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
10630 __cthread_setspecific.
10631 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
10632 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
10633 __cthread_t instead of cthread_fork, cthread_detach,
10634 pthread_getattr_np, pthread_attr_getstack.
10635 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
10636 __cthread_keycreate.
10637 (cthread_getspecific): Rename to __cthread_getspecific.
10638 (cthread_setspecific): Rename to __cthread_setspecific.
10639 (__libc_getspecific): Use __cthread_getspecific instead of
10640 cthread_getspecific.
10641 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
10642 __cthread_keycreate instead of cthread_keycreate.
10643 (__libc_setspecific): Use __cthread_setspecific instead of
10644 cthread_setspecific.
10645 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
10646 Likewise.
10647 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
10648 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
10649 testing whether it is defined.
10650
10651 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10652
10653 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
10654 Define macro.
10655 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
10656 * sysdeps/mach/i386/thread_state.h
10657 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
10658 i386_THREAD_STATE.
10659 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
10660 i386_THREAD_STATE.
10661 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
10662
10663 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
10664 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
10665
10666 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
10667 macros.
10668 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
10669 descriptor instead of creating a new one.
10670 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
10671
10672 * mach/setup-thread.c: Include <ldsodefs.h>.
10673 (__mach_setup_thread): Call _dl_allocate_tls, pass
10674 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
10675 MACHINE_THREAD_STATE_FLAVOR, before getting
10676 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
10677 MACHINE_THREAD_STATE_FLAVOR with the result.
10678 * hurd/hurdfault.c (_hurdsig_fault_init): Call
10679 MACHINE_THREAD_STATE_FIX_NEW.
10680 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
10681 too. Add original thread parameter.
10682
10683 2018-03-16 Joseph Myers <joseph@codesourcery.com>
10684
10685 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
10686 Remove inline function.
10687
10688 * sysdeps/i386/fpu/libm-test-ulps: Update.
10689 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
10690
10691 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
10692
10693 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
10694 commit.
10695
10696 2018-03-15 Joseph Myers <joseph@codesourcery.com>
10697
10698 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
10699 (__sincos_code): Remove define and undefine.
10700 [__FAST_MATH__] (__sincos): Remove inline function.
10701 [__FAST_MATH__] (__sincosf): Remove inline function.
10702 [__FAST_MATH__] (__sincosl): Remove inline function.
10703 (__atan2l): Remove inline functions.
10704 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
10705 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
10706 function.
10707 (floor): Remove inline function.
10708 (ceil): Likewise.
10709 [__FAST_MATH__] (__ldexp_code): Remove macro.
10710 [__FAST_MATH__] (ldexp): Remove inline function.
10711 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
10712 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
10713 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
10714 [__USE_ISOC99] (__lrint_code): Remove macro.
10715 [__USE_ISOC99] (__llrint_code): Likewise.
10716 [__USE_ISOC99] (lrintf): Remove inline function.
10717 [__USE_ISOC99] (lrint): Likewise.
10718 [__USE_ISOC99] (lrintl): Likewise.
10719 [__USE_ISOC99] (llrint): Likewise.
10720 [__USE_ISOC99] (llrintf): Likewise.
10721 [__USE_ISOC99] (llrintl): Likewise.
10722
10723 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
10724
10725 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
10726 (__ieee754_sqrtf): Remove.
10727 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
10728 (__ieee754_sqrtf): Remove.
10729 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
10730 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
10731 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
10732 (__ieee754_sqrtf): Remove.
10733 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
10734 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
10735 (sqrtf): Remove.
10736 (sqrtl): Remove.
10737 (__ieee754_sqrt): Remove.
10738 (__ieee754_sqrtf): Remove.
10739 (__ieee754_sqrtl): Remove.
10740 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
10741 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
10742 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
10743 (__ieee754_sqrtf): Remove.
10744 (__ieee754_sqrtl): Remove.
10745
10746 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
10747
10748 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
10749 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
10750 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10751 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
10752 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
10753 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10754 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10755 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10756 Likewise.
10757 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
10758 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
10759 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
10760 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10761 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
10762 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
10763 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
10764 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
10765 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10766 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
10767 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
10768 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
10769 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
10770 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
10771 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
10772 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10773 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10774 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10775 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
10776 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
10777 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10778 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10779 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
10780 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
10781 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
10782 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
10783 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10784 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10785 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
10786 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
10787 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10788 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
10789 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10790 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
10791 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10792 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10793 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
10794 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
10795 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
10796 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
10797
10798 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
10799
10800 * include/math.h (sqrt): Declare with asm redirect.
10801 (sqrtf): Likewise.
10802 (sqrtl): Likewise.
10803 (sqrtf128): Likewise.
10804 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
10805 nonlib and libnldbl with -fmath-errno.
10806 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
10807 * math/w_sqrt_template.c: Likewise.
10808 * math/w_sqrtf_compat.c: Likewise.
10809 * math/w_sqrtl_compat.c: Likewise.
10810 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
10811 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
10812 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
10813 complex.h.
10814
10815 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
10816
10817 * benchtests/Makefile: Define _ISOMAC.
10818 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
10819 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
10820 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
10821 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
10822 * benchtests/bench-timing.h: Define attribute_hidden.
10823
10824 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10825
10826 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
10827 mov + lsr.
10828
10829 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
10830
10831 [BZ #22963]
10832 * localedata/locales/cs_CZ (mon): Rename to...
10833 (alt_mon): This.
10834 (mon): Import from CLDR (genitive case).
10835
10836 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
10837
10838 [BZ #22937]
10839 * localedata/locales/el_CY (abmon): Rename to...
10840 (ab_alt_mon): This.
10841 (abmon): Import from CLDR (abbreviated genitive case).
10842 * localedata/locales/el_GR (abmon): Rename to...
10843 (ab_alt_mon): This.
10844 (abmon): Import from CLDR (abbreviated genitive case).
10845
10846 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
10847
10848 [BZ #22932]
10849 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
10850
10851 2018-03-15 Robert Buj <robert.buj@gmail.com>
10852
10853 [BZ #22848]
10854 * localedata/locales/ca_ES (abmon): Rename to...
10855 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
10856 (mon): Rename to...
10857 (alt_mon): This.
10858 (abmon): Import from CLDR (genitive case, month names preceded by
10859 "de" or "d’").
10860 (mon): Likewise.
10861 (abday): Synchronize with CLDR.
10862 (d_t_fmt): Likewise.
10863 (d_fmt): Likewise.
10864 (am_pm): Likewise.
10865
10866 (LC_TIME): Improve indentation.
10867 (LC_TELEPHONE): Likewise.
10868 (LC_NAME): Likewise.
10869 (LC_ADDRESS): Likewise.
10870
10871 2018-03-14 Joseph Myers <joseph@codesourcery.com>
10872
10873 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
10874 (lrintf): Remove definitions used only with old GCC.
10875 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
10876 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
10877 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
10878 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
10879 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
10880 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
10881 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
10882 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
10883 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
10884 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
10885 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
10886 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
10887 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
10888 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
10889 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
10890 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
10891 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
10892 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
10893 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
10894 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
10895 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
10896 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
10897 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
10898 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
10899 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
10900 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
10901 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
10902 [__FAST_MATH__] (__M_SQRT2): Remove macro.
10903
10904 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
10905
10906 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
10907 instruction to unbreak builds with binutils 2.26 and older.
10908
10909 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
10910
10911 * sysdeps/aarch64/strncmp.S (count): New macro.
10912 (strncmp): Store misaligned length in SRC1 in COUNT.
10913 (mutual_align): Adjust.
10914 (misaligned8): Load dword at a time when it is safe.
10915
10916 2018-03-12 Zack Weinberg <zackw@panix.com>
10917
10918 [BZ #1190]
10919 [BZ #19476]
10920 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
10921 if the _IO_EOF_SEEN bit is already set; update commentary.
10922 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
10923 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10924
10925 * support/support_openpty.c, support/tty.h: New files.
10926 * support/Makefile (libsupport-routines): Add support_openpty.
10927
10928 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
10929 New test cases.
10930 * libio/Makefile (tests): Add tst-fgetc-after-eof.
10931 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
10932
10933 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
10934
10935 * po/pt_BR.po: Update translations.
10936
10937 2018-03-12 David Michael <fedora.dm0@gmail.com>
10938
10939 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
10940 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
10941 get a port to the startup server.
10942
10943 2018-03-11 Zack Weinberg <zackw@panix.com>
10944
10945 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
10946 before nldbl-compat.h.
10947
10948 2018-03-10 Zack Weinberg <zackw@panix.com>
10949
10950 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
10951 math.h or math_private.h.
10952
10953 * sysdeps/alpha/fpu/s_isnan.c
10954 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
10955 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
10956 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
10957 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
10958 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
10959 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
10960 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
10961 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
10962 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
10963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
10964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
10965 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
10966 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
10967 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
10968 Include math_private.h.
10969
10970 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
10971 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
10972 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
10973 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
10974 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
10975 * sysdeps/powerpc/power7/fpu/s_logb.c:
10976 Include math.h and math_private.h.
10977
10978 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
10979 uses of $at in .set noat / .set at.
10980
10981 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
10982
10983 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
10984 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
10985 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
10986 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
10987 Likewise.
10988
10989 2018-03-09 Florian Weimer <fweimer@redhat.com>
10990
10991 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
10992 in comment.
10993
10994 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
10995
10996 [BZ #22919]
10997 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
10998 Add nop before __startcontext, add explaining comments.
10999
11000 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11001
11002 [BZ #22926]
11003 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
11004 empty for __SPE__.
11005 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
11006 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
11007 Do not build hardware transactional code for __SPE__.
11008 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11009 (__lll_trylock_elision): Likewise.
11010 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11011 (__lll_unlock_elision): Likewise.
11012
11013 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
11014 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
11015 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
11016 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
11017 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
11018 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
11019 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
11020 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
11021 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
11022 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
11023 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
11024 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
11025 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
11026 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
11027 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
11028 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
11029 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
11030 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
11031 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
11032 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
11033 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
11034 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11035 (__ASSUME_CLONE_BACKWARDS): Define.
11036 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
11037 __clone2 if __NR_clone2 is defined.
11038 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11039 (__ASSUME_CLONE_BACKWARDS): Likewise.
11040 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11041 (__ASSUME_CLONE_BACKWARDS): Likewise.
11042 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11043 (__ASSUME_CLONE2): Likewise.
11044 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11045 (__ASSUME_CLONE_BACKWARDS3): Likewise.
11046 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
11047 variants and the define architecture can use.
11048 (__ASSUME_CLONE_DEFAULT): Define as default.
11049 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11050 (__ASSUME_CLONE_BACKWARDS): Likewise.
11051 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11052 (__ASSUME_CLONE_BACKWARDS): Likewise.
11053 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11054 (__ASSUME_CLONE_BACKWARDS2): Likewise.
11055
11056 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
11057
11058 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
11059
11060 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
11061 time.
11062
11063 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
11064 (do_test_limit): Likewise.
11065
11066 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
11067 for every implementation.
11068 (do_test): Likewise.
11069
11070 * benchtests/bench-strncmp.c: Convert output to json.
11071
11072 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11073
11074 * io/futimens.c: Add missing start-of-file descriptive comment.
11075 * io/utime.c: Likewise.
11076 * misc/futimesat.c: Likewise.
11077 * misc/utimes.c: Likewise.
11078 * sysdeps/mach/hurd/futimesat.c: Likewise.
11079 * sysdeps/mach/hurd/utimes.c: Likewise.
11080 * sysdeps/posix/utime.c: Likewise.
11081 * sysdeps/posix/utimes.c: Likewise.
11082 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
11083 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
11084 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
11085 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
11086
11087 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
11088
11089 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
11090 hurd_futimes.
11091 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
11092 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
11093 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
11094 (__futimens): Move implementation to...
11095 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
11096 utime_tvalue_from_tspec): ... new helper functions.
11097 (hurd_futimens): New function.
11098 * sysdeps/mach/hurd/futimesat.c: New file.
11099 * sysdeps/mach/hurd/utimensat.c: New file.
11100
11101 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
11102
11103 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
11104 UTIME_OMIT): New macros.
11105 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
11106 before reverting to converting time spec to time value and calling
11107 __file_utimes.
11108 * sysdeps/mach/hurd/utime-helper.c: New file.
11109 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
11110 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
11111 reverting to utime_tvalue_from_tval and __file_utimes.
11112 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
11113 (__lutimes): Just call hurd_futimens after lookup.
11114 * sysdeps/mach/hurd/utimes.c: Likewise.
11115
11116 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
11117
11118 * bits/sigaction.h: Add include guard.
11119 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
11120 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
11121 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
11122 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
11123 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
11124 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
11125 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
11126 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
11127 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
11128
11129 2018-03-05 Joseph Myers <joseph@codesourcery.com>
11130
11131 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
11132 -Wmaybe-uninitialized for -Os.
11133 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
11134 this disabling.
11135
11136 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11137
11138 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
11139 __INO_T_MATCHES_INO64_T is defined.
11140 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
11141 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
11142 of definition.
11143 * dirent/alphasort64.c: Likewise.
11144 * dirent/scandir.c: Likewise.
11145 * dirent/scandir64-tail.c: Likewise.
11146 * dirent/scandir64.c: Likewise.
11147 * dirent/scandirat.c: Likewise.
11148 * dirent/scandirat64.c: Likewise.
11149 * dirent/versionsort.c: Likewise.
11150 * dirent/versionsort64.c: Likewise.
11151 * include/dirent.h: Likewise.
11152
11153 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
11154 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
11155 for socketpair endpoint.
11156 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
11157 WRITE_BUFFER_SIZE as buffer size for sending socket.
11158 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
11159 issue on system where send is implemented with sendto syscall.
11160 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
11161 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
11162 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
11163 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
11164
11165 [BZ #21269]
11166 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
11167 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
11168 sa_restorer for vDSO case.
11169 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
11170
11171 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
11172
11173 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
11174 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
11175 * hurd/hurd/ioctl.h: Include <mach/port.h>
11176 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
11177 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
11178 <mach/mach_types.h> and <mach/message.h>.
11179 (headers): Move mach/param.h to bits/mach/param.h.
11180 * sysdeps/mach/i386/mach/param.h: Move file to ...
11181 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
11182 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
11183 of <mach/param.h>.
11184 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
11185 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
11186 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
11187 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
11188 trivial, for C++ conformity.
11189 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
11190 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
11191 Process mig output through $(migheadersed).
11192 * hurd/Makefile (migheadersed): Define variable.
11193 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
11194 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
11195 headers.
11196 * hurd/hurd.h: Include <bits/types/sigset_t.h>
11197 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
11198 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
11199 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
11200 <bits/types/sigset_t.h>.
11201 [!defined __USE_GNU]: Do not #error out.
11202 (struct hurd_sigstate): Use _NSIG instead of NSIG.
11203 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
11204 Include <stddef.h> and <bits/types/sigset_t.h>
11205 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
11206 instead of sighandler_t.
11207 * stdlib/errno.h (error_t): Move definition to...
11208 * bits/types/error_t.h: ... new header.
11209 * stdlib/Makefile (headers): Add bits/types/error_t.h.
11210 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
11211 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
11212 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
11213 * hurd/hurd.h: Include <bits/types/error_t.h>
11214 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
11215 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
11216 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
11217 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
11218 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
11219 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
11220 * sysdeps/mach/hurd/futimens.c: New file.
11221
11222 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
11223
11224 [BZ #22918]
11225 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
11226 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
11227 * nscd/gai.c (__nss_hosts_database): Readd definition.
11228 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
11229 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
11230 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
11231
11232 2018-03-02 Joseph Myers <joseph@codesourcery.com>
11233
11234 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
11235 (ifunc_one): Likewise.
11236
11237 2018-03-01 DJ Delorie <dj@delorie.com>
11238
11239 [BZ #22342]
11240 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
11241 key value.
11242
11243 2018-03-01 Maciej W. Rozycki <macro@mips.com>
11244
11245 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
11246 `match_pid' parameter.
11247 (td_ta_thr_iter): Update accordingly.
11248
11249 2018-03-01 Florian Weimer <fweimer@redhat.com>
11250
11251 * nptl/Makefile (install-lib-ldscripts): Remove.
11252 (install): Remove rule.
11253 ($(inst_libdir)/libpthread.so): Likewise.
11254
11255 2018-03-01 Mike FABIAN <mfabian@redhat.com>
11256
11257 [BZ #22896]
11258 * localedata/locales/an_ES: update month and day names,
11259 improve d_fmt, improve postal_fmt, add country_post,
11260 add country_isbn
11261
11262 2018-03-01 Mike FABIAN <mfabian@redhat.com>
11263
11264 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
11265 Ukrainian instead of Bulgarian.
11266
11267 2018-03-01 Florian Weimer <fweimer@redhat.com>
11268
11269 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
11270 reference.
11271
11272 2018-03-01 Florian Weimer <fweimer@redhat.com>
11273
11274 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
11275 * nptl/Makefile (routines): Add pthread_atfork.
11276 (static-only-routines): Set to pthread_atfork.
11277 (libpthread-routines): Remove pthread_atfork.
11278 (libpthread-static-only-routines): Remove.
11279 (install): Update comment.
11280 (libpthread.so): Do not install libpthread_nonshared.a.
11281 (tests): Do not link with libpthread_nonshared.a.
11282 (generated): Remove libpthread_nonshared.a.
11283 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
11284 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
11285 with libpthread_nonshared.a.
11286
11287 2018-02-28 Joseph Myers <joseph@codesourcery.com>
11288
11289 [BZ #22902]
11290 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
11291 (libc_feholdexcept_setroundf128): New macro.
11292 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
11293
11294 [BZ #15105]
11295 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
11296 libc_hidden_def.
11297 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
11298 * include/inttypes.h: New file.
11299
11300 2018-02-27 Joseph Myers <joseph@codesourcery.com>
11301
11302 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
11303 -Os in two more places.
11304
11305 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11306
11307 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
11308 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
11309 be sorted correctly at the moment because of a bug.
11310
11311 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11312
11313 [BZ #22550] - es_ES locale (and other es_* locales): collation should
11314 treat ñ as a primary different character, sync the collation
11315 for Spanish with CLDR.
11316 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
11317 * localedata/Makefile: Add new test files.
11318 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
11319 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
11320 collation order.
11321 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
11322 * localedata/am_ET.UTF-8.in: New test file.
11323 * localedata/az_AZ.UTF-8.in: Likewise.
11324 * localedata/be_BY.UTF-8.in: Likewise.
11325 * localedata/ber_DZ.UTF-8.in: Likewise.
11326 * localedata/ber_MA.UTF-8.in: Likewise.
11327 * localedata/bg_BG.UTF-8.in: Likewise.
11328 * localedata/br_FR.UTF-8.in: Likewise.
11329 * localedata/cmn_TW.UTF-8.in: Likewise.
11330 * localedata/crh_UA.UTF-8.in: Likewise.
11331 * localedata/csb_PL.UTF-8.in: Likewise.
11332 * localedata/cv_RU.UTF-8.in: Likewise.
11333 * localedata/cy_GB.UTF-8.in: Likewise.
11334 * localedata/dz_BT.UTF-8.in: Likewise.
11335 * localedata/eo.UTF-8.in: Likewise.
11336 * localedata/es_ES.UTF-8.in: Likewise.
11337 * localedata/fa_IR.UTF-8.in: Likewise.
11338 * localedata/fi_FI.UTF-8.in: Likewise.
11339 * localedata/fil_PH.UTF-8.in: Likewise.
11340 * localedata/fur_IT.UTF-8.in: Likewise.
11341 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
11342 * localedata/ha_NG.UTF-8.in: Likewise.
11343 * localedata/ig_NG.UTF-8.in: Likewise.
11344 * localedata/ik_CA.UTF-8.in: Likewise.
11345 * localedata/kk_KZ.UTF-8.in: Likewise.
11346 * localedata/ku_TR.UTF-8.in: Likewise.
11347 * localedata/ky_KG.UTF-8.in: Likewise.
11348 * localedata/ln_CD.UTF-8.in: Likewise.
11349 * localedata/mi_NZ.UTF-8.in: Likewise.
11350 * localedata/ml_IN.UTF-8.in: Likewise.
11351 * localedata/mn_MN.UTF-8.in: Likewise.
11352 * localedata/mr_IN.UTF-8.in: Likewise.
11353 * localedata/mt_MT.UTF-8.in: Likewise.
11354 * localedata/nb_NO.UTF-8.in: Likewise.
11355 * localedata/om_KE.UTF-8.in: Likewise.
11356 * localedata/os_RU.UTF-8.in: Likewise.
11357 * localedata/ps_AF.UTF-8.in: Likewise.
11358 * localedata/ro_RO.UTF-8.in: Likewise.
11359 * localedata/ru_RU.UTF-8.in: Likewise.
11360 * localedata/sc_IT.UTF-8.in: Likewise.
11361 * localedata/se_NO.UTF-8.in: Likewise.
11362 * localedata/sq_AL.UTF-8.in: Likewise.
11363 * localedata/sv_SE.UTF-8.in: Likewise.
11364 * localedata/szl_PL.UTF-8.in: Likewise.
11365 * localedata/tg_TJ.UTF-8.in: Likewise.
11366 * localedata/tk_TM.UTF-8.in: Likewise.
11367 * localedata/tt_RU.UTF-8.in: Likewise.
11368 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
11369 * localedata/ug_CN.UTF-8.in: Likewise.
11370 * localedata/uz_UZ.UTF-8.in: Likewise.
11371 * localedata/vi_VN.UTF-8.in: Likewise.
11372 * localedata/yi_US.UTF-8.in: Likewise.
11373 * localedata/yo_NG.UTF-8.in: Likewise.
11374 * localedata/zh_CN.UTF-8.in: Likewise.
11375 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
11376 file and fix bugs in the collation.
11377 * localedata/locales/az_AZ: Likewise.
11378 * localedata/locales/be_BY: Likewise.
11379 * localedata/locales/ber_DZ: Likewise.
11380 * localedata/locales/ber_MA: Likewise.
11381 * localedata/locales/bg_BG: Likewise.
11382 * localedata/locales/br_FR: Likewise.
11383 * localedata/locales/br_FR@euro: Likewise.
11384 * localedata/locales/ca_ES: Likewise.
11385 * localedata/locales/cns11643_stroke: Likewise.
11386 * localedata/locales/crh_UA: Likewise.
11387 * localedata/locales/cs_CZ: Likewise.
11388 * localedata/locales/csb_PL: Likewise.
11389 * localedata/locales/cv_RU: Likewise.
11390 * localedata/locales/cy_GB: Likewise.
11391 * localedata/locales/da_DK: Likewise.
11392 * localedata/locales/dz_BT: Likewise.
11393 * localedata/locales/en_CA: Likewise.
11394 * localedata/locales/eo: Likewise.
11395 * localedata/locales/es_CU: Likewise.
11396 * localedata/locales/es_EC: Likewise.
11397 * localedata/locales/es_ES: Likewise.
11398 * localedata/locales/es_US: Likewise.
11399 * localedata/locales/et_EE: Likewise.
11400 * localedata/locales/fa_IR: Likewise.
11401 * localedata/locales/fi_FI: Likewise.
11402 * localedata/locales/fil_PH: Likewise.
11403 * localedata/locales/fur_IT: Likewise.
11404 * localedata/locales/gez_ER@abegede: Likewise.
11405 * localedata/locales/ha_NG: Likewise.
11406 * localedata/locales/hr_HR: Likewise.
11407 * localedata/locales/hsb_DE: Likewise.
11408 * localedata/locales/hu_HU: Likewise.
11409 * localedata/locales/ig_NG: Likewise.
11410 * localedata/locales/ik_CA: Likewise.
11411 * localedata/locales/is_IS: Likewise.
11412 * localedata/locales/iso14651_t1_pinyin: Likewise.
11413 * localedata/locales/kk_KZ: Likewise.
11414 * localedata/locales/ku_TR: Likewise.
11415 * localedata/locales/ky_KG: Likewise.
11416 * localedata/locales/ln_CD: Likewise.
11417 * localedata/locales/lt_LT: Likewise.
11418 * localedata/locales/lv_LV: Likewise.
11419 * localedata/locales/mi_NZ: Likewise.
11420 * localedata/locales/ml_IN: Likewise.
11421 * localedata/locales/mn_MN: Likewise.
11422 * localedata/locales/mr_IN: Likewise.
11423 * localedata/locales/mt_MT: Likewise.
11424 * localedata/locales/nb_NO: Likewise.
11425 * localedata/locales/om_KE: Likewise.
11426 * localedata/locales/os_RU: Likewise.
11427 * localedata/locales/pl_PL: Likewise.
11428 * localedata/locales/ps_AF: Likewise.
11429 * localedata/locales/ro_RO: Likewise.
11430 * localedata/locales/ru_RU: Likewise.
11431 * localedata/locales/ru_UA: Likewise.
11432 * localedata/locales/sc_IT: Likewise.
11433 * localedata/locales/se_NO: Likewise.
11434 * localedata/locales/si_LK: Likewise.
11435 * localedata/locales/sq_AL: Likewise.
11436 * localedata/locales/sv_FI: Likewise.
11437 * localedata/locales/sv_FI@euro: Likewise.
11438 * localedata/locales/sv_SE: Likewise.
11439 * localedata/locales/szl_PL: Likewise.
11440 * localedata/locales/tg_TJ: Likewise.
11441 * localedata/locales/ti_ER: Likewise.
11442 * localedata/locales/tk_TM: Likewise.
11443 * localedata/locales/tl_PH: Likewise.
11444 * localedata/locales/tr_TR: Likewise.
11445 * localedata/locales/tt_RU: Likewise.
11446 * localedata/locales/tt_RU@iqtelif: Likewise.
11447 * localedata/locales/ug_CN: Likewise.
11448 * localedata/locales/uk_UA: Likewise.
11449 * localedata/locales/uz_UZ: Likewise.
11450 * localedata/locales/uz_UZ@cyrillic: Likewise.
11451 * localedata/locales/vi_VN: Likewise.
11452 * localedata/locales/yi_US: Likewise.
11453 * localedata/locales/yo_NG: Likewise.
11454
11455 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11456
11457 * gen-locales.mk: Make test files which contain @ modifiers in their
11458 name work.
11459 * localedata/gen-locale.sh: Likewise.
11460
11461 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11462
11463 * posix/tst-fnmatch.input: Fix results for range expressions
11464 for non C locales.
11465 * posix/tst-regexloc.c: Do not use a range expression for
11466 de_DE.ISO-8859-1 locale.
11467
11468 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11469
11470 * posix/bug-regex5.c: Fix test case because with the new
11471 iso14651_t1_common file, the da_DK locale now has 6 collating elements
11472 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
11473 file.
11474
11475 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11476
11477 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
11478 downloaded from ISO, the collation order of @-. and space has changed.
11479 Therefore, this test file needed to be adapted.
11480 * localedata/fr_CA.UTF-8.in: Likewise.
11481 * localedata/fr_FR.UTF-8.in: Likewise.
11482 * localedata/uk_UA.UTF-8.in: Likewise.
11483
11484 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11485
11486 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
11487 order of ȥ in the new iso14651_t1_common file.
11488 * localedata/pl_PL.UTF-8.in: Likewise.
11489
11490 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11491
11492 * localedata/locales/iso14651_t1_common: Add sections for various
11493 scripts to the iso14651_t1_common file.
11494
11495 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11496
11497 * localedata/locales/iso14651_t1_common: Use the code point of a
11498 character in the fourth collation level instead of IGNORE for all
11499 entries which have IGNORE on all 4 levels.
11500
11501 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11502
11503 * localedata/locales/iso14651_t1_common: Add some convenient collation
11504 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
11505 rules similar to those in CLDR.
11506
11507 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11508
11509 * localedata/locales/iso14651_t1_common: The new version of this
11510 file downloaded from ISO contained several syntax errors which
11511 are fixed by this patch.
11512
11513 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11514
11515 * localedata/locales/iso14651_t1_common: replace all <U.....>
11516 with <U000.....> because glibc understands only 4 digit or 8 digit
11517
11518 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11519
11520 * localedata/locales/iso14651_t1_common: Necessary changes
11521 to make the file downloaded from ISO usable by glibc.
11522
11523 2018-02-27 Mike FABIAN <mfabian@redhat.com>
11524
11525 [BZ #14095]
11526 * localedata/locales/iso14651_t1_common: Update file to
11527 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
11528
11529 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11530
11531 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
11532 of <nptl/pthreadP.h>
11533 (thread_attr_compare): Move function to...
11534 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
11535 * sysdeps/nptl/timer_routines.h: ... new header.
11536 * sysdeps/mach/hurd/gai_misc.h: New file.
11537
11538 2018-02-26 Joseph Myers <joseph@codesourcery.com>
11539
11540 * string/strcoll_l.c: Include <libc-diag.h>.
11541 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
11542 declarations of seq1 and seq2.
11543
11544 [BZ #15105]
11545 * stdlib/atoi.c (atoi): Use libc_hidden_def.
11546 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
11547
11548 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
11549
11550 [BZ #22433]
11551 [BZ #22807]
11552 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
11553 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
11554 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
11555 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
11556 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
11557 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
11558
11559 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11560
11561 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
11562 macros used in __ptrace_request.
11563
11564 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
11565
11566 [BZ #22792]
11567 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
11568 to $(CC).
11569 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
11570 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
11571 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
11572 <tcb-offsets.h>.
11573
11574 2018-02-23 Joseph Myers <joseph@codesourcery.com>
11575
11576 [BZ #15105]
11577 * ctype/ctype.c (tolower): Use libc_hidden_def.
11578 (toupper): Likewise.
11579 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
11580 [!_ISOMAC] (toupper): Likewise.
11581
11582 2018-02-23 Mike FABIAN <mfabian@redhat.com>
11583
11584 * localedata/Makefile: Remove --quiet argument when
11585 installing locales
11586
11587 2018-02-23 Mike FABIAN <mfabian@redhat.com>
11588
11589 [BZ #17438]
11590 * localedata/locales/pt_BR (LC_TIME): use / instead of -
11591 in d_fmt.
11592 * localedata/locales/pt_PT (LC_TIME): likewise
11593
11594 2018-02-23 Mike FABIAN <mfabian@redhat.com>
11595
11596 [BZ #22646]
11597 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
11598 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
11599 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
11600
11601 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11602
11603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11604
11605 * nptl/Makefile (routines): Remove unregister-atfork.
11606 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
11607 (fork_handler_alloc): Remove function.
11608 (fork_handlers, fork_handler_init): New variables.
11609 (__fork_lock): Rename to atfork_lock.
11610 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
11611 to use a dynamic array to add/remove atfork handlers.
11612 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11613 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
11614 Remove declaration.
11615 (fork_handler): Remove next, refcntr, and need_signal member.
11616 (__run_fork_handler_type): New enum.
11617 (__run_fork_handlers): New prototype.
11618 * nptl/register-atfork.c: Remove file.
11619 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
11620
11621 * sysdeps/nptl/nptl-signals.h: Move to ...
11622 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
11623 comments.
11624 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
11625 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
11626 unnecessary check for SIGTIMER.
11627 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
11628 remove unnecessary removal of SIGTIMER.
11629 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
11630 include-signals.h rename.
11631 * nptl/pthreadP.h: Likewise.
11632 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
11633 __is_internal_signal instead of __nptl_is_internal_signal.
11634
11635 2018-02-22 Andrew Waterman <andrew@sifive.com>
11636
11637 [BZ # 22884]
11638 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
11639 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
11640 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
11641 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
11642
11643 2018-02-22 DJ Delorie <dj@delorie.com>
11644
11645 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
11646
11647 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
11648
11649 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
11650 do_misaligned, not misaligned8.
11651
11652 2018-02-22 Steve Ellcey <sellcey@cavium.com>
11653
11654 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
11655 Add memcpy_thunderx2.
11656 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
11657 Increment to 4.
11658 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
11659 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
11660 and IS_THUNDERX2PA checks.
11661 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
11662 Use macro to set name appropriately.
11663 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
11664 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
11665 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
11666 New macro.
11667 (IS_THUNDERX2): New macro.
11668
11669 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
11670
11671 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11672
11673 2018-02-21 Zack Weinberg <zackw@panix.com>
11674
11675 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
11676 Define here, unconditionally.
11677 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
11678 * libio/libioP.h: Remove #if 0 blocks.
11679 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
11680 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
11681 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
11682
11683 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
11684 Assume weak_alias is always defined.
11685
11686 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
11687 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
11688 Remove #if 0 and #ifdef TODO blocks.
11689 Assume text_set_element is always defined.
11690
11691 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
11692 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
11693 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
11694
11695 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
11696 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
11697 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
11698 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
11699 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
11700 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
11701 Reformat bit flags for _flags field to make occupancy clearer.
11702 Update commentary.
11703 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
11704 Keep definitions consistent with those in libio/libio.h.
11705
11706 * libio/libio.h (_IO_file_flags): Remove macro.
11707 All uses changed to _flags.
11708
11709 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
11710 (__HAVE_COLUMN, _IO_BE): Don't define.
11711 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
11712 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
11713 * libio/libioP.h (EOF): Don't define.
11714 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
11715 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
11716 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
11717 testing _IO_UNIFIED_JUMPTABLES.
11718
11719 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
11720 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
11721 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
11722 (_IO_size_t): Delete; all uses changed to size_t.
11723 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
11724 (_IO_off_t): Delete; all uses changed to off_t.
11725 (_IO_off64_t): Delete; all uses changed to off64_t.
11726 (_IO_pid_t): Delete; all uses changed to pid_t.
11727 (_IO_uid_t): Delete; all uses changed to uid_t.
11728 (_IO_wint_t): Delete; all uses changed to wint_t.
11729 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
11730 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
11731 (_IO_cookie_io_functions_t): Delete; all uses changed to
11732 cookie_io_functions_t.
11733 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
11734 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
11735 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
11736 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
11737
11738 * libio/iofopncook.c: Remove unnecessary forward declarations.
11739 * libio/iolibio.h: Correct outdated commentary.
11740 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
11741 * stdio-common/fxprintf.c (__fxprintf_nocancel):
11742 Remove unnecessary casts.
11743 * stdio-common/getline.c: Use _IO_getdelim directly.
11744 Don't redefine ssize_t.
11745 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
11746 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
11747 Remove outdated comments.
11748 * stdio-common/vfscanf.c: Don't redefine va_list.
11749
11750 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
11751 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
11752 Remove preprocessor conditionals on _LIBC and __USE_GNU,
11753 which are always true, and __cplusplus, which is always false.
11754
11755 2018-02-21 Joseph Myers <joseph@codesourcery.com>
11756
11757 [BZ #15105]
11758 [BZ #19463]
11759 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
11760 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
11761 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
11762 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
11763 libc_hidden_proto.
11764 [!_ISOMAC] (putc_unlocked): Likewise.
11765 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
11766 define inline if [__USE_EXTERN_INLINES].
11767 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
11768 putc_unlocked.
11769
11770 [BZ #15105]
11771 [BZ #19463]
11772 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
11773 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
11774 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
11775 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
11776 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
11777 getc_unlocked.
11778 * time/tzfile.c (__tzfile_read): Likewise.
11779
11780 2018-02-21 Mike FABIAN <mfabian@redhat.com>
11781
11782 [BZ #22517]
11783 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
11784
11785 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
11786
11787 * io/fcntl.h: Fix a typo in a comment.
11788
11789 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
11790
11791 [BZ #22862]
11792 * include/features.h: Add _ISOC11_SOURCE to test for whether to
11793 define _DEFAULT_SOURCE.
11794 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
11795
11796 2018-02-21 Florian Weimer <fweimer@redhat.com>
11797
11798 [BZ #20890]
11799 * elf/cache.c (save_cache): Call fsync on temporary file before
11800 renaming it.
11801 (save_aux_cache): Call fdatasync on temporary file before renaming
11802 it.
11803
11804 2018-02-21 Florian Weimer <fweimer@redhat.com>
11805
11806 [BZ #22787]
11807 * include/caller.h: Remove file.
11808 * elf/dl-caller.c: Likewise.
11809 * elf/Makefile (dl-routines): Remove dl-caller.
11810 (shared-only-routines): Do not add dl-caller.
11811 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
11812 __check_caller.
11813 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
11814 member.
11815 (dl_open_worker): Do not call __check_caller.
11816 (_dl_open): Do not set caller_dl_open member.
11817 * elf/rtld.c (_rtld_global_ro): Do not initialize
11818 _dl_check_caller member.
11819 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
11820 _dl_check_caller member.
11821 (_dl_check_caller): Remove declaration.
11822 * sysdeps/unix/sysv/linux/dl-execstack.c
11823 (_dl_make_stack_executable): Do not call __check_caller.
11824
11825 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
11826
11827 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
11828 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
11829
11830 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
11831
11832 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
11833 description.
11834
11835 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
11836
11837 [BZ #16335]
11838 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
11839 of 199606L, 200112L, and 200809L.
11840 (_XOPEN_SOURCE): Document special values of 600 and 700.
11841 (_ISOC11_SOURCE): Document macro.
11842 (_ATFILE_SOURCE): Likewise.
11843 (_FORTIFY_SOURCE): Likewise.
11844
11845 2018-02-19 Joseph Myers <joseph@codesourcery.com>
11846
11847 [BZ #15105]
11848 [BZ #19463]
11849 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
11850 and define as weak alias of __ferror_unlocked. Use
11851 libc_hidden_weak.
11852 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
11853 libc_hidden_proto.
11854 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
11855 function if [__USE_EXTERN_INLINES].
11856 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
11857 ferror_unlocked.
11858
11859 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
11860
11861 [BZ #6889]
11862 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
11863
11864 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
11865
11866 [BZ #22818]
11867 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
11868 the GLIBC_2.1 version.
11869
11870 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
11871
11872 [BZ #21508]
11873 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
11874 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
11875 intl/tst-gettext-de.po from po/de.po by removing the
11876 POT-Creation-Date line.
11877 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
11878 ../po/de.po.
11879 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
11880 ../po/de.po.
11881
11882 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
11883
11884 * mach/Makefile (headers): Add mach/param.h.
11885 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
11886 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
11887 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
11888 (__ptsname_r): Move implementation to...
11889 (__ptsname_internal): ... new function. Add filling the STP
11890 structure.
11891
11892 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
11893
11894 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
11895 idouble to 1 ULP.
11896
11897 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
11898
11899 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
11900 syntax.
11901
11902 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11903
11904 * nptl/Makefile (tst-mutex8-ENV): Delete.
11905 * nptl/tst-mutex8.c (check_type):
11906 Add runtime check if mutex will be elided.
11907
11908 2018-02-15 Joseph Myers <joseph@codesourcery.com>
11909
11910 [BZ #20980]
11911 [BZ #21234]
11912 * manual/install.texi (Configuring and compiling): Describe
11913 passing CC and CFLAGS on configure command line, not as
11914 environment variables. Use @code markup on those variables.
11915 Specify what options go in CC and what go in CFLAGS. Note the
11916 requirement to compile with optimization.
11917 * INSTALL: Regenerated.
11918
11919 [BZ #18124]
11920 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
11921 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
11922 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
11923 __sigprocmask instead of sigprocmask.
11924 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
11925 Likewise.
11926 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
11927 __sigsetjmp and sigprocmask.
11928
11929 [BZ #15105]
11930 * include/argz.h (argz_next): Use libc_hidden_proto.
11931 (__argz_next): Likewise.
11932 * string-argz-next.c (__argz_next): Use libc_hidden_def.
11933 (argz_next): Use libc_hidden_weak.
11934
11935 [BZ #15105]
11936 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
11937 libc_hidden_proto.
11938 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
11939 libc_hidden_def.
11940
11941 [BZ #15105]
11942 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
11943 libc_hidden_proto.
11944 * libio/iofputs.c (fputs): Use libc_hidden_weak.
11945
11946 [BZ #15105]
11947 [BZ #19463]
11948 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
11949 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
11950 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
11951 (__feof_unlocked): New declaration, and inline function if
11952 [__USE_EXTERN_INLINES].
11953 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
11954 instead of feof_unlocked.
11955 * intl/localealias.c [_LIBC] (FEOF): Likewise.
11956 * nss/nsswitch.c (nss_parse_file): Likewise.
11957 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
11958 Likewise.
11959 * time/getdate.c (__getdate_r): Likewise.
11960 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
11961 Define as macro to call __feof_unlocked.
11962
11963 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
11964
11965 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
11966
11967 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
11968
11969 * math/Makefile: Remove mpexp.c and mplog.c
11970 * sysdeps/i386/fpu/mpexp.c: Delete file.
11971 * sysdeps/i386/fpu/mplog.c: Likewise.
11972 * sysdeps/ia64/fpu/mpexp.c: Likewise.
11973 * sysdeps/ia64/fpu/mplog.c: Likewise.
11974 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
11975 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
11976 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
11977 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11978 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
11979 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
11980 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
11981 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
11982 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
11983 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11984 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
11985 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
11986 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11987 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
11988 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
11989 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11990
11991 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
11992
11993 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11994
11995 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11996
11997 * sysdeps/sh/libm-test-ulps: Update.
11998
11999 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12000
12001 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
12002 idouble to 1 ULP.
12003
12004 2018-02-12 Zack Weinberg <zackw@panix.com>
12005
12006 [BZ #19239]
12007 * posix/sys/types.h: Don't include sys/sysmacros.h.
12008 * misc/sys/sysmacros.h: Remove the conditional deprecation
12009 warnings for the macros defined by this header.
12010
12011 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12012
12013 * manual/probes.texi: Remove slowexp probes.
12014 * math/Makefile: Remove slowexp.
12015 * sysdeps/generic/math_private.h (__slowexp): Remove.
12016 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
12017 document error bounds.
12018 * sysdeps/i386/fpu/slowexp.c: Remove.
12019 * sysdeps/ia64/fpu/slowexp.c: Remove.
12020 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
12021 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
12022 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
12023 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
12024 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
12025 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
12026 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
12027 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
12028 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
12029 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
12030 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
12031
12032 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
12033
12034 [BZ #13932]
12035 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
12036 * benchtests/pow-inputs: Update comment for slow path cases.
12037 * manual/probes.texi (slowpow_p10): Delete removed probe.
12038 (slowpow_p10): Likewise.
12039 * math/Makefile: Remove halfulp.c and slowpow.c.
12040 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
12041 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
12042 (__halfulp): Remove.
12043 (__slowpow): Remove.
12044 * sysdeps/i386/fpu/halfulp.c: Delete file.
12045 * sysdeps/i386/fpu/slowpow.c: Likewise.
12046 * sysdeps/ia64/fpu/halfulp.c: Likewise.
12047 * sysdeps/ia64/fpu/slowpow.c: Likewise.
12048 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
12049 improve comments and add error analysis.
12050 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
12051 (power1): Remove function:
12052 (log1): Remove error argument, add error analysis.
12053 (my_log2): Remove function.
12054 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
12055 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12056 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
12057 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
12058 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
12059 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
12060 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
12061 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
12062 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
12063 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
12064 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
12065 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12066 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
12067 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12068
12069 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
12070
12071 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
12072 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
12073
12074 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
12075
12076 [BZ #22433]
12077 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
12078 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
12079 and PTRACE_SETHBPREGS.
12080
12081 2018-02-10 Zack Weinberg <zackw@panix.com>
12082
12083 [BZ #22830]
12084 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
12085 correctly.
12086 * malloc/tst-malloc-stats-cancellation.c: New test case.
12087 * malloc/Makefile: Add new test case.
12088
12089 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
12090
12091 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
12092
12093 2018-02-10 Joseph Myers <joseph@codesourcery.com>
12094
12095 * math/Makefile (libm-narrow-fns): Add add.
12096 (libm-test-funcs-narrow): Likewise.
12097 * math/Versions (GLIBC_2.28): Add narrowing add functions.
12098 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
12099 * math/gen-auto-libm-tests.c (test_functions): Add add.
12100 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
12101 (NARROW_ADD_ROUND_TO_ODD): Likewise.
12102 (NARROW_ADD_TRIVIAL): Likewise.
12103 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
12104 macro.
12105 (__daddl): Likewise.
12106 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
12107 dadd.
12108 (CFLAGS-nldbl-dadd.c): New variable.
12109 (CFLAGS-nldbl-fadd.c): Likewise.
12110 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12111 __nldbl_daddl.
12112 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
12113 prototype.
12114 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
12115 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
12116 * math/auto-libm-test-in: Add tests of add.
12117 * math/auto-libm-test-out-narrow-add: New generated file.
12118 * math/libm-test-narrow-add.inc: New file.
12119 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12120 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
12121 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
12122 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
12123 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
12124 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
12125 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
12126 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
12127 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
12128 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
12129 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
12130 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
12131 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
12132 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
12133 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
12134 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
12135 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
12136 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
12137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12138 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12139 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12140 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12141 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12142 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12143 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12144 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12145 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12146 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12147 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12148 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12149 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12150 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12155 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12156 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12157 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12158 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12159 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12160 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12161 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
12162 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
12163 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12164 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12165
12166 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
12167 (f128-pairs): New variable.
12168 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
12169 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
12170 to CFLAGS.
12171 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
12172 Also make tests add $(f128-loader-link) to gnulib-tests.
12173
12174 2018-02-09 DJ Delorie <dj@redhat.com>
12175
12176 [BZ #22827]
12177 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
12178 64-bit ELF type for 64-bit ELF objects.
12179
12180 2018-02-09 Joseph Myers <joseph@codesourcery.com>
12181
12182 * math/libm-test-driver.c (snan_tests_arg): New variable.
12183 * math/libm-test-support.h (snan_tests_arg): New declaration.
12184 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
12185
12186 * math/Makefile (test-type-pairs): New variable.
12187 (test-type-pairs-f64xf128-yes): Likewise.
12188 (tests): Add test-narrow-macros.
12189 (libm-test-funcs-narrow): New variable.
12190 (libm-test-c-narrow): Likewise.
12191 (generated): Add $(libm-test-c-narrow).
12192 (libm-tests-base-narrow): New variable.
12193 (libm-tests-narrow): Likewise.
12194 (libm-tests): Add $(libm-tests-narrow).
12195 (libm-tests-for-type): Handle $(libm-tests-narrow).
12196 (libm-test-c-narrow-obj): New variable.
12197 ($(libm-test-c-narrow-obj)): New rule.
12198 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
12199 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
12200 $(o-iterator) to set dependencies and CFLAGS.
12201 * math/gen-auto-libm-tests.c: Document use for narrowing
12202 functions.
12203 (output_for_one_input_case): Take argument NARROW.
12204 (generate_output): Likewise. Update call to
12205 output_for_one_input_case.
12206 (main): Take --narrow option. Update call to generate_output.
12207 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
12208 (apply_lit): Update call to _apply_lit.
12209 (apply_arglit): New function.
12210 (parse_args): Handle "a" arguments.
12211 (parse_auto_input): Handle format names using ":".
12212 * math/README.libm-test: Document "a" parameter type.
12213 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
12214 (ARG_TYPE_TRUE_MIN): Likewise.
12215 (ARG_TYPE_MAX): Likwise.
12216 (ARG_MIN_EXP): Likewise.
12217 (ARG_MAX_EXP): Likewise.
12218 (ARG_MANT_DIG): Likewise.
12219 (TEST_COND_arg_ibm128): Likewise.
12220 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
12221 (TEST_COND_arg_fmt): New macro.
12222 (init_max_error): Update prototype.
12223 * math/libm-test-support.c (test_ibm128): New variable.
12224 (init_max_error): Take argument testing_ibm128 and set test_ibm128
12225 instead of using [TEST_COND_ibm128] conditional.
12226 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
12227 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
12228 [TEST_NARROW] (TEST_MSG): New definition.
12229 (arg_plus_zero): New macro.
12230 (arg_minus_zero): Likewise.
12231 (arg_plus_infty): Likewise.
12232 (arg_minus_infty): Likewise.
12233 (arg_qnan_value_pl): Likewise.
12234 (arg_qnan_value): Likewise.
12235 (arg_snan_value_pl): Likewise.
12236 (arg_snan_value): Likewise.
12237 (arg_max_value): Likewise.
12238 (arg_min_value): Likewise.
12239 (arg_min_subnorm_value): Likewise.
12240 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
12241 (RUN_TEST_LOOP_aa_f): New macro.
12242 (TEST_SUFF): New macro.
12243 (TEST_SUFF_STR): Likewise.
12244 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
12245 (TEST_COND_any_ibm128): New macro.
12246 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
12247 this_func. Update call to init_max_error.
12248 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
12249 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
12250 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
12251 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
12252 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
12253 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
12254 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
12255 * math/test-math-scalar.h (TEST_NARROW): Likewise.
12256 * math/test-math-vector.h (TEST_NARROW): Likewise.
12257 * math/test-arg-double.h: New file.
12258 * math/test-arg-float128.h: Likewise.
12259 * math/test-arg-float32x.h: Likewise.
12260 * math/test-arg-float64.h: Likewise.
12261 * math/test-arg-float64x.h: Likewise.
12262 * math/test-arg-ldouble.h: Likewise.
12263 * math/test-math-narrow.h: Likewise.
12264 * math/test-narrow-macros.c: Likewise.
12265 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
12266 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
12267 test-narrow-macros-ldbl-64.
12268 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
12269
12270 * math/bits/mathcalls-narrow.h: New file.
12271 * include/bits/mathcalls-narrow.h: Likewise.
12272 * math/math-narrow.h: Likewise.
12273 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
12274 (__MATHCALL_NARROW_ARGS_2): Likewise.
12275 (__MATHCALL_NARROW_ARGS_3): Likewise.
12276 (__MATHCALL_NARROW_NORMAL): Likewise.
12277 (__MATHCALL_NARROW_REDIR): Likewise.
12278 (__MATHCALL_NARROW): Likewise.
12279 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
12280 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
12281 defined.
12282 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
12283 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
12284 (libm-narrow-fns): New variable.
12285 (libm-narrow-types-basic): Likewise.
12286 (libm-narrow-types-ldouble-yes): Likewise.
12287 (libm-narrow-types-float128-yes): Likewise.
12288 (libm-narrow-types-float128-alias-yes): Likewise.
12289 (libm-narrow-types): Likewise.
12290 (libm-routines): Add narrowing functions.
12291 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
12292 (libc_feholdexcept_setroundf128): New macro.
12293 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
12294 * sysdeps/ieee754/float128/float128_private.h: Include
12295 <math/math-narrow.h>.
12296 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
12297 Undefine and redefine.
12298 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
12299 (libm_alias_float_ldouble): Undefine and redefine.
12300 (libm_alias_double_ldouble): Likewise.
12301
12302 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
12303
12304 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
12305
12306 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
12307 FPCR/FPSR.
12308
12309 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
12310
12311 * manual/creature.texi: Convert references to gcc.info to gcc.
12312 * manual/stdio.texi: Likewise.
12313 * manual/string.texi: Likewise.
12314
12315 2018-02-07 Joseph Myers <joseph@codesourcery.com>
12316
12317 [BZ #17979]
12318 * posix/bits/types.h (__int_least8_t): New typedef.
12319 (__uint_least8_t): Likewise.
12320 (__int_least16_t): Likewise.
12321 (__uint_least16_t): Likewise.
12322 (__int_least32_t): Likewise.
12323 (__uint_least32_t): Likewise.
12324 (__int_least64_t): Likewise.
12325 (__uint_least64_t): Likewise.
12326 * sysdeps/generic/stdint.h (int_least8_t): Define using
12327 __int_least8_t.
12328 (int_least16_t): Define using __int_least16_t.
12329 (int_least32_t): Define using __int_least32_t.
12330 (int_least64_t): Define using __int_least64_t.
12331 (uint_least8_t): Define using __uint_least8_t.
12332 (uint_least16_t): Define using __uint_least16_t.
12333 (uint_least32_t): Define using __uint_least32_t.
12334 (uint_least64_t): Define using __uint_least64_t.
12335 * wcsmbs/uchar.h: Include <bits/types.h>.
12336 (char16_t): Define using __uint_least16_t conditional only on
12337 [!__USE_ISOCXX11].
12338 (char32_t): Define using __uint_least32_t conditional only on
12339 [!__USE_ISOCXX11].
12340 * wcsmbs/test-char-types.c: New file.
12341 * wcsmbs/Makefile (tests): Add test-char-types.
12342
12343 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
12344 version to 4.0.1.
12345
12346 2018-02-07 Zack Weinberg <zackw@panix.com>
12347
12348 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
12349 Delete all contents except for definitions of _G_HAVE_MMAP and
12350 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
12351 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
12352 sysdeps/unix/sysv/linux/_G_config.h. Make same content
12353 change as above.
12354
12355 * libio/libio.h: Don't include bits/_G_config.h here.
12356 Include stddef.h with __need_wchar_t defined. Include
12357 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
12358 Define _IO_iconv_t here, directly.
12359 Don't define _IO_HAVE_ST_BLKSIZE.
12360 * libio/libioP.h: Include _G_config.h here. Move include of
12361 shlib-compat.h up with rest of includes. Simplify conditionals
12362 controlling definition of _IO_JUMPS_OFFSET.
12363
12364 * csu/init.c: Remove always-true #if around entire file.
12365 Don't include stdio.h. Set _IO_stdin_used to hardwired
12366 constant 0x20001, and update commentary.
12367 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
12368 Replace all uses of _G_va_list with __gnuc_va_list.
12369 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
12370 instead of #if _IO_HAVE_ST_BLKSIZE.
12371 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
12372 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
12373 not #ifdef.
12374
12375 * libio/bits/libio.h: Move back to libio/libio.h and adjust
12376 multiple-include guard to match.
12377 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
12378 into this file.
12379 Remove preprocessor conditionals that are always true and/or
12380 redundant to other preprocessor conditionals in the same nest.
12381 Include shlib-compat.h unconditionally.
12382 Error out if _LIBC is not defined, or if _ISOMAC is defined,
12383 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
12384 defined after including stdio.h.
12385 Use __BEGIN_DECLS/__END_DECLS.
12386
12387 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
12388 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
12389 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
12390
12391 2018-02-07 Zack Weinberg <zackw@panix.com>
12392
12393 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
12394 New single-type headers split from _G_config.h.
12395 * libio/bits/types/cookie_io_functions_t.h
12396 * libio/bits/types/struct_FILE.h
12397 New single-type headers split from libio.h.
12398
12399 * libio/Makefile: Install the above new headers. Don't install
12400 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
12401 bits/libio-ldbl.h.
12402 * libio/_G_config.h, libio/libio.h: Delete file.
12403
12404 * libio/bits/libio.h: Remove improper-inclusion guard.
12405 Include stdio.h and don't repeat anything that it does.
12406 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
12407 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
12408 __io_read_fn as cookie_read_function_t,
12409 __io_write_fn as cookie_write_function_t,
12410 __io_seek_fn as cookie_seek_function_t,
12411 __io_close_fn as cookie_close_function_t,
12412 and _IO_cookie_io_functions_t as cookie_io_functions_t.
12413 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
12414 here, in the "compatibility defines" section. Remove an #if 0
12415 block. Use the "body" macros from bits/types/struct_FILE.h to
12416 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
12417 and _IO_ferror_unlocked.
12418 Move prototypes of __uflow and __overflow...
12419
12420 * libio/stdio.h: ...here. Don't include bits/libio.h.
12421 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
12422 directly from stdarg.h. Include bits/types/__fpos_t.h,
12423 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
12424 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
12425 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
12426 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
12427 cookie_io_functions_t, not _IO_cookie_io_functions_t;
12428 __ssize_t, not _IO_ssize_t. Unconditionally define
12429 BUFSIZ as 8192 and EOF as (-1).
12430
12431 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
12432 macros from bits/types/struct_FILE.h instead of _IO_* macros
12433 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
12434 instead of _IO_ssize_t.
12435 * libio/bits/stdio2.h: Similarly.
12436
12437 * libio/iolibio.h: Add multiple-include guard.
12438 Include bits/libio.h after stdio.h.
12439 * libio/libioP.h: Add multiple-include guard.
12440 Include stdio.h and bits/libio.h before iolibio.h.
12441
12442 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
12443 * include/bits/types/cookie_io_functions_t.h
12444 * include/bits/types/struct_FILE.h: New wrappers.
12445
12446 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
12447 Get definitions of _G_fpos_t and _G_fpos64_t from
12448 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
12449 respectively. Remove improper-inclusion guards.
12450
12451 * conform/data/stdio.h-data: Update expectations of va_list.
12452 * scripts/check-installed-headers.sh: Remove special case for
12453 libio.h and _G_config.h.
12454
12455 2018-02-07 Joseph Myers <joseph@codesourcery.com>
12456
12457 [BZ #15105]
12458 [BZ #19463]
12459 * include/sys/sysmacros.h [!_ISOMAC]
12460 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
12461 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
12462 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
12463 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
12464 libc_hidden_proto.
12465 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
12466 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
12467 Likewise.
12468 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
12469 Undefine and redefine to add use __gnu_dev_ prefix.
12470 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
12471 Likewise.
12472 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
12473 and define as hidden inline function.
12474 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
12475 Likewise.
12476 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
12477 Likewise.
12478 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
12479 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
12480 (gnu_dev_minor): Likewise.
12481 (gnu_dev_makedev): Likewise.
12482 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
12483 makedev.
12484 * posix/wordexp.c (exec_comm_child): Likewise.
12485 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
12486 instead of minor and __gnu_dev_major instead of major.
12487 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
12488 __gnu_dev_major instead of major.
12489 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
12490 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
12491 instead of gnu_dev_minor.
12492 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
12493 (SLAVE_P): Likewise.
12494 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
12495 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
12496 instead of major.
12497
12498 [BZ #21313]
12499 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
12500 in another place.
12501 * locale/weightwc.h (findidx): Likewise.
12502
12503 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
12504
12505 * manual/probes.texi (slowlog): Delete documentation of removed probe.
12506 (slowlog_inexact): Likewise
12507 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
12508 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
12509
12510 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
12511
12512 [BZ #22797]
12513 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
12514 missing second underscore to parameter name.
12515
12516 2018-02-06 Joseph Myers <joseph@codesourcery.com>
12517
12518 [BZ #14508]
12519 [BZ #15512]
12520 [BZ #17082]
12521 [BZ #20530]
12522 * bits/byteswap.h: Update file comment. Do not include
12523 <bits/byteswap-16.h>.
12524 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
12525 constant.
12526 (__bswap_16): Define as inline function.
12527 (__bswap_constant_32): Reformat definition.
12528 (__bswap_32): Always define as inline function, not macro, using
12529 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
12530 otherwise __bswap_constant_32.
12531 (__bswap_constant_64): Reformat definition. Do not use
12532 __extension__ here.
12533 (__bswap_64): Always define as inline function, not macro. Use
12534 __extension__ on function definition. Use __builtin_bswap64 if
12535 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
12536 * string/test-endian-file-scope.c: New file.
12537 * string/test-endian-sign-conversion.c: Likewise.
12538 * string/Makefile (headers): Remove bits/byteswap-16.h.
12539 (tests): Add test-endian-file-scope and
12540 test-endian-sign-conversion.
12541 (CFLAGS-test-endian-sign-conversion.c): New variable.
12542 * bits/byteswap-16.h: Remove file.
12543 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
12544 * sysdeps/ia64/bits/byteswap.h: Likewise.
12545 * sysdeps/m68k/bits/byteswap.h: Likewise.
12546 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12547 * sysdeps/s390/bits/byteswap.h: Likewise.
12548 * sysdeps/tile/bits/byteswap.h: Likewise.
12549 * sysdeps/x86/bits/byteswap-16.h: Likewise.
12550 * sysdeps/x86/bits/byteswap.h: Likewise.
12551
12552 [BZ #17721]
12553 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
12554 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
12555 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
12556 199901L] (__restrict): Define to restrict.
12557
12558 [BZ #19667]
12559 * string/testcopy.c: Include <support/support.h>. Do not include
12560 <malloc.h>. Use <support/test-driver.c>.
12561 (main): Rename to do_test. Make static. Use xmalloc instead of
12562 malloc.
12563
12564 [BZ #13575]
12565 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
12566 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
12567 (SSIZE_MAX): Define to INT_MAX.
12568 * posix/test-ssize-max.c: New file.
12569 * posix/Makefile (tests): Add test-ssize-max.
12570
12571 [BZ #19668]
12572 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
12573 <support/support.h>. Do not include <malloc.h>.
12574 (query_auxv): Use xmalloc instead of malloc.
12575
12576 [BZ #14553]
12577 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
12578 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
12579 instead of loff_t.
12580
12581 2018-02-06 Florian Weimer <fweimer@redhat.com>
12582
12583 [BZ #18023]
12584 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12585 Use scratch_buffer instead of extend_alloca.
12586
12587 2018-02-06 Zack Weinberg <zackw@panix.com>
12588
12589 * libio/stdio.h: Don't define getc or putc as macros.
12590 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
12591 not _IO_getc and _IO_putc.
12592
12593 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
12594 * stdio-common/tstgetln.c: Don't redefine ssize_t.
12595
12596 2018-02-06 Joseph Myers <joseph@codesourcery.com>
12597
12598 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
12599 (TCP_FASTOPEN_NO_COOKIE): Likewise.
12600
12601 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
12602
12603 [BZ #14890]
12604 * elf/elf.h (NT_PRFPREG): New macro.
12605 (NT_S390_VXRS_LOW): Likewise.
12606 (NT_S390_VXRS_HIGH): Likewise.
12607 (NT_S390_GS_CB): Likewise.
12608 (NT_S390_GS_BC): Likewise.
12609 (NT_S390_RI_CB): Likewise.
12610
12611 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12612 (MAP_SYNC): New macro.
12613 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
12614 Likewise.
12615 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12616 (MAP_SYNC): Likewise.
12617 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12618 (MAP_SYNC): Likewise.
12619 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12620 (MAP_SYNC): Likewise.
12621 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12622 (MAP_SYNC): Likewise.
12623 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12624 (MAP_SYNC): Likewise.
12625 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12626 (MAP_SYNC): Likewise.
12627 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
12628 Likewise.
12629 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
12630 Likewise.
12631
12632 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
12633 (MAP_SHARED_VALIDATE): New macro.
12634 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12635 (MAP_SHARED_VALIDATE): Likewise.
12636
12637 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12638
12639 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
12640 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
12641 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
12642
12643 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12644
12645 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
12646 (DT_NUM): Updated to 35.
12647
12648 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12649
12650 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
12651 __builtin_expect with __glibc_likely and __glibc_unlikely.
12652 (elf_machine_rela): Likewise.
12653 (elf_machine_lazy_rel): Likewise.
12654
12655 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12656
12657 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
12658 __builtin_expect with __glibc_likely and __glibc_unlikely.
12659 (elf_machine_lazy_rel): Likewise.
12660
12661 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
12662
12663 [BZ #22638]
12664 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
12665 SHARED.
12666 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
12667
12668 2018-02-05 Andreas Schwab <schwab@suse.de>
12669
12670 [BZ #22761]
12671 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
12672 string.
12673
12674 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12675
12676 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
12677 not check against PTHREAD_STACK_MIN.
12678
12679 2018-02-02 Sean McKean <smckean83@gmail.com>
12680
12681 [BZ #22735]
12682 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
12683
12684 2018-02-02 Florian Weimer <fweimer@redhat.com>
12685
12686 [BZ #22753]
12687 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
12688 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
12689 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
12690 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
12691 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
12692 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
12693 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
12694 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
12695 * manual/llio.texi (Scatter-Gather): Mention offset -1.
12696 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
12697 * misc/tst-preadvwritev2.c (do_test): Call it.
12698 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
12699
12700 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
12701
12702 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
12703
12704 * benchtests/bench-memcmp.c: Print json instead of plain text.
12705
12706 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
12707 every test run.
12708
12709 2018-02-01 Joseph Myers <joseph@codesourcery.com>
12710
12711 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12712 version to 4.15.
12713 (s390_sthyi): New syscall.
12714
12715 * sysdeps/generic/ldbl-classify-compat.h: New file.
12716 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
12717 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
12718 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
12719 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
12720 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
12721 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
12722 * sysdeps/ieee754/dbl-64/s_finite.c: Include
12723 <ldbl-classify-compat.h>.
12724 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12725 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
12726 <ldbl-classify-compat.h>.
12727 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12728 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
12729 <ldbl-classify-compat.h>.
12730 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12731 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
12732 <ldbl-classify-compat.h>.
12733 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12734 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
12735 <ldbl-classify-compat.h>.
12736 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12737 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
12738 <ldbl-classify-compat.h>.
12739 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
12740 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
12741 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12742 * sysdeps/m68k/coldfire/math_private.h: Remove file.
12743 * sysdeps/microblaze/math_private.h: Likewise.
12744 * sysdeps/nios2/math_private.h: Likewise.
12745 * sysdeps/sh/math_private.h: Likewise.
12746
12747 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
12748 * sysdeps/m68k/coldfire/math_private.h: ... here.
12749 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
12750 * sysdeps/tile/math_private.h: Likewise.
12751 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
12752 Remove macro.
12753 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
12754 Likewise.
12755
12756 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
12757 Remove macro.
12758 (libc_fetestexcept): Likewise.
12759 (libc_feupdateenv_test): Likewise.
12760 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
12761 (libc_fetestexcept): Likewise.
12762 (libc_feupdateenv_test): Likewise.
12763 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
12764 (libc_fetestexcept): Likewise.
12765 (libc_feupdateenv_test): Likewise.
12766 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
12767 (libc_fetestexcept): Likewise.
12768 (libc_feupdateenv_test): Likewise.
12769
12770 * sysdeps/generic/math_private.h
12771 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
12772 New inline function.
12773 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
12774 Likewise.
12775
12776 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
12777 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
12778 * sysdeps/generic/math_private.h
12779 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
12780 inline function.
12781 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
12782 Likewise.
12783 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
12784 Likewise.
12785 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
12786 Likewise.
12787 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
12788 Likewise.
12789 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
12790 Likewise.
12791 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
12792 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
12793 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
12794 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
12795 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
12796 (__fegetenv): Likewise.
12797 (fesetenv): Likewise.
12798 (__fesetenv): Likewise.
12799 (feupdateenv): Likewise.
12800 (__feupdateenv): Likewise.
12801 (fegetround): Likewise.
12802 (__fegetround): Likewise.
12803 (fesetround): Likewise.
12804 (__fesetround): Likewise.
12805
12806 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
12807 (feraiseexcept): New macro.
12808 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
12809 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
12810 Remove macro.
12811 (__feraiseexcept): Likewise.
12812 (feclearexcept): Likewise.
12813 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
12814 (__feraiseexcept): Likewise.
12815 (feclearexcept): Likewise.
12816 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
12817 (__feraiseexcept): Likewise.
12818 (feclearexcept): Likewise.
12819 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
12820 (__feraiseexcept): Likewise.
12821 (feclearexcept): Likewise.
12822 (fetestexcept): Likewise.
12823
12824 * sysdeps/m68k/coldfire/math-tests.h: New file.
12825
12826 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
12827 * sysdeps/m68k/bits/fenv.h: ... here.
12828 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
12829 not define.
12830 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
12831 Likewise.
12832 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
12833 Likewise.
12834 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
12835 Likewise.
12836 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
12837 Likewise.
12838 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
12839 Define to 0.
12840 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
12841 (__FE_UNDEFINED): New enum constant.
12842 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
12843 Do not define.
12844 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
12845 Likewise.
12846 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
12847 Likewise.
12848 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
12849 to match generic bits/fenv.h.
12850 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
12851 Do not define.
12852
12853 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
12854 packed on bits.
12855 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
12856 * soft-fp/half.h (union _FP_UNION_H): Likewise.
12857 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
12858 * soft-fp/single.h (union _FP_UNION_S): Likewise.
12859
12860 2018-02-01 Carlos O'Donell <carlos@redhat.com>
12861 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
12862 Joseph Myers <joseph@codesourcery.com>
12863
12864 [BZ #21314]
12865 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
12866 (__log1p): Disable -Wmaybe-uninitialized for -Os around
12867 computation using c.
12868 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
12869 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
12870 computation using c.
12871
12872 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
12873
12874 * version.h (RELEASE): Set to "development".
12875 (VERSION): Set to "2.27.9000".
12876 * NEWS (2.28): New section.
12877
12878 * version.h (RELEASE): Set to "stable".
12879 (VERSION): Set to "2.27".
12880 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
12881
12882 * NEWS: Add the list of bugs fixed in 2.27.
12883
12884 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12885
12886 * stdlib/test-atexit-race-common.c (do_test): Check stack size
12887 against PTHREAD_STACK_MIN.
12888
12889 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
12890
12891 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
12892 New entries.
12893 (Rafal Luzynski, Andreas Schwab): Update.
12894
12895 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
12896
12897 [BZ #10871]
12898 * NEWS: List the languages which actually use the alternative
12899 months feature in this release. Also explain that "alt_mon" and
12900 "ab_alt_mon" are optional.
12901
12902 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
12903
12904 [BZ #22765]
12905 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
12906
12907 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
12908
12909 * manual/install.texi (Tools for Compilation): Update the newest
12910 versions of gcc, binutils, texinfo, gawk, bison, and sed.
12911 * INSTALL: Regenerated.
12912
12913 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12914
12915 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
12916 instead of __builtin_expect.
12917
12918 2018-01-30 Florian Weimer <fweimer@redhat.com>
12919
12920 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
12921 data.
12922 * nss/tst-nss-getpwent.c (do_test): Likewise.
12923
12924 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
12925
12926 [BZ #10871]
12927 * localedata/locales/hr_HR (mon): Rename to...
12928 (alt_mon): This.
12929 (mon): Import from CLDR (genitive case).
12930 (d_t_fmt): Update the comment.
12931
12932 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
12933
12934 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
12935 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
12936 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
12937
12938 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12939
12940 * mach/Versions: Fix version when __mach_host_self_ was added.
12941 * hurd/Versions: Fix version when _hurd_exec_paths was added.
12942 * sysdeps/mach/hurd/i386/ld.abilist: New file.
12943 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
12944 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
12945 * sysdeps/mach/hurd/i386/libc.abilist: New file.
12946 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
12947 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
12948 * sysdeps/mach/hurd/i386/libm.abilist: New file.
12949 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
12950 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
12951 * sysdeps/mach/hurd/i386/librt.abilist: New file.
12952 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
12953 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
12954 || to respect codestyle.
12955 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
12956 (do_test_bz20181): Rename accordingly.
12957 * malloc/malloc.c: Include <assert.h>.
12958 (assert): Do not define.
12959 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
12960 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
12961 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
12962 * sysdeps/mach/hurd/hp-timing.h: New file.
12963 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
12964
12965 2018-01-29 Darius Rad <darius@bluespec.com>
12966
12967 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
12968
12969 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
12970
12971 * sysdeps/init_array/crti.S (.section .init_array): Add
12972 PREINIT_FUNCTION when defined.
12973 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
12974 * config.h.in: Regenerate.
12975 * manual/platform.texi: Add RISC-V documenation for
12976 __riscv_flush_icache.
12977 * sysdeps/riscv/__longjmp.S: New file.
12978 * sysdeps/riscv/backtrace.c: Likewise.
12979 * sysdeps/riscv/bits/endian.h: Likewise.
12980 * sysdeps/riscv/bits/setjmp.h: Likewise.
12981 * sysdeps/riscv/bits/wordsize.h: Likewise.
12982 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
12983 * sysdeps/riscv/bsd-setjmp.c: Likewise.
12984 * sysdeps/riscv/dl-trampoline.S: Likewise.
12985 * sysdeps/riscv/gccframe.h: Likewise.
12986 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
12987 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
12988 * sysdeps/riscv/machine-gmon.h: Likewise.
12989 * sysdeps/riscv/memusage.h: Likewise.
12990 * sysdeps/riscv/setjmp.S: Likewise.
12991 * sysdeps/riscv/sys/asm.h: Likewise.
12992 * sysdeps/riscv/tls-macros.h: Likewise.
12993 * sysdeps/riscv/dl-tls.h: New file.
12994 * sysdeps/riscv/libc-tls.c: Likewise.
12995 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
12996 * sysdeps/riscv/nptl/tls.h: Likewise.
12997 * sysdeps/riscv/stackinfo.h: Likewise.
12998 * sysdeps/riscv/bits/fenv.h: New file.
12999 * sysdeps/riscv/e_sqrtl.c: Likewise.
13000 * sysdeps/riscv/fpu_control.h: Likewise.
13001 * sysdeps/riscv/math-tests.h: Likewise.
13002 * sysdeps/riscv/nofpu/Implies: Likewise.
13003 * sysdeps/riscv/sfp-machine.h: Likewise.
13004 * sysdeps/riscv/tininess.h: Likewise.
13005 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
13006 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13007 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
13008 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
13009 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
13010 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
13011 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13012 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
13013 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13014 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13015 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13016 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
13017 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
13018 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
13019 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
13020 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
13021 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
13022 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13023 * sysdeps/riscv/rvd/s_fma.c: Likewise.
13024 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13025 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13026 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13027 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13028 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13029 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13030 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
13031 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
13032 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
13033 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
13034 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13035 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13036 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13037 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
13038 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
13039 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13040 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13041 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13042 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
13043 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
13044 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13045 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
13046 * sysdeps/riscv/rvf/math_private.h: Likewise.
13047 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13048 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
13049 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13050 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13051 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
13052 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13053 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13054 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13055 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13056 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13057 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13058 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13059 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
13060 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13061 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13062 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13063 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
13064 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
13065 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
13066 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
13067 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
13068 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13069 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
13070 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
13071 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
13072 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
13073 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
13074 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
13075 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
13076 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
13077 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
13078 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
13079 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
13080 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
13081 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
13082 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
13083 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
13084 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
13085 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
13086 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
13087 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
13088 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
13089 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
13090 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
13091 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
13092 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
13093 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
13094 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
13095 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
13096 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
13097 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
13098 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
13099 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
13100 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
13101 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
13102 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
13103 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
13104 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
13105 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
13106 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
13107 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13108 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13109 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13110 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13111 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13112 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13113 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13114 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13115 * sysdeps/riscv/Implies: New file.
13116 * sysdeps/riscv/Makefile: Likewise.
13117 * sysdeps/riscv/configure: Likewise.
13118 * sysdeps/riscv/configure.ac: Likewise.
13119 * sysdeps/riscv/nptl/Makefile: Likewise.
13120 * sysdeps/riscv/preconfigure: Likewise.
13121 * sysdeps/riscv/rv64/Implies-after: Likewise.
13122 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
13123 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
13124 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
13125 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
13126 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
13127 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
13128 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
13129 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
13130 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
13131 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
13132 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
13133 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
13134 (Config): Likewise.
13135
13136 2018-01-29 Florian Weimer <fweimer@redhat.com>
13137
13138 [BZ #22701]
13139 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
13140 libnsl_hidden_proto.
13141 * include/rpcsvc/yp.h (yp_xdrall): Declare with
13142 libnsl_hidden_proto.
13143 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
13144 * nis/Makefile (libnsl-routines): Add nss-default only for
13145 build-obsolete-nsl.
13146 * nis/nis_defaults.c (__nis_default_ttl): Add
13147 libnsl_hidden_nolink_def.
13148 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
13149 declaration.
13150 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
13151 * nis/ypclnt.c (yp_maplist): Likewise.
13152
13153 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
13154
13155 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13156 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
13157
13158 2018-01-29 Joseph Myers <joseph@codesourcery.com>
13159
13160 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
13161 clean -dxfq for git updates when replacing sources.
13162
13163 * scripts/build-many-glibcs.py (Config.build_gcc): Use
13164 --disable-libcilkrts unconditionally, not just for the final GCC
13165 build for Hurd.
13166
13167 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13168 version to 4.15.
13169
13170 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13171
13172 [BZ #10871]
13173 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
13174 case).
13175
13176 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13177
13178 [BZ #10871]
13179 * localedata/locales/be_BY (mon): Rename to...
13180 (alt_mon): This, then synchronize with CLDR (nominative case).
13181 (abmon): Rename to...
13182 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13183 (mon): Import from CLDR (genitive case).
13184 (abmon): Likewise.
13185 * localedata/locales/be_BY@latin (mon): Rename to...
13186 (alt_mon): This.
13187 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
13188
13189 * localedata/locales/be_BY@latin (lang_name): Reworded to
13190 "biełaruskaja mova".
13191
13192 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13193
13194 [BZ #10871]
13195 * localedata/locales/el_CY (mon): Renamed to...
13196 (alt_mon): This.
13197 (mon): Import from CLDR (genitive case).
13198 * localedata/locales/el_GR: Likewise.
13199
13200 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
13201
13202 [BZ #10871]
13203 * localedata/locales/ru_RU (mon): Rename to...
13204 (alt_mon): This.
13205 (abmon): Rename to...
13206 (ab_alt_mon): This.
13207 (mon): Import from CLDR (genitive case).
13208 (abmon): Copy from the old content except the 5th month which is
13209 now in the genitive case, even when abbreviated.
13210 * localedata/locales/ru_UA: Likewise.
13211 * time/tst-strptime.c (day_tests): Add an actual example of
13212 a difference between %b and %Ob in Russian.
13213
13214 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13215
13216 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
13217 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
13218 a `c' variable.
13219 * resolv/res-close.c: Include <stdlib.h>.
13220 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
13221 <sys/wait.h>, <time.h>, <sys/uio.h>.
13222 (NOT_CANCEL_H): Add inclusion guard.
13223 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
13224 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
13225 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
13226 return 0.
13227 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
13228 vm_address_t * to ElfW(Addr) * for dl_main parameter.
13229 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
13230 instead of void *.
13231 * sysdeps/pthread/timer_create.c (timer_create): Do not use
13232 timer_ptr2id to cast struct timer_node * to void *.
13233 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
13234 --disable-libcilkrts to gcc configure.
13235 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
13236 and make them the default for now.
13237 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
13238 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
13239 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
13240 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
13241 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
13242 MACH_IPC_COMPAT.
13243 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
13244 __task_terminate would ever return successfully.
13245 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
13246 to global scope.
13247 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
13248 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
13249 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
13250 critical section to make code simpler and avoid warning.
13251 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
13252 critical section to make code simpler and avoid warning.
13253 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
13254 const char * instead of char *.
13255 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
13256 __hurd_file_name_split, hurd_file_name_split,
13257 __hurd_directory_name_split, hurd_directory_name_split,
13258 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
13259 hurd_file_name_path_lookup): Make lookup function parameter take a
13260 const char *name instead of char *name.
13261 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
13262 __hurd_directory_name_split): Likewise.
13263 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
13264 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
13265 * sysdeps/mach/hurd/check_native.c: New file.
13266 * sysdeps/mach/hurd/check_pf.c: New file.
13267 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
13268 (__freeifaddrs): Define macro to freeifaddrs.
13269 * sysdeps/mach/hurd/libhurduser.abilist: New file.
13270 * sysdeps/mach/libmachuser.abilist: New file.
13271 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
13272 (do_test_bz20181): Rename accordingly.
13273 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
13274 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
13275 <sys/mount.h>.
13276 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
13277 version only if __USE_EXTERN_INLINES is defined.
13278 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
13279 __hurd_sockfail): Likewise.
13280 (_hurd_fd_get): Always declare functions, and provide inline versions
13281 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
13282 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
13283 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
13284 _hurd_port_set): Always declare functions, and provide inline versions
13285 only if __USE_EXTERN_INLINES and _LIBC are defined and
13286 IS_IN(libc).
13287 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
13288 _hurd_critical_section_unlock): Likewise.
13289 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
13290 * __hurd_threadvar_location): Likewise.
13291 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
13292 _hurd_userlink_clear): Likewise.
13293 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
13294 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
13295 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
13296 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
13297 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
13298 __spin_lock_locked): Likewise.
13299 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
13300 __spin_lock_locked): Likewise.
13301 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
13302 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
13303 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
13304 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
13305 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
13306 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
13307 _POSIX_NO_TRUNC): Define to 0.
13308 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
13309 check size against PTHREAD_STACK_MIN.
13310 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
13311 IS_IN(libpthread)]: Include <sigsetops.h>.
13312 * mach/Makefile (user-interfaces): Add mach/gnumach.
13313 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
13314 * sysdeps/mach/configure (mach_interface_list): Regenerate.
13315 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
13316 instead of invalid -1.
13317 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
13318 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
13319 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
13320 <net/ppp_defs.h>.
13321
13322 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
13323
13324 * hurd/fcntl-internal.h: New file.
13325
13326 2018-01-27 James Clarke <jrtc27@jrtc27.com>
13327
13328 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13329
13330 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13331
13332 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
13333
13334 [BZ #22701]
13335 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
13336 Build only shared objects.
13337
13338 2018-01-26 Carlos O'Donell <carlos@redhat.com>
13339
13340 * README: Update for hppa.
13341
13342 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
13343
13344 * sysdeps/sparc/fpu/libm-test-ulps: Update
13345 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
13346
13347 2018-01-26 Carlos O'Donell <carlos@redhat.com>
13348
13349 Revert:
13350
13351 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
13352
13353 [BZ #22563]
13354 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13355 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
13356 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
13357 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
13358 to feature_1.
13359
13360 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
13361
13362 [BZ #22563]
13363 * bits/types/__cancel_jmp_buf_tag.h: New file.
13364 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
13365 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
13366 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
13367 * nptl/Makefile (headers): Add
13368 bits/types/__cancel_jmp_buf_tag.h.
13369 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
13370 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
13371 * sysdeps/nptl/pthread.h: Include
13372 <bits/types/__cancel_jmp_buf_tag.h>.
13373 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
13374 __cancel_jmp_buf.
13375 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
13376
13377 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13378
13379 [BZ #10871]
13380 * localedata/locales/uk_UA (mon): Renamed to...
13381 (alt_mon): This.
13382 (alt_digits): "0" removed and then renamed to...
13383 (mon): This.
13384 (date_fmt): Definition changed not to use the alternative
13385 digits hack.
13386
13387 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
13388
13389 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
13390 FLAG_RISCV_FLOAT_ABI_DOUBLE.
13391 * elf/elf.h (EF_RISCV_RVC): New define.
13392 (EF_RISCV_FLOAT_ABI): Likewise.
13393 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
13394 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
13395 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
13396 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
13397 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
13398 define.
13399 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
13400
13401 2018-01-25 Andreas Schwab <schwab@suse.de>
13402
13403 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
13404 single quotes.
13405 * sysdeps/gnu/configure: Regenerate.
13406 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
13407 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13409 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
13410 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
13411 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
13412 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
13413 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
13414
13415 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
13416
13417 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
13418 URL, and run autoconf, make it the default for now.
13419
13420 2018-01-24 Joseph Myers <joseph@codesourcery.com>
13421
13422 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13423 soft-float ColdFire configuration.
13424
13425 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
13426 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
13427 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
13428
13429 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
13430 MicroBlaze file.
13431
13432 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
13433 ....
13434 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
13435 ... here.
13436 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
13437 New file.
13438
13439 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
13440 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
13441 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
13442 file.
13443
13444 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
13445
13446 [BZ #22742]
13447 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
13448 Rename to __reserved and add comment.
13449 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
13450 Rename to __reserved.
13451
13452 2018-01-24 Joseph Myers <joseph@codesourcery.com>
13453
13454 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
13455 i686-gnu configurations.
13456 (Context.run_builds): Include mig, gnumach and hurd in components
13457 considered.
13458 (Context.checkout): Add mig, gnumach and hurd to components.
13459 (Context.checkout_tar): Add URL mappings for mig, gnumach and
13460 hurd.
13461 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
13462 (Config.build): Install gnumach headers, build mig and install
13463 hurd headers for 'gnu' OS.
13464 (Config.install_gnumach_headers): New function.
13465 (Config.install_hurd_headers): Likewise.
13466 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
13467 when building for 'gnu' OS.
13468
13469 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
13470
13471 * manual/tunables.texi (Hardware Capability Tunables): Fix
13472 spelling.
13473
13474 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
13475
13476 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
13477 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
13478 (ALTMON_11, ALTMON_12): Improve documentation.
13479 * manual/time.texi (strftime): Likewise.
13480
13481 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
13482
13483 [BZ #10871]
13484 * localedata/locales/pl_PL: Alternative month names added,
13485 primary month names are genitive now.
13486 * time/tst-strptime.c (day_tests): Actually use a genitive case
13487 of a month name in Polish language.
13488
13489 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
13490
13491 [BZ #10871]
13492 * manual/locale.texi: Document ALTMON_1..12 constants for
13493 nl_langinfo. Specify when to use ALTMON instead of MON.
13494 * manual/time.texi (strftime, strptime): Document GNU extension
13495 permitting O modifier with %B and %b. Specify when to use
13496 %OB instead of %B.
13497
13498 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
13499
13500 [BZ #10871]
13501 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
13502 names, define them as the same as abbreviated month names explicitly.
13503 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
13504 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
13505 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
13506 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
13507 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
13508 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
13509 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
13510 _NL_WABALTMON_12): New enum constants.
13511 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
13512 wab_alt_mon, and ab_alt_mon_defined members.
13513 (time_output): Output ab_alt_mon and wab_alt_mon members.
13514 (time_read): Read them, initialize them as copies of abmon and wabmon
13515 respectively if they are missing, initialize ab_alt_mon_defined.
13516 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
13517 * locale/programs/locfile-kw.h: Regenerate.
13518 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
13519 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
13520 and ru_RU.UTF-8.
13521 * time/strftime_l.c (a_altmonth, aam_len): New macros.
13522 [!COMPILE_WIDE] (ABALTMON_1): New macro.
13523 (__strftime_internal): Handle %Ob and %Oh formats.
13524 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
13525 (__strptime_internal): Handle %Ob and %Oh formats.
13526 * time/tst-strptime.c (day_tests): Add more tests to parse different
13527 forms of month names including the new %Ob format specifier.
13528
13529 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
13530
13531 [BZ #10871]
13532 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
13533 define them as the same as primary full month names explicitly.
13534 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
13535 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
13536 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
13537 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
13538 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
13539 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
13540 _NL_WALTMON_12): New enum constants.
13541 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
13542 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
13543 macros.
13544 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
13545 walt_mon, and alt_mon_defined members.
13546 (time_output): Output alt_mon and walt_mon members.
13547 (time_read): Read them, initialize them as copies of mon and wmon
13548 respectively if they are missing, initialize alt_mon_defined.
13549 * locale/programs/locfile-kw.gperf (alt_mon): Define.
13550 * locale/programs/locfile-kw.h: Regenerate.
13551 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
13552 * localedata/tst-langinfo.c (map): Add tests for the new constants
13553 ALTMON_1 .. ALTMON_12.
13554 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
13555 and pl_PL.UTF-8.
13556 * time/strftime_l.c (f_altmonth): New macro.
13557 (__strftime_internal): Handle %OB format.
13558 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
13559 (__strptime_internal): Handle %OB format.
13560 * time/tst-strptime.c (day_tests): Add tests to parse different forms
13561 of month names including the new %OB format specifier.
13562
13563 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13564
13565 [BZ #22685]
13566 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
13567 from ABORT_TRANSACTION.
13568 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
13569 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
13570 ABORT_TRANSACTION_IMPL): Likewise.
13571 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
13572 Linux code, but remove the code that aborts transactions.
13573
13574 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13575
13576 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
13577
13578 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
13579
13580 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
13581 in date: "2004-14-09" should be "2004-09-14".
13582 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
13583 "2003-15-09" should be "2003-09-15".
13584
13585 2018-01-18 Arjun Shankar <arjun@redhat.com>
13586
13587 [BZ #22343]
13588 [BZ #22774]
13589 CVE-2018-6485
13590 CVE-2018-6551
13591 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
13592 after padding.
13593 (_int_memalign): check for integer overflow before calling
13594 _int_malloc.
13595 * malloc/tst-malloc-too-large.c: New test.
13596 * malloc/Makefile: Add tst-malloc-too-large.
13597
13598 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
13599
13600 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
13601 in date: "2017-24-07" should be "2017-07-24".
13602 * localedata/locales/mai_IN: Likewise.
13603 * localedata/locales/mai_NP: Likewise.
13604
13605 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
13606
13607 * po/ru.po: Update translations.
13608
13609 2018-01-17 Joseph Myers <joseph@codesourcery.com>
13610
13611 [BZ #22719]
13612 * sysdeps/hppa/backtrace.c: New file.
13613
13614 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
13615
13616 [BZ #22715]
13617 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
13618 align La_x86_64_retval to VEC_SIZE.
13619
13620 2018-01-16 Joseph Myers <joseph@codesourcery.com>
13621
13622 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
13623 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
13624
13625 2018-01-16 Florian Weimer <fweimer@redhat.com>
13626
13627 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
13628 Move tst-thread-exit-clobber ...
13629 [$(CXX)] (tests-unsupported): ... to here.
13630
13631 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
13632
13633 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
13634 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
13635 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
13636 (_dl_aarch64_cap_flags): Update.
13637 (_DL_HWCAP_COUNT): Update.
13638
13639 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
13640
13641 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
13642 (_DL_HWCAP_LAST): Remove.
13643 (_DL_HWCAP_COUNT): Move to ...
13644 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
13645 (_DL_HWCAP_COUNT): ... here.
13646
13647 2018-01-16 Florian Weimer <fweimer@redhat.com>
13648
13649 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
13650 mode with GNU extensions.
13651
13652 2018-01-15 Alan Hayward <alan.hayward@arm.com>
13653
13654 * elf/elf.h (NT_ARM_SVE): Define.
13655
13656 2018-01-15 Florian Weimer <fweimer@redhat.com>
13657
13658 [BZ #22636]
13659 * nptl/tst-minstack-throw.cc: New file.
13660 * nptl/Makefile (tests): Add tst-minstack-throw.
13661 (LDLIBS-tst-minstack-throw): Link with libstdc++.
13662 [!CXX] (tests-unsupported): Add tst-minstack-throw.
13663
13664 2018-01-15 Joseph Myers <joseph@codesourcery.com>
13665
13666 * scripts/build-many-glibcs.py (Context.checkout): Default
13667 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
13668 version to 1.1.0.
13669
13670 2018-01-13 Carlos O'Donell <carlos@redhat.com>
13671
13672 [BZ #22707]
13673 * elf/elf.h (DF_1_STUB): Define.
13674 (DF_1_PIE): Define.
13675
13676 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13677
13678 [BZ #22697]
13679 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
13680 Do not add 0.5 to integer or out-of-range arguments.
13681
13682 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
13683
13684 * po/bg.po: Update translations.
13685 * po/cs.po: Likewise.
13686 * po/de.po: Likewise.
13687 * po/ko.po: Likewise.
13688 * po/pl.po: Likewise.
13689 * po/sv.po: Likewise.
13690 * po/uk.po: Likewise.
13691 * po/vi.po: Likewise.
13692
13693 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13694
13695 * aarch64/start.S (_start): Use __wrap_main.
13696 (__wrap_main): New local symbol.
13697
13698 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
13699
13700 [BZ #22679]
13701 CVE-2018-1000001
13702 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
13703 generic_getcwd if the path returned by getcwd syscall is not absolute.
13704 * io/tst-getcwd-abspath.c: New test.
13705 * io/Makefile (tests): Add tst-getcwd-abspath.
13706
13707 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
13708
13709 * malloc/malloc.c (malloc_consolidate): Add size check.
13710
13711 2018-01-12 Florian Weimer <fweimer@redhat.com>
13712
13713 * support/write_message.c (write_message): Preserve errno.
13714 * support/check.c (print_failure): Likewise.
13715 * support/support_test_verify_impl.c (support_test_verify_impl):
13716 Likewise.
13717 * support/support_test_compare_failure.c
13718 (support_test_compare_failure): Likewise.
13719
13720 2018-01-12 Florian Weimer <fweimer@redhat.com>
13721
13722 [BZ #22701]
13723 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
13724 Prevent installation of libnsl.so.
13725 (libnsl-inhibit-o): Do not build (or install) static libraries.
13726
13727 2018-01-12 Egmont Koblinger <egmont@gmail.com>
13728
13729 [BZ #22657]
13730 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
13731 before the day number which may produce a double space.
13732 (date_fmt): Likewise.
13733
13734 2018-01-12 Joseph Myers <joseph@codesourcery.com>
13735
13736 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
13737 instead of fegetenv.
13738
13739 2018-01-11 Joseph Myers <joseph@codesourcery.com>
13740
13741 [BZ #22702]
13742 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
13743 comment to say exceptions are discarded.
13744 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
13745 __fegetenv.
13746 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
13747 be enabled.
13748
13749 2018-01-11 Florian Weimer <fweimer@redhat.com>
13750
13751 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
13752 and error message.
13753
13754 2018-01-11 Florian Weimer <fweimer@redhat.com>
13755
13756 [BZ #22636]
13757 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
13758 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
13759
13760 2018-01-10 Joseph Myers <joseph@codesourcery.com>
13761
13762 [BZ #22693]
13763 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
13764 negative arguments in test for NaN or infinity argument.
13765
13766 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
13767
13768 * po/libc.pot: Regenerate.
13769
13770 2018-01-10 Florian Weimer <fweimer@redhat.com>
13771
13772 [BZ #22636]
13773 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
13774 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
13775
13776 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13777
13778 * hurd/hurd/fd.h: Include <fcntl.h>
13779 (__hurd_at_flags): New function.
13780 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
13781 with call to __hurd_at_flags.
13782 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
13783 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
13784 __faccessat
13785 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
13786 (__access_noerrno): Use __faccessat_common instead of access_common.
13787 (__access): Likewise.
13788 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
13789 with a call to __faccessat.
13790 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
13791 (__faccessat_common): ... this. Move implementation of __access into it when
13792 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
13793 reauthenticate_cwdir_at helper to implement AT mechanism.
13794 (__faccessat_noerrno): New function, just calls __faccessat_common.
13795 (__faccessat): New function, just calls __faccessat_common.
13796 (faccessat): Define weak alias.
13797
13798 2018-01-10 Joseph Myers <joseph@codesourcery.com>
13799
13800 [BZ #22691]
13801 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13802 (CFLAGS-s_fmaxmagl.c): New variable.
13803 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
13804
13805 [BZ #22690]
13806 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
13807 long int for arguments of possibly overflowing addition or
13808 subtraction.
13809 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13810
13811 2018-01-09 Joseph Myers <joseph@codesourcery.com>
13812
13813 [BZ #22688]
13814 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13815 (CFLAGS-e_remainderl.c): New variable.
13816
13817 [BZ #22687]
13818 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
13819 variable.
13820 (CFLAGS-s_cacoshl.c): Likewise.
13821 (CFLAGS-s_casinhl.c): Likewise.
13822 (CFLAGS-s_catanl.c): Likewise.
13823 (CFLAGS-s_catanhl.c): Likewise.
13824 (CFLAGS-s_cexpl.c): Likewise.
13825 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
13826 (CFLAGS-s_csinhl.c): Likewise.
13827 (CFLAGS-s_clogl.c): Likewise.
13828 (CFLAGS-s_clog10l.c): Likewise.
13829 (CFLAGS-s_csinl.c): Likewise.
13830 (CFLAGS-s_csqrtl.c): Likewise.
13831
13832 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
13833 2017-01-09 Svante Signell <svante.signell@gmail.com>
13834
13835 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
13836 (_hurd_exec_paths): New function.
13837 * hurd/hurd.h (_hurd_exec): Deprecate function.
13838 (_hurd_exec_paths): Declare function.
13839 * hurd/Versions: Export _hurd_exec_paths.
13840 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
13841 (__execve): Use __getcwd to build absolute path, and use
13842 _hurd_exec_paths instead of _hurd_exec.
13843 * sysdeps/mach/hurd/spawni.c: Likewise.
13844 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
13845 _hurd_exec.
13846
13847 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
13848
13849 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
13850 test instead of failing in case of ENOENT returned by posix_openpt.
13851
13852 2018-01-08 Florian Weimer <fweimer@redhat.com>
13853
13854 resolv: Support binary labels in test framework.
13855 * support/resolv_test.c (struct to_be_freed): Remove.
13856 (struct compressed_name): New.
13857 (allocate_compressed_name, ascii_tolower)
13858 (compare_compressed_name): New functions.
13859 (struct resolv_response_builder): Update type of
13860 compression_offsets for use with tsearch. Rempve to_be_freed.
13861 (response_push_pointer_to_free): Remove function.
13862 (resolv_response_add_name): Rewrite using struct compressed_name
13863 and tsearch instead of hsearch_r.
13864 (response_builder_allocate): Remove initialization of
13865 compression_offsets.
13866 (response_builder_free): Update for removal of to_be_freed. Use
13867 tdestroy instead of hdestroy_r.
13868 * resolv/Makefile (tests): Add tst-resolv-binary.
13869 (tst-resolv-binary): Link with -lresolv -lpthread.
13870
13871 2018-01-08 Florian Weimer <fweimer@redhat.com>
13872
13873 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
13874 time. Pass positive flag instead of negative flag to
13875 support_test_compare_failure.
13876 (support_test_compare_failure): Change negative parameter to
13877 positive.
13878 * support/support_test_compare_failure.c (report)
13879 (support_test_compare_failure): Likewise.
13880 * support/tst-test_compare.c (return_ssize_t, return_int): New.
13881 (do_test): Check int/size_t, ssize_t/size_t comparisons.
13882
13883 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
13884
13885 [BZ #22637]
13886 * nptl/descr.h (stackblock, stackblock_size): Update comments.
13887 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
13888 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
13889 stacksize.
13890 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
13891
13892 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
13893
13894 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13895 Add s_sincosf-sse2 and s_sincosf-fma.
13896 (CFLAGS-s_sincosf-fma.c): New.
13897 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
13898 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
13899 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
13900 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
13901 __sincosf is defined.
13902
13903 2018-01-08 Florian Weimer <fweimer@redhat.com>
13904
13905 * nptl/tst-thread-exit-clobber.cc: New file.
13906 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
13907 C++11 mode.
13908 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
13909 (tests): Add tst-thread-exit-clobber.
13910 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
13911
13912 2018-01-08 Florian Weimer <fweimer@redhat.com>
13913
13914 * support/check.h (support_static_assert): Define.
13915 (TEST_COMPARE): Use it.
13916
13917 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
13918
13919 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
13920 [!__RLIM_T_MATCHES_RLIM64_T]
13921 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
13922 __getrlimit64. Add libc_hidden_weak.
13923
13924 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
13925
13926 * elf/elf.h (R_RISCV_NONE): New define.
13927 (R_RISCV_32): Likewise.
13928 (R_RISCV_64): Likewise.
13929 (R_RISCV_RELATIVE): Likewise.
13930 (R_RISCV_COPY): Likewise.
13931 (R_RISCV_JUMP_SLOT): Likewise.
13932 (R_RISCV_TLS_DTPMOD32): Likewise.
13933 (R_RISCV_TLS_DTPMOD64): Likewise.
13934 (R_RISCV_TLS_DTPREL32): Likewise.
13935 (R_RISCV_TLS_DTPREL64): Likewise.
13936 (R_RISCV_TLS_TPREL32): Likewise.
13937 (R_RISCV_TLS_TPREL64): Likewise.
13938 * Makerules (make-link-multidir): Make directories before linking into
13939 them.
13940 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
13941 define.
13942 (VDSO_HASH_LINUX_4_15): Likewise.
13943 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
13944 in subdirectories of lib.
13945 * nptl/Makefile (/librt.so): Always depend on
13946 "$(shared-thread-library)".
13947
13948 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13949
13950 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
13951 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
13952 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
13953 (___tls_get_addr).
13954 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
13955 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
13956 "-O2 -march=i686".
13957 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
13958 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
13959 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
13960 * sysdeps/gnu/glob-lstat-compat.c: New file.
13961 * sysdeps/gnu/glob64-lstat-compat.c: New file.
13962 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
13963
13964 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13965
13966 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
13967 Reserve 16 chars to reloc_addr before calling _itoa_word.
13968
13969 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
13970
13971 [BZ #22678]
13972 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
13973 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
13974
13975 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
13976 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
13977
13978 * resource/tst-getrlimit.c: Add copyright header.
13979
13980 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
13981 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13982
13983 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
13984 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
13985 Define __GI_getrlimit64 as weak alias of __getrlimit64.
13986 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
13987 instead.
13988 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
13989 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
13990 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
13991 RLIM64_INFINITY): Fix values to match the kernel ones.
13992 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
13993 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
13994 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
13995 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
13996 getrlimit64@@GLIBC_2_27.
13997 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
13998 and setrlimit64.
13999 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
14000 getrlimit, setrlimit, getrlimit64 and setrlimit64.
14001 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
14002 setrlimit, getrlimit64 and setrlimit64.
14003
14004 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
14005
14006 [BZ #22648]
14007 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
14008 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
14009
14010 2018-01-04 Joseph Myers <joseph@codesourcery.com>
14011
14012 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
14013 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
14014 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
14015
14016 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14017
14018 [BZ #15479]
14019 [BZ #22666]
14020 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
14021 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
14022
14023 [BZ #15479]
14024 [BZ #22665]
14025 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
14026 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
14027 * sysdeps/alpha/fpu/s_floor.c: Likewise.
14028 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
14029
14030 2018-01-04 Florian Weimer <fweimer@redhat.com>
14031
14032 [BZ #22667]
14033 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14034 Align the stack before calling exit.
14035 * stdlib/tst-makecontext-align.c: New file.
14036 * stdlib/Makefile (tests): Add tst-makecontext-align.
14037
14038 2018-01-04 Florian Weimer <fweimer@redhat.com>
14039
14040 Add support for calling dlvsym from libc.so.
14041 * include/dlfcn.h (__libc_dlvsym): Declare.
14042 * elf/Makefile (tests-static-internal): Add
14043 tst-libc_dlvsym-static.
14044 (tests-internal): Add tst-libc_dlvsym.
14045 (modules-names): Add tst-libc_dlvsym-dso.
14046 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
14047 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
14048 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
14049 object tst-libc_dlvsym-dso.so needs to be built before running
14050 these tests.
14051 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
14052 * elf/Versions: Export __libc_dlvsym.
14053 * elf/dl-libc.c (struct do_dlvsym_args): New.
14054 (do_dlvsym, __libc_dlvsym): New functions.
14055 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
14056 (_dl_open_hook2): New variable.
14057 (__libc_register_dl_open_hook): Set it.
14058 * elf/tst-libc_dlvsym-dso.c: New file.
14059 * elf/tst-libc_dlvsym-static.c: Likewise.
14060 * elf/tst-libc_dlvsym.c: Likewise.
14061 * elf/tst-libc_dlvsym.h: Likewise.
14062
14063 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14064
14065 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
14066 include <sys/mount.h>.
14067
14068 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
14069
14070 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
14071 Add __NO_MATH_ERRNO__ check.
14072
14073 2018-01-02 Joseph Myers <joseph@codesourcery.com>
14074
14075 * sysdeps/mips/mips32/libm-test-ulps: Update.
14076 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14077
14078 2018-01-02 Florian Weimer <fweimer@redhat.com>
14079
14080 * misc/tst-pselect.c: Add copyright header.
14081
14082 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
14083
14084 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
14085 comment.
14086 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
14087 comment.
14088 (settrlimit): Rename into setrlimit.
14089 (__sttrlimit): Rename into __setrlimit.
14090
14091 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
14092 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
14093 never defined in that case.
14094
14095 2018-01-02 Joseph Myers <joseph@codesourcery.com>
14096
14097 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14098
14099 * sysdeps/arm/libm-test-ulps: Update.
14100
14101 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
14102 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
14103
14104 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14105
14106 * NEWS: Add cosf and sincosf to list of optimized functions.
14107
14108 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
14109
14110 [BZ #22660]
14111 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
14112 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
14113 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
14114 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
14115
14116 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
14117
14118 [BZ #22433]
14119 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
14120
14121 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
14122 making a copy of it.
14123
14124 2018-01-01 Joseph Myers <joseph@codesourcery.com>
14125
14126 * manual/texinfo.tex: Update to version 2017-12-26.21 with
14127 trailing whitespace removed.
14128 * scripts/config.guess: Update to version 2018-01-01.
14129 * scripts/config.sub: Update to version 2018-01-01.
14130 * scripts/move-if-change: Update from gnulib.
14131
14132 * NEWS: Update copyright dates.
14133 * catgets/gencat.c (print_version): Likewise.
14134 * csu/version.c (banner): Likewise.
14135 * debug/catchsegv.sh: Likewise.
14136 * debug/pcprofiledump.c (print_version): Likewise.
14137 * debug/xtrace.sh (do_version): Likewise.
14138 * elf/ldconfig.c (print_version): Likewise.
14139 * elf/ldd.bash.in: Likewise.
14140 * elf/pldd.c (print_version): Likewise.
14141 * elf/sotruss.sh: Likewise.
14142 * elf/sprof.c (print_version): Likewise.
14143 * iconv/iconv_prog.c (print_version): Likewise.
14144 * iconv/iconvconfig.c (print_version): Likewise.
14145 * locale/programs/locale.c (print_version): Likewise.
14146 * locale/programs/localedef.c (print_version): Likewise.
14147 * login/programs/pt_chown.c (print_version): Likewise.
14148 * malloc/memusage.sh (do_version): Likewise.
14149 * malloc/memusagestat.c (print_version): Likewise.
14150 * malloc/mtrace.pl: Likewise.
14151 * manual/libc.texinfo: Likewise.
14152 * nptl/version.c (banner): Likewise.
14153 * nscd/nscd.c (print_version): Likewise.
14154 * nss/getent.c (print_version): Likewise.
14155 * nss/makedb.c (print_version): Likewise.
14156 * posix/getconf.c (main): Likewise.
14157 * scripts/test-installation.pl: Likewise.
14158 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14159
14160 * All files with FSF copyright notices: Update copyright dates
14161 using scripts/update-copyrights.
14162 * locale/programs/charmap-kw.h: Regenerated.
14163 * locale/programs/locfile-kw.h: Likewise.
14164
14165 2017-12-31 Zack Weinberg <zackw@panix.com>
14166
14167 * libio/bits/libio-ldbl.h: Correct check for improper
14168 inclusion. Add own multiple include guard.
14169
14170 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
14171 Dmitry V. Levin <ldv@altlinux.org>
14172
14173 [BZ #22625]
14174 CVE-2017-16997
14175 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
14176 string token expansion. Check for NULL pointer or empty string possibly
14177 returned by expand_dynamic_string_token.
14178 (decompose_rpath): Check for empty path after dynamic string
14179 token expansion.
14180
14181 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
14182
14183 [BZ #22433]
14184 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
14185
14186 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
14187 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
14188 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
14189 and PTRACE_SYSCALL.
14190 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
14191 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14192 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14193 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14194 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14195 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
14196
14197 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
14198 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
14199 __ptrace_peeksiginfo_flags, ptrace): Move to ...
14200 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
14201 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14202 bits/ptrace-shared.h.
14203 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
14204 <bits/ptrace-shared.h>.
14205 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
14206 __ptrace_peeksiginfo_flags, ptrace): Remove.
14207 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14208 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14209 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14210 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14211 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
14212
14213 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
14214
14215 [BZ #17804]
14216 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
14217 end of the loop. Improve comments.
14218
14219 2017-12-29 Zack Weinberg <zackw@panix.com>
14220
14221 [BZ #22615]
14222 * manual/errno.texi (Checking for Errors): Explicitly say that errno
14223 might be set on success.
14224
14225 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
14226
14227 [BZ #22611]
14228 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
14229 is unchanged on success.
14230
14231 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
14232
14233 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
14234 updated.
14235 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
14236 expand_dynamic_string_token): Likewise.
14237 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
14238 is_path argument.
14239
14240 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
14241 contains ':'.
14242
14243 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
14244 is set and name contains ':', and all code depending on these checks.
14245
14246 2017-12-24 Zack Weinberg <zackw@panix.com>
14247
14248 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
14249 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
14250 respectively.
14251 * libio/libio.h: Rename the original version of this file to
14252 libio/bits/libio.h. Error out if not included by stdio.h or the
14253 stub libio.h.
14254 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
14255 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
14256 if not included by bits/libio.h or the stub _G_config.h.
14257 * sysdeps/unix/sysv/linux/_G_config.h: Move to
14258 sysdeps/unix/sysv/linux/bits. Error out if not included by
14259 bits/libio.h or the stub _G_config.h.
14260 * libio/stdio.h: Include bits/libio.h, not libio.h.
14261 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
14262 well as libio.h and _G_config.h.
14263
14264 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
14265 * libio/strfile.h, stdio-common/vfscanf.c
14266 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
14267 Include stdio.h, not _G_config.h nor libio.h.
14268 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
14269 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
14270
14271 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
14272
14273 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
14274
14275 [BZ #22347]
14276 * stdlib/getrandom.c (getrandom): Fix comment.
14277 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
14278
14279 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
14280
14281 [BZ #21161]
14282 * manual/arith.texi (strtoul): Fix a typo.
14283
14284 [BZ #22596]
14285 * manual/arith.texi (finite): Fix the description of the return
14286 value.
14287
14288 2017-12-22 Eric Blake <ebb9@byu.net>
14289
14290 Avoid gcc warnings on cygwin
14291 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
14292 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
14293 Avoid unused variable.
14294
14295 2017-12-22 Florian Weimer <fweimer@redhat.com>
14296
14297 * io/Makefile (routines): Add copy_file_range.
14298 (tests): Add tst-copy_file_range.
14299 (tests-static, tests-internal): Add tst-copy_file_range-compat.
14300 * io/Versions (GLIBC_2.27): Export copy_file_range.
14301 * io/copy_file_range-compat.c: New file.
14302 * io/copy_file_range.c: Likewise.
14303 * io/tst-copy_file_range-compat.c: Likewise.
14304 * io/tst-copy_file_range.c: Likewise.
14305 * manual/llio.texi (Copying File Data): New section.
14306 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
14307 * support/Makefile (libsupport-routines): Add support-xfstat,
14308 xftruncate, xlseek.
14309 * support/support-xfstat.c: New file.
14310 * support/xftruncate.c: Likewise.
14311 * support/xlseek.c: Likewise.
14312 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
14313 * sysdeps/unix/sysv/linux/**.abilist: Update.
14314 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
14315
14316 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
14317
14318 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
14319 disable-multi-arch variant to aarch64-linux-gnu.
14320
14321 2017-12-20 Joseph Myers <joseph@codesourcery.com>
14322
14323 * manual/texinfo.tex: Update to version 2017-12-18.20 with
14324 trailing whitespace removed.
14325 * scripts/config.guess: Update to version 2017-12-17.
14326 * scripts/config.sub: Update to version 2017-11-23.
14327 * scripts/install-sh: Update to version 2017-09-23.17.
14328 * scripts/move-if-change: Update to version 2017-09-13 06:45.
14329
14330 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14331
14332 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
14333 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
14334 * sysdeps/tile/_mcount.S (__mcount): Likewise.
14335 * sysdeps/tile/crti.S (_init, _fini): Likewise.
14336 * sysdeps/tile/crtn.S: Likewise.
14337 * sysdeps/tile/dl-start.S (_start): Likewise.
14338 * sysdeps/tile/dl-trampoline.S: Likewise.
14339 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
14340 * sysdeps/tile/start.S (_start): Likewise.
14341 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
14342 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
14343 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
14344 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
14345 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
14346 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
14347 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
14348
14349 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
14350 comment.
14351 * sysdeps/tile/preconfigure: Remove tilegx folder.
14352 * sysdeps/tile/tilegx/Implies: Move definitions to ...
14353 * sysdeps/tile/Implies: ... here.
14354 * sysdeps/tile/tilegx/Makefile: Move rules to ...
14355 * sysdeps/tile/Makefile: ... here.
14356 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
14357 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
14358 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
14359 * sysdeps/tile/bits/wordsize.h: ... here.
14360 * sysdeps/tile/tilegx/*: Move to ...
14361 * sysdeps/tile/*: ... here.
14362 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
14363 * sysdeps/tile/tilegx32/Implies: ... here.
14364 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
14365 * sysdeps/tile/tilegx64/Implies: ... here.
14366 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
14367 to ...
14368 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14369 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
14370 * sysdeps/unix/sysv/linux/tile/*: ... here.
14371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
14372 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
14373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
14374 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
14375
14376 * README: Remove tilepro-*-linux-gnu from supported architecture.
14377 * scripts/build-many-glibcs.py: Likewise.
14378 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
14379 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
14380 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
14381 elf_machine_matches_host, elf_machine_dynamic,
14382 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
14383 howto, elf_machine_rela): Likewise.
14384 * sysdeps/tile/dl-start.S (_start): Likewise.
14385 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
14386 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
14387 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
14388 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
14389 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
14390 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
14391 Likewise.
14392 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
14393 * sysdeps/tile/preconfigure: Likewise.
14394 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
14395 POINTER_CHK_GUARD): Likewise.
14396 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
14397 * sysdeps/tile/start.S (_start): Likewise.
14398 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
14399 Likewise.
14400 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
14401 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
14402 CMOVNEZ): Remove.
14403 * sysdeps/unix/sysv/linux/tile/bits/environments.h
14404 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
14405 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
14406 Likewise.
14407 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
14408 * sysdeps/tile/tilepro/Implies: Remove file.
14409 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
14410 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14411 * sysdeps/tile/tilepro/memchr.c: Likewise.
14412 * sysdeps/tile/tilepro/memcpy.S: Likewise.
14413 * sysdeps/tile/tilepro/memset.c: Likewise.
14414 * sysdeps/tile/tilepro/memusage.h: Likewise.
14415 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
14416 * sysdeps/tile/tilepro/strchr.c: Likewise.
14417 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
14418 * sysdeps/tile/tilepro/strlen.c: Likewise.
14419 * sysdeps/tile/tilepro/strrchr.c: Likewise.
14420 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
14421 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
14422 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
14423 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
14424 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
14425 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
14426 Likewise.
14427 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
14428 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14429 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
14430 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
14431 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14432 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
14433 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
14434 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
14435 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
14436 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
14437 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
14438 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
14439 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
14440 tilepro mention in comment.
14441
14442 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
14443 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
14444 * nptl/pthread_join_common.c: New file: common function used on
14445 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
14446 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
14447 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
14448 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
14449 (cleanup): Move definition to pthread_join_common.c.
14450 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
14451 Remove superflous checks.
14452 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
14453 Likewise.
14454
14455 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
14456
14457 * sysdeps/aarch64/libm-test-ulps: Update.
14458
14459 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14460
14461 * sysdeps/aarch64/memset.S (MEMSET): Define.
14462
14463 2017-12-20 Florian Weimer <fweimer@redhat.com>
14464
14465 [BZ #22635]
14466 nptl: Provide full implementation of pthread_self in libc.so.
14467 * nptl/Makefile (routines): Add pthread_self.
14468 (libpthread-routines): Replace pthread_self with
14469 compat-pthread_self.
14470 * nptl/forward.c (pthread_self): Remove.
14471 * nptl/nptl-init.c (pthread_functions): Do not initialize
14472 ptr_pthread_self.
14473 * nptl/pthread_self.c (pthread_self): Remove weak alias.
14474 * nptl/compat-pthread_self.c: New file.
14475 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
14476 Remove ptr_pthread_self.
14477
14478 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
14479
14480 * posix/regcomp.c: Fix spelling in comments.
14481 * posix/regex.h: Likewise.
14482 * posix/regex_internal.c: Likewise.
14483 * posix/regexec.c: Likewise.
14484
14485 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14486
14487 [BZ #22377]
14488 * math/Makefile [C++] (tests): Add test for iseqsig.
14489 * math/math.h [C++] (iseqsig): New implementation, which does
14490 not rely on __MATH_TG/__builtin_types_compatible_p.
14491 * math/test-math-iseqsig.cc: New file.
14492 * sysdeps/powerpc/powerpc64le/Makefile
14493 (CFLAGS-test-math-iseqsig.cc): New variable.
14494
14495 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
14496
14497 * elf/dl-load.c (is_trusted_path): Remove.
14498 (fillin_rpath): Remove check_trusted argument and its use,
14499 all callers changed.
14500
14501 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14502
14503 [BZ #22630]
14504 * Makeconfig (link-pie-before-libc): Replace -pie with
14505 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
14506 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
14507 (tst-dlopen-aout-no-pie): New.
14508 (LDFLAGS-tst-prelink): Removed.
14509 (tst-prelink-no-pie): New.
14510 (LDFLAGS-tst-main1): Removed.
14511 (tst-main1-no-pie): New.
14512 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
14513 (tst-gmon-no-pie): New.
14514
14515 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14516
14517 * manual/install.texi: Document that --enable-static-pie
14518 implies PIE.
14519 * INSTALL: Regenerated.
14520
14521 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
14522
14523 [BZ #21309]
14524 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
14525 unsigned.
14526
14527 2017-12-19 Joseph Myers <joseph@codesourcery.com>
14528
14529 Revert:
14530
14531 2017-12-19 Joseph Myers <joseph@codesourcery.com>
14532
14533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14534
14535 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14536
14537 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
14538 <errno.h>. Include "eexp.tbl".
14539 (half): New constant.
14540 (one): Likewise.
14541 (__ieee754_exp): Rewrite.
14542 (__slowexp): Remove prototype.
14543 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
14544 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
14545 * sysdeps/i386/fpu/slowexp.c: Likewise.
14546 * sysdeps/ia64/fpu/slowexp.c: Likewise.
14547 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
14548 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
14549 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
14550 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14551 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
14552 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
14553 comment.
14554 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
14555 (CPPFLAGS-slowexp.c): Remove variable.
14556 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14557 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
14558 (CFLAGS-slowexp-fma.c): Remove variable.
14559 (CFLAGS-slowexp-fma4.c): Likewise.
14560 (CFLAGS-slowexp-avx.c): Likewise.
14561 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
14562 define as macro.
14563 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
14564 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
14565 * math/Makefile (type-double-routines): Remove slowexp.
14566 * manual/probes.texi (slowexp_p6): Remove.
14567 (slowexp_p32): Likewise.
14568
14569 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14570
14571 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
14572 arithmetic.
14573
14574 * lib/glob.c (glob): Do not pass NULL to mempcpy.
14575
14576 2017-12-19 Joseph Myers <joseph@codesourcery.com>
14577
14578 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14579
14580 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14581
14582 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
14583 <errno.h>. Include "eexp.tbl".
14584 (half): New constant.
14585 (one): Likewise.
14586 (__ieee754_exp): Rewrite.
14587 (__slowexp): Remove prototype.
14588 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
14589 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
14590 * sysdeps/i386/fpu/slowexp.c: Likewise.
14591 * sysdeps/ia64/fpu/slowexp.c: Likewise.
14592 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
14593 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
14594 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
14595 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14596 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
14597 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
14598 comment.
14599 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
14600 (CPPFLAGS-slowexp.c): Remove variable.
14601 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14602 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
14603 (CFLAGS-slowexp-fma.c): Remove variable.
14604 (CFLAGS-slowexp-fma4.c): Likewise.
14605 (CFLAGS-slowexp-avx.c): Likewise.
14606 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
14607 define as macro.
14608 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
14609 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
14610 * math/Makefile (type-double-routines): Remove slowexp.
14611 * manual/probes.texi (slowexp_p6): Remove.
14612 (slowexp_p32): Likewise.
14613
14614 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14615 James Clarke <jrtc27@jrtc27.com>
14616
14617 [BZ #22603]
14618 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
14619 addition.
14620
14621 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14622
14623 [BZ #22605]
14624 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
14625 code.
14626
14627 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14628
14629 [BZ #22563]
14630 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14631 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
14632 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14633 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
14634 to feature_1.
14635
14636 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14637
14638 [BZ #22563]
14639 * bits/types/__cancel_jmp_buf_tag.h: New file.
14640 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
14641 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
14642 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
14643 * nptl/Makefile (headers): Add
14644 bits/types/__cancel_jmp_buf_tag.h.
14645 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
14646 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
14647 * sysdeps/nptl/pthread.h: Include
14648 <bits/types/__cancel_jmp_buf_tag.h>.
14649 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
14650 __cancel_jmp_buf.
14651 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
14652
14653 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
14654
14655 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
14656 --enable-static-pie variants to x86_64, x32 and i686.
14657
14658 2017-12-19 Joseph Myers <joseph@codesourcery.com>
14659
14660 [BZ #22631]
14661 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
14662 argument for attrubutes. All callers changed.
14663 (__inline_mathop1): Likewise. All callers changed.
14664 (__inline_mathop): Likewise. All callers changed.
14665 [__USE_MISC] (scalbn): Use __inline_forward instead of
14666 __inline_forward_c.
14667 [__USE_ISOC99] (scalbln): Likewise.
14668 [__USE_ISOC99] (nearbyint): Likewise.
14669 [__USE_ISOC99] (lrint): Likewise.
14670 [__USE_MISC] (scalbnf): Likewise.
14671 [__USE_ISOC99] (scalblnf): Likewise.
14672 [__USE_ISOC99] (nearbyintf): Likewise.
14673 [__USE_ISOC99] (lrintf): Likewise.
14674 [__USE_MISC] (scalbnl): Likewise.
14675 [__USE_ISOC99] (scalblnl): Likewise.
14676 [__USE_ISOC99] (nearbyintl): Likewise.
14677 [__USE_ISOC99] (lrintl): Likewise.
14678 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
14679 __inline_mathop and __m81_defun changed.
14680
14681 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
14682 CPU or FPU for ARM hard-float configurations.
14683
14684 2017-12-18 Joseph Myers <joseph@codesourcery.com>
14685
14686 * nptl/tst-attr3.c: Include <libc-diag.h>.
14687 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
14688
14689 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
14690
14691 * string/tester.c (test_strncat): Also disable -Warray-bounds
14692 warnings for two tests.
14693
14694 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
14695
14696 [BZ #22614]
14697 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
14698 $(cc-pie-default) == yes.
14699 * config.make.in (cc-pie-default): New.
14700 * configure.ac (libc_cv_pie_default): Renamed to ...
14701 (libc_cv_cc_pie_default): This.
14702 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
14703 * configure: Regenerated.
14704
14705 2017-12-18 Florian Weimer <fweimer@redhat.com>
14706
14707 [BZ #20204]
14708 ld.so: Harden dl-libc/libdl hooks.
14709 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
14710 (rtld_active): New function.
14711 * dlfcn/dladdr.c (__dladdr): Call it.
14712 * dlfcn/dladdr1.c (__dladdr1): Likewise.
14713 * dlfcn/dlclose.c (__dlcose): Likewise.
14714 * dlfcn/dlerror.c (__dlerror): Likewise.
14715 * dlfcn/dlinfo.c (__dlinfo): Likewise.
14716 * dlfcn/dlmopen.c (__dlmopen): Likewise.
14717 * dlfcn/dlopen.c (__dlopen): Likewise.
14718 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14719 * dlfcn/dlsym.c (__dlsym): Likewise.
14720 * dlfcn/dlvsym.c (__dlvsym): Likewise.
14721 * libio/vtables.c (_IO_vtable_check): Likewise.
14722 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
14723 (__libc_dlclose): Likewise.
14724 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
14725 assignment.
14726
14727 2017-12-18 Joseph Myers <joseph@codesourcery.com>
14728
14729 [BZ #22446]
14730 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
14731 buffers for readlink input and output.
14732
14733 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
14734
14735 [BZ #22624]
14736 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
14737 inhibit_stack_protector.
14738
14739 [BZ #22624]
14740 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
14741 inhibit_stack_protector.
14742
14743 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
14744
14745 [BZ #22627]
14746 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
14747 code and invocation.
14748
14749 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
14750
14751 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
14752
14753 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
14754
14755 [BZ #22505]
14756 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
14757
14758 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14759
14760 * sysdeps/s390/fpu/libm-test-ulps: Update.
14761
14762 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14763
14764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14765
14766 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14767
14768 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
14769 constants to s_sincosf.h file.
14770 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14771 * sysdeps/ieee754/flt-32/s_sincosf.c: New
14772 implementation.
14773 * sysdeps/ieee754/flt-32/s_sincosf.h:
14774 New file.
14775
14776 2017-12-12 Carlos O'Donell <carlos@redhat.com>
14777
14778 [BZ #14681]
14779 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
14780 before mtrace.
14781
14782 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
14783
14784 [BZ #19574]
14785 * INSTALL: Regenerated.
14786 * Makeconfig (real-static-start-installed-name): New.
14787 (pic-default): Updated for --enable-static-pie.
14788 (pie-default): New for --enable-static-pie.
14789 (default-pie-ldflag): Likewise.
14790 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
14791 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
14792 Replace $(static-start-installed-name) with
14793 $(real-static-start-installed-name).
14794 (+prectorT): Updated for --enable-static-pie.
14795 (+postctorT): Likewise.
14796 (CFLAGS-.o): Add $(pie-default).
14797 (CFLAGS-.op): Likewise.
14798 * NEWS: Mention --enable-static-pie.
14799 * config.h.in (ENABLE_STATIC_PIE): New.
14800 * configure.ac (--enable-static-pie): New configure option.
14801 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
14802 (have-static-pie): Likewise.
14803 Enable static PIE if linker supports --no-dynamic-linker.
14804 (ENABLE_STATIC_PIE): New AC_DEFINE.
14805 (enable-static-pie): New LIBC_CONFIG_VAR.
14806 * configure: Regenerated.
14807 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
14808 gr$(start-installed-name) for --enable-static-pie.
14809 (extra-objs): Likewise.
14810 (install-lib): Likewise.
14811 (extra-objs): Add static-reloc.o and static-reloc.os
14812 ($(objpfx)$(start-installed-name)): Also depend on
14813 $(objpfx)static-reloc.o.
14814 ($(objpfx)r$(start-installed-name)): New.
14815 ($(objpfx)g$(start-installed-name)): Also depend on
14816 $(objpfx)static-reloc.os.
14817 ($(objpfx)gr$(start-installed-name)): New.
14818 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
14819 in libc.a.
14820 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
14821 initimage.
14822 * csu/static-reloc.c: New file.
14823 * elf/Makefile (routines): Add dl-reloc-static-pie.
14824 (elide-routines.os): Likewise.
14825 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
14826 (tst-tls1-static-non-pie-no-pie): New.
14827 * elf/dl-reloc-static-pie.c: New file.
14828 * elf/dl-support.c (_dl_get_dl_main_map): New function.
14829 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
14830 STATIC_PIE_BOOTSTRAP.
14831 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
14832 * gmon/Makefile (tests): Add tst-gmon-static-pie.
14833 (tests-static): Likewise.
14834 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
14835 (tst-gmon-static-no-pie): New.
14836 (CFLAGS-tst-gmon-static-pie.c): Likewise.
14837 (CRT-tst-gmon-static-pie): Likewise.
14838 (tst-gmon-static-pie-ENV): Likewise.
14839 (tests-special): Likewise.
14840 ($(objpfx)tst-gmon-static-pie.out): Likewise.
14841 (clean-tst-gmon-static-pie-data): Likewise.
14842 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
14843 * gmon/tst-gmon-static-pie.c: New file.
14844 * manual/install.texi: Document --enable-static-pie.
14845 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
14846 (_dl_get_dl_main_map): Likewise.
14847 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
14848 * sysdeps/x86_64/configure.ac: Likewise.
14849 * sysdeps/i386/configure: Regenerated.
14850 * sysdeps/x86_64/configure: Likewise.
14851 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
14852 (ASFLAGS-.op): Likewise.
14853
14854 2017-12-15 Joseph Myers <joseph@codesourcery.com>
14855
14856 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
14857 * posix/tst-mmap-offset.c (fname): Use /tmp.
14858 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
14859
14860 2017-12-15 Steve Ellcey <sellcey@cavium.com>
14861
14862 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
14863
14864 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
14865
14866 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
14867 errno.
14868
14869 2017-12-15 Joseph Myers <joseph@codesourcery.com>
14870
14871 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14872 --with-float=hard for arm-linux-gnueabihf configurations.
14873
14874 [BZ #14121]
14875 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
14876 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
14877 ($(mo-installed)): Use $(objpfx)%.mo.
14878 (realclean): Remove rule.
14879
14880 * po/Makefile (linguas): Remove rule and dependencies.
14881 (linguas.mo): Likewise.
14882 (.PHONY): Do not depend on linguas and linguas.mo.
14883 (podir): Remove variable.
14884 (pofiles): Likewise.
14885 [$(pofiles)] (%.po): Remove rule.
14886
14887 * sysdeps/sparc/sparc32/Makefile
14888 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
14889 start-of-line whitespace in argument of echo.
14890 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
14891 with whitespace. Generate __wrap_.udiv alias.
14892 * sysdeps/sparc/sparc32/rem.S: Regenerated.
14893 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14894 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14895 * sysdeps/sparc/sparc32/urem.S: Likewise.
14896
14897 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14898
14899 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
14900 for aligned inputs.
14901
14902 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
14903
14904 * benchtests/bench-strcmp.c: Print output in JSON format.
14905
14906 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
14907
14908 2017-12-14 Florian Weimer <fweimer@redhat.com>
14909
14910 [BZ #22607]
14911 CVE-2017-1000409
14912 * elf/dl-load.c (_dl_init_paths): Compute number of components in
14913 the expanded path string.
14914
14915 2017-12-14 Florian Weimer <fweimer@redhat.com>
14916
14917 [BZ #22606]
14918 CVE-2017-1000408
14919 * elf/dl-load.c (system_dirs): Update comment.
14920 (nsystem_dirs_len): Use array_length.
14921 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
14922
14923 2017-12-14 Florian Weimer <fweimer@redhat.com>
14924
14925 Simplify compiling most of support/ outside of glibc.
14926 * support/check_addrinfo.c: Include <string.h>.
14927 * support/check_dns_packet.c: Likewise.
14928 * support/check_hostent.c: Likewise.
14929 * support/support_can_chroot.c: Include <support/xunistd.h>.
14930 * support/support_format_addrinfo.c: Include <stdlib.h>
14931 * support/support_format_dns_packet.c: Include <stdbool.h>.
14932 * support/support_format_hostent.c: Include <stdlib.h>.
14933 * support/support_format_netent.c: Likewise.
14934 * support/support_write_string.c: Include <support/xunistd.h>.
14935 * support/xdlfcn.c: Include <stddef.h>.
14936
14937 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
14938
14939 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
14940
14941 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14942 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14943
14944 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
14945 (sysdeps_routines): Add memset-niagara7.
14946 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
14947 Likewise.
14948 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
14949 file.
14950 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
14951 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
14952 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
14953 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
14954 Add niagara7 option.
14955 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
14956 memset.
14957
14958 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
14959 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
14960 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
14961 Likewise.
14962 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
14963 New file.
14964 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
14965 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
14966 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
14967 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
14968 and __memmove_niagara7.
14969 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
14970 Add niagara7 option.
14971 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
14972 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
14973 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
14974 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
14975 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
14976
14977 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
14978
14979 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
14980 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
14981 * sysdeps/sparc/sparc64/memmove.S: Likewise.
14982 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
14983
14984 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
14985 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
14986 _dl_sparc_cap_flags array.
14987 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
14988
14989 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
14990
14991 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
14992 time whenever possible.
14993
14994 2017-12-12 Carlos O'Donell <carlos@redhat.com>
14995
14996 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
14997 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
14998
14999 2017-12-12 Joseph Myers <joseph@codesourcery.com>
15000
15001 * soft-fp/fmadf4.c: Move to ....
15002 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
15003 * soft-fp/fmasf4.c: Move to ....
15004 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
15005 * soft-fp/fmatf4.c: Move to ....
15006 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
15007 * sysdeps/ieee754/soft-fp/Makefile: New file.
15008 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
15009 * sysdeps/arm/preconfigure: Regenerated.
15010 * sysdeps/arm/nofpu/Implies: New file.
15011 * sysdeps/arm/s_fma.c: Remove file.
15012 * sysdeps/arm/s_fmaf.c: Likewise.
15013 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
15014 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
15015 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
15016 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
15017 * sysdeps/microblaze/s_fma.c: Remove file.
15018 * sysdeps/microblaze/s_fmaf.c: Likewise.
15019 * sysdeps/mips/mips32/nofpu/Implies: New file.
15020 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
15021 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
15022 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
15023 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
15024 * sysdeps/mips/ieee754/s_fma.c: Remove file.
15025 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
15026 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
15027 implementation.
15028 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
15029 * sysdeps/nios2/s_fma.c: Remove file.
15030 * sysdeps/nios2/s_fmaf.c: Likewise.
15031 * sysdeps/sh/nofpu/Implies: New file.
15032 * sysdeps/sh/s_fma.c: Remove file.
15033 * sysdeps/sh/s_fmaf.c: Likewise.
15034 * sysdeps/tile/Implies: Add ieee754/soft-fp.
15035 * sysdeps/tile/s_fma.c: Remove file.
15036 * sysdeps/tile/s_fmaf.c: Likewise.
15037
15038 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
15039
15040 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15041 Add s_cosf-sse2 and s_cosf-fma.
15042 (CFLAGS-s_cosf-fma.c): New.
15043 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
15044 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
15045 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
15046
15047 2017-12-12 Steve Ellcey <sellcey@cavium.com>
15048
15049 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
15050
15051 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15052
15053 * libio/Makefile (tests): Add tst-bz22415.
15054 (tst-bz22415-ENV): New rule.
15055 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
15056 (tests-special): Add tst-bz22415-mem.out.
15057 ($(objpfx)tst-bz22415-mem.out): New rule.
15058 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
15059 in case of a successful seek operation.
15060 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15061 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
15062 buffer is required.
15063 * libio/tst-bz22415.c: New test.
15064
15065 * sysdeps/ia64/fpu/libm-test-ulps: Update.
15066
15067 2017-12-12 James Clarke <jrtc27@jrtc27.com>
15068
15069 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
15070 __IPC_64 to 0 to avoid IPC_64 being set.
15071
15072 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15073
15074 [BZ #22593]
15075 * math/bits/mathcalls.h (nextafter): Remove const.
15076 (nexttoward): Likewise.
15077
15078 2017-12-12 Joseph Myers <joseph@codesourcery.com>
15079
15080 * configure.ac (--with-fp): Remove configure option.
15081 (with_fp_cond): New variable.
15082 (libc_cv_with_fp): New configure test. Use this variable instead
15083 of with_fp.
15084 * configure: Regenerated.
15085 * config.make.in (with-fp): Use @libc_cv_with_fp@.
15086 * manual/install.texi (Configuring and compiling): Remove
15087 --without-fp.
15088 * INSTALL: Regenerated.
15089 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
15090 * sysdeps/mips/preconfigure (with_fp_cond): Define.
15091 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
15092 * sysdeps/sh/preconfigure (with_fp_cond): Define.
15093 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
15094 use --without-fp to configure glibc.
15095
15096 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
15097
15098 * manual/locale.texi (nl_langinfo): Fix a typo.
15099
15100 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
15101
15102 [BZ #22588]
15103 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
15104
15105 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
15106
15107 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
15108 (CFLAGS-argp-parse.c): Likewise.
15109 (CFLAGS-argp-fmtstream.c): Likewise.
15110 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
15111 (CPPFLAGS-sha512-crypt.c): Likewise.
15112 (CPPFLAGS-md5-crypt.c): Likewise.
15113 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
15114 (CFLAGS-stack_chk_fail_local.c): Likewise.
15115 (CFLAGS-backtrace.c): Likewise.
15116 (CFLAGS-sprintf_chk.c): Likewise.
15117 (CFLAGS-snprintf_chk.c): Likewise.
15118 (CFLAGS-vsprintf_chk.c): Likewise.
15119 (CFLAGS-vsnprintf_chk.c): Likewise.
15120 (CFLAGS-asprintf_chk.c): Likewise.
15121 (CFLAGS-vasprintf_chk.c): Likewise.
15122 (CFLAGS-obprintf_chk.c): Likewise.
15123 (CFLAGS-dprintf_chk.c): Likewise.
15124 (CFLAGS-vdprintf_chk.c): Likewise.
15125 (CFLAGS-printf_chk.c): Likewise.
15126 (CFLAGS-fprintf_chk.c): Likewise.
15127 (CFLAGS-vprintf_chk.c): Likewise.
15128 (CFLAGS-vfprintf_chk.c): Likewise.
15129 (CFLAGS-gets_chk.c): Likewise.
15130 (CFLAGS-fgets_chk.c): Likewise.
15131 (CFLAGS-fgets_u_chk.c): Likewise.
15132 (CFLAGS-fread_chk.c): Likewise.
15133 (CFLAGS-fread_u_chk.c): Likewise.
15134 (CFLAGS-swprintf_chk.c): Likewise.
15135 (CFLAGS-vswprintf_chk.c): Likewise.
15136 (CFLAGS-wprintf_chk.c): Likewise.
15137 (CFLAGS-fwprintf_chk.c): Likewise.
15138 (CFLAGS-vwprintf_chk.c): Likewise.
15139 (CFLAGS-vfwprintf_chk.c): Likewise.
15140 (CFLAGS-fgetws_chk.c): Likewise.
15141 (CFLAGS-fgetws_u_chk.c): Likewise.
15142 (CFLAGS-read_chk.c): Likewise.
15143 (CFLAGS-pread_chk.c): Likewise.
15144 (CFLAGS-pread64_chk.c): Likewise.
15145 (CFLAGS-recv_chk.c): Likewise.
15146 (CFLAGS-recvfrom_chk.c): Likewise.
15147 (CFLAGS-tst-longjmp_chk.c): Likewise.
15148 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
15149 (CFLAGS-tst-longjmp_chk2.c): Likewise.
15150 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
15151 (CFLAGS-tst-longjmp_chk3.c): Likewise.
15152 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15153 (CFLAGS-tst-chk1.c): Likewise.
15154 (CFLAGS-tst-chk2.c): Likewise.
15155 (CFLAGS-tst-chk3.c): Likewise.
15156 (CFLAGS-tst-chk4.cc): Likewise.
15157 (CFLAGS-tst-chk5.cc): Likewise.
15158 (CFLAGS-tst-chk6.cc): Likewise.
15159 (CFLAGS-tst-lfschk1.c): Likewise.
15160 (CFLAGS-tst-lfschk2.c): Likewise.
15161 (CFLAGS-tst-lfschk3.c): Likewise.
15162 (CFLAGS-tst-lfschk4.cc): Likewise.
15163 (CFLAGS-tst-lfschk5.cc): Likewise.
15164 (CFLAGS-tst-lfschk6.cc): Likewise.
15165 (CFLAGS-tst-ssp-1.c): Likewise.
15166 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
15167 (CFLAGS-scandir64.c): Likewise.
15168 (CFLAGS-scandir-tail.c): Likewise.
15169 (CFLAGS-scandir64-tail.c): Likewise.
15170 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
15171 (CFLAGS-dl-tunables.c): Likewise.
15172 (CFLAGS-dl-runtime.c): Likewise.
15173 (CFLAGS-dl-lookup.c): Likewise.
15174 (CFLAGS-dl-iterate-phdr.c): Likewise.
15175 (CFLAGS-vismain.c): Likewise.
15176 (CFLAGS-tst-linkall-static.c): Likewise.
15177 (CFLAGS-tst-linkall-static.c): Likewise.
15178 (CPPFLAGS-dl-load.c): Likewise.
15179 (CFLAGS-ldconfig.c): Likewise.
15180 (CFLAGS-dl-cache.c): Likewise.
15181 (CFLAGS-cache.c): Likewise.
15182 (CFLAGS-rtld.c): Likewise.
15183 (CFLAGS-multiload.c): Likewise.
15184 (CFLAGS-filtmod1.c): Likewise.
15185 (CFLAGS-tst-align.c): Likewise.
15186 (CFLAGS-tst-align2.c): Likewise.
15187 (CFLAGS-tst-alignmod.c): Likewise.
15188 (CFLAGS-tst-alignmod2.c): Likewise.
15189 (CPPFLAGS-tst-execstack.c): Likewise.
15190 (CFLAGS-tst-ptrguard1-static.c): Likewise.
15191 (CFLAGS-tst-latepthreadmod.c): Likewise.
15192 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
15193 (CFLAGS-getgrnam_r.c): Likewise.
15194 (CFLAGS-getgrent_r.c): Likewise.
15195 (CFLAGS-getgrent.c): Likewise.
15196 (CFLAGS-fgetgrent.c): Likewise.
15197 (CFLAGS-fgetgrent_r.c): Likewise.
15198 (CFLAGS-putgrent.c): Likewise.
15199 (CFLAGS-initgroups.c): Likewise.
15200 (CFLAGS-getgrgid.c): Likewise.
15201 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
15202 (CFLAGS-getsgent.c): Likewise.
15203 (CFLAGS-fgetsgent.c): Likewise.
15204 (CFLAGS-fgetsgent_r.c): Likewise.
15205 (CFLAGS-putsgent.c): Likewise.
15206 (CFLAGS-getsgnam.c): Likewise.
15207 (CFLAGS-getsgnam_r.c): Likewise.
15208 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
15209 (CFLAGS-iconv_charmap.c): Likewise.
15210 (CFLAGS-dummy-repertoire.c): Likewise.
15211 (CFLAGS-charmap.c): Likewise.
15212 (CFLAGS-linereader.c): Likewise.
15213 (CFLAGS-simple-hash.c): Likewise.
15214 (CFLAGS-gconv_conf.c): Likewise.
15215 (CFLAGS-iconvconfig.c): Likewise.
15216 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15217 (CFLAGS-gethstbyad.c): Likewise.
15218 (CFLAGS-gethstbynm_r.c): Likewise.
15219 (CFLAGS-gethstbynm.c): Likewise.
15220 (CFLAGS-gethstbynm2_r.c): Likewise.
15221 (CFLAGS-gethstbynm2.c): Likewise.
15222 (CFLAGS-gethstent_r.c): Likewise.
15223 (CFLAGS-gethstent.c): Likewise.
15224 (CFLAGS-rcmd.c): Likewise.
15225 (CFLAGS-getnetbynm_r.c): Likewise.
15226 (CFLAGS-getnetbynm.c): Likewise.
15227 (CFLAGS-getnetbyad_r.c): Likewise.
15228 (CFLAGS-getnetbyad.c): Likewise.
15229 (CFLAGS-getnetent_r.c): Likewise.
15230 (CFLAGS-getnetent.c): Likewise.
15231 (CFLAGS-getaliasent_r.c): Likewise.
15232 (CFLAGS-getaliasent.c): Likewise.
15233 (CFLAGS-getrpcent_r.c): Likewise.
15234 (CFLAGS-getrpcent.c): Likewise.
15235 (CFLAGS-getservent_r.c): Likewise.
15236 (CFLAGS-getservent.c): Likewise.
15237 (CFLAGS-getprtent_r.c): Likewise.
15238 (CFLAGS-getprtent.c): Likewise.
15239 (CFLAGS-either_ntoh.c): Likewise.
15240 (CFLAGS-either_hton.c): Likewise.
15241 (CFLAGS-getnetgrent.c): Likewise.
15242 (CFLAGS-getnetgrent_r.c): Likewise.
15243 (CFLAGS-tst-checks-posix.c): Likewise.
15244 (CFLAGS-tst-sockaddr.c): Likewise.
15245 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
15246 (CFLAGS-tst-translit.c): Likewise.
15247 (CFLAGS-tst-gettext2.c): Likewise.
15248 (CFLAGS-tst-codeset.c): Likewise.
15249 (CFLAGS-tst-gettext3.c): Likewise.
15250 (CFLAGS-tst-gettext4.c): Likewise.
15251 (CFLAGS-tst-gettext5.c): Likewise.
15252 (CFLAGS-tst-gettext6.c): Likewise.
15253 * io/Makefile (CFLAGS-open.c): Likewise.
15254 (CFLAGS-open64.c): Likewise.
15255 (CFLAGS-creat.c): Likewise.
15256 (CFLAGS-creat64.c): Likewise.
15257 (CFLAGS-fcntl.c): Likewise.
15258 (CFLAGS-poll.c): Likewise.
15259 (CFLAGS-ppoll.c): Likewise.
15260 (CFLAGS-lockf.c): Likewise.
15261 (CFLAGS-statfs.c): Likewise.
15262 (CFLAGS-fstatfs.c): Likewise.
15263 (CFLAGS-statvfs.c): Likewise.
15264 (CFLAGS-fstatvfs.c): Likewise.
15265 (CFLAGS-fts.c): Likewise.
15266 (CFLAGS-fts64.c): Likewise.
15267 (CFLAGS-ftw.c): Likewise.
15268 (CFLAGS-ftw64.c): Likewise.
15269 (CFLAGS-lockf.c): Likewise.
15270 (CFLAGS-posix_fallocate.c): Likewise.
15271 (CFLAGS-posix_fallocate64.c): Likewise.
15272 (CFLAGS-fallocate.c): Likewise.
15273 (CFLAGS-fallocate64.c): Likewise.
15274 (CFLAGS-read.c): Likewise.
15275 (CFLAGS-write.c): Likewise.
15276 (CFLAGS-test-stat.c): Likewise.
15277 (CFLAGS-test-lfs.c): Likewise.
15278 * libio/Makefile (CFLAGS-fileops.c): Likewise.
15279 (CFLAGS-fputc.c): Likewise.
15280 (CFLAGS-fputwc.c): Likewise.
15281 (CFLAGS-freopen64.c): Likewise.
15282 (CFLAGS-freopen.c): Likewise.
15283 (CFLAGS-fseek.c): Likewise.
15284 (CFLAGS-fseeko64.c): Likewise.
15285 (CFLAGS-fseeko.c): Likewise.
15286 (CFLAGS-ftello64.c): Likewise.
15287 (CFLAGS-ftello.c): Likewise.
15288 (CFLAGS-fwide.c): Likewise.
15289 (CFLAGS-genops.c): Likewise.
15290 (CFLAGS-getc.c): Likewise.
15291 (CFLAGS-getchar.c): Likewise.
15292 (CFLAGS-getwc.c): Likewise.
15293 (CFLAGS-getwchar.c): Likewise.
15294 (CFLAGS-iofclose.c): Likewise.
15295 (CFLAGS-iofflush.c): Likewise.
15296 (CFLAGS-iofgetpos64.c): Likewise.
15297 (CFLAGS-iofgetpos.c): Likewise.
15298 (CFLAGS-iofgets.c): Likewise.
15299 (CFLAGS-iofgetws.c): Likewise.
15300 (CFLAGS-iofputs.c): Likewise.
15301 (CFLAGS-iofputws.c): Likewise.
15302 (CFLAGS-iofread.c): Likewise.
15303 (CFLAGS-iofsetpos64.c): Likewise.
15304 (CFLAGS-iofsetpos.c): Likewise.
15305 (CFLAGS-ioftell.c): Likewise.
15306 (CFLAGS-iofwrite.c): Likewise.
15307 (CFLAGS-iogetdelim.c): Likewise.
15308 (CFLAGS-iogetline.c): Likewise.
15309 (CFLAGS-iogets.c): Likewise.
15310 (CFLAGS-iogetwline.c): Likewise.
15311 (CFLAGS-ioputs.c): Likewise.
15312 (CFLAGS-ioseekoff.c): Likewise.
15313 (CFLAGS-ioseekpos.c): Likewise.
15314 (CFLAGS-iosetbuffer.c): Likewise.
15315 (CFLAGS-iosetvbuf.c): Likewise.
15316 (CFLAGS-ioungetc.c): Likewise.
15317 (CFLAGS-ioungetwc.c): Likewise.
15318 (CFLAGS-oldfileops.c): Likewise.
15319 (CFLAGS-oldiofclose.c): Likewise.
15320 (CFLAGS-oldiofgetpos64.c): Likewise.
15321 (CFLAGS-oldiofgetpos.c): Likewise.
15322 (CFLAGS-oldiofsetpos64.c): Likewise.
15323 (CFLAGS-oldiofsetpos.c): Likewise.
15324 (CFLAGS-peekc.c): Likewise.
15325 (CFLAGS-putc.c): Likewise.
15326 (CFLAGS-putchar.c): Likewise.
15327 (CFLAGS-putwc.c): Likewise.
15328 (CFLAGS-putwchar.c): Likewise.
15329 (CFLAGS-rewind.c): Likewise.
15330 (CFLAGS-wfileops.c): Likewise.
15331 (CFLAGS-wgenops.c): Likewise.
15332 (CFLAGS-oldiofopen.c): Likewise.
15333 (CFLAGS-iofopen.c): Likewise.
15334 (CFLAGS-iofopen64.c): Likewise.
15335 (CFLAGS-oldtmpfile.c): Likewise.
15336 (CFLAGS-tst_putwc.c): Likewise.
15337 * locale/Makefile (CFLAGS-md5.c): Likewise.
15338 (CFLAGS-charmap.c): Likewise.
15339 (CFLAGS-locfile.c): Likewise.
15340 (CFLAGS-charmap-dir.c): Likewise.
15341 * login/Makefile (CFLAGS-grantpt.c): Likewise.
15342 (CFLAGS-getpt.c): Likewise.
15343 (CFLAGS-pt_chown.c): Likewise.
15344 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
15345 (CFLAGS-obstack.c): Likewise.
15346 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
15347 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
15348 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
15349 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
15350 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
15351 (CFLAGS-test-tgmath.c): Likewise.
15352 (CFLAGS-test-tgmath2.c): Likewise.
15353 (CFLAGS-test-tgmath-ret.c): Likewise.
15354 (CFLAGS-test-powl.c): Likewise.
15355 (CFLAGS-test-snan.c): Likewise.
15356 (CFLAGS-test-signgam-finite.c): Likewise.
15357 (CFLAGS-test-signgam-finite-c99.c): Likewise.
15358 (CFLAGS-test-signgam-finite-c11.c): Likewise.
15359 (CFLAGS-test-signgam-uchar.c): Likewise.
15360 (CFLAGS-test-signgam-uchar-init.c): Likewise.
15361 (CFLAGS-test-signgam-uchar-static.c): Likewise.
15362 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15363 (CFLAGS-test-signgam-uint.c): Likewise.
15364 (CFLAGS-test-signgam-uint-init.c): Likewise.
15365 (CFLAGS-test-signgam-uint-static.c): Likewise.
15366 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15367 (CFLAGS-test-signgam-ullong.c): Likewise.
15368 (CFLAGS-test-signgam-ullong-init.c): Likewise.
15369 (CFLAGS-test-signgam-ullong-static.c): Likewise.
15370 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15371 (CFLAGS-test-math-cxx11.cc): Likewise.
15372 (CFLAGS-test-math-isinff.cc): Likewise.
15373 (CFLAGS-test-math-iszero.cc): Likewise.
15374 (CFLAGS-test-math-issignaling.cc): Likewise.
15375 (CFLAGS-test-math-iscanonical.cc): Likewise.
15376 (CFLAGS-test-iszero-excess-precision.c): Likewise.
15377 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
15378 (CFLAGS-test-flt-eval-method.c): Likewise.
15379 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
15380 (CFLAGS-test-finite-macros.c): Likewise.
15381 * misc/Makefile (CFLAGS-select.c): Likewise.
15382 (CFLAGS-tsearch.c): Likewise.
15383 (CFLAGS-lsearch.c): Likewise.
15384 (CFLAGS-pselect.c): Likewise.
15385 (CFLAGS-readv.c): Likewise.
15386 (CFLAGS-writev.c): Likewise.
15387 (CFLAGS-preadv.c): Likewise.
15388 (CFLAGS-preadv64.c): Likewise.
15389 (CFLAGS-pwritev.c): Likewise.
15390 (CFLAGS-pwritev64.c): Likewise.
15391 (CFLAGS-preadv2.c): Likewise.
15392 (CFLAGS-preadv64v2.c): Likewise.
15393 (CFLAGS-pwritev2.c): Likewise.
15394 (CFLAGS-pwritev64v2.c): Likewise.
15395 (CFLAGS-usleep.c): Likewise.
15396 (CFLAGS-syslog.c): Likewise.
15397 (CFLAGS-error.c): Likewise.
15398 (CFLAGS-getpass.c): Likewise.
15399 (CFLAGS-mkstemp.c): Likewise.
15400 (CFLAGS-mkstemp64.c): Likewise.
15401 (CFLAGS-getsysstats.c): Likewise.
15402 (CFLAGS-getusershell.c): Likewise.
15403 (CFLAGS-err.c): Likewise.
15404 (CFLAGS-tst-tsearch.c): Likewise.
15405 (CFLAGS-msync.c): Likewise.
15406 (CFLAGS-fdatasync.c): Likewise.
15407 (CFLAGS-fsync.c): Likewise.
15408 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
15409 (CFLAGS-unwind.c): Likewise.
15410 (CFLAGS-unwind-forcedunwind.c): Likewise.
15411 (CFLAGS-pthread_cancel.c): Likewise.
15412 (CFLAGS-pthread_setcancelstate.c): Likewise.
15413 (CFLAGS-pthread_setcanceltype.c): Likewise.
15414 (CFLAGS-cancellation.c): Likewise.
15415 (CFLAGS-libc-cancellation.c): Likewise.
15416 (CFLAGS-pthread_exit.c): Likewise.
15417 (CFLAGS-forward.c): Likewise.
15418 (CFLAGS-pthread_testcancel.c): Likewise.
15419 (CFLAGS-pthread_join.c): Likewise.
15420 (CFLAGS-pthread_timedjoin.c): Likewise.
15421 (CFLAGS-pthread_once.c): Likewise.
15422 (CFLAGS-pthread_cond_wait.c): Likewise.
15423 (CFLAGS-sem_wait.c): Likewise.
15424 (CFLAGS-sem_timedwait.c): Likewise.
15425 (CFLAGS-fcntl.c): Likewise.
15426 (CFLAGS-lockf.c): Likewise.
15427 (CFLAGS-pread.c): Likewise.
15428 (CFLAGS-pread64.c): Likewise.
15429 (CFLAGS-pwrite.c): Likewise.
15430 (CFLAGS-pwrite64.c): Likewise.
15431 (CFLAGS-wait.c): Likewise.
15432 (CFLAGS-waitpid.c): Likewise.
15433 (CFLAGS-sigwait.c): Likewise.
15434 (CFLAGS-msgrcv.c): Likewise.
15435 (CFLAGS-msgsnd.c): Likewise.
15436 (CFLAGS-tcdrain.c): Likewise.
15437 (CFLAGS-open.c): Likewise.
15438 (CFLAGS-open64.c): Likewise.
15439 (CFLAGS-pause.c): Likewise.
15440 (CFLAGS-recv.c): Likewise.
15441 (CFLAGS-send.c): Likewise.
15442 (CFLAGS-accept.c): Likewise.
15443 (CFLAGS-sendto.c): Likewise.
15444 (CFLAGS-connect.c): Likewise.
15445 (CFLAGS-recvfrom.c): Likewise.
15446 (CFLAGS-recvmsg.c): Likewise.
15447 (CFLAGS-sendmsg.c): Likewise.
15448 (CFLAGS-close.c): Likewise.
15449 (CFLAGS-read.c): Likewise.
15450 (CFLAGS-write.c): Likewise.
15451 (CFLAGS-nanosleep.c): Likewise.
15452 (CFLAGS-sigsuspend.c): Likewise.
15453 (CFLAGS-msync.c): Likewise.
15454 (CFLAGS-fdatasync.c): Likewise.
15455 (CFLAGS-fsync.c): Likewise.
15456 (CFLAGS-pt-system.c): Likewise.
15457 (CFLAGS-tst-cleanup2.c): Likewise.
15458 (CFLAGS-tst-cleanupx2.c): Likewise.
15459 (CFLAGS-flockfile.c): Likewise.
15460 (CFLAGS-ftrylockfile.c): Likewise.
15461 (CFLAGS-funlockfile.c): Likewise.
15462 (CFLAGS-tst-initializers1.c): Likewise.
15463 (CFLAGS-tst-initializers1-c89.c): Likewise.
15464 (CFLAGS-tst-initializers1-c99.c): Likewise.
15465 (CFLAGS-tst-initializers1-c11.c): Likewise.
15466 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
15467 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
15468 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
15469 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
15470 (CFLAGS-nscd_getgr_r.c): Likewise.
15471 (CFLAGS-nscd_gethst_r.c): Likewise.
15472 (CFLAGS-nscd_getai.c): Likewise.
15473 (CFLAGS-nscd_initgroups.c): Likewise.
15474 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
15475 (CFLAGS-pause.c): Likewise.
15476 (CFLAGS-pread.c): Likewise.
15477 (CFLAGS-pread64.c): Likewise.
15478 (CFLAGS-pwrite.c): Likewise.
15479 (CFLAGS-pwrite64.c): Likewise.
15480 (CFLAGS-sleep.c): Likewise.
15481 (CFLAGS-wait.c): Likewise.
15482 (CFLAGS-waitid.c): Likewise.
15483 (CFLAGS-waitpid.c): Likewise.
15484 (CFLAGS-getopt.c): Likewise.
15485 (CFLAGS-wordexp.c): Likewise.
15486 (CFLAGS-sysconf.c): Likewise.
15487 (CFLAGS-pathconf.c): Likewise.
15488 (CFLAGS-fpathconf.c): Likewise.
15489 (CFLAGS-spawn.c): Likewise.
15490 (CFLAGS-spawnp.c): Likewise.
15491 (CFLAGS-spawni.c): Likewise.
15492 (CFLAGS-glob.c): Likewise.
15493 (CFLAGS-glob64.c): Likewise.
15494 (CFLAGS-getconf.c): Likewise.
15495 (CFLAGS-nanosleep.c): Likewise.
15496 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
15497 (CFLAGS-getpwent.c): Likewise.
15498 (CFLAGS-getpw.c): Likewise.
15499 (CFLAGS-fgetpwent_r.c): Likewise.
15500 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
15501 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
15502 (CFLAGS-mq_timedreceive.c): Likewise.
15503 (CFLAGS-mq_timedsend.c): Likewise.
15504 (CFLAGS-clock_nanosleep.c): Likewise.
15505 (CFLAGS-librt-cancellation.c): Likewise.
15506 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
15507 (CFLAGS-getspent.c): Likewise.
15508 (CFLAGS-fgetspent.c): Likewise.
15509 (CFLAGS-fgetspent_r.c): Likewise.
15510 (CFLAGS-putspent.c): Likewise.
15511 (CFLAGS-getspnam.c): Likewise.
15512 (CFLAGS-getspnam_r.c): Likewise.
15513 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
15514 (CFLAGS-sigsuspend.c): Likewise.
15515 (CFLAGS-sigtimedwait.c): Likewise.
15516 (CFLAGS-sigwait.c): Likewise.
15517 (CFLAGS-sigwaitinfo.c): Likewise.
15518 (CFLAGS-sigreturn.c): Likewise.
15519 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
15520 (CFLAGS-vfwprintf.c): Likewise.
15521 (CFLAGS-tmpfile.c): Likewise.
15522 (CFLAGS-tmpfile64.c): Likewise.
15523 (CFLAGS-tempname.c): Likewise.
15524 (CFLAGS-psignal.c): Likewise.
15525 (CFLAGS-vprintf.c): Likewise.
15526 (CFLAGS-cuserid.c): Likewise.
15527 (CFLAGS-errlist.c): Likewise.
15528 (CFLAGS-siglist.c): Likewise.
15529 (CFLAGS-scanf15.c): Likewise.
15530 (CFLAGS-scanf17.c): Likewise.
15531 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
15532 (CFLAGS-msort.c): Likewise.
15533 (CFLAGS-qsort.c): Likewise.
15534 (CFLAGS-system.c): Likewise.
15535 (CFLAGS-fmtmsg.c): Likewise.
15536 (CFLAGS-strfmon.c): Likewise.
15537 (CFLAGS-strfmon_l.c): Likewise.
15538 (CFLAGS-strfromd.c): Likewise.
15539 (CFLAGS-strfromf.c): Likewise.
15540 (CFLAGS-strfroml.c): Likewise.
15541 (CFLAGS-tst-bsearch.c): Likewise.
15542 (CFLAGS-tst-qsort.c): Likewise.
15543 (CFLAGS-tst-makecontext2.c): Likewise.
15544 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
15545 (CFLAGS-xnlm_prot.c): Likewise.
15546 (CFLAGS-xrstat.c): Likewise.
15547 (CFLAGS-xyppasswd.c): Likewise.
15548 (CFLAGS-xklm_prot.c): Likewise.
15549 (CFLAGS-xrex.c): Likewise.
15550 (CFLAGS-xsm_inter.c): Likewise.
15551 (CFLAGS-xmount.c): Likewise.
15552 (CFLAGS-xrusers.c): Likewise.
15553 (CFLAGS-xspray.c): Likewise.
15554 (CFLAGS-xnfs_prot.c): Likewise.
15555 (CFLAGS-xrquota.c): Likewise.
15556 (CFLAGS-xkey_prot.c): Likewise.
15557 (CFLAGS-auth_unix.c): Likewise.
15558 (CFLAGS-key_call.c): Likewise.
15559 (CFLAGS-pmap_rmt.c): Likewise.
15560 (CFLAGS-clnt_perr.c): Likewise.
15561 (CFLAGS-openchild.c): Likewise.
15562 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
15563 (CFLAGS-msgsnd.c): Likewise.
15564 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
15565 * time/Makefile (CFLAGS-tzfile.c): Likewise.
15566 (CFLAGS-tzset.c): Likewise.
15567 (CFLAGS-getdate.c): Likewise.
15568 (CFLAGS-test_time.c): Likewise.
15569 (CPPFLAGS-tst-tzname.c): Likewise.
15570 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
15571 (CFLAGS-zic.c): Likewise.
15572 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
15573 (CFLAGS-wcswidth.c): Likewise.
15574 (CFLAGS-wcstol.c): Likewise.
15575 (CFLAGS-wcstoul.c): Likewise.
15576 (CFLAGS-wcstoll.c): Likewise.
15577 (CFLAGS-wcstoull.c): Likewise.
15578 (CFLAGS-wcstod.c): Likewise.
15579 (CFLAGS-wcstold.c): Likewise.
15580 (CFLAGS-wcstof128.c): Likewise.
15581 (CFLAGS-wcstof.c): Likewise.
15582 (CFLAGS-wcstol_l.c): Likewise.
15583 (CFLAGS-wcstoul_l.c): Likewise.
15584 (CFLAGS-wcstoll_l.c): Likewise.
15585 (CFLAGS-wcstoull_l.c): Likewise.
15586 (CFLAGS-wcstod_l.c): Likewise.
15587 (CFLAGS-wcstold_l.c): Likewise.
15588 (CFLAGS-wcstof128_l.c): Likewise.
15589 (CFLAGS-wcstof_l.c): Likewise.
15590 (CPPFLAGS-tst-wchar-h.c): Likewise.
15591 (CPPFLAGS-wcstold_l.c): Likewise.
15592 ---
15593 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
15594
15595 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
15596
15597 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15598 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15599
15600 * manual/tunables.texi (Hardware Capability Tunables): Document
15601 glibc.tune.cached_memopt.
15602 * sysdeps/powerpc/cpu-features.c: New file.
15603 * sysdeps/powerpc/cpu-features.h: New file.
15604 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
15605 _dl_powerpc_cpu_features.
15606 * sysdeps/powerpc/dl-tunables.list: New file.
15607 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
15608 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15609 (INIT_ARCH): Initialize use_aligned_memopt.
15610 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
15611 IS_IN(rtld))]: Restrict dl_platform_init availability and
15612 initialize CPU features used by tunables.
15613 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
15614 Add memcpy-power8-cached.
15615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
15616 __memcpy_power8_cached.
15617 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
15618 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
15619 New file.
15620
15621 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
15622
15623 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
15624 (CFLAGS-noinl-tester.c): Likewise.
15625 (CFLAGS-tst-strlen.c): Likewise.
15626 (CFLAGS-stratcliff.c): Likewise.
15627 (CFLAGS-test-ffs.c): Likewise.
15628 (CFLAGS-tst-inlcall.c): Likewise.
15629 (CFLAGS-tst-xbzero-opt.c): Likewise.
15630 (CFLAGS-memcpy.c): Likewise.
15631 (CFLAGS-wordcopy.c): Likewise.
15632
15633 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15634
15635 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
15636 Store r15 on stack and add cfi rule.
15637 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
15638 Likewise.
15639
15640 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
15641
15642 [BZ #22577]
15643 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
15644 call.
15645
15646 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
15647
15648 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15649 Add s_sinf-sse2 and s_sinf-fma.
15650 (CFLAGS-s_sinf-fma.c): New.
15651 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
15652 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
15653 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
15654
15655 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
15656
15657 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
15658
15659 2017-12-07 Joseph Myers <joseph@codesourcery.com>
15660
15661 [BZ #22568]
15662 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
15663 part of result to imaginary part of argument if it is zero and the
15664 real part of the argument is not finite.
15665 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
15666 of result to real part of argument if it is zero and the imaginary
15667 part of the argument is not finite.
15668
15669 2017-12-07 Mike FABIAN <mfabian@redhat.com>
15670
15671 [BZ #22524]
15672 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
15673 and to the list of locales to be built for testing.
15674 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
15675 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
15676 and build the collation rules upon that.
15677
15678 2017-12-07 Joseph Myers <joseph@codesourcery.com>
15679
15680 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
15681 * manual/math.texi (Mathematics): Document support for _Float32.
15682 * math/Makefile (test-types): Add float32.
15683 * math/Versions (GLIBC_2.27): Add _Float32 functions.
15684 * stdlib/Versions (GLIBC_2.27): Likewise.
15685 * wcsmbs/Versions (GLIBC_2.27): Likewise.
15686 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
15687 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15688 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15689 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15690 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15691 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15692 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15693 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15694 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15695 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15696 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15697 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15698 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15699 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15700 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15701 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15702 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15703 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15704 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15705 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15706 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
15707 Likewise.
15708 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15709 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15710 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15711 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15712 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15714 Likewise.
15715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15716 Likewise.
15717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15718 Likewise.
15719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15720 Likewise.
15721
15722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
15723 Likewise.
15724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
15725 Likewise.
15726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15727 Likewise.
15728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15729 Likewise.
15730 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15731 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15732 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15733 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15734 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15735 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15736 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15737 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15738 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15739 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15741 Likewise.
15742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15743 Likewise.
15744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15745 Likewise.
15746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15747 Likewise.
15748 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15749 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15750 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15751 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15752 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15753 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15754 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15755 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15756
15757 2017-12-06 Joseph Myers <joseph@codesourcery.com>
15758
15759 * stdlib/strtof.c: Include <bits/floatn.h>
15760 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
15761 and later undefine as macro. Define as weak alias if
15762 [!USE_WIDE_CHAR].
15763 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
15764 and later undefine as macro. Define as weak alias if
15765 [USE_WIDE_CHAR].
15766 * stdlib/strtof_l.c: Include <bits/floatn.h>
15767 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
15768 and later undefine as macro. Define as weak alias if
15769 [!USE_WIDE_CHAR].
15770 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
15771 and later undefine as macro. Define as weak alias if
15772 [USE_WIDE_CHAR].
15773
15774 * stdlib/strfromf.c: Include <bits/floatn.h>.
15775 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
15776 and later undefine as macro and define as weak alias.
15777
15778 * math/test-float32.h: New file.
15779
15780 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
15781 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
15782 (libm_alias_float_other_r): Create f32 alias.
15783 (libm_alias_float_r): Use semicolon before call to
15784 libm_alias_float_other_r.
15785
15786 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
15787 second argument to libm_alias_float_other.
15788 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
15789 second argument to libm_alias_float_other.
15790 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
15791 argument to libm_alias_float_other.
15792
15793 [BZ #22561]
15794 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
15795 real part of result for argument 0 + i * NaN.
15796 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
15797 results for tests of 0 + i * NaN.
15798
15799 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15800
15801 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15802
15803 2017-12-06 David S. Miller <davem@davemloft.net>
15804
15805 * sysdeps/sparc/fpu/libm-test-ulps: Update
15806 exp_{downward,towardzero,upward} ulps.
15807
15808 2017-12-06 Joseph Myers <joseph@codesourcery.com>
15809
15810 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
15811 variables static.
15812
15813 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
15814 (Y0_2D): Likewise.
15815 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
15816 (Y0_2D): Likewise.
15817 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
15818 (Y0_2D): Likewise.
15819 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
15820 (Y0_2D): Likewise.
15821
15822 2017-12-06 Mike FABIAN <mfabian@redhat.com>
15823
15824 [BZ #22515]
15825 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
15826 and to the list of locales to be built for testing.
15827 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
15828 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
15829 and build the collation rules upon that.
15830
15831 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15832
15833 * NEWS: Add sinf to list of optimized functions.
15834
15835 2017-12-06 Joseph Myers <joseph@codesourcery.com>
15836
15837 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
15838 (__HAVE_FLOAT32X): Likewise.
15839 * manual/math.texi (Mathematics): Document support for _Float64
15840 and _Float32x.
15841 * math/Makefile (test-types): Add float64 and float32x.
15842 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
15843 functions.
15844 * stdlib/Versions (GLIBC_2.27): Likewise.
15845 * wcsmbs/Versions (GLIBC_2.27): Likewise.
15846 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
15847 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15848 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15849 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15850 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15851 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15852 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15853 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15854 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15855 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15856 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15857 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15858 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15859 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15860 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15861 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15862 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15863 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15864 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15865 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15866 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
15867 Likewise.
15868 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15869 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15870 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15871 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15872 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15874 Likewise.
15875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15876 Likewise.
15877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15878 Likewise.
15879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15880 Likewise.
15881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
15882 Likewise.
15883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
15884 Likewise.
15885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15886 Likewise.
15887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15888 Likewise.
15889 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15890 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15891 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15892 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15893 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15894 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15895 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15896 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15897 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15898 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15900 Likewise.
15901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15902 Likewise.
15903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15904 Likewise.
15905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15906 Likewise.
15907 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15908 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15909 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15910 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15911 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15912 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15913 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15914 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15915
15916 2017-12-05 Joseph Myers <joseph@codesourcery.com>
15917
15918 * bits/floatn-common.h: Include <bits/long-double.h>.
15919 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15920 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
15921 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15922 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
15923 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
15924 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
15925 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
15926 (__builtin_huge_valf64): Use __builtin_huge_vall.
15927 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
15928 (__builtin_inff64): Use __builtin_infl.
15929 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
15930 (__builtin_nanf64): Use __builtin_nanl.
15931 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
15932 (__builtin_nansf64): Use __builtin_nansl.
15933
15934 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
15935 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15936 Carlos O'Donnell <carlos@redhat.com>
15937
15938 * elf/dl-tunables.list: Add elision parameters.
15939 * manual/tunables.texi: Add entries about elision tunable.
15940 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
15941 Add callback functions to dynamically enable/disable elision.
15942 Add multiple callbacks functions to set elision parameters.
15943 Deleted __libc_enable_secure check.
15944 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
15945 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
15946 * configure: Regenerated.
15947 * configure.ac: Option enable_lock_elision was deleted.
15948 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
15949 * config.make.in: Remove references to enable_lock_elision.
15950 * manual/install.texi: Elision configure option was removed.
15951 * INSTALL: Regenerated to remove enable_lock_elision.
15952 * nptl/Makefile:
15953 Disable elision so it can verify error case for destroying a mutex.
15954 * sysdeps/powerpc/nptl/elide.h:
15955 Cleanup ENABLE_LOCK_ELISION check.
15956 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
15957 * sysdeps/s390/configure: Regenerated.
15958 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
15959 * nptl/tst-mutex8.c:
15960 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
15961 * sysdeps/powerpc/powerpc32/sysdep.h:
15962 Deleted all ENABLE_LOCK_ELISION checks.
15963 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15964 * sysdeps/powerpc/sysdep.h: Likewise.
15965 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
15966 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
15967 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
15968 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
15969 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15970 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
15971 enable-lock-elision.
15972
15973 2017-12-05 Joseph Myers <joseph@codesourcery.com>
15974
15975 * stdlib/strtod.c: Include <bits/floatn.h>.
15976 (BUILD_DOUBLE): New macro.
15977 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
15978 (strtof64): Define and later undefine as macro. Define as weak
15979 alias if [!USE_WIDE_CHAR].
15980 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
15981 (wcstof64): Define and later undefine as macro. Define as weak
15982 alias if [USE_WIDE_CHAR].
15983 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
15984 (strtof32x): Define and later undefine as macro. Define as weak
15985 alias if [!USE_WIDE_CHAR].
15986 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
15987 (wcstof32x): Define and later undefine as macro. Define as weak
15988 alias if [USE_WIDE_CHAR].
15989 * stdlib/strtod_l.c: Include <bits/floatn.h>.
15990 (BUILD_DOUBLE): New macro.
15991 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
15992 (strtof64_l): Define and later undefine as macro. Define as weak
15993 alias if [!USE_WIDE_CHAR].
15994 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
15995 (wcstof64_l): Define and later undefine as macro. Define as weak
15996 alias if [USE_WIDE_CHAR].
15997 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
15998 (strtof32x_l): Define and later undefine as macro. Define as weak
15999 alias if [!USE_WIDE_CHAR].
16000 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
16001 (wcstof32x_l): Define and later undefine as macro. Define as weak
16002 alias if [USE_WIDE_CHAR].
16003
16004 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16005
16006 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
16007 (reduced): Use ones as double instead of integer.
16008
16009 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
16010
16011 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
16012
16013 2017-12-05 Joseph Myers <joseph@codesourcery.com>
16014
16015 * stdlib/strfromd.c: Include <bits/floatn.h>.
16016 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
16017 and later undefine as macro and define as weak alias.
16018 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
16019 Likewise.
16020
16021 * math/test-float32x.h: New file.
16022 * math/test-float64.h: Likewise.
16023
16024 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
16025 (libm_alias_double_other_r_f64): New macro.
16026 (libm_alias_double_other_r_f32x): Likewise.
16027 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
16028 libm_alias_double_other_r_f32x.
16029 (libm_alias_double_r): Use semicolon before call to
16030 libm_alias_double_other_r.
16031 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
16032 <bits/floatn.h>.
16033 (libm_alias_double_other_r_f64): New macro.
16034 (libm_alias_double_other_r_f32x): Likewise.
16035 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
16036 libm_alias_double_other_r_f32x.
16037
16038 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
16039
16040 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
16041 int.
16042 (SINF_FUNC): Likewise. Replace floor with simple casts.
16043
16044 2017-12-05 Mike FABIAN <mfabian@redhat.com>
16045
16046 [BZ #22517]
16047 * localedata/Makefile: Add et_EE.UTF-8 to test-input
16048 and to the list of locales to be built for testing.
16049 * localedata/et_EE.UTF-8.in: New file for testing the collation.
16050 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
16051 and build the collation rules upon that.
16052
16053 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
16054
16055 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
16056 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
16057 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
16058 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
16059 instead of __insn__xxx.
16060 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
16061 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
16062 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
16063 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
16064 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
16065 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
16066
16067 2017-12-05 Florian Weimer <fweimer@redhat.com>
16068
16069 Linux: Implement interfaces for memory protection keys
16070 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
16071 xsignal, xsysconf.
16072 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
16073 * support/xunistd.h (xsysconf): Declare.
16074 * support/xraise.c: New file.
16075 * support/xsigaction.c: Likewise.
16076 * support/xsignal.c: Likewise.
16077 * support/xsysconf.c: Likewise.
16078 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
16079 pkey_set, pkey_get, pkey_mprotect.
16080 [misc] (tests): Add tst-pkey.
16081 (tst-pkey): Link with -lpthread.
16082 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
16083 pkey_free, pkey_set, pkey_get, pkey_mprotect.
16084 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
16085 (PKEY_DISABLE_WRITE): Define.
16086 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
16087 Declare.
16088 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
16089 (SEGV_PKUERR): Add.
16090 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
16091 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
16092 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
16093 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
16094 Add.
16095 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
16096 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
16097 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
16098 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
16099 * sysdeps/unix/sysv/linux/**.abilist: Update.
16100
16101 2017-12-05 Florian Weimer <fweimer@redhat.com>
16102
16103 * support/tst-test_compare.c (subprocess): Use long long instead
16104 of long argument for consistent type width across 32-bit and
16105 64-bit architectures.
16106 (do_test): Adjust expected output.
16107
16108 2017-12-05 Joseph Myers <joseph@codesourcery.com>
16109
16110 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
16111 (cosf): Define using libm_alias_float.
16112 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
16113 (fabsf): Define using libm_alias_float.
16114 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
16115 (fmaf): Define using libm_alias_float.
16116 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
16117 (rintf): Define using libm_alias_float.
16118 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
16119 (sinf): Define using libm_alias_float.
16120 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
16121 <libm-alias-float.h>.
16122 (modff): Define using libm_alias_float.
16123 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
16124 <libm-alias-float.h>.
16125 (logbf): Define using libm_alias_float.
16126 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
16127 <libm-alias-float.h>.
16128 (ceilf): Define using libm_alias_float.
16129 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
16130 <libm-alias-float.h>.
16131 (copysignf): Define using libm_alias_float.
16132 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
16133 <libm-alias-float.h>.
16134 (floorf): Define using libm_alias_float.
16135 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
16136 <libm-alias-float.h>.
16137 (llrintf): Define using libm_alias_float.
16138 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
16139 <libm-alias-float.h>.
16140 (llroundf): Define using libm_alias_float.
16141 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
16142 <libm-alias-float.h>.
16143 (lrintf): Define using libm_alias_float.
16144 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
16145 <libm-alias-float.h>.
16146 (lroundf): Define using libm_alias_float.
16147 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
16148 <libm-alias-float.h>.
16149 (nearbyintf): Define using libm_alias_float.
16150 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
16151 <libm-alias-float.h>.
16152 (rintf): Define using libm_alias_float.
16153 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
16154 <libm-alias-float.h>.
16155 (roundf): Define using libm_alias_float.
16156 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
16157 <libm-alias-float.h>.
16158 (truncf): Define using libm_alias_float.
16159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
16160 Include <libm-alias-float.h>.
16161 (ceilf): Define using libm_alias_float.
16162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
16163 Include <libm-alias-float.h>.
16164 (copysignf): Define using libm_alias_float.
16165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
16166 Include <libm-alias-float.h>.
16167 (floorf): Define using libm_alias_float.
16168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
16169 Include <libm-alias-float.h>.
16170 (llrintf): Define using libm_alias_float.
16171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
16172 Include <libm-alias-float.h>.
16173 (llroundf): Define using libm_alias_float.
16174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
16175 Include <libm-alias-float.h>.
16176 (logbf): Define using libm_alias_float.
16177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
16178 Include <libm-alias-float.h>.
16179 (lrintf): Define using libm_alias_float.
16180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
16181 Include <libm-alias-float.h>.
16182 (lroundf): Define using libm_alias_float.
16183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
16184 Include <libm-alias-float.h>.
16185 (modff): Define using libm_alias_float.
16186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
16187 Include <libm-alias-float.h>.
16188 (roundf): Define using libm_alias_float.
16189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
16190 Include <libm-alias-float.h>.
16191 (truncf): Define using libm_alias_float.
16192 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
16193 <libm-alias-float.h>.
16194 (llrintf): Define using libm_alias_float.
16195 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
16196 <libm-alias-float.h>.
16197 (llroundf): Define using libm_alias_float.
16198 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
16199 <libm-alias-float.h>.
16200 (ceilf): Define using libm_alias_float.
16201 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
16202 <libm-alias-float.h>.
16203 (floorf): Define using libm_alias_float.
16204 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
16205 <libm-alias-float.h>.
16206 (llroundf): Define using libm_alias_float.
16207 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
16208 <libm-alias-float.h>.
16209 (lroundf): Define using libm_alias_float.
16210 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
16211 <libm-alias-float.h>.
16212 (roundf): Define using libm_alias_float.
16213 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
16214 <libm-alias-float.h>.
16215 (truncf): Define using libm_alias_float.
16216 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
16217 <libm-alias-float.h>.
16218 (copysignf): Define using libm_alias_float.
16219 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
16220 <libm-alias-float.h>.
16221 (llrintf): Define using libm_alias_float.
16222 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
16223 <libm-alias-float.h>.
16224 (llroundf): Define using libm_alias_float.
16225 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
16226 <libm-alias-float.h>.
16227 (lrintf): Define using libm_alias_float.
16228 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
16229 <libm-alias-float.h>.
16230 (lroundf): Define using libm_alias_float.
16231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
16232 <libm-alias-float.h>.
16233 (ceilf): Define using libm_alias_float.
16234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
16235 <libm-alias-float.h>.
16236 (copysignf): Define using libm_alias_float.
16237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
16238 <libm-alias-float.h>.
16239 (cosf): Define using libm_alias_float.
16240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
16241 <libm-alias-float.h>.
16242 (floorf): Define using libm_alias_float.
16243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
16244 <libm-alias-float.h>.
16245 (llrintf): Define using libm_alias_float.
16246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
16247 <libm-alias-float.h>.
16248 (llroundf): Define using libm_alias_float.
16249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
16250 <libm-alias-float.h>.
16251 (logbf): Define using libm_alias_float.
16252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
16253 <libm-alias-float.h>.
16254 (modff): Define using libm_alias_float.
16255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
16256 <libm-alias-float.h>.
16257 (roundf): Define using libm_alias_float.
16258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
16259 <libm-alias-float.h>.
16260 (sinf): Define using libm_alias_float.
16261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
16262 <libm-alias-float.h>.
16263 (truncf): Define using libm_alias_float.
16264 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
16265 <libm-alias-float.h>.
16266 (ceilf): Define using libm_alias_float.
16267 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
16268 <libm-alias-float.h>.
16269 (copysignf): Define using libm_alias_float.
16270 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
16271 <libm-alias-float.h>.
16272 (floorf): Define using libm_alias_float.
16273 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
16274 <libm-alias-float.h>.
16275 (llrintf): Define using libm_alias_float.
16276 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
16277 <libm-alias-float.h>.
16278 (llroundf): Define using libm_alias_float.
16279 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
16280 <libm-alias-float.h>.
16281 (nearbyintf): Define using libm_alias_float.
16282 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
16283 <libm-alias-float.h>.
16284 (rintf): Define using libm_alias_float.
16285 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
16286 <libm-alias-float.h>.
16287 (roundf): Define using libm_alias_float.
16288 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
16289 <libm-alias-float.h>.
16290 (truncf): Define using libm_alias_float.
16291 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
16292 <libm-alias-float.h>.
16293 (ceilf): Define using libm_alias_float.
16294 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
16295 <libm-alias-float.h>.
16296 (floorf): Define using libm_alias_float.
16297 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
16298 <libm-alias-float.h>.
16299 (llroundf): Define using libm_alias_float.
16300 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
16301 <libm-alias-float.h>.
16302 (roundf): Define using libm_alias_float.
16303 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
16304 <libm-alias-float.h>.
16305 (truncf): Define using libm_alias_float.
16306 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
16307 <libm-alias-float.h>.
16308 (copysignf): Define using libm_alias_float.
16309 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
16310 <libm-alias-float.h>.
16311 (llrintf): Define using libm_alias_float.
16312 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
16313 <libm-alias-float.h>.
16314 (llroundf): Define using libm_alias_float.
16315 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
16316 <libm-alias-float.h>.
16317 (cosf): Define using libm_alias_float.
16318 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
16319 <libm-alias-float.h>.
16320 (llrintf): Define using libm_alias_float.
16321 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
16322 <libm-alias-float.h>.
16323 (llroundf): Define using libm_alias_float.
16324 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
16325 <libm-alias-float.h>.
16326 (sinf): Define using libm_alias_float.
16327
16328 2017-12-04 Florian Weimer <fweimer@redhat.com>
16329
16330 * support/check.h (TEST_COMPARE): Define.
16331 (support_test_compare_failure): Declare.
16332 * support/Makefile (libsupport-routines): Add
16333 support_test_compare_failure.
16334 (tests): Add tst-test_compare.
16335 * support /support_test_compare_failure.c: New file.
16336 * support/tst-test_compare.c: Likewise.
16337
16338 2017-12-04 Mike FABIAN <mfabian@redhat.com>
16339
16340 [BZ #22527]
16341 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
16342 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
16343 available, this rewrite of the collation rules does reproduce
16344 the test file in the same order.
16345
16346 2017-12-04 Mike FABIAN <mfabian@redhat.com>
16347
16348 [BZ #10580]
16349 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
16350 digraphs in the month and day names. Using single code points for
16351 digraphs is deprecated. While there are dedicated Unicode
16352 codepoints, for the digraphs, these are included for backwards
16353 compatibility and modern texts use a sequence of Basic Latin
16354 characters. See: https://www.unicode.org/faq/ligature_digraph.html
16355 This makes the month and day names agree exactly with CLDR now,
16356 CLDR does not use the single code points for the digraphs either.
16357
16358 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
16359
16360 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
16361
16362 2017-12-04 Joseph Myers <joseph@codesourcery.com>
16363
16364 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
16365 of floor.
16366
16367 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
16368
16369 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
16370 Define only for libc.so.
16371
16372 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
16373
16374 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16375 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
16376 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
16377 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
16378 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16379
16380 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16381
16382 [BZ #5997]
16383 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
16384
16385 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
16386
16387 [BZ libc/19170]
16388 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
16389 PREINIT_FUNCTION_WEAK is nonzero.
16390 (gmon_initializer): New function. Put procedure label for it in
16391 .init_array section.
16392 (_init): Don't call PREINIT_FUNCTION.
16393 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
16394 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
16395 value when map argument is null.
16396
16397 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
16398 depi instruction from PIC pc-relative sequence.
16399 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
16400 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
16401 (elf_machine_load_address): Likewise.
16402 (elf_machine_runtime_setup): Likewise.
16403
16404 2017-12-02 Joseph Myers <joseph@codesourcery.com>
16405
16406 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
16407 <libm-alias-double.h>.
16408 (logb): Define using libm_alias_double.
16409 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
16410 <libm-alias-double.h>.
16411 (copysign): Define using libm_alias_double.
16412 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
16413 <libm-alias-double.h>.
16414 (llrint): Define using libm_alias_double.
16415 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
16416 <libm-alias-double.h>.
16417 (llround): Define using libm_alias_double.
16418 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
16419 <libm-alias-double.h>.
16420 (lrint): Define using libm_alias_double.
16421 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
16422 <libm-alias-double.h>.
16423 (lround): Define using libm_alias_double.
16424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
16425 Include <libm-alias-double.h>.
16426 (copysign): Define using libm_alias_double.
16427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
16428 Include <libm-alias-double.h>.
16429 (llrint): Define using libm_alias_double.
16430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
16431 Include <libm-alias-double.h>.
16432 (llround): Define using libm_alias_double.
16433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
16434 <libm-alias-double.h>.
16435 (logb): Define using libm_alias_double.
16436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
16437 Include <libm-alias-double.h>.
16438 (lrint): Define using libm_alias_double.
16439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
16440 Include <libm-alias-double.h>.
16441 (lround): Define using libm_alias_double.
16442 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
16443 <libm-alias-double.h>.
16444 (llrint): Define using libm_alias_double.
16445 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
16446 <libm-alias-double.h>.
16447 (llround): Define using libm_alias_double.
16448 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
16449 <libm-alias-double.h>.
16450 (llround): Define using libm_alias_double.
16451 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
16452 <libm-alias-double.h>.
16453 (lround): Define using libm_alias_double.
16454 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
16455 <libm-alias-double.h>.
16456 (copysign): Define using libm_alias_double.
16457 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
16458 <libm-alias-double.h>.
16459 (llrint): Define using libm_alias_double.
16460 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
16461 <libm-alias-double.h>.
16462 (llround): Define using libm_alias_double.
16463 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
16464 <libm-alias-double.h>.
16465 (lrint): Define using libm_alias_double.
16466 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
16467 <libm-alias-double.h>.
16468 (lround): Define using libm_alias_double.
16469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
16470 <libm-alias-double.h>.
16471 (copysign): Define using libm_alias_double.
16472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
16473 <libm-alias-double.h>.
16474 (llrint): Define using libm_alias_double.
16475 (lrint): Likewise.
16476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
16477 <libm-alias-double.h>.
16478 (llround): Define using libm_alias_double.
16479 (lround): Likewise.
16480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
16481 <libm-alias-double.h>.
16482 (logb): Define using libm_alias_double.
16483 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
16484 <libm-alias-double.h>.
16485 (copysign): Define using libm_alias_double.
16486 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
16487 <libm-alias-double.h>.
16488 (llrint): Define using libm_alias_double.
16489 (lrint): Likewise.
16490 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
16491 <libm-alias-double.h>.
16492 (llround): Define using libm_alias_double.
16493 (lround): Likewise.
16494 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
16495 <libm-alias-double.h>.
16496 (llround): Define using libm_alias_double.
16497 (lround): Likewise.
16498 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
16499 <libm-alias-double.h>.
16500 (copysign): Define using libm_alias_double.
16501 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
16502 <libm-alias-double.h>.
16503 (llrint): Define using libm_alias_double.
16504 (lrint): Likewise.
16505 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
16506 <libm-alias-double.h>.
16507 (llround): Define using libm_alias_double.
16508 (lround): Likewise.
16509 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
16510 <libm-alias-double.h>.
16511 (llrint): Define using libm_alias_double.
16512 (lrint): Likewise.
16513 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
16514 <libm-alias-double.h>.
16515 (llround): Define using libm_alias_double.
16516 (lround): Likewise.
16517
16518 2017-12-01 Joseph Myers <joseph@codesourcery.com>
16519
16520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16521 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
16522 compat symbol based on llround.
16523
16524 * sysdeps/powerpc/power7/fpu/s_logb.c
16525 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
16526 symbol based on __logb, not on logb.
16527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
16528 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
16529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
16530 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
16531
16532 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
16533 (rint): Define using libm_alias_double.
16534 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
16535 <libm-alias-double.h>.
16536 (modf): Define using libm_alias_double.
16537 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
16538 <libm-alias-double.h>.
16539 (ceil): Define using libm_alias_double.
16540 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
16541 <libm-alias-double.h>.
16542 (floor): Define using libm_alias_double.
16543 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
16544 <libm-alias-double.h>.
16545 (nearbyint): Define using libm_alias_double.
16546 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
16547 <libm-alias-double.h>.
16548 (rint): Define using libm_alias_double.
16549 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
16550 <libm-alias-double.h>.
16551 (round): Define using libm_alias_double.
16552 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
16553 <libm-alias-double.h>.
16554 (trunc): Define using libm_alias_double.
16555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
16556 <libm-alias-double.h>.
16557 (ceil): Define using libm_alias_double.
16558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
16559 Include <libm-alias-double.h>.
16560 (floor): Define using libm_alias_double.
16561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
16562 <libm-alias-double.h>.
16563 (modf): Define using libm_alias_double.
16564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
16565 Include <libm-alias-double.h>.
16566 (round): Define using libm_alias_double.
16567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
16568 Include <libm-alias-double.h>.
16569 (trunc): Define using libm_alias_double.
16570 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
16571 <libm-alias-double.h>.
16572 (ceil): Define using libm_alias_double.
16573 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
16574 <libm-alias-double.h>.
16575 (floor): Define using libm_alias_double.
16576 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
16577 <libm-alias-double.h>.
16578 (round): Define using libm_alias_double.
16579 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
16580 <libm-alias-double.h>.
16581 (trunc): Define using libm_alias_double.
16582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
16583 <libm-alias-double.h>.
16584 (ceil): Define using libm_alias_double.
16585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
16586 <libm-alias-double.h>.
16587 (floor): Define using libm_alias_double.
16588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
16589 <libm-alias-double.h>.
16590 (modf): Define using libm_alias_double.
16591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
16592 <libm-alias-double.h>.
16593 (round): Define using libm_alias_double.
16594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
16595 <libm-alias-double.h>.
16596 (trunc): Define using libm_alias_double.
16597 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
16598 <libm-alias-double.h>.
16599 (ceil): Define using libm_alias_double.
16600 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
16601 <libm-alias-double.h>.
16602 (floor): Define using libm_alias_double.
16603 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
16604 <libm-alias-double.h>.
16605 (nearbyint): Define using libm_alias_double.
16606 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
16607 <libm-alias-double.h>.
16608 (rint): Define using libm_alias_double.
16609 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
16610 <libm-alias-double.h>.
16611 (round): Define using libm_alias_double.
16612 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
16613 <libm-alias-double.h>.
16614 (trunc): Define using libm_alias_double.
16615 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
16616 <libm-alias-double.h>.
16617 (ceil): Define using libm_alias_double.
16618 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
16619 <libm-alias-double.h>.
16620 (floor): Define using libm_alias_double.
16621 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
16622 <libm-alias-double.h>.
16623 (round): Define using libm_alias_double.
16624 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
16625 <libm-alias-double.h>.
16626 (trunc): Define using libm_alias_double.
16627
16628 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
16629 (fabs): Define using libm_alias_double.
16630 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
16631 (fma): Define using libm_alias_double.
16632 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
16633 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
16634 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
16635 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
16636
16637 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16638
16639 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
16640
16641 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
16642 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
16643 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
16644
16645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
16646 due redirect macro.
16647
16648 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
16649
16650 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
16651
16652 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16653
16654 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
16655 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
16656 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
16657 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
16658
16659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16660 (libm-sysdep_routines): Add s_nearbyintf-generic and
16661 s_nearbyint-generic.
16662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
16663 New file.
16664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
16665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
16666 Likewise.
16667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
16668 Likewise.
16669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
16670 file.
16671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
16672 Likewise.
16673
16674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16675 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
16676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
16677 file.
16678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
16679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
16680 Likewise.
16681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
16682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
16683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16684
16685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16686 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
16687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
16688 file.
16689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
16690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
16691 Likewise.
16692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
16693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
16694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
16695
16696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16697 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
16698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
16699 file.
16700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
16701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
16702 Likewise.
16703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
16704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
16705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16706
16707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16708 (sysdep_calls): New rule.
16709 (sysdep_routines): Use sysdep_calls as base.
16710 (libm-sysdep_routines): Add generic rule for symbols shared with
16711 libc. Add s_copysign-generic and s_copysign-generic objects.
16712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
16713 New file.
16714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
16715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
16716 Likewise.
16717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
16718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
16719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
16720
16721 2017-12-01 Mike FABIAN <mfabian@redhat.com>
16722
16723 [BZ #22519]
16724 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
16725 the list of locales to be built for testing.
16726 * localedata/is_IS.UTF-8.in: New file.
16727 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
16728 on iso14651_t1.
16729
16730 2017-12-01 Joseph Myers <joseph@codesourcery.com>
16731
16732 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
16733 <libm-alias-float.h>.
16734 (fabsf): Define using libm_alias_float.
16735
16736 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
16737
16738 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
16739
16740 2017-11-30 Joseph Myers <joseph@codesourcery.com>
16741
16742 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
16743 <libm-alias-float.h>.
16744 (fabsf): Define using libm_alias_float.
16745 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
16746 <libm-alias-float.h>.
16747 (lrintf): Define using libm_alias_float.
16748 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
16749 <libm-alias-float.h>.
16750 (rintf): Define using libm_alias_float.
16751
16752 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
16753 <libm-alias-double.h>.
16754 (fabs): Define using libm_alias_double.
16755 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
16756 <libm-alias-double.h>.
16757 (lrint): Define using libm_alias_double.
16758 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
16759 <libm-alias-double.h>.
16760 (rint): Define using libm_alias_double.
16761
16762 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
16763 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
16764 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
16765 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
16766 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
16767 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
16768 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
16769 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
16770 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
16771 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
16772 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
16773 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
16774 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
16775 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
16776 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
16777 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
16778 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
16779 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
16780 s_atan_template.c.
16781 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
16782 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
16783 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
16784 s_ceil_template.c.
16785 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
16786 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
16787 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
16788 s_cos_template.c.
16789 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
16790 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
16791 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
16792 s_expm1_template.c.
16793 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
16794 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
16795 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
16796 s_fabs_template.c.
16797 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
16798 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
16799 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
16800 s_floor_template.c.
16801 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
16802 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
16803 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
16804 s_frexp_template.c.
16805 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
16806 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
16807 s_lrint_template.c.
16808 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
16809 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
16810 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
16811 s_modf_template.c.
16812 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
16813 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
16814 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
16815 s_nearbyint_template.c.
16816 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
16817 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
16818 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
16819 s_remquo_template.c.
16820 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
16821 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
16822 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
16823 s_rint_template.c.
16824 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
16825 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
16826 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
16827 s_sin_template.c.
16828 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
16829 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
16830 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
16831 s_sincos_template.c.
16832 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
16833 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
16834 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
16835 s_tan_template.c.
16836 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
16837 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
16838 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
16839 s_tanh_template.c.
16840 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
16841 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
16842 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
16843 s_trunc_template.c.
16844 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
16845 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
16846 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
16847 s_atan.c instead of including s_atan.c.
16848 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
16849 s_atanf.c instead of including s_atanf.c.
16850 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
16851 s_atanl.c instead of including s_atanl.c.
16852 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
16853 instead of s_atan.c.
16854 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
16855 instead of s_atanf.c.
16856 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
16857 instead of s_atanl.c.
16858
16859 * scripts/update-copyrights: Do not handle intl/plural.c
16860 specially.
16861
16862 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
16863
16864 [BZ #22432]
16865 * configure.ac (BISON): Require to be present.
16866 * configure: Regenerated.
16867 * intl/Makefile (generated): Add plural.c.
16868 [$(BISON) != no]: Make code unconditional.
16869 (plural.c): Change rule to $(objpfx)plural.c.
16870 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
16871 * intl/plural.c: Remove.
16872 * manual/install.texi (Tools for Compilation): Document bison as
16873 required.
16874 * INSTALL: Regenerated.
16875
16876 2017-11-30 Joseph Myers <joseph@codesourcery.com>
16877
16878 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
16879 <libm-alias-double.h>.
16880 (llrint): Define using libm_alias_double.
16881 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
16882 <libm-alias-float.h>.
16883 (llrintf): Define using libm_alias_float.
16884 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
16885 <libm-alias-ldouble.h>.
16886 (llrintl): Define using libm_alias_ldouble.
16887
16888 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
16889 declare_mgen_alias instead of weak_alias.
16890 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
16891 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
16892 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
16893
16894 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16895
16896 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16897 Add add_n-generic.
16898 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
16899 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
16900 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
16901
16902 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16903 Add submul_1-generic.
16904 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
16905 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
16906 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
16907
16908 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16909 Add addmul_1-generic.
16910 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
16911 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
16912 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
16913
16914 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16915 Add sub_n-generic.
16916 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
16917 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
16918 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
16919
16920 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
16921 Add mul_1-generic.
16922 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
16923 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
16924 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
16925
16926 2017-11-30 Mike FABIAN <mfabian@redhat.com>
16927
16928 According to CLDR, collation rules for Serbian and Bosnian
16929 should be the same as for Croatian.
16930
16931 [BZ #22534]
16932 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
16933 and to the list of locales to be built for testing.
16934 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
16935 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
16936 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
16937 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
16938
16939 2017-11-30 Mike FABIAN <mfabian@redhat.com>
16940
16941 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
16942 to make test case pass.
16943 * localedata/hr_HR.UTF-8.in: Add more test strings.
16944
16945 2017-11-30 Mike FABIAN <mfabian@redhat.com>
16946
16947 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
16948
16949 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
16950
16951 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
16952 the list of locales to built for testing.
16953 * localedata/hr_HR.UTF-8.in: New file.
16954
16955 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
16956
16957 [BZ #10580]
16958 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
16959 iso14651_t1.
16960 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
16961 CLDR (except use ligatures for the digraphs, CLDR does not use
16962 the ligatures), add first_workday, some fixes in the date and time
16963 formats.
16964 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
16965 for Đ and đ.
16966 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
16967 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
16968 Add int_p_cs_precedes and int_n_cs_precedes.
16969 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
16970 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
16971 LC_MONETARY now).
16972 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
16973 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
16974 name_miss.
16975 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
16976 and lang_lib. Change postal_fmt.
16977
16978 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
16979
16980 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
16981 <setjmp.h>.
16982 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
16983 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
16984 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
16985 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
16986 * sysdeps/generic/setjmpP.h: New file.
16987 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
16988 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
16989 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
16990 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
16991 Add jmp_buf-ssp.sym.
16992 (tests): Add tst-saved_mask-1.
16993
16994 2017-11-30 Arjun Shankar <arjun@redhat.com>
16995
16996 [BZ #22375]
16997 CVE-2017-17426
16998 * malloc/malloc.c (__libc_malloc): Use checked_request2size
16999 instead of request2size.
17000
17001 2017-11-30 Joseph Myers <joseph@codesourcery.com>
17002
17003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
17004 (__lllrint): Remove alias.
17005 (lllrint): Likewise.
17006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
17007 (__lllrintf): Likewise.
17008 (lllrintf): Likewise.
17009
17010 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
17011 <libm-alias-float.h>.
17012 (copysignf): Define using libm_alias_float.
17013 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
17014 <libm-alias-float.h>.
17015 (fabsf): Define using libm_alias_float.
17016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17017 Include <libm-alias-float.h>.
17018 (copysignf): Define using libm_alias_float.
17019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
17020 <libm-alias-float.h>.
17021 (fabsf): Define using libm_alias_float.
17022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
17023 <libm-alias-float.h>.
17024 (fdimf): Define using libm_alias_float.
17025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
17026 <libm-alias-float.h>.
17027 (fmaf): Define using libm_alias_float.
17028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
17029 <libm-alias-float.h>.
17030 (llrintf): Define using libm_alias_float.
17031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
17032 Include <libm-alias-float.h>.
17033 (nearbyintf): Define using libm_alias_float.
17034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
17035 <libm-alias-float.h>.
17036 (rintf): Define using libm_alias_float.
17037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
17038 <libm-alias-float.h>.
17039 (llrintf): Define using libm_alias_float.
17040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
17041 <libm-alias-float.h>.
17042 (lrintf): Define using libm_alias_float.
17043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
17044 <libm-alias-float.h>.
17045 (nearbyintf): Define using libm_alias_float.
17046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
17047 <libm-alias-float.h>.
17048 (rintf): Define using libm_alias_float.
17049 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
17050 <libm-alias-float.h>.
17051 (ceilf): Define using libm_alias_float.
17052 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
17053 <libm-alias-float.h>.
17054 (floorf): Define using libm_alias_float.
17055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
17056 <libm-alias-float.h>.
17057 (fmaf): Define using libm_alias_float.
17058 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
17059 <libm-alias-float.h>.
17060 (lrintf): Define using libm_alias_float.
17061 (llrintf): Likewise.
17062 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
17063 <libm-alias-float.h>.
17064 (nearbyintf): Define using libm_alias_float.
17065 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
17066 <libm-alias-float.h>.
17067 (rintf): Define using libm_alias_float.
17068 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
17069 <libm-alias-float.h>.
17070 (truncf): Define using libm_alias_float.
17071 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
17072 <libm-alias-float.h>.
17073 (copysignf): Define using libm_alias_float.
17074 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
17075 <libm-alias-float.h>.
17076 (fabsf): Define using libm_alias_float.
17077 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
17078 <libm-alias-float.h>.
17079 (lrintf): Define using libm_alias_float.
17080 (llrintf): Likewise.
17081 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
17082 <libm-alias-float.h>.
17083 (nearbyintf): Define using libm_alias_float.
17084 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
17085 <libm-alias-float.h>.
17086 (rintf): Define using libm_alias_float.
17087
17088 2017-11-29 Joseph Myers <joseph@codesourcery.com>
17089
17090 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
17091 <libm-alias-double.h>.
17092 (copysign): Define using libm_alias_double.
17093 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
17094 <libm-alias-double.h>.
17095 (fabs): Define using libm_alias_double.
17096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17097 Include <libm-alias-double.h>.
17098 (copysign): Define using libm_alias_double.
17099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
17100 <libm-alias-double.h>.
17101 (fabs): Define using libm_alias_double.
17102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
17103 <libm-alias-double.h>.
17104 (fdim): Define using libm_alias_double.
17105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
17106 <libm-alias-double.h>.
17107 (fma): Define using libm_alias_double.
17108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
17109 <libm-alias-double.h>.
17110 (llrint): Define using libm_alias_double.
17111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
17112 Include <libm-alias-double.h>.
17113 (nearbyint): Define using libm_alias_double.
17114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
17115 <libm-alias-double.h>.
17116 (rint): Define using libm_alias_double.
17117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
17118 <libm-alias-double.h>.
17119 (fabs): Define using libm_alias_double.
17120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
17121 <libm-alias-double.h>.
17122 (llrint): Define using libm_alias_double.
17123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
17124 <libm-alias-double.h>.
17125 (nearbyint): Define using libm_alias_double.
17126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
17127 <libm-alias-double.h>.
17128 (rint): Define using libm_alias_double.
17129 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
17130 <libm-alias-double.h>.
17131 (ceil): Define using libm_alias_double.
17132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
17133 <libm-alias-double.h>.
17134 (floor): Define using libm_alias_double.
17135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
17136 <libm-alias-double.h>.
17137 (fma): Define using libm_alias_double.
17138 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
17139 <libm-alias-double.h>.
17140 (lrint): Define using libm_alias_double.
17141 (llrint): Likewise.
17142 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
17143 <libm-alias-double.h>.
17144 (nearbyint): Define using libm_alias_double.
17145 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
17146 <libm-alias-double.h>.
17147 (rint): Define using libm_alias_double.
17148 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
17149 <libm-alias-double.h>.
17150 (trunc): Define using libm_alias_double.
17151 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
17152 <libm-alias-double.h>.
17153 (copysign): Define using libm_alias_double.
17154 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
17155 <libm-alias-double.h>.
17156 (fabs): Define using libm_alias_double.
17157 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
17158 <libm-alias-double.h>.
17159 (lrint): Define using libm_alias_double.
17160 (llrint): Likewise.
17161 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
17162 <libm-alias-double.h>.
17163 (nearbyint): Define using libm_alias_double.
17164 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
17165 <libm-alias-double.h>.
17166 (rint): Define using libm_alias_double.
17167
17168 [BZ #22229]
17169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
17170 <math_ldbl_opt.h>.
17171 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
17172
17173 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17174 SPARC --disable-multi-arch glibc variants.
17175
17176 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
17177 <libm-alias-float.h>.
17178 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17179 if [SHARED].
17180 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
17181 <libm-alias-float.h>.
17182 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17183 if [SHARED].
17184 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
17185 <libm-alias-float.h>.
17186 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17187 if [SHARED].
17188 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
17189 <libm-alias-float.h>.
17190 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17191 if [SHARED].
17192 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
17193 <libm-alias-float.h>.
17194 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17195 if [SHARED].
17196 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
17197 <libm-alias-float.h>.
17198 (ceilf): Define using libm_alias_float.
17199 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
17200 <libm-alias-float.h>.
17201 (floorf): Define using libm_alias_float.
17202 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
17203 <libm-alias-float.h>.
17204 (fmaf): Define using libm_alias_float.
17205 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
17206 <libm-alias-float.h>.
17207 (nearbyintf): Define using libm_alias_float.
17208 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
17209 <libm-alias-float.h>.
17210 (rintf): Define using libm_alias_float.
17211 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
17212 <libm-alias-float.h>.
17213 (truncf): Define using libm_alias_float.
17214 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
17215 (copysignf): Define using libm_alias_float.
17216 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
17217 (cosf): Define using libm_alias_float.
17218 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
17219 (fabsf): Define using libm_alias_float.
17220 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
17221 (fmaxf): Define using libm_alias_float.
17222 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
17223 (fminf): Define using libm_alias_float.
17224 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
17225 (llrintf): Define using libm_alias_float.
17226 [!__ILP32__] (lrintf): Likewise.
17227 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
17228 (sincosf): Define using libm_alias_float.
17229 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
17230 (sinf): Define using libm_alias_float.
17231 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
17232 (lrintf): Define using libm_alias_float.
17233
17234 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
17235 <libm-alias-double.h>.
17236 (atan): Define using libm_alias_double.
17237 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
17238 <libm-alias-double.h>.
17239 (ceil): Define using libm_alias_double.
17240 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
17241 <libm-alias-double.h>.
17242 (floor): Define using libm_alias_double.
17243 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
17244 <libm-alias-double.h>.
17245 (fma): Define using libm_alias_double.
17246 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
17247 <libm-alias-double.h>.
17248 (nearbyint): Define using libm_alias_double.
17249 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
17250 <libm-alias-double.h>.
17251 (rint): Define using libm_alias_double.
17252 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
17253 <libm-alias-double.h>.
17254 (sin): Define using libm_alias_double.
17255 (cos): Likewise.
17256 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
17257 <libm-alias-double.h>.
17258 (tan): Define using libm_alias_double.
17259 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
17260 <libm-alias-double.h>.
17261 (trunc): Define using libm_alias_double.
17262 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
17263 (copysign): Define using libm_alias_double.
17264 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
17265 (fabs): Define using libm_alias_double.
17266 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
17267 (fmax): Define using libm_alias_double.
17268 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
17269 (fmin): Define using libm_alias_double.
17270 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
17271 (llrint): Define using libm_alias_double.
17272 [!__ILP32__] (lrint): Likewise.
17273 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
17274 (lrint): Define using libm_alias_double.
17275
17276 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17277
17278 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17279 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
17280 objects.
17281 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
17282 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
17283 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
17284 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
17285 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
17286 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17287
17288 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17289 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
17290 objects.
17291 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
17292 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
17293 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
17294 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
17295 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
17296 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17297
17298 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17299 (libm-sysdep_routines): Add s_nearbyint-generic and
17300 s_nearbyintf-generic objects.
17301 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
17302 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
17303 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
17304 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
17305 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
17306 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
17307
17308 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
17309 Add s_finitef-generic and s_finite-generic objects.
17310 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
17311 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
17312 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
17313 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
17314 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
17315 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
17316
17317 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
17318 Add s_isinff-generic and s_isinf-generic objects.
17319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
17320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
17321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
17322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
17323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
17324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17325
17326 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
17327 Add s_isnanf-generic and s_isnan-generic objects.
17328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
17329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
17330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
17331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
17332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
17333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17334
17335 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
17336 macro.
17337 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
17338 rule.
17339 (sysdep_routines): Use sysdep_calls as base.
17340 (libm-sysdep_routines): Add generic rule for symbols shared with
17341 libc. Add s_signbit-generic and s_signbitf-generic objects.
17342 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
17343 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
17344 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
17345 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
17346 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
17347 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17348
17349 2017-11-29 Joseph Myers <joseph@codesourcery.com>
17350
17351 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
17352 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
17353 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
17354 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
17355 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
17356 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
17357 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
17358 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
17359 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
17360 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
17361 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
17362 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
17363 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
17364 libm_alias_float_r.
17365 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
17366 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
17367 (logf): Likewise.
17368 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
17369 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
17370 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
17371 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
17372 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
17373 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
17374 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
17375 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
17376 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
17377 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
17378 libm_alias_float.
17379 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
17380 (cosf): Likewise.
17381 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
17382 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
17383 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
17384 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
17385 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
17386 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
17387 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
17388 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
17389 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
17390 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
17391 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
17392 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
17393 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
17394 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
17395 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
17396 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
17397 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
17398 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
17399 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
17400 libm_alias_float.
17401 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
17402 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
17403 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
17404 * sysdeps/ia64/fpu/w_lgammaf_main.c
17405 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
17406 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
17407
17408 2017-11-28 Mike FABIAN <mfabian@redhat.com>
17409 Alexandre Oliva <aoliva@redhat.com>
17410
17411 [BZ #17750]
17412 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
17413 * localedata/fr_CA.UTF-8.in: New file with test data for backward
17414 accents sorting.
17415 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
17416 sorting.
17417 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
17418 * localedata/locales/de_DE (LC_COLLATE): Likewise.
17419 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
17420 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
17421 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
17422 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
17423 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
17424 instead of “ifdef DIACRIT_BACKWARD”.
17425
17426 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17427
17428 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
17429 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
17430 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
17431 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
17432 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
17433 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
17434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
17435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
17436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
17437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
17438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
17439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
17440 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
17441 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
17442 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
17443 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
17444 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
17445 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
17446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17447 ($(have-as-vis3) == yes): Remove conditional.
17448 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
17449 Likewise.
17450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
17451 file.
17452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
17453 file.
17454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
17455 file.
17456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
17457 file.
17458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
17459 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
17460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
17461 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
17462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
17463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
17464 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
17465 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
17466
17467 2017-11-29 Joseph Myers <joseph@codesourcery.com>
17468
17469 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
17470 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
17471 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
17472 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
17473 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
17474 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
17475 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
17476 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
17477 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
17478 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
17479 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
17480 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
17481 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
17482 libm_alias_double_r.
17483 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
17484 (log): Likewise.
17485 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
17486 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
17487 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
17488 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
17489 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
17490 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
17491 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
17492 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
17493 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
17494 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
17495 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
17496 libm_alias_double.
17497 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
17498 (cos): Likewise.
17499 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
17500 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
17501 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
17502 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
17503 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
17504 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
17505 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
17506 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
17507 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
17508 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
17509 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
17510 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
17511 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
17512 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
17513 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
17514 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
17515 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
17516 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
17517 libm_alias_double.
17518 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
17519 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
17520 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
17521 * sysdeps/ia64/fpu/w_lgamma_main.c
17522 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
17523 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
17524
17525 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
17526
17527 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
17528 address of $global$ into %dp register earlier. Use pc-relative
17529 instruction sequence for PIC case.
17530
17531 2017-11-28 Joseph Myers <joseph@codesourcery.com>
17532
17533 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
17534 (asinhf): Define using libm_alias_float.
17535 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
17536 (atanf): Define using libm_alias_float.
17537 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
17538 (cbrtf): Define using libm_alias_float.
17539 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
17540 (ceilf): Define using libm_alias_float.
17541 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
17542 (copysignf): Define using libm_alias_float.
17543 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
17544 (expm1f): Define using libm_alias_float.
17545 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
17546 (fabsf): Define using libm_alias_float.
17547 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
17548 (floorf): Define using libm_alias_float.
17549 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
17550 (fmaxf): Define using libm_alias_float.
17551 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
17552 (fminf): Define using libm_alias_float.
17553 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
17554 (frexpf): Define using libm_alias_float.
17555 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
17556 (llrintf): Define using libm_alias_float.
17557 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
17558 (logbf): Define using libm_alias_float.
17559 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
17560 (lrintf): Define using libm_alias_float.
17561 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
17562 (nearbyintf): Define using libm_alias_float.
17563 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
17564 (remquof): Define using libm_alias_float.
17565 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
17566 (rintf): Define using libm_alias_float.
17567 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
17568 (truncf): Define using libm_alias_float.
17569 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
17570 <libm-alias-float.h>.
17571 (exp2f): Define using libm_alias_float, or libm_alias_float_other
17572 if [SHARED].
17573 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
17574 <libm-alias-float.h>.
17575 (expf): Define using libm_alias_float, or libm_alias_float_other
17576 if [SHARED].
17577 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
17578 <libm-alias-float.h>.
17579 (log2f): Define using libm_alias_float, or libm_alias_float_other
17580 if [SHARED].
17581 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
17582 <libm-alias-float.h>.
17583 (logf): Define using libm_alias_float, or libm_alias_float_other
17584 if [SHARED].
17585 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
17586 <libm-alias-float.h>.
17587 (powf): Define using libm_alias_float, or libm_alias_float_other
17588 if [SHARED].
17589 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
17590 <libm-alias-float.h>.
17591 (cosf): Define using libm_alias_float.
17592 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
17593 <libm-alias-float.h>.
17594 (sincosf): Define using libm_alias_float.
17595 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
17596 <libm-alias-float.h>.
17597 (sinf): Define using libm_alias_float.
17598 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
17599 (fmaxf): Define using libm_alias_float.
17600 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
17601 (fminf): Define using libm_alias_float.
17602 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17603 <libm-alias-float.h>.
17604 (fmaf): Define using libm_alias_float.
17605
17606 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
17607 (asinh): Define using libm_alias_double.
17608 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
17609 (atan): Define using libm_alias_double.
17610 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
17611 (cbrt): Define using libm_alias_double.
17612 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
17613 (ceil): Define using libm_alias_double.
17614 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
17615 (copysign): Define using libm_alias_double.
17616 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
17617 (expm1): Define using libm_alias_double.
17618 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
17619 (fabs): Define using libm_alias_double.
17620 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
17621 (fdim): Define using libm_alias_double.
17622 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
17623 (floor): Define using libm_alias_double.
17624 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
17625 (fmax): Define using libm_alias_double.
17626 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
17627 (fmin): Define using libm_alias_double.
17628 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
17629 (frexp): Define using libm_alias_double.
17630 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
17631 (llrint): Define using libm_alias_double.
17632 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
17633 (logb): Define using libm_alias_double.
17634 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
17635 (lrint): Define using libm_alias_double.
17636 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
17637 (nearbyint): Define using libm_alias_double.
17638 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
17639 (remquo): Define using libm_alias_double.
17640 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
17641 (rint): Define using libm_alias_double.
17642 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
17643 (trunc): Define using libm_alias_double.
17644 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
17645 (fmax): Define using libm_alias_double.
17646 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
17647 (fmin): Define using libm_alias_double.
17648 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
17649 (fma): Define using libm_alias_double.
17650
17651 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
17652
17653 [BZ #22370]
17654 * elf/dl-hwcaps.c (ROUND): Removed.
17655 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
17656 and ELF_NOTE_NEXT_OFFSET.
17657 * elf/dl-load.c (ROUND): Removed.
17658 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
17659 * elf/readelflib.c (ROUND): Removed.
17660 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
17661 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
17662 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
17663 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
17664
17665 2017-11-28 Joseph Myers <joseph@codesourcery.com>
17666
17667 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
17668 [!__fmaf] (fmaf): Define using libm_alias_float.
17669
17670 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
17671 [!__fma] (fma): Define using libm_alias_double.
17672 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
17673
17674 2017-11-28 Mike FABIAN <mfabian@redhat.com>
17675
17676 [BZ #22336]
17677 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
17678 and implement the collation rules for cs from CLDR on top of that.
17679 * Makefile: Add cs_CZ.UTF-8 to test-input.
17680 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
17681
17682 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
17683
17684 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
17685
17686 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
17687 Icarus Sparry <icarus.w.sparry@intel.com>
17688
17689 * benchtests/Makefile:Add BENCHSET to allow subsets of
17690 benchmarks to be run.
17691 * benchtests/README: Add documentation for: Running subsets of
17692 benchmarks.
17693
17694 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
17695
17696 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
17697 range of tests names.
17698
17699 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
17700 result from property and remove "max", min" and "mean" from
17701 required properties based on benchtests/bench-skeleton.c.
17702
17703 2017-11-28 Florian Weimer <fweimer@redhat.com>
17704
17705 [BZ #20826]
17706 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
17707 due to Internet requirement.
17708 * posix/Makefile (tests): Remove tst-getaddrinfo4,
17709 tst-getaddrinfo5.
17710 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
17711
17712 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17713
17714 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17715 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
17716 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
17717 (sysdep_routines): Add memset-ultra1.
17718 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
17719 file.
17720 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
17721 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
17722 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
17723 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
17724 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
17725 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
17726 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
17727 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17728
17729 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
17730 file.
17731 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
17732 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
17733 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
17734 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
17735 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
17736 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
17737 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
17738 macro.
17739 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17740 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
17741 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
17742 (sysdep_routines): Add memcpy-ultra1.
17743 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
17744 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
17745
17746 2017-11-28 Joseph Myers <joseph@codesourcery.com>
17747
17748 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
17749 (cfloat_versions): Take function argument without trailing 'f'.
17750 Call libm_alias_float_other.
17751 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
17752 * sysdeps/alpha/fpu/cargf.c: Likewise.
17753 * sysdeps/alpha/fpu/cimagf.c: Likewise.
17754 * sysdeps/alpha/fpu/conjf.c: Likewise.
17755 * sysdeps/alpha/fpu/crealf.c: Likewise.
17756 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
17757 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
17758 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
17759 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
17760 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
17761 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17762 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
17763 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
17764 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
17765 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
17766 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
17767 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
17768 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
17769 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
17770 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
17771 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17772 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17773 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
17774 (clog10f): Use libm_alias_float_other.
17775 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
17776 (ceilf): Define using libm_alias_float.
17777 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
17778 (copysignf): Define using libm_alias_float.
17779 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
17780 (fabsf): Define using libm_alias_float.
17781 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
17782 (floorf): Define using libm_alias_float.
17783 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
17784 (fmaxf): Define using libm_alias_float.
17785 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
17786 (fminf): Define using libm_alias_float.
17787 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
17788 (lrintf): Define using libm_alias_float.
17789 (llrintf): Likewise.
17790 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
17791 (lroundf): Define using libm_alias_float.
17792 (llroundf): Likewise.
17793 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
17794 (rintf): Define using libm_alias_float.
17795 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
17796 (truncf): Define using libm_alias_float.
17797
17798 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
17799 (ceilf): Define using libm_alias_float.
17800 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
17801 (floorf): Define using libm_alias_float.
17802 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
17803 (fmaf): Define using libm_alias_float.
17804 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
17805 (fmaxf): Define using libm_alias_float.
17806 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
17807 (fminf): Define using libm_alias_float.
17808 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
17809 (llrintf): Define using libm_alias_float.
17810 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
17811 (llroundf): Define using libm_alias_float.
17812 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
17813 (lrintf): Define using libm_alias_float.
17814 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
17815 (lroundf): Define using libm_alias_float.
17816 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
17817 <libm-alias-float.h>.
17818 (nearbyintf): Define using libm_alias_float.
17819 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
17820 (rintf): Define using libm_alias_float.
17821 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
17822 (roundf): Define using libm_alias_float.
17823 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
17824 (truncf): Define using libm_alias_float.
17825
17826 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
17827 (ceil): Define using libm_alias_double.
17828 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
17829 (copysign): Define using libm_alias_double.
17830 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
17831 (fabs): Define using libm_alias_double.
17832 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
17833 (floor): Define using libm_alias_double.
17834 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
17835 (fmax): Define using libm_alias_double.
17836 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
17837 (fmin): Define using libm_alias_double.
17838 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
17839 (lrint): Define using libm_alias_double.
17840 (llrint): Likewise.
17841 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
17842 (lround): Define using libm_alias_double.
17843 (llround): Likewise.
17844 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
17845 (rint): Define using libm_alias_double.
17846 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
17847 (trunc): Define using libm_alias_double.
17848
17849 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
17850 (libm_alias_double_r): Add semicolon after weak_alias call.
17851
17852 2017-11-27 Joseph Myers <joseph@codesourcery.com>
17853
17854 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
17855 (ceil): Define using libm_alias_double.
17856 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
17857 (floor): Define using libm_alias_double.
17858 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
17859 (fma): Define using libm_alias_double.
17860 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
17861 (fmax): Define using libm_alias_double.
17862 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
17863 (fmin): Define using libm_alias_double.
17864 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
17865 (llrint): Define using libm_alias_double.
17866 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
17867 (llround): Define using libm_alias_double.
17868 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
17869 (lrint): Define using libm_alias_double.
17870 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
17871 (lround): Define using libm_alias_double.
17872 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
17873 (nearbyint): Define using libm_alias_double.
17874 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
17875 (rint): Define using libm_alias_double.
17876 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
17877 (round): Define using libm_alias_double.
17878 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
17879 (trunc): Define using libm_alias_double.
17880
17881 2017-11-27 Florian Weimer <fweimer@redhat.com>
17882
17883 * sysdeps/unix/sysv/linux/mlock2.c: New file.
17884 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
17885 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
17886 (tests): Add tst-mlock2.
17887 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
17888 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
17889 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
17890 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
17891 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
17892 for mlock. Document mlock2.
17893
17894 2017-11-27 Joseph Myers <joseph@codesourcery.com>
17895
17896 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
17897 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
17898 Likewise.
17899 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
17900 Likewise.
17901 * sysdeps/x86/Makeconfig: New file.
17902 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
17903 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17904 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
17905 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17906 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
17907 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17908 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
17909 Likewise.
17910 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17911 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
17912 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17913 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
17914 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17915 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
17916 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
17917 * manual/math.texi (Mathematics): Document support for _Float64x.
17918 * math/Versions (GLIBC_2.27): Add _Float64x functions.
17919 * stdlib/Versions (GLIBC_2.27): Likewise.
17920 * wcsmbs/Versions (GLIBC_2.27): Likewise.
17921 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
17922 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17923 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17924 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17925 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17926 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17927 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17928 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17929 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17930 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17931 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
17933 Likewise.
17934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17935 Likewise.
17936 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17937 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17938 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17939 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17940 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17941 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17942 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17943 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17944 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17945 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17946 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17947 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17948 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17949 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17950
17951 2017-11-27 Andreas Schwab <schwab@suse.de>
17952
17953 * elf/Makefile (dl-routines): Add dl-sort-maps.
17954 * elf/dl-sort-maps.c: New file.
17955 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
17956 (_dl_sort_maps): Declare.
17957 * elf/dl-fini.c (_dl_sort_fini): Remove.
17958 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
17959 * elf/dl-close.c (_dl_close_worker): Likewise.
17960 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
17961 open-coding it.
17962 * elf/dl-open.c (dl_open_worker): Likewise.
17963
17964 2017-11-24 Joseph Myers <joseph@codesourcery.com>
17965
17966 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
17967 using libm_alias_float128.
17968 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
17969 Likewise.
17970 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
17971 Likewise.
17972 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
17973 (setpayloadsigf128): Likewise.
17974 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
17975 Likewise.
17976 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
17977 Likewise.
17978
17979 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
17980 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
17981 -mfloat128 to CFLAGS.
17982 ($(foreach
17983 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
17984 Likewise.
17985 (CFLAGS-libm-test-support-float64x.c): New variable.
17986 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
17987 $(f128-loader-link) to gnulib-tests.
17988
17989 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
17990 (libm_alias_float128_other_r): If
17991 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
17992 alias.
17993 (libm_alias_float128_r): Add semicolon after weak_alias call.
17994 * sysdeps/generic/libm-alias-ldouble.h
17995 (libm_alias_ldouble_other_r_f128): New macro.
17996 (libm_alias_ldouble_other_r_f64x): Likewise.
17997 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
17998 and libm_alias_ldouble_other_r_f64x.
17999 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
18000 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
18001 (libm_alias_ldouble_other_r_f128): New macro.
18002 (libm_alias_ldouble_other_r_f64x): Likewise.
18003 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
18004 and libm_alias_ldouble_other_r_f64x.
18005
18006 * stdlib/strfroml.c: Always include <stdlib.h>.
18007 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
18008 undefine as macro and define as weak alias.
18009 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
18010 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
18011 <stdlib.h>.
18012 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
18013 Define and later undefine as macro and define as weak alias.
18014
18015 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
18016 Define and later undefine as macro. Define as weak alias if
18017 [!USE_WIDE_CHAR].
18018 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
18019 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
18020 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
18021 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
18022 Define and later undefine as macro. Define as weak alias if
18023 [!USE_WIDE_CHAR].
18024 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
18025 Define and later undefine as macro. Define as weak alias if
18026 [USE_WIDE_CHAR].
18027 * sysdeps/ieee754/float128/strtof128_l.c
18028 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
18029 Define and later undefine as macro. Define as weak alias if
18030 [!USE_WIDE_CHAR].
18031 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
18032 Define and later undefine as macro. Define as weak alias if
18033 [USE_WIDE_CHAR].
18034 * sysdeps/ieee754/ldbl-128/strtold_l.c
18035 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
18036 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
18037 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
18038 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
18039 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
18040 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
18041 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
18042 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
18043 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
18044 * sysdeps/ieee754/ldbl-96/strtold_l.c
18045 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
18046 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
18047 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
18048 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
18049
18050 * math/test-float64x.h: New file.
18051 * math/Makefile (type-float64x-yes): New variable.
18052 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
18053
18054 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
18055 function-like macro.
18056 (min_of_type_): Likewise.
18057 (min_of_type_l): Likewise.
18058 (min_of_type_f128): Likewise.
18059 (min_of_type): Pass () as last argument of __MATH_TG.
18060
18061 * stdlib/tst-strtod-round-skeleton.c
18062 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
18063 headers.
18064
18065 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
18066 for combinations of long double with _Float64 and _Float64x.
18067
18068 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
18069 (__DECL_SIMD_cosf32): Likewise.
18070 (__DECL_SIMD_cosf64): Likewise.
18071 (__DECL_SIMD_cosf32x): Likewise.
18072 (__DECL_SIMD_cosf64x): Likewise.
18073 (__DECL_SIMD_cosf128x): Likewise.
18074 (__DECL_SIMD_sinf16): Likewise.
18075 (__DECL_SIMD_sinf32): Likewise.
18076 (__DECL_SIMD_sinf64): Likewise.
18077 (__DECL_SIMD_sinf32x): Likewise.
18078 (__DECL_SIMD_sinf64x): Likewise.
18079 (__DECL_SIMD_sinf128x): Likewise.
18080 (__DECL_SIMD_sincosf16): Likewise.
18081 (__DECL_SIMD_sincosf32): Likewise.
18082 (__DECL_SIMD_sincosf64): Likewise.
18083 (__DECL_SIMD_sincosf32x): Likewise.
18084 (__DECL_SIMD_sincosf64x): Likewise.
18085 (__DECL_SIMD_sincosf128x): Likewise.
18086 (__DECL_SIMD_logf16): Likewise.
18087 (__DECL_SIMD_logf32): Likewise.
18088 (__DECL_SIMD_logf64): Likewise.
18089 (__DECL_SIMD_logf32x): Likewise.
18090 (__DECL_SIMD_logf64x): Likewise.
18091 (__DECL_SIMD_logf128x): Likewise.
18092 (__DECL_SIMD_expf16): Likewise.
18093 (__DECL_SIMD_expf32): Likewise.
18094 (__DECL_SIMD_expf64): Likewise.
18095 (__DECL_SIMD_expf32x): Likewise.
18096 (__DECL_SIMD_expf64x): Likewise.
18097 (__DECL_SIMD_expf128x): Likewise.
18098 (__DECL_SIMD_powf16): Likewise.
18099 (__DECL_SIMD_powf32): Likewise.
18100 (__DECL_SIMD_powf64): Likewise.
18101 (__DECL_SIMD_powf32x): Likewise.
18102 (__DECL_SIMD_powf64x): Likewise.
18103 (__DECL_SIMD_powf128x): Likewise.
18104
18105 * stdlib/Versions (libc): Move entries for wcstof128 and
18106 wcstof128_l to ....
18107 * wcsmbs/Versions (libc): ... here.
18108 Include <float128-abi.h>.
18109
18110 2017-11-24 Florian Weimer <fweimer@redhat.com>
18111
18112 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18113 bits/mman-shared.h.
18114 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
18115 <bits/mman-shared.h>.
18116 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
18117 to ...
18118 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
18119 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
18120 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
18121 <bits/mman-shared.h>.
18122
18123 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18124
18125 [BZ #22457]
18126 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
18127 posix_memalign/free.
18128 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
18129
18130 2017-11-22 Mike FABIAN <mfabian@redhat.com>
18131
18132 [BZ #22469]
18133 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
18134 and implement the collation rules for pl from CLDR on top of that.
18135 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
18136 of locales to be built for testing.
18137 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
18138
18139 2017-11-23 Joseph Myers <joseph@codesourcery.com>
18140
18141 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
18142 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
18143 libm_alias_ldouble_other.
18144 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
18145 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
18146 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
18147 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
18148 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
18149 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
18150 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
18151 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
18152 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
18153 libm_alias_ldouble_r.
18154 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
18155 libm_alias_ldouble_other.
18156 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
18157 (log10l): Likewise.
18158 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
18159 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
18160 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
18161 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
18162 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
18163 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
18164 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
18165 (atan2l): Likewise.
18166 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
18167 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
18168 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
18169 libm_alias_ldouble.
18170 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
18171 (cosl): Likewise.
18172 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
18173 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
18174 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
18175 (expl): Likewise.
18176 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
18177 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
18178 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
18179 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
18180 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
18181 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
18182 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
18183 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
18184 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
18185 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
18186 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
18187 libm_alias_ldouble.
18188 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
18189 libm_alias_ldouble_other.
18190 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
18191 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
18192 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
18193 libm_alias_ldouble.
18194 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
18195 libm_alias_ldouble_other.
18196 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
18197 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
18198 * sysdeps/ia64/fpu/w_lgammal_main.c
18199 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
18200 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
18201
18202 2017-11-23 Florian Weimer <fweimer@redhat.com>
18203
18204 * malloc/malloc.c (tcache_thread_shutdown): Rename from
18205 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
18206 alike. Remove freeres marker.
18207 * malloc/arena.c (arena_thread_freeres): Call
18208 tcache_thread_shutdown.
18209
18210 2017-11-23 Florian Weimer <fweimer@redhat.com>
18211
18212 [BZ #22459]
18213 Export nscd hash function as __nss_hash.
18214 * include/nss.h (__nss_hash): Declare.
18215 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
18216 symbol.
18217 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
18218 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
18219 of __nscd_hash.
18220 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
18221 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
18222 * nss/Makefiles (routines): Add nss_hash.
18223 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
18224 * nss/nss_hash.c: Rename from nis/nis_hash.c.
18225 (__nss_hash): Rename from __nis_hash. Define hidden alias.
18226 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
18227
18228 2017-11-23 Florian Weimer <fweimer@redhat.com>
18229
18230 [BZ #22478]
18231 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
18232 Return error code, not -1.
18233 * signal/tst-sigwait-eintr.c: New file.
18234 * signal/Makefile (tests): Add tst-sigwait-eintr.
18235
18236 2017-11-23 Florian Weimer <fweimer@redhat.com>
18237
18238 Linux: Add memfd_create system call wrapper
18239 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
18240 tst-memfd_create.
18241 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
18242 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
18243 [__USE_GNU] (memfd_create): Declare.
18244 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
18245 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
18246 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
18247 * sysdeps/unix/sysv/linux/**.abilist: Update.
18248 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
18249
18250 2017-11-22 Joseph Myers <joseph@codesourcery.com>
18251
18252 * localedata/gen-locale.sh: Fix typo in variable name.
18253
18254 * resolv/res_debug.c (p_secstodate): Condition definition on
18255 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
18256 directly as __p_secstodate, and as a compat symbol. Do not use
18257 libresolv_hidden_def.
18258 * resolv/resolv.h (p_secstodate): Remove macro and function
18259 declaration.
18260 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
18261 using p_secstodate.
18262 * include/resolv.h (__p_secstodate): Do not use
18263 libresolv_hidden_proto.
18264 * resolv/Makefile (tests): Move tst-p_secstodate to ....
18265 (tests-internal): ... here.
18266 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
18267 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
18268 and declare and use __p_secstodate and use compat_symbol_reference
18269 in that case.
18270 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
18271 implementation returning 77.
18272
18273 [BZ #22463]
18274 * resolv/res_debug.c: Include <libc-diag.h>.
18275 (p_secstodate): Assert time_t at least as wide as u_long. On
18276 overflow, use integer seconds since the epoch as output, or use
18277 "<overflow>" as output and set errno to EOVERFLOW if integer
18278 seconds since the epoch would be 14 or more characters.
18279 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
18280 for sprintf call.
18281 * resolv/tst-p_secstodate.c: New file.
18282 * resolv/Makefile (tests): Add tst-p_secstodate.
18283 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
18284
18285 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
18286 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18287 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
18288
18289 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
18290
18291 * posix/regcomp.c (init_word_char): Add comments.
18292
18293 2017-11-22 Joseph Myers <joseph@codesourcery.com>
18294
18295 [BZ #22447]
18296 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
18297 strlen to compute length of ut_user and set trailing NUL byte of
18298 result explicitly.
18299
18300 2017-11-21 Mike FABIAN <mfabian@redhat.com>
18301
18302 [BZ #15537]
18303 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
18304 using “copy "iso14651_t1"” and then implementing the
18305 collation rules for lv from CLDR on top of that.
18306 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
18307 of locales to be built for testing.
18308 * lv_LV.UTF-8.in: New file with test data to test the Latvian
18309 sorting.
18310
18311 2017-11-21 Joseph Myers <joseph@codesourcery.com>
18312
18313 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
18314 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
18315 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
18316 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
18317 [__USE_MISC] (MADV_HWPOISON): New macro.
18318 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
18319
18320 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18321
18322 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
18323 -Wmissing-braces on GCC 4.9.
18324
18325 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
18326
18327 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
18328 * sysdeps/s390/s390-32/start.S (_start): Likewise
18329 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
18330 (thread_start): Likewise.
18331 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
18332 (thread_start): Likewise.
18333 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
18334 (__makecontext_ret): Likewise.
18335 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
18336 (__makecontext_ret): Likewise.
18337
18338 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
18339
18340 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
18341 __wcschrnul): Remove attribute_hidden.
18342
18343 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
18344
18345 regex: don't assume uint64_t or uint32_t
18346 This avoids -Werror=overflow errors for 32-bit systems in
18347 the 64-bit case. Problem reported by Joseph Myers in:
18348 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
18349 Also, when this code is used in Gnulib it ports to platforms
18350 that lack uint64_t and uint32_t. The C standard doesn't guarantee
18351 them, and on some 32-bit compilers there is no uint64_t.
18352 Problem reported by Gianluigi Tiesi in:
18353 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
18354 * posix/regcomp.c (init_word_char): Don't assume that the types
18355 uint64_t and uint32_t exist. Adapted from Gnulib patch
18356 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
18357 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
18358
18359 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
18360
18361 * sysdeps/aarch64/memset-reg.h: New file.
18362 * sysdeps/aarch64/memset.S: Use it.
18363 (__memset): Rename to MEMSET macro.
18364 [ZVA_MACRO]: Use zva_macro.
18365 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
18366 Add memset_generic and memset_falkor.
18367 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
18368 (__libc_ifunc_impl_list): Add memset ifuncs.
18369 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
18370 local variable zva_size.
18371 * sysdeps/aarch64/multiarch/memset.c: New file.
18372 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
18373 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
18374 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
18375 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
18376 (DCZID_DZP_MASK): New macro.
18377 (DCZID_BS_MASK): Likewise.
18378 (init_cpu_features): Read and set zva_size.
18379 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
18380 (struct cpu_features): New member zva_size.
18381
18382 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
18383 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
18384 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
18385
18386 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
18387 backwards. Fix timing computation.
18388 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
18389 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
18390 on memset by N at a time. Fix timing computation.
18391
18392 2017-11-20 Florian Weimer <fweimer@redhat.com>
18393
18394 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
18395 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
18396
18397 2017-11-19 Florian Weimer <fweimer@redhat.com>
18398
18399 manual: Document mprotect
18400 * manual/memory.texi (Memory Protection): New section.
18401 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
18402 documentation of PROT_* flags and reference the Memory Protection
18403 section instead.
18404
18405 2017-11-19 Florian Weimer <fweimer@redhat.com>
18406
18407 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
18408 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
18409 (Scatter-Gather): ... to here. Remove misleading comment.
18410
18411 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
18412
18413 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
18414 style.
18415
18416 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
18417 when /proc/<pid>/setgroups does not exist.
18418
18419 2017-11-18 Florian Weimer <fweimer@redhat.com>
18420
18421 * sysdeps/unix/sysv/linux/tst-ttyname.c
18422 (become_root_in_mount_ns): Remove.
18423 (do_in_chroot_1): Call support_enter_mount_namespace.
18424 (do_in_chroot_2): Likewise.
18425 (do_test): Call support_become_root early.
18426
18427 2017-11-18 Florian Weimer <fweimer@redhat.com>
18428
18429 * support/namespace.h (support_enter_mount_namespace): Declare.
18430 * support/support_enter_mount_namespace.c: New file.
18431 * support/Makefile (libsupport-routines): Add
18432 support_enter_mount_namespace.
18433
18434 2017-11-18 Florian Weimer <fweimer@redhat.com>
18435
18436 * support/temp_file.c (support_create_temp_directory): Use
18437 test_dir and do not rely on the presence of the XXXXXX suffix.
18438 * support/temp_file.h (support_create_temp_directory): Update
18439 comment.
18440 * support/tst-xreadlink.c (do_test): Adjust.
18441 * support/support_chroot.c (support_chroot_create): Likewise.
18442
18443 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18444
18445 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
18446 macro.
18447 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
18448 htm-no-suspend.
18449
18450 2017-11-17 Joseph Myers <joseph@codesourcery.com>
18451
18452 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
18453 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
18454 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
18455 (ceill): Define using libm_alias_ldouble.
18456 * sysdeps/x86_64/fpu/s_copysignl.S: Include
18457 <libm-alias-ldouble.h>.
18458 (copysignl): Define using libm_alias_ldouble.
18459 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
18460 (fabsl): Define using libm_alias_ldouble.
18461 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
18462 (floorl): Define using libm_alias_ldouble.
18463 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
18464 (fmaxl): Define using libm_alias_ldouble.
18465 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
18466 (fminl): Define using libm_alias_ldouble.
18467 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
18468 (llrintl): Define using libm_alias_ldouble.
18469 (lrintl): Likewise.
18470 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
18471 <libm-alias-ldouble.h>.
18472 (nearbyintl): Define using libm_alias_ldouble.
18473 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
18474 (truncl): Define using libm_alias_ldouble.
18475 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
18476 <libm-alias-ldouble.h>.
18477 (lrintl): Define using libm_alias_ldouble.
18478
18479 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
18480 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
18481 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
18482 (asinhl): Define using libm_alias_ldouble.
18483 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
18484 (atanl): Define using libm_alias_ldouble.
18485 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
18486 (cbrtl): Define using libm_alias_ldouble.
18487 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
18488 (ceill): Define using libm_alias_ldouble.
18489 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
18490 (copysignl): Define using libm_alias_ldouble.
18491 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
18492 (fabsl): Define using libm_alias_ldouble.
18493 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
18494 (floorl): Define using libm_alias_ldouble.
18495 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
18496 (fmaxl): Define using libm_alias_ldouble.
18497 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
18498 (fminl): Define using libm_alias_ldouble.
18499 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
18500 (frexpl): Define using libm_alias_ldouble.
18501 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
18502 (llrintl): Define using libm_alias_ldouble.
18503 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
18504 (logbl): Define using libm_alias_ldouble.
18505 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
18506 (lrintl): Define using libm_alias_ldouble.
18507 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
18508 (nearbyintl): Define using libm_alias_ldouble.
18509 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
18510 (nextafterl): Define using libm_alias_ldouble.
18511 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
18512 (remquol): Define using libm_alias_ldouble.
18513 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
18514 (rintl): Define using libm_alias_ldouble.
18515 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
18516 (truncl): Define using libm_alias_ldouble.
18517 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
18518 (fmaxl): Define using libm_alias_ldouble.
18519 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
18520 (fminl): Define using libm_alias_ldouble.
18521
18522 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
18523 to C syntax instead of availability and properties of types.
18524 * bits/floatn.h [!__ASSEMBLER]: Likewise.
18525 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
18526 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
18527 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
18528 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
18529 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
18530
18531 2017-11-17 Florian Weimer <fweimer@redhat.com>
18532
18533 support_become_root: Enable file creation in namespaces.
18534 * support/support_become_root.c (setup_mapping): New function.
18535 (support_become_root): Call it.
18536
18537 2017-11-17 Joseph Myers <joseph@codesourcery.com>
18538
18539 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
18540 macro.
18541
18542 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18543
18544 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
18545 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
18546
18547 2017-11-16 Joseph Myers <joseph@codesourcery.com>
18548
18549 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
18550
18551 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18552 version to 4.14.
18553
18554 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
18555
18556 * INSTALL: Fix botched up regeneration.
18557
18558 * NEWS: Update sourceare link to https.
18559 * configure.ac: Likewise.
18560 * crypt/md5test-giant.c: Likewise.
18561 * dlfcn/bug-atexit1.c: Likewise.
18562 * dlfcn/bug-atexit2.c: Likewise.
18563 * localedata/README: Likewise.
18564 * malloc/tst-mallocfork.c: Likewise.
18565 * manual/install.texi: Likewise.
18566 * nptl/tst-pthread-getattr.c: Likewise.
18567 * stdio-common/tst-fgets.c: Likewise.
18568 * stdio-common/tst-fwrite.c: Likewise.
18569 * sunrpc/Makefile: Likewise.
18570 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
18571 * wcsmbs/tst-mbrtowc2.c: Likewise.
18572 * configure: Regenerate.
18573 * INSTALL: Regenerate.
18574
18575 2017-11-15 Martin Sebor <msebor@redhat.com>
18576
18577 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
18578 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
18579 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
18580
18581 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
18582
18583 [BZ #22145]
18584 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
18585 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
18586
18587 [BZ #22145]
18588 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
18589 Defer is_pty check until end of the function.
18590 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18591
18592 [BZ #22145]
18593 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
18594 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
18595 (ttyname): Likewise.
18596 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
18597 (__ttyname_r): Likewise.
18598
18599 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
18600 int to bool.
18601
18602 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
18603
18604 * manual/terminal.texi (Is It a Terminal):
18605 Mention ENODEV for ttyname and ttyname_r.
18606
18607 2017-11-15 Joseph Myers <joseph@codesourcery.com>
18608
18609 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
18610 constant and macro.
18611
18612 * sysdeps/unix/sysv/linux/bits/mman-linux.h
18613 [__USE_MISC] (MADV_WIPEONFORK): New macro.
18614 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
18615 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
18616 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
18617 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
18618
18619 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18620
18621 * signal/sigrelse.c (sigrelse): Optimize implementation.
18622
18623 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
18624 (__sigpause): Rely on __sigsuspend to implement single thread
18625 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
18626
18627 2017-11-15 Joseph Myers <joseph@codesourcery.com>
18628
18629 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18630 kernel version to 4.14.
18631
18632 2017-11-15 Steve Ellcey <sellcey@cavium.com>
18633
18634 [BZ #22442]
18635 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
18636 Check if ifname is too long.
18637
18638 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
18639
18640 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
18641
18642 2017-11-15 Mike FABIAN <mfabian@redhat.com>
18643
18644 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
18645 was accidentally lost.
18646
18647 2017-11-15 Mike FABIAN <mfabian@redhat.com>
18648
18649 * localedata/locales/az_IR: Add standard copyright header.
18650
18651 2017-11-15 Florian Weimer <fweimer@redhat.com>
18652
18653 [BZ #22439]
18654 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
18655 not just the top one. Output a new "subheaps" statistic.
18656
18657 2017-11-15 Florian Weimer <fweimer@redhat.com>
18658
18659 [BZ #22408]
18660 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
18661 under the per-arena lock.
18662 * malloc/Makefile (tests): Add tst-malloc_info.
18663 (tst-malloc_info): Link with libpthread.
18664 * malloc/tst-malloc_info.c: New file.
18665
18666 2017-11-15 Joseph Myers <joseph@codesourcery.com>
18667
18668 [BZ #21660]
18669 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
18670 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
18671 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
18672 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
18673 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
18674 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
18675 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
18676 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
18677 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
18678 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
18679 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
18680 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
18681 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
18682 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
18683 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
18684 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
18685 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
18686 (__floating_type): Likewise.
18687 (__real_integer_type): Likewise.
18688 (__complex_integer_type): Likewise.
18689 (__expr_is_real): Likewise.
18690 (__tgmath_real_type_sub): Likewise.
18691 (__tgmath_real_type): Likewise.
18692 (__tgmath_complex_type_sub): Likewise.
18693 (__tgmath_complex_type): Likewise.
18694 (__TGMATH_F128): Likewise.
18695 (__TGMATH_CF128): Likewise.
18696 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
18697 new macros.
18698 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
18699 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
18700 Likewise.
18701 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
18702 Likewise.
18703 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
18704 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
18705 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
18706 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
18707 Likewise.
18708 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
18709 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
18710 Likewise.
18711 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
18712 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
18713 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
18714 Likewise.
18715 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
18716 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
18717 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
18718 (cimag): Likewise.
18719 (creal): Likewise.
18720
18721 2017-11-14 Joseph Myers <joseph@codesourcery.com>
18722
18723 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
18724 for stpncpy calls for GCC 8.
18725 (test_strncat): Disable -Wstringop-truncation warning for strncat
18726 calls for GCC 8. Disable -Wstringop-overflow= warning for one
18727 strncat call for GCC 7.
18728 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
18729 calls for GCC 8.
18730 (test_memcmp): Use memcpy instead of strncpy for calls not copying
18731 trailing NUL.
18732
18733 * string/bug-strncat1.c: Include <libc-diag.h>.
18734 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
18735
18736 2017-11-13 Claude Paroz <claude@2xlibre.net>
18737
18738 [BZ #22387]
18739 * localedata/locales/aa_DJ: Improved readibility by replacing
18740 <Uxxxx> sequences in the ASCII printable range by their ASCII
18741 character equivalents.
18742 * localedata/locales/aa_ER: Likewise.
18743 * localedata/locales/aa_ER@saaho: Likewise.
18744 * localedata/locales/aa_ET: Likewise.
18745 * localedata/locales/af_ZA: Likewise.
18746 * localedata/locales/agr_PE: Likewise.
18747 * localedata/locales/ak_GH: Likewise.
18748 * localedata/locales/am_ET: Likewise.
18749 * localedata/locales/anp_IN: Likewise.
18750 * localedata/locales/ar_AE: Likewise.
18751 * localedata/locales/ar_BH: Likewise.
18752 * localedata/locales/ar_DZ: Likewise.
18753 * localedata/locales/ar_EG: Likewise.
18754 * localedata/locales/ar_IN: Likewise.
18755 * localedata/locales/ar_IQ: Likewise.
18756 * localedata/locales/ar_JO: Likewise.
18757 * localedata/locales/ar_KW: Likewise.
18758 * localedata/locales/ar_LB: Likewise.
18759 * localedata/locales/ar_LY: Likewise.
18760 * localedata/locales/ar_MA: Likewise.
18761 * localedata/locales/ar_OM: Likewise.
18762 * localedata/locales/ar_QA: Likewise.
18763 * localedata/locales/ar_SA: Likewise.
18764 * localedata/locales/ar_SD: Likewise.
18765 * localedata/locales/ar_SS: Likewise.
18766 * localedata/locales/ar_SY: Likewise.
18767 * localedata/locales/ar_TN: Likewise.
18768 * localedata/locales/ar_YE: Likewise.
18769 * localedata/locales/as_IN: Likewise.
18770 * localedata/locales/ast_ES: Likewise.
18771 * localedata/locales/ayc_PE: Likewise.
18772 * localedata/locales/az_AZ: Likewise.
18773 * localedata/locales/az_IR: Likewise.
18774 * localedata/locales/be_BY: Likewise.
18775 * localedata/locales/be_BY@latin: Likewise.
18776 * localedata/locales/bem_ZM: Likewise.
18777 * localedata/locales/ber_DZ: Likewise.
18778 * localedata/locales/ber_MA: Likewise.
18779 * localedata/locales/bg_BG: Likewise.
18780 * localedata/locales/bhb_IN: Likewise.
18781 * localedata/locales/bho_IN: Likewise.
18782 * localedata/locales/bi_VU: Likewise.
18783 * localedata/locales/bn_BD: Likewise.
18784 * localedata/locales/bn_IN: Likewise.
18785 * localedata/locales/bo_CN: Likewise.
18786 * localedata/locales/bo_IN: Likewise.
18787 * localedata/locales/br_FR: Likewise.
18788 * localedata/locales/brx_IN: Likewise.
18789 * localedata/locales/bs_BA: Likewise.
18790 * localedata/locales/byn_ER: Likewise.
18791 * localedata/locales/ca_AD: Likewise.
18792 * localedata/locales/ca_ES: Likewise.
18793 * localedata/locales/ca_FR: Likewise.
18794 * localedata/locales/ca_IT: Likewise.
18795 * localedata/locales/ce_RU: Likewise.
18796 * localedata/locales/chr_US: Likewise.
18797 * localedata/locales/cmn_TW: Likewise.
18798 * localedata/locales/crh_UA: Likewise.
18799 * localedata/locales/cs_CZ: Likewise.
18800 * localedata/locales/csb_PL: Likewise.
18801 * localedata/locales/cv_RU: Likewise.
18802 * localedata/locales/cy_GB: Likewise.
18803 * localedata/locales/da_DK: Likewise.
18804 * localedata/locales/de_AT: Likewise.
18805 * localedata/locales/de_BE: Likewise.
18806 * localedata/locales/de_CH: Likewise.
18807 * localedata/locales/de_DE: Likewise.
18808 * localedata/locales/de_IT: Likewise.
18809 * localedata/locales/de_LI: Likewise.
18810 * localedata/locales/de_LU: Likewise.
18811 * localedata/locales/doi_IN: Likewise.
18812 * localedata/locales/dv_MV: Likewise.
18813 * localedata/locales/dz_BT: Likewise.
18814 * localedata/locales/el_CY: Likewise.
18815 * localedata/locales/el_GR: Likewise.
18816 * localedata/locales/en_AG: Likewise.
18817 * localedata/locales/en_AU: Likewise.
18818 * localedata/locales/en_BW: Likewise.
18819 * localedata/locales/en_CA: Likewise.
18820 * localedata/locales/en_DK: Likewise.
18821 * localedata/locales/en_GB: Likewise.
18822 * localedata/locales/en_HK: Likewise.
18823 * localedata/locales/en_IE: Likewise.
18824 * localedata/locales/en_IL: Likewise.
18825 * localedata/locales/en_IN: Likewise.
18826 * localedata/locales/en_NG: Likewise.
18827 * localedata/locales/en_NZ: Likewise.
18828 * localedata/locales/en_PH: Likewise.
18829 * localedata/locales/en_SG: Likewise.
18830 * localedata/locales/en_US: Likewise.
18831 * localedata/locales/en_ZA: Likewise.
18832 * localedata/locales/en_ZM: Likewise.
18833 * localedata/locales/en_ZW: Likewise.
18834 * localedata/locales/eo: Likewise.
18835 * localedata/locales/es_AR: Likewise.
18836 * localedata/locales/es_BO: Likewise.
18837 * localedata/locales/es_CL: Likewise.
18838 * localedata/locales/es_CO: Likewise.
18839 * localedata/locales/es_CR: Likewise.
18840 * localedata/locales/es_CU: Likewise.
18841 * localedata/locales/es_DO: Likewise.
18842 * localedata/locales/es_EC: Likewise.
18843 * localedata/locales/es_ES: Likewise.
18844 * localedata/locales/es_GT: Likewise.
18845 * localedata/locales/es_HN: Likewise.
18846 * localedata/locales/es_MX: Likewise.
18847 * localedata/locales/es_NI: Likewise.
18848 * localedata/locales/es_PA: Likewise.
18849 * localedata/locales/es_PE: Likewise.
18850 * localedata/locales/es_PR: Likewise.
18851 * localedata/locales/es_PY: Likewise.
18852 * localedata/locales/es_SV: Likewise.
18853 * localedata/locales/es_US: Likewise.
18854 * localedata/locales/es_UY: Likewise.
18855 * localedata/locales/es_VE: Likewise.
18856 * localedata/locales/et_EE: Likewise.
18857 * localedata/locales/eu_ES: Likewise.
18858 * localedata/locales/eu_ES@euro: Likewise.
18859 * localedata/locales/fa_IR: Likewise.
18860 * localedata/locales/ff_SN: Likewise.
18861 * localedata/locales/fi_FI: Likewise.
18862 * localedata/locales/fil_PH: Likewise.
18863 * localedata/locales/fo_FO: Likewise.
18864 * localedata/locales/fr_BE: Likewise.
18865 * localedata/locales/fr_CA: Likewise.
18866 * localedata/locales/fr_CH: Likewise.
18867 * localedata/locales/fr_FR: Likewise.
18868 * localedata/locales/fr_LU: Likewise.
18869 * localedata/locales/fur_IT: Likewise.
18870 * localedata/locales/fy_DE: Likewise.
18871 * localedata/locales/fy_NL: Likewise.
18872 * localedata/locales/ga_IE: Likewise.
18873 * localedata/locales/gd_GB: Likewise.
18874 * localedata/locales/gez_ER: Likewise.
18875 * localedata/locales/gez_ET: Likewise.
18876 * localedata/locales/gl_ES: Likewise.
18877 * localedata/locales/gu_IN: Likewise.
18878 * localedata/locales/gv_GB: Likewise.
18879 * localedata/locales/ha_NG: Likewise.
18880 * localedata/locales/hak_TW: Likewise.
18881 * localedata/locales/he_IL: Likewise.
18882 * localedata/locales/hi_IN: Likewise.
18883 * localedata/locales/hif_FJ: Likewise.
18884 * localedata/locales/hne_IN: Likewise.
18885 * localedata/locales/hr_HR: Likewise.
18886 * localedata/locales/hsb_DE: Likewise.
18887 * localedata/locales/ht_HT: Likewise.
18888 * localedata/locales/hu_HU: Likewise.
18889 * localedata/locales/hy_AM: Likewise.
18890 * localedata/locales/i18n: Likewise.
18891 * localedata/locales/ia_FR: Likewise.
18892 * localedata/locales/id_ID: Likewise.
18893 * localedata/locales/ig_NG: Likewise.
18894 * localedata/locales/ik_CA: Likewise.
18895 * localedata/locales/is_IS: Likewise.
18896 * localedata/locales/it_CH: Likewise.
18897 * localedata/locales/it_IT: Likewise.
18898 * localedata/locales/iu_CA: Likewise.
18899 * localedata/locales/ja_JP: Likewise.
18900 * localedata/locales/ka_GE: Likewise.
18901 * localedata/locales/kk_KZ: Likewise.
18902 * localedata/locales/kl_GL: Likewise.
18903 * localedata/locales/kn_IN: Likewise.
18904 * localedata/locales/ko_KR: Likewise.
18905 * localedata/locales/kok_IN: Likewise.
18906 * localedata/locales/ks_IN: Likewise.
18907 * localedata/locales/ks_IN@devanagari: Likewise.
18908 * localedata/locales/ku_TR: Likewise.
18909 * localedata/locales/kw_GB: Likewise.
18910 * localedata/locales/ky_KG: Likewise.
18911 * localedata/locales/lb_LU: Likewise.
18912 * localedata/locales/lg_UG: Likewise.
18913 * localedata/locales/li_BE: Likewise.
18914 * localedata/locales/li_NL: Likewise.
18915 * localedata/locales/lij_IT: Likewise.
18916 * localedata/locales/ln_CD: Likewise.
18917 * localedata/locales/lo_LA: Likewise.
18918 * localedata/locales/lt_LT: Likewise.
18919 * localedata/locales/lv_LV: Likewise.
18920 * localedata/locales/lzh_TW: Likewise.
18921 * localedata/locales/mag_IN: Likewise.
18922 * localedata/locales/mai_IN: Likewise.
18923 * localedata/locales/mg_MG: Likewise.
18924 * localedata/locales/mhr_RU: Likewise.
18925 * localedata/locales/mi_NZ: Likewise.
18926 * localedata/locales/mk_MK: Likewise.
18927 * localedata/locales/ml_IN: Likewise.
18928 * localedata/locales/mn_MN: Likewise.
18929 * localedata/locales/mni_IN: Likewise.
18930 * localedata/locales/mr_IN: Likewise.
18931 * localedata/locales/ms_MY: Likewise.
18932 * localedata/locales/mt_MT: Likewise.
18933 * localedata/locales/my_MM: Likewise.
18934 * localedata/locales/nan_TW: Likewise.
18935 * localedata/locales/nan_TW@latin: Likewise.
18936 * localedata/locales/nb_NO: Likewise.
18937 * localedata/locales/nds_DE: Likewise.
18938 * localedata/locales/nds_NL: Likewise.
18939 * localedata/locales/ne_NP: Likewise.
18940 * localedata/locales/nhn_MX: Likewise.
18941 * localedata/locales/niu_NU: Likewise.
18942 * localedata/locales/niu_NZ: Likewise.
18943 * localedata/locales/nl_AW: Likewise.
18944 * localedata/locales/nl_BE: Likewise.
18945 * localedata/locales/nl_NL: Likewise.
18946 * localedata/locales/nn_NO: Likewise.
18947 * localedata/locales/nr_ZA: Likewise.
18948 * localedata/locales/nso_ZA: Likewise.
18949 * localedata/locales/oc_FR: Likewise.
18950 * localedata/locales/om_ET: Likewise.
18951 * localedata/locales/om_KE: Likewise.
18952 * localedata/locales/or_IN: Likewise.
18953 * localedata/locales/os_RU: Likewise.
18954 * localedata/locales/pa_IN: Likewise.
18955 * localedata/locales/pa_PK: Likewise.
18956 * localedata/locales/pap_AW: Likewise.
18957 * localedata/locales/pap_CW: Likewise.
18958 * localedata/locales/pl_PL: Likewise.
18959 * localedata/locales/ps_AF: Likewise.
18960 * localedata/locales/pt_BR: Likewise.
18961 * localedata/locales/pt_PT: Likewise.
18962 * localedata/locales/quz_PE: Likewise.
18963 * localedata/locales/raj_IN: Likewise.
18964 * localedata/locales/ro_RO: Likewise.
18965 * localedata/locales/ru_RU: Likewise.
18966 * localedata/locales/ru_UA: Likewise.
18967 * localedata/locales/rw_RW: Likewise.
18968 * localedata/locales/sa_IN: Likewise.
18969 * localedata/locales/sat_IN: Likewise.
18970 * localedata/locales/sc_IT: Likewise.
18971 * localedata/locales/sd_IN: Likewise.
18972 * localedata/locales/sd_IN@devanagari: Likewise.
18973 * localedata/locales/se_NO: Likewise.
18974 * localedata/locales/sgs_LT: Likewise.
18975 * localedata/locales/shs_CA: Likewise.
18976 * localedata/locales/si_LK: Likewise.
18977 * localedata/locales/sid_ET: Likewise.
18978 * localedata/locales/sk_SK: Likewise.
18979 * localedata/locales/sl_SI: Likewise.
18980 * localedata/locales/sm_WS: Likewise.
18981 * localedata/locales/so_DJ: Likewise.
18982 * localedata/locales/so_ET: Likewise.
18983 * localedata/locales/so_KE: Likewise.
18984 * localedata/locales/so_SO: Likewise.
18985 * localedata/locales/sq_AL: Likewise.
18986 * localedata/locales/sq_MK: Likewise.
18987 * localedata/locales/sr_ME: Likewise.
18988 * localedata/locales/sr_RS: Likewise.
18989 * localedata/locales/sr_RS@latin: Likewise.
18990 * localedata/locales/ss_ZA: Likewise.
18991 * localedata/locales/st_ZA: Likewise.
18992 * localedata/locales/sv_FI: Likewise.
18993 * localedata/locales/sv_SE: Likewise.
18994 * localedata/locales/sw_KE: Likewise.
18995 * localedata/locales/sw_TZ: Likewise.
18996 * localedata/locales/szl_PL: Likewise.
18997 * localedata/locales/ta_IN: Likewise.
18998 * localedata/locales/ta_LK: Likewise.
18999 * localedata/locales/tcy_IN: Likewise.
19000 * localedata/locales/te_IN: Likewise.
19001 * localedata/locales/tg_TJ: Likewise.
19002 * localedata/locales/th_TH: Likewise.
19003 * localedata/locales/the_NP: Likewise.
19004 * localedata/locales/ti_ER: Likewise.
19005 * localedata/locales/ti_ET: Likewise.
19006 * localedata/locales/tig_ER: Likewise.
19007 * localedata/locales/tk_TM: Likewise.
19008 * localedata/locales/tl_PH: Likewise.
19009 * localedata/locales/tn_ZA: Likewise.
19010 * localedata/locales/to_TO: Likewise.
19011 * localedata/locales/tpi_PG: Likewise.
19012 * localedata/locales/tr_CY: Likewise.
19013 * localedata/locales/tr_TR: Likewise.
19014 * localedata/locales/ts_ZA: Likewise.
19015 * localedata/locales/tt_RU: Likewise.
19016 * localedata/locales/tt_RU@iqtelif: Likewise.
19017 * localedata/locales/ug_CN: Likewise.
19018 * localedata/locales/uk_UA: Likewise.
19019 * localedata/locales/unm_US: Likewise.
19020 * localedata/locales/ur_IN: Likewise.
19021 * localedata/locales/ur_PK: Likewise.
19022 * localedata/locales/uz_UZ: Likewise.
19023 * localedata/locales/uz_UZ@cyrillic: Likewise.
19024 * localedata/locales/ve_ZA: Likewise.
19025 * localedata/locales/vi_VN: Likewise.
19026 * localedata/locales/wa_BE: Likewise.
19027 * localedata/locales/wae_CH: Likewise.
19028 * localedata/locales/wal_ET: Likewise.
19029 * localedata/locales/wo_SN: Likewise.
19030 * localedata/locales/xh_ZA: Likewise.
19031 * localedata/locales/yi_US: Likewise.
19032 * localedata/locales/yo_NG: Likewise.
19033 * localedata/locales/yue_HK: Likewise.
19034 * localedata/locales/yuw_PG: Likewise.
19035 * localedata/locales/zh_CN: Likewise.
19036 * localedata/locales/zh_HK: Likewise.
19037 * localedata/locales/zh_SG: Likewise.
19038 * localedata/locales/zh_TW: Likewise.
19039 * localedata/locales/zu_ZA: Likewise.
19040
19041 2017-11-13 Florian Weimer <fweimer@redhat.com>
19042
19043 * support/next_to_fault.h, support/next_to_fault.c: New files.
19044 * support/Makefile (libsupport-routines): Add next_to_fault.
19045 * resolv/tst-inet_pton.c (struct next_to_fault)
19046 (next_to_fault_allocate, next_to_fault_free): Remove.
19047 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
19048
19049 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
19050
19051 * elf/dl-support.c: Include <dl-procruntime.c>.
19052 * include/link.h: Include <link_map.h>.
19053 * sysdeps/generic/dl-procruntime.c: New file.
19054 * sysdeps/generic/link_map.h: Likewise.
19055 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
19056 the writable ld.so namespace.
19057
19058 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
19059
19060 timezone: pacify GCC -Wstringop-truncation
19061 Problem reported by Martin Sebor in:
19062 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
19063 * timezone/zic.c (writezone): Use memcpy, not strncpy.
19064
19065 2017-11-12 Florian Weimer <fweimer@redhat.com>
19066
19067 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
19068 tst-xreadlink.
19069 (tests): Add tst-xreadlink.
19070 * support/support.h (xstrndup): Declare.
19071 * support/xunistd.h (xunlink, xreadlink): Declare.
19072 * support/temp_file.h (support_create_temp_directory): Declare.
19073 * support/temp_file.c (support_create_temp_directory): New function.
19074 * support/support_chroot.c (support_chroot_create): Use it.
19075 * support/xreadlink.c: New file.
19076 * support/xstrndup.c: Likewise.
19077 * support/xunlink.c: Likewise.
19078 * support/tst-xreadlink.c: Likewise.
19079
19080 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
19081
19082 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
19083
19084 2017-11-11 Florian Weimer <fweimer@redhat.com>
19085
19086 [BZ #22409]
19087 [BZ #22412]
19088 * resolv/res_comp.c (printable_string, binary_hnok)
19089 (binary_leading_dash): New functions.
19090 (res_hnok): Reimplement using these functions and ns_name_pton.
19091 (res_ownok): Likewise.
19092 (res_mailok): Reimplement using printable_string, ns_name_pton and
19093 binary_hnok.
19094 (res_dnok): Reimplement using printable_string and ns_name_pton.
19095 * resolv/tst-res_hnok.c (tests): Add additional tests.
19096 (LETTERDIGITS, PRINTABLE): Define.
19097 (do_test): Adjust one_char results.
19098
19099 2017-11-11 Florian Weimer <fweimer@redhat.com>
19100
19101 [BZ #22413]
19102 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
19103 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
19104
19105 2017-11-11 Florian Weimer <fweimer@redhat.com>
19106
19107 * resolv/tst-ns_name_pton.c: New file.
19108 * resolv/Makefile (tests): Add tst-ns_name_pton.
19109 (tst-ns_name_pton): Link against libresolv.
19110
19111 2017-11-11 Florian Weimer <fweimer@redhat.com>
19112
19113 * resolv/tst-res_hnok.c: New file.
19114 * resolv/Makefile (tests): Add tst-res_hnok.
19115 (tst-res_hnok): Link against libresolv.
19116
19117 2017-11-11 Florian Weimer <fweimer@redhat.com>
19118
19119 * resolv/tst-resolv-network.c: Use test framework instead explicit
19120 main function.
19121
19122 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
19123
19124 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
19125 <jmp_buf-macros.h>.
19126 [!_ISOMAC] (STR_HELPER): New.
19127 [!_ISOMAC] (STR): Likewise.
19128 [!_ISOMAC] (TEST_SIZE): Likewise.
19129 [!_ISOMAC] (TEST_ALIGN): Likewise.
19130 [!_ISOMAC] (TEST_OFFSET): Likewise.
19131 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
19132 field offsets of jmp_buf as well as sigjmp_buf.
19133 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
19134 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
19135 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
19136 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
19137 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
19138 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
19139 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
19140 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
19141 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
19142 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
19143 Likewise.
19144 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
19145 Likewise.
19146 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
19147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
19148 Likewise.
19149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
19150 Likewise.
19151 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
19152 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
19153 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
19154 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
19155 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
19156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
19157 Likewise.
19158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
19159 Likewise.
19160 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19161 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
19162 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
19163
19164 2017-11-07 Joseph Myers <joseph@codesourcery.com>
19165
19166 * include/float.h
19167 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19168 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
19169 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19170 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
19171 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19172 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
19173 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19174 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
19175 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19176 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
19177 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19178 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
19179 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19180 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
19181 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19182 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
19183 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19184 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
19185 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19186 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
19187 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19188 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
19189 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19190 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
19191 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19192 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
19193 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19194 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
19195 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19196 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
19197 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19198 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
19199 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19200 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
19201 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19202 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
19203 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19204 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
19205 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19206 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
19207 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19208 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
19209 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19210 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
19211 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19212 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
19213 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19214 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
19215 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19216 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
19217 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19218 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
19219 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19220 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
19221 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19222 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
19223 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19224 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
19225 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19226 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
19227 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19228 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
19229 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19230 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
19231 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19232 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
19233 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19234 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
19235 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19236 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
19237 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19238 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
19239 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19240 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
19241 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19242 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
19243 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19244 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
19245 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19246 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
19247 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19248 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
19249 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19250 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
19251 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19252 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
19253 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
19254 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
19255
19256 * stdlib/tst-strtod.h (F16): New macro.
19257 (F32): Likewise.
19258 (F64): Likewise.
19259 (F32X): Likewise.
19260 (F64X): Likewise.
19261 (F128X): Likewise.
19262 (IF_FLOAT16): Likewise.
19263 (IF_FLOAT32): Likewise.
19264 (IF_FLOAT64): Likewise.
19265 (IF_FLOAT32X): Likewise.
19266 (IF_FLOAT64X): Likewise.
19267 (IF_FLOAT128X): Likewise.
19268 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
19269 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
19270 (STRTOD_TEST_FOREACH): Likewise.
19271 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
19272 (CHOOSE_f64): Likewise.
19273 (CHOOSE_f32x): Likewise.
19274 (CHOOSE_f64x): Likewise.
19275
19276 2017-11-07 Andreas Schwab <schwab@suse.de>
19277
19278 * nptl/Makefile (tests-internal): Remove tst-typesizes.
19279
19280 2017-11-07 Mike FABIAN <mfabian@redhat.com>
19281
19282 [BZ #22403]
19283 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
19284 to be escaped.
19285 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
19286 to be escaped.
19287
19288 2017-11-07 Claude Paroz <claude@2xlibre.net>
19289
19290 [BZ #22403]
19291 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
19292 to be escaped.
19293 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
19294 to be escaped.
19295 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
19296 to be escaped.
19297
19298 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19299
19300 [BZ #22298]
19301 * nptl/allocatestack.c (allocate_stack): Check if
19302 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
19303 __PTHREAD_MUTEX_HAVE_PREV is defined.
19304 * nptl/descr.h (pthread): Likewise.
19305 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19306 Likewise.
19307 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
19308 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19309 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
19310 * sysdeps/nptl/bits/thread-shared-types.h
19311 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
19312 defines.
19313 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
19314 of __WORDSIZE for internal layout.
19315 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
19316 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
19317 instead of __WORDSIZE whether to use an union for __spins and __list
19318 fields.
19319 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
19320 case.
19321 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
19322 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
19323 defines.
19324 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
19325 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19326 Likewise.
19327 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
19328 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19329 Likewise.
19330 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
19331 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19332 Likewise.
19333 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
19334 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19335 Likewise.
19336 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
19337 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19338 Likewise.
19339 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
19340 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19341 Likewise.
19342 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
19343 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19344 Likewise.
19345 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
19346 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19347 Likewise.
19348 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
19349 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19350 Likewise.
19351 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
19352 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19353 Likewise.
19354 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
19355 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19356 Likewise.
19357 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
19358 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19359 Likewise.
19360 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
19361 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19362 Likewise.
19363 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
19364 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
19365 Likewise.
19366
19367 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
19368 New macros.
19369 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
19370 checks for expected input type size.
19371 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
19372 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
19373 Likewise.
19374 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
19375 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
19376 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
19377 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
19378 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
19379 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
19380 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
19381 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
19382 superflous runtime assert check.
19383 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
19384 Likewise.
19385 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
19386 Likewise.
19387 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
19388 Likewise.
19389 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
19390 Likewise.
19391 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
19392 Likewise.
19393 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
19394 Likewise.
19395 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
19396 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
19397 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
19398 Likewise.
19399 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
19400 Likewise.
19401 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
19402 Likewise.
19403 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
19404 Likewise.
19405 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
19406 Likewise.
19407 * nptl/pthread_attr_setinheritsched.c
19408 (__pthread_attr_setinheritsched): Likewise.
19409 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
19410 Likewise.
19411 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
19412 Likewise.
19413 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
19414 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
19415 __old_pthread_attr_setstack): Likewise.
19416 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
19417 Likewise.
19418 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
19419 Likewise.
19420 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
19421 Likewise.
19422 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
19423 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
19424 Likewise.
19425 * nptl/tst-typesizes.c: Remove file.
19426
19427 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
19428 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
19429 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
19430 checks for internal pthread_mutex_t offsets.
19431 * sysdeps/aarch64/nptl/pthread-offsets.h
19432 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
19433 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
19434 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
19435 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
19436 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
19437 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
19438 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
19439 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
19440 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
19441 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
19442 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
19443 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
19444 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
19445 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
19446 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
19447 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
19448 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
19449 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
19450
19451 2017-11-07 Florian Weimer <fweimer@redhat.com>
19452
19453 * bits/mman-linux.h: Move ...
19454 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
19455 comment.
19456 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
19457 outdated comment.
19458
19459 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19460
19461 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
19462 Redefine STRNLEN as __strnlen_power8.
19463
19464 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19465
19466 * signal/sighold.c (sighold): Optimize implementation.
19467
19468 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
19469 __NR_rt_sigqueueinfo.
19470
19471 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
19472 __sigtimedwait.
19473 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
19474 assume __NR_rt_sigtimedwait.
19475 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
19476 and add LIBC_CANCEL_HANDLED for cancellation marking.
19477 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19478
19479 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
19480 (sysdeps_routines): Add memchr_noneon.
19481 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
19482 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
19483 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
19484 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
19485 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
19486 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
19487 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
19488
19489 * sysdeps/arm/arm-ifunc.h: New file.
19490 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
19491 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
19492 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
19493 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
19494 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
19495 (__memcpy_neon): Avoid create hidden alias.
19496 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
19497 (__memcpy_vfp): Likewise.
19498 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
19499 (sysdep_routines): Add memcpy_arm.
19500 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
19501
19502 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
19503
19504 [BZ #22362]
19505 * Makerules (make-link-multidir): New.
19506 * config.make.in (multidir): New.
19507 * configure.ac (libc_cv_multidir): New. AC_SUBST.
19508 * configure: Regenerated.
19509 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
19510 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
19511 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
19512 New target.
19513
19514 2017-11-06 Joseph Myers <joseph@codesourcery.com>
19515
19516 [BZ #22402]
19517 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
19518 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
19519
19520 2017-11-04 Mike FABIAN <mfabian@redhat.com>
19521
19522 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
19523 to be escaped.
19524
19525 2017-11-04 Florian Weimer <fweimer@redhat.com>
19526
19527 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
19528
19529 2017-11-03 Joseph Myers <joseph@codesourcery.com>
19530
19531 * math/math.h [__HAVE_DISTINCT_FLOAT16
19532 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
19533 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
19534 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
19535 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
19536 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
19537 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
19538 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
19539 (__MATH_TG_F32): New macro.
19540 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
19541 (__MATH_TG_F64X): Likewise.
19542 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
19543 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
19544
19545 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
19546
19547 * po/de.po: Update translations.
19548 * po/ru.po: Likewise.
19549
19550 2017-11-03 Florian Weimer <fweimer@redhat.com>
19551
19552 * manual/filesys.texi (Hard Links): Document linkat.
19553
19554 2017-11-03 Joseph Myers <joseph@codesourcery.com>
19555
19556 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
19557 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
19558 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
19559 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
19560 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
19561 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
19562 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
19563 the same as _Float128.
19564 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
19565 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
19566 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
19567
19568 * stdlib/stdlib.h
19569 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
19570 Declare.
19571 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
19572 Likewise.
19573 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
19574 Likewise.
19575 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19576 (strtof32x): Likewise.
19577 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19578 (strtof64x): Likewise.
19579 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19580 (strtof128x): Likewise.
19581 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19582 (strfromf16): Likewise.
19583 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19584 (strfromf32): Likewise.
19585 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19586 (strfromf64): Likewise.
19587 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19588 (strfromf32x): Likewise.
19589 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19590 (strfromf64x): Likewise.
19591 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19592 (strfromf128x): Likewise.
19593 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
19594 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
19595 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
19596 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
19597 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
19598 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
19599
19600 2017-11-03 Richard Henderson <rth@twiddle.net>
19601
19602 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
19603
19604 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19605
19606 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
19607
19608 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19609
19610 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
19611 DT_TLSDESC_GOT initialization.
19612 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
19613 (_dl_tlsdesc_resolve_hold): Likewise.
19614 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
19615 (_dl_tlsdesc_resolve_hold): Likewise.
19616 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
19617 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
19618
19619 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19620
19621 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
19622
19623 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19624
19625 [BZ #18572]
19626 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
19627 non-lazily for R_ARM_TLS_DESC.
19628
19629 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19630
19631 [BZ #17078]
19632 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
19633 R_ARM_TLS_DESC case.
19634 (elf_machine_lazy_rel): Remove the prelink check.
19635
19636 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19637
19638 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
19639 DT_TLSDESC_GOT initialization.
19640 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
19641 (_dl_tlsdesc_resolve_rela): Likewise.
19642 (_dl_tlsdesc_resolve_hold): Likewise.
19643 (_dl_tlsdesc_undefweak): Remove ldar.
19644 (_dl_tlsdesc_dynamic): Likewise.
19645 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
19646 (_dl_tlsdesc_resolve_rela): Likewise.
19647 (_dl_tlsdesc_resolve_hold): Likewise.
19648 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
19649 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
19650 (_dl_tlsdesc_resolve_rela): Likewise.
19651 (_dl_tlsdesc_resolve_hold): Likewise.
19652
19653 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19654
19655 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
19656 binding and initialization non-lazily for R_AARCH64_TLSDESC.
19657
19658 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
19659
19660 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
19661 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19662
19663 2017-11-02 Joseph Myers <joseph@codesourcery.com>
19664
19665 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
19666 Declare.
19667 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
19668 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
19669 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
19670 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
19671 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
19672 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
19673 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
19674 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
19675 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
19676 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
19677 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
19678
19679 2017-11-02 Mike FABIAN <mfabian@redhat.com>
19680
19681 [BZ #22382]
19682 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
19683 * localedata/locales/tpi_PG: Add standard header.
19684
19685 2017-11-02 Florian Weimer <fweimer@redhat.com>
19686
19687 test-errno-linux: quotactl can fail with EPERM in containers.
19688 * sysdeps/unix/sysv/linux/test-errno-linux.c
19689 (LIST, LIST_FORWARD): New macros.
19690 (check_error_in_list): New function.
19691 (test_wrp_rv): Accept list of permitted error codes.
19692 (test_wrp_rv2): Remove.
19693 (test_wrp): Call test_wrp_rv with list of error codes.
19694 (test_wrp2): Accept list of error codes.
19695 (do_test): Adjust. Allow EPERM for quotactl.
19696
19697 2017-11-02 Florian Weimer <fweimer@redhat.com>
19698
19699 * stdio-common/bug16.c (do_test): Use array_length.
19700 * stdio-common/errlist.c (_sys_nerr): Likewise.
19701 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
19702 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
19703 * stdio-common/psiginfo.c (psiginfo): Use array_length.
19704 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
19705 (do_test): Use array_length.
19706 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
19707 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
19708 * stdio-common/tst-printf-round.c (do_test): Likewise.
19709 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
19710 (CHECK): Use array_length.
19711 * stdio-common/tstdiomisc.c (t3, F): Likewise.
19712 * stdio-common/tstscanf.c (main): Likewise.
19713 * stdio-common/vfprintf.c (process_string_arg): Likewise.
19714
19715 2017-11-02 Florian Weimer <fweimer@redhat.com>
19716
19717 Add array_length and array_end macros.
19718 * include/array_length.h: New file.
19719
19720 2017-11-02 Florian Weimer <fweimer@redhat.com>
19721
19722 [BZ #22332]
19723 * posix/tst-glob-tilde.c (do_noescape): New variable.
19724 (one_test): Process it.
19725 (do_test): Set do_noescape. Add unescaping test case.
19726
19727 2017-11-01 Joseph Myers <joseph@codesourcery.com>
19728
19729 * math/complex.h
19730 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
19731 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
19732 with appropriate macros defined and undefined.
19733 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
19734 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19735 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
19736 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19737 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
19738 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19739 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
19740 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19741 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
19742 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
19743
19744 * math/complex.h
19745 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
19746 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
19747 that for long double. Do not condition define and undefine of
19748 _Mdouble_complex_ on [__CFLOAT128].
19749
19750 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
19751
19752 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
19753 of <sysdeps/generic/sysdep.h>.
19754 (ALIGNARG): Removed.
19755 (ASM_SIZE_DIRECTIVE): Likewise.
19756 (ENTRY): Likewise.
19757 (END): Likewise.
19758 (ENTRY_CHK): Likewise.
19759 (END_CHK): Likewise.
19760 (syscall_error): Likewise.
19761 (mcount): Likewise.
19762 (PSEUDO_END): Likewise.
19763 (L): Likewise.
19764 (atom_text_section): Likewise.
19765 * sysdeps/x86/sysdep.h: New file.
19766 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
19767 of <sysdeps/generic/sysdep.h>.
19768 (ALIGNARG): Removed.
19769 (ASM_SIZE_DIRECTIVE): Likewise.
19770 (ENTRY): Likewise.
19771 (END): Likewise.
19772 (ENTRY_CHK): Likewise.
19773 (END_CHK): Likewise.
19774 (syscall_error): Likewise.
19775 (mcount): Likewise.
19776 (PSEUDO_END): Likewise.
19777 (L): Likewise.
19778 (atom_text_section): Likewise.
19779
19780 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
19781
19782 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
19783 category of LC_CTYPE set to "i18n:2012".
19784 * localedata/locales/i18n_ctype: Regenerate.
19785
19786 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
19787
19788 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
19789 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
19790 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
19791 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
19792
19793 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
19794 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
19795 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
19796 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
19797
19798 2017-10-31 Joseph Myers <joseph@codesourcery.com>
19799
19800 * math/complex.h
19801 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
19802 New macro.
19803 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
19804 Likewise.
19805 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
19806 Likewise.
19807 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19808 (CMPLXF32X): Likewise.
19809 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19810 (CMPLXF64X): Likewise.
19811 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
19812 (CMPLXF128X): Likewise.
19813
19814 * math/math.h
19815 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
19816 (__MATH_EVAL_FMT2): Define to add 0.0f.
19817
19818 2017-10-31 Alan Modra <amodra@gmail.com>
19819
19820 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
19821 include sysdep.h.
19822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
19823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
19824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
19825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
19826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
19827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
19828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
19829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
19830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
19831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
19832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
19833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
19835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
19836 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
19837 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
19838 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
19839 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
19840 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
19841 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
19842 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
19843 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
19844 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
19845 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
19846 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
19847 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
19848 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
19849 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
19850 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
19851 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
19852 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
19853 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
19854 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
19855 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
19856 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
19857 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
19858 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
19859 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
19860 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
19861 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19862 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
19863 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
19864 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
19865 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
19866 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
19867 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
19868 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
19869 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
19870 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
19871 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
19872 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
19873 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
19874 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
19875 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
19876 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
19877 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
19878 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
19879 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
19880 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
19881 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
19882 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
19883 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
19884 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
19885 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19886 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
19887 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
19888 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
19889 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
19890 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
19891
19892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
19893 include sysdep.h and math_ldbl_opt.h.
19894
19895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
19896 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
19897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
19898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
19899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
19900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
19901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
19902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
19903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
19904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
19905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
19906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
19907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
19908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
19909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
19910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
19911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
19912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
19913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
19914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
19915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
19916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
19917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
19918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
19919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
19920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
19921
19922 2017-10-31 Alan Modra <amodra@gmail.com>
19923
19924 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
19925 string/strncase_l.c, not string/strncase.c.
19926 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
19927 (libc_hidden_def): Redefine.
19928
19929 2017-10-31 Alan Modra <amodra@gmail.com>
19930
19931 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
19932 (__STRCMP, STRCMP, __strcasecmp_l): Define.
19933 (__strcasecmp): Don't define.
19934
19935 2017-10-31 Alan Modra <amodra@gmail.com>
19936
19937 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
19938 IS_IN (libc).
19939 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
19940 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
19941 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
19942
19943 2017-10-31 Alan Modra <amodra@gmail.com>
19944
19945 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
19946 USE_AS_STPNCPY.
19947
19948 2017-10-31 Alan Modra <amodra@gmail.com>
19949
19950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
19951 Redefine only when SHARED.
19952
19953 2017-10-30 Joseph Myers <joseph@codesourcery.com>
19954
19955 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
19956 Include <bits/math-finite.h> with appropriate macros defined and
19957 undefined.
19958 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
19959 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
19960 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
19961 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
19962 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
19963
19964 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
19965 [!_Mlong_double_] (_Mlong_double_): Likewise.
19966 [!_Mfloat16_] (_Mfloat16_): Likewise.
19967 [!_Mfloat32_] (_Mfloat32_): Likewise.
19968 [!_Mfloat64_] (_Mfloat64_): Likewise.
19969 [!_Mfloat128_] (_Mfloat128_): Likewise.
19970 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
19971 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
19972 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
19973 (_Mdouble_): Define without indirection through those macros.
19974 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
19975 [!_Mfloat128_] (_Mfloat128_): Likewise.
19976 [_Mlong_double_] (_Mlong_double_): Likewise.
19977 (_Mdouble_): Define without indirection through those macros.
19978 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
19979 not add -D_Mlong_double_=double.
19980 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
19981 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
19982
19983 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
19984
19985 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
19986
19987 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
19988
19989 * sysdeps/x86/libc-start.c: Reformat.
19990
19991 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
19992
19993 [BZ #22353]
19994 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
19995 (1): Renamed to ...
19996 (L(Src0)): This.
19997 (L(Src1)): New.
19998 (L(Src2)): Likewise.
19999 (L(1)): Renamed to ...
20000 (L(Src3)): This.
20001
20002 2017-10-30 Joseph Myers <joseph@codesourcery.com>
20003
20004 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
20005 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
20006 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
20007 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
20008 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
20009 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
20010 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
20011 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
20012 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
20013 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
20014 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
20015 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
20016 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
20017 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
20018 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
20019 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
20020 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
20021 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
20022 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
20023 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
20024 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
20025 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
20026 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
20027 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
20028 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
20029 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
20030 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
20031 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
20032 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
20033 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
20034 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
20035 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
20036 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
20037 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
20038 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
20039 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
20040 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
20041 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
20042 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
20043 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
20044 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
20045 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
20046 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
20047 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
20048 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
20049 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
20050 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
20051 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
20052 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
20053 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
20054 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
20055 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
20056 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
20057 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
20058 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
20059 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
20060 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
20061 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
20062 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
20063 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
20064 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
20065 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
20066 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
20067 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
20068 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
20069 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
20070
20071 2017-10-30 Florian Weimer <fweimer@redhat.com>
20072
20073 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
20074 always defined.
20075 * io/tst-mkdirat.c (do_test): Likewise.
20076 * io/tst-mkfifoat.c (do_test): Likewise.
20077 * io/tst-mknodat.c (do_test): Likewise.
20078 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
20079 * locale/programs/locale.c (select_dirs): Likewise.
20080 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
20081 * posix/bug-glob2.c (my_readdir): Likewise.
20082 * posix/tst-dir.c (main): Likewise.
20083 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
20084 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
20085
20086 2017-10-30 Florian Weimer <fweimer@redhat.com>
20087
20088 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
20089 just __USE_GNU.
20090
20091 2017-10-30 Florian Weimer <fweimer@redhat.com>
20092
20093 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
20094 Convert to support/test-driver.c.
20095 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
20096 New macro parameters.
20097 (PRINTF): Remove macro. Use test_verbose conditionals instead.
20098 * posix/tst-gnuglob.c: New file.
20099 * posix/tst-gnuglob64.c: Likewise.
20100 * posix/Makefile (tests): Add tst-gnuglob64.
20101
20102 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
20103
20104 [BZ #19485]
20105 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
20106 and use a better translation for March in “mon”.
20107 * localedata/locales/csb_PL: Use more ASCII to improve the
20108 readability of the source.
20109
20110 2017-10-30 Mike FABIAN <mfabian@redhat.com>
20111
20112 [BZ #13953]
20113 * localedata/locales/km_KH: Use ASCII as much
20114 as possible for better readability of the source and
20115 remove useless comments.
20116 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
20117 was commented out and apparently wrong anyway because it was
20118 using Lao characters. If Buddhist era should be used
20119 for km_KH, a native speaker should write the correct formaat
20120 for Khmer.
20121 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
20122 (According to CLDR, the first weekday for Cambodia is Sunday).
20123 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
20124 (These were using Lao characters which must be wrong. If we get
20125 the correct data from a native speaker, we could add it back, until
20126 then it is better not to have name_mr and name_mrs at all than
20127 having it wrong).
20128
20129 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
20130
20131 * locale/loadlocale.c: Correct size of
20132 _nl_value_type_LC_<category> arrays.
20133
20134 2017-10-27 Joseph Myers <joseph@codesourcery.com>
20135
20136 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
20137 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
20138 with appropriate macros defined and undefined.
20139 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
20140 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
20141 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
20142 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
20143 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
20144
20145 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
20146
20147 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20148 "-O2 -march=i586".
20149
20150 2017-10-27 Mike FABIAN <mfabian@redhat.com>
20151
20152 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
20153 with lowercase letters to make it agree with CLDR.
20154
20155 2017-10-27 Mike FABIAN <mfabian@redhat.com>
20156
20157 [BZ #15260]
20158 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
20159 first letters of yesstr and nostr in yesexpr and noexpr,
20160 not for the full words.
20161 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
20162 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
20163 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
20164 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
20165 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
20166 first letters of yesstr and nostr in yesexpr and noexpr,
20167 until now only English was matched in yesexpr and noexpr.
20168 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
20169 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
20170 fil but not for tl. As tl and fil are very similar, using fil
20171 is probably better than using English.
20172
20173 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
20174
20175 [BZ #21706]
20176 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
20177 in yesstr and nostr.
20178
20179 2017-10-26 Joseph Myers <joseph@codesourcery.com>
20180
20181 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
20182 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
20183 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
20184 Likewise.
20185 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
20186 Likewise.
20187 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
20188 Likewise.
20189 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
20190 Likewise.
20191 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20192 (SNANF128X): Likewise.
20193
20194 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
20195 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
20196 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20197 (HUGE_VAL_F32): Likewise.
20198 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20199 (HUGE_VAL_F64): Likewise.
20200 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20201 (HUGE_VAL_F32X): Likewise.
20202 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20203 (HUGE_VAL_F64X): Likewise.
20204 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20205 (HUGE_VAL_F128X): Likewise.
20206
20207 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
20208
20209 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
20210 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
20211 for the br_FR locale.
20212
20213 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
20214
20215 [BZ #21706]
20216 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
20217
20218 2017-10-25 Carlos O'Donell <carlos@redhat.com>
20219
20220 * locale/programs/record-status.h: Define globals, and function
20221 prototypes. Move function bodies...
20222 * locale/programs/record-status.c: ... to here. New file.
20223 * iconv/Makefile (iconv_prog-modules): Add record-status.
20224 * locale/Makefile (lib-modules): Likewise.
20225 * iconv/iconv_prog.c: Remove verbose.
20226 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
20227 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
20228 record a warning about ASCII compatibility.
20229 * locale/programs/ld-monetary.c (monetary_finish): If
20230 warn_int_curr_symbol is true then record a warning about the symbol
20231 not being in our ISO 4217 list.
20232 * locale/programs/locale.c: Include record-status.h. Remove verbose.
20233 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
20234 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
20235 (OPT_NO_WARN): Define.
20236 (OPT_WARN): Define.
20237 (options): Add entry for --no-warnings, and --warnings.
20238 (set_warnings): New function to enable/disable warnings.
20239 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
20240 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
20241 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
20242 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
20243 Pass flags to generate_locale.
20244 (generate_locale): Accept new flag argument and pass it to localedef
20245 invocation.
20246 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
20247 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
20248
20249 * localedata/Makefile (test-input-data): Use full file name.
20250 * localedata/da_DK.in: Rename to...
20251 * localedata/da_DK.ISO-8859-1.in: ...this.
20252 * localedata/de_DE.in: Rename to...
20253 * localedata/de_DE.ISO-8859-1.in: ...this.
20254 * localedata/en_US.in: Rename to...
20255 * localedata/en_US.ISO-8859-1.in: ...this.
20256 * localedata/fr_FR.in: Rename to...
20257 * localedata/fr_FR.UTF-8.in: ... this.
20258 * localedata/hr_HR.in: Rename to...
20259 * localedata/hr_HR.ISO-8859-2.in: ...this.
20260 * localedata/hu_HU.in: Rename to...
20261 * localedata/hu_HU.UTF-8.in: ...this.
20262 * localedata/si_LK.in: Rename to...
20263 * localedata/si_LK.UTF-8.in: ...this.
20264 * localedata/sv_SE.in: Rename to...
20265 * localedata/sv_SE.ISO-8859-1.in: ...this.
20266 * localedata/tr_TR.in: Rename to...
20267 * localedata/tr_TR.UTF-8.in: ...this.
20268 * localedata/uk_UA.in: Rename to...
20269 * localedata/uk_UA.UTF-8.in: ...this.
20270 * localedata/sort-test.sh: Test file is locale name with the
20271 suffix.
20272
20273 * localedata/unicode-gen/Makefile (check_i18n): Rename to
20274 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
20275 file.
20276 * localedata/locales/i18n_ctype: Regenerate.
20277 * localedata/locales/tr_TR: Likewise.
20278 * localedata/locales/translit_circle: Likewise.
20279 * localedata/locales/translit_cjk_compat: Likewise.
20280 * localedata/locales/translit_combining: Likewise.
20281 * localedata/locales/translit_compat: Likewise.
20282 * localedata/locales/translit_font: Likewise.
20283 * localedata/locales/translit_fraction: Likewise.
20284
20285 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20286
20287 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
20288 lxvd2x/stxvd2x with lvx/stvx.
20289 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
20290
20291 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
20292
20293 * include/alloc_buffer.h: Replace "if if " with "if " in
20294 comments.
20295 * sysdeps/mips/memcpy.S: Likkewise.
20296 * sysdeps/mips/memset.S: Likewise.
20297 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
20298 Likewise.
20299 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
20300 Likewise.
20301 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
20302 Likewise.
20303
20304 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20305
20306 [BZ #15261]
20307 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
20308 yesexpr and noexpr.
20309 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
20310 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
20311 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
20312 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
20313 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
20314 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
20315 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
20316
20317 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20318
20319 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
20320 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
20321 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
20322 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
20323 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
20324 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
20325 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
20326 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
20327 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
20328 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
20329 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
20330 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
20331
20332 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20333
20334 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
20335 as possible for better readability of the source.
20336 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
20337 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
20338 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
20339 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
20340 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
20341 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
20342 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
20343 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
20344 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
20345 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
20346 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
20347 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
20348 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
20349 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
20350 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
20351 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
20352 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
20353 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
20354 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
20355 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
20356 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
20357 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
20358 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
20359 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
20360 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
20361 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
20362 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
20363 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
20364 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
20365 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
20366 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
20367 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
20368 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
20369 * localedata/locales/en_US (LC_MESSAGES): Likewise.
20370 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
20371 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
20372 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
20373 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
20374 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
20375 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
20376 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
20377 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
20378 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
20379 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
20380 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
20381 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
20382 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
20383 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
20384 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
20385 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
20386 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
20387 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
20388 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
20389 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
20390 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
20391 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
20392 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
20393 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
20394 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
20395 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
20396 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
20397 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
20398 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
20399 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
20400 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
20401 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
20402 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
20403 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
20404 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
20405 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
20406 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
20407 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
20408 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
20409 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
20410 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
20411 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
20412 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
20413 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
20414 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
20415 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
20416 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
20417 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
20418 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
20419 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
20420 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
20421 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
20422 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
20423 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
20424 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
20425 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
20426 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
20427 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
20428 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
20429 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
20430 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
20431 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
20432 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
20433 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
20434 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
20435 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
20436 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
20437 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
20438 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
20439 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
20440 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
20441 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
20442 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
20443 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
20444 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
20445 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
20446 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
20447 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
20448 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
20449 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
20450 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
20451 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
20452 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
20453 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
20454 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
20455 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
20456 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
20457 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
20458 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
20459 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
20460 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
20461 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
20462 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
20463 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
20464 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
20465 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
20466 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
20467 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
20468 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
20469 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
20470 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
20471 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
20472 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
20473 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
20474 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
20475 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
20476 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
20477 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
20478 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
20479 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
20480 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
20481 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
20482 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
20483 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
20484 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
20485 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
20486 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
20487 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
20488 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
20489 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
20490 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
20491 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
20492 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
20493 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
20494 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
20495 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
20496 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
20497 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
20498 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
20499 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
20500 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
20501 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
20502 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
20503 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
20504 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
20505 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
20506 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
20507 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
20508 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
20509 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
20510
20511 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20512
20513 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
20514 (Use first letters of yesstr and nostr correctly instead of using
20515 full words).
20516
20517 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20518
20519 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
20520 (Use first letters of yesstr and nostr correctly).
20521
20522 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20523
20524 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
20525 also check for the first characters of yesstr and nostr.
20526 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
20527 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
20528
20529 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20530
20531 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
20532 also check for Chinese characters.
20533
20534 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20535
20536 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
20537 match also for the contents of yesstr and nostr. As the first letter
20538 of yesstr and nostr is equal, checking only for the first letter
20539 is not enough.
20540
20541 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20542
20543 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
20544 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
20545
20546 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20547
20548 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
20549 of main contributor.
20550
20551 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20552
20553 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
20554 instead of using English.
20555
20556 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20557
20558 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
20559 by including the first letters of nostr and yesexpr in the regexp.
20560 Also make it more readable by using ASCII where possible.
20561
20562 2017-10-25 Mike FABIAN <mfabian@redhat.com>
20563
20564 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
20565 the first letter of nostr in the regexp. It agrees with CLDR now.
20566 Also make it more readable by using ASCII where possible.
20567
20568 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20569
20570 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
20571 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
20572 these strings contain a U+17D6 (which somewhat looks like a colon)
20573 instead of a real colon to separate the full words for “yes”
20574 and “no” from the single letter responses.
20575
20576 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20577
20578 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
20579 it agree with CLDR (include the first letter of yesstr).
20580 Also make it more readable by using ASCII where possible.
20581
20582 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20583
20584 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
20585 and improve yesexpr and noexpr. The yesstr and nostr apparently
20586 came from CLDR. And CLDR has a bug there: these strings contain
20587 a U+0903 (which looks like a colon) instead of a real colon
20588 to separate the full words for “yes” and “no” from the single
20589 letter responses.
20590
20591 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20592
20593 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
20594 letters of the full yesstr and nostr in yesexpr and noexpr.
20595
20596 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20597
20598 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
20599 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
20600 * localedata/locales/an_ES: Make source more readable by using ASCII
20601 where possible.
20602
20603 2017-10-24 Mike FABIAN <mfabian@redhat.com>
20604
20605 [BZ #20952]
20606 * localedata/locales/yuw_PG: New file.
20607 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
20608 * locale/iso-639.def: Add Yau (Uruwa).
20609
20610 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
20611
20612 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
20613
20614 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
20615
20616 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
20617 (__libc_realloc): Likewise.
20618 (_mid_memalign): Likewise.
20619 (__libc_calloc): Likewise.
20620
20621 2017-10-23 Mike FABIAN <mfabian@redhat.com>
20622
20623 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
20624 by adding the generic +1 and -0 as in all other locales.
20625 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
20626 day names and make it more readable by using ASCII where possible.
20627
20628 2017-10-24 Joseph Myers <joseph@codesourcery.com>
20629
20630 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
20631 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
20632
20633 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20634
20635 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
20636 WNOHANG in waitpid call.
20637
20638 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
20639
20640 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
20641 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
20642
20643 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
20644 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
20645 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
20646 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
20647 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
20648 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
20649 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
20650 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
20651 variables.
20652
20653 2017-10-23 Michael Collison <michael.collison@arm.com>
20654
20655 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
20656 with __builtin_sqrt.
20657 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
20658 with __builtin_sqrtf.
20659 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
20660 with __builtin_ceil.
20661 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
20662 with __builtin_ceilf.
20663 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
20664 with __builtin_floor.
20665 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
20666 with __builtin_floorf.
20667 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
20668 with __builtin_fma.
20669 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
20670 with __builtin_fmaf.
20671 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
20672 with __builtin_fmax.
20673 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
20674 with __builtin_fmaxf.
20675 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
20676 with __builtin_fmin.
20677 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
20678 with __builtin_fminf.
20679 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
20680 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
20681 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
20682 with builtin_rint and conversion to int.
20683 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
20684 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
20685 with builtin_llround.
20686 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
20687 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
20688 with builtin_rint and conversion to long int.
20689 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
20690 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
20691 with builtin_lround.
20692 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
20693 with builtin_lroundf.
20694 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
20695 statements with __builtin_nearbyint.
20696 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
20697 statements with __builtin_nearbyintf.
20698 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
20699 with __builtin_rint.
20700 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
20701 with __builtin_rintf.
20702 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
20703 with __builtin_round.
20704 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
20705 with __builtin_roundf.
20706 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
20707 with __builtin_trunc.
20708 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
20709 with __builtin_truncf.
20710 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
20711 and s_l[l]round[f].c too.
20712
20713 2017-10-23 Alan Modra <amodra@gmail.com>
20714
20715 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
20716 Adjust stack after restoring regs. Add missing LR cfi_restore.
20717
20718 2017-10-23 Alan Modra <amodra@gmail.com>
20719
20720 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
20721 Move LR save and frame setup/teardown and LR restore to
20722 immediately around memset call. Provide cfi.
20723
20724 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20725
20726 * sysdeps/i386/fpu/e_powf.S: Removed.
20727 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
20728 * sysdeps/i386/fpu/w_powf.c: Likewise.
20729 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
20730 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20731 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20732 Add e_powf-sse2.
20733 (CFLAGS-e_powf-sse2.c): New.
20734 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
20735 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
20736
20737 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20738
20739 * sysdeps/i386/fpu/e_log2f.S: Removed.
20740 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
20741 * sysdeps/i386/fpu/w_log2f.c: Likewise.
20742 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
20743 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20744 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20745 Add e_log2f-sse2.
20746 (CFLAGS-e_log2f-sse2.c): New.
20747 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
20748 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
20749
20750 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20751
20752 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20753 Add e_powf-fma.
20754 (CFLAGS-e_powf-fma.c): New.
20755 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
20756 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
20757
20758 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20759
20760 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20761 Add e_log2f-fma.
20762 (CFLAGS-e_log2f-fma.c): New.
20763 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
20764 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
20765
20766 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20767
20768 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20769 Add e_logf-fma.
20770 (CFLAGS-e_logf-fma.c): New.
20771 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
20772 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
20773
20774 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20775
20776 * sysdeps/i386/fpu/e_logf.S: Removed.
20777 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
20778 * sysdeps/i386/fpu/w_logf.c: Likewise.
20779 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
20780 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
20781 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20782 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20783 Add e_logf-sse2.
20784 (CFLAGS-e_logf-sse2.c): New.
20785 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
20786 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
20787
20788 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20789
20790 * sysdeps/i386/fpu/e_exp2f.S: Removed.
20791 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
20792 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
20793 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20794 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20795 Add e_exp2f-sse2.
20796 (CFLAGS-e_exp2f-sse2.c): New.
20797 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
20798 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
20799
20800 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20801
20802 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20803 Add e_exp2f-fma.
20804 (CFLAGS-e_exp2f-fma.c): New.
20805 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
20806 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
20807
20808 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20809
20810 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
20811 * sysdeps/i386/fpu/e_expf.S: Likewise.
20812 * sysdeps/i386/fpu/math_errf.c: Likewise.
20813 * sysdeps/i386/fpu/w_expf.c: Likewise.
20814 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
20815 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20816 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
20817 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
20818 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20819 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
20820 Remove e_expf-ia32.
20821 (CFLAGS-e_expf-sse2.c): New.
20822 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
20823 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
20824
20825 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
20826
20827 * sysdeps/x86_64/fpu/e_expf.S: Removed.
20828 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
20829 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
20830 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
20831 e_expf.c.
20832 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
20833 New.
20834 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
20835 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
20836 Renamed to ...
20837 (__redirect_expf): This.
20838 (SYMBOL_NAME): Changed to expf.
20839 (__ieee754_expf): Renamed to ...
20840 (__expf): This.
20841 (__GI___expf): This.
20842 (__ieee754_expf): Add strong_alias.
20843 (__expf_finite): Likewise.
20844 (__expf): New.
20845 Include <sysdeps/ieee754/flt-32/e_expf.c>.
20846
20847 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
20848
20849 [BZ #22332]
20850 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
20851 unescaping.
20852
20853 2017-10-21 Florian Weimer <fweimer@redhat.com>
20854
20855 * posix/Makefile (tests): Add tst-glob-tilde.
20856 (tests-special): Add tst-glob-tilde-mem.out
20857 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
20858 (tst-glob-tilde-mem.out): Add mtrace check.
20859 * posix/tst-glob-tilde.c: New file.
20860
20861 2017-10-20 Joseph Myers <joseph@codesourcery.com>
20862
20863 * bits/floatn-common.h: New file.
20864 * math/Makefile (headers): Add bits/floatn-common.h.
20865 * bits/floatn.h: Include <bits/floatn-common.h>.
20866 * sysdeps/ia64/bits/floatn.h: Likewise.
20867 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
20868 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
20869 * sysdeps/powerpc/bits/floatn.h: Likewise.
20870 * sysdeps/x86/bits/floatn.h: Likewise.
20871
20872 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20873
20874 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
20875 indicates whether compiler emits an warning for alias for
20876 functions with incompatible types.
20877
20878 [BZ #22273]
20879 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
20880 the auxiliary process is terminated by a signal before calling _exit
20881 or execve.
20882
20883 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
20884
20885 [BZ #21265]
20886 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
20887 New.
20888 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
20889 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
20890 and bit_arch_XSAVEC_Usable if needed.
20891 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
20892 and bit_arch_Use_dl_runtime_resolve_opt.
20893 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
20894 Removed.
20895 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
20896 (bit_arch_Prefer_No_AVX512): Updated.
20897 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
20898 (bit_arch_XSAVEC_Usable): New.
20899 (STATE_SAVE_OFFSET): Likewise.
20900 (STATE_SAVE_MASK): Likewise.
20901 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
20902 (cpu_features): Add xsave_state_size and xsave_state_full_size.
20903 (index_arch_Use_dl_runtime_resolve_opt): Removed.
20904 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
20905 (index_arch_XSAVEC_Usable): New.
20906 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
20907 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
20908 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
20909 is enabled.
20910 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
20911 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
20912 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
20913 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
20914 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
20915 _dl_runtime_resolve_xsavec.
20916 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
20917 Removed.
20918 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
20919 instead of VEC_SIZE.
20920 (REGISTER_SAVE_BND0): Removed.
20921 (REGISTER_SAVE_BND1): Likewise.
20922 (REGISTER_SAVE_BND3): Likewise.
20923 (REGISTER_SAVE_RAX): Always defined to 0.
20924 (VMOV): Removed.
20925 (_dl_runtime_resolve_avx): Likewise.
20926 (_dl_runtime_resolve_avx_slow): Likewise.
20927 (_dl_runtime_resolve_avx_opt): Likewise.
20928 (_dl_runtime_resolve_avx512): Likewise.
20929 (_dl_runtime_resolve_avx512_opt): Likewise.
20930 (_dl_runtime_resolve_sse): Likewise.
20931 (_dl_runtime_resolve_sse_vex): Likewise.
20932 (USE_FXSAVE): New.
20933 (_dl_runtime_resolve_fxsave): Likewise.
20934 (USE_XSAVE): Likewise.
20935 (_dl_runtime_resolve_xsave): Likewise.
20936 (USE_XSAVEC): Likewise.
20937 (_dl_runtime_resolve_xsavec): Likewise.
20938 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
20939 Removed.
20940 (_dl_runtime_resolve_avx512_opt): Likewise.
20941 (_dl_runtime_resolve_avx): Likewise.
20942 (_dl_runtime_resolve_avx_opt): Likewise.
20943 (_dl_runtime_resolve_sse): Likewise.
20944 (_dl_runtime_resolve_sse_vex): Likewise.
20945 (_dl_runtime_resolve_fxsave): New.
20946 (_dl_runtime_resolve_xsave): Likewise.
20947 (_dl_runtime_resolve_xsavec): Likewise.
20948
20949 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
20950
20951 [BZ #22320]
20952 CVE-2017-15670
20953 * posix/glob.c (__glob): Fix one-byte overflow.
20954
20955 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
20956
20957 * malloc/malloc.c (sysdep-cancel.h): Add include.
20958
20959 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
20960
20961 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
20962
20963 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
20964
20965 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
20966 (tests): Remove $(objpfx)ga_test depdendency.
20967 * resolv/ga_test.c: Remove file.
20968
20969 2017-10-20 Mike FABIAN <mfabian@redhat.com>
20970
20971 [BZ #18812]
20972 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
20973 * localedata/locales/kab_DZ: New file.
20974
20975 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
20976
20977 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
20978 _dl_relocate_static_pie instead of _dl_start to compute load
20979 address in static PIE.
20980
20981 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
20982
20983 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
20984
20985 2017-10-20 Mike FABIAN <mfabian@redhat.com>
20986
20987 [BZ #13605]
20988 * localedata/SUPPORTED: Add shn_MM/UTF-8.
20989 * localedata/locales/shn_MM: New file.
20990
20991 2017-10-20 Florian Weimer <fweimer@redhat.com>
20992
20993 [BZ #22321]
20994 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
20995 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
20996 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
20997 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
20998 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
20999 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
21000
21001 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
21002
21003 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21004
21005 2017-10-19 Joseph Myers <joseph@codesourcery.com>
21006
21007 * sysdeps/mips/ieee754/bits/floatn.h: New file.
21008
21009 [BZ #22322]
21010 * sysdeps/mips/bits/long-double.h: Move to ....
21011 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
21012
21013 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
21014
21015 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
21016
21017 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
21018 H.J. Lu <hongjiu.lu@intel.com>
21019
21020 [BZ #22299]
21021 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
21022 GLRO(dl_platform) to NULL.
21023 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
21024 (modules-names): Add tst-platformmod-1 and
21025 x86_64/tst-platformmod-2.
21026 (CFLAGS-tst-platform-1.c): New.
21027 (CFLAGS-tst-platformmod-1.c): Likewise.
21028 (CFLAGS-tst-platformmod-2.c): Likewise.
21029 (LDFLAGS-tst-platformmod-2.so): Likewise.
21030 ($(objpfx)tst-platform-1): Likewise.
21031 ($(objpfx)tst-platform-1.out): Likewise.
21032 (tst-platform-1-ENV): Likewise.
21033 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
21034 * sysdeps/x86_64/tst-platform-1.c: New file.
21035 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
21036 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
21037
21038 2017-10-19 Mike FABIAN <mfabian@redhat.com>
21039
21040 [BZ #13994]
21041 * locale/iso-639.def: Add Karbi.
21042 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
21043 * localedata/locales/mjw_IN: New file.
21044
21045 2017-10-18 Joseph Myers <joseph@codesourcery.com>
21046
21047 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
21048 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
21049 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
21050 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
21051 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
21052 (libm_alias_ldouble_other_r): Also create _Float128 alias.
21053 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
21054 <bits/floatn.h>.
21055 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
21056 (libm_alias_ldouble_other_r): Also create _Float128 alias.
21057 * manual/math.texi (Mathematics): Document additional architecture
21058 support for _Float128.
21059 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21060 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21061 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21062 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21063 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21064 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21065 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21066 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21067 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21068 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21069 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21070 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21071 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21072 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21073 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21074
21075 2017-10-18 Renlin Li <renlin.li@arm.com>
21076
21077 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
21078 _DYNAMIC symbol to calculate load address.
21079
21080 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
21081
21082 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
21083 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
21084 summary bits.
21085 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
21086 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
21087
21088 2017-10-18 Mike FABIAN <mfabian@redhat.com>
21089
21090 [BZ #16777]
21091 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
21092 and improve readability by using more ASCII.
21093 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
21094 and improve readability by using more ASCII.
21095
21096 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
21097
21098 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
21099 not all targets support atomics on bool.
21100
21101 2017-10-17 Joseph Myers <joseph@codesourcery.com>
21102
21103 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
21104 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
21105 __f128.
21106 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
21107 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
21108 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
21109 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
21110 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
21111 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
21112
21113 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21114
21115 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
21116 defines.
21117
21118 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
21119
21120 [BZ #22159]
21121 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
21122 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
21123 (do_check_remalloced_chunk): Fix build bug.
21124 (do_check_malloc_state): Add assert that checks arena->top.
21125 (malloc_consolidate): Remove initialization.
21126 (int_mallinfo): Remove call to malloc_consolidate.
21127 (__libc_mallopt): Clarify why malloc_consolidate is needed.
21128
21129 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
21130
21131 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
21132 (have_fastchunks): Remove.
21133 (clear_fastchunks): Remove.
21134 (set_fastchunks): Remove.
21135 (malloc_state): Add have_fastchunks.
21136 (malloc_init_state): Use have_fastchunks.
21137 (do_check_malloc_state): Remove incorrect invariant checks.
21138 (_int_malloc): Use have_fastchunks.
21139 (_int_free): Likewise.
21140 (malloc_consolidate): Likewise.
21141
21142 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
21143
21144 * malloc/malloc.c (tcache_put): Inline.
21145 (tcache_get): Inline.
21146
21147 2017-10-17 Jordi Mallach <jordi@gnu.org>
21148
21149 Aurelien Jarno <aurelien@aurel32.net>
21150 [BZ #2522]
21151 * localedata/locales/ca_ES@valencia: New file.
21152 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
21153
21154 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
21155
21156 [BZ #22296]
21157 * math/math.h: Let signbit use the builtin in C++ mode with gcc
21158 < 6.x
21159
21160 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21161
21162 * scripts/build-many-glibcs.py (Context.add_all_configs):
21163 Add arm-linux-gnueabihf multiarch extra_glibcs.
21164
21165 * sysdeps/generic/ifunc-init.h: New file.
21166 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
21167
21168 2017-10-17 Mike FABIAN <mfabian@redhat.com>
21169
21170 [BZ #22019]
21171 * localedata/locales/el_GR: Set n_cs_precedes to 0.
21172 * localedata/locales/el_CY: copy "el_GR" because it is identical.
21173 * stdlib/tst-strfmon_l.c: adapt test case.
21174
21175 2017-10-16 Joseph Myers <joseph@codesourcery.com>
21176
21177 * sysdeps/generic/float128-abi.h: New file.
21178 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
21179 non-__prefixed symbols to ....
21180 * math/Versions: ... here. Include <float128-abi.h>.
21181 * stdlib/Versions ... and here. Include <float128-abi.h>
21182
21183 2017-10-16 Florian Weimer <fweimer@redhat.com>
21184
21185 * version.h (VERSION): Switch to ".9000" as the development
21186 version suffix.
21187
21188 2017-10-16 Florian Weimer <fweimer@redhat.com>
21189
21190 [BZ #22050]
21191 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
21192 compat_symbol_reference to access non-default version.
21193
21194 2017-10-16 Florian Weimer <fweimer@redhat.com>
21195
21196 * malloc/Makefile (others-extras): Set to mcheck-init.o.
21197
21198 2017-10-16 Carlos O'Donell <carlos@redhat.com>
21199
21200 * include/shlib-compat.h (compat_symbol_reference): Update
21201 comment.
21202
21203 2017-10-16 Joseph Myers <joseph@codesourcery.com>
21204
21205 * math/Makefile (test-types): Add
21206 $(type-float128-$(float128-alias-fcts)).
21207 * math/test-float128.h (TYPE_STR): Define conditional on
21208 [FLT128_MANT_DIG == LDBL_MANT_DIG].
21209 (ULP_IDX): Likewise.
21210 (ULP_I_IDX): Likewise.
21211
21212 * stdlib/strtold.c: Include <bits/floatn.h>
21213 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
21214 and later undefine as macro. Define as weak alias if
21215 [!USE_WIDE_CHAR].
21216 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
21217 and later undefine as macro. Define as weak alias if
21218 [USE_WIDE_CHAR].
21219 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
21220 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
21221 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
21222 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
21223 Define and later undefine as macro. Define as weak alias if
21224 [USE_WIDE_CHAR].
21225 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
21226 <bits/floatn.h>.
21227 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
21228 Define and later undefine as macro. Define as weak alias if
21229 [!USE_WIDE_CHAR].
21230 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
21231 Define and later undefine as macro. Define as weak alias if
21232 [USE_WIDE_CHAR].
21233
21234 2017-10-15 Carlos O'Donell <carlos@redhat.com>
21235
21236 * localedata/collate-test.c (allocate_arrays): Don't use \n in
21237 record_verbose messages.
21238
21239 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
21240
21241 [BZ #22052]
21242 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
21243 to silence -O3 -Wall warning with GCC 7.
21244
21245 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
21246
21247 * Makeconfig (+link-static-before-libc): Use the first of
21248 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
21249 * gmon/Makefile (tests): Add tst-gmon-static.
21250 (tests-static): Likewise.
21251 (CFLAGS-tst-gmon-static.c): New.
21252 (CRT-tst-gmon-static): Likewise.
21253 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
21254 (tst-gmon-static-ENV): Likewise.
21255 (tests-special): Likewise.
21256 ($(objpfx)tst-gmon-static.out): Likewise.
21257 (clean-tst-gmon-static-data): Likewise.
21258 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
21259 * gmon/tst-gmon-static-gprof.sh: New file.
21260 * gmon/tst-gmon-static.c: Likewise.
21261
21262 2017-10-13 Carlos O'Donell <carlos@redhat.com>
21263
21264 [BZ #22295]
21265 * locale/programs/linereader.c (get_string): Don't warn on
21266 non-symbolic character.
21267
21268 [BZ #22294]
21269 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
21270 int_curr_symbol.
21271
21272 [BZ #22292]
21273 * locale/programs/record-status.h: New file
21274 * locale/programs/locale.c: Add comment.
21275 * locale/programs/charmap-dir.c: Don't include error.h.
21276 (charmap_opendir): Use record_error.
21277 * locale/programs/charmap.c: Don't include error.h.
21278 (charmap_read): Use record_error, and record_warning.
21279 (parse_charmap): Likewise.
21280 * locale/programs/ld-address.c: Don't include error.h.
21281 (address_finish): Use record_error, and record_warning.
21282 * locale/programs/ld-collate.c: Don't include error.h.
21283 (collate_finish): Use record_error, and record_error_at_line.
21284 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
21285 (ctype_class_new): Likewise.
21286 (ctype_map_new): Likewise.
21287 (set_one_default): Likewise.
21288 (set_class_defaults): Likewise.
21289 (translit_flatten): Likewise.
21290 (allocate_arrays): Use record_error, and record_verbose.
21291 * locale/programs/ld-identification.c: Don't include error.h.
21292 (indentation_finish): Use record_error and record_warning.
21293 * locale/programs/ld-measurement.c: Don't include error.h.
21294 (measurement_finish): Use record_error.
21295 * locale/programs/ld-messages.c
21296 (message_finish): Likewise.
21297 * locale/programs/ld-monetary.c
21298 (monetary_finish): Likewise.
21299 * locale/programs/ld-name.c (name_finish): Use record_error
21300 and record_warning.
21301 * locale/programs/ld-numeric.c
21302 (numeric_finish): Use record_error.
21303 * locale/programs/ld-paper.c: Don't include error.h.
21304 (paper_finish): Use record_error.
21305 * locale/programs/ld-telephone.c: Don't include error.h.
21306 (telephone_finish): Use record_error.
21307 * locale/programs/ld-time.c (time_finish): Likewise.
21308 * locale/programs/linereader.h (lr_error): Make inline func.
21309 * locale/programs/localedef.c: Define recorded_warning_count,
21310 and recorded_error_count.
21311 (main): Use record_error. Use recorded_error_count and
21312 recorded_warning_count to issue correct error returns.
21313 (add_to_readlist): Use record_error.
21314 (find_locale): Likewise.
21315 (load_locale): Likewise.
21316 * locale/programs/localedef.h: Remove be_quiet
21317 and WITH_CUR_LOCALE.
21318 * locale/programs/locarchive.c (compare_from_file): Use
21319 record_error.
21320 * locale/programs/locfile.c (write_locale_data): Use
21321 record_error.
21322 * locale/programs/repertoire.c: Dont include error.h.
21323 (repertoire_complain): Use record_error.
21324 * localedata/tst-fmon.sh: Expect failures from localedef.
21325 * localedata/tst-locale.sh: Likewise.
21326 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
21327
21328 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
21329 (REPORTS): Likewise.
21330 (check): Likewise.
21331 (i18n): Rename to...
21332 (i18n_ctype): ...this.
21333 (i18n-report): Rename to...
21334 (i18n_ctype-report): ...this.
21335 * localedata/locales/i18n_ctype: Regenerate.
21336 * localedata/locales/i18n: copy i18n_ctype.
21337
21338 2017-10-13 Joseph Myers <joseph@codesourcery.com>
21339
21340 * stdlib/strfroml.c: Include <bits/floatn.h>.
21341 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
21342 Define before include of <stdlib.h> and undefine afterwards, then
21343 define as weak alias.
21344
21345 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
21346 Undefine and restore default definition. Use
21347 libm_alias_ldouble_other.
21348
21349 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
21350
21351 [BZ #22153]
21352 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
21353 in coredumps.
21354
21355 2017-10-13 James Clarke <jrtc27@jrtc27.com>
21356
21357 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21358 Assign sym_map to be map for local symbols, as TLS relocations
21359 use sym_map to determine whether the symbol is defined and to
21360 extract the TLS information.
21361 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21362 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21363
21364 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21365
21366 [BZ #22189]
21367 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
21368 (math_force_eval): Add powerpc version.
21369
21370 [BZ #22142]
21371 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
21372 -DBL_MAX.
21373 (do_test): Likewise.
21374 * stdio-common/tst-printf.sh: Likewise.
21375 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
21376 ifdef clause in order to set the carry bit right. Replace r0 by
21377 0 without changing the behavior.
21378
21379 2017-10-13 Joseph Myers <joseph@codesourcery.com>
21380
21381 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
21382 <libm-alias-ldouble.h>.
21383 (fabsl): Define using libm_alias_ldouble.
21384 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
21385 <libm-alias-ldouble.h>.
21386 (fabsl): Define using libm_alias_ldouble.
21387
21388 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
21389 Remove conditional code.
21390
21391 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
21392 Rename to __clog10_internal_l.
21393 (__clog10_internal_l): Define aliases using
21394 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
21395 with __clog10.
21396
21397 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21398
21399 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
21400 * benchtests/sincosf-inputs: New file.
21401 * benchtests/cosf-inputs: New file.
21402 * benchtests/sinf-inputs: New file.
21403
21404 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21405
21406 * posix/tst-spawn.c (do_test): Wait for both children.
21407
21408 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
21409
21410 [BZ #22284]
21411 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
21412 tests-pie): Add tst-gmon-pie.
21413 (CFLAGS-tst-gmon-pie.c): New.
21414 (CRT-tst-gmon-pie): Likewise.
21415 (tst-gmon-pie-ENV): Likewise.
21416 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
21417 ($(objpfx)tst-gmon-pie.out): Likewise.
21418 (clean-tst-gmon-pie-data): Likewise.
21419 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
21420 * gmon/gmon.c [PIC]: Include <link.h>.
21421 [PIC] (callback): New function.
21422 (write_hist): Add an argument for load address. Subtract load
21423 address from PCs.
21424 (write_call_graph): Likewise.
21425 (write_gmon): Call __dl_iterate_phdr to get load address, pass
21426 it to write_hist and write_call_graph.
21427 * gmon/tst-gmon-pie.c: New file.
21428
21429 2017-10-11 Joseph Myers <joseph@codesourcery.com>
21430
21431 * math/Makefile (test-types-basic): New variable.
21432 (test-types): Likewise.
21433 (libm-test-support): Use $(test-types) instead of $(types).
21434 (libm-tests-base-normal): Likewise.
21435 (libm-tests-base-finite): Likewise.
21436 (libm-tests-base-inline): Likewise.
21437 (generated): Likewise.
21438 ($(objpfx)libm-test-support-$(t).c): Likewise.
21439 (libm-tests-for-type iterator): Likewise.
21440 (libm-test-support iterator): Likewise.
21441 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
21442 (ulp_idx): Use ULP_IDX.
21443 * math/test-ldouble.h: Include <float.h>.
21444 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
21445 (ULP_IDX): New macro.
21446 (ULP_I_IDX): Likewise.
21447 * math/test-double.h (ULP_IDX): Likewise.
21448 (ULP_I_IDX): Likewise.
21449 * math/test-float.h (ULP_IDX): Likewise.
21450 (ULP_I_IDX): Likewise.
21451 * math/test-float128.h (ULP_IDX): Likewise.
21452 (ULP_I_IDX): Likewise.
21453
21454 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21455
21456 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
21457 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21458 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21459 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
21460 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21461 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
21462 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
21463 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21464 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21465 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21466 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
21467 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21468 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21469 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21470 (SINGLE_THREAD_BY_GLOBAL): Define.
21471 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21472 Likewise.
21473 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21474 Likewise.
21475 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21476 Likewise.
21477 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21478 Likewise.
21479 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
21480 (SINGLE_THREAD_BY_GLOBAL): Likewise.
21481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
21482 Likewise.
21483
21484 2017-10-11 Andreas Schwab <schwab@suse.de>
21485
21486 * nis/Makefile (aux): Remove.
21487 * nscd/Makefile (aux): Add nscd_hash.
21488 (nscd-modules): Likewise.
21489 ($(objpfx)nscd): Don't depend on libnsl.
21490 * nscd/nscd_hash.c: New file.
21491 * nscd/nscd_hash.h: Likewise.
21492 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
21493 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
21494 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
21495 instead of <nis/rpcsvc/nis.h>.
21496 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
21497
21498 2017-10-11 Florian Weimer <fweimer@redhat.com>
21499
21500 [BZ #22078]
21501 Avoid large NSS buffers with many addresses, aliases.
21502 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
21503 using dynarrays and struct alloc_buffer.
21504 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
21505 (tst-nss-files-hosts-multi): Link with -ldl.
21506 * nss/tst-nss-files-hosts-multi.c: New file.
21507
21508 2017-10-11 Florian Weimer <fweimer@redhat.com>
21509
21510 [BZ #18023]
21511 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
21512 scratch_buffer. Eliminate gotos.
21513
21514 2017-10-11 Joseph Myers <joseph@codesourcery.com>
21515
21516 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
21517 libm_alias_ldouble_other.
21518 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
21519 undefine and redefine.
21520 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
21521 (exp10l): Do not define here.
21522 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
21523 (weak_alias): Undefine and redefine.
21524 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
21525 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
21526 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
21527 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
21528
21529 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
21530 [!__fma] (fma): Define using libm_alias_double.
21531 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
21532 [!__fmaf] (fmaf): Define using libm_alias_float.
21533 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
21534 (fmal): Define using libm_alias_ldouble.
21535
21536 2017-10-10 Joseph Myers <joseph@codesourcery.com>
21537
21538 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
21539 New macro.
21540 (libm_alias_double_other): Likewise.
21541 (libm_alias_double_r): Use libm_alias_double_other_r.
21542 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
21543 New macro.
21544 (libm_alias_float_other): Likewise.
21545 (libm_alias_float_r): Use libm_alias_float_other_r.
21546 * sysdeps/generic/libm-alias-float128.h
21547 (libm_alias_float128_other_r): New macro.
21548 (libm_alias_float128_other): Likewise.
21549 (libm_alias_float128_r): Use libm_alias_float128_other_r.
21550 * sysdeps/generic/libm-alias-ldouble.h
21551 (libm_alias_ldouble_other_r): New macro.
21552 (libm_alias_ldouble_other): Likewise.
21553 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
21554 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
21555 (libm_alias_double_other_r): New macro.
21556 (libm_alias_double_other): Likewise.
21557 (libm_alias_double_r): Use libm_alias_double_other_r.
21558 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
21559 (libm_alias_ldouble_other_r): New macro.
21560 (libm_alias_ldouble_other): Likewise.
21561 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
21562 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
21563 [!USE_AS_COMPAT]: Use libm_alias_double_other.
21564 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
21565 [!USE_AS_COMPAT]: Use libm_alias_float_other.
21566 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
21567 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
21568 * math/w_exp2f.c: Use libm_alias_float_other.
21569 * math/w_expf.c: Likewise.
21570 * math/w_log2f.c: Likewise.
21571 * math/w_logf.c: Likewise.
21572 * math/w_powf.c: Likewise.
21573 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
21574 [!__exp2f]: Use libm_alias_float_other.
21575 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
21576 [!__expf]: Use libm_alias_float_other.
21577 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
21578 [!__log2f]: Use libm_alias_float_other.
21579 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
21580 [!__logf]: Use libm_alias_float_other.
21581 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
21582 [!__powf]: Use libm_alias_float_other.
21583
21584 2017-10-10 Florian Weimer <fweimer@redhat.com>
21585
21586 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
21587 function.
21588 (_nss_files_gethostbyname3_r): Call it.
21589
21590 2017-10-09 Joseph Myers <joseph@codesourcery.com>
21591
21592 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
21593 error. Remove default definition of declare_mgen_alias.
21594 [!declare_mgen_alias_r]: Likewise.
21595 * sysdeps/generic/math-type-macros-double.h
21596 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
21597 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
21598 (declare_mgen_alias_r): Likewise.
21599 * sysdeps/generic/math-type-macros-float128.h
21600 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
21601 * sysdeps/generic/math-type-macros-ldouble.h
21602 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
21603 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
21604 macro.
21605 (declare_mgen_alias_r_s): Likewise.
21606 (declare_mgen_alias_r): Likewise.
21607 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
21608 (lgamma_r): Define using libm_alias_double_r.
21609 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
21610 (lgammaf_r): Define using libm_alias_float_r.
21611 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
21612 (lgammal_r): Define using libm_alias_ldouble_r.
21613 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
21614 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
21615
21616 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21617
21618 * lib/glob.c (__glob_pattern_type): Remove now-spurious
21619 extern declaration.
21620
21621 2017-10-09 Joseph Myers <joseph@codesourcery.com>
21622
21623 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
21624
21625 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
21626
21627 [BZ #21326]
21628 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
21629 [__cplusplus >= 201103] (__USE_ISOC99): Define.
21630 * math/Makefile (test-math-cxx11): New test.
21631 * math/test-math-cxx11.cc: New file.
21632
21633 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
21634
21635 * login/openpty.c (openpty): Close slave pty file descriptor on error.
21636
21637 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
21638 call to allocate the slave pty file descriptor.
21639
21640 2017-10-06 Joseph Myers <joseph@codesourcery.com>
21641
21642 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
21643 [!__fma] (fma): Define using libm_alias_double.
21644 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
21645 [!__fma] (fma): Define using libm_alias_double.
21646
21647 * sysdeps/ieee754/float128/float128_private.h: Include
21648 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
21649 (libm_alias_ldouble_r): Undefine and redefine.
21650 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
21651 <libm-alias-ldouble.h>.
21652 (asinhl): Define using libm_alias_ldouble.
21653 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
21654 <libm-alias-ldouble.h>.
21655 (atanl): Define using libm_alias_ldouble.
21656 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
21657 <libm-alias-ldouble.h>.
21658 (cbrtl): Define using libm_alias_ldouble.
21659 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
21660 <libm-alias-ldouble.h>.
21661 (ceill): Define using libm_alias_ldouble.
21662 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
21663 <libm-alias-ldouble.h>.
21664 (copysignl): Define using libm_alias_ldouble.
21665 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
21666 <libm-alias-ldouble.h>.
21667 (cosl): Define using libm_alias_ldouble.
21668 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
21669 <libm-alias-ldouble.h>.
21670 (erfl): Define using libm_alias_ldouble.
21671 (erfcl): Likewise.
21672 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
21673 <libm-alias-ldouble.h>.
21674 (expm1l): Define using libm_alias_ldouble.
21675 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
21676 <libm-alias-ldouble.h>.
21677 (fabsl): Define using libm_alias_ldouble.
21678 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
21679 <libm-alias-ldouble.h>.
21680 (floorl): Define using libm_alias_ldouble.
21681 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
21682 <libm-alias-ldouble.h>.
21683 (fmal): Define using libm_alias_ldouble.
21684 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
21685 <libm-alias-ldouble.h>.
21686 (frexpl): Define using libm_alias_ldouble.
21687 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
21688 libm_alias_ldouble.
21689 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
21690 <libm-alias-ldouble.h>.
21691 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
21692 libm_alias_ldouble.
21693 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
21694 <libm-alias-ldouble.h>.
21695 (getpayloadl): Define using libm_alias_ldouble.
21696 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
21697 <libm-alias-ldouble.h>.
21698 (llrintl): Define using libm_alias_ldouble.
21699 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
21700 <libm-alias-ldouble.h>.
21701 (llroundl): Define using libm_alias_ldouble.
21702 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
21703 <libm-alias-ldouble.h>.
21704 (logbl): Define using libm_alias_ldouble.
21705 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
21706 <libm-alias-ldouble.h>.
21707 (lrintl): Define using libm_alias_ldouble.
21708 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
21709 <libm-alias-ldouble.h>.
21710 (lroundl): Define using libm_alias_ldouble.
21711 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
21712 <libm-alias-ldouble.h>.
21713 (modfl): Define using libm_alias_ldouble.
21714 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
21715 <libm-alias-ldouble.h>.
21716 (nearbyintl): Define using libm_alias_ldouble.
21717 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
21718 <libm-alias-ldouble.h>.
21719 (nextafterl): Define using libm_alias_ldouble.
21720 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
21721 <libm-alias-ldouble.h>.
21722 (nextupl): Define using libm_alias_ldouble.
21723 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
21724 <libm-alias-ldouble.h>.
21725 (remquol): Define using libm_alias_ldouble.
21726 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
21727 <libm-alias-ldouble.h>.
21728 (rintl): Define using libm_alias_ldouble.
21729 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
21730 <libm-alias-ldouble.h>.
21731 (roundevenl): Define using libm_alias_ldouble.
21732 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
21733 <libm-alias-ldouble.h>.
21734 (roundl): Define using libm_alias_ldouble.
21735 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
21736 using libm_alias_ldouble.
21737 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
21738 <libm-alias-ldouble.h>.
21739 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
21740 Define using libm_alias_ldouble.
21741 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
21742 <libm-alias-ldouble.h>.
21743 (sincosl): Define using libm_alias_ldouble.
21744 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
21745 <libm-alias-ldouble.h>.
21746 (sinl): Define using libm_alias_ldouble.
21747 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
21748 <libm-alias-ldouble.h>.
21749 (tanhl): Define using libm_alias_ldouble.
21750 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
21751 <libm-alias-ldouble.h>.
21752 (tanl): Define using libm_alias_ldouble.
21753 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
21754 <libm-alias-ldouble.h>.
21755 (totalorderl): Define using libm_alias_ldouble.
21756 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
21757 <libm-alias-ldouble.h>.
21758 (totalordermagl): Define using libm_alias_ldouble.
21759 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
21760 <libm-alias-ldouble.h>.
21761 (truncl): Define using libm_alias_ldouble.
21762 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
21763 libm_alias_ldouble.
21764 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
21765 libm_alias_ldouble.
21766 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
21767 <libm-alias-ldouble.h>.
21768 (weak_alias): Do not undefine and redefine.
21769 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
21770 (copysignl): Define with long_double_symbol only if [IS_IN
21771 (libc)].
21772 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
21773 <libm-alias-ldouble.h>.
21774 (weak_alias): Do not undefine and redefine.
21775 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
21776 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
21777 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
21778 <libm-alias-ldouble.h>.
21779 (weak_alias): Do not undefine and redefine.
21780 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
21781 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
21782 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
21783 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
21784 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
21785 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
21786 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
21787 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
21788 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
21789 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
21790 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
21791 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
21792 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
21793 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
21794 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
21795 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
21796 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
21797 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
21798 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
21799 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
21800 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
21801 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
21802 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
21803 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
21804 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
21805 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
21806
21807 2017-10-06 Carlos O'Donell <carlos@redhat.com>
21808
21809 [BZ #22111]
21810 * malloc/malloc.c (tcache_shutting_down): Use bool type.
21811 (tcache_thread_freeres): Set tcache_shutting_down before
21812 freeing the tcache.
21813 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
21814 * malloc/tst-malloc-tcache-leak.c: New file.
21815
21816 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21817
21818 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
21819 back to powerpc32 file.
21820 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
21821 (memrchr): Add __memrchr_power8 to ifunc list.
21822 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
21823 extra bytes for unaligned inputs.
21824
21825 2017-10-06 Joseph Myers <joseph@codesourcery.com>
21826
21827 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
21828 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
21829 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
21830 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
21831 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
21832
21833 2017-10-05 Joseph Myers <joseph@codesourcery.com>
21834
21835 * sysdeps/arm/libm-test-ulps: Update.
21836
21837 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
21838 <libm-alias-ldouble.h>.
21839 (asinhl): Define using libm_alias_ldouble.
21840 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
21841 <libm-alias-ldouble.h>.
21842 (cbrtl): Define using libm_alias_ldouble.
21843 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
21844 <libm-alias-ldouble.h>.
21845 (copysignl): Define using libm_alias_ldouble.
21846 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
21847 <libm-alias-ldouble.h>.
21848 (cosl): Define using libm_alias_ldouble.
21849 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
21850 <libm-alias-ldouble.h>.
21851 (erfl): Define using libm_alias_ldouble.
21852 (erfcl): Likewise.
21853 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
21854 <libm-alias-ldouble.h>.
21855 (fmal): Define using libm_alias_ldouble.
21856 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
21857 <libm-alias-ldouble.h>.
21858 (frexpl): Define using libm_alias_ldouble.
21859 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
21860 libm_alias_ldouble.
21861 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
21862 <libm-alias-ldouble.h>.
21863 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
21864 libm_alias_ldouble.
21865 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
21866 <libm-alias-ldouble.h>.
21867 (getpayloadl): Define using libm_alias_ldouble.
21868 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
21869 <libm-alias-ldouble.h>.
21870 (llrintl): Define using libm_alias_ldouble.
21871 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
21872 <libm-alias-ldouble.h>.
21873 (llroundl): Define using libm_alias_ldouble.
21874 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
21875 <libm-alias-ldouble.h>.
21876 (lrintl): Define using libm_alias_ldouble.
21877 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
21878 <libm-alias-ldouble.h>.
21879 (lroundl): Define using libm_alias_ldouble.
21880 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
21881 <libm-alias-ldouble.h>.
21882 (modfl): Define using libm_alias_ldouble.
21883 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
21884 <libm-alias-ldouble.h>.
21885 (nextupl): Define using libm_alias_ldouble.
21886 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
21887 <libm-alias-ldouble.h>.
21888 (remquol): Define using libm_alias_ldouble.
21889 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
21890 <libm-alias-ldouble.h>.
21891 (roundevenl): Define using libm_alias_ldouble.
21892 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
21893 <libm-alias-ldouble.h>.
21894 (roundl): Define using libm_alias_ldouble.
21895 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
21896 using libm_alias_ldouble.
21897 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
21898 <libm-alias-ldouble.h>.
21899 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
21900 <libm-alias-ldouble.h>.
21901 (setpayloadsigl): Define using libm_alias_ldouble.
21902 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
21903 <libm-alias-ldouble.h>.
21904 (sincosl): Define using libm_alias_ldouble.
21905 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
21906 <libm-alias-ldouble.h>.
21907 (sinl): Define using libm_alias_ldouble.
21908 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
21909 <libm-alias-ldouble.h>.
21910 (tanhl): Define using libm_alias_ldouble.
21911 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
21912 <libm-alias-ldouble.h>.
21913 (tanl): Define using libm_alias_ldouble.
21914 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
21915 <libm-alias-ldouble.h>.
21916 (totalorderl): Define using libm_alias_ldouble.
21917 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
21918 <libm-alias-ldouble.h>.
21919 (totalordermagl): Define using libm_alias_ldouble.
21920 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
21921 libm_alias_ldouble.
21922 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
21923 libm_alias_ldouble.
21924
21925 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
21926
21927 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
21928 memmove_falkor.
21929 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21930 (__libc_ifunc_impl_list): Likewise.
21931 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
21932 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
21933
21934 * benchtests/bench-memmove-walk.c: New file.
21935 * benchtests/Makefile (string-benchset): Add it.
21936
21937 * benchtests/bench-memset-walk.c: New file.
21938 * benchtests/Makefile (string-benchset): Add it.
21939
21940 * benchtests/bench-memcpy-walk.c: New file.
21941 * benchtests/Makefile (string-benchset): Add it.
21942
21943 2017-10-05 Florian Weimer <fweimer@redhat.com>
21944
21945 nscd: Eliminate compilation time dependency in the build output.
21946 * nscd/nscd_stat.c (STATDATA_VERSION)
21947 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
21948 (STATDATA_VERSION_FULL): New macro definitions.
21949 (compilation): Remove.
21950 (struct statdata): Adjust version member.
21951 (send_stats): Set version from STATDATA_VERSION_FULL.
21952 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
21953
21954 2017-10-05 Joseph Myers <joseph@codesourcery.com>
21955
21956 * configure.ac (--enable-add-ons): Remove option.
21957 (machine): Do not mention add-ons in comment.
21958 (LIBC_PRECONFIGURE): Likewise.
21959 (add_ons): Remove variable and sanity checks and logic to locate
21960 add-ons.
21961 (add_ons_automatic): Remove variable.
21962 (configured_add_ons): Likewise.
21963 (add_ons_sfx): Likewise.
21964 (add_ons_pfx): Likewise.
21965 (add_on_subdirs): Likewise.
21966 (sysnames_add_ons): Likewise. Remove loop over add-ons and
21967 consideration of add-ons in Implies handling.
21968 (sysdeps_add_ons): Likewise.
21969 * configure: Regenerated.
21970 * libidn/configure.ac: Remove.
21971 * libidn/configure: Likewise.
21972 * sysdeps/unix/inet/configure.ac: New file.
21973 * sysdeps/unix/inet/configure: New generated file.
21974 * sysdeps/unix/inet/Subdirs: Add libidn.
21975 * Makeconfig (sysdeps-srcdirs): Remove variable.
21976 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
21977 ($(common-objpfx)config.status): Do not depend on add-on files.
21978 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
21979 comment.
21980 (all-subdirs): Do not include $(add-on-subdirs).
21981 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
21982 * config.make.in (add-ons): Remove variable.
21983 (add-on-subdirs): Likewise.
21984 (sysdeps-add-ons): Likewise.
21985 * manual/Makefile (add-chapters): Remove.
21986 ($(objpfx)texis): Do not depend on $(add-chapters).
21987 (nonexamples): Do not handle $(add-chapters).
21988 (examples): Do not handle $(add-ons).
21989 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
21990 libc-texinfo.sh.
21991 * manual/install.texi (Installation): Do not mention add-ons.
21992 (--enable-add-ons): Do not document configure option.
21993 * INSTALL: Regenerated.
21994 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
21995 * manual/maint.texi (Hierarchy Conventions): Do not mention
21996 add-ons.
21997 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
21998 --enable-add-ons.
21999 * scripts/gen-sorted.awk: Do not handle Subdirs files from
22000 add-ons.
22001 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
22002 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
22003
22004 2017-10-05 Andreas Schwab <schwab@suse.de>
22005
22006 [BZ #15142]
22007 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
22008 (_IO_flush_all_lockp): Always lock list_all_lock.
22009 (_IO_flush_all_linebuffered): Likewise.
22010 (_IO_unbuffer_all): Likewise.
22011
22012 2017-10-05 Florian Weimer <fweimer@redhat.com>
22013
22014 [BZ #15436]
22015 Do not flush stdio streams on abort.
22016 * stdlib/abort.c (fflush): Remove macro definition.
22017 (abort): Remove stages related to stdio flushing.
22018
22019 2017-10-05 Florian Weimer <fweimer@redhat.com>
22020
22021 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
22022
22023 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
22024
22025 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22026
22027 2017-10-05 Florian Weimer <fweimer@redhat.com>
22028
22029 * support/support_format_hostent.c (support_format_hostent): Add
22030 more error information for NETDB_INTERNAL.
22031
22032 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
22033
22034 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
22035 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
22036 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
22037 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
22038 AC_DEFINE if multi-arch is enabled.
22039 * sysdeps/i386/configure: Regenerated.
22040
22041 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
22042
22043 * Makeconfig (+link-static-before-libc): Use
22044 $(DEFAULT-LDFLAGS-$(@F)).
22045 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
22046 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
22047 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
22048
22049 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
22050
22051 * elf/Makefile (tests): Add tst-main1.
22052 (modules-names): Add tst-main1mod.
22053 ($(objpfx)tst-main1): New.
22054 (CRT-tst-main1): Likewise.
22055 (LDFLAGS-tst-main1): Likewise.
22056 (LDLIBS-tst-main1): Likewise.
22057 (tst-main1mod.so-no-z-defs): Likewise.
22058 * elf/tst-main1.c: New file.
22059 * elf/tst-main1mod.c: Likewise.
22060
22061 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
22062
22063 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
22064
22065 2017-10-04 Joseph Myers <joseph@codesourcery.com>
22066
22067 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
22068 (fma): Define using libm_alias_double.
22069 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
22070 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
22071 <math_ldbl_opt.h>.
22072 (fmal): Do not define as compat symbol here.
22073 * sysdeps/alpha/fpu/s_fma.c: New file.
22074
22075 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
22076
22077 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
22078
22079 2017-10-04 Joseph Myers <joseph@codesourcery.com>
22080
22081 [BZ #22229]
22082 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22083 <math_ldbl_opt.h>
22084 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
22085 and libc.
22086 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
22087 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22088 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
22089 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
22090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22091 Include <math_ldbl_opt.h>
22092 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
22093 and libc.
22094 (compat_symbol): Undefine and redefine.
22095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22096 <math_ldbl_opt.h>
22097 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22098 (compat_symbol): Undefine and redefine.
22099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
22100 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
22101 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
22102 GLIBC_2_1 for libm.
22103 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
22104 GLIBC_2.0 copysignl symbol.
22105 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
22106 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
22107
22108 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
22109
22110 2017-10-04 Florian Weimer <fweimer@redhat.com>
22111
22112 * scripts/check-local-headers.sh: Ignore nspr4 header file
22113 directory in addition to nspr.
22114
22115 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
22116
22117 [BZ #17956]
22118 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
22119 * configure: Regenerate.
22120 * crypt/Makefile (nss-cpp-flags): New variable.
22121 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
22122 (CPPFLAGS-md5-crypt.c): Use it.
22123 * scripts/check-local-headers.sh: Ignore nspr header file
22124 directory.
22125
22126 2017-10-04 Andreas Schwab <schwab@suse.de>
22127
22128 * nis/Makefile (services): Remove compat.
22129 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
22130 ($(objpfx)libnss_compat.so): Remove rule.
22131 * nis/Versions (libnss_compat): Remove.
22132 * nss/Makefile (services): Add compat.
22133 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
22134 * nss/Versions (libnss_compat): Define.
22135 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
22136 Don't include <rpc/types.h>. Replace bool_t by bool.
22137 * nss/nss_compat/compat-initgroups.c: Likewise.
22138 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
22139 instead of <rpcsrv/ypclnt.h>.
22140 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
22141 yp_get_default_domain.
22142 * nss/nss_compat/compat-pwd.c: Likewise.
22143 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
22144 yp_get_default_domain.
22145 * nss/nss_compat/nisdomain.c: New file.
22146 * nss/nss_compat/nisdomain.h: Likewise.
22147
22148 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
22149
22150 [BZ #22244]
22151 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
22152 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22153
22154 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
22155
22156 [BZ #22243]
22157 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
22158 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
22159
22160 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22161
22162 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
22163 "movl main@GOTOFF(%ebx), %eax".
22164
22165 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22166
22167 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
22168 allow undefined _DYNAMIC in PIE libc.a.
22169 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
22170 Likewse.
22171
22172 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22173
22174 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
22175 check _DYNAMIC.
22176
22177 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22178
22179 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
22180 check _DYNAMIC.
22181
22182 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22183
22184 * math/test-math-iscanonical.cc (error): Replace bool with int.
22185
22186 2017-10-03 Joseph Myers <joseph@codesourcery.com>
22187
22188 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
22189 (modf): Define using libm_alias_double, only if [!__modf].
22190 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
22191 <libm-alias-double.h>.
22192 (modf): Define using libm_alias_double, only if [!__modf].
22193 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
22194 compat symbol here.
22195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
22196 (weak_alias): Do not undefine and redefine.
22197 (strong_alias): Likewise.
22198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
22199 (weak_alias): Likewise.
22200 (strong_alias): Likewise.
22201
22202 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
22203 (logb): Define using libm_alias_double, only if [!__logb].
22204 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
22205 <libm-alias-double.h>.
22206 (logb): Define using libm_alias_double, only if [!__logb].
22207 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
22208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
22209 (weak_alias): Do not undefine and redefine.
22210 (strong_alias): Likewise.
22211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
22212 (weak_alias): Likewise.
22213 (strong_alias): Likewise.
22214
22215 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22216
22217 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
22218 Check SHARED instead PIC.
22219
22220 2017-10-03 Joseph Myers <joseph@codesourcery.com>
22221
22222 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
22223 [!__fmaf] (fmaf): Define using libm_alias_float.
22224
22225 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
22226 (frexp): Define using libm_alias_double.
22227 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
22228 <libm-alias-double.h>.
22229 (frexp): Define using libm_alias_double.
22230 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
22231 compat symbol here.
22232
22233 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
22234
22235 [BZ #22235]
22236 * math/math.h: Trivial fix for unbalanced parentheses in comment.
22237 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
22238 (CFLAGS-test-math-iscanonical.cc): New variable.
22239 * math/test-math-iscanonical.cc: New file.
22240 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
22241 Provide a C++ implementation based on function overloading,
22242 rather than using __MATH_TG, which uses C-only builtins.
22243 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
22244 Likewise.
22245 * sysdeps/powerpc/powerpc64le/Makefile
22246 (CFLAGS-test-math-iscanonical.cc): New variable.
22247
22248 2017-10-03 Joseph Myers <joseph@codesourcery.com>
22249
22250 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
22251 (ceil): Define using libm_alias_double.
22252 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
22253 (floor): Define using libm_alias_double.
22254 * sysdeps/ieee754/dbl-64/s_llround.c: Include
22255 <libm-alias-double.h>.
22256 (llround): Define using libm_alias_double.
22257 * sysdeps/ieee754/dbl-64/s_lround.c: Include
22258 <libm-alias-double.h>.
22259 (lround): Define using libm_alias_double.
22260 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
22261 <libm-alias-double.h>.
22262 (nearbyint): Define using libm_alias_double.
22263 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
22264 <libm-alias-double.h>.
22265 (remquo): Define using libm_alias_double.
22266 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
22267 (rint): Define using libm_alias_double.
22268 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
22269 (round): Define using libm_alias_double.
22270 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
22271 (trunc): Define using libm_alias_double.
22272 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
22273 <libm-alias-double.h>.
22274 (ceil): Define using libm_alias_double.
22275 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
22276 <libm-alias-double.h>.
22277 (floor): Define using libm_alias_double.
22278 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
22279 <libm-alias-double.h>.
22280 (llround): Define using libm_alias_double.
22281 [_LP64] (lround): Likewise.
22282 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
22283 <libm-alias-double.h>.
22284 [!_LP64] (lround): Define using libm_alias_double.
22285 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
22286 <libm-alias-double.h>.
22287 (nearbyint): Define using libm_alias_double.
22288 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
22289 <libm-alias-double.h>.
22290 (remquo): Define using libm_alias_double.
22291 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
22292 <libm-alias-double.h>.
22293 (rint): Define using libm_alias_double.
22294 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
22295 <libm-alias-double.h>.
22296 (round): Define using libm_alias_double.
22297 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
22298 <libm-alias-double.h>.
22299 (trunc): Define using libm_alias_double.
22300 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
22301 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
22302 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
22303 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
22304 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
22305 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
22306 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
22307 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
22308 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
22309
22310 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22311
22312 * math/w_remainder.c: New file.
22313 * math/w_remainderf.c: New file.
22314 * math/w_remainderl.c: New file.
22315
22316 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
22317
22318 * elf/rtld.c (BOOTSTRAP_MAP): New.
22319 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
22320 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
22321 Likewise.
22322 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
22323 Likewise.
22324 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
22325 Likewise.
22326
22327 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
22328
22329 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
22330 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
22331 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
22332 rtld_hidden_data_ver): Define to empty.
22333 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
22334 __assert_perror_fail): Likewise.
22335 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
22336 (__rewinddir): Likewise.
22337 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
22338 (__profile_frequency): Likewise.
22339 * include/setjmp.h (__sigsetjmp): Likewise.
22340 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
22341 __libc_sigaction): Likewise.
22342 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
22343 not set hidden attribute.
22344 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
22345 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
22346 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
22347 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
22348 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
22349 __fxstatat64): Likewise.
22350 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
22351 (__uname): Likewise.
22352 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
22353 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
22354 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
22355 (NO_RTLD_HIDDEN): Set.
22356 * sysdeps/mach/hurd/configure: Refresh.
22357 * config.h.in: Refresh.
22358
22359 2017-10-02 Joseph Myers <joseph@codesourcery.com>
22360
22361 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
22362 (atan): Define using libm_alias_double.
22363 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
22364 (tan): Define using libm_alias_double.
22365 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
22366 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
22367
22368 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
22369 define as weak alias of __atan. Do not define any aliases if
22370 [__atan].
22371 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
22372 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
22373 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
22374 as weak alias of __tan. Do not define any aliases if [__tan].
22375 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
22376 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
22377 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
22378 __atan.
22379 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
22380 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
22381 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
22382 and define as weak alias of __atan.
22383 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
22384 __atan.
22385 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
22386 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
22387 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
22388 define as weak alias of __tan.
22389
22390 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
22391
22392 * math/w_lgamma.c: New file.
22393 * math/w_lgammaf.c: New file.
22394 * math/w_lgammal.c: New file.
22395
22396 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
22397
22398 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
22399 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
22400 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
22401 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
22402 * sysdeps/ieee754/flt-32/w_logf.c: New file.
22403 * sysdeps/ieee754/flt-32/w_powf.c: New file.
22404 * sysdeps/i386/fpu/w_log2f.c: New file.
22405 * sysdeps/i386/fpu/w_logf.c: New file.
22406 * sysdeps/i386/fpu/w_powf.c: New file.
22407 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
22408 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
22409 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
22410
22411 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
22412 H.J. Lu <hongjiu.lu@intel.com>
22413
22414 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
22415 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
22416 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
22417 * sysdeps/ieee754/flt-32/w_expf.c: New file.
22418 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
22419 the new expf code.
22420 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
22421 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
22422 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
22423 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
22424 * sysdeps/i386/fpu/w_exp2f.c: New file.
22425 * sysdeps/i386/fpu/w_expf.c: New file.
22426 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
22427 * sysdeps/x86_64/fpu/w_expf.c: New file.
22428
22429 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
22430
22431 * math/Versions (logf): New libm symbol at GLIBC_2.27.
22432 (log2f): Likewise.
22433 (powf): Likewise.
22434 * math/w_log2f.c: New file.
22435 * math/w_logf.c: New file.
22436 * math/w_powf.c: New file.
22437 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
22438 * math/w_logf_compat.c (__logf_compat): Likewise.
22439 * math/w_powf_compat.c (__powf_compat): Likewise.
22440 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
22441 * sysdeps/ia64/fpu/e_logf.S: Likewise.
22442 * sysdeps/ia64/fpu/e_powf.S: Likewise.
22443 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
22444 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22445 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22446 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22447 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22448 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22449 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22450 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22451 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22452 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22453 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22454 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22456 Likewise.
22457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22458 Likewise.
22459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22460 Likewise.
22461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22462 Likewise.
22463 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22464 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22465 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22466 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22467 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22469 Likewise.
22470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22471 Likewise.
22472 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22473 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22474 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22475
22476 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22477
22478 * sysdeps/powerpc/powerpc64/multiarch/Makefile
22479 (sysdep_routines): Add memrchr_power8.
22480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22481 (memrchr): Add __memrchr_power8 to list of memrchr functions.
22482 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
22483 New file.
22484 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
22485 (memrchr): Add __memrchr_power8 to ifunc list.
22486 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
22487
22488 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22489
22490 [BZ #18822]
22491 * sysdeps/unix/sysv/linux/posix_fadvise64.c
22492 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
22493 libc_hidden_def.
22494 * sysdeps/unix/sysv/linux/posix_fallocate64.c
22495 (__posix_fallocate64_l64): Likewise.
22496
22497 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22498
22499 [BZ #18822]
22500 * sysdeps/unix/sysv/linux/sched_setaffinity.c
22501 (__sched_setaffinity_new): Add libc_hidden_proto and
22502 libc_hidden_def.
22503
22504 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22505
22506 [BZ #18822]
22507 * include/glob.h (__glob64): Add libc_hidden_proto.
22508 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
22509 libc_hidden_def.
22510
22511 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22512
22513 [BZ #18822]
22514 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
22515 attribute_hidden.
22516
22517 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22518
22519 [BZ #18822]
22520 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
22521
22522 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22523
22524 [BZ #18822]
22525 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
22526 libc_hidden_def.
22527
22528 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22529
22530 [BZ #18822]
22531 * csu/version.c (__libc_print_version): Add attribute_hidden.
22532
22533 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22534
22535 [BZ #18822]
22536 * include/libc-internal.h (__init_misc): Add attribute_hidden.
22537
22538 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22539
22540 [BZ #18822]
22541 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
22542
22543 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22544
22545 [BZ #18822]
22546 * nscd/nscd_helper.c (__nis_hash): New prototype.
22547
22548 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22549
22550 [BZ #18822]
22551 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
22552 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
22553 libc_hidden_def.
22554 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22555 * termios/tcgetattr.c (__tcgetattr): Likewise.
22556
22557 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22558
22559 [BZ #18822]
22560 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
22561 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
22562 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
22563 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
22564 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
22565
22566 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22567
22568 [BZ #18822]
22569 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
22570
22571 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22572
22573 [BZ #18822]
22574 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
22575 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
22576
22577 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22578
22579 [BZ #18822]
22580 * intl/hash-string.h (__hash_string): Add attribute_hidden.
22581
22582 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22583
22584 [BZ #18822]
22585 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
22586 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
22587
22588 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22589
22590 [BZ #18822]
22591 * include/ifreq.h: New file.
22592 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
22593 (__ifreq): Likewise.
22594 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
22595 (__ifreq): Likewise.
22596
22597 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22598
22599 [BZ #18822]
22600 * include/idna.h: New file.
22601 * inet/getnameinfo.c: Include <idna.h> instead of
22602 <libidn/idna.h>.
22603 (__idna_to_unicode_lzlz): Removed.
22604 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
22605 <libidn/idna.h>.
22606 (__idna_to_ascii_lz): Removed.
22607 (__idna_to_unicode_lzlz): Likewise.
22608
22609 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22610
22611 [BZ #18822]
22612 * include/plural-exp.h: New file.
22613 * intl/plural-exp.c: Include <plural-exp.h> instead of
22614 "plural-exp.h".
22615
22616 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22617
22618 [BZ #18822]
22619 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
22620 "getsourcefilter.h".
22621 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
22622 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
22623 "getsourcefilter.h".
22624 (__get_sol): Removed.
22625
22626 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22627
22628 [BZ #18822]
22629 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
22630 to ...
22631 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
22632
22633 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22634
22635 [BZ #18822]
22636 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
22637 attribute_hidden.
22638
22639 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22640
22641 [BZ #18822]
22642 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
22643
22644 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22645
22646 [BZ #18822]
22647 * include/search.h (__tdestroy): Add libc_hidden_proto.
22648 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
22649
22650 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22651
22652 [BZ #18822]
22653 * include/assert.h (__assert_fail_base): Add attribute_hidden.
22654
22655 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22656
22657 [BZ #18822]
22658 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
22659 attribute_hidden.
22660
22661 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22662
22663 [BZ #18822]
22664 * include/signal.h (__kill): Add libc_hidden_proto.
22665 (__sigblock): Likewise.
22666 (__sigprocmask): Likewise.
22667 (__sigaltstack): Likewise.
22668 * signal/kill.c (__kill): Add libc_hidden_def.
22669 * signal/sigblock.c (__sigblock): Likewise.
22670 * signal/sigprocmask.c (__sigprocmask): Likewise.
22671 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
22672 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
22673 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
22674 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
22675 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
22676 Likewise.
22677 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
22678 Likewise.
22679 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
22680 (__sigprocmask): Likewise.
22681 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
22682 Likewise.
22683 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
22684 (__sigprocmask): Likewise.
22685 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
22686 Likewise.
22687
22688 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22689
22690 [BZ #18822]
22691 * include/string.h (__strsep): Add libc_hidden_proto.
22692 * string/strsep.c (__strsep): Add libc_hidden_def.
22693
22694 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22695
22696 [BZ #18822]
22697 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
22698 attribute_hidden.
22699 (__spawni): Likewise.
22700
22701 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22702
22703 [BZ #18822]
22704 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
22705 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
22706 libc_hidden_def.
22707
22708 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22709
22710 [BZ #18822]
22711 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
22712
22713 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22714
22715 [BZ #18822]
22716 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
22717 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
22718 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
22719 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
22720 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
22721 Likewise.
22722 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
22723 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
22724
22725 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22726
22727 [BZ #18822]
22728 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
22729 (__dcigettext): Likewise.
22730
22731 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22732
22733 [BZ #18822]
22734 * include/sys/sysinfo.h (__get_nprocs_conf): Add
22735 libc_hidden_proto.
22736 (__get_nprocs): Likewise.
22737 (__get_phys_pages): Likewise.
22738 (__get_avphys_pages): Likewise.
22739 (__get_child_max): Add attribute_hidden.
22740 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
22741 (__get_nprocs): Likewise.
22742 (__get_phys_pages): Likewise.
22743 (__get_avphys_pages): Likewise.
22744 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
22745 libc_hidden_def.
22746 (__get_nprocs): Likewise.
22747 (__get_phys_pages): Likewise.
22748 (__get_avphys_pages): Likewise.
22749 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
22750 libc_hidden_def.
22751 (__get_nprocs_conf): Likewise.
22752 (__get_phys_pages): Likewise.
22753 (__get_avphys_pages): Likewise.
22754
22755 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22756
22757 [BZ #18822]
22758 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
22759 attribute_hidden.
22760 (__netlink_close): Likewise.
22761 (__netlink_free_handle): Likewise.
22762 (__netlink_request): Likewise.
22763
22764 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22765
22766 [BZ #18822]
22767 * include/rpc/rpc.h (__rpc_thread_variables): Add
22768 attribute_hidden.
22769 (__rpc_thread_svc_cleanup): Likewise.
22770 (__rpc_thread_clnt_cleanup): Likewise.
22771 (__rpc_thread_key_cleanup): Likewise.
22772
22773 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22774
22775 [BZ #18822]
22776 * include/sys/uio.h (__readv): Add libc_hidden_proto.
22777 (__writev): Likewise.
22778 * misc/readv.c (__readv): Add libc_hidden_def.
22779 * misc/writev.c (__writev): Likewise.
22780 * sysdeps/posix/readv.c (__readv): Likewise.
22781 * sysdeps/posix/writev.c (__writev): Likewise.
22782 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
22783 (__readv): Likewise.
22784 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
22785 (__writev): Likewise.
22786
22787 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22788
22789 [BZ #18822]
22790 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
22791 (__regcomp): Add libc_hidden_proto.
22792 (__regexec): Likewise.
22793 (__regfree): Likewise.
22794 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
22795 (__regfree): Likewise.
22796 * posix/regexec.c (__regexec): Likewise.
22797
22798 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22799
22800 [BZ #18822]
22801 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
22802 (__getutent): Likewise.
22803 (__getutid): Likewise.
22804 (__getutline): Likewise.
22805 (__pututline): Likewise.
22806 (__getutent_r): Likewise.
22807 (__getutid_r): Likewise.
22808 (__getutline_r): Likewise.
22809 (__utmpname): Add attribute_hidden.
22810 (__setutent): Likewise.
22811 (__endutent): Likewise.
22812 * login/getutent.c (__getutent): Add libc_hidden_def.
22813 * login/getutent_r.c (__getutent_r): Likewise.
22814 (__pututline): Likewise.
22815 * login/getutid.c (__getutid): Likewise.
22816 * login/getutid_r.c (__getutid_r): Likewise.
22817 * login/getutline.c (__getutline): Likewise.
22818 * login/getutline_r.c (__getutline_r): Likewise.
22819 * login/updwtmp.c (__updwtmp): Likewise.
22820
22821 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22822
22823 [BZ #18822]
22824 * include/dirent.h (__opendir): Always add attribute_hidden.
22825 (__fdopendir): Likewise.
22826 (__closedir): Likewise.
22827 (__readdir): Likewise.
22828 (__readdir64): Add libc_hidden_proto.
22829 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
22830 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
22831 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
22832 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
22833 New alias.
22834
22835 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22836
22837 [BZ #18822]
22838 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
22839 * include/netdb.h (__gethostbyaddr_r): Likewise.
22840 (__gethostbyname_r): Likewise.
22841 (__gethostbyname2_r): Likewise.
22842 (__getnetbyaddr_r): Likewise.
22843 (__getnetbyname_r): Likewise.
22844 (__getservbyname_r): Likewise.
22845 (__getservbyport_r): Likewise.
22846 (__getprotobyname_r): Likewise.
22847 (__getprotobynumber_r): Likewise.
22848 (__getnetgrent_r): Likewise.
22849 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
22850 (__getrpcbynumber_r): Likewise.
22851 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
22852
22853 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22854
22855 [BZ #18822]
22856 * include/stdio.h (__fcloseall): Add attribute_hidden.
22857 (__getline): Likewise.
22858 (__path_search): Likewise.
22859 (__gen_tempname): Likewise.
22860 (__libc_message): Likewise.
22861 (__flockfile): Likewise.
22862 (__funlockfile): Likewise.
22863 (__fxprintf): Likewise.
22864 (__fxprintf_nocancel): Likewise.
22865
22866 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22867
22868 [BZ #18822]
22869 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
22870 (__sgetsgent_r): Likewise.
22871
22872 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22873
22874 [BZ #18822]
22875 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
22876 (__statfs64): Likewise.
22877 (__fstatfs64): Likewise.
22878 * include/sys/statvfs.h (__statvfs64): Likewise.
22879 (__fstatvfs64): Likewise.
22880 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
22881 (__statfs_filesize_max): Likewise.
22882 (__statfs_symlinks): Likewise.
22883 (__statfs_chown_restricted): Likewise.
22884
22885 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22886
22887 [BZ #18822]
22888 * include/time.h (__tzstring): Add attribute_hidden.
22889 (__tzfile_read): Likewise.
22890 (__tzfile_compute): Likewise.
22891 (__tzfile_default): Likewise.
22892 (__tzset_parse_tz): Likewise.
22893 (__offtime): Likewise.
22894 (__asctime_r): Likewise.
22895 (__tzset): Likewise.
22896 (__tz_convert): Likewise.
22897 (__getdate_r): Likewise.
22898 (__getclktck): Likewise.
22899
22900 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22901
22902 [BZ #18822]
22903 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
22904 (__nscd_unmap): Likewise.
22905 (__nscd_cache_search): Likewise.
22906 (__nscd_get_nl_timestamp): Likewise.
22907 (__nscd_getpwnam_r): Likewise.
22908 (__nscd_getpwuid_r): Likewise.
22909 (__nscd_getgrnam_r): Likewise.
22910 (__nscd_getgrgid_r): Likewise.
22911 (__nscd_gethostbyname_r): Likewise.
22912 (__nscd_gethostbyname2_r): Likewise.
22913 (__nscd_gethostbyaddr_r): Likewise.
22914 (__nscd_getai): Likewise.
22915 (__nscd_getgrouplist): Likewise.
22916 (__nscd_getservbyname_r): Likewise.
22917 (__nscd_getservbyport_r): Likewise.
22918 (__nscd_innetgr): Likewise.
22919 (__nscd_setnetgrent): Likewise.
22920
22921 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22922
22923 [BZ #18822]
22924 * include/gmp.h: Declare internal functions only if _ISOMAC is
22925 undefined.
22926 (__mpn_extract_double): Add attribute_hidden.
22927 (__mpn_extract_long_double): Likewise.
22928 (__mpn_extract_float128): Likewise.
22929 (__mpn_construct_float): Likewise.
22930 (__mpn_construct_double): Likewise.
22931 (__mpn_construct_long_double): Likewise.
22932 (__mpn_construct_float128): Likewise.
22933 (mpn_add_1): Likewise.
22934 (mpn_addmul_1): Likewise.
22935 (mpn_add_n): Likewise.
22936 (mpn_cmp): Likewise.
22937 (mpn_divrem): Likewise.
22938 (mpn_lshift): Likewise.
22939 (mpn_mul): Likewise.
22940 (mpn_mul_1): Likewise.
22941 (mpn_rshift): Likewise.
22942 (mpn_sub_1): Likewise.
22943 (mpn_submul_1): Likewise.
22944 (mpn_sub_n): Likewise.
22945
22946 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22947
22948 [BZ #18822]
22949 * include/wchar.h (__wcsnlen): Add attribute_hidden.
22950 (__wcscat): Likewise.
22951 (__btowc): Likewise.
22952 (__wcrtomb): Likewise.
22953 (__mbsrtowcs): Likewise.
22954 (__wcsrtombs): Likewise.
22955 (__mbsnrtowcs): Likewise.
22956 (__wcsnrtombs): Likewise.
22957 (__wcsncpy): Likewise.
22958 (__wcpncpy): Likewise.
22959 (__wmemcpy): Likewise.
22960 (__wmempcpy): Likewise.
22961 (__wmemmove): Likewise.
22962 (__wcschrnul): Likewise.
22963 (__vfwscanf): Likewise.
22964 (__vswprintf): Likewise.
22965 (__fwprintf): Likewise.
22966 (__vfwprintf): Likewise.
22967
22968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22969
22970 [BZ #18822]
22971 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
22972 (__getgrgid_r): Likewise.
22973 (__getgrnam_r): Likewise.
22974 * include/pwd.h (__getpwuid_r): Likewise.
22975 (__getpwnam_r): Likewise.
22976 (__fgetpwent_r): Likewise.
22977 * include/shadow.h (__getspnam_r): Likewise.
22978 (__sgetspent_r): Likewise.
22979 (__fgetspent_r): Likewise.
22980
22981 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
22982
22983 [BZ #18822]
22984 * include/unistd.h (__access): Add attribute_hidden.
22985 (__lseek64): Likewise.
22986 (__libc_pread64): Likewise.
22987 (__pipe2): Likewise.
22988 (__sleep): Likewise.
22989 (__chdir): Likewise.
22990 (__fchdir): Likewise.
22991 (__getcwd): Likewise.
22992 (__rmdir): Likewise.
22993 (__execvpe): Likewise.
22994 (__execve): Likewise.
22995 (__setsid): Likewise.
22996 (__getuid): Likewise.
22997 (__geteuid): Likewise.
22998 (__getgid): Likewise.
22999 (__getegid): Likewise.
23000 (__getgroups): Likewise.
23001 (__group_member): Likewise.
23002 (__ttyname_r): Likewise.
23003 (__isatty): Likewise.
23004 (__readlink): Likewise.
23005 (__unlink): Likewise.
23006 (__gethostname): Likewise.
23007 (__profil): Likewise.
23008 (__getdtablesize): Likewise.
23009 (__brk): Likewise.
23010 (__ftruncate): Likewise.
23011 (__ftruncate64): Likewise.
23012
23013 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23014
23015 [BZ #18822]
23016 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
23017 * argp/argp-fs-xinl.c: Likewise.
23018 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
23019 * argp/argp-parse.c: Include <argp.h>.
23020 * argp/argp-xinl.c: Likewise.
23021 * include/argp-fmtstream.h: New file.
23022 * include/argp.h (__argp_error): Add attribute_hidden.
23023 (__argp_failure): Likewise.
23024 (__argp_input): Likewise.
23025 (__argp_state_help): Likewise.
23026
23027 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23028
23029 [BZ #18822]
23030 * include/wchar.h (____wcstof_l_internal): New prototype.
23031 (____wcstod_l_internal): Likewise.
23032 (____wcstold_l_internal): Likewise.
23033 (____wcstol_l_internal): Likewise.
23034 (____wcstoul_l_internal): Likewise.
23035 (____wcstoll_l_internal): Likewise.
23036 (____wcstoull_l_internal): Likewise.
23037 (____wcstof128_l_internal): Likewise.
23038 * sysdeps/ieee754/float128/wcstof128.c
23039 (____wcstof128_l_internal): Removed.
23040 * sysdeps/ieee754/float128/wcstof128_l.c
23041 (____wcstof128_l_internal): Likewise.
23042 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
23043 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
23044 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
23045 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
23046 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
23047 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
23048 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
23049 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
23050 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
23051 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
23052
23053 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23054
23055 [BZ #18822]
23056 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
23057 instead of <sys/statvfs.h>.
23058 (__internal_statvfs): Removed.
23059 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
23060 instead of <sys/statvfs.h>.
23061 (__internal_statvfs64): Removed.
23062 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
23063 "internal_statvfs.h" instead of <sys/statvfs.h>.
23064 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
23065 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
23066 instead of <sys/statvfs.h>.
23067 (__internal_statvfs): Removed.
23068 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
23069 instead of <sys/statvfs.h>.
23070 (__internal_statvfs64): Removed.
23071
23072 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23073
23074 [BZ #18822]
23075 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
23076 (__gconv_close): Likewise.
23077 (__gconv): Likewise.
23078 (__gconv_find_transform): Likewise.
23079 (__gconv_lookup_cache): Likewise.
23080 (__gconv_compare_alias_cache): Likewise.
23081 (__gconv_load_cache): Likewise.
23082 (__gconv_get_path): Likewise.
23083 (__gconv_close_transform): Likewise.
23084 (__gconv_release_cache): Likewise.
23085 (__gconv_find_shlib): Likewise.
23086 (__gconv_release_shlib): Likewise.
23087 (__gconv_get_builtin_trans): Likewise.
23088 (__gconv_compare_alias): Likewise.
23089 * include/dlfcn.h (_dlerror_run): Likewise.
23090 * include/stdio.h (__fortify_fail_abort): Likewise.
23091 * include/time.h (__tz_compute): Likewise.
23092 (__strptime_internal): Likewise.
23093 * intl/gettextP.h (_nl_find_domain): Likewise.
23094 (_nl_load_domain): Likewise.
23095 (_nl_find_msg): Likewise.
23096 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
23097 (EXTRACT_PLURAL_EXPRESSION): Likewise.
23098 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
23099 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
23100 (__gai_find_request): Likewise.
23101 (__gai_remove_request): Likewise.
23102 (__gai_notify): Likewise.
23103 (__gai_notify_only): Likewise.
23104 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
23105 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
23106 (_dl_non_dynamic_init): Likewise.
23107 (_dl_aux_init): Likewise.
23108 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
23109 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
23110 Likewise.
23111 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
23112 (__wcsmbs_clone_conv): Likewise.
23113 (__wcsmbs_named_conv): Likewise.
23114
23115 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23116
23117 [BZ #18822]
23118 * include/stdlib.h (__random): Add attribute_hidden.
23119 (__random_r): Likewise.
23120 (__srandom_r): Likewise.
23121 (__initstate_r): Likewise.
23122 (__setstate_r): Likewise.
23123 (__erand48_r): Likewise.
23124 (__nrand48_r): Likewise.
23125 (__jrand48_r): Likewise.
23126 (__srand48_r): Likewise.
23127 (__seed48_r): Likewise.
23128 (__lcong48_r): Likewise.
23129 (__drand48_iterate): Likewise.
23130 (__setenv): Likewise.
23131 (__unsetenv): Likewise.
23132 (__clearenv): Likewise.
23133 (__ptsname_r): Likewise.
23134 (__posix_openpt): Likewise.
23135 (__add_to_environ): Likewise.
23136 (__realpath): Add libc_hidden_proto.
23137 (__ecvt_r): Likewise.
23138 (__fcvt_r): Likewise.
23139 (__qecvt_r): Likewise.
23140 (__qfcvt_r): Likewise.
23141 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
23142 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
23143
23144 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23145
23146 [BZ #18822]
23147 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
23148 * include/time.h (__mktime_internal): Likewise.
23149 * libio/iolibio.h (__fopen_internal): Likewise.
23150
23151 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
23152
23153 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
23154 pointer in frame.
23155 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
23156 Correct offset used to restore PIC register.
23157
23158 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
23159
23160 [BZ libc/22165]
23161 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
23162 code to load address of __getcontext_ret when generating PIC code.
23163
23164 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
23165
23166 * elf/Makefile (tests-static-internal): Add
23167 tst-tls1-static-non-pie.
23168 (LDFLAGS-tst-tls1-static-non-pie): New.
23169 * elf/tst-tls1-static-non-pie.c: New file.
23170
23171 2017-09-29 Joseph Myers <joseph@codesourcery.com>
23172
23173 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
23174 (asinh): Define using libm_alias_double.
23175 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
23176 (cbrt): Define using libm_alias_double.
23177 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
23178 <libm-alias-double.h>.
23179 (copysign): Define using libm_alias_double.
23180 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
23181 (erf): Define using libm_alias_double.
23182 (erfc): Likewise.
23183 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
23184 (expm1): Define using libm_alias_double.
23185 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
23186 (fabs): Define using libm_alias_double.
23187 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
23188 libm_alias_double.
23189 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
23190 <libm-alias-double.h>.
23191 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
23192 libm_alias_double.
23193 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
23194 <libm-alias-double.h>.
23195 (getpayload): Define using libm_alias_double.
23196 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
23197 <libm-alias-double.h>.
23198 (llrint): Define using libm_alias_double.
23199 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
23200 (lrint): Define using libm_alias_double.
23201 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
23202 <libm-alias-double.h>.
23203 (nextup): Define using libm_alias_double.
23204 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
23205 <libm-alias-double.h>.
23206 (roundeven): Define using libm_alias_double.
23207 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
23208 libm_alias_double.
23209 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
23210 <libm-alias-double.h>.
23211 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
23212 using libm_alias_double.
23213 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
23214 (cos): Define using libm_alias_double.
23215 (sin): Likewise.
23216 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
23217 <libm-alias-double.h>.
23218 (sincos): Define using libm_alias_double.
23219 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
23220 (tanh): Define using libm_alias_double.
23221 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
23222 <libm-alias-double.h>.
23223 (totalorder): Define using libm_alias_double.
23224 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
23225 <libm-alias-double.h>.
23226 (totalordermag): Define using libm_alias_double.
23227 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
23228 libm_alias_double.
23229 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
23230 libm_alias_double.
23231 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
23232 <libm-alias-double.h>.
23233 (getpayload): Define using libm_alias_double.
23234 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
23235 <libm-alias-double.h>.
23236 (roundeven): Define using libm_alias_double.
23237 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
23238 <libm-alias-double.h>.
23239 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
23240 <libm-alias-double.h>.
23241 (totalorder): Define using libm_alias_double.
23242 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
23243 <libm-alias-double.h>.
23244 (totalordermag): Define using libm_alias_double.
23245 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
23246 libc compat symbol here.
23247 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
23248 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
23249 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
23250 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
23251 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
23252 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
23253 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
23254 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
23255 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
23256 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
23257
23258 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
23259
23260 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
23261 _dl_relocate_static_pie instead of _dl_start to compute load
23262 address in static PIE. Return 0 if _DYNAMIC is undefined for
23263 static executable.
23264
23265 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
23266
23267 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
23268 _DYNAMIC is undefined for static executable.
23269
23270 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
23271
23272 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
23273
23274 2017-09-29 Joseph Myers <joseph@codesourcery.com>
23275
23276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23277
23278 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
23279
23280 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
23281 (__ieee754_lgamma_r): Use fabs rather than __fabs.
23282 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23283 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23284 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
23285 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
23286 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
23287 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
23288 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
23289 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
23290 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
23291 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
23292 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
23293 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
23294 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23295 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23296 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
23297
23298 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
23299
23300 * math/bits/cmathcalls.h (cimag): Remove inline.
23301 (creal): Remove inline.
23302 (conj): Remove inline.
23303
23304 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
23305
23306 * math/Makefile (type-float-routines): Add e_powf_log2_data.
23307 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
23308 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
23309 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
23310 (issignalingf_inline): Likewise.
23311 (POWF_LOG2_TABLE_BITS): Likewise.
23312 (POWF_LOG2_POLY_ORDER): Likewise.
23313 (POWF_SCALE_BITS): Likewise.
23314 (POWF_SCALE): Likewise.
23315 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
23316 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
23317 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
23318
23319 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
23320
23321 * math/Makefile (type-float-routines): Add e_log2f_data.
23322 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
23323 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
23324 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
23325 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
23326 * sysdeps/i386/fpu/e_log2f_data.c: New file.
23327 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
23328 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
23329
23330 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
23331
23332 * math/Makefile (type-float-routines): Add e_logf_data.
23333 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
23334 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
23335 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
23336 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
23337 * sysdeps/i386/fpu/e_logf_data.c: New file.
23338 * sysdeps/ia64/fpu/e_logf_data.c: New file.
23339 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
23340
23341 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
23342
23343 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
23344 undefined _DYNAMIC in PIE libc.a.
23345 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
23346 Likewse.
23347
23348 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
23349
23350 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
23351 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
23352 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
23353 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
23354 (__signbit): Remove.
23355 (__signbitl): Remove.
23356 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
23357 (__signbit): Remove.
23358 (__signbitl): Remove.
23359 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
23360 (__signbit): Remove.
23361 (__signbitl): Remove.
23362 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
23363 (__signbit): Remove.
23364 (__signbitl): Remove.
23365 * sysdeps/tile/bits/mathinline.h: Delete file.
23366 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
23367 (__signbit): Remove.
23368 (__signbitl): Remove.
23369
23370 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
23371
23372 * math/math.h: Improve handling of C99 isgreater macros.
23373 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
23374 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
23375 * sysdeps/powerpc/bits/mathinline.h: Likewise.
23376 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23377 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
23378
23379 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
23380
23381 * sysdeps/aarch64/libm-test-ulps: Update.
23382
23383 2017-09-28 Joseph Myers <joseph@codesourcery.com>
23384
23385 [BZ #22225]
23386 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23387 math_opt_barrier on argument when doing arithmetic on it.
23388 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23389 Likewise. Use math_force_eval not math_opt_barrier after
23390 arithmetic.
23391 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
23392 math_opt_barrier on argument when doing arithmetic on it.
23393 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23394 Likewise.
23395
23396 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
23397
23398 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
23399 libc_hidden_def.
23400 (__freeifaddrs): Likewise.
23401
23402 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
23403
23404 * include/dirent.h (__dirfd): New declaration.
23405 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
23406 alias.
23407 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
23408 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
23409 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
23410 * include/unistd.h (__revoke): New declaration.
23411 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
23412 alias.
23413 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
23414 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
23415 revoke.
23416 * include/dirent.h (__seekdir): New declaration.
23417 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
23418 redefine as weak alias.
23419 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
23420 of seekdir.
23421 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
23422 and use libc_hidden_def on them.
23423 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
23424 them.
23425 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
23426 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
23427 instead of getifaddrs and freeifaddrs.
23428
23429 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
23430
23431 [BZ #18822]
23432 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
23433 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
23434 (__dso_handle): Remove declaration.
23435 * dlfcn/tstatexit.c (__dso_handle): Removed.
23436 (main): Don't check __dso_handle.
23437 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
23438 (main): Don't check __dso_handle.
23439 * include/dso_handle.h: New file.
23440 * malloc/mtrace.c: Include <dso_handle.h>.
23441 (mtrace): Pass __dso_handle directly.
23442 * nptl/pthread_atfork.c: Include <dso_handle.h>.
23443 (__dso_handle): Remove declaration.
23444 (__pthread_atfork): Pass __dso_handle directly.
23445 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
23446 (__dso_handle): Removed.
23447 * posix/wordexp-test.c: Include <dso_handle.h>.
23448 (__dso_handle): Remove declaration.
23449 (__app_register_atfork): Pass __dso_handle directly.
23450 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
23451 (__dso_handle): Remove declaration.
23452 (at_quick_exit): Pass __dso_handle directly.
23453 * stdlib/atexit.c: Include <dso_handle.h>.
23454 (__dso_handle): Remove declaration.
23455 (atexit): Pass __dso_handle directly.
23456 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
23457 (__dso_handle): Removed.
23458
23459 2017-09-26 Joseph Myers <joseph@codesourcery.com>
23460
23461 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
23462 using VDSO.
23463
23464 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
23465
23466 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
23467 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
23468 values to correct default value for given type.
23469
23470 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
23471
23472 [BZ #22101]
23473 * elf/Makefile (tests): Add tst-debug1.
23474 ($(objpfx)tst-debug1): New.
23475 ($(objpfx)tst-debug1.out): Likewise.
23476 ($(objpfx)tst-debug1mod1.so): Likewise.
23477 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
23478 with p_filesz == 0.
23479 * elf/tst-debug1.c: New file.
23480
23481 2017-09-26 Joseph Myers <joseph@codesourcery.com>
23482
23483 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
23484 Define using __ifunc.
23485
23486 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23487
23488 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
23489 exp2f() values.
23490
23491 2017-09-26 Joseph Myers <joseph@codesourcery.com>
23492
23493 [BZ #22156]
23494 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
23495
23496 2017-09-26 Florian Weimer <fweimer@redhat.com>
23497
23498 * resolv/Makefile (tests-internal): Fix typo in comment.
23499
23500 2017-09-26 Florian Weimer <fweimer@redhat.com>
23501
23502 * resolv/nss_dns/dns-host.c: Fix typo in comment.
23503
23504 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23505
23506 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
23507 Use an union instead of a max_align_t array for __space,
23508 so that __space is the same size on all platforms.
23509 * malloc/scratch_buffer_grow_preserve.c
23510 (__libc_scratch_buffer_grow_preserve): Likewise.
23511
23512 [BZ #22183]
23513 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
23514 version to 2.
23515 * posix/Makefile (routines): Add glob-lstat-compat and
23516 glob64-lstat-compat.
23517 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
23518 * posix/glob-lstat-compat.c: New file.
23519 * posix/glob64-lstat-compat.c: Likewise.
23520 * posix/tst-glob_lstat_compat.c: Likewise.
23521 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
23522 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
23523 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
23524 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
23525 Likewise.
23526 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
23527 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
23528 * posix/glob.c (glob_lstat): New function.
23529 (glob): Rename to __glob and add versioned symbol to 2.27.
23530 (glob_in_dir): Use glob_lstat.
23531 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
23532 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23533 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
23534 2.27.
23535 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
23536 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
23537 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
23538 gl_lstat on glob call.
23539 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
23540 and glob64 symbols.
23541 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23542 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23543 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23544 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23545 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23546 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23547 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23548 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23549 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
23550 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23551 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23552 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23554 Likewise.
23555 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
23556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
23557 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23558 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23559 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23560 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23561 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
23563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
23564 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23565 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23566 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23567
23568 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
23569
23570 * configure.ac (AS): Require binutils 2.25 or later.
23571 * configure: Regenerated.
23572
23573 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23574
23575 [BZ #22207]
23576 * stdlib/test-atexit-race-common.c (do_test): Minimize required
23577 VM size.
23578
23579 2017-09-25 DJ Delorie <dj@redhat.com>
23580
23581 [BZ #22161]
23582 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
23583 resetting timeout.
23584
23585 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
23586
23587 * sysdeps/ieee754/dbl-64/sincos32.h
23588 [SINCCOS32_H]: Remove define.
23589 [SINCOS32_H]: Define.
23590
23591 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
23592
23593 * math/Versions (expf): New libm symbol at GLIBC_2.27.
23594 (exp2f): Likewise.
23595 * math/w_exp2f.c: New file.
23596 * math/w_expf.c: New file.
23597 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
23598 * math/w_expf_compat.c (__expf_compat): Likewise.
23599 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
23600 * sysdeps/ia64/fpu/e_expf.S: Likewise.
23601 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
23602 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23603 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23604 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23605 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23606 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23607 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23608 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23609 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23610 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23611 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23612 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23614 Likewise.
23615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23616 Likewise.
23617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23618 Likewise.
23619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23620 Likewise.
23621 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23622 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23623 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23624 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23625 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23627 Likewise.
23628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23629 Likewise.
23630 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23631 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23632 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23633
23634 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
23635
23636 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
23637 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
23638 (roundtoint, converttoint): Likewise.
23639 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
23640 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
23641 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
23642 * sysdeps/ieee754/flt-32/math_config.h: New file.
23643 * sysdeps/ieee754/flt-32/math_errf.c: New file.
23644 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
23645 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
23646 * sysdeps/i386/fpu/math_errf.c: New file.
23647 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
23648 * sysdeps/ia64/fpu/math_errf.c: New file.
23649 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
23650 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
23651
23652 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
23653
23654 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
23655 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
23656 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
23657 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
23658 to make sure that these symbols are defined.
23659 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
23660 of <limits.h>
23661 (__need_NULL): Do not define.
23662 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
23663 alignment.
23664 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
23665 CMGROUP_MAX, cmsgcred): Do not define.
23666 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
23667 NULL.
23668 * bits/socket.h: Likewise.
23669 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
23670 __gettimeofday instead of gettimeofday.
23671 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
23672 instead of settimeofday.
23673
23674 2017-09-22 Joseph Myers <joseph@codesourcery.com>
23675
23676 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
23677 (asinhf): Define using libm_alias_float.
23678 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
23679 (atanf): Define using libm_alias_float.
23680 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
23681 (cbrtf): Define using libm_alias_float.
23682 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
23683 (ceilf): Define using libm_alias_float.
23684 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
23685 <libm-alias-float.h>.
23686 (copysignf): Define using libm_alias_float.
23687 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
23688 (cosf): Define using libm_alias_float.
23689 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
23690 (erff): Define using libm_alias_float.
23691 (erfcf): Likewise.
23692 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
23693 (expm1f): Define using libm_alias_float.
23694 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
23695 (fabsf): Define using libm_alias_float.
23696 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
23697 (floorf): Define using libm_alias_float.
23698 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
23699 (frexpf): Define using libm_alias_float.
23700 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
23701 libm_alias_float.
23702 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
23703 <libm-alias-float.h>.
23704 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
23705 libm_alias_float.
23706 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
23707 <libm-alias-float.h>.
23708 (getpayloadf): Define using libm_alias_float.
23709 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
23710 <libm-alias-float.h>.
23711 (llrintf): Define using libm_alias_float.
23712 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
23713 <libm-alias-float.h>.
23714 (llroundf): Define using libm_alias_float.
23715 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
23716 (logbf): Define using libm_alias_float.
23717 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
23718 (lrintf): Define using libm_alias_float.
23719 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
23720 (lroundf): Define using libm_alias_float.
23721 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
23722 (modff): Define using libm_alias_float.
23723 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
23724 <libm-alias-float.h>.
23725 (nearbyintf): Define using libm_alias_float.
23726 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
23727 <libm-alias-float.h>.
23728 (nextafterf): Define using libm_alias_float.
23729 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
23730 <libm-alias-float.h>.
23731 (nextupf): Define using libm_alias_float.
23732 * sysdeps/ieee754/flt-32/s_remquof.c: Include
23733 <libm-alias-float.h>.
23734 (remquof): Define using libm_alias_float.
23735 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
23736 (rintf): Define using libm_alias_float.
23737 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
23738 <libm-alias-float.h>.
23739 (roundevenf): Define using libm_alias_float.
23740 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
23741 (roundf): Define using libm_alias_float.
23742 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
23743 using libm_alias_float.
23744 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
23745 <libm-alias-float.h>.
23746 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
23747 Define using libm_alias_float.
23748 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
23749 <libm-alias-float.h>.
23750 (sincosf): Define using libm_alias_float.
23751 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
23752 (sinf): Define using libm_alias_float.
23753 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
23754 (tanf): Define using libm_alias_float.
23755 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
23756 (tanhf): Define using libm_alias_float.
23757 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
23758 <libm-alias-float.h>.
23759 (totalorderf): Define using libm_alias_float.
23760 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
23761 <libm-alias-float.h>.
23762 (totalordermagf): Define using libm_alias_float.
23763 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
23764 (truncf): Define using libm_alias_float.
23765 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
23766 libm_alias_float.
23767 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
23768 libm_alias_float.
23769
23770 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23771
23772 [BZ #22146]
23773 math/math.h: Let fpclassify use the builtin in C++ mode, even
23774 when optimazing for size.
23775
23776 2017-09-22 Joseph Myers <joseph@codesourcery.com>
23777
23778 * csu/Makefile (generated): Do not add version-info.h.
23779 (before-compile): Likewise.
23780 (all-Banner-files): Remove variable.
23781 ($(objpfx)version-info.h): Remove rule.
23782 * csu/version.c (banner): Do not include "version-info.h".
23783 * libidn/Banner: Remove.
23784 * manual/contrib.texi (Simon Josefsson): New entry.
23785
23786 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23787
23788 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23789 Remove conditionals on LDBL_MANT_DIG.
23790 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
23791 (__ieee754_lgammal_r): Likewise.
23792
23793 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23794
23795 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
23796 _Float128 and L().
23797 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
23798 _Float128 and L(). Replace _Float128 with long double and L(x)
23799 with xL, throughout the file.
23800 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
23801 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
23802 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
23803 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
23804
23805 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23806
23807 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
23808 sysdeps/ieee754/ldbl-128ibm.
23809 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
23810 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
23811 of including it. Keep _Float128 and L() intact. These will be
23812 reviewed by a separate patch.
23813 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
23814 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
23815 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
23816 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
23817
23818 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23819
23820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
23821 (__finitef128): Define to __redirect___finitef128.
23822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
23823 (__isinff128): Define to __redirect___isinff128.
23824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
23825 (__isnanf128): Define to __redirect___isnanf128.
23826
23827 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23828
23829 * sysdeps/powerpc/powerpc64le/Makefile
23830 (CFLAGS-tst-strtod-nan-locale.c): New variable.
23831 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
23832
23833 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
23834 Carlos O'Donell <carlos@redhat.com>
23835
23836 [BZ #22180]
23837 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
23838 * stdlib/test-dlclose-exit-race.c: New file.
23839 * stdlib/test-dlclose-exit-race-helper.c: New file.
23840 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
23841
23842 2017-09-21 Joseph Myers <joseph@codesourcery.com>
23843
23844 * crypt/Banner: Remove file.
23845 * nptl/Banner: Likewise.
23846 * resolv/Banner: Likewise.
23847 * soft-fp/Banner: Likewise.
23848 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
23849 ($(objpfx)version.d): Remove dependency on banner.h.
23850 ($(objpfx)version.os): Likewise.
23851 * nptl/version.c (banner): Do not include banner.h.
23852 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
23853 Jelinek and BIND code.
23854
23855 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
23856 Carlos O'Donell <carlos@redhat.com>
23857
23858 * support/xdlfcn.h: New file.
23859 * support/xdlfcn.c: New file.
23860 * support/Makefile (libsupport-routines): Add xdlfcn.
23861 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
23862
23863 2017-09-20 Joseph Myers <joseph@codesourcery.com>
23864
23865 [BZ #20142]
23866 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23867 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
23868 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
23869 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
23870 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
23871 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
23872 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
23873 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
23874
23875 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
23876 Ricky Zhou <rickyz@google.com>
23877 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
23878
23879 [BZ #14333]
23880 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
23881 Remove atomics.
23882 (__new_exitfn): Fail registration when we finished at_exit processing.
23883 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23884 * stdlib/on_exit.c (__on_exit): Likewise.
23885 * stdlib/exit.c (__exit_funcs_done): New variable.
23886 (__run_exit_handlers): Use __exit_funcs_lock.
23887 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
23888 declarations.
23889 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
23890 (test-cxa_atexit-race, test-on_exit-race): New tests.
23891 * stdlib/test-atexit-race-common.c: New file.
23892 * stdlib/test-atexit-race.c: New file.
23893 * stdlib/test-at_quick_exit-race.c: New file.
23894 * stdlib/test-cxa_atexit-race.c: New file.
23895 * stdlib/test-on_exit-race.c: New file.
23896
23897 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23898
23899 * benchtests/Makefile: Add exp2f and log2f benchmarks.
23900 * benchtests/exp2f-inputs: Copy of expf-inputs.
23901 * benchtests/log2f-inputs: Copy of logf-inputs.
23902
23903 2017-09-19 Joseph Myers <joseph@codesourcery.com>
23904
23905 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
23906 Explicitly take address of first element of array arguments in
23907 call to INLINE_SYSCALL.
23908
23909 2017-09-19 Andreas Schwab <schwab@suse.de>
23910
23911 [BZ #22134]
23912 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
23913 execveat first.
23914 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
23915 unimplemented.
23916 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
23917 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
23918 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23919 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
23920 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23921 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
23922 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23923 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
23924 * posix/Makefile (tests): Add tst-fexecve.
23925 * posix/tst-fexecve.c: New file.
23926
23927 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
23928
23929 * benchtests/Makefile: Add logf benchmark.
23930 * benchtests/logf-inputs: Add reduced trace from wrf_r.
23931
23932 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
23933
23934 * benchtests/Makefile: Add expf benchmark.
23935 * benchtests/expf-inputs: Add reduced trace from wrf_r.
23936
23937 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
23938
23939 * csu/Makefile: Add -funwind-tables to libc-start.c.
23940 * debug/Makefile: Add -funwind-tables to backtrace.c.
23941 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
23942 * sysdeps/arm/Makefile: Likewise.
23943 * sysdeps/i386/Makefile: Likewise.
23944 * sysdeps/m68k/Makefile: Likewise.
23945 * sysdeps/mips/Makefile: Likewise.
23946 * sysdeps/nios2/Makefile: Likewise.
23947 * sysdeps/sh/Makefile: Likewise.
23948 * sysdeps/sparc/Makefile: Likewise.
23949
23950 2017-09-19 Joseph Myers <joseph@codesourcery.com>
23951
23952 * benchtests/Makefile (bench-math): Add trunc and truncf.
23953 (CFLAGS-bench-trunc.c): New variable.
23954 (CFLAGS-bench-truncf.c): Likewise.
23955 * benchtests/trunc-inputs: New file.
23956 * benchtests/truncf-inputs: Likewise.
23957
23958 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23959
23960 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
23961
23962 2017-09-18 Joseph Myers <joseph@codesourcery.com>
23963
23964 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
23965 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
23966 redefine.
23967 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
23968 (exp10l): Define as weak alias.
23969 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
23970 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
23971 and redefine.
23972 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
23973 (remainderl): Define as weak alias.
23974
23975 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
23976 (fmal): Define using libm_alias_ldouble.
23977 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
23978 (acoshl): Define using libm_alias_ldouble.
23979 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
23980 (acosl): Define using libm_alias_ldouble.
23981 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
23982 (asinl): Define using libm_alias_ldouble.
23983 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
23984 (atan2l): Define using libm_alias_ldouble.
23985 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
23986 (atanhl): Define using libm_alias_ldouble.
23987 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
23988 (coshl): Define using libm_alias_ldouble.
23989 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
23990 (exp10l): Define using libm_alias_ldouble.
23991 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
23992 (exp2l): Define using libm_alias_ldouble.
23993 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
23994 (expl): Define using libm_alias_ldouble.
23995 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
23996 (fmodl): Define using libm_alias_ldouble.
23997 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
23998 (hypotl): Define using libm_alias_ldouble.
23999 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
24000 (j0l): Define using libm_alias_ldouble.
24001 (y0l): Likewise.
24002 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
24003 (j1l): Define using libm_alias_ldouble.
24004 (y1l): Likewise.
24005 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
24006 (jnl): Define using libm_alias_ldouble.
24007 (ynl): Likewise.
24008 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
24009 (log10l): Define using libm_alias_ldouble.
24010 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
24011 (log2l): Define using libm_alias_ldouble.
24012 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
24013 (logl): Define using libm_alias_ldouble.
24014 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
24015 (powl): Define using libm_alias_ldouble.
24016 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
24017 (remainderl): Define using libm_alias_ldouble.
24018 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
24019 (sinhl): Define using libm_alias_ldouble.
24020 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
24021 (sqrtl): Define using libm_alias_ldouble.
24022 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
24023 (tgammal): Define using libm_alias_ldouble.
24024 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
24025 (exp10l): Do not use long_double_symbol here.
24026 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24027 [LIBM_SVID_COMPAT] (remainderl): Likewise.
24028 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
24029 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
24030 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
24031 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
24032 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
24033 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
24034 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
24035 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
24036 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
24037 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
24038 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
24039 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
24040 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
24041 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
24042 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
24043 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
24044 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
24045 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
24046 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
24047 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
24048
24049 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
24050
24051 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
24052 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
24053
24054 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
24055
24056 * io/read.c (read): Add libc_hidden_weak.
24057 * sysdeps/mach/hurd/read.c (read): Likewise.
24058 * io/write.c (write): Likewise.
24059 * sysdeps/mach/hurd/write.c (write): Likewise.
24060 * io/pread64.c (__pread64): Likewise.
24061 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
24062 * posix/pread64.c (__pread64): Add libc_hidden_def.
24063
24064 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24065
24066 * benchtests/scripts/compare_strings.py: New option -g.
24067 (draw_graph): Print a message that a graph is being generated.
24068 (process_results): Generate graph only if -g is passed.
24069 (main): Process option -g.
24070
24071 * benchtests/scripts/compare_strings.py (process_results):
24072 Better spacing for output.
24073
24074 * benchtests/scripts/compare_strings.py: Use argparse.
24075 * benchtests/README: Document existence of compare_strings.py.
24076
24077 2017-09-15 Joseph Myers <joseph@codesourcery.com>
24078
24079 * math/s_fma.c: Include <libm-alias-double.h>.
24080 (fma): Define using libm_alias_double.
24081 * math/s_nextafter.c: Include <libm-alias-double.h>.
24082 (nextafter): Define using libm_alias_double.
24083 * math/w_acos_compat.c: Include <libm-alias-double.h>.
24084 (acos): Define using libm_alias_double.
24085 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
24086 (aocsh): Define using libm_alias_double.
24087 * math/w_asin_compat.c: Include <libm-alias-double.h>.
24088 (asin): Define using libm_alias_double.
24089 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
24090 (atan2): Define using libm_alias_double.
24091 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
24092 (atanh): Define using libm_alias_double.
24093 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
24094 (cosh): Define using libm_alias_double.
24095 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
24096 (exp10): Define using libm_alias_double.
24097 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
24098 (exp2): Define using libm_alias_double.
24099 * math/w_exp_compat.c: Include <libm-alias-double.h>.
24100 (exp): Define using libm_alias_double.
24101 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
24102 (fmod): Define using libm_alias_double.
24103 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
24104 (hypot): Define using libm_alias_double.
24105 * math/w_j0_compat.c: Include <libm-alias-double.h>.
24106 (j0): Define using libm_alias_double.
24107 (y0): Likewise.
24108 * math/w_j1_compat.c: Include <libm-alias-double.h>.
24109 (j1): Define using libm_alias_double.
24110 (y1): Likewise.
24111 * math/w_jn_compat.c: Include <libm-alias-double.h>.
24112 (jn): Define using libm_alias_double.
24113 (yn): Likewise.
24114 * math/w_log10_compat.c: Include <libm-alias-double.h>.
24115 (log10): Define using libm_alias_double.
24116 * math/w_log2_compat.c: Include <libm-alias-double.h>.
24117 (log2): Define using libm_alias_double.
24118 * math/w_log_compat.c: Include <libm-alias-double.h>.
24119 (log): Define using libm_alias_double.
24120 * math/w_pow_compat.c: Include <libm-alias-double.h>.
24121 (pow): Define using libm_alias_double.
24122 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
24123 (remainder): Define using libm_alias_double.
24124 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
24125 (sinh): Define using libm_alias_double.
24126 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
24127 (sqrt): Define using libm_alias_double.
24128 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
24129 (tgamma): Define using libm_alias_double.
24130 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
24131 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
24132 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
24133 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
24134 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
24135 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
24136 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
24137 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
24138 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
24139 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
24140 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
24141 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
24142 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
24143 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
24144 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
24145 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
24146 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
24147 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
24148 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
24149 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
24150 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
24151 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
24152 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
24153 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
24154 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
24155
24156 * math/e_acoshl.c: Remove.
24157 * math/e_acosl.c: Likewise.
24158 * math/e_asinl.c: Likewise.
24159 * math/e_atan2l.c: Likewise.
24160 * math/e_atanhl.c: Likewise.
24161 * math/e_coshl.c: Likewise.
24162 * math/e_expl.c: Likewise.
24163 * math/e_fmodl.c: Likewise.
24164 * math/e_gammal_r.c: Likewise.
24165 * math/e_hypotl.c: Likewise.
24166 * math/e_j0l.c: Likewise.
24167 * math/e_j1l.c: Likewise.
24168 * math/e_jnl.c: Likewise.
24169 * math/e_lgammal_r.c: Likewise.
24170 * math/e_log10l.c: Likewise.
24171 * math/e_log2l.c: Likewise.
24172 * math/e_logl.c: Likewise.
24173 * math/e_powl.c: Likewise.
24174 * math/e_rem_pio2l.c: Likewise.
24175 * math/e_sinhl.c: Likewise.
24176 * math/e_sqrtf128.c: Likewise.
24177 * math/e_sqrtl.c: Likewise.
24178 * math/k_cosl.c: Likewise.
24179 * math/k_sinl.c: Likewise.
24180 * math/k_tanl.c: Likewise.
24181 * math/s_asinhl.c: Likewise.
24182 * math/s_atanl.c: Likewise.
24183 * math/s_cbrtl.c: Likewise.
24184 * math/s_erfl.c: Likewise.
24185 * math/s_expm1l.c: Likewise.
24186 * math/s_log1pl.c: Likewise.
24187 * math/s_tanhl.c: Likewise.
24188
24189 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24190
24191 [BZ #21745]
24192 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
24193 [$(subdir) = math] (sysdep_calls): New variable. Has the
24194 previous contents of sysdep_routines, but re-sorted..
24195 [$(subdir) = math] (sysdep_routines): Re-use the contents from
24196 sysdep_calls.
24197 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
24198 defined in sysdep_calls and replace by the respective m_* names.
24199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
24200 (compat_symbol): Undefine to avoid duplicated compat symbols in
24201 libc.
24202
24203 2017-09-15 Joseph Myers <joseph@codesourcery.com>
24204
24205 * math/s_fmaf.c: Include <libm-alias-float.h>.
24206 (fmaf): Define using libm_alias_float.
24207 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
24208 (acosf): Define using libm_alias_float.
24209 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
24210 (acoshf): Define using libm_alias_float.
24211 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
24212 (asinf): Define using libm_alias_float.
24213 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
24214 (atan2f): Define using libm_alias_float.
24215 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
24216 (atanhf): Define using libm_alias_float.
24217 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
24218 (coshf): Define using libm_alias_float.
24219 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
24220 (exp10f): Define using libm_alias_float.
24221 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
24222 (fmodf): Define using libm_alias_float.
24223 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
24224 (hypotf): Define using libm_alias_float.
24225 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
24226 (j0f): Define using libm_alias_float.
24227 (y0f): Likewise.
24228 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
24229 (j1f): Define using libm_alias_float.
24230 (y1f): Likewise.
24231 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
24232 (jnf): Define using libm_alias_float.
24233 (ynf): Likewise.
24234 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
24235 (log10f): Define using libm_alias_float.
24236 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
24237 (log2f): Define using libm_alias_float.
24238 * math/w_logf_compat.c: Include <libm-alias-float.h>.
24239 (logf): Define using libm_alias_float.
24240 * math/w_powf_compat.c: Include <libm-alias-float.h>.
24241 (powf): Define using libm_alias_float.
24242 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
24243 (remainderf): Define using libm_alias_float.
24244 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
24245 (sinhf): Define using libm_alias_float.
24246 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
24247 (sqrtf): Define using libm_alias_float.
24248 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
24249 (tgammaf): Define using libm_alias_float.
24250
24251 2017-09-14 Joseph Myers <joseph@codesourcery.com>
24252
24253 * include/math.h (roundeven): Change hidden_proto call to
24254 __roundeven.
24255 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
24256 alias.
24257 [NO_LONG_DOUBLE] (__j0l): New strong alias.
24258 (y0): Rename to __y0 and define as weak alias.
24259 [NO_LONG_DOUBLE] (__y0l): New strong alias.
24260 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
24261 alias.
24262 (y0f): Rename to __y0f and define as weak alias.
24263 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
24264 alias.
24265 [NO_LONG_DOUBLE] (__j1l): New strong alias.
24266 (y1): Rename to __y1 and define as weak alias.
24267 [NO_LONG_DOUBLE] (__y1l): New strong alias.
24268 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
24269 alias.
24270 (y1f): Rename to __y1f and define as weak alias.
24271 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
24272 alias.
24273 [NO_LONG_DOUBLE] (__jnl): New strong alias.
24274 (yn): Rename to __yn and define as weak alias.
24275 [NO_LONG_DOUBLE] (__ynl): New strong alias.
24276 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
24277 alias.
24278 (ynf): Rename to __ynf and define as weak alias.
24279 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
24280 (fromfp): Define as weak alias.
24281 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
24282 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
24283 (fromfpx): Define as weak alias.
24284 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
24285 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
24286 __getpayload and define as weak alias.
24287 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
24288 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
24289 __roundeven and define as weak alias.
24290 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
24291 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
24292 __setpayload.
24293 (setpayload): Define as weak alias.
24294 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
24295 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
24296 __setpayloadsig.
24297 (setpayloadsig): Define as weak alias.
24298 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
24299 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
24300 __totalorder and define as weak alias.
24301 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
24302 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
24303 to __totalordermag and define as weak alias.
24304 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
24305 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
24306 (ufromfp): Define as weak alias.
24307 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
24308 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
24309 __ufromfpx.
24310 (ufromfpx): Define as weak alias.
24311 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
24312 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
24313 Rename to __getpayload and define as weak alias.
24314 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
24315 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
24316 Rename to __roundeven and define as weak alias.
24317 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
24318 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
24319 Rename to __totalorder and define as weak alias.
24320 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
24321 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
24322 (totalordermag): Rename to __totalordermag and define as weak
24323 alias.
24324 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
24325 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
24326 macro.
24327 (__roundevenl): Likewise.
24328 (__totalorderl): Likewise.
24329 (__totalordermagl): Likewise
24330 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
24331 __fromfpf128.
24332 (fromfpf128): Define as weak alias.
24333 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
24334 __fromfpxf128.
24335 (fromfpxf128): Define as weak alias.
24336 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
24337 __setpayloadf128.
24338 (setpayloadf128): Define as weak alias.
24339 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
24340 __setpayloadsigf128.
24341 (setpayloadsigf128): Define as weak alias.
24342 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
24343 __ufromfpf128.
24344 (ufromfpf128): Define as weak alias.
24345 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
24346 __ufromfpxf128.
24347 (ufromfpxf128): Define as weak alias.
24348 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
24349 (fromfpf): Define as weak alias.
24350 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
24351 __fromfpxf.
24352 (fromfpxf): Define as weak alias.
24353 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
24354 __getpayloadf and define as weak alias.
24355 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
24356 __roundevenf and define as weak alias.
24357 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
24358 __setpayloadf.
24359 (setpayloadf): Define as weak alias.
24360 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
24361 __setpayloadsigf.
24362 (setpayloadsigf): Define as weak alias.
24363 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
24364 __totalorderf and define as weak alias.
24365 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
24366 Rename to __totalordermagf and define as weak alias.
24367 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
24368 __ufromfpf.
24369 (ufromfpf): Define as weak alias.
24370 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
24371 __ufromfpxf.
24372 (ufromfpxf): Define as weak alias.
24373 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
24374 __fromfpl.
24375 (fromfpl): Define as weak alias.
24376 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
24377 __fromfpxl.
24378 (fromfpxl): Define as weak alias.
24379 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
24380 to __getpayloadl and define as weak alias.
24381 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
24382 __roundevenl and define as weak alias.
24383 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
24384 __setpayloadl.
24385 (setpayloadl): Define as weak alias.
24386 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
24387 __setpayloadsigl.
24388 (setpayloadsigl): Define as weak alias.
24389 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
24390 to __totalorderl and define as weak alias.
24391 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
24392 Rename to __totalordermagl and define as weak alias.
24393 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
24394 __ufromfpl.
24395 (ufromfpl): Define as weak alias.
24396 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
24397 __ufromfpxl.
24398 (ufromfpxl): Define as weak alias.
24399 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
24400 __fromfpl.
24401 (fromfpl): Define as weak alias.
24402 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
24403 __fromfpxl.
24404 (fromfpxl): Define as weak alias.
24405 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
24406 Rename to __getpayloadl and define as weak alias.
24407 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
24408 to __roundevenl and define as weak alias. Call __roundeven
24409 instead of roundeven.
24410 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
24411 __setpayloadl.
24412 (setpayloadl): Define as weak alias.
24413 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
24414 __setpayloadsigl.
24415 (setpayloadsigl): Define as weak alias.
24416 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
24417 Rename to __totalorderl and define as weak alias.
24418 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
24419 Rename to __totalordermagl and define as weak alias.
24420 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
24421 __ufromfpl.
24422 (ufromfpl): Define as weak alias.
24423 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
24424 __ufromfpxl.
24425 (ufromfpxl): Define as weak alias.
24426 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
24427 __fromfpl.
24428 (fromfpl): Define as weak alias.
24429 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
24430 __fromfpxl.
24431 (fromfpxl): Define as weak alias.
24432 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
24433 __getpayloadl and define as weak alias.
24434 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
24435 __roundevenl and define as weak alias.
24436 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
24437 __setpayloadl.
24438 (setpayloadl): Define as weak alias.
24439 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
24440 __setpayloadsigl.
24441 (setpayloadsigl): Define as weak alias.
24442 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
24443 __totalorderl and define as weak alias.
24444 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
24445 Rename to __totalordermagl and define as weak alias.
24446 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
24447 __ufromfpl.
24448 (ufromfpl): Define as weak alias.
24449 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
24450 __ufromfpxl.
24451 (ufromfpxl): Define as weak alias.
24452
24453 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24454
24455 * benchtests/bench-string.h (realloc_bufs): New function.
24456 (test_init): Call it.
24457 * benchtests/bench-memset-large.c (do_test): Likewise.
24458 * benchtests/bench-memset.c (do_test): Likewise.
24459
24460 * benchtests/bench-memset-large.c: Print output in JSON
24461 format.
24462 * benchtests/bench-memset.c: Likewise.
24463
24464 2017-09-14 Mike FABIAN <mfabian@redhat.com>
24465
24466 [BZ #21084]
24467 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
24468 * iconvdata/Makefile: Add IBM858.
24469 * iconvdata/gconv-modules: Likewise.
24470 * iconvdata/tst-tables.sh: Likewise.
24471 * iconvdata/ibm858.c: New file.
24472 * localedata/charmaps/IBM858: Likewise.
24473
24474 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
24475
24476 [BZ #22023]
24477 * locales/niu_NZ (LC_TIME): copy "niu_NU".
24478 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
24479
24480 2017-09-14 Mike FABIAN <mfabian@redhat.com>
24481
24482 [BZ #22112]
24483 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
24484 and add tel_int_fmt.
24485
24486 2017-09-14 Joseph Myers <joseph@codesourcery.com>
24487
24488 * sysdeps/generic/libm-alias-float128.h: New file.
24489 * sysdeps/generic/math-type-macros-float128.h: Include
24490 <libm-alias-float128.h>.
24491 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
24492
24493 2017-09-13 Joseph Myers <joseph@codesourcery.com>
24494
24495 * sysdeps/generic/libm-alias-ldouble.h: New file.
24496 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
24497 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
24498 * sysdeps/generic/math-type-macros-ldouble.h: Include
24499 <libm-alias-ldouble.h>.
24500 [!declare_mgen_alias] (declare_mgen_alias): Define to use
24501 libm_alias_ldouble.
24502
24503 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
24504
24505 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
24506 * math/w_exp_compat.c: ... here.
24507 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
24508 * math/w_expf_compat.c: ... here.
24509 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
24510 * math/w_expl_compat.c: ... here.
24511 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
24512 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
24513 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
24514 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
24515
24516 2017-09-13 Joseph Myers <joseph@codesourcery.com>
24517
24518 * math/w_scalbln_template.c (strong_alias): Do not undefine and
24519 redefine.
24520 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
24521 macro.
24522 (ldexpl): Only define as compat symbol for libc, not libm.
24523 (scalbnl): Define as compat symbol for libc here.
24524 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
24525 define for [IS_IN (libc)].
24526 (__ldexpl_2): Remove alias.
24527 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
24528 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
24529 name in long_double_symbol call.
24530 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
24531 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24532 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24533 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
24534 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
24535 Remove macro.
24536 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
24537 Define as compat symbol.
24538
24539 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24540
24541 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
24542 * sysdeps/unix/sysv/linux/alpha/Makefile
24543 [$(subdir) = csu] (sysdep_routines): Remove rule.
24544
24545 2017-09-13 Joseph Myers <joseph@codesourcery.com>
24546
24547 * sysdeps/generic/libm-alias-double.h: New file.
24548 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
24549 * sysdeps/generic/math-type-macros-double.h: Include
24550 <libm-alias-double.h>.
24551 [declare_mgen_alias] (declare_mgen_alias): Define to use
24552 libm_alias_double.
24553 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
24554 (M_LIBM_NEED_COMPAT): Remove macro.
24555 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
24556 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
24557 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
24558 code.
24559 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24560 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24561 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24562 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24563 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24564 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24565 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24566 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24567 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24568 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24569 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24570 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24571 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24572 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24573 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24574 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24575 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24576 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24577 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24578 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24579 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24580 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24581 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24582 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24583 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24584 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24585 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
24586 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
24587 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
24588 macro.
24589 (declare_mgen_alias): New macro.
24590 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
24591 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
24592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
24593 (M_LIBM_NEED_COMPAT): Remove macro.
24594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
24595 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
24596 <first-versions.h>.
24597 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
24598 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
24599
24600 2017-09-12 Joseph Myers <joseph@codesourcery.com>
24601
24602 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
24603 (declare_mgen_alias_2): Remove.
24604 * sysdeps/generic/math-type-macros-double.h
24605 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
24606 Likewise.
24607 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
24608 alias.
24609 (ldexp): Define with declare_mgen_alias.
24610 (scalbn): Likewise.
24611
24612 2017-09-12 Steve Ellcey <sellcey@cavium.com>
24613
24614 * grp/initgroups.c: Include config.h.
24615 (DEFAULT_CONFIG): New macro.
24616 (internal_getgrouplist): Use DEFAULT_CONFIG.
24617 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24618 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
24619 (DEFAULT_DEFCONFIG): New macro.
24620 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
24621 * nss/grp-lookup.c: Include config.h
24622 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
24623 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
24624 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
24625 * manual/nss.texi: Update default values section.
24626
24627 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
24628
24629 [BZ #21967]
24630 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
24631 New.
24632 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
24633 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
24634 Handle MathVec_Prefer_No_AVX512.
24635 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
24636 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
24637 is set.
24638
24639 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
24640
24641 * posix/sched_primax.c (__sched_get_priority_max): Add
24642 libc_hidden_def.
24643 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
24644 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
24645 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
24646 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
24647 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
24648 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
24649 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
24650 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
24651 Add aliases.
24652
24653 2017-09-11 Joseph Myers <joseph@codesourcery.com>
24654
24655 * sysdeps/generic/libm-alias-float.h: New file.
24656 * sysdeps/generic/math-type-macros-float.h: Include
24657 <libm-alias-float.h>.
24658 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
24659
24660 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
24661
24662 [BZ #22093]
24663 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
24664 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
24665 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
24666 (HWCAP_IMPORTANT): Likewise.
24667 (HWCAP_X86_64): New enum.
24668 (HWCAP_X86_AVX512_1): Updated.
24669 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
24670 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
24671 (modules-names): Add x86_64/tst-x86_64mod-1.
24672 (LDFLAGS-tst-x86_64mod-1.so): New.
24673 ($(objpfx)tst-x86_64-1): Likewise.
24674 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
24675 (tst-x86_64-1-clean): Likewise.
24676 * sysdeps/x86_64/tst-x86_64-1.c: New file.
24677 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
24678
24679 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
24680
24681 * po/sv.po: Update translations.
24682 * po/fr.po: Likewise.
24683
24684 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24685
24686 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
24687 seconds.
24688 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
24689 seconds.
24690 * elf/rtld-Rules: Fix $(error) use.
24691
24692 2017-09-09 Mike FABIAN <mfabian@redhat.com>
24693
24694 [BZ #14925]
24695 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
24696 * locale/iso-639.def: Change “Bengali” to “Bangla”.
24697 * localedata/locales/bn_BD: “Bengali” was still used in some
24698 comments. Change it to “Bangla”.
24699
24700 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
24701
24702 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
24703
24704 2017-09-08 Steve Ellcey <sellcey@cavium.com>
24705
24706 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
24707 thunderx2t99p1 to list of cpu names.
24708 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
24709 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
24710
24711 2017-09-08 Steve Ellcey <sellcey@cavium.com>
24712
24713 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
24714 Use strcmp instead of tunable_is_name.
24715
24716 2017-09-08 Joseph Myers <joseph@codesourcery.com>
24717
24718 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
24719 (F_GET_RW_HINT): New macro.
24720 [__USE_GNU] (F_SET_RW_HINT): Likewise.
24721 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
24722 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
24723 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
24724 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
24725 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
24726 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
24727 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
24728 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
24729
24730 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
24731 (F_ADD_SEALS): New macro.
24732 [__USE_GNU] (F_GET_SEALS): Likewise.
24733 [__USE_GNU] (F_SEAL_SEAL): Likewise.
24734 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
24735 [__USE_GNU] (F_SEAL_GROW): Likewise.
24736 [__USE_GNU] (F_SEAL_WRITE): Likewise.
24737
24738 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24739
24740 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
24741 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
24742 * posix/glob_internal.h (__glob_pattern_type):
24743 * posix/glob.c (glob):
24744 * posix/glob_pattern_p.c (__glob_pattern_p):
24745 Use them.
24746
24747 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
24748 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24749 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
24750 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
24751 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
24752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
24753 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
24754 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
24755 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
24756 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24757 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
24758 * sysdeps/wordsize-64/glob.c: Likewise.
24759 * sysdeps/wordsize-64/glob64.c: Likewise.
24760 * sysdeps/wordsize-64/globfree.c: Likewise.
24761 * sysdeps/wordsize-64/globfree64.c: Likewise.
24762 * sysdeps/unix/sysv/linux/glob.c: New file.
24763 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
24764 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
24765 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
24766 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
24767 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
24768 adds !GLOB_NO_OLD_VERSION as an extra condition.
24769 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
24770 using relative path instead of absolute one.
24771 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
24772 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24773 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24774 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
24775 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
24776 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
24777
24778 [BZ #1062]
24779 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
24780 (glob): Use the same scratch buffer for both getlogin_r and
24781 getpwnam_r. Don’t require preallocation of the login name. This
24782 simplifies storage allocation, and corrects the handling of
24783 long login names.
24784
24785 [BZ #1062]
24786 * posix/glob.c (glob): Port recent patches to platforms
24787 lacking getpwnam_r.
24788 (glob): Fix longstanding misuse of errno after getpwnam_r, which
24789 returns an error number rather than setting errno.
24790
24791 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
24792 instead of GCC extension.
24793 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
24794 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
24795 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
24796
24797 [BZ #866]
24798 [BZ #1062]
24799 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
24800 * posix/bug-glob1.c: Remove file.
24801 * posix/tst-glob_symlinks.c: New file.
24802 * posix/glob.c (__lstat64): New macro.
24803 (is_dir): New function.
24804 (glob, glob_in_dir): Match symlinks even if they are dangling.
24805 (link_stat, link_exists_p): Remove. All uses removed.
24806
24807 [BZ #1062]
24808 [BZ #19971]
24809 * posix/glob.c (struct readdir_result): Remove skip_entry member.
24810 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
24811 All uses removed.
24812
24813 [BZ #1062]
24814 CVE-2017-15671
24815 * posix/Makefile (routines): Add globfree, globfree64, and
24816 glob_pattern_p.
24817 * posix/flexmember.h: New file.
24818 * posix/glob_internal.h: Likewise.
24819 * posix/glob_pattern_p.c: Likewise.
24820 * posix/globfree.c: Likewise.
24821 * posix/globfree64.c: Likewise.
24822 * sysdeps/gnu/globfree64.c: Likewise.
24823 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
24824 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
24825 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
24826 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
24827 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
24828 * sysdeps/wordsize-64/globfree.c: Likewise.
24829 * sysdeps/wordsize-64/globfree64.c: Likewise.
24830 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
24831 [NDEBUG): Remove comments.
24832 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
24833 (dirent_type): New type. Use uint_fast8_t not
24834 uint8_t, as C99 does not require uint8_t.
24835 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
24836 (struct readdir_result): Use dirent_type. Do not define skip_entry
24837 unless it is needed; this saves a byte on platforms lacking d_ino.
24838 (readdir_result_type, readdir_result_skip_entry):
24839 New functions, replacing ...
24840 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
24841 these functions, which were removed. This makes the callers
24842 easier to read. All callers changed.
24843 (D_INO_TO_RESULT): Now empty if there is no d_ino.
24844 (size_add_wrapv, glob_use_alloca): New static functions.
24845 (glob, glob_in_dir): Check for size_t overflow in several places,
24846 and fix some size_t checks that were not quite right.
24847 Remove old code using SHELL since Bash no longer
24848 uses this.
24849 (glob, prefix_array): Separate MS code better.
24850 (glob_in_dir): Remove old Amiga and VMS code.
24851 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
24852 separate files.
24853 (glob_in_dir): Do not rely on undefined behavior in accessing
24854 struct members beyond their bounds. Use a flexible array member
24855 instead
24856 (link_stat): Rename from link_exists2_p and return -1/0 instead of
24857 0/1. Caller changed.
24858 (glob): Fix memory leaks.
24859 * posix/glob64 (globfree64): Move to separate file.
24860 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
24861 (globfree64): Remove hidden alias.
24862 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
24863 oldglob.
24864 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
24865 separate file.
24866 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
24867 define.
24868 Move compat code to separate file.
24869 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
24870 separate file.
24871
24872 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
24873
24874 * resolv/tst-resolv-qtypes.c (domain): Changed to
24875 "const char domain[] =".
24876
24877 2017-09-07 Joseph Myers <joseph@codesourcery.com>
24878
24879 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
24880 version to 3.1.6.
24881
24882 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
24883 (TCP_MD5SIG_EXT): Likewise.
24884 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
24885 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
24886 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
24887
24888 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
24889
24890 2017-09-07 Mike FABIAN <mfabian@redhat.com>
24891
24892 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
24893
24894 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
24895
24896 [BZ #22100]
24897 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
24898
24899 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
24900
24901 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
24902 before assuming that the file is empty. Avoid testing buffer content
24903 when nread == 0.
24904
24905 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24906
24907 [BZ #18858]
24908 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
24909 Remove define.
24910 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
24911 Likewise.
24912 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
24913 Likewise.
24914 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
24915 Likewise.
24916 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
24917 Likewise.
24918 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
24919 Likewise.
24920 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
24921 Likewise.
24922
24923 2017-09-06 Florian Weimer <fweimer@redhat.com>
24924
24925 * malloc/dynarray_emplace_enlarge.c
24926 (__libc_dynarray_emplace_enlarge): Add missing else.
24927
24928 2017-09-06 Florian Weimer <fweimer@redhat.com>
24929
24930 [BZ #22096]
24931 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
24932 case of failure to obtain the global conf object.
24933
24934 2017-09-06 Florian Weimer <fweimer@redhat.com>
24935
24936 [BZ #22095]
24937 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
24938 dynarray allocation failure.
24939
24940 2017-09-06 Florian Weimer <fweimer@redhat.com>
24941
24942 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
24943 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
24944 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
24945 New functions.
24946 (response): Call them. Add 'p', '6' flag processing.
24947 (test_reverse): New function.
24948 (test_get2_any): Call it.
24949 (test_no_inet6): Add 'p' test.
24950 (test_inet6): Likewise.
24951
24952 2017-09-06 Florian Weimer <fweimer@redhat.com>
24953
24954 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
24955 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
24956 the QNAME.
24957 (test_gai): Adjust query names. Add additional tests.
24958 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
24959 test_get2. Adjust query names. Add additional tests.
24960 (test_no_inet6): New function, extracted from threadfunc.
24961 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
24962 Add additional tests.
24963
24964 2017-09-06 Mike FABIAN <mfabian@redhat.com>
24965
24966 [BZ #22070]
24967 * localedata/unicode-gen/utf8_gen.py: Set the width for
24968 characters with Prepended_Concatenation_Mark property to 1
24969 * localedata/charmaps/UTF-8: Updated using the improved script.
24970
24971 2017-09-06 Mike FABIAN <mfabian@redhat.com>
24972
24973 [BZ #21750]
24974 * localedata/unicode-gen/utf8_gen.py: Improve the script to
24975 use the range notation for all ranges of neighbouring characters
24976 with the same width.
24977
24978 2017-09-05 Joseph Myers <joseph@codesourcery.com>
24979
24980 * sysdeps/generic/math-type-macros-double.h: Include
24981 <math-svid-compat.h>.
24982 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
24983 * sysdeps/generic/math-type-macros-float.h: Include
24984 <math-svid-compat.h>.
24985 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
24986 * sysdeps/generic/math-type-macros-ldouble.h: Include
24987 <math-svid-compat.h>.
24988 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
24989 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
24990 condition.
24991 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
24992 * math/w_acosf_compat.c: Likewise.
24993 * math/w_acosh_compat.c: Likewise.
24994 * math/w_acoshf_compat.c: Likewise.
24995 * math/w_acoshl_compat.c: Likewise.
24996 * math/w_acosl_compat.c: Likewise.
24997 * math/w_asin_compat.c: Likewise.
24998 * math/w_asinf_compat.c: Likewise.
24999 * math/w_asinl_compat.c: Likewise.
25000 * math/w_atan2_compat.c: Likewise.
25001 * math/w_atan2f_compat.c: Likewise.
25002 * math/w_atan2l_compat.c: Likewise.
25003 * math/w_atanh_compat.c: Likewise.
25004 * math/w_atanhf_compat.c: Likewise.
25005 * math/w_atanhl_compat.c: Likewise.
25006 * math/w_cosh_compat.c: Likewise.
25007 * math/w_coshf_compat.c: Likewise.
25008 * math/w_coshl_compat.c: Likewise.
25009 * math/w_exp10_compat.c: Likewise.
25010 * math/w_exp10f_compat.c: Likewise.
25011 * math/w_exp10l_compat.c: Likewise.
25012 * math/w_exp2_compat.c: Likewise.
25013 * math/w_exp2f_compat.c: Likewise.
25014 * math/w_exp2l_compat.c: Likewise.
25015 * math/w_fmod_compat.c: Likewise.
25016 * math/w_fmodf_compat.c: Likewise.
25017 * math/w_fmodl_compat.c: Likewise.
25018 * math/w_hypot_compat.c: Likewise.
25019 * math/w_hypotf_compat.c: Likewise.
25020 * math/w_hypotl_compat.c: Likewise.
25021 * math/w_j0_compat.c: Likewise.
25022 * math/w_j0f_compat.c: Likewise.
25023 * math/w_j0l_compat.c: Likewise.
25024 * math/w_j1_compat.c: Likewise.
25025 * math/w_j1f_compat.c: Likewise.
25026 * math/w_j1l_compat.c: Likewise.
25027 * math/w_jn_compat.c: Likewise.
25028 * math/w_jnf_compat.c: Likewise.
25029 * math/w_jnl_compat.c: Likewise.
25030 * math/w_lgamma_r_compat.c: Likewise.
25031 * math/w_lgammaf_r_compat.c: Likewise.
25032 * math/w_lgammal_r_compat.c: Likewise.
25033 * math/w_log10_compat.c: Likewise.
25034 * math/w_log10f_compat.c: Likewise.
25035 * math/w_log10l_compat.c: Likewise.
25036 * math/w_log2_compat.c: Likewise.
25037 * math/w_log2f_compat.c: Likewise.
25038 * math/w_log2l_compat.c: Likewise.
25039 * math/w_log_compat.c: Likewise.
25040 * math/w_logf_compat.c: Likewise.
25041 * math/w_logl_compat.c: Likewise.
25042 * math/w_pow_compat.c: Likewise.
25043 * math/w_powf_compat.c: Likewise.
25044 * math/w_powl_compat.c: Likewise.
25045 * math/w_remainder_compat.c: Likewise.
25046 * math/w_remainderf_compat.c: Likewise.
25047 * math/w_remainderl_compat.c: Likewise.
25048 * math/w_sinh_compat.c: Likewise.
25049 * math/w_sinhf_compat.c: Likewise.
25050 * math/w_sinhl_compat.c: Likewise.
25051 * math/w_sqrt_compat.c: Likewise.
25052 * math/w_sqrtf_compat.c: Likewise.
25053 * math/w_sqrtl_compat.c: Likewise.
25054 * math/w_tgamma_compat.c: Likewise.
25055 * math/w_tgammaf_compat.c: Likewise.
25056 * math/w_tgammal_compat.c: Likewise.
25057 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
25058 [LIBM_SVID_COMPAT].
25059 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
25060 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
25061 [LIBM_SVID_COMPAT].
25062 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
25063 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
25064 [LIBM_SVID_COMPAT].
25065 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
25066 * sysdeps/i386/fpu/w_sqrt.c: New file.
25067 * sysdeps/ia64/fpu/w_acos.c: Likewise.
25068 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
25069 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
25070 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
25071 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
25072 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
25073 * sysdeps/ia64/fpu/w_asin.c: Likewise.
25074 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
25075 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
25076 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
25077 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
25078 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
25079 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
25080 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
25081 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
25082 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
25083 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
25084 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
25085 * sysdeps/ia64/fpu/w_exp.c: Likewise.
25086 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
25087 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
25088 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
25089 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
25090 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
25091 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
25092 * sysdeps/ia64/fpu/w_expf.c: Likewise.
25093 * sysdeps/ia64/fpu/w_expl.c: Likewise.
25094 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
25095 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
25096 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
25097 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
25098 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
25099 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
25100 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
25101 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
25102 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
25103 * sysdeps/ia64/fpu/w_log.c: Likewise.
25104 * sysdeps/ia64/fpu/w_log10.c: Likewise.
25105 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
25106 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
25107 * sysdeps/ia64/fpu/w_log2.c: Likewise.
25108 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
25109 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
25110 * sysdeps/ia64/fpu/w_logf.c: Likewise.
25111 * sysdeps/ia64/fpu/w_logl.c: Likewise.
25112 * sysdeps/ia64/fpu/w_pow.c: Likewise.
25113 * sysdeps/ia64/fpu/w_powf.c: Likewise.
25114 * sysdeps/ia64/fpu/w_powl.c: Likewise.
25115 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
25116 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
25117 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
25118 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
25119 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
25120 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
25121 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
25122 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
25123 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
25124 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
25125 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
25126 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
25127 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
25128 [LIBM_SVID_COMPAT].
25129 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
25130 * sysdeps/ieee754/k_standard.c: Likewise.
25131 * sysdeps/ieee754/k_standardf.c: Likewise.
25132 * sysdeps/ieee754/k_standardl.c: Likewise.
25133 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
25134 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
25135 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
25136 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
25137 long_double_symbol call on [LIBM_SVID_COMPAT].
25138 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
25139 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
25140 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
25141 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
25142 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
25143 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
25144 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
25145 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
25146 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
25147 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
25148 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
25149 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
25150 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
25151 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
25152 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
25153 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
25154 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
25155 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
25156 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
25157 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
25158 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
25159 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
25160
25161 2017-09-05 Steve Ellcey <sellcey@cavium.com>
25162
25163 * include/shlib-compat.h (TEST_COMPAT): New Macro.
25164 * malloc/tst-mallocstate.c: Convert from test-skeleton
25165 to test-driver. Ifdef code using TEST_COMPAT macro.
25166 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
25167 * math/test-matherr.c: Likewise.
25168
25169 2017-09-05 Joseph Myers <joseph@codesourcery.com>
25170
25171 [BZ #22086]
25172 * debug/pcprofiledump.c (main): Use byte-swapped mask when
25173 comparing word with byte-swapped constant.
25174
25175 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
25176
25177 [BZ #20498]
25178 * locale/iso-639.def: add Miskito.
25179 * localedata/SUPPORTED: Add miq_NI/UTF-8.
25180 * localedata/locales/miq_NI: New file.
25181
25182 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
25183
25184 [BZ #18822]
25185 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
25186 (__mkdir): Likewise.
25187 * io/chmod.c (__chmod): Add libc_hidden_def.
25188 * io/mkdir.c (__mkdir): Likewise.
25189 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
25190 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
25191 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
25192 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
25193
25194 2017-09-04 Joseph Myers <joseph@codesourcery.com>
25195
25196 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
25197 version to 4.13.
25198
25199 [BZ #22082]
25200 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
25201 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
25202
25203 2017-09-04 Florian Weimer <fweimer@redhat.com>
25204
25205 * math/math.h: Issue warning if log is defined.
25206
25207 2017-09-04 Joseph Myers <joseph@codesourcery.com>
25208
25209 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
25210 kernel version to 4.13.
25211
25212 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25213
25214 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
25215 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
25216 parameter.
25217 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
25218 just <bits/types.h>.
25219 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
25220 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
25221 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
25222 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
25223 * misc/preadv2.c: Include <errno.h>.
25224 * misc/preadv64v2.c: Include <errno.h>.
25225 * misc/pwritev2.c: Include <errno.h>.
25226 * misc/pwritev64v2.c: Include <errno.h>.
25227 * sysdeps/posix/preadv2.c: Include <errno.h>.
25228 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
25229 Fix <unistd.h> inclusion.
25230 * sysdeps/posix/pwritev2.c: Include <errno.h>.
25231 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
25232 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
25233 __strtoul_internal): New functions.
25234 * sysdeps/posix/pause.c: Include <sigsetops.h>.
25235 * sysdeps/posix/system.c: Include <sigsetops.h>.
25236 * sysdeps/mach/hurd/i386/Makefile
25237 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
25238 [$(subdir) = csu] (sysdep-only-routines): Likewise.
25239 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
25240 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
25241 __feraiseexcept_renamed to feraiseexcept instead of
25242 __GI_feraiseexcept.
25243 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
25244 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
25245 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
25246 RWF_NOWAIT): Define to 0 if undefined already.
25247 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
25248 boils down to 0.
25249 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
25250 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
25251
25252 2017-09-01 Joseph Myers <joseph@codesourcery.com>
25253
25254 * manual/math.texi (pow10): Do not document.
25255 (pow10f): Likewise.
25256 (pow10l): Likewise.
25257 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
25258 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
25259 * math/libm-test-exp10.inc (pow10_test): Remove.
25260 (do_test): Do not call pow10.
25261 * math/w_exp10_compat.c (pow10): Make into compat symbol.
25262 [NO_LONG_DOUBLE] (pow10l): Likewise.
25263 * math/w_exp10f_compat.c (pow10f): Likewise.
25264 * math/w_exp10l_compat.c (pow10l): Likewise.
25265 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
25266 (pow10): Make into compat symbol.
25267 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
25268 (pow10f): Make into compat symbol.
25269 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
25270 (pow10l): Make into compat symbol.
25271 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
25272 pow10.
25273 (CFLAGS-nldbl-pow10.c): Remove variable..
25274 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
25275 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
25276 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
25277 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
25278 Undefine and redefine.
25279 (pow10l): Make into compat symbol.
25280 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
25281 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
25282 * sysdeps/arm/libm-test-ulps: Likewise.
25283 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
25284 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25285 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25286 * sysdeps/microblaze/libm-test-ulps: Likewise.
25287 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25288 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25289 * sysdeps/nios2/libm-test-ulps: Likewise.
25290 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25291 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
25292 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25293 * sysdeps/sh/libm-test-ulps: Likewise.
25294 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25295 * sysdeps/tile/libm-test-ulps: Likewise.
25296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25297
25298 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
25299
25300 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
25301
25302 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
25303
25304 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
25305 "../ChangeLog.old/ChangeLog.8".
25306 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
25307 "../ChangeLog.old/ChangeLog.14".
25308
25309 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
25310
25311 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
25312 Threads Library.
25313
25314 2017-09-01 Joseph Myers <joseph@codesourcery.com>
25315
25316 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
25317
25318 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
25319
25320 * csu/version.c (banner): Remove "by Roland McGrath et al.".
25321 * nptl/Banner: Remove "by Ulrich Drepper et al.".
25322
25323 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
25324
25325 * stdlib/tst-atexit-common.c (do_test): Test support for at least
25326 32 atexit handlers.
25327
25328 2017-09-01 Zack Weinberg <zackw@panix.com>
25329
25330 * math/math.h (HUGE_VAL): Improve commentary.
25331
25332 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25333 Andreas Schwab <schwab@suse.de>
25334
25335 [BZ #21530]
25336 * include/stdio.h (__gen_tempfd): New function.
25337 * stdio-common/Makefile (routines): Add gentempfd.
25338 * stdio-common/gentempfd.c: New file.
25339 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
25340 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
25341 unnamed file first.
25342
25343 2017-09-01 Florian Weimer <fweimer@redhat.com>
25344
25345 [BZ #21915]
25346 [BZ #21922]
25347 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
25348 result to determine success or failure, not the errno value.
25349 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
25350 (tst-nss-files-hosts-erange): Link with -ldl.
25351 * nss/tst-nss-files-hosts-erange.c: New file.
25352 * nss/tst-resolv-basic.c (response): Handle nodata.example.
25353 (do_test): Add NO_DATA tests.
25354 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
25355 (do_test): Call it.
25356
25357 2017-09-01 Florian Weimer <fweimer@redhat.com>
25358
25359 [BZ #21922]
25360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
25361 coming from gethostbyname2_r.
25362
25363 2017-09-01 Florian Weimer <fweimer@redhat.com>
25364
25365 * support/namespace.h (struct support_chroot_configuration): Add
25366 hosts, host_conf.
25367 (struct support_chroot): Add path_hosts, path_host_conf.
25368 * support/support_chroot.c (write_file): New function.
25369 (support_chroot_create): Call it to process /etc/resolv.conf,
25370 /etc/hosts, /etc/host.conf.
25371 (support_chroot_free): Update.
25372
25373 2017-09-01 Florian Weimer <fweimer@redhat.com>
25374
25375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
25376 status indicates it is set.
25377
25378 2017-09-01 Florian Weimer <fweimer@redhat.com>
25379
25380 [BZ #20532]
25381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
25382 function lookup failures more reliable.
25383
25384 2017-09-01 Florian Weimer <fweimer@redhat.com>
25385
25386 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
25387 (getcanonname): Likewise.
25388 (gaih_inet): Likewise.
25389
25390 2017-09-01 Florian Weimer <fweimer@redhat.com>
25391
25392 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
25393 (getcanonname): Likewise.
25394 (gaih_inet): Likewise.
25395
25396 2017-08-31 Steve Ellcey <sellcey@cavium.com>
25397 Richard Henderson <rth@twiddle.net>
25398
25399 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
25400 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
25401 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
25402 (IREG_SIZE, OREG_SIZE): New macros.
25403 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
25404 (IREG_SIZE, OREG_SIZE): New macros.
25405 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
25406 (IREG_SIZE): New macro.
25407 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
25408 (IREG_SIZE): New macro.
25409 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
25410 New includes.
25411 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
25412 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
25413 (__CONCATX): Handle exceptions correctly on large values that may
25414 set FE_INVALID.
25415 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
25416 Initialize if not already set.
25417 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
25418
25419 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25420
25421 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
25422 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
25423 Likewise.
25424 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
25425 Likewise.
25426 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
25427 Likewise.
25428 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
25429 Likewise.
25430 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
25431 Likewise.
25432 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
25433 Likewise.
25434 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
25435 Likewise.
25436 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
25437 (NO_CANCELLATION): Likewise.
25438 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
25439 Likewise.
25440 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
25441 Likewise.
25442 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
25443 Likewise.
25444 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
25445 (NO_CANCELLATION): Likewise.
25446 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
25447 (NO_CANCELLATION): Likewise.
25448 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
25449 Likewise
25450 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
25451 Likewise.
25452 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
25453 Likewise.
25454 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
25455 Likewise.
25456 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
25457 hidden prototype.
25458 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
25459 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
25460
25461 2017-08-31 Steve Ellcey <sellcey@cavium.com>
25462
25463 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
25464 in resolver call.
25465
25466 2017-08-31 Florian Weimer <fweimer@redhat.com>
25467
25468 * include/libc-symbols.h (internal_function): Remove.
25469
25470 2017-08-31 Florian Weimer <fweimer@redhat.com>
25471
25472 * stdlib/fmtmsg.c (internal_addseverity): Remove
25473 internal_function.
25474
25475 2017-08-31 Florian Weimer <fweimer@redhat.com>
25476
25477 * stdio-common/printf_fp.c (group_number): Remove
25478 internal_function.
25479 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
25480
25481 2017-08-31 Florian Weimer <fweimer@redhat.com>
25482
25483 * posix/fnmatch.c (internal_function): Remove definition.
25484 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
25485 * posix/regcomp.c (peek_token, init_word_char)
25486 (duplicate_node_closure, fetch_token, peek_token)
25487 (peek_token_bracket, build_range_exp, build_collating_symbol):
25488 Likewise.
25489 * posix/regex_internal.c (re_string_construct_common)
25490 (create_ci_newstate, create_cd_newstate, re_string_allocate)
25491 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
25492 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
25493 (re_string_translate_buffer, re_string_reconstruct)
25494 (re_string_peek_byte_case, re_string_fetch_byte_case)
25495 (re_string_destruct, re_string_context_at, re_node_set_alloc)
25496 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
25497 (re_node_set_add_intersect, re_node_set_init_union)
25498 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
25499 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
25500 (re_dfa_add_node, calc_state_hash, re_acquire_state)
25501 (re_acquire_state_context): Likewise.
25502 * posix/regex_internal.h (internal_function): Remove definition.
25503 (re_string_realloc_buffers, build_wcs_buffer)
25504 (build_wcs_upper_buffer, build_upper_buffer)
25505 (re_string_translate_buffer, re_string_context_at)
25506 (re_string_char_size_at, re_string_wchar_at)
25507 (re_string_elem_size_at): Likewise.
25508 * posix/regexec.c (match_ctx_init, match_ctx_clean)
25509 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
25510 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
25511 (re_search_internal, re_search_2_stub, re_search_stub)
25512 (re_copy_regs, prune_impossible_nodes, check_matching)
25513 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
25514 (free_fail_stack_return, sift_states_iter_mb)
25515 (sift_states_backward, build_sifted_states)
25516 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
25517 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
25518 (check_subexp_limits, sift_states_bkref, merge_state_array)
25519 (find_recover_state, transit_state, merge_state_with_log)
25520 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
25521 (transit_state_mb, transit_state_bkref, get_subexp)
25522 (get_subexp_sub, find_subexp_node, check_arrival)
25523 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
25524 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
25525 (check_node_accept_bytes, find_collation_sequence_value)
25526 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
25527 (acquire_init_state_context, check_halt_node_context)
25528 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
25529 (sub_epsilon_src_nodes): Likewise.
25530 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
25531 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
25532 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
25533 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
25534 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
25535 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
25536 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
25537 * sysdeps/posix/ttyname.c (getttyname): Likewise.
25538 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
25539 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
25540 (PREADV): Likewise.
25541 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
25542 (PREADV): Likewise.
25543 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
25544 (PWRITEV): Likewise.
25545 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
25546 (PWRITEV): Likewise.
25547 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
25548 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
25549
25550 2017-08-31 Florian Weimer <fweimer@redhat.com>
25551
25552 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
25553 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
25554 Remove internal_function.
25555 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
25556 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
25557 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
25558 (__deallocate_stack, __libc_pthread_init)
25559 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
25560 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
25561 (__libc_disable_asynccancel, __librt_disable_asynccancel):
25562 Likewise.
25563 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
25564 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
25565 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
25566 Likewise.
25567 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
25568 (__pthread_mutex_unlock_usercnt): Likewise.
25569
25570 2017-08-31 Florian Weimer <fweimer@redhat.com>
25571
25572 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
25573 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
25574 (fts_safe_changedir): Remove internal_function.
25575 * io/ftw.c (internal_function): Remove definition.
25576 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
25577
25578 2017-08-31 Florian Weimer <fweimer@redhat.com>
25579
25580 * inet/deadline.c (__deadline_current_time)
25581 (__deadline_from_timeval, __deadline_to_ms): Remove
25582 internal_function.
25583 * inet/getnameinfo.c (nrl_domainname): Likewise.
25584 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
25585 * inet/inet6_option.c (add_pad): Likewise.
25586 * inet/net-internal.h (__deadline_current_time)
25587 (__deadline_from_timeval, __deadline_to_ms): Likewise.
25588 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
25589 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
25590 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
25591
25592 2017-08-31 Joseph Myers <joseph@codesourcery.com>
25593
25594 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
25595 include <bits/nan.h>.
25596 * math/Makefile (headers): Remove bits/nan.h.
25597 * bits/nan.h: Remove.
25598 * sysdeps/ieee754/bits/nan.h: Likewise.
25599 * sysdeps/mips/bits/nan.h: Likewise.
25600
25601 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
25602 not include <bits/inf.h>.
25603 * math/Makefile (headers): Remove bits/inf.h.
25604 * bits/inf.h: Remove.
25605 * sysdeps/ieee754/bits/inf.h: Likewise.
25606
25607 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
25608 bits/huge_vall.h or bits/huge_val_flt128.h.
25609 (HUGE_VAL): Define directly here.
25610 [__USE_ISOC99] (HUGE_VALF): Likewise.
25611 [__USE_ISOC99] (HUGE_VALL): Likewise.
25612 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25613 (HUGE_VAL_F128): Likewise.
25614 * math/Makefile (headers): Remove bits/huge_val.h,
25615 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
25616 * bits/huge_val.h: Remove.
25617 * bits/huge_val_flt128.h: Likewise.
25618 * bits/huge_valf.h: Likewise.
25619 * bits/huge_vall.h: Likewise.
25620 * sysdeps/ia64/bits/huge_vall.h: Likewise.
25621 * sysdeps/ieee754/bits/huge_val.h: Likewise.
25622 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
25623 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
25624 * sysdeps/sh/bits/huge_val.h: Likewise.
25625 * sysdeps/sparc/bits/huge_vall.h: Likewise.
25626 * sysdeps/x86/bits/huge_vall.h: Likewise.
25627
25628 2017-08-31 Florian Weimer <fweimer@redhat.com>
25629
25630 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
25631 internal_function.
25632 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
25633 Likewise.
25634 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
25635 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25636 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
25637 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
25638 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25639 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25640 * elf/dl-libc.c (dlerror_run): Likewise.
25641 * elf/dl-load.c (add_name_to_object, decompose_rpath)
25642 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
25643 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
25644 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
25645 Likewise.
25646 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
25647 (_dl_higher_prime_number, _dl_strtoul): Likewise.
25648 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
25649 * elf/dl-profile.c (_dl_start_profile): Likewise.
25650 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
25651 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
25652 Likewise.
25653 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
25654 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
25655 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
25656 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
25657 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
25658 (_dl_allocate_tls_storage): Likewise.
25659 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
25660 (_dl_check_all_versions): Likewise.
25661 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
25662 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
25663 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
25664 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
25665 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
25666 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
25667 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
25668 internal_function from __dl_start.
25669 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
25670 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
25671 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
25672 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
25673 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
25674 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
25675 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
25676 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
25677 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
25678 (_dl_next_ld_env_entry, _dl_important_hwcaps)
25679 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
25680 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
25681 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
25682 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
25683 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
25684 Likewise.
25685 (struct rtld_global_ro): Remove internal_function from the
25686 _dl_lookup_symbol_x member.
25687 (_dl_symbol_value): Remove. No longer defined anywhere.
25688 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
25689 internal_function.
25690 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
25691 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
25692 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
25693 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
25694 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
25695 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
25696 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
25697 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
25698 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
25699 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
25700 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
25701 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
25702
25703 2017-08-31 Florian Weimer <fweimer@redhat.com>
25704
25705 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
25706 Remove internal_function.
25707 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
25708 Likewise.
25709 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
25710 Likewise.
25711
25712 2017-08-31 Florian Weimer <fweimer@redhat.com>
25713
25714 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
25715 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
25716 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
25717
25718 2017-08-31 Florian Weimer <fweimer@redhat.com>
25719
25720 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
25721 (__gai_enqueue_request): Remove internal_function.
25722 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
25723 (__gai_remove_request, __gai_notify, __gai_notify_only)
25724 (__gai_sigqueue): Likewise.
25725 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
25726 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
25727 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
25728 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25729 Likewise.
25730
25731 2017-08-31 Florian Weimer <fweimer@redhat.com>
25732
25733 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
25734 * include/dirent.h (__opendirat, __getdents, __getdents64)
25735 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
25736 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
25737 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
25738 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25739 Likewise.
25740 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
25741
25742 2017-08-31 Florian Weimer <fweimer@redhat.com>
25743
25744 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
25745 internal_function.
25746 (GETCWD_RETURN_TYPE): Likewise.
25747
25748 2017-08-31 Florian Weimer <fweimer@redhat.com>
25749
25750 * include/time.h (__tz_compute, __strptime_internal): Remove
25751 internal_function.
25752 * time/strptime_l.c (__strptime_internal): Likewise.
25753 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
25754
25755 2017-08-31 Florian Weimer <fweimer@redhat.com>
25756
25757 * iconv/gconv.c (__gconv): Remove internal_function.
25758 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
25759 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
25760 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
25761 (__gconv_release_cache): Likewise.
25762 * iconv/gconv_close.c (__gconv_close): Likewise.
25763 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
25764 (read_conf_file, __gconv_get_path): Likewise.
25765 * iconv/gconv_db.c (derivation_lookup, add_derivation)
25766 (__gconv_release_step, gen_steps, increment_counter)
25767 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
25768 (__gconv_close_transform, free_modules_db): Likewise.
25769 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
25770 Likewise.
25771 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
25772 (__gconv_find_transform, __gconv_lookup_cache)
25773 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
25774 (__gconv_close_transform, __gconv_release_cache)
25775 (__gconv_loaded_object, __gconv_release_shlib)
25776 (__gconv_compare_alias): Likewise.
25777 * iconv/gconv_open.c (__gconv_open): Likewise.
25778 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
25779 * iconv/iconvconfig.c (add_module): Likewise.
25780 * intl/dcigettext.c (plural_lookup, guess_category_value)
25781 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
25782 * intl/eval-plural.h (plural_eval): Likewise.
25783 * intl/finddomain.c (_nl_find_domain): Likewise.
25784 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
25785 (_nl_load_domain, _nl_find_msg): Likewise.
25786 (internal_function): Remove definition.
25787 * intl/loadinfo.h (internal_function): Likewise.
25788 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
25789 internal_function.
25790 * intl/localealias.c (internal_function): Remove definition.
25791 (read_alias_file): Remove internal_function.
25792 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
25793 * intl/plural-exp.h (internal_function): Remove definition.
25794 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
25795 internal_function.
25796 * intl/plural.c: Regenerate.
25797 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
25798 * locale/coll-lookup.c (__collidx_table_lookup)
25799 (__collseq_table_lookup): Likewise.
25800 * locale/coll-lookup.h (__collidx_table_lookup)
25801 (__collseq_table_lookup): Likewise.
25802 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
25803 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25804 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
25805 (_nl_unload_locale): Likewise.
25806 * locale/localeinfo.h (struct __locale_data): Remove
25807 internal_function from cleanup member.
25808 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
25809 (_nl_remove_locale, _nl_load_locale_from_archive)
25810 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
25811 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
25812 (_nl_cleanup_time): Remove internal_function.
25813 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
25814 (_nl_parse_alt_digit): Likewise.
25815 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
25816 (_nl_select_era_entry): Likewise.
25817 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
25818 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
25819 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
25820 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
25821 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
25822
25823 2017-08-31 Florian Weimer <fweimer@redhat.com>
25824
25825 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
25826 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25827 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
25828 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
25829 Likewise.
25830 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
25831 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
25832 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
25833 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
25834 Likewise.
25835 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
25836
25837 2017-08-31 Florian Weimer <fweimer@redhat.com>
25838
25839 * misc/getttyent.c (skip, value): Remove internal_function.
25840 * misc/syslog.c (openlog_internal): Likewise.
25841 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
25842
25843 2017-08-31 Florian Weimer <fweimer@redhat.com>
25844
25845 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
25846 (__nss_rewrite_field): Remove internal_function.
25847 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25848 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
25849 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25850 * nss/nsswitch.c (nss_parse_file, nss_getline)
25851 (nss_parse_service_list, nss_new_service): Likewise.
25852 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
25853 * nss/valid_field.c (__nss_valid_field): Likewise.
25854 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
25855
25856 2017-08-31 Florian Weimer <fweimer@redhat.com>
25857
25858 * malloc/arena.c (__malloc_fork_lock_parent)
25859 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
25860 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
25861 internal_function from defintions.
25862 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
25863 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
25864 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
25865 internal_function from declarations.
25866 * malloc/malloc.c (internal_function): Do not define.
25867 (mem2mem_check): Remove internal_function from declaration.
25868 (munmap_chunk, mremap_chunk): Remove internal_function.
25869 * malloc/mtrace.c (tr_where): Likewise.
25870
25871 2017-08-31 Florian Weimer <fweimer@redhat.com>
25872
25873 * include/rpc/pmap_clnt.h (__get_socket): Remove
25874 internal_function.
25875 * sunrpc/auth_des.c (synchronize): Likewise.
25876 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
25877 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
25878 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
25879 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
25880 (key_call): Likewise.
25881 * sunrpc/pm_getport.c (__get_socket): Likewise.
25882 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
25883 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
25884 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
25885 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
25886 (invalidate): Likewise.
25887 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
25888 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
25889 (set_input_fragment, get_input_bytes): Likewise.
25890
25891 2017-08-31 Florian Weimer <fweimer@redhat.com>
25892
25893 * malloc/malloc.c (_int_free): Remove locked variable and related
25894 asserts.
25895
25896 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
25897
25898 [BZ #22051]
25899 * Makerules (build-module-helper-objlist): Filter out
25900 $(elf-objpfx)sofini.os.
25901 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
25902 needed.
25903
25904 2017-08-31 Florian Weimer <fweimer@redhat.com>
25905
25906 * libio/fcloseall.c: Assume weak_alias is defined.
25907 * libio/feof.c: Likewise.
25908 * libio/fileno.c: Likewise.
25909 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
25910 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
25911 definitions.
25912 (_IO_file_open): Call __open directly.
25913 (_IO_new_file_sync): Assume ESPIPE is defined.
25914 (_IO_file_seekoff_maybe_mmap): Call __read directly.
25915 (_IO_new_file_write): Call __write directly.
25916 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
25917 * libio/ftello64.c (__ftello64): Assume EIO is defined.
25918 * libio/genops.c: Assume _LIBC is defined.
25919 (save_for_backup): Remove internal_function.
25920 * libio/getc.c: Assume weak_alias is defined.
25921 * libio/getwc.c: Likewise.
25922 * libio/iofclose.c: Assume _LIBC is defined.
25923 * libio/iofdopen.c: Likewise.
25924 (_IO_fcntl): Remove macro definition.
25925 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
25926 Call __fcntl directly.
25927 * libio/iofflush.c: Assume weak_alias is defined.
25928 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
25929 defined.
25930 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
25931 * libio/iofgets.c: Likewise.
25932 * libio/iofopen.c: Assume _LIBC is defined.
25933 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
25934 * libio/iofputs.c: Assume weak_alias is defined.
25935 * libio/iofread.c: Likewise.
25936 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
25937 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
25938 * libio/ioftell.c: Assume weak_alias is defined.
25939 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
25940 * libio/iofwide.c: Assume _LIBC is defined.
25941 (_IO_fwide): Drop SHARED conditional because it is implied by
25942 SHLIB_COMPAT.
25943 * libio/iofwrite.c: Assume weak_alias is defined.
25944 * libio/iogetdelim.c: Likewise.
25945 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
25946 * libio/iogetwline.c (wmemcpy): Remove macro definition.
25947 (_IO_getwline): Call __wmemcpy directly.
25948 * libio/iopopen.c: Assume _LIBC is defined.
25949 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
25950 (_IO_close): Remove macro definitions.
25951 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
25952 _exit directly.
25953 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
25954 directly.
25955 * libio/ioputs.c: Assume weak_alias is defined.
25956 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
25957 * libio/iosetbuffer.c: Assume weak_alias is defined.
25958 * libio/iosetvbuf.c: Likewise.
25959 * libio/ioungetc.c: Likewise.
25960 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
25961 libc_hidden_def, libc_hidden_weak, NULL are defined.
25962 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
25963 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
25964 defined.
25965 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
25966 definitions.
25967 (_IO_old_file_init_internal): Drop SHARED conditional because it
25968 is implied by SHLIB_COMPAT.
25969 (_IO_old_file_fopen): Call __open directly.
25970 (_IO_old_file_sync): Assume ESPIPE is defined.
25971 (_IO_old_file_write): Call __write directly.
25972 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
25973 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
25974 Call __fcntl directly.
25975 * libio/oldiofgetpos.c: Assume weak_alias is defined.
25976 (_IO_old_fgetpos): Assume EIO is defined.
25977 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
25978 (_IO_old_fgetpos64): Assume EIO is defined.
25979 * libio/oldiofsetpos.c: Assume weak_alias is defined.
25980 (_IO_old_fsetpos): Assume EIO is defined.
25981 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
25982 (_IO_old_fsetpos64): Assume EIO is defined.
25983 * libio/oldiopopen.c: Assume _LIBC is defined.
25984 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
25985 (_IO_close): Remove macro definitions.
25986 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
25987 directly.
25988 (_IO_old_proc_close): Call __close, __waitpid directly.
25989 * libio/put.c: Assume weak_alias is defined.
25990 * libio/stdfiles.c: Assume _LIBC is defined.
25991 * libio/stdio.c: Likewise.
25992 * libio/wfileops.c: Likewise.
25993 (_IO_wfile_sync): Assume ESPIPE is defined.
25994 * libio/wgenops.c: Assume _LIBC is defined.
25995 (save_for_wbackup): Remove internal_function.
25996
25997 2017-08-31 Florian Weimer <fweimer@redhat.com>
25998
25999 * malloc/malloc.c (top_check): Change return type to void. Remove
26000 internal_function.
26001 * malloc/hooks.c (top_check): Likewise.
26002 (malloc_check, realloc_check, memalign_check): Adjust.
26003
26004 2017-08-30 Joseph Myers <joseph@codesourcery.com>
26005
26006 [BZ #21457]
26007 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
26008 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
26009 sigcontext and namespace requirements.
26010 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
26011 * sysdeps/m68k/sys/ucontext.h: Likewise.
26012 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
26013 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
26014 <bits/sigcontext.h>.
26015 (__ctx): Define earlier.
26016 (mcontext_t): Define structure contents rather than using struct
26017 sigcontext.
26018 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
26019 __glibc_reserved1 instead of __reserved.
26020 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
26021 <bits/sigcontext.h>.
26022 (__ctx): Define earlier.
26023 (mcontext_t): Define structure contents rather than using struct
26024 sigcontext.
26025 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
26026 mcontext_t instead of struct sigcontext.
26027 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
26028 <bits/sigcontext.h>.
26029 (__ctx): Define earlier.
26030 (mcontext_t): Define structure contents rather than using struct
26031 sigcontext.
26032 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
26033 <bits/sigcontext.h>.
26034 (__ctx): Define earlier.
26035 (mcontext_t): Define structure contents rather than using struct
26036 sigcontext.
26037 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
26038 mcontext_t instead of struct sigcontext.
26039 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
26040 mcontext_t instead of struct sigcontext.
26041 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
26042 <bits/sigcontext.h>.
26043 (__ctx): New macro.
26044 (struct __ia64_fpreg_mcontext): New type.
26045 (mcontext_t): Define structure contents rather than using struct
26046 sigcontext.
26047 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
26048 (uc_sigmask): Define using __ctx.
26049 (uc_stack): Likewise.
26050 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
26051 <bits/sigcontext.h>.
26052 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26053 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
26054 <bits/sigcontext.h>.
26055 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
26056 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
26057 <bits/sigcontext.h>.
26058 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
26059 <bits/sigcontext.h>.
26060 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
26061 <bits/sigcontext.h>.
26062 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
26063 <bits/sigcontext.h>.
26064 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
26065 <bits/sigcontext.h>.
26066 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
26067 <bits/sigcontext.h>.
26068 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
26069 <bits/sigcontext.h>.
26070 (__ctx): Define earlier.
26071 (mcontext_t): Define structure contents rather than using struct
26072 sigcontext.
26073 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
26074 <bits/sigcontext.h>. Include <bits/types.h>.
26075 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
26076 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
26077 (test-xfail-XPG42/ucontext.h/conform): Likewise.
26078 (test-xfail-UNIX98/signal.h/conform): Likewise.
26079 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
26080 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
26081 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
26082 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
26083 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
26084 (test-xfail-POSIX2008/signal.h/conform): Likewise.
26085 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
26086 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
26087 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
26088
26089 2017-08-30 Florian Weimer <fweimer@redhat.com>
26090
26091 * malloc/dynarray_emplace_enlarge.c
26092 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
26093 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
26094 * malloc/tst-dynarray.c (test_long_overflow): New function.
26095 (do_test): Call it.
26096
26097 2017-08-30 Florian Weimer <fweimer@redhat.com>
26098
26099 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
26100 (set_arena_corrupt): Remove definitions.
26101 (mtrim): Do not check for corrupt arena.
26102 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
26103 Likewise.
26104
26105 2017-08-30 Florian Weimer <fweimer@redhat.com>
26106
26107 [BZ #21754]
26108 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
26109 check_action.
26110 (ptmalloc_init): Do not set or use check_action.
26111 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
26112 call to malloc_printerr. Remove return statement.
26113 (free_check): Likewise. Remove arena unlock.
26114 (top_check): Update comment. Adjust call to malloc_printerr.
26115 Remove heap repair code.
26116 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
26117 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
26118 (sysmalloc): Adjust call to malloc_printerr.
26119 (munmap_chunk, __libc_realloc): Likewise. Remove return
26120 statement.
26121 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
26122 Remove errout label and corresponding gotos.
26123 (_int_free): Likewise. Remove arena unlock.
26124 (do_set_mallopt_check): Do not set check_action.
26125 (malloc_printerr): Adjust parameter list. Do not mark arena as
26126 corrupt.
26127 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
26128 comment.
26129 * manual/probes.texi (Memory Allocation Probes): Remove
26130 memory_mallopt_check_action.
26131
26132 2017-08-30 Steve Ellcey <sellcey@cavium.com>
26133
26134 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
26135 Use pointer to uint64_t instead of long int for sp.
26136
26137 2017-08-30 Florian Weimer <fweimer@redhat.com>
26138
26139 [BZ #21754]
26140 * malloc/malloc.c (malloc_printerr): Always terminate the process,
26141 without printing a backtrace. Do not leak any information in the
26142 error message.
26143 * manual/memory.texi (Heap Consistency Checking): Update.
26144 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
26145
26146 2017-08-30 Florian Weimer <fweimer@redhat.com>
26147
26148 Do not scale NPTL tests with available number of CPUs.
26149 * nptl/tst-cond16.c (count): Set to constant value of 8.
26150 * nptl/tst-cond18.c (count): Likewise.
26151
26152 2017-08-29 Joseph Myers <joseph@codesourcery.com>
26153
26154 [BZ #22035]
26155 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
26156 Define to take a second argument that is a macro that
26157 concatentates a suffix, not the suffix itself.
26158 (__CONCAT_d): New macro.
26159 (__CONCAT_f): Likewise.
26160 (__CONCAT_l): Likewise.
26161
26162 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
26163
26164 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
26165 by child.
26166
26167 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26168 Aurelien Jarno <aurelien@aurel32.net>
26169 Maciej W. Rozycki <macro@imgtec.com>
26170
26171 [BZ #21956]
26172 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
26173 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
26174 `mips16-syscall6' and `mips16-syscall7'.
26175 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
26176 (CFLAGS-mips16-syscall7.c): Remove.
26177 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
26178 Remove `__mips16_syscall5', `__mips16_syscall6' and
26179 `__mips16_syscall7'.
26180 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
26181 (__mips16_syscall0): Rename `__mips16_syscall_return' to
26182 `__mips_syscall_return'.
26183 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
26184 (__mips16_syscall1): Likewise.
26185 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
26186 (__mips16_syscall2): Likewise.
26187 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
26188 (__mips16_syscall3): Likewise.
26189 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
26190 (__mips16_syscall4): Likewise.
26191 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
26192 Remove.
26193 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
26194 Remove.
26195 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
26196 Remove.
26197 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
26198 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
26199 `__mips16_syscall5'. Remove prototype.
26200 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
26201 `__mips16_syscall6'. Remove prototype.
26202 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
26203 `__mips16_syscall7'. Remove prototype.
26204 (__nomips16, __mips16_syscall_return): Move to...
26205 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
26206 (__nomips16, __mips_syscall_return): ... here.
26207 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
26208 `__mips16_syscall_return' to `__mips_syscall_return'.
26209 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
26210 `internal_syscall##nr'.
26211 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
26212 `internal_syscall##nr'.
26213 (FORCE_FRAME_POINTER): Remove.
26214 (__mips_syscall5): New prototype.
26215 (internal_syscall5): Rewrite to call `__mips_syscall5'.
26216 (__mips_syscall6): New prototype.
26217 (internal_syscall6): Rewrite to call `__mips_syscall6'.
26218 (__mips_syscall7): New prototype.
26219 (internal_syscall7): Rewrite to call `__mips_syscall7'.
26220 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
26221 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
26222 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
26223 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
26224 (sysdep_routines): Add libc-do-syscall.
26225 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
26226 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
26227
26228 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26229
26230 [BZ #21672]
26231 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
26232 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
26233 (advise_stack_range): New function.
26234 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
26235 stack non required to advise_stack_range at allocatestack.c
26236
26237 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26238
26239 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
26240
26241 2017-08-29 Florian Weimer <fweimer@redhat.com>
26242
26243 [BZ #22026]
26244 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
26245 __end_fct. Mangle __end_fct after setting it to NULL.
26246 * iconv/Makefile (tests): Add tst-gconv-init-failure.
26247 (modules-names, modules-names-tests): Add
26248 tst-gconv-init-failure-mod.
26249 (gconv-modules): New target.
26250 (tst-gconv-init-failure-mod.so): Link against libsupport.
26251 (tst-gconv-init-failure): Depend on gconv-modules,
26252 tst-gconv-init-failure-mod.so.
26253 * iconv/tst-gconv-init-failure-mod.c: New file.
26254 * iconv/tst-gconv-init-failure.c: Likewise.
26255 * iconv/test-gconv-modules: Likewise.
26256
26257 2017-08-29 Florian Weimer <fweimer@redhat.com>
26258
26259 [BZ #22025]
26260 * iconv/gconv_db.c (free_derivation): Remove redundant
26261 parentheses.
26262 (gen_steps): Unconditionally mangle __btowc_fct after
26263 initialization.
26264 (increment_counter): Likewise. Do not call init_fct for internal
26265 modules.
26266
26267 2017-08-29 Joseph Myers <joseph@codesourcery.com>
26268
26269 [BZ #22028]
26270 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
26271 (_MSUF_): Remove macro.
26272 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
26273 Likewise.
26274 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
26275 (__REDIRFROM_X): New macro.
26276 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
26277 Likewise.
26278 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
26279 (__REDIRTO_X): Likewise.
26280 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
26281 arguments.
26282 (__MATH_REDIRCALL_2): Likewise.
26283 (__MATH_REDIRCALL_INTERNAL): Likewise.
26284 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
26285 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
26286 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
26287 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
26288 * math/test-finite-macros.c: New file.
26289 * math/Makefile (tests): Add test-finite-macros.
26290 (CFLAGS-test-finite-macros.c): New variable.
26291
26292 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
26293 Jeff Law <law@redhat.com>
26294
26295 [BZ #22025]
26296 Mangle NULL pointers in iconv/gconv.
26297 * iconv/gconv_cache.c (find_module): Demangle init_fct before
26298 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
26299 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
26300 is non-NULL before demangling the end_fct. Check for NULL
26301 end_fct after demangling.
26302 (__gconv_release_step): Demangle the end_fct before checking
26303 it for NULL. Remove assert on __shlibc_handle != NULL.
26304 (gen_steps): Don't check btowc_fct for NULL before mangling.
26305 Demangle init_fct before checking for NULL.
26306 (increment_counter): Likewise.
26307 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
26308 end_fct for NULL before mangling.
26309 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
26310 for NULL.
26311
26312 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
26313
26314 [BZ #21971]
26315 * locale/iso-639.def: add Morisyen.
26316
26317 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26318
26319 [BZ #21930]
26320 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
26321 (iszero): New C++ implementation that does not use
26322 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
26323 signaling nans are enabled, since __builtin_types_compatible_p
26324 is a C-only feature.
26325 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
26326 defined, include ieee754_float128.h for access to the union and
26327 member ieee854_float128.ieee.
26328 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
26329 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
26330 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
26331 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
26332 options of test-math-zero on powerpc64le.
26333
26334 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
26335
26336 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26337 Change double to float.
26338
26339 2017-08-28 Joseph Myers <joseph@codesourcery.com>
26340
26341 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
26342 unconditional.
26343 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
26344 conditional code; define contents only for [LIBM_SVID_COMPAT].
26345
26346 2017-08-28 Florian Weimer <fweimer@redhat.com>
26347
26348 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
26349 (abi-lp64_be-options): Remove.
26350 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
26351 (abi-hard-options): Likewise.
26352 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
26353 (abi-o32_hard-options, abi-o32_soft_2008-options)
26354 (abi-o32_hard_2008-options, abi-n32_soft-options)
26355 (abi-n32_hard-options, abi-n32_soft_2008-options)
26356 (abi-n32_hard_2008-options, abi-n64_soft-options)
26357 (abi-n64_hard-options, abi-n64_soft_2008-options)
26358 (abi-n64_hard_2008-options): Likewise.
26359 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
26360 (abi-64-v1-options, abi-64-v2-options): Likewise.
26361 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
26362 (abi-64-options): Likewise.
26363 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
26364 (abi-64-options): Likewise.
26365 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
26366 (abi-64-options): Likewise.
26367 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
26368 (abi-64-options, abi-x32-options): Likewise.
26369
26370 2017-08-28 Florian Weimer <fweimer@redhat.com>
26371
26372 Store supported list of SYS_* system calls in the source tree.
26373 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
26374 (bits/syscall.h): Generate from list file.
26375 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
26376 [$(subdir) = misc] (tests): Add tst-syscall-list.
26377 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
26378 [$(subdir) = misc] (tst-syscall-list-macros.list)
26379 [$(subdir) = misc] (tst-syscall-list-nr.list)
26380 (tst-syscall-list-sys.list): Helper targets for new
26381 tst-syscall-list test.
26382 [$(subdir) = misc] (tst-syscall-list.out): Run test script
26383 tst-syscall-list.sh.
26384 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
26385 target. Do not include bits/syscall.d.
26386 [$(subdir) = misc] (generated): Do not update.
26387 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
26388 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
26389 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
26390 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
26391
26392 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
26393
26394 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
26395 (tst-cxa_atexit, tst-on_exit): Likewise.
26396 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
26397 tst-cxa_atexit, and tst-on_exit.
26398 * stdlib/tst-atexit-common.c: New file.
26399 * stdlib/tst-atexit.c: New file.
26400 * stdlib/tst-at_quick_exit.c: New file.
26401 * stdlib/tst-cxa_atexit.c: New file.
26402 * stdlib/tst-on_exit.c: New file.
26403
26404 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26405
26406 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
26407 * mach/stack_chk_fail_local.c: New file.
26408 * hurd/stack_chk_fail_local.c: New file.
26409 * mach/Machrules ($(interface-library)-routines): Add
26410 stack_chk_fail_local.
26411 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
26412 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
26413 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
26414 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
26415 * hurd/Makefile (CFLAGS-hurdstartup.o,
26416 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
26417
26418 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
26419
26420 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
26421 (index_cpu_*, index_arch_*): Removed.
26422
26423 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26424
26425 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
26426 Use uint64_t instead of unsigned long.
26427
26428 2017-08-25 Joseph Myers <joseph@codesourcery.com>
26429
26430 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
26431 [__HAVE_DISTINCT_FLOAT128].
26432
26433 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
26434 of <bits/math-finite.h>.
26435 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
26436 inclusion of <bits/math-finite.h>.
26437 * math/bits/math-finite.h (__REDIRTO_X): Do not define
26438 conditionally on [__MATH_DECLARING_LDOUBLE && defined
26439 __NO_LONG_DOUBLE_MATH].
26440 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
26441 (__MATH_REDIRCALL_2): Likewise.
26442 (__MATH_REDIRCALL_INTERNAL): Likewise.
26443 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
26444 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
26445 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
26446
26447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
26448 Remove file.
26449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
26450 Likewise.
26451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
26452 Likewise.
26453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
26454 Likewise.
26455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
26456 Likewise.
26457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
26458 Likewise.
26459 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
26460 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
26461 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
26462 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
26463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
26464 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
26465 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
26466 w_sqrtf_compat-ppc32.
26467
26468 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26469
26470 * math/math.h [defined __cplusplus] (issignaling): In the long
26471 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
26472 is not defined. Call __issignaling, otherwise.
26473
26474 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26475
26476 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
26477 syscall definitions and replace __builtin_expect with __glibc_likely.
26478 * sysdeps/unix/syscall-template.S: Update comment about cancellable
26479 syscall.
26480 (SYSCALL_CANCELLABLE): Removedefinition
26481 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
26482 definition.
26483 (PSEUDO_END): Likewise.
26484 [IS_IN (libpthread)] (CENABLE): Likewise.
26485 [IS_IN (libpthread)] (CDISABLE): Likewise.
26486 [IS_IN (libc)] (CENABLE): Likewise.
26487 [IS_IN (libc)] (CENABLE): Likewise.
26488 [IS_IN (librt)] (CDISABLE): Likewise.
26489 [IS_IN (librt)] (CDISABLE): Likewise.
26490 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26491 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
26492 definition.
26493 (PSEUDO_END): Likewise.
26494 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
26495 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
26496 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
26497 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
26498 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
26499 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
26500 (CENABLE): Likewise.
26501 (CDISABLE): Likewise.
26502 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26503 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
26504 defintion.
26505 (PSEUDO_END): Likewise.
26506 [IS_IN (libpthread)] (CENABLE): Likewise.
26507 [IS_IN (libpthread)] (CDISABLE): Likewise.
26508 [IS_IN (libc)] (CENABLE): Likewise.
26509 [IS_IN (libc)] (CENABLE): Likewise.
26510 [IS_IN (librt)] (CDISABLE): Likewise.
26511 [IS_IN (librt)] (CDISABLE): Likewise.
26512 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26513 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
26514 definition.
26515 (PSEUDO_END): Likewise.
26516 [IS_IN (libpthread)] (CENABLE): Likewise.
26517 [IS_IN (libpthread)] (CDISABLE): Likewise.
26518 [IS_IN (libc)] (CENABLE): Likewise.
26519 [IS_IN (libc)] (CENABLE): Likewise.
26520 [IS_IN (librt)] (CDISABLE): Likewise.
26521 [IS_IN (librt)] (CDISABLE): Likewise.
26522 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26523 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
26524 definition.
26525 (PSEUDO_END): Likewise.
26526 [IS_IN (libpthread)] (CENABLE): Likewise.
26527 [IS_IN (libpthread)] (CDISABLE): Likewise.
26528 [IS_IN (libc)] (CENABLE): Likewise.
26529 [IS_IN (libc)] (CENABLE): Likewise.
26530 [IS_IN (librt)] (CDISABLE): Likewise.
26531 [IS_IN (librt)] (CDISABLE): Likewise.
26532 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26533 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
26534 definition.
26535 (PSEUDO_END): Likewise.
26536 [IS_IN (libpthread)] (CENABLE): Likewise.
26537 [IS_IN (libpthread)] (CDISABLE): Likewise.
26538 [IS_IN (libc)] (CENABLE): Likewise.
26539 [IS_IN (libc)] (CENABLE): Likewise.
26540 [IS_IN (librt)] (CDISABLE): Likewise.
26541 [IS_IN (librt)] (CDISABLE): Likewise.
26542 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26543 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
26544 definition.
26545 (PSEUDO_END): Likewise.
26546 [IS_IN (libpthread)] (CENABLE): Likewise.
26547 [IS_IN (libpthread)] (CDISABLE): Likewise.
26548 [IS_IN (libc)] (CENABLE): Likewise.
26549 [IS_IN (libc)] (CENABLE): Likewise.
26550 [IS_IN (librt)] (CDISABLE): Likewise.
26551 [IS_IN (librt)] (CDISABLE): Likewise.
26552 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26553 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
26554 definition.
26555 (PSEUDO_END): Likewise.
26556 [IS_IN (libpthread)] (CENABLE): Likewise.
26557 [IS_IN (libpthread)] (CDISABLE): Likewise.
26558 [IS_IN (libc)] (CENABLE): Likewise.
26559 [IS_IN (libc)] (CENABLE): Likewise.
26560 [IS_IN (librt)] (CDISABLE): Likewise.
26561 [IS_IN (librt)] (CDISABLE): Likewise.
26562 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26563 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
26564 Remove definition.
26565 (PSEUDO_END): Likewise.
26566 [IS_IN (libpthread)] (CENABLE): Likewise.
26567 [IS_IN (libpthread)] (CDISABLE): Likewise.
26568 [IS_IN (libc)] (CENABLE): Likewise.
26569 [IS_IN (libc)] (CENABLE): Likewise.
26570 [IS_IN (librt)] (CDISABLE): Likewise.
26571 [IS_IN (librt)] (CDISABLE): Likewise.
26572 (SINGLE_THREAD_P): Likewise.
26573 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
26574 definition.
26575 (PSEUDO_END): Likewise.
26576 [IS_IN (libpthread)] (CENABLE): Likewise.
26577 [IS_IN (libpthread)] (CDISABLE): Likewise.
26578 [IS_IN (libc)] (CENABLE): Likewise.
26579 [IS_IN (libc)] (CENABLE): Likewise.
26580 [IS_IN (librt)] (CDISABLE): Likewise.
26581 [IS_IN (librt)] (CDISABLE): Likewise.
26582 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26583 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
26584 definition.
26585 (PSEUDO_END): Likewise.
26586 [IS_IN (libpthread)] (CENABLE): Likewise.
26587 [IS_IN (libpthread)] (CDISABLE): Likewise.
26588 [IS_IN (libc)] (CENABLE): Likewise.
26589 [IS_IN (libc)] (CENABLE): Likewise.
26590 [IS_IN (librt)] (CDISABLE): Likewise.
26591 [IS_IN (librt)] (CDISABLE): Likewise.
26592 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26593 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
26594 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26595 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
26596 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
26597 definition.
26598 (PSEUDO_END): Likewise.
26599 [IS_IN (libpthread)] (CENABLE): Likewise.
26600 [IS_IN (libpthread)] (CDISABLE): Likewise.
26601 [IS_IN (libc)] (CENABLE): Likewise.
26602 [IS_IN (libc)] (CENABLE): Likewise.
26603 [IS_IN (librt)] (CDISABLE): Likewise.
26604 [IS_IN (librt)] (CDISABLE): Likewise.
26605 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26606 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
26607 definition.
26608 (PSEUDO_END): Likewise.
26609 [IS_IN (libpthread)] (CENABLE): Likewise.
26610 [IS_IN (libpthread)] (CDISABLE): Likewise.
26611 [IS_IN (libc)] (CENABLE): Likewise.
26612 [IS_IN (libc)] (CENABLE): Likewise.
26613 [IS_IN (librt)] (CDISABLE): Likewise.
26614 [IS_IN (librt)] (CDISABLE): Likewise.
26615 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26616 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
26617 definition.
26618 (PSEUDO_END): Likewise.
26619 [IS_IN (libpthread)] (CENABLE): Likewise.
26620 [IS_IN (libpthread)] (CDISABLE): Likewise.
26621 [IS_IN (libc)] (CENABLE): Likewise.
26622 [IS_IN (libc)] (CENABLE): Likewise.
26623 [IS_IN (librt)] (CDISABLE): Likewise.
26624 [IS_IN (librt)] (CDISABLE): Likewise.
26625 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26626 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
26627 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26628 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
26629 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
26630 definition.
26631 (PSEUDO_END): Likewise.
26632 [IS_IN (libpthread)] (CENABLE): Likewise.
26633 [IS_IN (libpthread)] (CDISABLE): Likewise.
26634 [IS_IN (libc)] (CENABLE): Likewise.
26635 [IS_IN (libc)] (CENABLE): Likewise.
26636 [IS_IN (librt)] (CDISABLE): Likewise.
26637 [IS_IN (librt)] (CDISABLE): Likewise.
26638 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26639 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
26640 definition.
26641 (PSEUDO_END): Likewise.
26642 [IS_IN (libpthread)] (CENABLE): Likewise.
26643 [IS_IN (libpthread)] (CDISABLE): Likewise.
26644 [IS_IN (libc)] (CENABLE): Likewise.
26645 [IS_IN (libc)] (CENABLE): Likewise.
26646 [IS_IN (librt)] (CDISABLE): Likewise.
26647 [IS_IN (librt)] (CDISABLE): Likewise.
26648 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
26649
26650 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
26651
26652 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
26653
26654 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
26655
26656 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26657
26658 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
26659
26660 [BZ #21982]
26661 * string/stratcliff.c (do_test): Declare size, nchars, inner,
26662 middle and outer with size_t instead of int. Repleace %d and
26663 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
26664 "MAX (outer, nchars - 64)" to support unsigned outer and
26665 nchars. Also exit loop when outer == 0.
26666
26667 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26668
26669 * include/fcntl.h (__fcntl_nocancel): Remove definition.
26670 * include/signal.h (__sigsuspend_nocancel): Likewise.
26671 * include/time.h (__nanosleep_nocancel): Likewise.
26672 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
26673 * login/utmp_file.c: Include non cancellable syscall header.
26674 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
26675 prototype.
26676
26677 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
26678
26679 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
26680 .byte sequences with AVX512F instructions.
26681 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
26682 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
26683 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
26684 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
26685 Likewise.
26686 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26687 Likewise.
26688
26689 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
26690 Steve Ellcey <sellcey@cavium.com>
26691
26692 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
26693 Use PTR_REG macro in cmp instruction.
26694
26695 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26696
26697 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
26698 Change the return type of the ifunc resolver to match the return
26699 type of the target function.
26700
26701 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26702
26703 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
26704 (preadv64): Likewise.
26705 (pwrite64(: Likewise.
26706 (pwritev64): Likewise.
26707
26708 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
26709 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
26710 (LOAD_ARGS_0): Likewise.
26711 (LOAD_ARGS_1): Likewise.
26712 (LOAD_ARGS_2): Likewise.
26713 (LOAD_ARGS_3): Likewise.
26714 (LOAD_ARGS_4): Likewise.
26715 (LOAD_ARGS_5): Likewise.
26716 (LOAD_ARGS_6): Likewise.
26717 (LOAD_REGS_0): Likewise.
26718 (LOAD_REGS_1): Likewise.
26719 (LOAD_REGS_2): Likewise.
26720 (LOAD_REGS_3): Likewise.
26721 (LOAD_REGS_4): Likewise.
26722 (LOAD_REGS_5): Likewise.
26723 (LOAD_REGS_6): Likewise.
26724 (ASM_ARGS_0): Likewise.
26725 (ASM_ARGS_1): Likewise.
26726 (ASM_ARGS_2): Likewise.
26727 (ASM_ARGS_3): Likewise.
26728 (ASM_ARGS_4): Likewise.
26729 (ASM_ARGS_5): Likewise.
26730 (ASM_ARGS_6): Likewise.
26731 (LOAD_ARGS_TYPES_1): Likewise.
26732 (LOAD_ARGS_TYPES_2): Likewise.
26733 (LOAD_ARGS_TYPES_3): Likewise.
26734 (LOAD_ARGS_TYPES_4): Likewise.
26735 (LOAD_ARGS_TYPES_5): Likewise.
26736 (LOAD_ARGS_TYPES_6): Likewise.
26737 (LOAD_REGS_TYPES_1): Likewise.
26738 (LOAD_REGS_TYPES_2): Likewise.
26739 (LOAD_REGS_TYPES_3): Likewise.
26740 (LOAD_REGS_TYPES_4): Likewise.
26741 (LOAD_REGS_TYPES_5): Likewise.
26742 (LOAD_REGS_TYPES_6): Likewise.
26743 (TYPEFY): New define.
26744 (ARGIFY): Likewise.
26745 (internal_syscall0): Likewise.
26746 (internal_syscall1): Likewise.
26747 (internal_syscall2): Likewise.
26748 (internal_syscall3): Likewise.
26749 (internal_syscall4): Likewise.
26750 (internal_syscall5): Likewise.
26751 (internal_syscall6): Likewise.
26752 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
26753 (INTERNAL_SYSCALL_NCS): Remove define.
26754 (internal_syscall1): Add define.
26755
26756 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26757
26758 * math/w_remainder_compat.c: Remove duplicate inclusion of
26759 math-svid-compat.h.
26760 * math/w_remainderf_compat.c: Likewise.
26761 * math/w_remainderl_compat.c: Likewise.
26762
26763 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26764
26765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26766
26767 2017-08-22 Joseph Myers <joseph@codesourcery.com>
26768
26769 [BZ #21684]
26770 * math/tgmath.h (__floating_type): Simplify definitions.
26771 (__real_integer_type): New macro.
26772 (__complex_integer_type): Likewise.
26773 (__expr_is_real): Likewise.
26774 (__tgmath_real_type_sub): Update comment to describe handling of
26775 complex types.
26776 (__tgmath_complex_type_sub): New macro.
26777 (__tgmath_complex_type): Likewise.
26778 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26779 (__TGMATH_CF128): Use __expr_is_real.
26780 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
26781 __expr_is_real.
26782 (__TGMATH_BINARY_REAL_IMAG): Likewise.
26783 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
26784 * math/gen-tgmath-tests.py (Type.create_type): Create complex
26785 integer types.
26786
26787 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26788
26789 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
26790 macro.
26791 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
26792 alias.
26793 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
26794 Likewise.
26795
26796 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
26797 nanosleep_not_cancel with __nanosleep_nocancel.
26798 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
26799 (__nanosleep_nocancel): New macro.
26800 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
26801 function.
26802 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
26803 macro.
26804 (__nanosleep_nocancel): New prototype.
26805
26806 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
26807 pause_not_cancel with __pause_nocancel.
26808 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
26809 (__pause_nocancel): New macro.
26810 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
26811 macro.
26812 (__pause_nocancel): New prototype.
26813 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
26814
26815 2017-08-22 Martin Sebor <msebor@redhat.com>
26816
26817 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
26818 to return a pointer to the same type as the target function.
26819
26820 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
26821
26822 [BZ #18822]
26823 [BZ #21986]
26824 * include/printf.h (__printf_fphex): Add attribute_hidden.
26825 (__guess_grouping): New prototype.
26826 * stdio-common/printf_fp.c (__guess_grouping): Removed.
26827 * stdio-common/reg-printf.c (__register_printf_specifier): Add
26828 libc_hidden_proto and libc_hidden_def.
26829 * stdlib/strfmon_l.c (__guess_grouping): Removed.
26830 (__vstrfmon_l): Remove the third argument passed to
26831 __guess_grouping.
26832
26833 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
26834
26835 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
26836 definition for issignaling that does not rely on __MATH_TG,
26837 since __MATH_TG uses __builtin_types_compatible_p, which is only
26838 available in C mode.
26839 (CFLAGS-test-math-issignaling.cc): New variable.
26840 * math/Makefile [CXX] (tests): Add test-math-issignaling.
26841 * math/test-math-issignaling.cc: New test for C++ implementation
26842 of type-generic issignaling.
26843 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
26844 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
26845 options of test-math-issignaling on powerpc64le.
26846
26847 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
26848
26849 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
26850 building libc.a.
26851 (hidden_proto): Likewise.
26852 (hidden_tls_proto): Likewise.
26853 (__hidden_proto): Likewise.
26854
26855 2017-08-22 Florian Weimer <fweimer@redhat.com>
26856
26857 math: Statically link tests of internal functionality.
26858 * math/Makefile (tests): Remove atest-exp, atest-sincos,
26859 atest-exp2.
26860 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
26861 (gmp-objs): Remove assignment.
26862 (atest-exp, atest-sincos, atest-exp2): Remove targets.
26863
26864 2017-08-22 Joseph Myers <joseph@codesourcery.com>
26865
26866 [BZ #21987]
26867 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
26868 and copy to ...
26869 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
26870 ... here.
26871 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
26872 ... and here.
26873
26874 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
26875 variable definitions above inclusion of ../Rules.
26876
26877 2017-08-21 Joseph Myers <joseph@codesourcery.com>
26878
26879 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
26880 case calling __builtin_unreachable.
26881
26882 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26883
26884 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
26885 __waitpid_nocancel.
26886 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
26887 (__waitpid_nocancel): New macro.
26888 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
26889 macro.
26890 (__waitpid_nocancel): Replace macro with a function.
26891 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
26892 function.
26893
26894 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
26895 __fcntl_nocancel.
26896 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
26897 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
26898
26899 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
26900 __writev_nocancel_nostatus.
26901 (write_call_graph): Likewise.
26902 (write_bb_counts): Likewise.
26903 * resolv/herror.c (herror): Likewise.
26904 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
26905 macro.
26906 (__writev_nocancel_nostatus): New macro.
26907 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
26908 Remove macro.
26909 (__writev_nocancel_nostatus): New function.
26910
26911 2017-08-21 Joseph Myers <joseph@codesourcery.com>
26912
26913 Revert:
26914 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
26915
26916 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
26917 building libc.a.
26918 (hidden_proto): Likewise.
26919 (hidden_tls_proto): Likewise.
26920 (__hidden_proto): Likewise.
26921
26922 [BZ #21973]
26923 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
26924 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
26925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
26926 Likewise.
26927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
26928 Likewise.
26929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
26930 Likewise.
26931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
26932 Likewise.
26933 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
26934 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
26935 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
26936 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
26937 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26938 GLIBC_2.0 sqrtl symbol.
26939
26940 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
26941 [__USE_MISC] (_LIB_VERSION): Likewise.
26942 [__USE_MISC] (struct exception): Likewise.
26943 [__USE_MISC] (matherr): Likewise.
26944 [__USE_MISC] (DOMAIN): Likewise.
26945 [__USE_MISC] (SING): Likewise.
26946 [__USE_MISC] (OVERFLOW): Likewise.
26947 [__USE_MISC] (UNDERFLOW): Likewise.
26948 [__USE_MISC] (TLOSS): Likewise.
26949 [__USE_MISC] (PLOSS): Likewise.
26950 [__USE_MISC] (HUGE): Likewise.
26951 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
26952 * math/math-svid-compat.h: New file.
26953 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
26954 and matherrl.
26955 * include/math.h [!_ISOMAC] (__matherr): Remove.
26956 * manual/arith.texi (FP Exceptions): Do not document matherr.
26957 * math/Makefile (tests): Change test-matherr to test-matherr-3.
26958 (tests-internal): New variable.
26959 (install-lib): Do not add libieee.a.
26960 (non-lib.a): Likewise.
26961 (extra-objs): Do not add libieee.a and ieee-math.o.
26962 (CPPFLAGS-s_lib_version.c): Remove variable.
26963 ($(objpfx)libieee.a): Remove rule.
26964 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
26965 * math/ieee-math.c: Remove.
26966 * math/libm-test-support.c (matherr): Remove.
26967 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
26968 and license notices. Include <math-svid-compat.h> and
26969 <shlib-compat.h>.
26970 (matherr): Undefine as macro. Use compat_symbol_reference.
26971 (_LIB_VERSION): Likewise.
26972 * math/test-matherr-2.c: New file.
26973 * math/test-matherr-3.c: Likewise.
26974 * sysdeps/generic/math_private.h (__kernel_standard): Remove
26975 declaration.
26976 (__kernel_standard_f): Likewise.
26977 (__kernel_standard_l): Likewise.
26978 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
26979 <math_private.h>. Include <math-svid-compat.h>.
26980 (_LIB_VERSION): Undefine as macro.
26981 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
26982 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
26983 [LIBM_SVID_COMPAT], use compat_symbol.
26984 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
26985 <math_private.h>. Include <math-svid-compat.h>.
26986 (matherr): Undefine as macro.
26987 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
26988 compat_symbol.
26989 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
26990 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
26991 compat_symbol_reference.
26992 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
26993 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
26994 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
26995 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
26996 (MATHERR_D): Remove declaration.
26997 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
26998 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
26999 [LIBM_BUILD] (pmatherrf): Likewise.
27000 [LIBM_BUILD] (pmatherr): Likewise.
27001 [LIBM_BUILD] (pmatherrl): Likewise.
27002 (DOMAIN): Likewise.
27003 (SING): Likewise.
27004 (OVERFLOW): Likewise.
27005 (UNDERFLOW): Likewise.
27006 (TLOSS): Likewise.
27007 (PLOSS): Likewise.
27008 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
27009 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
27010 compat_symbol.
27011 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
27012 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
27013 compat_symbol.
27014 * math/lgamma-compat.h: Include <math-svid-compat.h>.
27015 * math/w_acos_compat.c: Likewise.
27016 * math/w_acosf_compat.c: Likewise.
27017 * math/w_acosh_compat.c: Likewise.
27018 * math/w_acoshf_compat.c: Likewise.
27019 * math/w_acoshl_compat.c: Likewise.
27020 * math/w_acosl_compat.c: Likewise.
27021 * math/w_asin_compat.c: Likewise.
27022 * math/w_asinf_compat.c: Likewise.
27023 * math/w_asinl_compat.c: Likewise.
27024 * math/w_atan2_compat.c: Likewise.
27025 * math/w_atan2f_compat.c: Likewise.
27026 * math/w_atan2l_compat.c: Likewise.
27027 * math/w_atanh_compat.c: Likewise.
27028 * math/w_atanhf_compat.c: Likewise.
27029 * math/w_atanhl_compat.c: Likewise.
27030 * math/w_cosh_compat.c: Likewise.
27031 * math/w_coshf_compat.c: Likewise.
27032 * math/w_coshl_compat.c: Likewise.
27033 * math/w_exp10_compat.c: Likewise.
27034 * math/w_exp10f_compat.c: Likewise.
27035 * math/w_exp10l_compat.c: Likewise.
27036 * math/w_exp2_compat.c: Likewise.
27037 * math/w_exp2f_compat.c: Likewise.
27038 * math/w_exp2l_compat.c: Likewise.
27039 * math/w_fmod_compat.c: Likewise.
27040 * math/w_fmodf_compat.c: Likewise.
27041 * math/w_fmodl_compat.c: Likewise.
27042 * math/w_hypot_compat.c: Likewise.
27043 * math/w_hypotf_compat.c: Likewise.
27044 * math/w_hypotl_compat.c: Likewise.
27045 * math/w_j0_compat.c: Likewise.
27046 * math/w_j0f_compat.c: Likewise.
27047 * math/w_j0l_compat.c: Likewise.
27048 * math/w_j1_compat.c: Likewise.
27049 * math/w_j1f_compat.c: Likewise.
27050 * math/w_j1l_compat.c: Likewise.
27051 * math/w_jn_compat.c: Likewise.
27052 * math/w_jnf_compat.c: Likewise.
27053 * math/w_jnl_compat.c: Likewise.
27054 * math/w_lgamma_main.c: Likewise.
27055 * math/w_lgamma_r_compat.c: Likewise.
27056 * math/w_lgammaf_main.c: Likewise.
27057 * math/w_lgammaf_r_compat.c: Likewise.
27058 * math/w_lgammal_main.c: Likewise.
27059 * math/w_lgammal_r_compat.c: Likewise.
27060 * math/w_log10_compat.c: Likewise.
27061 * math/w_log10f_compat.c: Likewise.
27062 * math/w_log10l_compat.c: Likewise.
27063 * math/w_log2_compat.c: Likewise.
27064 * math/w_log2f_compat.c: Likewise.
27065 * math/w_log2l_compat.c: Likewise.
27066 * math/w_log_compat.c: Likewise.
27067 * math/w_logf_compat.c: Likewise.
27068 * math/w_logl_compat.c: Likewise.
27069 * math/w_pow_compat.c: Likewise.
27070 * math/w_powf_compat.c: Likewise.
27071 * math/w_powl_compat.c: Likewise.
27072 * math/w_remainder_compat.c: Likewise.
27073 * math/w_remainderf_compat.c: Likewise.
27074 * math/w_remainderl_compat.c: Likewise.
27075 * math/w_scalb_compat.c: Likewise.
27076 * math/w_scalbf_compat.c: Likewise.
27077 * math/w_scalbl_compat.c: Likewise.
27078 * math/w_sinh_compat.c: Likewise.
27079 * math/w_sinhf_compat.c: Likewise.
27080 * math/w_sinhl_compat.c: Likewise.
27081 * math/w_sqrt_compat.c: Likewise.
27082 * math/w_sqrtf_compat.c: Likewise.
27083 * math/w_sqrtl_compat.c: Likewise.
27084 * math/w_tgamma_compat.c: Likewise.
27085 * math/w_tgammaf_compat.c: Likewise.
27086 * math/w_tgammal_compat.c: Likewise.
27087 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
27088 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
27089 * sysdeps/ieee754/k_standard.c: Likewise.
27090 * sysdeps/ieee754/k_standardf.c: Likewise.
27091 * sysdeps/ieee754/k_standardl.c: Likewise.
27092 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
27093 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
27094 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
27095 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
27096 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
27097 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
27098 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
27099 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
27100 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
27101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
27102 Likewise.
27103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
27104 Likewise.
27105 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
27106 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
27107 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
27108 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
27109
27110 2017-08-21 Florian Weimer <fweimer@redhat.com>
27111
27112 [BZ #21864]
27113 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
27114 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
27115 Move before inclusion of ../Rules.
27116
27117 2017-08-21 Florian Weimer <fweimer@redhat.com>
27118
27119 [BZ #21972]
27120 * assert/assert.h (assert): Use static_cast (bool) for C++.
27121 Use the ternary operator in the warning branch for GNU C.
27122 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
27123 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
27124 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
27125 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
27126 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
27127
27128 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27129
27130 [BZ #18822]
27131 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27132 (__syscall_clock_gettime): Add attribute_hidden.
27133 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
27134 (__start_context): Likewise.
27135
27136 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27137
27138 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
27139 building libc.a.
27140 (hidden_proto): Likewise.
27141 (hidden_tls_proto): Likewise.
27142 (__hidden_proto): Likewise.
27143
27144 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27145
27146 * include/libc-symbols.h (attribute_hidden): Enable hidden
27147 visibility in libc.a compiled with PIE.
27148
27149 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27150
27151 [BZ #18822]
27152 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
27153 Add attribute_hidden.
27154
27155 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27156
27157 [BZ #21864]
27158 * Makerules (all-nonlib): Add $(others-extras).
27159 * catgets/Makefile (others-extras): New.
27160 * elf/Makefile (others-extras): Likewise.
27161 * nss/Makefile (others-extras): Likewise.
27162
27163 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27164
27165 [BZ #18822]
27166 * csu/libc-start.c (__libc_multiple_libcs): Removed.
27167 * elf/dl-open.c: Include <libc-internal.h>.
27168 (__libc_multiple_libcs): Removed.
27169 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
27170 <hp-timing.h>.
27171 * include/libc-internal.h (__libc_multiple_libcs): New.
27172 * misc/sbrk.c: Include <libc-internal.h>.
27173 (__libc_multiple_libcs): Removed.
27174
27175 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27176
27177 [BZ #18822]
27178 * grp/initgroups.c (__nss_group_database): Removed.
27179 (__nss_initgroups_database): Likewise.
27180 * nscd/gai.c (__nss_hosts_database): Likewise.
27181 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
27182 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
27183 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
27184 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
27185 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
27186 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
27187 attribute_hidden.
27188 * nss/nsswitch.c (__nss_database_custom): Define only if
27189 USE_NSCD is defined.
27190 (__nss_configure_lookup): Use __nss_database_custom only if
27191 USE_NSCD is defined.
27192 * nss/nsswitch.h (__nss_database_custom): Declare only if
27193 USE_NSCD is defined. Add attribute_hidden.
27194 (__nss_setent): Add attribute_hidden.
27195 (__nss_endent): Likewise.
27196 (__nss_getent_r): Likewise.
27197 (__nss_getent): Likewise.
27198 (DEFINE_DATABASE): Declare __nss_##arg##_database.
27199
27200 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27201
27202 [BZ #18822]
27203 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
27204 libc_hidden_proto and libc_hidden_def.
27205
27206 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27207
27208 [BZ #18822]
27209 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
27210 Add libc_hidden_proto.
27211 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
27212 Add libc_hidden_def.
27213
27214 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27215
27216 [BZ #21974]
27217 * gmon/Makefile (routines): Remove bb_init_func and
27218 bb_exit_func.
27219 (elide-routines.os): Removed.
27220 * gmon/bb_exit_func.c: Likewise.
27221 * gmon/bb_init_func.c: Likewise.
27222 * include/sys/gmon.h (__bb): Likewise.
27223 (__bb_init_func): Likewise.
27224 (__bb_exit_func): Likewise.
27225 * sysdeps/alpha/bb_init_func.S: Likewise.
27226
27227 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
27228
27229 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
27230 * include/setjmp.h (____longjmp_chk): Here. Add
27231 attribute_hidden.
27232
27233 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
27234
27235 [BZ #18822]
27236 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
27237 attribute_hidden.
27238 (__strspn_sse2): Likewise.
27239
27240 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27241
27242 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
27243 (close_not_cancel_no_status): Likewise.
27244 (__close_nocancel): New macro.
27245 (__close_nocancel_nostatus): Likewise.
27246 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
27247 macro.
27248 (close_not_cancel): Likewise.
27249 (close_not_cancel_no_status): Likewise.
27250 (__close_nocancel): New prototype.
27251 (__close_nocancel_nostatus): New function.
27252 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
27253 * catgets/open_catalog.c (__open_catalog): Replace
27254 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
27255 * gmon/gmon.c (write_gmon): Likewise.
27256 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27257 * intl/loadmsgcat.c (close): Likewise.
27258 * io/ftw.c (open_dir_stream): Likewise.
27259 (ftw_startup): Likewise.
27260 * libio/fileops.c (_IO_file_open): Likewise.
27261 (_IO_file_close_mmap): Likewise.
27262 (_IO_file_close): Likewise.
27263 * libio/iopopen.c (_IO_dup2): Likewise.
27264 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27265 * locale/loadlocale.c (_nl_load_locale): Likewise.
27266 * login/utmp_file.c (pututline_file): Likewise.
27267 (endutent_file): Likewise.
27268 * misc/daemon.c (daemon): Likewise.
27269 * nscd/nscd_getai.c (__nscd_getai): Likewise.
27270 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27271 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
27272 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27273 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27274 * nscd/nscd_helper.c (open_socket): Likewise.
27275 (__nscd_open_socket): Likewise.
27276 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27277 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
27278 (__nscd_innetgr): Likewise.
27279 * nss/nss_db/db-open.c (internal_setent): Likewise.
27280 * resolv/res-close.c (__res_iclose): Likewise.
27281 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
27282 * sysdeps/posix/closedir.c (__closedir): Likewise.
27283 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
27284 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27285 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
27286 (opendir_tail): Likewise.
27287 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
27288 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
27289 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
27290 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27291 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
27292 (gethostid): Likewise.
27293 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
27294 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27295 Likewise.
27296 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27297 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
27298 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
27299 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
27300 Likewise.
27301 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
27302 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
27303 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
27304 Likewise.
27305 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
27306 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27307 Likewise.
27308 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27309 Likewise.
27310 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
27311 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
27312 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
27313 __close_nocancel.
27314
27315 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
27316 (openat_not_cancel_3): Likewise.
27317 (openat64_not_cancel_3): Likewise).
27318 (openat_not_cancel_3): Likewise).
27319 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
27320 macro.
27321 (openat_not_cancel_3): Likewise.
27322 (openat64_not_cancel): Likewise.
27323 (openat64_not_cancel_3): Likewise.
27324 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
27325 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
27326 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
27327 __open{64}_nocancel.
27328 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
27329 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27330 * sysdeps/posix/opendir.c (__opendirat): Likewise.
27331
27332 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
27333
27334 [BZ #18822]
27335 * include/argz.h (__argz_create_sep): New function prototype.
27336 (__argz_append): Likewise.
27337 (__argz_add): Likewise.
27338 (__argz_add_sep): Likewise.
27339 (__argz_delete): Likewise.
27340 (__argz_insert): Likewise.
27341 (__argz_replace): Likewise.
27342 * string/argz.h (__argz_create_sep): Removed.
27343 (__argz_append): Likewise.
27344 (__argz_add): Likewise.
27345 (__argz_add_sep): Likewise.
27346 (__argz_delete): Likewise.
27347 (__argz_insert): Likewise.
27348 (__argz_replace): Likewise.
27349
27350 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
27351
27352 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
27353 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
27354 (GNU_PROPERTY_STACK_SIZE): Likewie.
27355 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
27356 (GNU_PROPERTY_LOPROC): Likewise.
27357 (GNU_PROPERTY_HIPROC): Likewise.
27358 (GNU_PROPERTY_LOUSER): Likewise.
27359 (GNU_PROPERTY_HIUSER): Likewise.
27360 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
27361 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
27362 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
27363 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
27364 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
27365 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
27366 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
27367 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
27368 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
27369 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
27370 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
27371 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
27372 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
27373 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
27374 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
27375 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
27376 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
27377 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
27378 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
27379 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
27380 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
27381 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
27382 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
27383
27384 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27385
27386 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
27387 in C++ mode.
27388
27389 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27390
27391 [BZ #21930]
27392 * math/math.h (isinf): Check if in C or C++ mode before using
27393 __builtin_types_compatible_p, since this is a C mode feature.
27394
27395 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27396
27397 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
27398 (__write_nocancel): New macro.
27399 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
27400 Rewrite as a function prototype.
27401 (write_not_cancel): Remove macro.
27402 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
27403 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
27404 (write_gmon): Likewise.
27405 * libio/fileops.c (_IO_new_file_write): Likewise.
27406 * login/utmp_file.c (pututline_file): Likewise.
27407 (updwtmp_file): Likewise.
27408 * stdio-common/psiginfo.c (psiginfo): Likewise.
27409 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
27410 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
27411 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
27412 Likewise.
27413 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27414 Likewise.
27415
27416 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
27417 (__read_nocancel): New macro.
27418 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
27419 __read_nocancel.
27420 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
27421 macro.
27422 (__read_nocancel): New prototype.
27423 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
27424 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
27425 with __read_nocancel.
27426 * intl/loadmsgcat.c (read): Likewise.
27427 * libio/fileops.c (_IO_file_read): Likewise.
27428 * locale/loadlocale.c (_nl_load_locale): Likewise.
27429 * login/utmp_file.c (getutent_r_file): Likewise.
27430 (internal_getut_r): Likewise.
27431 (getutline_r_file): Likewise.
27432 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
27433 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27434 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
27435 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27436 Likewise.
27437 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
27438 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
27439 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
27440 Likewise.
27441 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
27442 Likewise.
27443 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
27444 Likewise.
27445 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27446 Likewise.
27447 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
27448
27449 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
27450
27451 [BZ #21966]
27452 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
27453 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
27454 usable.
27455
27456 2017-08-17 DJ Delorie <dj@redhat.com>
27457
27458 * bug17079.c: Update to new test harness.
27459 * test-digits-dots.c: Likewise.
27460 * test-netdb.c: Likewise.
27461 * tst-field.c: Likewise.
27462 * tst-nss-getpwent.c: Likewise.
27463 * tst-nss-static.c: Likewise.
27464 * tst-nss-test1.c: Likewise.
27465 * tst-nss-test2.c: Likewise.
27466 * tst-nss-test3.c: Likewise.
27467 * tst-nss-test4.c: Likewise.
27468 * tst-nss-test5.c: Likewise.
27469
27470 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27471
27472 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
27473 (open_not_cancel_2): Likewise.
27474 (open_nocancel): New macro.
27475 (open64_nocancel): Likewise.
27476 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
27477 (open_not_cancel_2): Likewise.
27478 (__open_nocancel): New prototype.
27479 (__open64_nocancel): Likewise.
27480 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
27481 __open_nocancel.
27482 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
27483 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
27484 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
27485 with __open_nocancel.
27486 * csu/check_fds.c (check_one_fd): Likewise.
27487 * gmon/gmon.c (write_gmon): Likewise.
27488 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
27489 * intl/loadmsgcat.c (open): Likewise.
27490 * libio/fileops.c (_IO_file_open): Likewise.
27491 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27492 * locale/loadlocale.c (_nl_load_locale): Likewise.
27493 * login/utmp_file.c (setutent_file): Likewise.
27494 * misc/daemon.c (daemon): Likewise.
27495 * nss/nss_db/db-open.c (internal_setent): Likewise.
27496 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
27497 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
27498 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
27499 (__opendir): Likewise.
27500 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
27501 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
27502 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
27503 (gethostid): Likewise.
27504 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
27505 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27506 Likewise.
27507 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27508 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
27509 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
27510 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
27511 Likewise.
27512 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
27513 Likewise.
27514 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
27515 Likewise.
27516 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
27517 Likewise.
27518 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27519 Likewise.
27520 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27521 Likewise.
27522 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
27523 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
27524
27525 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
27526
27527 * benchtests/bench-skeleton.c (main): Add support for
27528 latency benchmarking.
27529 * benchtests/scripts/bench.py: Add support for latency benchmarking.
27530
27531 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
27532
27533 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
27534 the startup object.
27535
27536 2017-08-17 Florian Weimer <fweimer@redhat.com>
27537
27538 * include/sys/socket.h (__opensock): Remove internal_function.
27539 * socket/opensock.c (__opensock): Likewise.
27540 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
27541
27542 2017-08-16 Joseph Myers <joseph@codesourcery.com>
27543
27544 [BZ #21944]
27545 * signal/bits/types/__sigval_t.h: New file.
27546 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
27547 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
27548 and define sigval_t using __sigval_t.
27549 * include/bits/types/__sigval_t.h: New file.
27550 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
27551 instead of <bits/types/__sigval_t.h>.
27552 (struct sigevent): Use __sigval_t instead of sigval_t.
27553 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
27554 instead of <bits/types/__sigval_t.h>.
27555 (siginfo_t): Use __sigval_t instead of sigval_t.
27556 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
27557 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
27558 (struct sigevent): Use __sigval_t instead of sigval_t.
27559 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
27560 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
27561 (siginfo_t): Use __sigval_t instead of sigval_t.
27562 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
27563
27564 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
27565
27566 * NEWS: Remove "[Add new features here]" for 2.27.
27567
27568 2017-08-16 Joseph Myers <joseph@codesourcery.com>
27569
27570 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
27571 libc.so.
27572
27573 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
27574
27575 * NEWS: Mention x86-64 FMA optimization.
27576
27577 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
27578
27579 [BZ #21912]
27580 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27581 Add e_expf-fma.
27582 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
27583 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
27584 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
27585
27586 2017-08-16 Andreas Schwab <schwab@suse.de>
27587
27588 [BZ #16750]
27589 CVE-2009-5064
27590 * elf/ldd.bash.in: Never run file directly.
27591
27592 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
27593
27594 [BZ #21955]
27595 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
27596 (L(SP_INF_0)): Likewise.
27597
27598 2017-08-15 Florian Weimer <fweimer@redhat.com>
27599
27600 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
27601 run-built-tests.
27602
27603 2017-08-15 Florian Weimer <fweimer@redhat.com>
27604
27605 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
27606 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
27607 BROKEN_THREAD_SIGNALS code.
27608 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
27609 request_list): Remove caller_pid member used for
27610 BROKEN_THREAD_SIGNALS.
27611 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
27612 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
27613 Remove BROKEN_THREAD_SIGNALS support.
27614 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27615 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
27616
27617 2017-08-15 Florian Weimer <fweimer@redhat.com>
27618
27619 * gmon/Makefile (tests): Add tst-gmon.
27620 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
27621 Set.
27622 (tests-special): Add tst-gmon-prof.out.
27623 (tst-gmon.out): Depend on clean-tst-gmon-data.
27624 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
27625 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
27626 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
27627 startup object.
27628 * aclocal.m4 (GPROF): Set and substitute.
27629 * config.amke.in (GPROF): Set.
27630 * configure: Regenerate.
27631
27632 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
27633
27634 * elf/elf.h A (NT_PPC_TAR): New macro.
27635 (NT_PPC_PPR): Likewise.
27636 (NT_PPC_DSCR): Likewise.
27637 (NT_PPC_EBB): Likewise.
27638 (NT_PPC_PMU): Likewise.
27639 (NT_PPC_TM_CGPR): Likewise.
27640 (NT_PPC_TM_CFPR): Likewise.
27641 (NT_PPC_TM_CVMX): Likewise.
27642 (NT_PPC_TM_CVSX): Likewise.
27643 (NT_PPC_TM_SPR): Likewise.
27644 (NT_PPC_TM_CTAR): Likewise.
27645 (NT_PPC_TM_CPPR): Likewise.
27646 (NT_PPC_TM_CDSCR): Likewise.
27647
27648 2017-08-15 Florian Weimer <fweimer@redhat.com>
27649
27650 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
27651 regparm (2) instead of internal_function.
27652 (_MCOUNT_DECL): Adjust.
27653
27654 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
27655
27656 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
27657 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
27658
27659 2017-08-14 Joseph Myers <joseph@codesourcery.com>
27660
27661 * conform/data/sys/wait.h-data (si_value): Do not expect for
27662 XPG42.
27663
27664 2017-08-14 Florian Weimer <fweimer@redhat.com>
27665
27666 [BZ #21962]
27667 NSS: Create stubs for accidentally exported lookup functions.
27668 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
27669 Remove declaration.
27670 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
27671 (ether_hostton): Call __nss_ethers_lookup2 instead.
27672 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
27673 (ether_ntohost): Call __nss_ethers_lookup2 instead.
27674 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
27675 (setup): Call __nss_netgroup_lookup2 instead.
27676 * nss/Makefile (routines): Add compat-lookup.
27677 * nss/Versions (GLIBC_2.27): Add symbol version.
27678 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
27679 (DB_COMPAT_FCT): Remove.
27680 * nss/compat-lookup.c: New file.
27681 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
27682 from databases.def.
27683 * nss/service-lookup.c (NO_COMPAT): Remove definition.
27684 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
27685 (netname2user): Call __nss_publickey_lookup2 instead.
27686 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
27687 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
27688 instead.
27689
27690 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27691 Sergei Trofimovich <slyfox@inbox.ru>
27692
27693 [BZ #21908]
27694 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
27695 Rename to MMAP2_PAGE_UNIT.
27696 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
27697 __OFF_T_MATCHES_OFF64_T is not defined.
27698 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
27699 uint64_t.
27700 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
27701 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
27702
27703 2017-08-14 Florian Weimer <fweimer@redhat.com>
27704
27705 i386: Do not set internal_function.
27706 * config.h.in (USE_REGPARMS, internal_function): Remove.
27707 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
27708 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
27709
27710 2017-08-14 Florian Weimer <fweimer@redhat.com>
27711
27712 * elf/dl-init.c (_dl_init): Remove internal_function.
27713 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
27714 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
27715
27716 2017-08-14 Florian Weimer <fweimer@redhat.com>
27717
27718 * elf/rtld.c (_dl_start): Remove internal_function.
27719 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
27720 _dl_start.
27721
27722 2017-08-14 Florian Weimer <fweimer@redhat.com>
27723
27724 * elf/dl-fini.c (_dl_fini): Remove internal_function
27725 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27726
27727 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
27728
27729 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
27730 (bit_cpu_SHSTK): Likewise.
27731 (index_cpu_IBT): Likewise.
27732 (index_cpu_SHSTK): Likewise.
27733 (reg_IBT): Likewise.
27734 (reg_SHSTK): Likewise.
27735 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27736 Handle index_cpu_IBT and index_cpu_SHSTK.
27737
27738 2017-08-14 Mike FABIAN <mfabian@redhat.com>
27739
27740 [BZ #19982]
27741 * po/fr.po: Fix spelling mistake.
27742
27743 2017-08-13 Florian Weimer <fweimer@redhat.com>
27744
27745 * elf/dl-addr.c (_dl_addr): Remove internal_function.
27746 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
27747 (_dl_catch_error, _dl_receive_error): Likewise.
27748 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
27749 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
27750 (_dl_deallocate_tls): Likewise.
27751 * include/dlfcn.h (_dl_addr): Likewise.
27752 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
27753 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
27754 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
27755 Likewise.
27756
27757 2017-08-13 Florian Weimer <fweimer@redhat.com>
27758
27759 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
27760 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
27761 internal_function.
27762 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
27763
27764 2017-08-13 Florian Weimer <fweimer@redhat.com>
27765
27766 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
27767 internal_function.
27768 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
27769 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
27770 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
27771 internal_function from _dl_make_stack_executable_hook member.
27772 (_dl_make_stack_executable): Remove internal_function.
27773 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
27774 Likewise.
27775 * sysdeps/unix/sysv/linux/dl-execstack.c
27776 (_dl_make_stack_executable): Likewise.
27777
27778 2017-08-13 Florian Weimer <fweimer@redhat.com>
27779
27780 * sysdeps/unix/sysv/linux/netlinkaccess.h
27781 (__netlink_assert_response): Remove internal_function.
27782 * sysdeps/unix/sysv/linux/netlink_assert_response.c
27783 (__netlink_assert_response): Likewise.
27784
27785 2017-08-13 Florian Weimer <fweimer@redhat.com>
27786
27787 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
27788 internal_function.
27789 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
27790
27791 2017-08-13 Florian Weimer <fweimer@redhat.com>
27792
27793 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
27794 internal_function.
27795 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
27796 * inet/netgroup.h (__internal_setnetgrent)
27797 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
27798 * inet/getnetgrent_r.c (__internal_setnetgrent)
27799 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
27800 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
27801 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
27802 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
27803 * nss/nsswitch.h (db_lookup_function): Likewise.
27804
27805 2017-08-13 Florian Weimer <fweimer@redhat.com>
27806
27807 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
27808 Remove internal_function.
27809 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
27810 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
27811 message argument on the stack.
27812 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
27813 Likeweise.
27814
27815 2017-08-12 Mike FABIAN <mfabian@redhat.com>
27816
27817 Adapt test case data to the changes in the thousands
27818 separators.
27819
27820 [BZ #20756]
27821 * localedata/tst-langinfo.sh: Adapt test case data.
27822 * stdlib/tst-strfmon_l.c: Likewise.
27823 * stdlib/tst-strtod4.c: Likewise.
27824 * stdlib/tst-strtod5i.c: Likewise.
27825
27826 2017-08-11 Florian Weimer <fweimer@redhat.com>
27827
27828 [BZ #21242]
27829 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
27830 Suppress pedantic warning resulting from statement expression.
27831 (__ASSERT_FUNCTION): Add missing __extension__.
27832
27833 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27834
27835 * benchtests/bench-memmove-large.c: Print output in JSON
27836 format.
27837 * benchtests/bench-memmove.c: Likewise.
27838
27839 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
27840 * benchtests/bench-memchr.c (do_one_test): Likewise.
27841 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
27842 * benchtests/bench-memcpy.c (do_one_test): Likewise.
27843 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
27844 * benchtests/bench-memmove.c (do_one_test): Likewise.
27845 * benchtests/bench-memset-large.c (do_one_test): Likewise.
27846 * benchtests/bench-memset.c (do_one_test): Likewise.
27847 * benchtests/bench-string.h (test_init): Remove memsets.
27848
27849 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
27850
27851 * manual/lang.texi
27852 (Computing the Width of an Integer Data Type): Rename section to
27853 "Width of an Integer Type". Remove inaccurate statement regarding
27854 lack of C language facilities for determining width of integer
27855 types, and reorder content to improve flow and context of
27856 discussion.
27857
27858 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
27859
27860 * lang.texi (va_copy): Change standard from ISO to C99.
27861 (__va_copy): Add standard and header annotation.
27862 Update description for clarity of origins and current use.
27863
27864 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27865
27866 [BZ #21941]
27867 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
27868 xssqrtqp requires operands to be in Vector Registers
27869 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
27870 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
27871 (__ieee754_sqrtf128): Likewise.
27872
27873 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
27874
27875 * sysdeps/aarch64/memcmp.S (memcmp):
27876 Rewrite of optimized memcmp.
27877
27878 2017-08-10 Florian Weimer <fweimer@redhat.com>
27879
27880 Introduce ld.so exceptions.
27881 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
27882 (_dl_exception_create, _dl_exception_create_format)
27883 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
27884 (_dl_catch_exception): Declare.
27885 (_dl_catch_error): Update comment.
27886 * elf/dl-error-skeleton.c (struct catch): Replace objname,
27887 errstring, malloced members with exception member.
27888 (_dl_out_of_memory): Remove.
27889 (fatal_error): New function, extracted from _dl_signal_error.
27890 (_dl_signal_exception, _dl_signal_cexception): New functions.
27891 (_dl_signal_error): Call _dl_exception_create to allocate an
27892 exception object.
27893 (_dl_catch_exception): New function, based on _dl_catch_error.
27894 (_dl_catch_error): Implement using _dl_catch_exception.
27895 * elf/dl-exception.c: New file.
27896 * elf/Makefile (dl-routines): Add dl-exception.
27897 (elide-routines.os): Likewise.
27898 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
27899 _dl_exception_create_format, _dl_exception_free.
27900 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
27901 _dl_signal_exception.
27902 * elf/dl-lookup.c (make_string): Remove.
27903 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
27904 _dl_signal_cexception, _dl_exception_free.
27905 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
27906 _dl_signal_exception.
27907 * elf/dl-sym.c (do_sym): Likewise.
27908 * elf/dl-version.c (make_string): Remove.
27909 (match_symbol): Use _dl_exception_create_format,
27910 _dl_signal_cexception, _dl_exception_free.
27911 (_dl_check_map_versions): Likewise.
27912 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
27913 _dl_catch_exception.
27914 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
27915 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
27916 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
27917 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
27918 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
27919 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
27920 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
27921 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
27922 Likewise.
27923 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
27924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
27925 (ld.so): Likewise.
27926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
27927 (ld.so): Likewise.
27928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
27929 Likewise.
27930 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
27931 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
27932 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
27933 Likewise.
27934 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
27935 Likewise.
27936 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
27937
27938 2017-08-10 Florian Weimer <fweimer@redhat.com>
27939
27940 * inet/net-internal.h (__inet6_scopeid_pton): Remove
27941 attribute_hidden, internal_function.
27942 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
27943 internal_function.
27944
27945 2017-08-10 Florian Weimer <fweimer@redhat.com>
27946
27947 * malloc/malloc.c (get_max_fast): Reimplement as an inline
27948 function which calls __builtin_unreachable.
27949
27950 2017-08-10 Mike FABIAN <mfabian@redhat.com>
27951
27952 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
27953 Indian monetary formatting
27954 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
27955 test cases.
27956
27957 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
27958
27959 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
27960 Fix typo in comment.
27961
27962 [BZ #21928]
27963 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
27964 PTRACE_SEIZE_DEVEL): Remove.
27965 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
27966 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27967 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27968 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27969 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27970
27971 2017-08-09 Joseph Myers <joseph@codesourcery.com>
27972
27973 * posix/bits/types.h (__qaddr_t): Remove.
27974
27975 [BZ #21457]
27976 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
27977 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
27978 __glibc_reserved1.
27979 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
27980 (ucontext_t): Use __ctx with uc_flags.
27981 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
27982 (__ctxt): Likewise.
27983 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
27984 __glibc_reserved1.
27985 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
27986 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
27987 __glibc_reserved1.
27988 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
27989 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
27990 __glibc_reserved1.
27991 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
27992 macro.
27993 (ucontext_t): Use __ctx with uc_flags.
27994 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
27995 (ucontext_t): Use __ctx with uc_flags.
27996 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
27997 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
27998 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
27999 (ucontext_t): Use __ctx with uc_flags.
28000 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
28001 undefine further down.
28002 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
28003 __glibc_reserved1.
28004 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
28005 undefine further down.
28006 (ucontext_t): Use __ctx with uc_flags.
28007 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
28008 undefine further down.
28009 (ucontext_t): Use __ctx with uc_flags.
28010 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
28011 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
28012 Rename uc_pad to __glibc_reserved1.
28013 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
28014 undefine further down.
28015 (ucontext_t): Use __ctx with uc_flags.
28016 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
28017 further down.
28018 (ucontext_t): Use __ctx with uc_flags.
28019 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
28020 __ctx with uc_flags.
28021 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
28022 (ucontext_t): Use __ctx with uc_flags.
28023 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
28024 __ctx with uc_flags.
28025
28026 2017-08-09 Florian Weimer <fweimer@redhat.com>
28027
28028 [BZ #21932]
28029 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
28030 before early return.
28031
28032 2017-08-09 Andreas Schwab <schwab@suse.de>
28033
28034 [BZ #21041]
28035 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
28036 renamed alias.
28037
28038 [BZ #21041]
28039 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
28040 tst-compat-forwarder.
28041 (modules-names): Add tst-compat-forwarder-mod.
28042 ($(objpfx)tst-compat-forwarder): Depend on
28043 $(objpfx)tst-compat-forwarder-mod.so.
28044 * nptl/tst-compat-forwarder.c: New file.
28045 * nptl/tst-compat-forwarder-mod.c: New file.
28046
28047 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
28048
28049 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
28050 comments.
28051
28052 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
28053 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28054 memcpy_falkor.
28055 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
28056 Bump.
28057 (__libc_ifunc_impl_list): Add __memcpy_falkor.
28058 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
28059 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
28060 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28061 Add falkor.
28062 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
28063 New macro.
28064
28065 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28066
28067 [BZ #759]
28068 * manual/setjmp.texi (getcontex): Document uc_stack value
28069 compatibility differences.
28070
28071 2017-08-08 Joseph Myers <joseph@codesourcery.com>
28072
28073 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
28074 (old_malloc_hook): Likewise.
28075 (old_memalign_hook): Likewise.
28076 (old_realloc_hook): Likewise.
28077 (struct hdr): Likewise.
28078 (flood): Likewise.
28079 (freehook): Likewise.
28080 (mallochook): Likewise.
28081 (memalignhook): Likewise.
28082 (reallochook): Likewise.
28083 (mprobe): Likewise.
28084 * malloc/mtrace.c (mallwatch): Likewise.
28085 (tr_old_free_hook): Likewise.
28086 (tr_old_malloc_hook): Likewise.
28087 (tr_old_realloc_hook): Likewise.
28088 (tr_old_memalign_hook): Likewise.
28089 (tr_where): Likewise.
28090 (lock_and_info): Likewise.
28091 (tr_freehook): Likewise.
28092 (tr_mallochook): Likewise.
28093 (tr_reallochook): Likewise.
28094 (tr_memalignhook): Likewise.
28095 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
28096 * misc/mmap.c (__mmap): Likewise.
28097 * misc/mmap64.c (__mmap64): Likewise.
28098 * misc/mprotect.c (__mprotect): Likewise.
28099 * misc/msync.c (msync): Likewise.
28100 * misc/munmap.c (__munmap): Likewise.
28101 * posix/posix_madvise.c (posix_madvise): Likewise.
28102 * socket/send.c (__send): Likewise.
28103 * socket/sendto.c (__sendto): Likewise.
28104 * socket/setsockopt.c (__setsockopt): Likewise.
28105 * string/memcmp.c (__ptr_t): Remove macro.
28106 (MEMCMP): Use void * instead of ptr_t.
28107 * string/memrchr.c (__ptr_t): Remove macro.
28108 (__memrchr): Use void * instead of ptr_t.
28109 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
28110 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28111 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28112 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
28113 * sysdeps/mach/msync.c (msync): Likewise.
28114 * sysdeps/mach/munmap.c (__munmap): Likewise.
28115 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
28116 Likewise.
28117 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28118 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
28119 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
28120 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
28121 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
28122 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
28123 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
28124 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
28125 Likewise.
28126 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
28127 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
28128 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
28129 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
28130 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
28131 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
28132 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
28133 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
28134 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
28135 Likewise.
28136 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
28137 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
28138 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
28139 (MEMCMP): Use void * instead of ptr_t.
28140 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
28141 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
28142
28143 2017-08-08 Florian Weimer <fweimer@redhat.com>
28144
28145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
28146 return statement.
28147
28148 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
28149
28150 [BZ #21913]
28151 * csu/libc-tls.c: Include <startup.h> first.
28152 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
28153 * elf/dl-tunables.c: Include <startup.h> first.
28154 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
28155 * sysdeps/generic/startup.h: New file.
28156 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
28157 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
28158 (I386_USE_SYSENTER): New. Defined to 0.
28159
28160 2017-08-08 Andreas Schwab <schwab@suse.de>
28161
28162 [BZ #21041]
28163 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
28164 * nptl/pt-system.c (system): Likewise.
28165
28166 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28167
28168 [BZ #21780]
28169 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
28170 EOPNOTSUPP.
28171 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
28172 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
28173 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
28174 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
28175 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
28176 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
28177 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
28178
28179 2017-08-07 Joseph Myers <joseph@codesourcery.com>
28180
28181 [BZ #21899]
28182 * bits/sigaction.h (struct sigaction): Define sa_handler and
28183 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
28184 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28185 [__USE_XOPEN_EXTENDED].
28186 (SA_RESTART): Likewise.
28187 (SA_NODEFER): Likewise.
28188 (SA_RESETHAND): Likewise.
28189 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
28190 (struct sigaction): Define sa_handler and sa_sigaction using union
28191 also for [__USE_XOPEN_EXTENDED].
28192 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28193 [__USE_XOPEN_EXTENDED].
28194 (SA_RESTART): Likewise.
28195 (SA_NODEFER): Likewise.
28196 (SA_RESETHAND): Likewise.
28197 * sysdeps/unix/sysv/linux/bits/sigaction.h
28198 (struct sigaction): Define sa_handler and sa_sigaction using union
28199 also for [__USE_XOPEN_EXTENDED].
28200 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28201 [__USE_XOPEN_EXTENDED].
28202 (SA_RESTART): Likewise.
28203 (SA_NODEFER): Likewise.
28204 (SA_RESETHAND): Likewise.
28205 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
28206 (struct sigaction): Define sa_handler and sa_sigaction using union
28207 also for [__USE_XOPEN_EXTENDED].
28208 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28209 [__USE_XOPEN_EXTENDED].
28210 (SA_RESTART): Likewise.
28211 (SA_NODEFER): Likewise.
28212 (SA_RESETHAND): Likewise.
28213 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
28214 (struct sigaction): Define sa_handler and sa_sigaction using union
28215 also for [__USE_XOPEN_EXTENDED].
28216 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28217 [__USE_XOPEN_EXTENDED].
28218 (SA_RESTART): Likewise.
28219 (SA_NODEFER): Likewise.
28220 (SA_RESETHAND): Likewise.
28221 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
28222 (struct sigaction): Define sa_handler and sa_sigaction using union
28223 also for [__USE_XOPEN_EXTENDED].
28224 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28225 [__USE_XOPEN_EXTENDED].
28226 (SA_RESTART): Likewise.
28227 (SA_NODEFER): Likewise.
28228 (SA_RESETHAND): Likewise.
28229 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
28230 (struct sigaction): Define sa_handler and sa_sigaction using union
28231 also for [__USE_XOPEN_EXTENDED].
28232 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28233 [__USE_XOPEN_EXTENDED].
28234 (SA_RESTART): Likewise.
28235 (SA_NODEFER): Likewise.
28236 (SA_RESETHAND): Likewise.
28237 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
28238 (struct sigaction): Define sa_handler and sa_sigaction using union
28239 also for [__USE_XOPEN_EXTENDED].
28240 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28241 [__USE_XOPEN_EXTENDED].
28242 (SA_RESTART): Likewise.
28243 (SA_NODEFER): Likewise. Define directly rather than as alias.
28244 (SA_RESETHAND): Likewise.
28245 (SA_INTERRUPT): Define only for [__USE_MISC].
28246 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
28247 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
28248 [__USE_MISC].
28249 (SA_STACK): Define only for [__USE_MISC].
28250 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
28251 (struct sigaction): Define sa_handler and sa_sigaction using union
28252 also for [__USE_XOPEN_EXTENDED].
28253 (SA_ONSTACK): Change [__USE_UNIX98] condition to
28254 [__USE_XOPEN_EXTENDED].
28255 (SA_RESTART): Likewise.
28256 (SA_NODEFER): Likewise.
28257 (SA_RESETHAND): Likewise.
28258 (SA_NOPTRACE): Define only for [__USE_MISC].
28259
28260 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
28261 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
28262 (struct catalog_info): Likewise.
28263 * inet/htontest.c (lo): Likewise.
28264 (foo): Likewise.
28265 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28266 * inet/inet_net.c (inet_network): Likewise.
28267 * inet/inet_netof.c (inet_netof): Likewise.
28268 * inet/rcmd.c (__ivaliduser): Likewise.
28269 (iruserok): Likewise.
28270 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
28271 * locale/programs/locale-spec.c (locale_special): Likewise.
28272 * nis/nis_findserv.c (struct findserv_req): Likewise.
28273 (__nis_findfastest_with_timeout): Likewise.
28274 * nss/test-netdb.c (test_network): Likewise.
28275 * resolv/inet_neta.c (inet_neta): Likewise.
28276 * resolv/ns_date.c (ns_datetosecs): Likewise.
28277 (SECS_PER_DAY): Likewise.
28278 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
28279 Likewise.
28280 * resolv/res_comp.c (__putlong): Likewise.
28281 (__putshort): Likewise.
28282 (_getlong): Likewise.
28283 (_getshort): Likewise.
28284 * resolv/res_debug.c (p_time): Likewise.
28285 (precsize_ntoa): Likewise.
28286 (precsize_aton): Likewise.
28287 (latlon2ul): Likewise.
28288 (loc_aton): Likewise.
28289 (loc_ntoa): Likewise.
28290 * resolv/res_hconf.c (struct netaddr): Likewise.
28291 (_res_hconf_reorder_addrs): Likewise.
28292 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
28293 (clnttcp_control): Likewise.
28294 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28295 (clntudp_control): Likewise.
28296 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
28297 (clntunix_control): Likewise.
28298 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
28299 * sunrpc/rpc/auth.h (union des_block): Likewise.
28300 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
28301 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
28302 (xdrrec_create): Likewise.
28303 (xdrrec_endofrecord): Likewise.
28304 (flush_out): Likewise.
28305 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
28306 (xdrstdio_putlong): Likewise.
28307 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
28308 Likewise.
28309
28310 * misc/sys/cdefs.h (__long_double_t): Remove.
28311 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
28312 instead of __long_double_t,
28313 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
28314
28315 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
28316
28317 * benchtests/scripts/compare_strings.py: Avoid display error when
28318 running on a text terminal.
28319
28320 * benchtests/scripts/compare_strings.py (main): Add an
28321 optional -base option.
28322 (process_results): New argument base_func.
28323
28324 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
28325 hardcoding memcpy.
28326 * benchtests/bench-memcpy-large.c (test_name): Likewise.
28327 * benchtests/bench-memcpy-random.c (test_name): Likewise.
28328
28329 2017-08-07 Andreas Schwab <schwab@suse.de>
28330
28331 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
28332 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
28333 * intl/Makefile ($(objpfx)tst-gettext.out)
28334 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
28335 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
28336 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
28337 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
28338 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
28339 * posix/Makefile ($(objpfx)globtest.out)
28340 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
28341 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
28342 ($(objpfx)tst-printf.out): Likewise.
28343 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
28344 ($(objpfx)tst-setcontext3.out): Likewise.
28345
28346 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
28347
28348 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28349 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
28350 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
28351 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
28352 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
28353 and mptan-fma.
28354 (CFLAGS-doasin-fma.c): New.
28355 (CFLAGS-dosincos-fma.c): Likewise.
28356 (CFLAGS-e_asin-fma.c): Likewise.
28357 (CFLAGS-e_atan2-fma.c): Likewise.
28358 (CFLAGS-e_exp-fma.c): Likewise.
28359 (CFLAGS-e_log-fma.c): Likewise.
28360 (CFLAGS-e_pow-fma.c): Likewise.
28361 (CFLAGS-halfulp-fma.c): Likewise.
28362 (CFLAGS-mpa-fma.c): Likewise.
28363 (CFLAGS-mpatan-fma.c): Likewise.
28364 (CFLAGS-mpatan2-fma.c): Likewise.
28365 (CFLAGS-mpexp-fma.c): Likewise.
28366 (CFLAGS-mplog-fma.c): Likewise.
28367 (CFLAGS-mpsqrt-fma.c): Likewise.
28368 (CFLAGS-mptan-fma.c): Likewise.
28369 (CFLAGS-s_atan-fma.c): Likewise.
28370 (CFLAGS-sincos32-fma.c): Likewise.
28371 (CFLAGS-slowexp-fma.c): Likewise.
28372 (CFLAGS-slowpow-fma.c): Likewise.
28373 (CFLAGS-s_sin-fma.c): Likewise.
28374 (CFLAGS-s_tan-fma.c): Likewise.
28375 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
28376 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
28377 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
28378 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
28379 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
28380 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
28381 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
28382 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
28383 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
28384 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
28385 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
28386 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
28387 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
28388 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
28389 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
28390 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
28391 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
28392 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
28393 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
28394 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
28395 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
28396 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
28397 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
28398 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
28399 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28400 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28401 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28402 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
28403 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28404 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28405 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28406
28407 2017-08-04 Joseph Myers <joseph@codesourcery.com>
28408
28409 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
28410 (min_of_type_f): New macro.
28411 (min_of_type_): Likewise.
28412 (min_of_type_l): Likewise.
28413 (min_of_type_f128): Likewise.
28414 (min_of_type): Define using __MATH_TG and taking an expression
28415 argument.
28416 (math_check_force_underflow): Pass expression instead of type to
28417 min_of_type.
28418 (math_check_force_underflow_nonneg): Likewise.
28419
28420 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28421
28422 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
28423 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
28424 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
28425
28426 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28427
28428 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28429 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
28430 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
28431 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
28432 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
28433 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
28434 memcpy_chk-nonshared, mempcpy_chk-nonshared,
28435 memmove_chk-nonshared and memset_chk-nonshared
28436 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
28437 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
28438 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
28439 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
28440 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
28441 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
28442 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
28443 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
28444 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
28445 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
28446 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
28447 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
28448 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
28449 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
28450 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
28451 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
28452 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
28453 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
28454 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
28455 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
28456 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
28457 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
28458 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
28459 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
28460 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
28461 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
28462 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
28463 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
28464 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
28465 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
28466 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
28467 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
28468 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
28469 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
28470 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
28471 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
28472 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
28473 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
28474 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
28475 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
28476 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
28477 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
28478 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
28479 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
28480 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
28481 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
28482 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
28483 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
28484 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
28485 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
28486 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
28487 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
28488 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
28489 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
28490 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
28491 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
28492 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
28493 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
28494 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
28495 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
28496 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
28497 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
28498 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
28499 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
28500 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
28501 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
28502 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
28503 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
28504 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
28505 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
28506 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
28507 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28508 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28509 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28510 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28511 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28512 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28513 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28514 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28515 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28516 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28517 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28518 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28519 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28520 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28521 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28522 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28523 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28524 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28525 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28526 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28527 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28528 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28529 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28530 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28531 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28532 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28533 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28534 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28535 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28536 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28537 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28538 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28539 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28540 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28541 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28542 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28543 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28544
28545 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28546
28547 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
28548 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
28549 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
28550 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
28551 svml_d_log2_core-sse2, svml_d_log4_core-sse,
28552 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
28553 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
28554 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
28555 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
28556 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
28557 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
28558 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
28559 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
28560 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
28561 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
28562 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
28563 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
28564 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
28565 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
28566 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
28567 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
28568 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
28569 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
28570 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
28571 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
28572 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
28573 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
28574 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
28575 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
28576 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
28577 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
28578 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
28579 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
28580 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
28581 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
28582 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
28583 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
28584 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
28585 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
28586 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
28587 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
28588 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
28589 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
28590 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
28591 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
28592 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
28593 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
28594 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
28595 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
28596 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
28597 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
28598 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
28599 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
28600 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
28601 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
28602 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
28603 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
28604 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
28605 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
28606 ...
28607 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
28608 Don't include <sysdep.h> nor <init-arch.h>.
28609 (_ZGVbN2v_cos): Removed.
28610 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
28611 ...
28612 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
28613 Don't include <sysdep.h> nor <init-arch.h>.
28614 (_ZGVdN4v_cos): Removed.
28615 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
28616 ...
28617 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
28618 Don't include <sysdep.h> nor <init-arch.h>.
28619 (_ZGVeN8v_cos): Removed.
28620 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
28621 ...
28622 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
28623 Don't include <sysdep.h> nor <init-arch.h>.
28624 (_ZGVbN2v_exp): Removed.
28625 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
28626 ...
28627 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
28628 Don't include <sysdep.h> nor <init-arch.h>.
28629 (_ZGVdN4v_exp): Removed.
28630 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
28631 ...
28632 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
28633 Don't include <sysdep.h> nor <init-arch.h>.
28634 (_ZGVeN8v_exp): Removed.
28635 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
28636 ...
28637 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
28638 Don't include <sysdep.h> nor <init-arch.h>.
28639 (_ZGVbN2v_log): Removed.
28640 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
28641 ...
28642 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
28643 Don't include <sysdep.h> nor <init-arch.h>.
28644 (_ZGVdN4v_log): Removed.
28645 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
28646 ...
28647 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
28648 Don't include <sysdep.h> nor <init-arch.h>.
28649 (_ZGVeN8v_log): Removed.
28650 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
28651 ...
28652 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
28653 Don't include <sysdep.h> nor <init-arch.h>.
28654 (_ZGVbN2vv_pow): Removed.
28655 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
28656 ...
28657 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
28658 Don't include <sysdep.h> nor <init-arch.h>.
28659 (_ZGVdN4vv_pow): Removed.
28660 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
28661 ...
28662 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
28663 Don't include <sysdep.h> nor <init-arch.h>.
28664 (_ZGVeN8vv_pow): Removed.
28665 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
28666 ...
28667 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
28668 Don't include <sysdep.h> nor <init-arch.h>.
28669 (_ZGVbN2v_sin): Removed.
28670 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
28671 ...
28672 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
28673 Don't include <sysdep.h> nor <init-arch.h>.
28674 (_ZGVbN4v_sin): Removed.
28675 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
28676 ...
28677 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
28678 Don't include <sysdep.h> nor <init-arch.h>.
28679 (_ZGVbN8v_sin): Removed.
28680 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
28681 ...
28682 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
28683 Don't include <sysdep.h> nor <init-arch.h>.
28684 (_ZGVbN2vvv_sincos): Removed.
28685 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
28686 ...
28687 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
28688 Don't include <sysdep.h> nor <init-arch.h>.
28689 (_ZGVdN4vvv_sincos): Removed.
28690 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
28691 ...
28692 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
28693 Don't include <sysdep.h> nor <init-arch.h>.
28694 (_ZGVeN8vvv_sincos): Removed.
28695 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
28696 ...
28697 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
28698 Don't include <sysdep.h> nor <init-arch.h>.
28699 (_ZGVeN16v_cosf): Removed.
28700 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
28701 ...
28702 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
28703 Don't include <sysdep.h> nor <init-arch.h>.
28704 (_ZGVbN4v_cosf): Removed.
28705 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
28706 ...
28707 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
28708 Don't include <sysdep.h> nor <init-arch.h>.
28709 (_ZGVdN8v_cosf): Removed.
28710 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
28711 ...
28712 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
28713 Don't include <sysdep.h> nor <init-arch.h>.
28714 (_ZGVeN16v_expf): Removed.
28715 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
28716 ...
28717 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
28718 Don't include <sysdep.h> nor <init-arch.h>.
28719 (_ZGVbN4v_expf): Removed.
28720 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
28721 ...
28722 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
28723 Don't include <sysdep.h> nor <init-arch.h>.
28724 (_ZGVdN8v_expf): Removed.
28725 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
28726 ...
28727 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
28728 Don't include <sysdep.h> nor <init-arch.h>.
28729 (_ZGVeN16v_logf): Removed.
28730 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
28731 ...
28732 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
28733 Don't include <sysdep.h> nor <init-arch.h>.
28734 (_ZGVbN4v_logf): Removed.
28735 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
28736 ...
28737 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
28738 Don't include <sysdep.h> nor <init-arch.h>.
28739 (_ZGVdN8v_logf): Removed.
28740 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
28741 ...
28742 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
28743 Don't include <sysdep.h> nor <init-arch.h>.
28744 (_ZGVeN16vv_powf): Removed.
28745 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
28746 ...
28747 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
28748 Don't include <sysdep.h> nor <init-arch.h>.
28749 (_ZGVbN4vv_powf): Removed.
28750 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
28751 ...
28752 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
28753 Don't include <sysdep.h> nor <init-arch.h>.
28754 (_ZGVdN8vv_powf): Removed.
28755 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
28756 ...
28757 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
28758 Don't include <sysdep.h> nor <init-arch.h>.
28759 (_ZGVeN16vvv_sincosf): Removed.
28760 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
28761 ...
28762 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
28763 Don't include <sysdep.h> nor <init-arch.h>.
28764 (_ZGVbN4vvv_sincosf): Removed.
28765 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
28766 ...
28767 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
28768 Don't include <sysdep.h> nor <init-arch.h>.
28769 (_ZGVdN8vvv_sincosf): Removed.
28770 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
28771 ...
28772 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
28773 Don't include <sysdep.h> nor <init-arch.h>.
28774 (_ZGVeN16v_sinf): Removed.
28775 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
28776 ...
28777 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
28778 Don't include <sysdep.h> nor <init-arch.h>.
28779 (_ZGVbN4v_sinf): Removed.
28780 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
28781 ...
28782 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
28783 Don't include <sysdep.h> nor <init-arch.h>.
28784 (_ZGVdN8v_sinf): Removed.
28785
28786 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28787
28788 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28789 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
28790 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
28791 s_rint-sse4_1 and s_rintf-sse4_1.
28792 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
28793 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
28794 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
28795 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
28796 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
28797 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
28798 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
28799 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
28800 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
28801 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
28802 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
28803 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28804 (__ceil): Removed.
28805 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
28806 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
28807 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28808 (__ceilf): Removed.
28809 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
28810 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
28811 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28812 (__floor): Removed.
28813 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
28814 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
28815 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28816 (__floorf): Removed.
28817 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
28818 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
28819 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28820 (__nearbyint): Removed.
28821 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
28822 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
28823 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28824 (__nearbyintf): Removed.
28825 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
28826 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
28827 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28828 (__rint): Removed.
28829 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
28830 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
28831 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
28832 (__rintf): Removed.
28833
28834 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28835
28836 * sysdeps/i386/start.S (_start): Check Check PIC instead of
28837 SHARED. Avoid dynamic relocation against main in static PIE.
28838
28839 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28840
28841 [BZ #21815]
28842 * elf/Makefile (CFLAGS-tst-prelink.c): New.
28843 (LDFLAGS-tst-prelink): Likewise.
28844
28845 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28846
28847 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
28848 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
28849 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
28850 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
28851 (INTERNAL_SYSCALL_NCS): Likewise.
28852 (LOADARGS_1): Likewise.
28853 (LOADARGS_5): Likewise.
28854 (RESTOREARGS_1): Likewise.
28855 (RESTOREARGS_5): Likewise.
28856
28857 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28858
28859 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
28860 (MEMPCPY_SYMBOL): Likewise.
28861 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28862 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
28863 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
28864 in libc.a.
28865 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28866 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
28867 Likewise.
28868 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
28869 (__hidden_ver1): Don't use in libc.a.
28870 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
28871 (__mempcpy): Don't create a weak alias in libc.a.
28872 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
28873 libc.a.
28874 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
28875 (__hidden_ver1): Don't use in libc.a.
28876
28877 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28878
28879 * config.make.in (have-insert): New.
28880 * configure.ac (libc_cv_insert): New. Set to yes if linker
28881 supports INSERT in linker script.
28882 (AC_SUBST(libc_cv_insert): New.
28883 * configure: Regenerated.
28884 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
28885 if $(have-insert) == yes.
28886
28887 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28888
28889 * elf/Makefile (tests): Add vismain only if
28890 $(have-protected-data) == yes.
28891 (tests-pie): Likewise.
28892
28893 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28894
28895 [BZ #21871]
28896 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
28897 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
28898
28899 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
28900
28901 [BZ #21790]
28902 * sysdeps/i386/i586/memset.S
28903 (__memset_zero_constant_len_parameter): Removed.
28904 * sysdeps/i386/i686/memset.S
28905 (__memset_zero_constant_len_parameter): Likewise.
28906 * sysdeps/i386/i686/multiarch/memset_chk.S
28907 (__memset_zero_constant_len_parameter): Likewise.
28908 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
28909 Likewise.
28910
28911 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
28912
28913 * stdlib/getentropy.c (getentropy): Change return type to int.
28914
28915 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
28916
28917 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
28918
28919 2017-08-03 Joseph Myers <joseph@codesourcery.com>
28920
28921 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
28922 u_intN_t.
28923 * math/s_nexttowardf.c (__nexttowardf): Likewise.
28924 * sysdeps/generic/math_private.h (ieee_double_shape_type):
28925 Likewise.
28926 (ieee_float_shape_type): Likewise.
28927 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
28928 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
28929 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
28930 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28931 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28932 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
28933 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
28934 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
28935 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
28936 Likewise.
28937 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
28938 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28939 (__ieee754_yn): Likewise.
28940 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28941 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28942 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
28943 Likewise.
28944 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28945 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
28946 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
28947 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
28948 (__erfc): Likewise.
28949 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
28950 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
28951 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
28952 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
28953 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
28954 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
28955 Likewise.
28956 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
28957 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
28958 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
28959 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
28960 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
28961 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
28962 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
28963 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
28964 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
28965 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
28966 (__issignaling): Likewise.
28967 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
28968 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
28969 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
28970 Likewise.
28971 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28972 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28973 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
28974 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
28975 Likewise.
28976 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
28977 Likewise.
28978 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
28979 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
28980 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
28981 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
28982 (__erfcf): Likewise.
28983 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
28984 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
28985 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
28986 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
28987 Likewise.
28988 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
28989 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
28990 Likewise.
28991 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
28992 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
28993 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
28994 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
28995 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
28996 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28997 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
28998 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
28999 Likewise.
29000 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
29001 Likewise.
29002 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
29003 Likewise.
29004 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
29005 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29006 Likewise.
29007 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29008 Likewise.
29009 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29010 (__ieee754_ynl): Likewise.
29011 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
29012 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
29013 Likewise.
29014 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
29015 Likewise.
29016 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
29017 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
29018 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29019 Likewise.
29020 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
29021 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
29022 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
29023 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
29024 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
29025 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
29026 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
29027 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
29028 Likewise.
29029 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
29030 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
29031 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
29032 Likewise.
29033 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
29034 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
29035 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
29036 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
29037 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
29038 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29039 Likewise.
29040 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
29041 Likewise.
29042 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29043 Likewise.
29044 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29045 Likewise.
29046 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
29047 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29048 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29049 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
29050 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
29051 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
29052 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
29053 Likewise.
29054 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29055 Likewise.
29056 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29057 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29058 Likewise.
29059 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
29060 (__ieee754_remainderl): Likewise.
29061 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29062 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29063 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29064 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29065 Likewise.
29066 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29067 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29068 Likewise.
29069 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29070 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
29071 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
29072 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
29073 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
29074 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29075 Likewise.
29076 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
29077 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
29078 (__ieee754_y0l): Likewise.
29079 (pzero): Likewise.
29080 (qzero): Likewise.
29081 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29082 (__ieee754_y1l): Likewise.
29083 (pone): Likewise.
29084 (qone): Likewise.
29085 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29086 (__ieee754_ynl): Likewise.
29087 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
29088 (__ieee754_lgammal_r): Likewise.
29089 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
29090 Likewise.
29091 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
29092 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
29093 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
29094 (__erfcl): Likewise.
29095 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
29096 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
29097 Likewise.
29098 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
29099 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
29100 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
29101 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
29102 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
29103 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29104 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29105 Likewise.
29106 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
29107 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29108 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
29109 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
29110 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29111 Likewise.
29112 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
29113 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
29114 Likewise.
29115 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
29116 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
29117 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
29118 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
29119 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
29120
29121 2017-08-03 Florian Weimer <fweimer@redhat.com>
29122
29123 [BZ #21885]
29124 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
29125 on memory allocation failure.
29126
29127 2017-08-03 Alan Modra <amodra@gmail.com>
29128
29129 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
29130 tst-tlsopt-powerpc.c with function name change and no test harness.
29131 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
29132 Call tls_get_addr_opt_test.
29133 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
29134 (modules-names): Add mod-tlsopt-powerpc.
29135 (mod-tlsopt-powerpc.so-no-z-defs): Define.
29136 (tst-tlsopt-powerpc): Depend on .so.
29137 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
29138 define. Expand use in TLS_GD and TLS_LD.
29139
29140 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29141
29142 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
29143 function.
29144 * sysdeps/posix/shm_open.c: Include <pthread.h>.
29145
29146 2017-08-02 Joseph Myers <joseph@codesourcery.com>
29147
29148 [BZ #21686]
29149 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
29150 comparing size with that of double.
29151 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
29152 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
29153 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
29154 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
29155 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29156 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
29157 unsigned __int128 types.
29158
29159 2017-08-02 Steve Ellcey <sellcey@cavium.com>
29160
29161 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
29162 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
29163 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
29164 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
29165 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
29166
29167 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
29168
29169 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
29170
29171 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
29172
29173 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
29174 of SHARED.
29175 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
29176 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29177 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29178 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29179 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29180 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29181 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29182
29183 2017-08-02 Joseph Myers <joseph@codesourcery.com>
29184
29185 [BZ #21685]
29186 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
29187 bit-field expressions passed to sizeof or typeof.
29188 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29189 (__TGMATH_F128): Likewise.
29190 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29191 (__TGMATH_CF128): Likewise.
29192 (__TGMATH_UNARY_REAL_ONLY): Likewise.
29193 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
29194 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
29195 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
29196 (__TGMATH_BINARY_REAL_ONLY): Likewise.
29197 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
29198 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
29199 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
29200 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
29201 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
29202 (__TGMATH_UNARY_REAL_IMAG): Likewise.
29203 (__TGMATH_UNARY_IMAG): Likewise.
29204 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
29205 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29206 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
29207 type.
29208 (define_vars_for_type): Handle bit_field type specially.
29209 (Tests.__init__): Declare structure with bit-field element.
29210
29211 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
29212
29213 [BZ #21791]
29214 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
29215 (MEMCPY_CHK): Define only if SHARED is defined.
29216 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
29217 Likewise.
29218 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
29219 Likewise.
29220
29221 See ChangeLog.18 for earlier changes.