]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Makeconfig: Move $(CC) to +link command variables
[thirdparty/glibc.git] / ChangeLog
1 2019-04-26 Florian Weimer <fweimer@redhat.com>
2
3 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
5 (+link-static-before-libc): Remove $(CC).
6 (+link-static, +link-static-tests): Add $(CC).
7 (+link-before-libc): Remove $(CC).
8 (+link, +link-pie, +link-pie-printers): Add $(CC).
9
10 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
11
12 [BZ#24484]
13 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
14
15 2019-04-25 Florian Weimer <fweimer@redhat.com>
16
17 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
18 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
19 (bench-link-targets): New variable.
20 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
21
22 2019-04-25 Florian Weimer <fweimer@redhat.com>
23
24 Also enable BIND_NOW for programs if --enable-bind-now.
25 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
26 (+link-pie): Use $(link-extra-flags).
27 (+link-static): Likewise.
28 [! $(build-pie-default)] (+link): Likewise.
29 * manual/install.texi (Configuring and compiling): Update
30 --enable-bind-now description.
31 * INSTALL: Regenerated.
32
33 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
34
35 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
36 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
37
38 2019-04-24 Mike Frysinger <vapier@gentoo.org>
39
40 [BZ #18465]
41 * malloc/Makefile (others): Add memusagestat.
42 ($(objpfx)memusagestat): Delete rule.
43 (LDLIBS-memusagestat): New variable.
44
45 2019-04-24 Florian Weimer <fweimer@redhat.com>
46
47 * locale/Makefile (tests-special): Guard setting by
48 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
49 to run while cross-compiling.
50
51 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
52
53 [BZ #18035]
54 * elf/Makefile (tests-container): Add tst-pldd.
55 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
56 (E(find_maps)): Avoid use alloca, use default read file operations
57 instead of explicit LFS names, and fix infinite loop.
58 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
59 (get_process_info): Use _Static_assert instead of assert, use default
60 directory operations instead of explicit LFS names, and free some
61 leadek pointers.
62 * elf/tst-pldd.c: New file.
63
64 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
65
66 * malloc/arena.c (do_set_mallopt_check): Removed.
67
68 2019-04-23 Florian Weimer <fweimer@redhat.com>
69
70 locale: Add LOCPATH diagnostics to the locale program.
71 * locale/programs/locale.c (setlocale_failed): New variable.
72 (try_setlocale): New function.
73 (quote_string): Likewise.
74 (setlocale_diagnostics): Likewise.
75 (main): Call try_setlocale instead of setlocale. Call
76 setlocale_diagnostics.
77 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
78 (tst-locale-locpath.out): New target.
79 * locale/tst-locale-locpath.sh: New file.
80
81 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
82
83 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
84 to 2.30 notes.
85
86 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
87
88 [BZ #23741]
89 * malloc/hooks.c (malloc_check, realloc_check): Use
90 __builtin_add_overflow on overflow check and adapt to
91 checked_request2size change.
92 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
93 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
94 allocation size to PTRDIFF_MAX.
95 (REQUEST_OUT_OF_RANGE): Remove macro.
96 (checked_request2size): Change to inline function and limit maximum
97 requested size to PTRDIFF_MAX.
98 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
99 maximum allocation size to PTRDIFF_MAX.
100 (_mid_memalign): Use _int_memalign call for overflow check.
101 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
102 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
103 limit maximum requested size to PTRDIFF_MAX.
104 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
105 valloc, pvalloc): Add __attribute_alloc_size__.
106 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
107 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
108 larger than PTRDIFF_MAX.
109 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
110 around tests of malloc with negative sizes.
111 * malloc/tst-posix_memalign.c (do_test): Likewise.
112 * malloc/tst-pvalloc.c (do_test): Likewise.
113 * malloc/tst-valloc.c (do_test): Likewise.
114 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
115 with resulting size allocation larger than PTRDIFF_MAX with
116 reallocarray_nowarn.
117 (reallocarray_nowarn): New function.
118 * NEWS: Mention the malloc function semantic change.
119
120 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
121
122 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
123 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
124
125 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
126 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
127 * sysdeps/powerpc/fpu/s_fma.c: New file.
128 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
129
130 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
131 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
132
133 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
134 the magic flag store.
135 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
136 Likewise.
137 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
138 Likewise.
139 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
140 Remove rt_sigreturn call.
141
142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
143 Remove rt_sigreturn call.
144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
145 Likewise.
146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
148
149 * support/Makefile (libsupport-routines): Add support_subprocess,
150 xposix_spawn, xposix_spawn_file_actions_addclose, and
151 xposix_spawn_file_actions_adddup2.
152 (tst-support_capture_subprocess-ARGS): New rule.
153 * support/capture_subprocess.h (support_capture_subprogram): New
154 prototype.
155 * support/support_capture_subprocess.c (support_capture_subprocess):
156 Refactor to use support_subprocess and support_capture_poll.
157 (support_capture_subprogram): New function.
158 * support/tst-support_capture_subprocess.c (write_mode_to_str,
159 str_to_write_mode, test_common, parse_int, handle_restart,
160 do_subprocess, do_subprogram, do_multiple_tests): New functions.
161 (do_test): Add support_capture_subprogram tests.
162 * support/subprocess.h: New file.
163 * support/support_subprocess.c: Likewise.
164 * support/xposix_spawn.c: Likewise.
165 * support/xposix_spawn_file_actions_addclose.c: Likewise.
166 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
167 * support/xspawn.h: Likewise.
168
169 2019-04-17 Mike Gerow <gerow@google.com>
170
171 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
172 groups limit.
173
174 2019-04-11 Florian Weimer <fweimer@redhat.com>
175
176 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
177 domain with empty string.
178 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
179
180 2019-04-11 Florian Weimer <fweimer@redhat.com>
181
182 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
183 comment.
184 (alloc_buffer_next): Change return type to non-const. Update
185 comment.
186
187 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
188
189 * manual/time.texi (Formatting Calendar Time): Add missing percent
190 sign to conversion specifier.
191
192 2019-04-09 Carlos O'Donell <carlos@redhat.com>
193 Kwok Cheung Yeung <kcy@codesourcery.com>
194
195 [BZ #16573]
196 * malloc/mtrace.c: Define prototypes for all hooks.
197 (set_default_hooks): New function.
198 (set_trace_hooks): Likewise.
199 (save_default_hooks): Likewise.
200 (tr_freehook): Use new s*_hooks functions.
201 (tr_mallochook): Likewise.
202 (tr_reallochook): Likewise.
203 (tr_memalignhook): Likewise.
204 (mtrace): Likewise.
205 (muntrace): Likewise.
206
207 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
208
209 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
210 (generic_stpcpy): New function.
211 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
212 (generic_stpncpy): New function.
213 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
214 (generic_strcat): New function.
215 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
216 (generic_strcpy): New function.
217 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
218 (STUPID_STRNCAT): Remove function.
219 (generic_strncat): New function.
220 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
221 (STUPID_STRNCPY): Remove function.
222 (generic_strncpy): New function.
223 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
224 (generic_strnlen): New function.
225 (memchr_strnlen): New function.
226 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
227 (memchr_strlen): Likewise.
228
229 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
230
231 * benchtests/bench-strstr.c (input): Add realistic input text.
232 (stupid_strstr): Remove function.
233 (basic_strstr): Add function.
234 (twoway_strstr): Add function.
235 (do_one_test): Add result checking.
236 (do_test): Use new input text. Remove accidental early matches.
237 (test_main): Improve range of tests, reduce unaligned cases.
238
239 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
240
241 * benchtests/bench-memmem.c (simple_memmem): Remove function.
242 (basic_memmem): Add function.
243 (twoway_memmem): Add function.
244
245 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
246
247 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
248 * benchtests/bench-malloc-thread.c: Likewise.
249 * benchtests/bench-skeleton.c: Likewise.
250 * benchtests/bench-strtod.c: Likewise.
251 * benchtests/bench-timing.h: Likewise.
252
253 2019-04-08 Florian Weimer <fweimer@redhat.com>
254
255 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
256 definitions.
257 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
258 RES_INSECURE2 security checks.
259 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
260 RES_INSECURE2 handling.
261
262 2019-04-08 Florian Weimer <fweimer@redhat.com>
263
264 resolv: Remove support for RES_USE_INET6 and the inet6 option.
265 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
266 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
267 GETHOSTBYNAME.
268 * resolv/Makefile (tests): Remove tst-res_use_inet6.
269 (tests-internal): Update justification for tst-resolv-res_init,
270 tst-resolv-res_init-thread.
271 (tst-res_use_inet6): Remove target.
272 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
273 * resolv/res_debug.c (p_option): Remove "inet6" support.
274 * resolv/res_init.c (res_setoptions): Likewise.
275 * resolv/res_use_inet6.h: Remove file.
276 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
277 definition.
278 (res_use_inet6): Always return false.
279 * resolv/resolv.h (RES_USE_INET6): Remove definition.
280 * resolv/resolv_context.h: Adjust file comment.
281 (struct resolv_context): Update comment on __next field.
282 (__resolv_context_put): Update comment.
283 * resolv/tst-res_use_inet6.c: Remove file.
284 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
285 "inet6" support.
286 (test_cases): Adjust test case.
287 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
288 (thread_byname2_af_inet6): Use old byname_inet6 code.
289 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
290 (gai): Remove do_inet6 argument.
291 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
292 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
293 (thread_gai_unspec_inet6): Remove functions.
294 (do_test): Adjust thread_funcs.
295 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
296 RES_USE_INET6 flag.
297 (gaih_inet): Do not disable RES_USE_INET6 flag.
298
299 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
300
301 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
302 and remove redundant code.
303
304 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
305
306 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
307 New rule.
308 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
309 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
310 Likewise.
311 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
312 Likewise.
313 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
314 Likewise.
315 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
316 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
317 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
318 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
319 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
320 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
321 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
322 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
323 wcsrchr-power7.
324 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
325 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
327 Remove wcsrchr optimizations.
328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
329
330 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
331 the loop unroll.
332
333 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
334 New rule.
335 * sysdeps/powerpc/power6/wcschr.c: Remove file.
336 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
337 Likewise.
338 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
339 Likewise.
340 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
341 Likewise.
342 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
343 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
344 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
345 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
346 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
347 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
348 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
349 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
350 wcschr-power7.
351 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
354 Remove wcschr optimizations.
355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
356
357 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
358 the loop unroll.
359
360 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
361 New rule.
362 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
363 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
364 Likewise.
365 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
366 Likewise.
367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
368 Likewise.
369 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
370 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
371 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
372 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
373 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
374 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
376 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
377 wcscpy-power7.
378 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
380 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
381 Remove wcscpy optimizations.
382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
383
384 * include/loop_unroll.h: New file.
385 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
386 besides generic implementation.
387
388 2019-04-03 DJ Delorie <dj@redhat.com>
389
390 * time/tst-strftime3.c (tm_to_printed): Disable warning about
391 snprintf truncating output.
392
393 2019-04-02 DJ Delorie <dj@redhat.com>
394
395 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
396 warning.
397
398 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
399
400 [BZ #22964]
401 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
402 era.
403 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
404 (mkreftable): Add rules for the new Japanese era and the new dates.
405
406 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
407 Rafal Luzynski <digitalfreak@lingonborough.com>
408
409 * time/tst-strftime2.c (date_t): Explicitly define the type.
410 (dates): Use natural month and year numbers to express a date.
411 (is_before): New function to compare dates.
412 (mkreftable): Minor improvements to simplify maintenance.
413 (do_test): Reflect the changes in dates array.
414
415 [BZ #24293]
416 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
417 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
418 * time/tst-strftime2.c (locales): Likewise.
419 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
420 2010-04-01, and 2011-04-01.
421 (mkreftable): Add rules for the new locales and the new dates.
422
423 2019-04-01 Carlos O'Donell <carlos@redhat.com>
424
425 * localedata/locales/ja_JP: Add comments to era entries.
426
427 2019-04-01 DJ Delorie <dj@redhat.com>
428
429 [BZ #24394]
430 * time/strptime_l.c (%Ey): Fix fencepost error.
431 * time/tst-strftime3.c: New.
432 * time/Makefile (tests): Add tst-strftime3.
433
434 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
435
436 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
437 conditional branch to DIVBYZERO. Fix unwind info.
438 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
439 excb after conditional branch to $powerof2. Add missing unop
440 instructions and .align directives and reorder instructions to
441 match __divqu.
442
443 2019-04-01 Richard Henderson <rth@twiddle.net>
444
445 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
446 Do not redefine.
447 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
448 Do not redefine.
449
450 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
451
452 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
453 $libc_cv_riscv_float_abi in `test' invocation.
454 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
455
456 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
457
458 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
459 asm with builtin.
460 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
461 Likewise.
462 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
463 (_GET_SI_FPSCR): Likewise.
464 (_SET_SI_FPSCR): Likewise.
465
466 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
467
468 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
469 clang 2.8.
470 (signbit): Use builtin for clang 3.3.
471 (isinf): Use builtin for clang 3.7.
472
473 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
474
475 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
476
477 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
478
479 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
480 quote in printf.
481
482 2019-03-25 Mike Crowe <mac@mcrowe.com>
483
484 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
485 pthread_rwlock_timedrdlock with calls to
486 pthread_rwlock_timedwrlock to ensure that the latter is tested
487 too. Use new function name in diagnostic messages too.
488
489 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
490 (do_test) Use libsupport test macros rather than hand-coded
491 conditionals and error messages. Ensure that sem_init returns zero
492 rather than not -1. Use <support/test-driver.c> rather than
493 test-skeleton.c.
494
495 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
496 test macros rather than hand-coded conditionals and error messages.
497 Use <support/test-driver.c> rather than test-skeleton.c.
498
499 2019-03-25 Joseph Myers <joseph@codesourcery.com>
500
501 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
502
503 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
504 (NT_MIPS_MSA): Likewise.
505
506 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
507
508 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
509 * benchtests/README: Update description.
510 * benchtests/bench-timing.h: Default to hp-timing.
511 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
512 HP_TIMING_PRINT): Remove.
513 (HP_TIMING_NOW): Add generic implementation.
514 (hp_timing_t): Change to uint64_t.
515
516 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
517 HP_TIMING_INLINE.
518 * nptl/descr.h: Likewise.
519 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
520 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
521 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
522 Abstract hp-timing usage with RTLD_* macros.
523 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
524 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
525 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
526 HP_TIMING_NONAVAIL): Likewise.
527 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
528 Likewise.
529 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
530 HP_SMALL_TIMING_AVAIL): Likewise.
531 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
532 HP_SMALL_TIMING_AVAIL): Likewise.
533 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
534 HP_SMALL_TIMING_AVAIL): Likewise.
535 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
536 HP_SMALL_TIMING_AVAIL): Likewise.
537 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
538 Likewise.
539 * sysdeps/generic/hp-timing-common.h: Update comment with
540 HP_TIMING_AVAIL removal.
541
542 * include/random-bits.h: New file.
543 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
544 (__res_context_mkquery): Remove usage hp-timing usage and replace with
545 random_bits.
546 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
547 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
548 Likewise.
549
550 * include/libc-internal.h (__get_clockfreq): Remove prototype.
551 * rt/Makefile (clock-routines): Remove get_clockfreq.
552 * rt/get_clockfreq.c: Remove file.
553 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
554 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
555 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
556 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
557 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
558
559 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
560 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
561 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
562 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
563 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
564
565 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
566 pthread_clock_settime.
567 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
568 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
569 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
570 * elf/rtld.c (_dl_start_final): Likewise.
571 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
572 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
573 Remove.
574 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
575 (_dl_cpuclock_offset): Remove.
576 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
577 cpuclock_offset_ununsed.
578 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
579 cpuclock_offset set.
580 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
581 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
582 * nptl/pthread_clock_gettime.c: Remove file.
583 * nptl/pthread_clock_settime.c: Likewise.
584 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
585 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
586 and CLOCK_PROCESS_CPUTIME_ID support.
587 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
588 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
589 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
590 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
591 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
592 Likewise.
593 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
594
595 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
596
597 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
598 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
599 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
600 New defines.
601 * sysdeps/s390/memmem-arch13.S: New file.
602 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
603 if it is only used as fallback.
604 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
605 * sysdeps/s390/multiarch/ifunc-impl-list.c
606 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
607
608 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
609
610 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
611 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
612 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
613 New defines.
614 * sysdeps/s390/multiarch/ifunc-impl-list.c
615 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
616 * sysdeps/s390/strstr-arch13.S: New file.
617 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
618 if it is only used as fallback.
619 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
620
621 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
622
623 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
624 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
625 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
626 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
627 ifunc selector.
628 * sysdeps/s390/multiarch/ifunc-impl-list.c
629 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
630 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
631 S390_IS_ARCH13_MIE3): New defines.
632
633 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
634
635 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
636 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
637 * sysdeps/s390/configure.ac: Add checks for arch13 support.
638 * sysdeps/s390/configure: Regenerated.
639
640 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
641
642 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
643 Add vxe2, vxp, dflt, sort flags.
644 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
645 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
646 capabilities.
647 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
648 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
649 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
650 HWCAP_S390_DFLT): Define.
651
652 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
653
654 [BZ #24372]
655 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
656 of compiler warning.
657 * locale/programs/ld-collate.c (collate_output): Likewise.
658
659 2019-03-21 DJ Delorie <dj@redhat.com>
660
661 [BZ #24372]
662 * iconv/iconvconfig.c (write_output): Replace floating point math
663 with integer math to avoid imprecise results.
664 * locale/programs/ld-collate.c (collate_output): Likewise.
665
666 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
667
668 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
669 Add HWCAP_S390_VX and HWCAP_S390_VXE.
670
671 2019-03-20 mansayk <6688000@gmail.com>
672
673 [BZ #24296]
674 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
675 (abday): Likewise, but remove the trailing dots.
676
677 2019-03-19 Joseph Myers <joseph@codesourcery.com>
678
679 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
680 macro.
681 (HWCAP_PACA): Likewise.
682 (HWCAP_PACG): Likewise.
683 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
684 Increase to 32.
685 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
686
687 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
688
689 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
690 should be handled.
691
692 2019-03-15 Joseph Myers <joseph@codesourcery.com>
693
694 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
695 version to 5.0.
696 (old_getpagesize): New syscall.
697
698 2019-03-15 Felix Yan <felixonmars@archlinux.org>
699
700 [BZ #24293]
701 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
702 * localedata/locales/cmn_TW (era): Likewise.
703 * localedata/locales/hak_TW (era): Likewise.
704 * localedata/locales/lzh_TW (era): Likewise.
705 * localedata/locales/nan_TW (era): Likewise.
706
707 2019-03-14 Florian Weimer <fweimer@redhat.com>
708
709 Remove obsolete, never-implemented XSI STREAMS declarations.
710 * manual/terminal.texi (Allocation): Remove portability note and
711 adjust example.
712 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
713 _SC_STREAMS.
714 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
715 * sysdeps/unix/inet/Subdirs (streams): Remove.
716 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
717 (conformtest-headers-UNIX98): Likewise.
718 (conformtest-headers-XOPEN2K): Likewise.
719 (conformtest-headers-POSIX2008): Likewise.
720 * posix/compat-streams.c: New file.
721 * posix/Makefile (routines): Add it.
722 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
723 getpmsg, isastream, putmsg, putpmsg.
724 (GLIBC_2.30): New section.
725 * bits/stropts.h: Remove file.
726 * bits/xtitypes.h: Likewise.
727 * conform/data/stropts.h-data: Likewise.
728 * include/stropts.h: Likewise.
729 * include/sys/stropts.h: Likewise.
730 * include/xtitypes.h: Likewise.
731 * streams/Makefile: Likewise.
732 * streams/fattach.c: Likewise.
733 * streams/fdetach.c: Likewise.
734 * streams/getmsg.c: Likewise.
735 * streams/getpmsg.c: Likewise.
736 * streams/isastream.c: Likewise.
737 * streams/putmsg.c: Likewise.
738 * streams/putpmsg.c: Likewise.
739 * streams/stropts.h: Likewise.
740 * streams/sys/stropts.h: Likewise.
741 * sysdeps/ia64/bits/xtitypes.h: Likewise.
742 * sysdeps/s390/bits/xtitypes.h: Likewise.
743 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
744 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
745 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
746 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
747 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
748 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
749 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
750 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
751 * sysdeps/x86/bits/xtitypes.h: Likewise.
752
753 2019-03-14 Florian Weimer <fweimer@redhat.com>
754
755 * nss/tst-nss-files-alias-truncated.c (do_test): Load
756 libnss_files.
757 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
758 but not with libnss_files.
759 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
760
761 2019-03-14 Zack Weinberg <zackw@panix.com>
762
763 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
764 Specify encoding="utf-8" when opening headers to check.
765
766 2019-03-13 Joseph Myers <joseph@codesourcery.com>
767
768 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
769 version to 5.0.
770 (Context.checkout_tar): Handle variable major version for Linux
771 kernel.
772
773 2019-03-13 Florian Weimer <fweimer@redhat.com>
774
775 [BZ #24047]
776 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
777
778 2019-03-13 Zack Weinberg <zackw@panix.com>
779
780 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
781 Move to stdlib.
782 * include/inttypes.h: Adjust to match.
783 * include/stdint.h: New wrapper.
784
785 2019-03-13 Zack Weinberg <zackw@panix.com>
786
787 * scripts/check-obsolete-constructs.py: New test script.
788 * scripts/check-installed-headers.sh: Remove tests for
789 obsolete typedefs, superseded by check-obsolete-constructs.py.
790 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
791 as a special test. Update commentary.
792 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
793 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
794 Update commentary.
795 * posix/sys/types.h (__u_intN_t): Remove.
796 (u_int8_t): Typedef using __uint8_t.
797 (u_int16_t): Typedef using __uint16_t.
798 (u_int32_t): Typedef using __uint32_t.
799 (u_int64_t): Typedef using __uint64_t.
800
801 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
802
803 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
804 call _dl_procinfo.
805 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
806 Ignore types other than AT_HWCAP.
807 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
808 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
809 Likewise.
810 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
811 in the case of falling back to generic output mechanism.
812 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
813 Likewise.
814
815 2019-03-12 Florian Weimer <fweimer@redhat.com>
816
817 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
818
819 2019-03-12 Florian Weimer <fweimer@redhat.com>
820
821 [BZ #24047]
822 resolv: Enable full ICMP errors for UDP DNS sockets
823 * resolv/res_enable_icmp.c: New file.
824 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
825 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
826 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
827 socket.
828
829 2019-03-11 Mao Han <han_mao@c-sky.com>
830
831 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
832 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
833
834 2019-03-11 Mao Han <han_mao@c-sky.com>
835
836 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
837 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
838 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
839
840 2019-03-11 Mao Han <han_mao@c-sky.com>
841
842 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
843 directly.
844 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
845 definition.
846
847 2019-03-11 Mao Han <han_mao@c-sky.com>
848
849 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
850 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
851 in mcontext_t
852
853 2019-03-08 Mike FABIAN <mfabian@redhat.com>
854
855 [BZ #24307]
856 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
857 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
858 Unicode 12.0.0.
859 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
860 * localedata/unicode-gen/PropList.txt: Likewise.
861 * localedata/unicode-gen/UnicodeData.txt: Likewise.
862 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
863 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
864 * localedata/charmaps/UTF-8: Regenerate.
865 * localedata/locales/i18n_ctype: Likewise.
866 * localedata/locales/tr_TR: Likewise.
867 * localedata/locales/translit_circle: Likewise.
868 * localedata/locales/translit_cjk_compat: Likewise.
869 * localedata/locales/translit_combining: Likewise.
870 * localedata/locales/translit_compat: Likewise.
871 * localedata/locales/translit_font: Likewise.
872 * localedata/locales/translit_fraction: Likewise.
873
874 2019-03-07 Joseph Myers <joseph@codesourcery.com>
875
876 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
877 than after operators.
878 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
879 (setitimer_locked): Likewise.
880 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
881 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
882 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
883 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
884 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
885 (PPC_CPU_SUPPORTED): Likewise.
886 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
887 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
888 (stat_overflow): Likewise.
889 (statfs_overflow): Likewise.
890 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
891 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
892 (eq_ttyname_r): Likewise.
893 (run_chroot_tests): Likewise.
894
895 2019-03-07 Florian Weimer <fweimer@redhat.com>
896
897 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
898 header check.
899
900 2019-03-07 Martin Liska <mliska@suse.cz>
901
902 * math/Makefile: Change location where math-vector-fortran.h is
903 installed.
904 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
905 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
906 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
907 * scripts/check-installed-headers.sh: Skip Fortran header files.
908 * scripts/check-wrapper-headers.py: Likewise.
909
910 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
911
912 * nptl/nptl-init.c (__have_futex_clock_realtime,
913 __have_futex_clock_realtime): Remove definition.
914 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
915 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
916 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
917 __ASSUME_FUTEX_CLOCK_REALTIME support.
918 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
919 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
920 * sysdeps/unix/sysv/linux/kernel-features.h
921 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
922 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
923 Adjust comment.
924
925 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
926
927 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
928 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
929 __GI___wcscpy and wcscpy.
930
931 2019-03-04 Florian Weimer <fweimer@redhat.com>
932
933 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
934 declaration.
935 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
936 defined.
937
938 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
939
940 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
941 * sysdeps/s390/s390-32/sysdep.h: Likewise.
942
943 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
944
945 [BZ #24162]
946 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
947 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
948
949 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
950
951 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
952 tests.
953 (do_test): Likewise.
954 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
955 (do_test_call_varg): Likewise.
956 (do_test_call_rarg): Likewise.
957 * sysdeps/ieee754/ldbl-opt/Makefile
958 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
959 tst-nldbl-error.
960 ($(objpfx)tst-nldbl-warn.c): New rule.
961 ($(objpfx)tst-nldbl-error.c): Likewise.
962 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
963 New variables.
964
965 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
966
967 [BZ #23984]
968 * include/bits/error-ldbl.h: New file.
969 * include/error.h: Include stdarg.h. Declare internal functions
970 __error_internal and __error_at_line_internal.
971 * misc/Makefile (headers): Add bits/error-ldbl.h.
972 * misc/bits/error-ldbl.h: New file.
973 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
974 avoid the inclusion of bits/error.h.
975 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
976 and __nldbl_error_at_line.
977 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
978 (__nldbl_error, __ndlbl_error_at_line): New functions.
979 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
980 Redirect error and error_at_line.
981 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
983 Likewise.
984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
985 Likewise.
986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
987 Likewise.
988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
989 Likewise.
990 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
991 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
992 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
993
994 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
995
996 [BZ #23984]
997 * include/bits/err-ldbl.h: New file.
998 * include/err.h: Add prototypes for the internal functions:
999 __vwarnx_internal and __vwarn_internal.
1000 * misc/Makefile (headers): Add bits/err-ldbl.h.
1001 * misc/bits/err-ldbl.h: New file.
1002 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1003 defined, i.e.: when -mlong-double-64 is in use.
1004 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1005 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1006 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1007 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1008 (VA_CALL): New macro.
1009 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1010 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1011 functions.
1012 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1013 declare prototypes for the new functions.
1014 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1016 Likewise.
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1018 Likewise.
1019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1020 Likewise.
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1022 Likewise.
1023 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1024 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1025 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1026
1027 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1028
1029 * sysdeps/ieee754/ldbl-opt/Makefile
1030 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1031 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1032 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1033
1034 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1035
1036 [BZ #23983]
1037 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1038 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1039 * argp/bits/argp-ldbl.h: New file.
1040 * include/argp.h: Include stdarg.h. Add prototypes for internal
1041 functions: __argp_error_internal and __argp_failure_internal.
1042 * include/bits/argp-ldbl.h: New file.
1043 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1044 __nldbl_argp_error and __nldbl_argp_failure.
1045 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1046 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1047 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1048 Redirect argp_error and argp_failure calls.
1049 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1051 Likewise.
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1053 Likewise.
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1055 Likewise.
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1057 Likewise.
1058 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1059 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1060 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1061
1062 2019-03-01 Florian Weimer <fweimer@redhat.com>
1063
1064 [BZ #20419]
1065 * elf/tst-big-note-lib.S: Create a syntactically valid note.
1066 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
1067 code, to avoid creating an ABI tag note.
1068 (modules-names-nobuild): Add tst-big-note-lib.
1069
1070 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
1071
1072 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
1073 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
1074
1075 2019-03-01 Florian Weimer <fweimer@redhat.com>
1076
1077 [BZ #20271]
1078 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1079 (__netlink_assert_response): Add additional missing newlines.
1080
1081 2019-02-28 Joseph Myers <joseph@codesourcery.com>
1082
1083 * sysdeps/powerpc/powerpc32/dl-machine.c
1084 (__elf_machine_fixup_plt): Use space before '('.
1085 (__process_machine_rela): Likewise.
1086 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
1087 Likewise.
1088 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
1089 Likewise.
1090 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
1091 Likewise.
1092 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
1093 (pattern): Likewise.
1094 (delta): Likewise.
1095 (check_result): Likewise.
1096 (check_excepts): Likewise.
1097 (check_op): Likewise.
1098 (fail_xr): Likewise.
1099 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
1100 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
1101 (SCNHSZ): Likewise.
1102 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
1103 Likewise.
1104 (ARGS): Likewise.
1105 (__makecontext): Likewise.
1106 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
1107 Likewise.
1108
1109 2019-02-28 Florian Weimer <fweimer@redhat.com>
1110
1111 [BZ #23937]
1112 elf: Add test with a local IFUNC resolver.
1113 * elf/ifuncmain9.c: New file.
1114 * elf/ifuncmain9pic.c: Likewise.
1115 * elf/ifuncmain9picstatic.c: Likewise.
1116 * elf/ifuncmain9pie.c: Likewise.
1117 * elf/ifuncmain9static.c: Likewise.
1118 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
1119 ifuncmain9static, ifuncmain9picstatic.
1120 * elf/Makefile [multi-arch && build-shared] (tests-internal):
1121 Add ifuncmain9, ifuncmain9pic.
1122 * elf/Makefile [multi-arch && build-shared && have-fpie]
1123 (ifunc-pie-tests): Add ifuncmain9pie.
1124 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
1125 (CFLAGS-ifuncmain9picstatic.c): Likewise.
1126 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
1127
1128 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1129
1130 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
1131 * configure: Regenerated.
1132 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
1133
1134 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1135
1136 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
1137 symbol as __wcspcy instead of wcscpy.
1138
1139 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1140
1141 * include/stdio.h (__renameat2): New hidden prototype.
1142 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
1143 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
1144 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
1145 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1146
1147 2019-02-27 Joseph Myers <joseph@codesourcery.com>
1148
1149 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1150 if statement.
1151
1152 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1153 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1154 * benchtests/bench-strlen.c (do_test): Likewise.
1155 (test_main): Likewise.
1156 * catgets/gencat.c (read_old): Likewise.
1157 * elf/cache.c (load_aux_cache): Likewise.
1158 * iconvdata/bug-iconv8.c (do_test): Likewise.
1159 * math/test-tgmath-ret.c (do_test): Likewise.
1160 * nis/nis_call.c (rec_dirsearch): Likewise.
1161 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1162 * nptl/tst-audit-threads.c (do_test): Likewise.
1163 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1164 * nss/nss_test1.c (init): Likewise.
1165 * nss/test-netdb.c (test_hosts): Likewise.
1166 * posix/execvpe.c (maybe_script_execute): Likewise.
1167 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1168 * stdio-common/tst-printf.c (do_test): Likewise.
1169 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1170 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1171 * stdlib/qsort.c (STACK_SIZE): Likewise.
1172 * stdlib/test-canon.c (do_test): Likewise.
1173 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1174 * string/memcmp.c (OPSIZ): Likewise.
1175 * string/test-strcpy.c (do_test): Likewise.
1176 (do_random_tests): Likewise.
1177 * string/test-strlen.c (do_test): Likewise.
1178 (test_main): Likewise.
1179 * string/test-strrchr.c (do_test): Likewise.
1180 (do_random_tests): Likewise.
1181 * string/tester.c (test_memrchr): Likewise.
1182 (test_memchr): Likewise.
1183 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1184 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1185 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1186 (read_encoded_value_with_base): Likewise.
1187 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1188 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1189 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1190 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1191 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1192 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1193 Likewise.
1194 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1195 Likewise.
1196 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1197 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1198 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1199 Likewise.
1200 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1201 Likewise.
1202 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1203 Likewise.
1204 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1205 Likewise.
1206 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1207 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1208 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1209 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1210 * time/test_time.c (main): Likewise.
1211
1212 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1213
1214 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1215
1216 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1217 wmemcpy.
1218
1219 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1220 wmemcpy.
1221
1222 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1223
1224 * include/wchar.h (__wcscpy): New prototype.
1225 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1226 (__wcscpy): Route internal symbol to generic implementation.
1227 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1228 Add internal __wcscpy alias.
1229 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1230 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1231 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1232 * wcsmbs/wcscpy.c (wcscpy): Add
1233 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1234 use generic implementation.
1235 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1236
1237 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1238 wmemset.
1239
1240 * sysdeps/m68k/wcpcpy.c: Remove file.
1241 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1242
1243 2019-02-26 Joseph Myers <joseph@codesourcery.com>
1244
1245 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1246 than after operators.
1247 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1248 * sysdeps/mach/hurd/getcwd.c
1249 (__hurd_canonicalize_directory_name_internal): Likewise.
1250 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1251 (pthread_mutex_consistent): Likewise.
1252 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1253 Likewise.
1254 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1255 (__pthread_mutex_transfer_np): Likewise.
1256 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1257 (__pthread_mutex_unlock): Likewise.
1258 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1259 (mtx_owned_p): Likewise.
1260 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1261 (pthread_mutexattr_getrobust): Likewise.
1262 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1263 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1264 Likewise.
1265 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1266 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1267 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1268 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1269 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1270 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1271 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1272 Likewise.
1273 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1274 Likewise.
1275 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1276 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1277 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1278 (____longjmp_chk): Likewise.
1279 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1280 Likewise.
1281 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1282 (INTERNAL_SYSCALL): Likewise.
1283 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1284 (INTERNAL_SYSCALL): Likewise.
1285 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1286 (__get_clockfreq_via_cpuinfo): Likewise.
1287
1288 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
1289 comments.
1290 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
1291 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
1292 (WORD_COPY_BWD): Likewise.
1293 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1294 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1295 Likewise.
1296 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
1297 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1298 comment.
1299 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1300
1301 2019-02-25 Joseph Myers <joseph@codesourcery.com>
1302
1303 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1304 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
1305 rather than after operators.
1306 * elf/cache.c (print_cache): Likewise.
1307 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
1308 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
1309 * hurd/hurdinit.c (_hurd_setproc): Likewise.
1310 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1311 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
1312 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1313 (reauth_proc): Likewise.
1314 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
1315 (__file_name_split_at): Likewise.
1316 (__directory_name_split_at): Likewise.
1317 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1318 * hurd/port2fd.c (_hurd_port2fd): Likewise.
1319 * iconv/gconv_dl.c (do_print): Likewise.
1320 * inet/netinet/in.h (struct sockaddr_in): Likewise.
1321 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
1322 * locale/setlocale.c (new_composite_name): Likewise.
1323 * malloc/memusagestat.c (main): Likewise.
1324 * misc/fstab.c (fstab_convert): Likewise.
1325 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1326 Likewise.
1327 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
1328 (getgrent_next_file): Likewise.
1329 (internal_getgrnam_r): Likewise.
1330 (internal_getgrgid_r): Likewise.
1331 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
1332 Likewise.
1333 (internal_getgrent_r): Likewise.
1334 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1335 (getpwent_next_nss): Likewise.
1336 (getpwent_next_file): Likewise.
1337 (internal_getpwnam_r): Likewise.
1338 (internal_getpwuid_r): Likewise.
1339 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
1340 Likewise.
1341 (getspent_next_nss): Likewise.
1342 (internal_getspnam_r): Likewise.
1343 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1344 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1345 * string/strchr.c (STRCHR): Likewise.
1346 * string/strchrnul.c (STRCHRNUL): Likewise.
1347 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
1348 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1349 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
1350 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
1351 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
1352 Likewise.
1353 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
1354 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1355 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1356 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
1357 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
1358 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1359 (open_file): Likewise.
1360 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
1361 (pthread_mutexattr_setprotocol): Likewise.
1362 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1363 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1364 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1365 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1366 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1367 Likewise.
1368 (elf_machine_rela): Likewise.
1369 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1370 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1371 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
1372 * sysdeps/posix/rename.c (rename): Likewise.
1373 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
1374 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
1375 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
1376 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
1377 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1378 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
1379 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
1380 Likewise.
1381 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
1382 Likewise.
1383 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
1384 * time/tzfile.c (__tzfile_compute): Likewise.
1385
1386 2019-02-22 Joseph Myers <joseph@codesourcery.com>
1387
1388 * benchtests/bench-memmem.c (simple_memmem): Break lines before
1389 rather than after operators.
1390 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
1391 * crypt/md5.c (md5_finish_ctx): Likewise.
1392 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
1393 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
1394 * elf/cache.c (load_aux_cache): Likewise.
1395 * elf/dl-load.c (open_verify): Likewise.
1396 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1397 * elf/readelflib.c (process_elf_file): Likewise.
1398 * elf/rtld.c (dl_main): Likewise.
1399 * elf/sprof.c (generate_call_graph): Likewise.
1400 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
1401 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1402 * hurd/dtable.c (reauth_dtable): Likewise.
1403 * hurd/getdport.c (__getdport): Likewise.
1404 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
1405 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
1406 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1407 Likewise.
1408 * hurd/hurdioctl.c (fioctl): Likewise.
1409 * hurd/hurdselect.c (_hurd_select): Likewise.
1410 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
1411 (STOPSIGS): Likewise.
1412 * hurd/hurdstartup.c (_hurd_startup): Likewise.
1413 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
1414 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1415 * hurd/msgportdemux.c (msgport_server): Likewise.
1416 * hurd/setauth.c (_hurd_setauth): Likewise.
1417 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
1418 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
1419 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1420 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
1421 * login/tst-utmp.c (do_check): Likewise.
1422 (simulate_login): Likewise.
1423 * mach/lowlevellock.h (lll_lock): Likewise.
1424 (lll_trylock): Likewise.
1425 * math/test-fenv.c (ALL_EXC): Likewise.
1426 * math/test-fenvinline.c (ALL_EXC): Likewise.
1427 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
1428 * nis/nis_call.c (__do_niscall3): Likewise.
1429 * nis/nis_callback.c (cb_prog_1): Likewise.
1430 * nis/nis_defaults.c (searchaccess): Likewise.
1431 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1432 * nis/nis_ismember.c (internal_ismember): Likewise.
1433 * nis/nis_local_names.c (nis_local_principal): Likewise.
1434 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
1435 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
1436 Likewise.
1437 * nis/ypclnt.c (yp_match): Likewise.
1438 (yp_first): Likewise.
1439 (yp_next): Likewise.
1440 (yp_master): Likewise.
1441 (yp_order): Likewise.
1442 * nscd/hstcache.c (cache_addhst): Likewise.
1443 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1444 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
1445 (internal_getpwuid_r): Likewise.
1446 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
1447 * posix/glob.h (__GLOB_FLAGS): Likewise.
1448 * posix/regcomp.c (peek_token): Likewise.
1449 (peek_token_bracket): Likewise.
1450 (parse_expression): Likewise.
1451 * posix/regexec.c (sift_states_iter_mb): Likewise.
1452 (check_node_accept_bytes): Likewise.
1453 * posix/tst-spawn3.c (do_test): Likewise.
1454 * posix/wordexp-test.c (testit): Likewise.
1455 * posix/wordexp.c (parse_tilde): Likewise.
1456 (exec_comm): Likewise.
1457 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
1458 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
1459 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
1460 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
1461 * stdio-common/tst-fileno.c (do_test): Likewise.
1462 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
1463 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
1464 * stdlib/strtod_l.c (round_and_return): Likewise.
1465 (____STRTOF_INTERNAL): Likewise.
1466 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
1467 * string/strcspn.c (STRCSPN): Likewise.
1468 * string/test-memmem.c (simple_memmem): Likewise.
1469 * termios/tcsetattr.c (tcsetattr): Likewise.
1470 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
1471 * time/asctime.c (asctime_internal): Likewise.
1472 * time/strptime_l.c (__strptime_internal): Likewise.
1473 * time/sys/time.h (timercmp): Likewise.
1474 * time/tzfile.c (__tzfile_compute): Likewise.
1475
1476 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
1477
1478 [BZ #21915]
1479 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
1480
1481 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1482
1483 * argp/argp-help.c (__argp_error_internal): New function,
1484 renamed from __argp_error, but that takes a 'mode_flags'
1485 parameter to control the format of long double parameters.
1486 (__argp_error): Converted into a call __argp_error_internal.
1487 (__argp_failure_internal): New function, renamed from
1488 __argp_failure, but that takes a 'mode_flags' parameter.
1489 (__argp_failure): Converted into a call __argp_failure_internal.
1490 * misc/err.c (__vwarnx_internal): New function, renamed from
1491 vwarnx, but that takes a 'mode_flags' parameter.
1492 (vwarnx): Converted into a call to __vwarnx_internal.
1493 (__vwarn_internal): New function, renamed from vwarn, but that
1494 takes a 'mode_flags' parameter.
1495 (vwarn): Converted into a call to __vwarn_internal.
1496 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
1497 call to __vfxprintf with 'mode_flags'.
1498 (__error_internal): New function, renamed from error, but that
1499 takes a 'mode_flags' parameter.
1500 (error): Converted into a call to __error_internal.
1501 (__error_at_line_internal): New function, renamed from
1502 error_at_line, but that takes a 'mode_flags' parameter.
1503 (error_at_line): Converted into a call to
1504 __error_at_line_internal.
1505 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
1506 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
1507 Likewise.
1508
1509 2019-02-20 Martin Liska <mliska@suse.cz>
1510
1511 * math/Makefile: Install math-vector-fortran.h.
1512 * bits/math-vector-fortran.h: New file.
1513 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
1514
1515 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1516
1517 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
1518 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
1519
1520 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
1521
1522 * nptl/pthread_mutex_trylock.c: Fix comment.
1523
1524 2019-02-19 Carlos O'Donell <carlos@redhat.com>
1525
1526 * nptl/pthread_tryjoin.c: Fix comment.
1527
1528 2019-02-18 Joseph Myers <joseph@codesourcery.com>
1529
1530 [BZ #24231]
1531 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
1532 after R_SPARC_H34 case.
1533
1534 2019-02-18 Florian Weimer <fweimer@redhat.com>
1535
1536 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
1537 (getanswer): Do not call Dprintf.
1538 (res_gethostbyname2_context): Likewise.
1539 (res_gethostbyaddr_context): Likewise.
1540
1541 2019-02-18 Florian Weimer <fweimer@redhat.com>
1542
1543 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
1544 declaration.
1545 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
1546 Remove definitions.
1547 * libio/stdfiles.c: Update comment.
1548 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
1549 set _IO_stdin, _IO_stdout, _IO_stderr.
1550 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
1551 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
1552 inline function.
1553 (_IO_deallocate_file): New inline function.
1554 * libio/iolibio.h (_IO_vprintf): Remove definition.
1555 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
1556 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1557 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
1558 _IO_legacy_file.
1559 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
1560 __builtin_expect. Use _IO_legacy_file.
1561
1562 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
1563
1564 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1565 Initialize ctid with a known value and remove update of ctid
1566 after clone.
1567 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1568 as assumed current value of ctid_ptr.
1569
1570 2019-02-16 Florian Weimer <fweimer@redhat.com>
1571
1572 Check that non-sysdeps headers have wrapper headers.
1573 * scripts/check-wrapper-headers.py: New file.
1574 * Makefile (tests-special): Add check-wrapper-headers.out.
1575 (check-wrapper-headers.out): New target.
1576 * Rules (tests-special): Add check-wrapper-headers.out.
1577 (check-wrapper-headers.out): New target.
1578
1579 2019-02-16 Florian Weimer <fweimer@redhat.com>
1580
1581 Add missing header wrappers under include/.
1582 * include/ar.h: New file.
1583 * include/bits/mqueue2.h: Likewise.
1584 * include/bits/stdio.h: Likewise.
1585 * include/bits/stdio2.h: Likewise.
1586 * include/fstab.h: Likewise.
1587 * include/fts.h: Likewise.
1588 * include/lastlog.h: Likewise.
1589 * include/netinet/icmp6.h: Likewise.
1590 * include/netinet/igmp.h: Likewise.
1591 * include/netinet/ip6.h: Likewise.
1592 * include/re_comp.h: Likewise.
1593 * include/regexp.h: Likewise.
1594 * include/rpcsvc/bootparam.h: Likewise.
1595 * include/rpcsvc/yp_prot.h: Likewise.
1596 * include/sys/random.h: Likewise.
1597 * include/sys/stropts.h: Likewise.
1598 * include/sys/ttychars.h: Likewise.
1599 * include/sys/vfs.h: Likewise.
1600 * include/wait.h: Likewise.
1601
1602 2019-02-16 Florian Weimer <fweimer@redhat.com>
1603
1604 * nptl_db/proc_service.h: Move to ...
1605 * sysdeps/nptl/proc_service.h: ... here.
1606 * nptl_db/thread_db.h: Move to ...
1607 * sysdeps/nptl/thread_db.h: ... here.
1608 * nptl/descr.h: Include <thread_db.h>.
1609
1610 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1611
1612 * io/Makefile (tests): Add tst-lockf.
1613 * io/lockf.c (lockf): Use __fcntl and only define for
1614 !__OFF_T_MATCHES_OFF64_T.
1615 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1616 __OFF_T_MATCHES_OFF64_T case.
1617 * io/tst-lockf.c: New file.
1618 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1619 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1620 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1621 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1622 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1624 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1625 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1626 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1627
1628 2019-02-15 Florian Weimer <fweimer@redhat.com>
1629
1630 [BZ #24211]
1631 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1632 pd->result after the thread descriptor has been freed.
1633
1634 2019-02-15 Joseph Myers <joseph@codesourcery.com>
1635
1636 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1637 from function return type.
1638
1639 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1640
1641 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1642
1643 * scripts/test_printers_common.py: Set TERM to a known harmless
1644 value.
1645
1646 2019-02-14 Joseph Myers <joseph@codesourcery.com>
1647
1648 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1649 (xdr_u_int): Likewise.
1650 (xdr_enum): Likewise.
1651 (xdr_bytes): Reword fall-through comment.
1652 (xdr_string): Likewise.
1653
1654 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1655
1656 [BZ #2421]
1657 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1658 (tests): Add tst-join8 tst-join9.
1659 * nptl/lll_timedwait_tid.c: Remove file.
1660 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1661 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1662 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1663 * nptl/pthread_join_common.c (timedwait_tid): New function.
1664 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1665 is set.
1666 * nptl/tst-join5.c (thread_join): New function.
1667 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1668 check.
1669 * nptl/tst-join8.c: New file.
1670 * nptl/tst-join9.c: Likewise.
1671 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1672 lll_futex_timed_wait_cancel): Add generic macros.
1673 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1674 Remove definitions.
1675 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1676 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1677 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1678 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1679 Remove function.
1680 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1681 Likewise.
1682 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1683 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1684 (lll_futex_timed_wait_cancel): New macro.
1685
1686 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1687
1688 * benchtests/Makefile: Add malloc-simple benchmark.
1689 * benchtests/bench-malloc-simple.c: New benchmark.
1690
1691 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1692
1693 * benchtests/bench-memmove.c (do_one_test): Remove unused
1694 ORIG_SRC.
1695 (do_test): Adjust.
1696 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1697 ORIG_SRC.
1698 (do_test): Adjust.
1699
1700 2019-01-13 Jim Wilson <jimw@sifive.com>
1701
1702 [BZ #24040]
1703 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1704 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1705 (func): New.
1706 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1707 call func directly.
1708 * nptl/Makefile (tests): Add tst-unwind-thread.
1709 (CFLAGS-tst-unwind-thread.c): Define.
1710 * nptl/tst-unwind-thread.c: New file.
1711 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1712 as undefined.
1713
1714 2019-02-13 Joseph Myers <joseph@codesourcery.com>
1715
1716 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1717 comment wording.
1718 * nis/nis_call.c (__do_niscall3): Likewise.
1719
1720 * catgets/gencat.c (normalize_line): Use braces around empty
1721 'else' body.
1722 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1723 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1724 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1725 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1726 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1727 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1728 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1729 definition.
1730
1731 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1732 execlp returns.
1733
1734 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1735
1736 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1737 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1738 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1739 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1740 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1741 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1742 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1743 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1744 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1745 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1746 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1747 * benchtests/bench-bcopy.c: Delete file.
1748 * benchtests/bench-bzero.c: Likewise.
1749 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1750 (simple_memccpy): Remove.
1751 (generic_memccpy): Add function.
1752 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1753 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1754 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1755 (generic_mempcpy): Add new function.
1756 * benchtests/bench-memset.c (simple_bzero): Remove.
1757 (builtin_bzero): Remove.
1758 (builtin_memset): Remove.
1759 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1760 (generic_rawmemchr): Add new function.
1761
1762 2019-02-12 Florian Weimer <fweimer@redhat.com>
1763
1764 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1765
1766 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1767
1768 [BZ #24122]
1769 * elf/Makefile (tests): Add tst-audit13.
1770 (modules-names): Add tst-audit13mod1.
1771 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1772 rule.
1773 * elf/tst-audit13.c: New file.
1774 * elf/tst-audit13mod1.c: Likewise.
1775
1776 2019-02-12 Florian Weimer <fweimer@redhat.com>
1777
1778 [BZ #24122]
1779 * elf/rtld.c (unload_audit_module): New function.
1780 (report_audit_module_load_error): Likewise.
1781 (load_audit_module): Likewise. Extracted from dl_main. Call
1782 _dl_close if the laversion symbol cannot be found. Use early
1783 returns for error handling. Add malloc error check. Check for a
1784 zero return value from la_version. Remove spurious comment about
1785 static TLS initialization. Remove useless casts.
1786 (notify_audit_modules_of_loaded_object): New function. Extracted
1787 from dl_main.
1788 (load_audit_module): Likewise.
1789 (dl_main): Call load_audit_modules.
1790
1791 2019-02-12 Joseph Myers <joseph@codesourcery.com>
1792
1793 * elf/dl-exception.c (_dl_exception_create_format): Add
1794 fall-through comments.
1795 * elf/ldconfig.c (parse_conf_include): Likewise.
1796 * elf/rtld.c (print_statistics): Likewise.
1797 * locale/programs/charmap.c (parse_charmap): Likewise.
1798 * misc/mntent_r.c (__getmntent_r): Likewise.
1799 * posix/wordexp.c (parse_arith): Likewise.
1800 (parse_backtick): Likewise.
1801 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1802 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1803 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1804
1805 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
1806
1807 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1808 Use float instead of double.
1809
1810 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1811
1812 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1813
1814 2019-02-08 Joseph Myers <joseph@codesourcery.com>
1815
1816 * sysdeps/powerpc/bits/mathinline.h: Remove.
1817
1818 2019-02-08 Florian Weimer <fweimer@redhat.com>
1819
1820 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1821 * math/bits/math-finite.h: Move to ...
1822 * bits/math-finite.h: ... here.
1823
1824 2019-02-08 Florian Weimer <fweimer@redhat.com>
1825
1826 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1827 * bits/unistd_ext.h: here.
1828
1829 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1830
1831 [BZ #21915]
1832 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1833 * nss/tst-nss-files-hosts-long.c: New file.
1834 * nss/tst-nss-files-hosts-long.root: New directory.
1835 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1836 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1837
1838 2019-02-08 Florian Weimer <fweimer@redhat.com>
1839
1840 * include/bits/unistd_ext.h: Remove file.
1841 * posix/bits/unistd_ext.h: Move to ...
1842 * sysdeps/generic/bits/unistd_ext.h: ... here.
1843
1844 2019-02-08 Florian Weimer <fweimer@redhat.com>
1845
1846 * include/bits/unistd_ext.h: New file.
1847
1848 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1849
1850 * time/tst-strftime2.c: Use array_length macros instead of magic
1851 numbers.
1852
1853 2019-02-08 Florian Weimer <fweimer@redhat.com>
1854
1855 [BZ #24161]
1856 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1857 argument.
1858 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1859 locking if the new do_locking argument is true.
1860 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1861 __run_fork_handlers.
1862
1863 2019-02-08 Florian Weimer <fweimer@redhat.com>
1864
1865 [BZ #6399]
1866 Linux: Add gettid system call wrapper.
1867 * posix/Makefile (headers): Add bits/unistd_ext.h.
1868 * posix/bits/unistd_ext.h: New file.
1869 * posix/unistd.h: Include it.
1870 * manual/process.texi (Process Identification): Document gettid.
1871 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1872 tst-gettid, tst-gettid-kill.
1873 (tst-gettid): Link with $(shared-thread-library).
1874 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1875 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1876 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1877 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1878 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1879 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1880 Add gettid.
1881 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1882 Likewise.
1883 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1884 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1885 Likewise.
1886 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1887 Likewise.
1888 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1889 Likewise.
1890 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1891 Likewise.
1892 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1893 Likewise.
1894 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1895 Likewise.
1896 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1897 Likewise.
1898 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1899 (GLIBC_2.30): Likewise.
1900 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1901 (GLIBC_2.30): Likewise.
1902 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1903 (GLIBC_2.30): Likewise.
1904 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1905 (GLIBC_2.30): Likewise.
1906 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1907 Likewise.
1908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1909 (GLIBC_2.30): Likewise.
1910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1911 (GLIBC_2.30): Likewise.
1912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1913 (GLIBC_2.30): Likewise.
1914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1915 (GLIBC_2.30): Likewise.
1916 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1917 Likewise.
1918 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1919 Likewise.
1920 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1921 Likewise.
1922 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1923 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1924 Likewise.
1925 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1926 Likewise.
1927 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1928 Likewise.
1929 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1930 Likewise.
1931 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1932
1933 2019-02-08 Florian Weimer <fweimer@redhat.com>
1934
1935 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1936 compatibility symbols.
1937
1938 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
1939
1940 [BZ #24180]
1941 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1942 Add compiler barriers and comments.
1943
1944 2019-02-07 Florian Weimer <fweimer@redhat.com>
1945
1946 * include/array_length.h (array_length): Do not use a statement
1947 expression and _Static_assert, so that array_length can be used at
1948 file scope and as a constant expression.
1949
1950 2019-02-07 Florian Weimer <fweimer@redhat.com>
1951
1952 * support/xdlfcn.h (xdlmopen): Declare.
1953 * support/xdlmopen.c: New file.
1954 * support/Makefile (libsupport-routines): Add xdlmopen.
1955
1956 2019-02-06 Joseph Myers <joseph@codesourcery.com>
1957
1958 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1959 before return type, without separate inline.
1960 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1961 * elf/dl-tunables.h (tunable_is_name): Likewise.
1962 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1963 (do_set_top_pad): Likewise.
1964 (do_set_mmap_threshold): Likewise.
1965 (do_set_mmaps_max): Likewise.
1966 (do_set_mallopt_check): Likewise.
1967 (do_set_perturb_byte): Likewise.
1968 (do_set_arena_test): Likewise.
1969 (do_set_arena_max): Likewise.
1970 (do_set_tcache_max): Likewise.
1971 (do_set_tcache_count): Likewise.
1972 (do_set_tcache_unsorted_limit): Likewise.
1973 * nis/nis_subr.c (count_dots): Likewise.
1974 * nptl/allocatestack.c (advise_stack_range): Likewise.
1975 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
1976 (do_sin): Likewise.
1977 (reduce_sincos): Likewise.
1978 (do_sincos): Likewise.
1979 * sysdeps/unix/sysv/linux/x86/elision-conf.c
1980 (do_set_elision_enable): Likewise.
1981 (TUNABLE_CALLBACK_FNDECL): Likewise.
1982
1983 2019-02-06 Florian Weimer <fweimer@redhat.com>
1984
1985 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
1986 (xdlsym): Use dlerror to detect a NULL symbol.
1987
1988 2019-02-06 Florian Weimer <fweimer@redhat.com>
1989
1990 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
1991 <stap-probe.h>.
1992 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1993
1994 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1995
1996 * libio/tst-bz24153.c (wide): Use wide char format specifier.
1997
1998 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
1999
2000 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2001 __wmemcmp and weak alias to wmemcmp.
2002
2003 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2004
2005 [BZ #23403]
2006 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2007 TLS_TCB_AT_TP tls variant.
2008 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2009 Add alignment checks.
2010 * support/Makefile (libsupport-routines): Add xposix_memalign and
2011 xpthread_setstack.
2012 * support/support.h: Add xposix_memalign.
2013 * support/xthread.h: Add xpthread_attr_setstack.
2014 * support/xposix_memalign.c: New File.
2015 * support/xpthread_attr_setstack.c: Likewise.
2016
2017 2019-02-05 Florian Weimer <fweimer@redhat.com>
2018
2019 [BZ #24164]
2020 arm: Use "nr" constraint for Systemtap probes, to avoid the
2021 compiler using memory operands for constants, due to the "o"
2022 alternative in the default "nor" constraint.
2023 * include/stap-probe.h [USE_STAP_PROBE]: Include
2024 <stap-probe-machine.h>
2025 * sysdeps/generic/stap-probe-machine.h: New file.
2026 * sysdeps/arm/stap-probe-machine.h: Likewise.
2027
2028 2019-02-04 Joseph Myers <joseph@codesourcery.com>
2029
2030 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2031 with 0, not tcache->entries[tc_idx].
2032
2033 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2034 once.
2035
2036 2019-02-04 Andreas Schwab <schwab@suse.de>
2037
2038 [BZ #16976]
2039 [BZ #17396]
2040 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2041 looking up collating elements match against (wide) character
2042 sequence instead of name. Correct alignment adjustment.
2043 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2044 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2045 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2046 (LOCALES): Add cs_CZ.ISO-8859-2.
2047 * posix/tst-fnmatch4.c: New file.
2048 * posix/tst-fnmatch5.c: New file.
2049 * include/wchar.h (__wmemcmp): Declare.
2050 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2051 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2052 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2053 * sysdeps/s390/wmemcmp.c: Likewise.
2054
2055 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2056
2057 [BZ #24155]
2058 CVE-2019-7309
2059 * NEWS: Updated for CVE-2019-7309.
2060 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2061 upper 32 bits of RDX register for x32. Use unsigned Jcc
2062 instructions, instead of signed.
2063 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
2064 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
2065
2066 2019-02-04 Florian Weimer <fweimer@redhat.com>
2067
2068 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
2069 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
2070 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
2071 Likewise.
2072 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
2073 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
2074 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
2075 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
2076 Likewise.
2077 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
2078 Likewise.
2079 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
2080 Likewise.
2081 (posix_spawn_file_actions_addopen): Likewise.
2082 (posix_spawn_file_actions_addclose): Likewise.
2083 (posix_spawn_file_actions_adddup2): Likewise.
2084 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
2085 qualifiers.
2086 (posix_spawn_file_actions_addfchdir_np): Likewise.
2087
2088 2019-02-04 David Newall <glibc@davidnewall.com>
2089
2090 elf: Implement --preload option for the dynamic linker.
2091 * elf/rtld.c (preloadarg): New variable.
2092 (handle_preload_list): Pass through “where” argument to
2093 do_preload.
2094 (dl_main): Handle "--preload" and add second call to
2095 handle_preload_list.
2096 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
2097 (tst-rtld-preload-OBJS): Set variable.
2098 (tst-rtld-preload.out): New target.
2099 * elf/tst-rtld-preload.sh: New file.
2100
2101 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
2102
2103 * Makefile (testrun.sh): Exit in case of incorrect argument.
2104
2105 2019-02-04 Florian Weimer <fweimer@redhat.com>
2106
2107 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
2108 alignment gaps.
2109
2110 2019-02-03 Florian Weimer <fweimer@redhat.com>
2111
2112 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
2113 implicit overflow checks.
2114
2115 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2116
2117 * stdlib/isomac.c: Include <unistd.h>.
2118
2119 2019-02-03 Florian Weimer <fweimer@redhat.com>
2120
2121 * include/time.h (__tzfile_default): Use int, not long int, for
2122 the GMT offsets.
2123 * time/tzfile.c (struct ttinfo): Change type of the offset member
2124 to int.
2125 (__tzfile_read): Remove useless cast.
2126 (__tzfile_default): Adjust prototype.
2127 * time/tzset.c (tz_rule): Change type of the offset member to int.
2128 (parse_offset): Change the type of the sign variable to int.
2129
2130 2019-02-03 Florian Weimer <fweimer@redhat.com>
2131
2132 [BZ #24153]
2133 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
2134 * libio/getchar.c (getchar): Likewise.
2135 * libio/getchar_u.c (getchar_unlocked): Likewise.
2136 * libio/getwchar.c (getwchar): Likewise.
2137 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2138 * libio/iogets.c (_IO_gets): Likewise.
2139 * libio/vscanf.c (_IO_vscanf): Likewise.
2140 * libio/vwscanf.c (__vwscanf): Likewise.
2141 * libio/tst-bz24153.c: New file.
2142 * libio/Makefile (tests): Add it.
2143
2144 2019-02-02 Florian Weimer <fweimer@redhat.com>
2145
2146 [BZ #14829]
2147 * manual/resource.texi (Basic Scheduling Functions): Add
2148 portability note. Change process to task throughout the section.
2149 Remove incorrect comment about sched_yield as it affects
2150 tasks/threads, not entire processes.
2151 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2152 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2153
2154 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2155
2156 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2157 * configure: Regenerated.
2158 * manual/install.texi (Tools for Compilation): Update minimum GCC
2159 version.
2160 * INSTALL: Regenerated.
2161
2162 2019-02-01 Florian Weimer <fweimer@redhat.com>
2163
2164 * support/support_test_compare_string.c
2165 (support_test_compare_string): Use "string" in error message.
2166 * support/tst-test_compare_string.c (do_test): Adjust.
2167
2168 2019-02-01 Florian Weimer <fweimer@redhat.com>
2169
2170 * support/support_format_address_family.c
2171 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2172
2173 2019-02-01 Florian Weimer <fweimer@redhat.com>
2174
2175 * manual/socket.texi (Internet Address Formats): Clarify the byte
2176 order of struct sockaddr_in, struct sockaddr_in6. Document
2177 sin6_flowinfo and sin6_scope_id.
2178
2179 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2180
2181 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2182 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2183 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2184 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2185 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2186 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2187
2188 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2189
2190 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2191 [!MEMCHR](MEMCHR): Set to __memchr.
2192 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2193 Add memchr_generic and memchr_nosimd.
2194 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2195 (__libc_ifunc_impl_list): Add memchr ifuncs.
2196 * sysdeps/aarch64/multiarch/memchr.c: New file.
2197 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2198 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2199
2200 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2201
2202 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2203 Add memset_emag.
2204 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2205 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2206 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2207 Add IS_EMAG check for ifunc dispatch.
2208 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2209 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2210
2211 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2212
2213 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2214 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2215 Add emag.
2216 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2217 New macro.
2218
2219 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
2220
2221 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2222
2223 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
2224
2225 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2226 syscall-template file.
2227
2228 2019-01-31 Carlos O'Donell <carlos@redhat.com>
2229 Torvald Riegel <triegel@redhat.com>
2230 Rik Prohaska <prohaska7@gmail.com>
2231
2232 [BZ# 23844]
2233 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2234 tst-rwlock-trywrlock-stall.
2235 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2236 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2237 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2238 Set __wrphase_fute to 1 only if we started the write phase.
2239 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2240 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2241 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2242 * support/xpthread_rwlock_destroy.c: New file.
2243 * support/xthread.h: Declare xpthread_rwlock_destroy.
2244
2245 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2246
2247 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2248 version to 4.0.2.
2249
2250 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2251
2252 [BZ #24051]
2253 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2254 * libio/fileops.c (_IO_new_file_underflow): Likewise
2255 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2256 * libio/putchar.c (putchar): Likewise.
2257 * libio/putchar_u.c (putchar_unlocked): Likewise.
2258 * libio/putwchar.c (putchar): Likewise.
2259 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2260 * libio/tst-bz24051.c: New test.
2261 * libio/Makefile (tests): Add tst-bz24051
2262
2263 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2264
2265 CVE-2019-9169
2266 regex: fix read overrun [BZ #24114]
2267 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2268 https://debbugs.gnu.org/34140
2269 * posix/regexec.c (proceed_next_node):
2270 Do not read past end of input buffer.
2271
2272 2019-01-31 Florian Weimer <fweimer@redhat.com>
2273
2274 [BZ #24059]
2275 * nss/nss_files/files-alias.c (get_next_alias): Handle
2276 continuation line without newline at the end.
2277 * nss/tst-nss-files-alias-truncated.c: New file.
2278 * nss/Makefile [$(build-shared)] (tests): Add
2279 tst-nss-files-alias-truncated.
2280 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2281 * support/namespace.h (struct support_chroot_configuration): Add
2282 aliases member.
2283 (struct support_chroot): Add path_aliases member.
2284 * support/support_chroot.c (support_chroot_create): Handle
2285 aliases.
2286 (support_chroot_free): Free path_aliases.
2287
2288 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2289
2290 * version.h (RELEASE): Set to "development".
2291 (VERSION): Set to "2.29.9000".
2292 * NEWS: Add section for 2.30.
2293
2294 * version.h (RELEASE): Set to "stable".
2295 (VERSION): Set to "2.29".
2296 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
2297
2298 * NEWS: Add the list of bugs fixed in 2.29.
2299 * manual/contrib.texi: Update contributors list with some more
2300 names.
2301 * manual/install.texi: Update latest versions of packages
2302 tested.
2303 * INSTALL: Regenerated.
2304
2305 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2306
2307 * po/be.po: Update translations.
2308 * po/bg.po: Likewise.
2309 * po/ca.po: Likewise.
2310 * po/cs.po: Likewise.
2311 * po/da.po: Likewise.
2312 * po/de.po: Likewise.
2313 * po/el.po: Likewise.
2314 * po/eo.po: Likewise.
2315 * po/es.po: Likewise.
2316 * po/fi.po: Likewise.
2317 * po/fr.po: Likewise.
2318 * po/gl.po: Likewise.
2319 * po/hr.po: Likewise.
2320 * po/hu.po: Likewise.
2321 * po/ia.po: Likewise.
2322 * po/id.po: Likewise.
2323 * po/it.po: Likewise.
2324 * po/ja.po: Likewise.
2325 * po/ko.po: Likewise.
2326 * po/lt.po: Likewise.
2327 * po/nb.po: Likewise.
2328 * po/nl.po: Likewise.
2329 * po/pl.po: Likewise.
2330 * po/pt_BR.po: Likewise.
2331 * po/ru.po: Likewise.
2332 * po/rw.po: Likewise.
2333 * po/sk.po: Likewise.
2334 * po/sl.po: Likewise.
2335 * po/sv.po: Likewise.
2336 * po/tr.po: Likewise.
2337 * po/uk.po: Likewise.
2338 * po/vi.po: Likewise.
2339 * po/zh_CN.po: Likewise.
2340 * po/zh_TW.po: Likewise.
2341
2342 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
2343
2344 [BZ #24130]
2345 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
2346 of $f3 register on $y_is_neg path.
2347
2348 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2349
2350 [BZ #24110]
2351 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
2352 sigaltstack.ss_flags.
2353
2354 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
2355
2356 [BZ #23758]
2357 * manual/time.texi (strftime): Document "%Ey".
2358 * time/strftime_l.c (__strftime_internal): Set the default width
2359 padding with zero of "%Ey" to 2.
2360
2361 [BZ #24096]
2362 * manual/time.texi (strftime): Document "%EC" and "%EY".
2363 * time/Makefile (tests): Add tst-strftime2.
2364 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
2365 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
2366 override padding for "%Ey".
2367 If an optional flag ('_' or '-') is specified to "%EY", interpret the
2368 "%Ey" in the subformat as if decorated with that flag.
2369 * time/tst-strftime2.c: New file.
2370
2371 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2372
2373 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
2374 are not defined.
2375
2376 [BZ #24122]
2377 * elf/Makefile (tests): Add tst-audit13.
2378 (modules-names): Add tst-audit13mod1.
2379 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2380 rule.
2381 * elf/rtld.c (dl_main): Handle invalid audit module version.
2382 * elf/tst-audit13.c: New file.
2383 * elf/tst-audit13mod1.c: Likewise.
2384
2385 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2386
2387 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
2388 returned by __hurd_at_flags.
2389 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
2390 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
2391 directly instead of __hurd_file_name_lookup.
2392
2393 2019-01-21 Joseph Myers <joseph@codesourcery.com>
2394
2395 * scripts/build-many-glibcs.py (Context.checkout): Default
2396 binutils version to 2.32 branch.
2397
2398 2019-01-21 Florian Weimer <fweimer@redhat.com>
2399
2400 [BZ #20018]
2401 CVE-2016-10739
2402 resolv: Reject trailing characters in host names
2403 * include/arpa/inet.h (__inet_aton_exact): Declare.
2404 (inet_aton): Remove hidden prototype. No longer used internally.
2405 * nscd/gai.c (__inet_aton): Do not define.
2406 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
2407 * nss/digits_dots.c (__inet_aton): Likewise.
2408 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
2409 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
2410 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
2411 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
2412 (tst-resolv-trailing): Likewise.
2413 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
2414 libc.
2415 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
2416 Make static. Add endp parameter.
2417 (__inet_aton_exact): New function.
2418 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
2419 (__inet_addr): Call inet_aton_end.
2420 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
2421 not just IPv6. Call __inet_aton_exact.
2422 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
2423 (tests): Make const. Add additional test cases with trailing
2424 characters.
2425 (do_test): Use array_length.
2426 * resolv/tst-inet_aton_exact.c: New file.
2427 * resolv/tst-resolv-trailing.c: Likewise.
2428 * resolv/tst-resolv-nondecimal.c: Likewise.
2429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
2430
2431 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2432
2433 [BZ# 24097]
2434 CVE-2019-6488
2435 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
2436 Clear the upper 32 bits of RSI register.
2437 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
2438 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
2439 and tst-size_t-wcsnlen.
2440 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
2441 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
2442
2443 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2444
2445 [BZ# 24097]
2446 CVE-2019-6488
2447 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
2448 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2449 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2450 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
2451 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
2452
2453 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2454
2455 [BZ# 24097]
2456 CVE-2019-6488
2457 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
2458 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2459 * sysdeps/x86_64/strcmp.S: Likewise.
2460 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
2461 tst-size_t-strncmp and tst-size_t-wcsncmp.
2462 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
2463 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
2464 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
2465
2466 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2467
2468 [BZ# 24097]
2469 CVE-2019-6488
2470 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
2471 RDX_LP for length. Clear the upper 32 bits of RDX register.
2472 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
2473 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
2474 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
2475 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
2476
2477 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2478
2479 [BZ# 24097]
2480 CVE-2019-6488
2481 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
2482 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
2483 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
2484 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
2485
2486 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2487
2488 [BZ# 24097]
2489 CVE-2019-6488
2490 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
2491 length. Clear the upper 32 bits of RDX register.
2492 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2493 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2494 Likewise.
2495 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2496 Likewise.
2497 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
2498 tst-size_t-wmemchr.
2499 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
2500
2501 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2502
2503 [BZ# 24097]
2504 CVE-2019-6488
2505 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
2506 length. Clear the upper 32 bits of RDX register.
2507 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2508 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2509 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
2510 tst-size_t-wmemcmp.
2511 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
2512 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
2513
2514 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2515
2516 [BZ# 24097]
2517 CVE-2019-6488
2518 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
2519 upper 32 bits of RDX register.
2520 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2521 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
2522 tst-size_t-wmemchr.
2523 * sysdeps/x86_64/x32/test-size_t.h: New file.
2524 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
2525 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
2526
2527 2019-01-18 Florian Weimer <fweimer@redhat.com>
2528
2529 [BZ #24112]
2530 resolv: Do not send queries for non-host-names in nss_dns.
2531 * resolv/nss_dns/dns-host.c (check_name): New function.
2532 (_nss_dns_gethostbyname2_r): Use it.
2533 (_nss_dns_gethostbyname_r): Likewise.
2534 (_nss_dns_gethostbyname4_r): Likewise.
2535
2536 2019-01-21 Florian Weimer <fweimer@redhat.com>
2537
2538 * resolv/inet_addr.c: Reformat to GNU style.
2539 (__inet_addr, __inet_aton): Update comment.
2540
2541 2019-01-18 Florian Weimer <fweimer@redhat.com>
2542
2543 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
2544 ("malloc: Use current (C11-style) atomics for fastbin access").
2545 This commit introduces a substantial performance regression on
2546 POWER and Aarch64.
2547 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
2548 (REMOVE_FB): Define.
2549 (_int_malloc): Use it and reindent.
2550 (_int_free): Use CAS loop with
2551 catomic_compare_and_exchange_val_rel.
2552 (malloc_consolidate): Use atomic_exchange_acq.
2553
2554
2555 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
2556
2557 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
2558 -Wl,-z,now.
2559 (LDFLAGS-tst-minsigstksz-2): Likewise.
2560 (LDFLAGS-tst-minsigstksz-3): Likewise.
2561 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2562 (LDFLAGS-tst-minsigstksz-4): Likewise.
2563
2564 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2565
2566 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2567 than "alternate".
2568
2569 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
2570
2571 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2572
2573 2019-01-16 Zack Weinberg <zackw@panix.com>
2574
2575 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2576 (xget_sigstack_location): New test support functions.
2577 * support/xsigstack.c: New file, implementing them.
2578 * support/tst-xsigstack.c: New test for them.
2579 * support/Makefile: Update.
2580
2581 * signal/tst-minsigstksz-1.c
2582 * signal/tst-minsigstksz-2.c
2583 * signal/tst-minsigstksz-3.c
2584 * signal/tst-minsigstksz-3a.c
2585 * signal/tst-minsigstksz-4.c: New tests.
2586 * signal/Makefile: Run them.
2587
2588 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2589
2590 * po/libc.pot: Regenerate.
2591
2592 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2593
2594 * math/libm-test-fma.inc (fma_test_data): Set
2595 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2596
2597 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2598
2599 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2600 (do_test): Changed __vector __int128_t to __vector unsigned int.
2601
2602 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2603
2604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2605 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2606 stpcpy-avx2 and stpncpy-avx2.
2607 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2608 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2609 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2610 and __stpncpy_avx2.
2611 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2612 ifunc-strcpy.h}: rename header for a more generic name.
2613 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2614 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2615 AVX unaligned load is fast and vzeroupper is preferred.
2616 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2617 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2618 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2619 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2620 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2621 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2622
2623 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2624
2625 * argp/argp-help.c: Fix typo in comment.
2626 * misc/sys/cdefs.h: Likewise.
2627 * posix/regexec.c (sift_states_iter_mb): Likewise.
2628 * socket/sockatmark.c: Likewise.
2629 * socket/sys/socket.h: Likewise.
2630 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2631 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2632 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2633 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2634 * sysdeps/unix/sockatmark.c: Likewise.
2635 * time/strptime_l.c: Likewise.
2636
2637 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2638
2639 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2640 missing space after the cast of "_NL_CURRENT".
2641
2642 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2643
2644 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2645 ifdef to fix read of VSCR.
2646 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2647 tst-ucontext-ppc64-vscr.c to test list.
2648 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2649
2650 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2651
2652 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2653 fall-through.
2654
2655 2019-01-09 Jim Wilson <jimw@sifive.com>
2656
2657 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2658
2659 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2660
2661 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2662 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2663 __memcpy_falkor for ares.
2664 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2665 Add new define.
2666 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2667 Add ares cpu.
2668
2669 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2670
2671 [BZ #24066]
2672 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2673 4_FP_W_TYPEs are used for IEEE quad precision.
2674 * soft-fp/extendhftf2.c: Likewise.
2675 * soft-fp/extendsftf2.c: Likewise.
2676 * soft-fp/extendxftf2.c: Likewise.
2677 * soft-fp/trunctfdf2.c: Likewise.
2678 * soft-fp/trunctfhf2.c: Likewise.
2679 * soft-fp/trunctfsf2.c: Likewise.
2680 * soft-fp/trunctfxf2.c: Likewise.
2681 * sysdeps/alpha/ots_cvttx.c: Likewise.
2682 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2683 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2684 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2685 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2686 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2687 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2688 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2689 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2690 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2691 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2692 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2693 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2694 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2695 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2696 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2697 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2698 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2699
2700 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2701
2702 [BZ #24024]
2703 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2704 code with -fmath-errno.
2705 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2706 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2707 * string/test-strerror-errno.c: New file.
2708
2709 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2710
2711 [BZ #24046]
2712 * localedata/locales/en_US (date_fmt): Add, set to
2713 "%a %d %b %Y %r %Z".
2714
2715 2019-01-07 Florian Weimer <fweimer@redhat.com>
2716
2717 [BZ #24063]
2718 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2719 instead of @var{errno}.
2720 (Parsing of Integers): Likewise.
2721 (Parsing of Floats): Likewise.
2722 * manual/filesys.texi (Working with Directory Trees): Likewise.
2723 (Temporary Files): Likewise.
2724 * manual/job.texi (Terminal Access Functions): Likewise.
2725 * manual/llio.texi (Synchronizing I/O): Likewise.
2726 * manual/math.texi (SVID Random): Likewise.
2727 * manual/message.texi (The catgets Functions): Likewise.
2728 (Translation with gettext): Likewise.
2729 (Locating gettext catalog): Likewise.
2730 (Charset conversion in gettext): Likewise.
2731 * manual/nss.texi (NSS Module Function Internals): Likewise.
2732 * manual/search.texi (Hash Search Function): Likewise.
2733 * manual/setjmp.texi (System V contexts): Likewise.
2734 * manual/time.texi (Sleeping): Likewise.
2735 * manual/users.texi (Lookup User): Likewise.
2736 (Lookup Group): Likewise.
2737
2738 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2739
2740 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2741 fix typo.
2742
2743 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
2744
2745 [BZ #19444]
2746 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2747 __builtin_unreachable for default case in switch.
2748 (__ieee754_yn): Likewise.
2749 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2750 (__ieee754_ynl): Likewise.
2751 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2752 (__ieee754_ynl): Likewise.
2753 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2754 (__ieee754_ynl): Likewise.
2755
2756 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2757
2758 * manual/maint.texi: Use @{ and @}.
2759
2760 2019-01-04 Florian Weimer <fweimer@redhat.com>
2761
2762 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2763 function.
2764 (do_in_chroot_1): Call it.
2765 (run_chroot_tests):
2766 Improve error reporting in case it is not possible to create a
2767 collision for the PTY name required by the test.
2768
2769 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2770
2771 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2772 lll_wait_tid with timeout.
2773 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2774 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2775 futex_reltimed_wait_cancelable for cancelabla mode.
2776 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2777 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2778 macros.
2779 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2780 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2781 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2782 SYSCALL_CANCEL_NCS): New macro.
2783 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2784 (lll_timedwait_tid): Remove macro.
2785 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2786 Likewise.
2787 (lll_timedwait_tid): Likewise.
2788 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2789 Likewise.
2790 (lll_timedwait_tid): Likewise.
2791 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2792 Likewise.
2793 (lll_timedwait_tid): Likewise.
2794 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2795 Use INTERNAL_SYSCALL_CANCEL.
2796 * sysdeps/unix/sysv/linux/futex-internal.h
2797 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2798 instead of __pthread_{enable,disable}_asynccancel.
2799 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2800 (lll_futex_wait_cancel): New macro.
2801
2802 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2803 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2804
2805 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2806 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2807
2808 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2809 in backtrace analysis.
2810 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2811 side-effects.
2812 (tf_send): Likewise.
2813
2814 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2815 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2816 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2817 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2818 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2819 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2820 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2821 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2822 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2823 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2824 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2825 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2826 Likewise.
2827 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2828 tst-cancel-wrappers.sh.
2829 (generated): Remove tst-cancel-wrappers.out.
2830 (tst-cancel-wrappers.out): Remove rule.
2831 * nptl/tst-cancel-wrappers.sh: Remove file.
2832
2833 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2834
2835 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2836 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2837 Update.
2838
2839 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2840
2841 [BZ #23640]
2842 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2843 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2844 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2845 close-on-exec reset for adddup2 file action.
2846 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2847
2848 2019-01-03 Zack Weinberg <zackw@panix.com>
2849
2850 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2851 parameter. Only use deprecated scanf when __USE_GNU is defined
2852 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2853 than 201103L, whichever is relevant for the language being compiled.
2854
2855 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2856 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2857 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2858 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2859 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2860
2861 * libio/iovsscanf.c
2862 * libio/fwscanf.c
2863 * libio/iovswscanf.c
2864 * libio/swscanf.c
2865 * libio/vscanf.c
2866 * libio/vwscanf.c
2867 * libio/wscanf.c
2868 * stdio-common/fscanf.c
2869 * stdio-common/scanf.c
2870 * stdio-common/vfscanf.c
2871 * stdio-common/vfwscanf.c
2872 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2873 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2874 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2875 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2876 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2877 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2878 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2879 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2880 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2881 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2882 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2883 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2884 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2885 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2886 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2887
2888 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2889 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2890 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2891 not sscanf.
2892 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2893 with a preprocessor macro.
2894
2895 * stdio-common/bug21.c, stdio-common/scanf14.c:
2896 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2897 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2898 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2899 to xscanf, xfscanf, xsscanf.
2900
2901 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2902 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2903 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2904 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2905 xfscanf, xsscanf.
2906 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2907 override feature selection macros or provide definitions of u_char etc.
2908 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2909 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2910 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2911 with -std=gnu89.
2912
2913 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2914
2915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2916 bits/termios-misc.h.
2917 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2918 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2919 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2920 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2921 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2922 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2923
2924 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2925 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2926 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2927 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2928 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2929 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2930 termios-misc.h.
2931 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2932 (sysdep_headers): Add termios-misc.h.
2933
2934 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2935 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2936 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2937
2938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2939 termios-tcflow.h.
2940 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2941 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2942 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2943 TCSAFLUSH): Move to termios-tcflow.h.
2944 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2945 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2946 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2947 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2948
2949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2950 termios-c_lflag.h.
2951 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2952 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2953 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2954 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2955 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2956 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2957 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2958 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2959 Likewise.
2960 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2961 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2962 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2963 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2964
2965 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2966 termios-c_cflag.h.
2967 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2968 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2969 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2970 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2971 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2972 termios-c_cflag.h.
2973 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2974 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2975 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2976 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2977
2978 [BZ #23783]
2979 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2980 termios-baud.h.
2981 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
2982 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
2983 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
2984 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
2985 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
2986 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
2987 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
2988 __MAX_BAUD): Move to termios-baud.h.
2989 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
2990 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
2991 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2992 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2993 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2994
2995 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2996 termios-c_oflag.h.
2997 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
2998 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
2999 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3000 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3001 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3002 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3003 termios-c_oflag.h.
3004 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3005 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3006 FFR1): Likewise.
3007 [USE_MISC] (XTABS): Likewise.
3008 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3009 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3010 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3011 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3012
3013 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3014 termios-c_iflag.h.
3015 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3016 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3017 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3018 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3019 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3020 IUTF8): Move to termios-c_iflag.h.
3021 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3022 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3023 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3024 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3025
3026 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3027 termios-cc.h.
3028 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3029 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3030 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3031 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3032 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3033 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3034 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3035 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3036 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3037 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3038 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3039 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3040
3041 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3042 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3043 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3044 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3046 termios-struct.h.
3047 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3048 termios-struct.h.
3049 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3050 Likewise.
3051 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3052 Likewise.
3053 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3054 Likewise.
3055 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3056 Likewise.
3057 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3058 _HAVE_C_OSPEED): Define.
3059 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3060 _HAVE_C_OSPEED): Likewise.
3061 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3062 _HAVE_C_OSPEED): Likewise.
3063 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
3064 (cfsetospeed): Check for define value instead of existence.
3065 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
3066 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3067 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
3068 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3069 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
3070
3071 [BZ #17783]
3072 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
3073 Define.
3074 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3075 (TIOCSER_TEMT): Likewise.
3076 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
3077 (TEOCSER_TEMT): Likewise.
3078
3079 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
3080
3081 [BZ #24011]
3082 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
3083
3084 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3085
3086 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3087
3088 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3089
3090 * sysdeps/htl/pt-barrierattr-setpshared.c
3091 (pthread_barrierattr_setpshared): Add stub warning.
3092 * sysdeps/htl/pt-condattr-setpshared.c
3093 (pthread_condattr_setpshared): Likewise.
3094 * sysdeps/htl/pt-mutexattr-setpshared.c
3095 (pthread_mutexattr_setpshared): Likewise.
3096 * sysdeps/htl/pt-rwlockattr-setpshared.c
3097 (pthread_rwlockattr_setpshared): Likewise.
3098 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
3099 (pthread_mutexattr_setpshared): Likewise.
3100
3101 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3102
3103 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
3104 constants to match with Linux 4.20.
3105
3106 * sysdeps/mips/mips32/libm-test-ulps: Update.
3107 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3108
3109 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
3110
3111 [BZ #24034]
3112 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
3113 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
3114 than __typeof (...) for the a_ptr variable.
3115
3116 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3117
3118 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
3119 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
3120 * libio/Makefile (tests): Add tst-sprintf-ub and
3121 tst-sprintf-chk-ub.
3122 (CFLAGS-tst-sprintf-ub.c): New variable.
3123 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
3124 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
3125 destination buffer and check for overflows in fortified mode.
3126 * libio/libioP.h (PRINTF_CHK): New macro.
3127 * libio/tst-sprintf-chk-ub.c: New file.
3128 * libio/tst-sprintf-ub.c: Likewise.
3129
3130 2019-01-02 Florian Weimer <fweimer@redhat.com>
3131
3132 [BZ #24018]
3133 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
3134 failure.
3135
3136 2019-01-02 Florian Weimer <fweimer@redhat.com>
3137
3138 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
3139
3140 2019-01-01 Joseph Myers <joseph@codesourcery.com>
3141
3142 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
3143 macro.
3144
3145 * sysdeps/unix/sysv/linux/netpacket/packet.h
3146 (PACKET_IGNORE_OUTGOING): New macro.
3147
3148 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3149 macro.
3150
3151 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3152 version to 4.20.
3153 (riscv_flush_icache): New syscall.
3154
3155 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3156 trailing whitespace removed.
3157 * scripts/config.guess: Update to version 2019-01-01.
3158 * scripts/config.sub: Update to version 2019-01-01.
3159 * scripts/move-if-change: Update from gnulib.
3160
3161 * NEWS: Update copyright dates.
3162 * catgets/gencat.c (print_version): Likewise.
3163 * csu/version.c (banner): Likewise.
3164 * debug/catchsegv.sh: Likewise.
3165 * debug/pcprofiledump.c (print_version): Likewise.
3166 * debug/xtrace.sh (do_version): Likewise.
3167 * elf/ldconfig.c (print_version): Likewise.
3168 * elf/ldd.bash.in: Likewise.
3169 * elf/pldd.c (print_version): Likewise.
3170 * elf/sotruss.sh: Likewise.
3171 * elf/sprof.c (print_version): Likewise.
3172 * iconv/iconv_prog.c (print_version): Likewise.
3173 * iconv/iconvconfig.c (print_version): Likewise.
3174 * locale/programs/locale.c (print_version): Likewise.
3175 * locale/programs/localedef.c (print_version): Likewise.
3176 * login/programs/pt_chown.c (print_version): Likewise.
3177 * malloc/memusage.sh (do_version): Likewise.
3178 * malloc/memusagestat.c (print_version): Likewise.
3179 * malloc/mtrace.pl: Likewise.
3180 * manual/libc.texinfo: Likewise.
3181 * nptl/version.c (banner): Likewise.
3182 * nscd/nscd.c (print_version): Likewise.
3183 * nss/getent.c (print_version): Likewise.
3184 * nss/makedb.c (print_version): Likewise.
3185 * posix/getconf.c (main): Likewise.
3186 * scripts/test-installation.pl: Likewise.
3187 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3188
3189 * All files with FSF copyright notices: Update copyright dates
3190 using scripts/update-copyrights.
3191 * locale/programs/charmap-kw.h: Regenerated.
3192 * locale/programs/locfile-kw.h: Likewise.
3193
3194 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3195
3196 * timezone/zdump.c: Update from tzcode 2018i.
3197 * timezone/zic.c: Likewise.
3198
3199 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3200
3201 regex: improve Gnulib port to AIX
3202 From the glibc point of view, this removes duplicate macro
3203 definitions and is obviously safe.
3204 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3205 * posix/regex_internal.h:
3206 (__attribute__, __attribute_warn_unused_result__):
3207 Remove; already defined elsewhere.
3208
3209 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
3210
3211 [BZ #24027]
3212 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3213 copying operation. (ncopies had the wrong type, resulting in an
3214 integer wraparound and too few elements being copied.)
3215
3216 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3217
3218 [BZ #24022]
3219 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3220 <asm/syscalls.h> exists with __has_include__ before including it.
3221
3222 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3223
3224 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3225 version to 4.20.
3226
3227 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
3228
3229 * hurd/lookup-retry: Include <unistd.h>.
3230 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3231 Release it on return. Handle "pid" magical lookup retry.
3232
3233 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3234
3235 [BZ #10496]
3236 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3237 (t_fmt_ampm): Likewise.
3238 * localedata/locales/aa_ER (t_fmt): Likewise.
3239 (t_fmt_ampm): Likewise.
3240 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3241 (t_fmt_ampm): Likewise.
3242 * localedata/locales/aa_ET (t_fmt): Likewise.
3243 (t_fmt_ampm): Likewise.
3244 * localedata/locales/am_ET (t_fmt): Likewise.
3245 (t_fmt_ampm): Likewise.
3246 * localedata/locales/byn_ER (t_fmt): Likewise.
3247 (t_fmt_ampm): Likewise.
3248 * localedata/locales/om_ET (t_fmt): Likewise.
3249 (t_fmt_ampm): Likewise.
3250 * localedata/locales/sid_ET (t_fmt): Likewise.
3251 (t_fmt_ampm): Likewise.
3252 * localedata/locales/so_DJ (t_fmt): Likewise.
3253 (t_fmt_ampm): Likewise.
3254 * localedata/locales/so_ET (t_fmt): Likewise.
3255 (t_fmt_ampm): Likewise.
3256 * localedata/locales/so_SO (t_fmt): Likewise.
3257 (t_fmt_ampm): Likewise.
3258 * localedata/locales/ti_ER (t_fmt): Likewise.
3259 (t_fmt_ampm): Likewise.
3260 * localedata/locales/ti_ET (t_fmt): Likewise.
3261 (t_fmt_ampm): Likewise.
3262 * localedata/locales/tig_ER (t_fmt): Likewise.
3263 (t_fmt_ampm): Likewise.
3264 * localedata/locales/wal_ET (t_fmt): Likewise.
3265 (t_fmt_ampm): Likewise.
3266
3267 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3268 * localedata/locales/ar_IN (t_fmt): Likewise.
3269 * localedata/locales/bhb_IN (t_fmt): Likewise.
3270 * localedata/locales/bho_IN (t_fmt): Likewise.
3271 * localedata/locales/bi_VU (t_fmt): Likewise.
3272 * localedata/locales/bn_BD (t_fmt): Likewise.
3273 * localedata/locales/bn_IN (t_fmt): Likewise.
3274 * localedata/locales/brx_IN (t_fmt): Likewise.
3275 * localedata/locales/doi_IN (t_fmt): Likewise.
3276 * localedata/locales/en_HK (t_fmt): Likewise.
3277 (t_fmt_ampm): Likewise.
3278 * localedata/locales/en_IN (t_fmt): Likewise.
3279 * localedata/locales/en_PH (t_fmt): Likewise.
3280 * localedata/locales/gu_IN (t_fmt): Likewise.
3281 * localedata/locales/hi_IN (t_fmt): Likewise.
3282 * localedata/locales/hif_FJ (t_fmt): Likewise.
3283 * localedata/locales/hne_IN (t_fmt): Likewise.
3284 * localedata/locales/kn_IN (t_fmt): Likewise.
3285 * localedata/locales/kok_IN (t_fmt): Likewise.
3286 * localedata/locales/ks_IN (t_fmt): Likewise.
3287 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
3288 * localedata/locales/mag_IN (t_fmt): Likewise.
3289 * localedata/locales/mai_IN (t_fmt): Likewise.
3290 * localedata/locales/mjw_IN (t_fmt): Likewise.
3291 * localedata/locales/ml_IN (t_fmt): Likewise.
3292 * localedata/locales/mni_IN (t_fmt): Likewise.
3293 * localedata/locales/mr_IN (t_fmt): Likewise.
3294 * localedata/locales/ms_MY (t_fmt): Likewise.
3295 * localedata/locales/pa_IN (t_fmt): Likewise.
3296 * localedata/locales/raj_IN (t_fmt): Likewise.
3297 * localedata/locales/sa_IN (t_fmt): Likewise.
3298 * localedata/locales/sat_IN (t_fmt): Likewise.
3299 * localedata/locales/sd_IN (t_fmt): Likewise.
3300 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3301 * localedata/locales/tcy_IN (t_fmt): Likewise.
3302 * localedata/locales/the_NP (t_fmt): Likewise.
3303 * localedata/locales/to_TO (t_fmt): Likewise.
3304 * localedata/locales/ur_IN (t_fmt): Likewise.
3305
3306 * localedata/locales/hif_FJ (d_t_fmt): Set to
3307 "%A %d %b %Y %I:%M:%S %p".
3308 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
3309
3310 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
3311 * localedata/locales/ar_BH (t_fmt): Likewise.
3312 * localedata/locales/ar_DZ (t_fmt): Likewise.
3313 * localedata/locales/ar_EG (t_fmt): Likewise.
3314 * localedata/locales/ar_IQ (t_fmt): Likewise.
3315 * localedata/locales/ar_JO (t_fmt): Likewise.
3316 * localedata/locales/ar_KW (t_fmt): Likewise.
3317 * localedata/locales/ar_LB (t_fmt): Likewise.
3318 * localedata/locales/ar_LY (t_fmt): Likewise.
3319 * localedata/locales/ar_OM (t_fmt): Likewise.
3320 * localedata/locales/ar_QA (t_fmt): Likewise.
3321 * localedata/locales/ar_SD (t_fmt): Likewise.
3322 * localedata/locales/ar_SS (t_fmt): Likewise.
3323 * localedata/locales/ar_SY (t_fmt): Likewise.
3324 * localedata/locales/ar_TN (t_fmt): Likewise.
3325 * localedata/locales/ar_YE (t_fmt): Likewise.
3326
3327 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
3328 (t_fmt_ampm): Likewise.
3329 * localedata/locales/gez_ET (t_fmt): Likewise.
3330 (t_fmt_ampm): Likewise.
3331
3332 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
3333 (t_fmt_ampm): Likewise.
3334 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
3335
3336 * localedata/locales/zh_HK (t_fmt):
3337 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
3338
3339 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
3340 because this locale does not use the 12-hour clock.
3341 (t_fmt): Set to "%Z %H:%M:%S".
3342 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
3343
3344 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
3345 because this locale does not use the 12-hour clock.
3346 (t_fmt): Set to "%H:%M:%S %Z".
3347 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
3348
3349 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
3350 because this locale does not use the 12-hour clock.
3351 (t_fmt): Set to "%T".
3352 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
3353 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
3354
3355 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
3356 because this locale does not use the 12-hour clock.
3357 (t_fmt): Set to "%H:%M:%S %Z".
3358 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
3359
3360 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
3361 because this locale does not use the 12-hour clock.
3362 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
3363 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
3364
3365 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3366
3367 [BZ #10496]
3368 [BZ #23724]
3369 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
3370 (t_fmt_ampm): Likewise.
3371 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
3372 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
3373 (d_fmt): Set to "%-d.%-m.%y".
3374
3375 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3376
3377 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
3378 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
3379 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
3380 Likewise.
3381 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3382 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
3383 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
3384 function.
3385 * support/blob_repeat.c (check_mul_overflow_size_t,
3386 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
3387
3388 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
3389
3390 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
3391
3392 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
3393
3394 regex: simplify Gnulib port
3395 This simplifies the code, by removing stuff intended for porting
3396 to Gnulib but no longer needed there.
3397 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
3398 uses of libc_hidden_def, weak_alias.
3399 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
3400 _Restrict_ except for public-facing headers.
3401 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
3402 Remove; already defined elsewhere.
3403 * posix/regex.c, posix/regex_internal.h:
3404 Use __GNUC_PREREQ instead of rolling our own.
3405 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
3406
3407 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
3408
3409 * benchtests/bench-strlen.c (generic_strlen): New function.
3410 (memchr_strlen): New function.
3411
3412 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3413
3414 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
3415 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3416 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
3417
3418 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3419
3420 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3421
3422 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3423
3424 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
3425 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
3426 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
3427 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
3428 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
3429 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
3430 <sysdeps/ieee754/flt-32/s_sincosf.c>.
3431
3432 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3433
3434 [BZ #24023]
3435 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
3436 PLT reference in libc.so.
3437 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
3438 _Q_lltoq and _Q_qtod PLT references in libc.so.
3439
3440 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
3441
3442 * benchtests/bench-memchr.c: Cleanup defines.
3443 * benchtests/bench-memcmp.c: Likewise.
3444 * benchtests/bench-memset.c: Likewise.
3445 * benchtests/bench-memset-large.c: Likewise.
3446 * benchtests/bench-memset-walk.c: Likewise.
3447 * benchtests/bench-stpcpy.c: Likewise.
3448 * benchtests/bench-stpncpy.c: Likewise.
3449 * benchtests/bench-strcat.c: Likewise.
3450 * benchtests/bench-strchr.c: Likewise.
3451 * benchtests/bench-strcmp.c: Likewise.
3452 * benchtests/bench-strcpy.c: Likewise.
3453 * benchtests/bench-strcspn.c: Likewise.
3454 * benchtests/bench-string.h: Likewise.
3455 * benchtests/bench-strlen.c: Likewise.
3456 * benchtests/bench-strncat.c: Likewise.
3457 * benchtests/bench-strncmp.c: Likewise.
3458 * benchtests/bench-strncpy.c: Likewise.
3459 * benchtests/bench-strnlen.c: Likewise.
3460 * benchtests/bench-strpbrk.c: Likewise.
3461 * benchtests/bench-strrchr.c: Likewise.
3462 * benchtests/bench-strspn.c: Likewise.
3463
3464 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3465
3466 * stdlib/longlong.h: Update from GCC.
3467
3468 [BZ #23993]
3469 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
3470 * configure: Regenerated.
3471 * manual/install.texi (Tools for Compilation): Update minimum GCC
3472 version.
3473 * INSTALL: Regenerated.
3474
3475 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
3476
3477 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
3478
3479 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
3480
3481 * malloc/malloc.c (mremap_chunk): Additional checks.
3482
3483 2018-12-21 Mao Han <han_mao@c-sky.com>
3484
3485 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
3486 * scripts/build-many-glibcs.py: Add C-SKY targets.
3487 * sysdeps/csky/Implies: New file.
3488 * sysdeps/csky/Makefile: Likewise.
3489 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
3490 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
3491 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
3492 * sysdeps/csky/abiv2/memcmp.S: Likewise.
3493 * sysdeps/csky/abiv2/memcpy.S: Likewise.
3494 * sysdeps/csky/abiv2/memmove.S: Likewise.
3495 * sysdeps/csky/abiv2/memset.S: Likewise.
3496 * sysdeps/csky/abiv2/setjmp.S: Likewise.
3497 * sysdeps/csky/abiv2/start.S: Likewise.
3498 * sysdeps/csky/abiv2/strcmp.S: Likewise.
3499 * sysdeps/csky/abiv2/strcpy.S: Likewise.
3500 * sysdeps/csky/abiv2/strlen.S: Likewise.
3501 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
3502 * sysdeps/csky/abort-instr.h: Likewise.
3503 * sysdeps/csky/atomic-machine.h: Likewise.
3504 * sysdeps/csky/bits/endian.h: Likewise.
3505 * sysdeps/csky/bits/fenv.h: Likewise.
3506 * sysdeps/csky/bits/link.h: Likewise.
3507 * sysdeps/csky/bits/setjmp.h: Likewise.
3508 * sysdeps/csky/bsd-_setjmp.S: Likewise.
3509 * sysdeps/csky/bsd-setjmp.S: Likewise.
3510 * sysdeps/csky/configure: Likewise.
3511 * sysdeps/csky/configure.ac: Likewise.
3512 * sysdeps/csky/dl-machine.h: Likewise.
3513 * sysdeps/csky/dl-procinfo.c: Likewise.
3514 * sysdeps/csky/dl-procinfo.h: Likewise.
3515 * sysdeps/csky/dl-sysdep.h: Likewise.
3516 * sysdeps/csky/dl-tls.h: Likewise.
3517 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
3518 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
3519 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
3520 * sysdeps/csky/fpu/fegetenv.c: Likewise.
3521 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
3522 * sysdeps/csky/fpu/fegetmode.c: Likewise.
3523 * sysdeps/csky/fpu/fegetround.c: Likewise.
3524 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
3525 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
3526 * sysdeps/csky/fpu/fenv_private.h: Likewise.
3527 * sysdeps/csky/fpu/fesetenv.c: Likewise.
3528 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
3529 * sysdeps/csky/fpu/fesetmode.c: Likewise.
3530 * sysdeps/csky/fpu/fesetround.c: Likewise.
3531 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
3532 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
3533 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
3534 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
3535 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
3536 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
3537 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
3538 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
3539 * sysdeps/csky/fpu_control.h: Likewise.
3540 * sysdeps/csky/gccframe.h: Likewise.
3541 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
3542 * sysdeps/csky/ldsodefs.h: Likewise.
3543 * sysdeps/csky/libc-tls.c: Likewise.
3544 * sysdeps/csky/linkmap.h: Likewise.
3545 * sysdeps/csky/machine-gmon.h: Likewise.
3546 * sysdeps/csky/memusage.h: Likewise.
3547 * sysdeps/csky/nofpu/Implies: Likewise.
3548 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
3549 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
3550 * sysdeps/csky/nptl/Makefile: Likewise.
3551 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
3552 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
3553 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
3554 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
3555 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
3556 * sysdeps/csky/nptl/tls.h: Likewise.
3557 * sysdeps/csky/preconfigure: Likewise.
3558 * sysdeps/csky/sfp-machine.h: Likewise.
3559 * sysdeps/csky/sotruss-lib.c: Likewise.
3560 * sysdeps/csky/stackinfo.h: Likewise.
3561 * sysdeps/csky/sysdep.h: Likewise.
3562 * sysdeps/csky/tininess.h: Likewise.
3563 * sysdeps/csky/tst-audit.h: Likewise.
3564 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3565 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3566 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3567 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3568 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3569 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3570 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3571 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3572 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3573 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3574 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3575 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3576 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3577 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3578 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3579 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3580 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3581 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3582 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3583 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3584 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3585 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3586 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3587 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3588 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3589 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3590 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3591 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3592 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3593 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3594 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3595 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3596 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3597 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3598 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3599 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3600 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3601 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3602 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3603 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3604 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3605 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3606 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3607 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3608
3609 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3610
3611 * include/time.h (__difftime64): Add.
3612 * time/difftime.c (subtract): convert to 64-bit time.
3613 * time/difftime.c (__difftime64): Add.
3614 * time/difftime.c (__difftime): Wrap around __difftime64.
3615
3616 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3617
3618 * manual/examples/add.c: Remove redundant "if not".
3619 * manual/examples/argp-ex1.c: Likewise.
3620 * manual/examples/argp-ex2.c: Likewise.
3621 * manual/examples/argp-ex3.c: Likewise.
3622 * manual/examples/argp-ex4.c: Likewise.
3623 * manual/examples/atexit.c: Likewise.
3624 * manual/examples/db.c: Likewise.
3625 * manual/examples/dir.c: Likewise.
3626 * manual/examples/dir2.c: Likewise.
3627 * manual/examples/execinfo.c: Likewise.
3628 * manual/examples/filecli.c: Likewise.
3629 * manual/examples/filesrv.c: Likewise.
3630 * manual/examples/fmtmsgexpl.c: Likewise.
3631 * manual/examples/genpass.c: Likewise.
3632 * manual/examples/inetcli.c: Likewise.
3633 * manual/examples/inetsrv.c: Likewise.
3634 * manual/examples/isockad.c: Likewise.
3635 * manual/examples/longopt.c: Likewise.
3636 * manual/examples/memopen.c: Likewise.
3637 * manual/examples/memstrm.c: Likewise.
3638 * manual/examples/mkdirent.c: Likewise.
3639 * manual/examples/mkfsock.c: Likewise.
3640 * manual/examples/mkisock.c: Likewise.
3641 * manual/examples/mygetpass.c: Likewise.
3642 * manual/examples/pipe.c: Likewise.
3643 * manual/examples/popen.c: Likewise.
3644 * manual/examples/rprintf.c: Likewise.
3645 * manual/examples/search.c: Likewise.
3646 * manual/examples/select.c: Likewise.
3647 * manual/examples/setjmp.c: Likewise.
3648 * manual/examples/sigh1.c: Likewise.
3649 * manual/examples/sigusr.c: Likewise.
3650 * manual/examples/stpcpy.c: Likewise.
3651 * manual/examples/strdupa.c: Likewise.
3652 * manual/examples/strftim.c: Likewise.
3653 * manual/examples/subopt.c: Likewise.
3654 * manual/examples/swapcontext.c: Likewise.
3655 * manual/examples/termios.c: Likewise.
3656 * manual/examples/testopt.c: Likewise.
3657 * manual/examples/testpass.c: Likewise.
3658 * manual/examples/timeval_subtract.c: Likewise.
3659
3660 2018-12-19 Joseph Myers <joseph@codesourcery.com>
3661
3662 * sysdeps/x86/fpu/math_private.h: New file.
3663 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3664
3665 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3666 definition.
3667 (cosh): Likewise.
3668 (tanh): Likewise.
3669
3670 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3671
3672 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3673 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3674 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3675 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3676 fields.
3677 (_dl_show_auxv): Give a special treatment to
3678 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3679 and AT_L3_CACHEGEOMETRY.
3680 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3681 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3682 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3683 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3684
3685 2018-12-19 Andreas Schwab <schwab@suse.de>
3686
3687 * nscd/connections.c (check_use): Don't abort on invalid len.
3688
3689 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3690
3691 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3692 values in the 64bit value cases.
3693
3694 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3695
3696 * include/time.h
3697 (__ctime64_r): Add.
3698 * time/ctime_r.c
3699 (__ctime64_r): Add.
3700 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3701
3702 * include/time.h
3703 (__ctime64): Add.
3704 * time/gmtime.c
3705 (__ctime64): Add.
3706 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3707
3708 * include/time.h
3709 (__gmtime64_r): Add.
3710 * time/gmtime.c
3711 (__gmtime64_r): Add.
3712 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3713
3714 * include/time.h
3715 (__gmtime64): Add.
3716 * time/gmtime.c
3717 (__gmtime64): Add.
3718 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3719
3720 * include/time.h
3721 (__localtime64_r): Add.
3722 * time/localtime.c
3723 (__localtime64_r): Add.
3724 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3725
3726 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3727
3728 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3729 kernel_sigction definition.
3730
3731 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3732
3733 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3734
3735 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3736 __syscall_rt_sigaction.
3737 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3738 (kernel_sigaction): Use Linux generic defintion.
3739 (STUB): Define.
3740 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3741 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3742 (__syscall_rt_sigaction): Remove implementation.
3743 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3744 hidden.
3745 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3746 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3747 INTERNAL_SYSCALL): Remove definitions.
3748 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3749 action and signal set size.
3750 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3751 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3752
3753 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3754 James Clarke <jrtc27@jrtc27.com>
3755
3756 [BZ #23967]
3757 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3758 Define if SA_RESTORER is defined.
3759 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3760 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3761 already defined.
3762 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3763 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3764 definitions.
3765 (HAS_SA_RESTORER): Define.
3766 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3767 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3768 (HAS_SA_RESTORER): Define.
3769 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3770 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3771 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3772 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3773 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3774
3775 2018-12-18 Joseph Myers <joseph@codesourcery.com>
3776
3777 * sysdeps/unix/sysv/linux/kernel-features.h
3778 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3779 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3780 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3781 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3782 (__ASSUME_ST_INO_64_BIT): Likewise.
3783 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3784 <kernel-features.h>.
3785 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3786 Remove conditional code.
3787 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3788 <kernel-features.h>.
3789 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3790 Remove conditional code.
3791 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3792 <kernel-features.h>.
3793 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3794 Remove conditional code.
3795 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3796 <kernel-features.h>.
3797 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3798 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3799
3800 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3801
3802 * sysdeps/s390/multiarch/ifunc-resolve.h
3803 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3804 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3805 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3806 Delete macro definition.
3807 (s390_libc_ifunc_init): Rename to
3808 s390_libc_ifunc_expr_stfle_init.
3809 * sysdeps/s390/bzero: Use
3810 s390_libc_ifunc_expr_stfle_init instead of
3811 s390_libc_ifunc_init.
3812 * sysdeps/s390/memcmp.c: Likewise.
3813 * sysdeps/s390/memcpy.c: Likewise.
3814 * sysdeps/s390/mempcpy.c: Likewise.
3815 * sysdeps/s390/memset.c: Likewise.
3816
3817 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3818
3819 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3820 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3821
3822 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3823
3824 * sysdeps/s390/multiarch/Makefile
3825 (sysdep_routines): Remove wmemcmp variants.
3826 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3827 * sysdeps/s390/multiarch/ifunc-impl-list.c
3828 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3829 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3830 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3831 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3832 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3833 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3834 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3835 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3836
3837 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3838
3839 * sysdeps/s390/multiarch/Makefile
3840 (sysdep_routines): Remove wmemset variants.
3841 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3842 * sysdeps/s390/multiarch/ifunc-impl-list.c
3843 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3844 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3845 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3846 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3847 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3848 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3849 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3850 * sysdeps/s390/ifunc-wmemset.h: New file.
3851
3852 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3853
3854 * sysdeps/s390/multiarch/Makefile
3855 (sysdep_routines): Remove wmemchr variants.
3856 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3857 * sysdeps/s390/multiarch/ifunc-impl-list.c
3858 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3859 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3860 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3861 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3862 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3863 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3864 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3865 * sysdeps/s390/ifunc-wmemchr.h: New file.
3866
3867 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3868
3869 * sysdeps/s390/multiarch/Makefile
3870 (sysdep_routines): Remove wcscspn variants.
3871 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3872 * sysdeps/s390/multiarch/ifunc-impl-list.c
3873 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3874 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3875 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3876 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3877 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3878 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3879 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3880 * sysdeps/s390/ifunc-wcscspn.h: New file.
3881
3882 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3883
3884 * sysdeps/s390/multiarch/Makefile
3885 (sysdep_routines): Remove wcspbrk variants.
3886 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3887 * sysdeps/s390/multiarch/ifunc-impl-list.c
3888 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3889 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3890 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3891 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3892 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3893 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3894 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3895 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3896
3897 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3898
3899 * sysdeps/s390/multiarch/Makefile
3900 (sysdep_routines): Remove wcsspn variants.
3901 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3902 * sysdeps/s390/multiarch/ifunc-impl-list.c
3903 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3904 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3905 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3906 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3907 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3908 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3909 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3910 * sysdeps/s390/ifunc-wcsspn.h: New file.
3911
3912 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3913
3914 * sysdeps/s390/multiarch/Makefile
3915 (sysdep_routines): Remove wcsrchr variants.
3916 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3917 * sysdeps/s390/multiarch/ifunc-impl-list.c
3918 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3919 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3920 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3921 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3922 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3923 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3924 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3925 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3926
3927 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3928
3929 * sysdeps/s390/multiarch/Makefile
3930 (sysdep_routines): Remove wcschrnul variants.
3931 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3932 * sysdeps/s390/multiarch/ifunc-impl-list.c
3933 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3934 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3935 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3936 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3937 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3938 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3939 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3940 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3941
3942 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3943
3944 * sysdeps/s390/multiarch/Makefile
3945 (sysdep_routines): Remove wcschr variants.
3946 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3947 * sysdeps/s390/multiarch/ifunc-impl-list.c
3948 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3949 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3950 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3951 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3952 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3953 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3954 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3955 * sysdeps/s390/ifunc-wcschr.h: New file.
3956
3957 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3958
3959 * sysdeps/s390/multiarch/Makefile
3960 (sysdep_routines): Remove wcsncmp variants.
3961 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3962 * sysdeps/s390/multiarch/ifunc-impl-list.c
3963 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3964 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3965 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3966 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3967 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3968 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3969 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3970 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3971
3972 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3973
3974 * sysdeps/s390/multiarch/Makefile
3975 (sysdep_routines): Remove wcscmp variants.
3976 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
3977 * sysdeps/s390/multiarch/ifunc-impl-list.c
3978 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
3979 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
3980 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
3981 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
3982 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
3983 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
3984 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
3985 * sysdeps/s390/ifunc-wcscmp.h: New file.
3986
3987 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3988
3989 * sysdeps/s390/multiarch/Makefile
3990 (sysdep_routines): Remove wcsncat variants.
3991 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
3992 * sysdeps/s390/multiarch/ifunc-impl-list.c
3993 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
3994 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
3995 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
3996 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
3997 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
3998 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
3999 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4000 * sysdeps/s390/ifunc-wcsncat.h: New file.
4001
4002 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4003
4004 * sysdeps/s390/multiarch/Makefile
4005 (sysdep_routines): Remove wcscat variants.
4006 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4007 * sysdeps/s390/multiarch/ifunc-impl-list.c
4008 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4009 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4010 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4011 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4012 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4013 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4014 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4015 * sysdeps/s390/ifunc-wcscat.h: New file.
4016
4017 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4018
4019 * sysdeps/s390/multiarch/Makefile
4020 (sysdep_routines): Remove wcpncpy variants.
4021 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4022 * sysdeps/s390/multiarch/ifunc-impl-list.c
4023 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4024 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4025 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4026 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4027 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4028 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4029 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4030 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4031
4032 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4033
4034 * sysdeps/s390/multiarch/Makefile
4035 (sysdep_routines): Remove wcsncpy variants.
4036 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4037 * sysdeps/s390/multiarch/ifunc-impl-list.c
4038 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4039 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4040 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4041 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4042 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4043 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4044 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4045 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4046
4047 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4048
4049 * sysdeps/s390/multiarch/Makefile
4050 (sysdep_routines): Remove wcpcpy variants.
4051 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4052 * sysdeps/s390/multiarch/ifunc-impl-list.c
4053 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4054 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4055 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4056 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4057 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4058 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4059 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4060 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4061
4062 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4063
4064 * sysdeps/s390/multiarch/Makefile
4065 (sysdep_routines): Remove wcscpy variants.
4066 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
4067 * sysdeps/s390/multiarch/ifunc-impl-list.c
4068 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
4069 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
4070 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
4071 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
4072 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
4073 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
4074 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
4075 * sysdeps/s390/ifunc-wcscpy.h: New file.
4076
4077 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4078
4079 * sysdeps/s390/multiarch/Makefile
4080 (sysdep_routines): Remove wcsnlen variants.
4081 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
4082 * sysdeps/s390/multiarch/ifunc-impl-list.c
4083 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
4084 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
4085 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
4086 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
4087 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
4088 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
4089 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
4090 * sysdeps/s390/ifunc-wcsnlen.h: New file.
4091
4092 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4093
4094 * sysdeps/s390/multiarch/Makefile
4095 (sysdep_routines): Remove wcslen variants.
4096 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
4097 * sysdeps/s390/multiarch/ifunc-impl-list.c
4098 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
4099 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
4100 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
4101 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
4102 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
4103 * sysdeps/s390/multiarch/wcslen.c: Move to ...
4104 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
4105 * sysdeps/s390/ifunc-wcslen.h: New file.
4106
4107 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4108
4109 * sysdeps/s390/multiarch/Makefile
4110 (sysdep_routines): Remove memrchr variants.
4111 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
4112 * sysdeps/s390/multiarch/ifunc-impl-list.c
4113 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
4114 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
4115 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
4116 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
4117 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
4118 * sysdeps/s390/multiarch/memrchr.c: Move to ...
4119 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
4120 * sysdeps/s390/ifunc-memrchr.h: New file.
4121
4122 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4123
4124 * sysdeps/s390/multiarch/Makefile
4125 (sysdep_routines): Remove memccpy variants.
4126 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
4127 * sysdeps/s390/multiarch/ifunc-impl-list.c
4128 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
4129 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
4130 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
4131 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
4132 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
4133 * sysdeps/s390/multiarch/memccpy.c: Move to ...
4134 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
4135 * sysdeps/s390/ifunc-memccpy.h: New file.
4136
4137 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4138
4139 * sysdeps/s390/multiarch/Makefile
4140 (sysdep_routines): Remove rawmemchr variants.
4141 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
4142 * sysdeps/s390/multiarch/ifunc-impl-list.c
4143 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
4144 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
4145 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4146 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4147 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4148 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4149 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4150 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4151
4152 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4153
4154 * sysdeps/s390/multiarch/Makefile
4155 (sysdep_routines): Remove memchr variants.
4156 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4157 * sysdeps/s390/multiarch/ifunc-impl-list.c
4158 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4159 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4160 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4161 * sysdeps/s390/multiarch/memchr.c: Move to ...
4162 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4163 * sysdeps/s390/ifunc-memchr.h: New file.
4164 * sysdeps/s390/s390-64/memchr.S: Move to ...
4165 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4166 for 31/64bit and ifunc handling.
4167 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4168 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4169 * sysdeps/s390/s390-32/memchr.S: Likewise.
4170
4171 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4172
4173 * sysdeps/s390/multiarch/Makefile
4174 (sysdep_routines): Remove strcspn variants.
4175 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4176 * sysdeps/s390/multiarch/ifunc-impl-list.c
4177 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4178 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4179 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4180 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4181 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4182 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4183 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4184 * sysdeps/s390/ifunc-strcspn.h: New file.
4185
4186 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4187
4188 * sysdeps/s390/multiarch/Makefile
4189 (sysdep_routines): Remove strpbrk variants.
4190 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4191 * sysdeps/s390/multiarch/ifunc-impl-list.c
4192 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4193 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4194 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4195 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4196 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4197 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4198 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4199 * sysdeps/s390/ifunc-strpbrk.h: New file.
4200
4201 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4202
4203 * sysdeps/s390/multiarch/Makefile
4204 (sysdep_routines): Remove strspn variants.
4205 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4206 * sysdeps/s390/multiarch/ifunc-impl-list.c
4207 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4208 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4209 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4210 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4211 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4212 * sysdeps/s390/multiarch/strspn.c: Move to ...
4213 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4214 * sysdeps/s390/ifunc-strspn.h: New file.
4215
4216 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4217
4218 * sysdeps/s390/multiarch/Makefile
4219 (sysdep_routines): Remove strrchr variants.
4220 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4221 * sysdeps/s390/multiarch/ifunc-impl-list.c
4222 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4223 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4224 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4225 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4226 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4227 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4228 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4229 * sysdeps/s390/ifunc-strrchr.h: New file.
4230
4231 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4232
4233 * sysdeps/s390/multiarch/Makefile
4234 (sysdep_routines): Remove strchrnul variants.
4235 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4236 * sysdeps/s390/multiarch/ifunc-impl-list.c
4237 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4238 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4239 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4240 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4241 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4242 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4243 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4244 * sysdeps/s390/ifunc-strchrnul.h: New file.
4245
4246 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4247
4248 * sysdeps/s390/multiarch/Makefile
4249 (sysdep_routines): Remove strchr variants.
4250 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4251 * sysdeps/s390/multiarch/ifunc-impl-list.c
4252 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4253 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4254 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4255 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4256 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4257 * sysdeps/s390/multiarch/strchr.c: Move to ...
4258 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4259 * sysdeps/s390/ifunc-strchr.h: New file.
4260
4261 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4262
4263 * sysdeps/s390/multiarch/Makefile
4264 (sysdep_routines): Remove strncmp variants.
4265 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4266 * sysdeps/s390/multiarch/ifunc-impl-list.c
4267 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4268 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4269 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4270 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4271 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4272 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4273 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4274 * sysdeps/s390/ifunc-strncmp.h: New file.
4275
4276 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4277
4278 * sysdeps/s390/multiarch/Makefile
4279 (sysdep_routines): Remove strcmp variants.
4280 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4281 * sysdeps/s390/multiarch/ifunc-impl-list.c
4282 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4283 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4284 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4285 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4286 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
4287 * sysdeps/s390/ifunc-strcmp.h: New file.
4288 * sysdeps/s390/s390-64/strcmp.S: Move to ...
4289 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
4290 for 31/64bit and ifunc handling.
4291 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
4292 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4293 * sysdeps/s390/s390-32/strcmp.S: Likewise.
4294
4295 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4296
4297 * sysdeps/s390/multiarch/Makefile
4298 (sysdep_routines): Remove strncat variants.
4299 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4300 * sysdeps/s390/multiarch/ifunc-impl-list.c
4301 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4302 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4303 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4304 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
4305 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
4306 * sysdeps/s390/multiarch/strncat.c: Move to ...
4307 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
4308 * sysdeps/s390/ifunc-strncat.h: New file.
4309
4310 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4311
4312 * sysdeps/s390/multiarch/Makefile
4313 (sysdep_routines): Remove strcat variants.
4314 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
4315 * sysdeps/s390/multiarch/ifunc-impl-list.c
4316 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
4317 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
4318 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
4319 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
4320 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
4321 * sysdeps/s390/multiarch/strcat.c: Move to ...
4322 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
4323 * sysdeps/s390/ifunc-strcat.h: New file.
4324
4325 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4326
4327 * sysdeps/s390/multiarch/Makefile
4328 (sysdep_routines): Remove stpncpy variants.
4329 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
4330 * sysdeps/s390/multiarch/ifunc-impl-list.c
4331 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
4332 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
4333 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
4334 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
4335 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
4336 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
4337 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
4338 * sysdeps/s390/ifunc-stpncpy.h: New file.
4339
4340 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4341
4342 * sysdeps/s390/multiarch/Makefile
4343 (sysdep_routines): Remove strncpy variants.
4344 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
4345 * sysdeps/s390/multiarch/ifunc-impl-list.c
4346 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
4347 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
4348 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
4349 * sysdeps/s390/multiarch/strncpy.c: Move to ...
4350 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
4351 * sysdeps/s390/ifunc-strncpy.h: New file.
4352 * sysdeps/s390/s390-64/strncpy.S: Move to ...
4353 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
4354 and adjust ifunc handling.
4355 * sysdeps/s390/s390-32/strncpy.S: Move to ...
4356 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
4357 and adjust ifunc handling.
4358 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
4359 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4360
4361 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4362
4363 * sysdeps/s390/multiarch/Makefile
4364 (sysdep_routines): Remove stpcpy variants.
4365 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
4366 * sysdeps/s390/multiarch/ifunc-impl-list.c
4367 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
4368 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
4369 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
4370 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
4371 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
4372 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
4373 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
4374 * sysdeps/s390/ifunc-stpcpy.h: New file.
4375
4376 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4377
4378 * sysdeps/s390/multiarch/Makefile
4379 (sysdep_routines): Remove strcpy variants.
4380 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
4381 * sysdeps/s390/multiarch/ifunc-impl-list.c
4382 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
4383 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
4384 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
4385 * sysdeps/s390/multiarch/strcpy.c: Move to ...
4386 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
4387 * sysdeps/s390/ifunc-strcpy.h: New file.
4388 * sysdeps/s390/s390-64/strcpy.S: Move to ...
4389 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
4390 for 31/64bit and ifunc handling.
4391 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
4392 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4393 * sysdeps/s390/s390-32/strcpy.S: Likewise.
4394
4395 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4396
4397 * sysdeps/s390/multiarch/Makefile
4398 (sysdep_routines): Remove strnlen variants.
4399 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
4400 * sysdeps/s390/multiarch/ifunc-impl-list.c
4401 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
4402 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
4403 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
4404 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
4405 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
4406 * sysdeps/s390/multiarch/strnlen.c: Move to ...
4407 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
4408 * sysdeps/s390/ifunc-strnlen.h: New file.
4409
4410 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4411
4412 * sysdeps/s390/multiarch/Makefile
4413 (sysdep_routines): Remove strlen variants.
4414 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
4415 * sysdeps/s390/multiarch/ifunc-impl-list.c
4416 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
4417 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
4418 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
4419 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
4420 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
4421 * sysdeps/s390/multiarch/strlen.c: Move to ...
4422 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
4423 * sysdeps/s390/ifunc-strlen.h: New file.
4424
4425 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4426
4427 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
4428 * sysdeps/s390/multiarch/ifunc-impl-list.c
4429 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
4430 * sysdeps/s390/ifunc-memmem.h: New file.
4431 * sysdeps/s390/memmem.c: Likewise.
4432 * sysdeps/s390/memmem-c.c: Likewise.
4433 * sysdeps/s390/memmem-vx.c: Likewise.
4434
4435 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4436
4437 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
4438 * sysdeps/s390/multiarch/ifunc-impl-list.c
4439 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
4440 * sysdeps/s390/ifunc-strstr.h: New file.
4441 * sysdeps/s390/strstr.c: Likewise.
4442 * sysdeps/s390/strstr-c.c: Likewise.
4443 * sysdeps/s390/strstr-vx.c: Likewise.
4444
4445 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4446
4447 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
4448 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
4449 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
4450 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
4451 New defines.
4452 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
4453 * sysdeps/s390/memmove-c.c: New file.
4454 * sysdeps/s390/memmove.c: Likewise.
4455 * sysdeps/s390/multiarch/ifunc-impl-list.c
4456 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
4457
4458 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4459
4460 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
4461 * sysdeps/s390/configure.ac: Add check for z13 support.
4462 * sysdeps/s390/configure: Regenerated.
4463
4464 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4465
4466 * sysdeps/s390/memcopy.h: New file.
4467
4468 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4469
4470 * sysdeps/s390/s390-32/bcopy.S: Remove.
4471 * sysdeps/s390/s390-64/bcopy.S: Likewise.
4472
4473 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4474
4475 * sysdeps/s390/ifunc-memcpy.h: New File.
4476 * sysdeps/s390/memcpy.S: Move to ...
4477 * sysdeps/s390/memcpy-z900.S ... here.
4478 Move implementations from memcpy-s390x.s to here.
4479 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
4480 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4481 Remove memcpy/mempcpy variants.
4482 * sysdeps/s390/Makefile (sysdep_routines):
4483 Add memcpy/mempcpy variants.
4484 * sysdeps/s390/multiarch/ifunc-impl-list.c
4485 (__libc_ifunc_impl_list): Adjust ifunc variants for
4486 memcpy and mempcpy.
4487 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
4488 to ...
4489 * sysdeps/s390/memcpy.c: ... here.
4490 Adjust ifunc variants for memcpy.
4491 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
4492 * sysdeps/s390/mempcpy.c: ... here.
4493 Adjust ifunc variants for mempcpy.
4494 * sysdeps/s390/mempcpy.S: Delete file.
4495
4496 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4497
4498 * sysdeps/s390/s390-64/memcpy.S: Move to ...
4499 * sysdeps/s390/memcpy.S: ... here.
4500 Adjust to be usable for 31/64bit.
4501 * sysdeps/s390/s390-32/memcpy.S: Delete File.
4502 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
4503 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
4504 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4505 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
4506 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
4507 Adjust to be usable for 31/64bit.
4508 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
4509 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
4510 * sysdeps/s390/multiarch/memcpy.c: ... here.
4511 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
4512
4513 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4514
4515 * sysdeps/s390/ifunc-memcmp.h: New File.
4516 * sysdeps/s390/memcmp.S: Move to ...
4517 * sysdeps/s390/memcmp-z900.S ... here.
4518 Move implementations from memcmp-s390x.s to here.
4519 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
4520 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4521 Remove memcmp variants.
4522 * sysdeps/s390/Makefile (sysdep_routines):
4523 Add memcmp variants.
4524 * sysdeps/s390/multiarch/ifunc-impl-list.c
4525 (__libc_ifunc_impl_list): Adjust ifunc variants for
4526 memcmp.
4527 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
4528 to ...
4529 * sysdeps/s390/memcmp.c: ... here.
4530 Adjust ifunc variants for memcmp.
4531
4532 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4533
4534 * sysdeps/s390/s390-64/memcmp.S: Move to ...
4535 * sysdeps/s390/memcmp.S: ... here.
4536 Adjust to be usable for 31/64bit.
4537 * sysdeps/s390/s390-32/memcmp.S: Delete File.
4538 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
4539 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4540 Remove memcmp.
4541 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4542 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
4543 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
4544 Adjust to be usable for 31/64bit.
4545 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
4546 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
4547 * sysdeps/s390/multiarch/memcmp.c: ... here.
4548 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
4549
4550 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4551
4552 * sysdeps/s390/s390-32/bzero.S: Delete file.
4553 * sysdeps/s390/s390-64/bzero.S: Likewise.
4554 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
4555 * sysdeps/s390/bzero.c: New file.
4556 * sysdeps/s390/memset-z900.S: Add bzero entry points.
4557 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
4558 * sysdeps/s390/multiarch/ifunc-impl-list.c
4559 (__libc_ifunc_impl_list): Add bzero ifunc variants.
4560
4561 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4562
4563 * sysdeps/s390/ifunc-memset.h: New File.
4564 * sysdeps/s390/memset.S: Move to ...
4565 * sysdeps/s390/memset-z900.S ... here.
4566 Move implementations from memset-s390x.s to here.
4567 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4568 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4569 Remove memset variants.
4570 * sysdeps/s390/Makefile (sysdep_routines):
4571 Add memset variants.
4572 * sysdeps/s390/multiarch/ifunc-impl-list.c
4573 (__libc_ifunc_impl_list): Adjust ifunc variants for
4574 memset.
4575 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4576 to ...
4577 * sysdeps/s390/memset.c: ... here.
4578 Adjust ifunc variants for memset.
4579
4580 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4581
4582 * sysdeps/s390/s390-64/memset.S: Move to ...
4583 * sysdeps/s390/memset.S: ... here.
4584 Adjust to be usable for 31/64bit.
4585 * sysdeps/s390/s390-32/memset.S: Delete File.
4586 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4587 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4588 Remove memset.
4589 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4590 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4591 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4592 Adjust to be usable for 31/64bit.
4593 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4594 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4595 * sysdeps/s390/multiarch/memset.c: ... here.
4596 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4597
4598 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4599
4600 * sysdeps/s390/multiarch/ifunc-resolve.h
4601 (s390_libc_ifunc_init, s390_libc_ifunc,
4602 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4603
4604 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4605
4606 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4607 * sysdeps/s390/configure.ac: Add check for z10 support.
4608 * sysdeps/s390/configure: Regenerated.
4609
4610 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4611
4612 * sysdeps/i386/atomic-machine.h: Merged with ...
4613 * sysdeps/x86_64/atomic-machine.h: To ...
4614 * sysdeps/x86/atomic-machine.h: This. New file.
4615
4616 2018-12-18 Florian Weimer <fweimer@redhat.com>
4617
4618 Rewrite locale/gen-translit.pl in Python.
4619 * locale/Makefile (generated): Add C-translit.h.
4620 (before-compile): Add $(objpfx)C-translit.h.
4621 (C-translit.h): Move to $(objpfx). Create target directory.
4622 Build using Python script.
4623 * locale/gen-translit.py: New file.
4624 * locale/gen-translit.pl: Remove file.
4625 * locale/C-translit.h.in: Change comment character to '#' for
4626 easier parsing without a C preprocessor.
4627 * locale/C-translit.h: Remove generated file.
4628 * manual/install.texi (Tools for Compilation): Do not mention
4629 C-translit.h.
4630 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4631 Remove locale/C-translit.h.
4632 * scripts/update-copyrights: Likewise.
4633 * INSTALL: Regenerate.
4634
4635 2018-12-18 Florian Weimer <fweimer@redhat.com>
4636
4637 [BZ #23995]
4638 * localedata/locales/bi_VU: Remove executable bit from file.
4639
4640 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4641
4642 * include/time.h
4643 (__localtime64): Add.
4644 * manual/maint.texi: Document Y2038 symbol handling.
4645 * time/localtime.c
4646 (__localtime64): Add.
4647 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
4648
4649 2018-12-17 Joseph Myers <joseph@codesourcery.com>
4650
4651 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4652 Do not clobber r12.
4653
4654 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4655 to allow extra macros from first or second sources.
4656 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4657 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4658 (tests-special): Add $(objpfx)tst-mman-consts.out.
4659 ($(objpfx)tst-mman-consts.out): New makefile target.
4660
4661 2018-12-17 Mao Han <han_mao@c-sky.com>
4662
4663 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4664 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4665 without stat64 system call support.
4666 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4667 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4668 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4669 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4670 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4671 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4672 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4673 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4674 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4675 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4676 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4677
4678 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4679
4680 regex: fix storage-exhaustion error
4681 [BZ #18040]
4682 * posix/regexec.c (get_subexp):
4683 Do not continue if storage is exhausted.
4684
4685 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
4686
4687 regex: fix heap-use-after-free error
4688 [BZ #18040]
4689 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4690 https://debbugs.gnu.org/32592
4691 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4692 call extend_buffers which reallocates the re_string_t internal buffer.
4693 Local variable 'buf' was not updated in such case, resulting in
4694 use-after-free.
4695 * posix/regexec.c (get_subexp): Update 'buf' after call to
4696 get_subexp_sub.
4697
4698 2018-12-15 Florian Weimer <fweimer@redhat.com>
4699
4700 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4701 (minimum_stride_size): Use it.
4702 (support_blob_repeat_allocate): Likewise.
4703
4704 2018-12-14 Joseph Myers <joseph@codesourcery.com>
4705
4706 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4707 definition.
4708 (acosh): Likewise.
4709 (atanh): Likewise.
4710
4711 2018-12-14 Florian Weimer <fweimer@redhat.com>
4712
4713 * manual/process.texi (Process Creation Concepts): Remove
4714 documentation of process (ID) lifetime. List more process
4715 creation functions. Reference Process Identification section.
4716 (Process Identification): Add information about process ID
4717 lifetime. Describe Linux thread/task IDs.
4718 * manual/signal.texi (Signaling Another Process): Mention that the
4719 signal is always sent to the process.
4720
4721 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4722
4723 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4724 and tst-ldbl-efgcvt.
4725 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4726 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4727 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4728 (fcvt_tests, output_error, output_r_error, do_test): Use the
4729 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4730 select the type of floating-point variables and arguments; to
4731 produce extra tests for double and conversion specifiers for
4732 printf; and to set the names of called functions.
4733 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4734 in tst-efgcvt-template.c.
4735 * misc/tst-ldbl-efgcvt.c: Likewise.
4736
4737 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
4738
4739 * nss/Makefile (tst-nss-test3.out): New rule.
4740
4741 2018-12-13 Joseph Myers <joseph@codesourcery.com>
4742
4743 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4744 clobber sp.
4745
4746 2018-12-13 fanjinke <fanjinke@hygon.cn>
4747
4748 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4749 "HygonGenuine".
4750
4751 2018-12-13 Andreas Schwab <schwab@suse.de>
4752
4753 [BZ #23861]
4754 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
4755 (__pthread_rwlock_rdlock_full): Update expected value for
4756 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4757 * nptl/tst-rwlock-pwn.c: New file.
4758 * nptl/Makefile (tests): Add tst-rwlock-pwn.
4759
4760 2018-12-12 Joseph Myers <joseph@codesourcery.com>
4761
4762 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4763 definition.
4764
4765 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4766
4767 * benchtests/scripts/compare_bench.py (do_compare): write to
4768 stderr in casestat is not present.
4769 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4770 stderr in case timings field is not present. Also string showing
4771 the output filename goes into the stderr.
4772
4773 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4774
4775 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4776 and ZeroDivisorError exceptions.
4777 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4778 argument to loop through user provided statistics.
4779 * benchtests/scripts/compare_bench.py (main): Include the --stats
4780 argument.
4781
4782 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4783
4784 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4785 instead of return.
4786
4787 2018-12-12 Florian Weimer <fweimer@redhat.com>
4788
4789 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4790 clause to copyright header.
4791
4792 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4793
4794 [BZ #23614]
4795 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4796 registers saved in the stack frame.
4797 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4798 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4799
4800 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4801
4802 * include/bits/monetary-ldbl.h: New file.
4803 * include/bits/printf-ldbl.h: Likewise.
4804 * include/bits/stdio-ldbl.h: Likewise.
4805 * include/bits/stdlib-ldbl.h: Likewise.
4806 * include/bits/syslog-ldbl.h: Likewise.
4807 * include/bits/wchar-ldbl.h: Likewise.
4808
4809 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4810
4811 * libio/libio.h: Remove redirection for _IO_vfprintf.
4812
4813 2018-12-11 Andreas Schwab <schwab@suse.de>
4814
4815 * Makerules: Remove all references to abilist-pattern.
4816 (update-all-abi): Simplify find expression.
4817
4818 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4819
4820 [BZ #23961]
4821 * math/auto-libm-test-in: Add new test case.
4822 * math/auto-libm-test-out-pow: Regenerated.
4823 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4824
4825 2018-12-10 DJ Delorie <dj@redhat.com>
4826
4827 [BZ #23948]
4828 * support/test-container.c: Move postclean step to before we
4829 change namespaces.
4830
4831 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4832
4833 * scripts/gen-as-const.py (main): Handle --python option.
4834 * scripts/gen-py-const.awk: Remove.
4835 * Makerules (py-const-script): Use gen-as-const.py.
4836 ($(py-const)): Likewise.
4837 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4838 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4839 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4840 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4841 ~PTHREAD_MUTEX_NO_ELISION_NP.
4842 * manual/README.pretty-printers: Update reference to
4843 gen-py-const.awk.
4844
4845 * scripts/glibcextract.py: New file.
4846 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4847 or tempfile. Import glibcexctract.
4848 (compute_c_consts): Remove. Moved to glibcextract.py.
4849 (gen_test): Update reference to compute_c_consts.
4850 (main): Likewise.
4851 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4852 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4853 * sysdeps/unix/sysv/linux/Makefile
4854 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4855 Redirect stderr as well as stdout.
4856
4857 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4858
4859 [BZ #19767]
4860 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4861 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4862 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4863 ALWAYS_USE_VSYSCALL.
4864 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4865 ALWAYS_USE_VSYSCALL.
4866 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4867 ALWAYS_USE_VSYSCALL.
4868
4869 2018-12-10 Florian Weimer <fweimer@redhat.com>
4870
4871 [BZ #23972]
4872 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4873 offset instead of count for clarity. Fix typo in comment.
4874 (__old_getdents64): Keep track of previous offset. Use it to call
4875 handle_overflow.
4876 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4877 that d_off is never zero.
4878
4879 2018-12-10 Andreas Schwab <schwab@suse.de>
4880
4881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4882 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4884 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4885 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4886
4887 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4888
4889 * timezone/private.h: Update from tzcode 2018g.
4890 * timezone/tzfile.h: Likewise.
4891 * timezone/tzselect.ksh: Likewise.
4892 * timezone/zdump.c: Likewise.
4893 * timezone/zic.c: Likewise.
4894
4895 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4896
4897 [BZ #23490]
4898 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4899 (do_test): Adjust buffer size and fix format.
4900
4901 2018-12-07 DJ Delorie <dj@redhat.com>
4902
4903 [BZ #23907]
4904 * malloc/tst-tcfree3.c: New.
4905 * malloc/Makefile: Add it.
4906
4907 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4908
4909 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4910
4911 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4912
4913 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4914 used as a mask for the mode argument of __vfscanf_internal and
4915 __vfwscanf_internal.
4916 * stdio-common/vfscanf-internal.c
4917 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4918 (__strtof128_internal): Define to __wcstof128_internal.
4919 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4920 __strtof128_internal or __wcstof128_internal when the format of
4921 long double is the same as _Float128.
4922
4923 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4924
4925 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4926 * posix/confstr.c (confstr): Rename to __confstr.
4927 (__confstr): Add hidden def.
4928 (confstr): Add weak alias for __confstr.
4929 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4930 confstr.
4931
4932 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4933
4934 * NEWS: Mention getcpu.
4935 * include/sched.h (__getcpu): New libc_hidden_proto.
4936 * manual/resource.texi: Document getcpu.
4937 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4938 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4939 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4940 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4941 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4942 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4943 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4944 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4945 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4946 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4947 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4948 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4949 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4950 Likewise.
4951 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4952 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4953 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4955 Likewise.
4956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4957 Likewise.
4958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4959 Likewise.
4960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4961 Likewise.
4962 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4963 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4964 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4965 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4966 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4967 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4968 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4969 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4970 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4971 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4972 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
4973 Also check getcpu.
4974
4975 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4976
4977 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
4978 functions.
4979 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
4980
4981 2018-12-07 Florian Weimer <fweimer@redhat.com>
4982
4983 [BZ #17405]
4984 * posix/Makefile (routines): Add spawn_faction_addfchdir.
4985 * posix/Versions (GLIBC_2.29): Export
4986 posix_spawn_file_actions_addfchdir_np.
4987 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
4988 * posix/spawn_faction_destroy.c
4989 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
4990 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
4991 and the field action.fchdir_action.
4992 * posix/tst-spawn-chdir.c (add_chdir): New function.
4993 (do_test): Add do_fchdir loop. Call add_chdir.
4994 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
4995 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4996 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4997 posix_spawn_file_actions_addfchdir_np.
4998 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4999 Likewise.
5000 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5001 Likewise.
5002 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5003 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5004 Likewise.
5005 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5006 Likewise.
5007 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5008 Likewise.
5009 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5010 Likewise.
5011 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5012 Likewise.
5013 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5014 Likewise.
5015 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5016 (GLIBC_2.29): Likewise.
5017 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5018 (GLIBC_2.29): Likewise.
5019 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5020 (GLIBC_2.29): Likewise.
5021 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5022 (GLIBC_2.29): Likewise.
5023 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5024 Likewise.
5025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5026 (GLIBC_2.29): Likewise.
5027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5028 (GLIBC_2.29): Likewise.
5029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5030 (GLIBC_2.29): Likewise.
5031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5032 (GLIBC_2.29): Likewise.
5033 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5034 Likewise.
5035 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5036 Likewise.
5037 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5038 Likewise.
5039 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5040 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5041 Likewise.
5042 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5043 Likewise.
5044 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5045 Likewise.
5046 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5047 Likewise.
5048
5049 2018-12-06 Joseph Myers <joseph@codesourcery.com>
5050
5051 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5052 trailing whitespace removed.
5053 * scripts/config.guess: Update to version 2018-11-28.
5054 * scripts/config.sub: Update to version 2018-11-28.
5055 * scripts/install-sh: Update to version 2018-03-11.20.
5056 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5057 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5058
5059 2018-12-07 Florian Weimer <fweimer@redhat.com>
5060
5061 [BZ #23927]
5062 CVE-2018-19591
5063 * inet/tst-if_index-long.c: New file.
5064 * inet/Makefile (tests): Add tst-if_index-long.
5065
5066 2018-12-07 Florian Weimer <fweimer@redhat.com>
5067
5068 * support/check.h (support_record_failure_is_failed): Declare.
5069 * support/descriptors.h: New file.
5070 * support/support_descriptors.c: Likewise.
5071 * support/tst-support_descriptors.c: Likewise.
5072 * support/support_record_failure.c
5073 (support_record_failure_is_failed): New function.
5074 * support/Makefile (libsupport-routines): Add support_descriptors.
5075 (tests): Add tst-support_descriptors.
5076
5077 2018-12-05 Zack Weinberg <zackw@panix.com>
5078 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5079
5080 * stdio-common/vfprintf-internal.c
5081 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
5082 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
5083 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
5084 and __no_long_double.
5085 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
5086 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
5087 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
5088 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
5089 and __nldbl_*syslog* functions.
5090 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
5091 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
5092 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
5093 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
5094 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
5095 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
5096 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
5097 (__nldbl_vwprintf, __nldbl_wprintf):
5098 Directly call the appropriate __v*printf_internal routine, passing
5099 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
5100 variable names.
5101 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
5102 (__nldbl___printf_chk, __nldbl___snprintf_chk)
5103 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
5104 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
5105 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
5106 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5107 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
5108 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
5109 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
5110 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
5111 Likewise, and also pass PRINTF_FORTIFY when appropriate.
5112 (__nldbl_syslog, __nldbl_vsyslog):
5113 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
5114 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5115 appropriate.
5116 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5117 appropriate.
5118
5119 2018-12-05 Zack Weinberg <zackw@panix.com>
5120 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5121
5122 [BZ #11319]
5123 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
5124 Moved here from debug/vsprintf_chk.c.
5125 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
5126 and completion logic for the strfile to match exactly what
5127 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
5128 _IO_str_init_static_internal instead of maxlen-1.
5129 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5130 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
5131 __vsprintf_internal.
5132
5133 * debug/vsprintf_chk.c (__vsprintf_chk)
5134 * debug/sprintf_chk.c (__sprintf_chk):
5135 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
5136 'flags' argument is positive, and slen as maxlen. No need to lock
5137 the FILE and/or construct a temporary FILE. Minimize and normalize
5138 header inclusions and variable names. Do not libc_hidden_def anything.
5139
5140 * debug/asprintf_chk.c (__asprintf_chk)
5141 * debug/dprintf_chk.c (__dprintf_chk)
5142 * debug/fprintf_chk.c (__fprintf_chk)
5143 * debug/fwprintf_chk.c (__fwprintf_chk)
5144 * debug/printf_chk.c (__printf_chk)
5145 * debug/snprintf_chk.c (__snprintf_chk)
5146 * debug/swprintf_chk.c (__swprintf_chk)
5147 * debug/vasprintf_chk.c (__vasprintf_chk)
5148 * debug/vdprintf_chk.c (__vdprintf_chk)
5149 * debug/vfprintf_chk.c (__vfprintf_chk)
5150 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5151 * debug/vprintf_chk.c (__vprintf_chk)
5152 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5153 * debug/vswprintf_chk.c (__vswprintf_chk)
5154 * debug/vwprintf_chk.c (__vwprintf_chk)
5155 * debug/wprintf_chk.c (__wprintf_chk):
5156 Directly call the corresponding vxxprintf_internal function, passing
5157 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5158 the FILE and/or construct a temporary FILE. Minimize and normalize
5159 header inclusions and variable names. Do not libc_hidden_def anything.
5160
5161 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5162 __obstack_vprintf_internal.
5163 (__obstack_vprintf_chk): Convert into a wrapper that calls
5164 __obstack_vprintf_internal (these two functions already had the
5165 same code) and move to new file...
5166 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5167 file.
5168 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5169 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5170 * debug/Makefile (routines): Add vobprintf_chk.
5171
5172 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5173 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5174 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5175 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5176 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5177 (__nldbl___obstack_vfprintf_chk):
5178 Directly call the corresponding vxxprintf_internal function,
5179 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5180 duplicate comparison of slen with 0 or maxlen from the corresponding
5181 non-__nldbl function.
5182
5183 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5184 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5185 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5186 Remove libc_hidden_proto.
5187
5188 * stdio-common/vfprintf-internal.c
5189 (__vfprintf_internal, __vfwprintf_internal):
5190 Do not check _IO_FLAGS2_FORTIFY.
5191 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5192 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5193 a comment explaining why it has the maxlen argument.
5194 (_IO_acquire_lock_clear_flags2_fct): Remove.
5195 (_IO_acquire_lock_clear_flags2): Remove.
5196 (_IO_release_lock): Remove conditional statement which will
5197 now never execute.
5198 (_IO_acquire_lock): Remove variable which is now unused.
5199 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5200 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5201
5202 * stdio-common/Makefile (tests): Add tst-bz11319 and
5203 tst-bz11319-fortify2.
5204 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5205 * stdio-common/tst-bz11319-fortify2.c: New file.
5206 * stdio-common/tst-bz11319.c: Likewise.
5207
5208 2018-12-05 Zack Weinberg <zackw@panix.com>
5209 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5210
5211 * misc/syslog.c: Include libioP.h, not iolibio.h.
5212 (__vsyslog_internal): New function with the former body of
5213 __vsyslog_chk; takes mode_flags argument same as
5214 __v*printf_internal. Call __vfprintf_internal directly.
5215
5216 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5217 Remove libc_hidden_def.
5218 (__syslog, __syslog_chk): Use __vsyslog_internal.
5219 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5220
5221 * include/sys/syslog.h: Add multiple inclusion guard.
5222 Add prototype for __vsyslog_internal.
5223 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5224
5225 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5226 Use __vsyslog_internal.
5227
5228 2018-12-05 Zack Weinberg <zackw@panix.com>
5229 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5230
5231 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5232 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5233 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5234 New functions.
5235 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5236 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5237
5238 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5239 Include wctype.h here if COMPILE_WPRINTF is defined.
5240 Define __vfprintf_internal or __vfwprintf_internal, depending
5241 on COMPILE_WPRINTF.
5242 Temporarily, on entry to this function, update mode_flags
5243 according to the environmental settings corresponding to
5244 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5245 Throughout, check mode_flags instead of __ldbl_is_dbl and
5246 _IO_FLAGS2_FORTIFY on the destination FILE.
5247 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5248 Include vfprintf-internal.c. Don't include wctype.h.
5249 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5250 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5251 and vfprintf.
5252 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5253 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5254 and vfwprintf.
5255 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5256
5257 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5258 and add mode_flags argument; use __vfprintf_internal.
5259 (__vdprintf): New function. Alias vdprintf to this.
5260 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5261 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5262 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5263 (__obstack_printf): Use __obstack_printf_internal.
5264 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5265 public aliases __vsnprintf and vsnprintf.
5266 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5267 called internally.
5268 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5269 public aliases _IO_vsprintf and vsprintf.
5270 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5271 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5272 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5273 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5274 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5275
5276 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5277 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5278 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5279 * stdio-common/printf.c: Use __vfprintf_internal.
5280
5281 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5282 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5283 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5284
5285 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5286 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
5287 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
5288 __vfwprintf_internal.
5289
5290 * libio/libio.h: Remove libc_hidden_proto and declaration for
5291 _IO_vfprintf.
5292 Remove declaration of _IO_vfwprintf.
5293 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
5294 _IO_vsprintf.
5295 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
5296 _IO_obstack_printf.
5297 * include/stdio.h: Add prototype for __vasprintf.
5298 (__vsnprintf): Remove declaration, because there are no more
5299 internal calls.
5300 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5301 declaration, because there are no more internal calls.
5302
5303 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5304 __vsnprintf_internal, instead of _IO_vsnprintf.
5305 * argp/argp-help.c (__argp_error, __argp_failure): Use
5306 __vasprintf_internal, instead of _IO_vasprintf.
5307 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
5308 redefine, because there are no more internal calls.
5309
5310 2018-12-05 Zack Weinberg <zackw@panix.com>
5311 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5312
5313 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
5314 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
5315 Include libio/strfile.h instead of libioP.h.
5316 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
5317 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
5318 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
5319 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
5320 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
5321 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
5322 necessary. Do not set __no_long_double. Normalize variable names.
5323 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
5324 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
5325 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
5326 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
5327 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
5328 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
5329 Call __vfscanf_internal / __vfwscanf_internal directly, passing
5330 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
5331 Do not set __no_long_double. Normalize variable names.
5332
5333 2018-12-05 Zack Weinberg <zackw@panix.com>
5334 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5335
5336 * stdio-common/isoc99_scanf.c
5337 * stdio-common/isoc99_fscanf.c
5338 * stdio-common/isoc99_sscanf.c
5339 * stdio-common/isoc99_vscanf.c
5340 * stdio-common/isoc99_vfscanf.c
5341 * stdio-common/isoc99_vsscanf.c
5342 * wcsmbs/isoc99_wscanf.c
5343 * wcsmbs/isoc99_fwscanf.c
5344 * wcsmbs/isoc99_swscanf.c
5345 * wcsmbs/isoc99_vwscanf.c
5346 * wcsmbs/isoc99_vfwscanf.c
5347 * wcsmbs/isoc99_vswscanf.c:
5348 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
5349 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
5350 No need to lock and unlock the FILE passed to that function.
5351
5352 * stdio-common/vfscanf-internal.c
5353 (__vfscanf_internal, __vfwscanf_internal):
5354 Don't look at _IO_FLAGS2_SCANF_STD.
5355 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
5356 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
5357 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
5358
5359 2018-12-05 Zack Weinberg <zackw@panix.com>
5360 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5361
5362 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
5363 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
5364 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
5365 * libio/strfile.h: Add multiple inclusion guard.
5366 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
5367
5368 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
5369 consistency with the other version of this file.
5370 (ldbl_compat_symbol): New macro.
5371 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
5372 New macro.
5373
5374 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
5375 Define __vfscanf_internal or __vfwscanf_internal, depending on
5376 COMPILE_WSCANF; don't define any other public symbols.
5377 Remove errval and code to set errp.
5378 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
5379 as the mode_flags argument.
5380 (encode_error, conv_error, input_error): Don't set errval.
5381 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
5382 Include vfscanf-internal.c.
5383 * stdio-common/vfscanf.c: New file defining the public entry
5384 point vfscanf, which calls __vfscanf_internal.
5385 * stdio-common/vfwscanf.c: New file defining the public entry
5386 point vfwscanf, which calls __vfwscanf_internal.
5387
5388 * stdio-common/iovfscanf.c: New file.
5389 * stdio-common/iovfwscanf.c: Likewise.
5390
5391 * stdio-common/Makefile (routines): Add vfscanf-internal,
5392 vfwscanf-internal, iovfscanf, iovfwscanf.
5393 * stdio-common/Versions: Mention GLIBC_2.29, so that
5394 it can be used in SHLIB_COMPAT expressions.
5395 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
5396 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
5397 Call __vfscanf_internal, instead of _IO_vfscanf.
5398 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
5399 _IO_vfscanf.
5400 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
5401 _IO_vfwscanf.
5402
5403 * libio/iovsscanf.c: Clean up includes, when possible. Use
5404 _IO_strfile_read or _IO_strfile_readw, when needed. Call
5405 __vfscanf_internal or __vfwscanf_internal directly.
5406 * libio/iovswscanf.c: Likewise.
5407 * libio/swscanf.c: Likewise.
5408 * libio/vscanf.c: Likewise.
5409 * libio/vwscanf.c: Likewise.
5410 * libio/wscanf.c: Likewise.
5411 * stdio-common/isoc99_fscanf.c: Likewise.
5412 * stdio-common/isoc99_scanf.c: Likewise.
5413 * stdio-common/isoc99_sscanf.c: Likewise.
5414 * stdio-common/isoc99_vfscanf.c: Likewise.
5415 * stdio-common/isoc99_vscanf.c: Likewise.
5416 * stdio-common/isoc99_vsscanf.c: Likewise.
5417 * stdio-common/scanf.c: Likewise.
5418 * stdio-common/sscanf.c: Likewise.
5419 * wcsmbs/isoc99_fwscanf.c: Likewise.
5420 * wcsmbs/isoc99_swscanf.c: Likewise.
5421 * wcsmbs/isoc99_vfwscanf.c: Likewise.
5422 * wcsmbs/isoc99_vswscanf.c: Likewise.
5423 * wcsmbs/isoc99_vwscanf.c: Likewise.
5424 * wcsmbs/isoc99_wscanf.c: Likewise.
5425
5426 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
5427
5428 * include/time.h
5429 (__tz_compute): Replace time_t with __time64_t.
5430 (__tz_convert): Replace time_t* with __time64_t.
5431 (__offtime): Replace time_t* with __time64_t.
5432 * time/gmtime.c
5433 (__gmtime_r): Adjust call to __tz_convert.
5434 (gmtime): Likewise.
5435 * time/localtime.c
5436 (__localtime_r): Likewise.
5437 (localtime): Likewise.
5438 * time/offtime.c: Replace time_t with __time64_t.
5439 * time/tzset.c: Likewise.
5440
5441 2018-12-04 Joseph Myers <joseph@codesourcery.com>
5442
5443 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
5444 dynamic linker unless [$(run-built-tests) = yes].
5445
5446 2018-12-03 DJ Delorie <dj@delorie.com>
5447
5448 * support/test-container.c (check_for_unshare_hints): New.
5449 (main): Call it if unshare fails. Add support for "su" scriptlet
5450 command.
5451
5452 2018-12-03 Joseph Myers <joseph@codesourcery.com>
5453
5454 * scripts/gen-as-const.py (compute_c_consts): Take an argument
5455 'START' to indicate that start text should be output.
5456 (gen_test): Likewise.
5457 (main): Generate 'START' for first symbol or '--' line, or at end
5458 of input if not previously generated.
5459
5460 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
5461
5462 [BZ #19767]
5463 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
5464 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
5465 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
5466 ALWAYS_USE_VSYSCALL.
5467
5468 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5469
5470 [BZ #23913]
5471 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
5472 new_argv by one.
5473
5474 2018-12-03 Carlos O'Donell <carlos@redhat.com>
5475
5476 [BZ #23923]
5477 * locale/programs/localedef.c: Declare boolean hard_links default true.
5478 (options): Add --no-hard-links option.
5479 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
5480 * locale/programs/localedef.h: Declare prototype for hard_links.
5481 * locale/programs/locfile.c (write_locale_data): Don't use hard
5482 links if hard_links is false.
5483
5484 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
5485
5486 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
5487 cpu_features_basic.
5488 (__cache_sysconf): Likewise.
5489 (init_cacheinfo): Likewise.
5490 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
5491 populate COMMON_CPUID_INDEX_80000007 and
5492 COMMON_CPUID_INDEX_80000008.
5493 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
5494 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
5495 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
5496 (init_cpu_features): Use _Static_assert on
5497 index_arch_Fast_Unaligned_Load.
5498 __get_cpuid_registers and __get_arch_feature. Updated for
5499 cpu_features_basic. Set stepping in cpu_features.
5500 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
5501 (FEATURE_INDEX_2): New.
5502 (FEATURE_INDEX_MAX): Changed to enum.
5503 (COMMON_CPUID_INDEX_D_ECX_1): New.
5504 (COMMON_CPUID_INDEX_80000007): Likewise.
5505 (COMMON_CPUID_INDEX_80000008): Likewise.
5506 (cpuid_registers): Likewise.
5507 (cpu_features_basic): Likewise.
5508 (CPU_FEATURE_USABLE): Likewise.
5509 (bit_arch_XXX_Usable): Likewise.
5510 (cpu_features): Use cpuid_registers and cpu_features_basic.
5511 (bit_arch_XXX): Reweritten.
5512 (bit_cpu_XXX): Likewise.
5513 (index_cpu_XXX): Likewise.
5514 (reg_XXX): Likewise.
5515 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
5516 <support/check.h>.
5517 (CHECK_CPU_FEATURE): New.
5518 (CHECK_CPU_FEATURE_USABLE): Likewise.
5519 (cpu_kinds): Likewise.
5520 (do_test): Print vendor, family, model and stepping. Check
5521 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
5522 (TEST_FUNCTION): Removed.
5523 Include <support/test-driver.c> instead of
5524 "../../test-skeleton.c".
5525 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
5526 Check POPCNT instead of POPCOUNT.
5527 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
5528
5529 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5530
5531 * scripts/gen-as-const.py (main): Avoid emitting empty line when
5532 there is no element in `consts'.
5533
5534 2018-12-01 Florian Weimer <fweimer@redhat.com>
5535
5536 * support/support_capture_subprocess.c
5537 (support_capture_subprocess): Check that pipe descriptors have
5538 expected values. Close original pipe descriptors in subprocess.
5539
5540 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5541
5542 [BZ #23032]
5543 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
5544 attr with __pthread_default_barrierattr.
5545 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
5546 attr with __pthread_default_condattr.
5547 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
5548 attr with __pthread_default_mutexattr.
5549 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
5550 attr with __pthread_default_rwlockattr.
5551
5552 2018-12-01 Kemi Wang <kemi.wang@intel.com>
5553
5554 * manual/tunables.texi (POSIX Thread Tunables): New node.
5555 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
5556 * nptl/nptl-init.c: Include pthread_mutex_conf.h
5557 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
5558 __pthread_tunables_init.
5559 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
5560 (max_adaptive_count): Define.
5561 * nptl/pthread_mutex_conf.c: New file.
5562 * nptl/pthread_mutex_conf.h: New file.
5563 * sysdeps/generic/adaptive_spin_count.h: New file.
5564 * sysdeps/nptl/dl-tunables.list: New file.
5565 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5566 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5567 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5568 Likewise.
5569
5570 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5571
5572 [BZ #20544]
5573 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5574 * stdlib/on_exit.c (__on_exit): Likewise.
5575 * stdlib/Makefile (tests): Add tst-bz20544.
5576 * stdlib/tst-bz20544.c: New test.
5577
5578 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5579
5580 [BZ #19767]
5581 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5582 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5583 New.
5584
5585 2018-11-30 Florian Weimer <fweimer@redhat.com>
5586
5587 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5588 Extend error logging.
5589 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5590 symbol.
5591
5592 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5593
5594 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5595 __sigismember instead of sigismember.
5596 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5597 cancel_handler): New definitions.
5598 (do_system): Use posix_spawn instead of fork and execl and remove
5599 reentracy code.
5600 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5601 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5602 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5603 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5604 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5605 * sysdeps/unix/sysv/linux/system.c: Likewise.
5606
5607 [BZ #22834]
5608 [BZ #17490]
5609 * NEWS: Add new semantic for atfork with popen and system.
5610 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5611 fork and execl.
5612
5613 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5614
5615 [BZ #23690]
5616 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5617 modification order when accessing reloc_result->addr.
5618 * include/link.h (reloc_result): Add field init.
5619 * nptl/Makefile (tests): Add tst-audit-threads.
5620 (modules-names): Add tst-audit-threads-mod1 and
5621 tst-audit-threads-mod2.
5622 Add rules to build tst-audit-threads.
5623 * nptl/tst-audit-threads-mod1.c: New file.
5624 * nptl/tst-audit-threads-mod2.c: Likewise.
5625 * nptl/tst-audit-threads.c: Likewise.
5626 * nptl/tst-audit-threads.h: Likewise.
5627
5628 2018-11-30 Joseph Myers <joseph@codesourcery.com>
5629
5630 * scripts/gen-as-const.py: New file.
5631 * scripts/gen-as-const.awk: Remove.
5632 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5633 gen-as-const.py.
5634 ($(objpfx)test-as-const-%.c): Likewise.
5635
5636 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5637
5638 * elf/dl-exception.c: Include <_itoa.h>.
5639
5640 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5641
5642 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5643 returned by __f_setlk.
5644
5645 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5646 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5647
5648 * elf/Makefile (tests-internal): Add tst-create_format1.
5649 * elf/dl-exception.c (_dl_exception_create_format): Support
5650 %x, %lx and %zx.
5651 * elf/tst-create_format1.c: New file.
5652
5653 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5654
5655 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5656 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5657 gnulib.)
5658 * argp/argp-help.c (__argp_failure): Likewise.
5659
5660 2018-11-29 Mao Han <han_mao@c-sky.com>
5661
5662 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5663 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5664 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5665 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5666 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5667 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5668 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5669 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5670 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5671 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5672 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5673 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5674 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5675 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5676 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5677 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5678 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5679 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5680 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5681 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5682 (R_CKCORE_TLS_TPOFF32): New defines.
5683
5684 2018-11-29 Florian Weimer <fweimer@redhat.com>
5685
5686 * posix/Makefile (before-compile): Remove testcases.h and
5687 ptestcases.h.
5688 (generated): Add testcases.h and ptestcases.h.
5689 (testcases.h, ptestcases.h): Move to $(objpfx).
5690 (runtests.o): Add dependency on testcases.h.
5691 (runptests.o): Add dependency on ptestcases.h.
5692 * posix/testcases.h, posix/ptestcases.h: Remove files.
5693 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5694 not touch posix/testcases.h and posix/ptestcases.h.
5695
5696 2018-11-28 Florian Weimer <fweimer@redhat.com>
5697
5698 support: Add signal support to support_capture_subprocess_check.
5699 * support/capture_subprocess.h (support_capture_subprocess_check):
5700 Adjust comment and rename parameter.
5701 * support/support_capture_subprocess_check.c
5702 (print_actual_status): New function.
5703 (support_capture_subprocess_check): Support negative
5704 status_or_signal. Call print_actual_status.
5705 * support/tst-support_capture_subprocess.c (do_test): Call
5706 support_capture_subprocess_check.
5707 * libio/tst-vtables-common.c (termination_status)
5708 (init_termination_status): Remove.
5709 (check_for_termination): Adjust support_capture_subprocess_check
5710 call.
5711 (do_test): Remove call to init_termination_status.
5712
5713 2018-11-28 Joseph Myers <joseph@codesourcery.com>
5714
5715 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5716 source directory instead of a copy.
5717 (CommandList.create_copy_dir): Remove.
5718
5719 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
5720
5721 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5722
5723 2018-11-28 Florian Weimer <fweimer@redhat.com>
5724
5725 * support/support.h (support_quote_string): Do not use str
5726 parameter name.
5727
5728 2018-11-27 Joseph Myers <joseph@codesourcery.com>
5729
5730 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5731 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5732
5733 2018-11-27 Florian Weimer <fweimer@redhat.com>
5734
5735 * support/support.h (support_quote_string): Declare.
5736 * support/support_quote_string.c: New file.
5737 * support/tst-support_quote_string.c: Likewise.
5738 * support/Makefile (libsupport-routines): Add
5739 support_quote_string.
5740 (tests): Add tst-support_quote_string.
5741
5742 2018-11-27 Florian Weimer <fweimer@redhat.com>
5743
5744 [BZ #23927]
5745 CVE-2018-19591
5746 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5747 descriptor leak in case of ENODEV error.
5748
5749 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5750
5751 [BZ #19767]
5752 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5753 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5754 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5755
5756 2018-11-26 Carlos O'Donell <carlos@redhat.com>
5757
5758 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5759 Error for unknown lines.
5760
5761 2018-11-26 Joseph Myers <joseph@codesourcery.com>
5762
5763 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5764 Touch additional files.
5765
5766 2018-11-26 Florian Weimer <fweimer@redhat.com>
5767
5768 [BZ #23907]
5769 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5770 double-frees.
5771
5772 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5773
5774 [BZ #19767]
5775 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5776 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5777 SHARED. Include sysdep.h.
5778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5779 ALWAYS_USE_VSYSCALL.
5780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5781 ALWAYS_USE_VSYSCALL.
5782
5783 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5784
5785 [BZ #19767]
5786 * nptl/Makefile (tests-static): Add tst-cond11-static.
5787 (tests): Likewise.
5788 * nptl/tst-cond11-static.c: New File.
5789 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5790 tst-affinity-static.
5791 (tests): Likewise.
5792 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5793 instead of SHARED.
5794 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5795 (USE_VSYSCALL): Likewise.
5796 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5797 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5798 instead of SHARED.
5799 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5800 SHARED.
5801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5802 New.
5803
5804 2018-11-23 Joseph Myers <joseph@codesourcery.com>
5805
5806 [BZ #23915]
5807 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5808 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5809 Undefine.
5810
5811 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5812
5813 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5814 (tst-cet-legacy-1a-ARGS): New.
5815 ($(objpfx)tst-cet-legacy-1a): New target.
5816 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5817
5818 2018-11-22 Joseph Myers <joseph@codesourcery.com>
5819
5820 * conform/conformtest.py (CompileSubTest.__init__): Set
5821 self.run_early to False.
5822 (ExecuteSubTest.__init__): Likewise.
5823 (HeaderTests.run): Try running all non-optional, non-XFAILed
5824 compilation tests in a single execution of the compiler.
5825
5826 * conform/conformtest.py (CompileSubTest): New class.
5827 (ExecuteSubTest): Likewise.
5828 (ElementTest.run): Rename to gen_subtests. Append tests to
5829 self.subtests instead of running them.
5830 (ConstantTest.run): Likewise.
5831 (SymbolTest.run): Likewise.
5832 (TypeTest.run): Likewise.
5833 (TagTest.run): Likewise.
5834 (FunctionTest.run): Likewise.
5835 (VariableTest.run): Likewise.
5836 (MacroFunctionTest.run): Likewise.
5837 (MacroStrTest.run): Likewise.
5838 (HeaderTests.handle_test_line): Generate subtests for tests.
5839 (HeaderTests.run): Run subtests for tests.
5840
5841 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5842
5843 * math/Versions (GLIBC_2.29): Add pow.
5844 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5845 symbol.
5846 * math/w_pow.c: New file.
5847 * sysdeps/i386/fpu/w_pow.c: New file.
5848 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5849 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5850 and add necessary aliases.
5851 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5852 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5853 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5854 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5855 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5856 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5857 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5858 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5859 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5860 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5861 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5862 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5863 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5864 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5865 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5870 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5871 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5872 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5873 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5874 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5875 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5876 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5877 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5878 __pow.
5879 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5880 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5881 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5882
5883 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5884
5885 * math/Versions (GLIBC_2.29): Add log2.
5886 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5887 symbol.
5888 * math/w_log2.c: New file.
5889 * sysdeps/i386/fpu/w_log2.c: New file.
5890 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5891 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5892 and add necessary aliases.
5893 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5894 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5895 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5896 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5897 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5898 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5899 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5900 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5901 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5902 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5903 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5904 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5905 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5906 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5907 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5912 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5913 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5914 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5915 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5916 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5917 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5918 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5919
5920 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5921
5922 * math/Versions (GLIBC_2.29): Add log.
5923 * math/w_log_compat.c (__log_compat): Change to versioned compat
5924 symbol.
5925 * math/w_log.c: New file.
5926 * sysdeps/i386/fpu/w_log.c: New file.
5927 * sysdeps/ia64/fpu/e_log.S: Update.
5928 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5929 and add necessary aliases.
5930 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5931 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5932 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5933 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5934 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5935 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5936 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5937 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5938 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5939 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5940 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5941 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5942 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5943 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5944 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5949 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5950 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5951 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5952 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5953 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5954 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5955 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5956 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5957 __log.
5958 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5959 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5960 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5961 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5962
5963 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5964
5965 * math/Versions (GLIBC_2.29): Add exp and exp2.
5966 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5967 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5968 * math/w_exp_compat.c (__exp_compat): Likewise.
5969 * math/w_exp.c: New file.
5970 * math/w_exp2.c: New file.
5971 * sysdeps/i386/fpu/w_exp.c: New file.
5972 * sysdeps/i386/fpu/w_exp2.c: New file.
5973 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
5974 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
5975 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
5976 and add necessary aliases.
5977 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
5978 and add necessary aliases.
5979 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
5980 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
5981 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
5982 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
5983 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5984 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5985 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5986 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5987 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5988 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5989 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5990 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5991 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5992 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5993 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5994 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5995 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6000 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6001 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6002 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6003 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6004 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6005 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6006 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6007 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6008 (__ieee754_exp): Rename to __exp.
6009 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6010 (__ieee754_exp): Rename to __exp.
6011 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6012 (__ieee754_exp): Rename to __exp.
6013 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6014 __exp.
6015 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6016
6017 2018-11-20 DJ Delorie <dj@redhat.com>
6018
6019 * malloc/malloc.c (tcache_entry): Add key field.
6020 (tcache_put): Set it.
6021 (tcache_get): Likewise.
6022 (_int_free): Check for double free in tcache.
6023 * malloc/tst-tcfree1.c: New.
6024 * malloc/tst-tcfree2.c: New.
6025 * malloc/Makefile: Run the new tests.
6026 * manual/probes.texi: Document memory_tcache_double_free probe.
6027
6028 * dlfcn/dlerror.c (check_free): Prevent double frees.
6029
6030 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6031
6032 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6033
6034 2018-11-20 Joseph Myers <joseph@codesourcery.com>
6035
6036 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6037 in tests. Use names for format arguments.
6038 (ConstantTest.run): Likewise.
6039 (SymbolTest.run): Likewise.
6040 (TypeTest.run): Likewise.
6041 (TagTest.run): Likewise.
6042 (FunctionTest.run): Likewise.
6043 (VariableTest.run): Likewise.
6044 (MacroFunctionTest.run): Likewise.
6045 (MacroStrTest.run): Likewise.
6046 (HeaderTests.__init__): Set self.num_tests.
6047 (HeaderTests.handle_test_line): Set test.num. Increment
6048 self.num_tests.
6049
6050 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6051
6052 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6053 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6054 SEEK_SET.
6055
6056 2018-11-19 Mao Han <han_mao@c-sky.com>
6057
6058 * scripts/config.guess: Update to version 2018-08-29.
6059 * scripts/config.sub: Update to version 2018-08-29.
6060
6061 2018-11-19 Florian Weimer <fweimer@redhat.com>
6062
6063 support: Print timestamps in timeout handler.
6064 * support/support_test_main.c (print_timestamp): New function.
6065 (signal_handler): Use it to print the termination time and the
6066 time of the last write to standard output.
6067
6068 2018-11-16 Zack Weinberg <zackw@panix.com>
6069 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6070
6071 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
6072 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
6073 argument.
6074 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
6075 and add flags argument. Check flags instead of __ldbl_is_dbl when
6076 deciding whether to set is_long_double.
6077 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
6078 passing zero for flags argument.
6079 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
6080
6081 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6082 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
6083 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
6084 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
6085 variable names. Remove libc_hidden_def/libc_hidden_proto from
6086 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
6087 longer called from within the library.
6088 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
6089 for __nldbl___vstrfmon_l, declare it explicitly.
6090
6091 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
6092
6093 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6094
6095 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
6096 macros
6097 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
6098 F_SETLK64, F_SETLKW64, respectively.
6099 * sysdeps/mach/hurd/f_setlk.c: New file.
6100 * sysdeps/mach/hurd/f_setlk.h: New file.
6101 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
6102 f_setlk.
6103 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
6104 (__libc_fcntl): Move non-flock operations to...
6105 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
6106 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
6107
6108 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
6109
6110 mktime: DEBUG_MKTIME cleanup
6111 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
6112 And it’s no longer needed now that glibc and Gnulib both have
6113 their own testing mechanisms for mktime.
6114 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
6115
6116 mktime: fix non-EOVERFLOW errno handling
6117 [BZ#23789]
6118 mktime was not properly reporting failures when the underlying
6119 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
6120 them like EOVERFLOW failures, and set errno to EOVERFLOW.
6121 The problem could happen on non-glibc platforms, with Gnulib.
6122 * time/mktime.c (guess_time_tm): Remove, replacing with ...
6123 (tm_diff): ... this simpler function, which does not change errno.
6124 All callers changed to deal with errno themselves.
6125 (ranged_convert, __mktime_internal): Return failure immediately if
6126 the underlying function reports any failure other than EOVERFLOW.
6127 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
6128 gap code fails.
6129
6130 mktime: fix bug with Y2038 DST transition
6131 [BZ#23789]
6132 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
6133 mishandle a DST transition that jumps over the Y2038 boundary.
6134 No such DST transitions are known so this is only a theoretical
6135 bug, but we might as well do things right.
6136
6137 mktime: make more room for overflow
6138 [BZ#23789]
6139 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
6140 This is so that we can add tm_diff results to a previous guess,
6141 which will be useful in a later patch.
6142
6143 mktime: simplify offset guess
6144 [BZ#23789]
6145 * time/mktime.c (__mktime_internal): Omit excess precision.
6146
6147 mktime: new test for mktime failure
6148 [BZ#23789]
6149 Based on a test suggested by Albert Aribaud in:
6150 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6151 * time/Makefile (tests): Add bug-mktime4.
6152 * time/bug-mktime4.c: New file.
6153
6154 mktime: fix EOVERFLOW bug
6155 [BZ#23789]
6156 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6157 Include libc-config.h, not config.h, for __set_errno.
6158 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6159
6160 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6161
6162 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6163 __attribute_copy__ to copy attributes from name. Drop static qualifier
6164 to avoid warnings about leaf attribute not having effect on static
6165 functions.
6166
6167 2018-11-13 Florian Weimer <fweimer@redhat.com>
6168
6169 * malloc/malloc.c (fastbin_push_entry): New function.
6170 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6171 (REMOVE_FB): Remove macro.
6172 (_int_malloc): Use fastbin_pop_entry and reindent.
6173 (_int_free): Use fastbin_push_entry.
6174 (malloc_consolidate): Use atomic_exchange_acquire.
6175
6176 2018-11-13 Joseph Myers <joseph@codesourcery.com>
6177
6178 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6179 alias attribute, not with strong_alias.
6180
6181 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6182 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6183 with additional parameter thread.
6184 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6185 in terms of __hidden_ver2.
6186 (hidden_tls_def): New macro.
6187 (libc_hidden_tls_def): Likewise.
6188 (rtld_hidden_tls_def): Likewise.
6189 (libm_hidden_tls_def): Likewise.
6190 (libmvec_hidden_tls_def): Likewise.
6191 (libresolv_hidden_tls_def): Likewise.
6192 (librt_hidden_tls_def): Likewise.
6193 (libdl_hidden_tls_def): Likewise.
6194 (libnss_files_hidden_tls_def): Likewise.
6195 (libnsl_hidden_tls_def): Likewise.
6196 (libnss_nisplus_hidden_tls_def): Likewise.
6197 (libutil_hidden_tls_def): Likewise.
6198 (libutil_hidden_tls_def): Likweise.
6199 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6200 libc_hidden_tls_def.
6201 (__sim_disabled_exceptions_thread): Likewise.
6202 (__sim_round_mode_thread): Likewise.
6203
6204 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6205 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6206 copy attributes from name.
6207
6208 2018-11-12 Joseph Myers <joseph@codesourcery.com>
6209
6210 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6211 Use __attribute_copy__ to copy attributes from name.
6212
6213 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6214 with __hidden_ver1 call.
6215 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6216 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6217 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6218 (__cosf): Do not declare here.
6219 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6220 (__sincosf): Do not declare here.
6221 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6222 (__sinf): Do not declare here.
6223
6224 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6225 (__BIG_ENDIAN): Likewise.
6226 (__BYTE_ORDER): Likewise.
6227 (strong_alias): Likewise.
6228 (_strong_alias): Likewise.
6229
6230 2018-11-12 Florian Weimer <fweimer@redhat.com>
6231
6232 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6233 function. Move after the definition of in_smallbin_range. Do not
6234 use __builtin_expect for paths that lead to a noreturn function.
6235 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6236 because it is unclear whether this is in fact an unlikely
6237 condition.
6238 (_int_malloc, _int_free): Adjust.
6239 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6240 variables.
6241 * malloc/arena.c (heap_trim): Likewise.
6242
6243 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6244
6245 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6246 it, free it if needed.
6247 (reauthenticate): Test and use ccwdir.
6248 (child_init_port): In non-resetids case, test and use ccwdir.
6249 (child_chdir): New nested function to set ccwdir.
6250 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6251 * hurd/hurd/port.h (_hurd_port_move): New function.
6252 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6253 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
6254 * hurd/Versions (_hurd_port_move): Export function.
6255 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6256 symbol.
6257 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6258 of dtablesize for allocating dtable_cloexec.
6259
6260 2018-11-09 Martin Sebor <msebor@redhat.com>
6261
6262 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6263 it's already defined.
6264 (_strong_alias): Use __attribute_copy__.
6265 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6266 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6267 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6268 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6269 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6270 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6271 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6272 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6273 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6274 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6275 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6276 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6277 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6278 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6279 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6280 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6281 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6282 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6283 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6284
6285 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6286
6287 * misc/tst-efgcvt.c: Include support/check.h and
6288 support/test-driver.c. Do not include test-skeleton.c.
6289 (error_count): Remove.
6290 (output_error): Replace increments to error_count with calls to
6291 support_record_failure.
6292 (output_r_error): Likewise.
6293 (special): Likewise.
6294 (do_test): Unconditionally return zero.
6295 (TEST_FUNCTION): Remove.
6296
6297 2018-11-09 Joseph Myers <joseph@codesourcery.com>
6298
6299 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6300 not $(@D)/scratch.
6301 ($(linknamespace-header-tests)): Likewise.
6302
6303 * conform/conformtest.py: New file.
6304 * conform/conformtest.pl: Remove.
6305 * conform/GlibcConform.pm: Likewise.
6306 * conform/glibcconform.py (KEYWORDS_C90): New constant.
6307 (KEYWORDS_C99): Likewise.
6308 (KEYWORDS): Likewise.
6309 * conform/Makefile ($(conformtest-header-tests)): Use
6310 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
6311 option. Use --header instead of --headers.
6312 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
6313 function entries.
6314 * conform/data/spawn.h-data: Likewise.
6315 * conform/data/fcntl.h-data (openat): Add space after function
6316 name.
6317 * conform/data/wchar.h-data (wcscasecmp): Likewise.
6318 (wcscasecmp_l): Likewise.
6319 * conform/data/termios.h-data (c_cc): Add space after element
6320 name.
6321
6322 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6323
6324 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
6325 instead of manually comparing and reporting mismatching strings.
6326 * misc/tst-ldbl-error.c (do_one_test): Likewise.
6327 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6328
6329 2018-11-08 Joseph Myers <joseph@codesourcery.com>
6330
6331 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
6332 __ASSUME_SOCKETCALL.
6333 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6334 (__ASSUME_SOCKETCALL): Remove.
6335 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6336 (__ASSUME_SOCKETCALL): Likewise.
6337 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6338 (__ASSUME_SOCKETCALL): Likewise.
6339 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6340 (__ASSUME_SOCKETCALL): Likewise.
6341 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6342 (__ASSUME_SOCKETCALL): Likewise.
6343 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6344 (__ASSUME_SOCKETCALL): Likewise.
6345 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6346 (__ASSUME_SOCKETCALL): Likewise.
6347
6348 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
6349
6350 [BZ #23509]
6351 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
6352 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
6353 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
6354 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
6355 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
6356 lc_unknown.
6357
6358 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
6359
6360 [BZ #17630]
6361 * resolv/tst-resolv-network.c: Add test for getnetbyname.
6362
6363 2018-11-07 Joseph Myers <joseph@codesourcery.com>
6364
6365 [BZ #23867]
6366 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6367 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6368 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6369 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6370
6371 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6372
6373 * support/support_test_compare_string.c
6374 (support_test_compare_string): Fix printf format.
6375
6376 2018-11-07 Florian Weimer <fweimer@redhat.com>
6377
6378 Implement TEST_COMPARE_STRING.
6379 * support/check.h (TEST_COMPARE_STRING): Define.
6380 (support_test_compare_string): Declare.
6381 * support/Makefile (libsupport-routines): Add
6382 support_test_compare_string.
6383 (tests): Add tst-test_compare_string.
6384 * support/support_test_compare_string.c: New file.
6385 * support/tst-test_compare_string.c: Likewise.
6386
6387 2018-11-07 Andreas Schwab <schwab@suse.de>
6388
6389 [BZ #23864]
6390 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
6391 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
6392 Undef.
6393
6394 2018-11-06 Joseph Myers <joseph@codesourcery.com>
6395
6396 [BZ #23862]
6397 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6398 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
6399 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
6400 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
6401 Likewise.
6402
6403 2018-11-06 Florian Weimer <fweimer@redhat.com>
6404
6405 [BZ #17405]
6406 * posix/Makefile (routines): Add spawn_faction_addchdir.
6407 (tests): Add tst-spawn-chdir.
6408 * posix/Versions (GLIBC_2.29): Add
6409 posix_spawn_file_actions_addchdir_np.
6410 * posix/spawn_faction_addchdir.c: New file.
6411 * posix/spawn_faction_destroy.c
6412 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
6413 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
6414 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
6415 chdir_action.
6416 * posix/tst-spawn-chdir.c: New file.
6417 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
6418 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6419 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6420 posix_spawn_file_actions_addchdir_np.
6421 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6422 Likewise.
6423 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6424 Likewise.
6425 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6426 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6427 Likewise.
6428 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6429 Likewise.
6430 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6431 Likewise.
6432 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6433 Likewise.
6434 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6435 Likewise.
6436 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6437 Likewise.
6438 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6439 (GLIBC_2.29): Likewise.
6440 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6441 (GLIBC_2.29): Likewise.
6442 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6443 (GLIBC_2.29): Likewise.
6444 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6445 (GLIBC_2.29): Likewise.
6446 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6447 Likewise.
6448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6449 (GLIBC_2.29): Likewise.
6450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6451 (GLIBC_2.29): Likewise.
6452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6453 (GLIBC_2.29): Likewise.
6454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6455 (GLIBC_2.29): Likewise.
6456 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6457 Likewise.
6458 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6459 Likewise.
6460 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6461 Likewise.
6462 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6463 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6464 Likewise.
6465 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6466 Likewise.
6467 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6468 Likewise.
6469 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6470 Likewise.
6471
6472 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6473
6474 * misc/Makefile (tests): Add tst-ldbl-error.
6475 * misc/tst-ldbl-error.c: New file.
6476
6477 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6478
6479 * misc/Makefile (tests): Add tst-ldbl-warn.
6480 * misc/tst-ldbl-warn.c: New file.
6481
6482 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6483
6484 * argp/Makefile (tests): Add tst-ldbl-argp.
6485 * argp/tst-ldbl-argp.c: New file.
6486
6487 2018-11-05 Arjun Shankar <arjun@redhat.com>
6488
6489 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
6490 __gconv_path_elem and call __gconv_get_path unconditionally.
6491
6492 2018-11-05 Andreas Schwab <schwab@suse.de>
6493
6494 [BZ #22927]
6495 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
6496 creating the first helper thread failed.
6497
6498 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6499
6500 * sysdeps/mach/hurd/msync.c: New file.
6501
6502 2018-11-02 Florian Weimer <fweimer@redhat.com>
6503
6504 * support/shell-container.c (copy_func): Call
6505 support_copy_file_range instead of copy_file_range to support
6506 cross-device copies.
6507
6508 2018-11-02 Florian Weimer <fweimer@redhat.com>
6509
6510 * support/test-container.c: Include <libc-pointer-arith.h> for
6511 ALIGN_UP.
6512
6513 2018-11-01 Zong Li <zong@andestech.com>
6514
6515 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
6516 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
6517 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
6518 (__FP_FRAC_SET_8): Add implementation for RV32 use.
6519
6520 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
6521 variable to avoid overlap arguments.
6522
6523 2018-11-01 Joseph Myers <joseph@codesourcery.com>
6524
6525 * posix/bug-regex22.c (main): Use puts with distinct error
6526 messages for unexpected success of re_compile_pattern, not printf
6527 with NULL argument to %s.
6528
6529 * stdio-common/bug22.c: Include <libc-diag.h>.
6530 (do_test): Disable -Wformat-overflow= warnings around fprintf
6531 calls outputting more than INT_MAX characters.
6532 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
6533 around printf call with NULL %s argument.
6534
6535 [BZ #23848]
6536 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
6537 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
6538 Undefine.
6539 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6540 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6541 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6542 (__ASSUME_SENDTO_SYSCALL): Likewise.
6543 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6544 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
6545 [!__arch64__].
6546 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6547 (__ASSUME_CONNECT_SYSCALL): Likewise.
6548 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6549 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6550 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
6551 Define.
6552 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
6553 Likewise.
6554 [__LINUX_KERNEL_VERSION >= 0x040400]
6555 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6556 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
6557 Remove.
6558 (listen): Likewise.
6559 (setsockopt): Likewise.
6560
6561 2018-11-01 Fredrik Noring <noring@nocrew.org>
6562
6563 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6564 with the ISA override.
6565
6566 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6567
6568 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6569 #endif.
6570
6571 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6572
6573 * manual/errno.texi (EIEIO): Document how translators should
6574 translate the error message.
6575 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6576 printing trailing whitespaces refused by git.
6577 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6578 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6579 * hurd/Makefile (user-interfaces): Add pci.
6580
6581 2018-10-30 Joseph Myers <joseph@codesourcery.com>
6582
6583 * conform/linknamespace.py: New file.
6584 * conform/linknamespace.pl: Remove file.
6585 * conform/Makefile ($(linknamespace-header-tests)): Use
6586 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6587 option.
6588
6589 2018-10-30 Florian Weimer <fweimer@redhat.com>
6590
6591 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6592 memory leaks.
6593
6594 2018-10-30 Florian Weimer <fweimer@redhat.com>
6595
6596 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6597
6598 2018-10-30 Florian Weimer <fweimer@redhat.com>
6599
6600 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6601 support_blob_repeat.
6602
6603 2018-10-30 Florian Weimer <fweimer@redhat.com>
6604
6605 Avoid spurious test failures in stdlib/test-bz22786.
6606 * support/Makefile (libsupport-routines): Add blob_repeat.
6607 (tests): Add tst-support_blob_repeat.
6608 * support/blob_repeat.h: New file.
6609 * support/blob_repeat.c: Likewise.
6610 * support/tst-support_blob_repeat.c: Likewise.
6611 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6612 support_blob_repeat_allocate.
6613
6614 2018-10-30 Andreas Schwab <schwab@suse.de>
6615
6616 [BZ #23125]
6617 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6618 Don't use tail call.
6619 * elf/tst-unwind-main.c: New file.
6620 * elf/Makefile (tests): Add tst-unwind-main.
6621 (CFLAGS-tst-unwind-main.c): Define.
6622
6623 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6624
6625 [BZ #23791]
6626 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6627 n_cs_precedes to 0.
6628 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6629
6630 2018-10-29 Joseph Myers <joseph@codesourcery.com>
6631
6632 * conform/glibcconform.py: Do not import shutil.
6633 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6634 of mkdtemp.
6635
6636 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6637 critic_missing for versions before 3.4.
6638 * configure: Regenerated.
6639 * manual/install.texi (Tools for Compilation): Document
6640 requirement for Python to build glibc.
6641 * INSTALL: Regenerated.
6642 * Rules [PYTHON]: Make code unconditional.
6643 * benchtests/Makefile [PYTHON]: Likewise.
6644 * conform/Makefile [PYTHON]: Likewise.
6645 * manual/Makefile [PYTHON]: Likewise.
6646 * math/Makefile [PYTHON]: Likewise.
6647
6648 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6649
6650 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
6651 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
6652 answer to interrupt_operation, return EIEIO instead of EINTR.
6653 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6654 _hurd_intr_rpc_msg_about_to global point to start of controlled
6655 assembly snippet. Make it check canceled flag.
6656 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6657 the _hurd_intr_rpc_msg_about_to point.
6658 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6659 issue, remove cancel flag check.
6660
6661 2018-10-26 Joseph Myers <joseph@codesourcery.com>
6662
6663 * scripts/build-many-glibcs.py: Remove compatibility for missing
6664 os.cpu_count and re.fullmatch.
6665
6666 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6667
6668 [BZ #23822]
6669 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6670 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6671 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6672
6673 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6674
6675 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6676 macro.
6677
6678 2018-10-25 Florian Weimer <fweimer@redhat.com>
6679
6680 [BZ #23562]
6681 [BZ #23821]
6682 XFAIL siginfo_t si_band conform test on sparc64.
6683 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6684 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6685 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6686 (conformtest-xfail-conds): Add sparc64-linux.
6687 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6688 sparc64.
6689 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6690
6691 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6692
6693 * elf/elf.h (NT_MIPS_DSP): New macro.
6694 (NT_MIPS_FP_MODE): Likewise.
6695
6696 2018-10-25 Zong Li <zong@andestech.com>
6697
6698 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6699 name by adding the file extension (.so).
6700
6701 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6702
6703 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6704 (test-xfail-ISO11/threads.h/linknamespace,
6705 test-xfail-ISO11/threads.h/conform): Add.
6706
6707 2018-10-24 Joseph Myers <joseph@codesourcery.com>
6708
6709 * math/gen-libm-test.py: Import os.
6710 (ALL_FLOATS_MANUAL): New constant.
6711 (ALL_FLOATS_SUFFIX): Likewise.
6712 (Ulps.all_functions): New function.
6713 (real_all_ulps): Likewise.
6714 (generate_err_table_sub): Likewise.
6715 (generate_err_table): Likewise.
6716 (main): Handle -s and -m options.
6717 * manual/libm-err-tab.pl: Remove.
6718 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6719 instead of libm-err-tab.pl.
6720 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6721 != no].
6722 * manual/install.texi (Tools for Compilation): Document
6723 requirement for Python to build manual.
6724 * INSTALL: Regenerated.
6725
6726 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6727
6728 * bits/time64.h: New file.
6729 * include/time.h: Replace internal_time_t with __time64_t.
6730 * posix/bits/types (__time64_t): Add.
6731 * stdlib/Makefile: Add bits/time64.h to includes.
6732 * time/tzfile.c: Replace internal_time_t with __time64_t.
6733
6734 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6735
6736 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6737 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6738 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6739 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6740 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6741 prototype.
6742 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6743 * posix/spawn_faction_addclose.c
6744 (__posix_spawn_file_actions_addclose): Add hidden definition.
6745 * posix/spawn_faction_adddup2.c
6746 (__posix_spawn_file_actions_adddup2): Likewise.
6747 * posix/spawn_faction_destroy.c
6748 (__posix_spawn_file_actions_destroy): Likewise.
6749 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6750 Likewise.
6751 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6752 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6753 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6754 Likewise.
6755 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6756 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6757 Likewise.
6758
6759 2018-10-24 Andreas Schwab <schwab@suse.de>
6760
6761 [BZ #18093]
6762 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6763 format cache.
6764 * elf/cache.c (print_cache): Likewise.
6765
6766 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6767
6768 * bits/timesize.h: New file.
6769 * stdlib/Makefile (headers): Add bits/timesize.h.
6770 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6771 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6772 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6773 (__SEM_PAD_AFTER_TIME): Likewise.
6774 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6775 (__SHM_PAD_AFTER_TIME): Likewise.
6776 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6777 (__MSQ_PAD_BEFORE_TIME): Likewise.
6778 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6779 (__SEM_PAD_BEFORE_TIME): Likewise.
6780 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6781 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6782 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
6783 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6784 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6785 (__MSQ_PAD_BEFORE_TIME): Likewise.
6786 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6787 (__SEM_PAD_BEFORE_TIME): Likewise.
6788 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6789 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6790 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6791 (__MSQ_PAD_BEFORE_TIME): Likewise.
6792 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6793 (__SEM_PAD_BEFORE_TIME): Likewise.
6794 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6795 (__SHM_PAD_BEFORE_TIME): Likewise.
6796 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6797 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6798 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6799
6800 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6801
6802 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6803 USE_RDTSCP is defined.
6804 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6805 USE_RDTSCP is defined.
6806
6807 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6808
6809 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6810 defined.
6811
6812 [BZ #23709]
6813 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6814 independently of other flags.
6815
6816 2018-10-23 Florian Weimer <fweimer@redhat.com>
6817
6818 * time/tst-mktime2.c (N_STRINGS): Remove.
6819 (set_timezone): New function.
6820 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6821 (mktime_test1): Report localtime failure and check errno value.
6822 Use TEST_COMPARE.
6823 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6824 (do_test): Remove alarm call. Use set_timezone and array_length.
6825
6826 2018-10-23 Andreas Schwab <schwab@suse.de>
6827
6828 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6829 (__start_context): Use END instead of PSEUDO_END.
6830
6831 2018-10-22 Joseph Myers <joseph@codesourcery.com>
6832
6833 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6834 version to 4.19.
6835
6836 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6837 version to 4.19.
6838
6839 [BZ #23793]
6840 * wcsmbs/c32rtomb.c: New file.
6841 * wcsmbs/mbrtoc32.c: Likewise.
6842 * wcsmbs/tst-c32-state.c: Likewise.
6843 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6844 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6845 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6846 (tests): Add tst-c32-state.
6847 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6848 $(gen-locales).
6849
6850 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6851
6852 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6853 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6854
6855 2018-10-19 Joseph Myers <joseph@codesourcery.com>
6856
6857 [BZ #23794]
6858 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6859 pair and return 0 in that case, and use saved character to
6860 interpret following character.
6861 * wcsmbs/tst-c16-surrogate.c: New file.
6862 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6863 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6864 Depend on $(gen-locales)
6865
6866 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6867
6868 [BZ #23562]
6869 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6870 (struct siginfo_t): Use correct type for si_band.
6871
6872 2018-10-19 Florian Weimer <fweimer@redhat.com>
6873
6874 [BZ #23689]
6875 * resource/bits/types/struct_rusage.h (struct rusage): Update
6876 comment on struct. Remove extraneous field comment.
6877
6878 2018-10-18 David S. Miller <davem@davemloft.net>
6879
6880 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6881 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6882 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6883 sysdep_routines in subdir elf.
6884 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6885 version for __vdso_clock_gettime.
6886 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6887 Define.
6888 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6889 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6890
6891 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6892
6893 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6894
6895 * sysdeps/i386/init-arch.h: Removed.
6896 * sysdeps/i386/i586/init-arch.h: Likewise.
6897 * sysdeps/i386/i686/init-arch.h: Likewise.
6898 * sysdeps/i386/i686/hp-timing.h: Likewise.
6899 * sysdeps/x86_64/hp-timing.h: Likewise.
6900 * sysdeps/i386/isa.h: New file.
6901 * sysdeps/i386/i586/isa.h: Likewise.
6902 * sysdeps/i386/i686/isa.h: Likewise.
6903 * sysdeps/x86_64/isa.h: Likewise.
6904 * sysdeps/x86/hp-timing.h: New file.
6905 * sysdeps/x86/init-arch.h: Include <isa.h>.
6906
6907 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6908
6909 * math/libm-test-pow.inc (pow_test_data): Do not allow
6910 divide-by-zero exception for pow(+/- 0, -Inf).
6911
6912 2018-10-17 Zack Weinberg <zackw@panix.com>
6913
6914 * manual/job.texi (Job Control is Optional): Remove node, as
6915 job control has not been optional in quite some time.
6916 (Job Control): Mention briefly that systems older than
6917 POSIX.1-2001 might not support job control.
6918 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6919 defined on systems conforming to POSIX.1-2001.
6920
6921 2018-10-17 Arjun Shankar <arjun@redhat.com>
6922
6923 [BZ #22062]
6924 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6925 indentation.
6926 * (__gconv_read_conf): Mark function static.
6927 * (once): New static variable.
6928 * (__gconv_load_conf): New function.
6929 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6930 * iconv/gconv_db.c (once): Remove static variable.
6931 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6932 __gconv_read_conf.
6933 * (__gconv_find_transform): Likewise.
6934 * iconv/tst-iconv-mt.c: New test.
6935 * iconv/Makefile: Add tst-iconv_mt.
6936
6937 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6938
6939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6940 bits/shm-pad.h.
6941 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6942 (shmatt_t): Define as __syscall_ulong_t.
6943 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6944 and [__SHM_PAD_AFTER_TIME].
6945 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6946 Define shm_segsz and associated padding based on
6947 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6948 Use __syscall_ulong_t instead of unsigned long int.
6949 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6950 unsigned long int.
6951 [__USE_MISC] (struct shm_info): Likewise.
6952 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6953 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6954 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6955 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6956 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6957 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6958 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6959 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6960 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6961 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6962 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6963
6964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6965 bits/shmlba.h.
6966 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6967 (SHMLBA): Remove macro.
6968 (__getpagesize): Remove function declaration.
6969 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6970 <bits/shmlba.h>.
6971 (SHMLBA): Remove macro.
6972 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
6973 <bits/shmlba.h>.
6974 (SHMLBA): Remove macro.
6975 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
6976 <bits/shmlba.h>.
6977 (SHMLBA): Remove macro.
6978 (__getpagesize): Remove function declaration.
6979 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
6980 <bits/shmlba.h>.
6981 (SHMLBA): Remove macro.
6982 (__getshmlba): Remove function declaration.
6983 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
6984 (SHMLBA): Remove macro.
6985 (__getpagesize): Remove function declaration.
6986 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
6987 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6988 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6989 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
6990 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
6991 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
6992 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
6993 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
6994 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
6995 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
6996
6997 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
6998
6999 [BZ #23275]
7000 * nptl/tst-mutex10.c: New File.
7001 * nptl/Makefile (tests): Add tst-mutex10.
7002 (tst-mutex10-ENV): New variable.
7003 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7004 Ensure that elision path is used if elision is available.
7005 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7006 Likewise.
7007 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7008 Likewise.
7009 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7010 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7011 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7012 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7013 Likewise.
7014 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7015 (__pthread_mutex_cond_lock_adjust): Likewise.
7016 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7017 Likewise.
7018 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7019 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7020 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7021 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7022 Add comments.
7023 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7024 Use atomic_load_relaxed and atomic_store_relaxed.
7025 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7026 Use atomic_store_relaxed.
7027
7028 2018-10-17 Andreas Schwab <schwab@suse.de>
7029
7030 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7031 * crypt/badsalttest.c (TIMEOUT): Likewise.
7032 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7033 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7034 * io/test-lfs.c (TIMEOUT): Likewise.
7035 * libio/tst-atime.c (TIMEOUT): Likewise.
7036 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7037 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7038 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7039 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7040 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7041 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7042 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7043 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7044 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7045 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7046 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7047 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7048 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7049 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7050 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7051 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7052 * nptl/tst-once2.c (TIMEOUT): Likewise.
7053 * nptl/tst-once3.c (TIMEOUT): Likewise.
7054 * nptl/tst-once4.c (TIMEOUT): Likewise.
7055 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7056 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7057 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7058 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7059 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7060 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7061 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7062 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7063 * nptl/tst-tls4.c (TIMEOUT): Likewise.
7064 * posix/tst-chmod.c (TIMEOUT): Likewise.
7065 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
7066 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
7067 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
7068 * posix/tst-regex2.c (TIMEOUT): Likewise.
7069 * posix/tst-waitid.c (TIMEOUT): Likewise.
7070 * rt/tst-aio.c (TIMEOUT): Likewise.
7071 * rt/tst-aio10.c (TIMEOUT): Likewise.
7072 * rt/tst-aio4.c (TIMEOUT): Likewise.
7073 * rt/tst-aio5.c (TIMEOUT): Likewise.
7074 * rt/tst-aio6.c (TIMEOUT): Likewise.
7075 * rt/tst-aio64.c (TIMEOUT): Likewise.
7076 * rt/tst-aio7.c (TIMEOUT): Likewise.
7077 * rt/tst-aio9.c (TIMEOUT): Likewise.
7078 * rt/tst-clock.c (TIMEOUT): Likewise.
7079 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
7080 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
7081 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
7082 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
7083 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
7084 * rt/tst-timer4.c (TIMEOUT): Likewise.
7085 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
7086 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
7087 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
7088 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
7089 * time/tst-ftime.c (TIMEOUT): Likewise.
7090 * timezone/tst-tzset.c (TIMEOUT): Likewise.
7091
7092 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
7093
7094 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
7095 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
7096 for thunderX2.
7097
7098 2018-10-15 Joseph Myers <joseph@codesourcery.com>
7099
7100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7101 bits/sem-pad.h.
7102 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
7103 instead of <bits/wordsize.h>.
7104 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
7105 and [__SEM_PAD_AFTER_TIME].
7106 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
7107 __syscall_ulong_t instead of unsigned long int.
7108 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
7109 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
7110 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
7111 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
7112 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
7113 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
7114 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
7115 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
7116 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7117 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7118 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7119
7120 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
7121
7122 regex: simplify by using intprops.h
7123 [BZ#23744]
7124 * posix/regex_internal.h [_LIBC]: Include intprops.h.
7125 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
7126 intprops.h defines them.
7127
7128 regex: __builtin_expect → __glibc_unlikely
7129 [BZ#23744]
7130 This refactoring was prompted by a problem when the regex code is
7131 used as part of Gnulib and when the builder’s compiler does not grok
7132 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
7133 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
7134 Although this refactoring does not fix the problem directly,
7135 we might as well have Gawk use the now-preferred glibc style for when
7136 __builtin_expect is unavailable.
7137 * posix/regex_internal.h (BE): Remove.
7138 All uses replaced by __glibc_unlikely or __glibc_likely.
7139
7140 2018-10-11 Joseph Myers <joseph@codesourcery.com>
7141
7142 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7143 bits/msq-pad.h.
7144 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
7145 instead of <bits/wordsize.h>.
7146 (msgqnum_t): Define as __syscall_ulong_t.
7147 (msglen_t): Likewise.
7148 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7149 and [__MSQ_PAD_AFTER_TIME].
7150 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7151 __syscall_ulong_t instead of unsigned long int.
7152 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7153 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7154 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7155 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7156 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7157 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7158 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7159 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7160 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7161 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7162 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7163
7164 2018-10-10 Joseph Myers <joseph@codesourcery.com>
7165
7166 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7167 (struct shmid_ds): Condition padding after time fields on
7168 [__WORDSIZE == 32].
7169 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7170 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7171 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7172
7173 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7174 (struct semid_ds): Condition padding after time fields on
7175 [__WORDSIZE == 32].
7176 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7177 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7178 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7179 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7180
7181 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7182 (struct msqid_ds): Condition padding after time fields on
7183 [__WORDSIZE == 32].
7184 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7185 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7186 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7187 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7188
7189 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7190
7191 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7192
7193 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7194
7195 * libio/tst-readline.c (TIMEOUT): Define.
7196
7197 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7198
7199 mktime fix for Gnulib + coreutils
7200 [BZ#23745]
7201 This fix affects only Gnulib. Problem discovered when
7202 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7203 * time/mktime.c:
7204 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7205 Do not define since it is not used. Defining an unused static
7206 function prompts a warning from GCC when Coreutils is configured
7207 with --enable-gcc-warnings.
7208
7209 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7210
7211 * benchtests/scripts/compare_bench.py (main): set float type on
7212 threshold argument.
7213
7214 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7215
7216 [BZ #23740]
7217 * localedata/locales/kl_GL (mon): Update, the relative case.
7218 (alt_mon): Add, fill with month names in the nominative case.
7219 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7220 (d_fmt): Set to "%b %d %Y".
7221
7222 2018-10-04 Joseph Myers <joseph@codesourcery.com>
7223
7224 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7225 <bits/mman-linux.h>.
7226 (PROT_READ): Don't define here.
7227 (PROT_WRITE): Likewise.
7228 (PROT_EXEC): Likewise.
7229 (PROT_NONE): Likewise.
7230 (PROT_GROWSDOWN): Likewise.
7231 (PROT_GROWSUP): Likewise.
7232 (MAP_SHARED): Likewise.
7233 (MAP_PRIVATE): Likewise.
7234 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7235 [__USE_MISC] (MAP_FILE): Likewise.
7236 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7237 [__USE_MISC] (MAP_ANON): Likewise.
7238 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7239 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7240 (MCL_CURRENT): Likewise.
7241 (MCL_FUTURE): Likewise.
7242 (MCL_ONFAULT): Likewise.
7243 [__USE_MISC] (MADV_NORMAL): Likewise.
7244 [__USE_MISC] (MADV_RANDOM): Likewise.
7245 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7246 [__USE_MISC] (MADV_WILLNEED): Likewise.
7247 [__USE_MISC] (MADV_DONTNEED): Likewise.
7248 [__USE_MISC] (MADV_FREE): Likewise.
7249 [__USE_MISC] (MADV_REMOVE): Likewise.
7250 [__USE_MISC] (MADV_DONTFORK): Likewise.
7251 [__USE_MISC] (MADV_DOFORK): Likewise.
7252 [__USE_MISC] (MADV_HWPOISON): Likewise.
7253 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7254 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7255 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7256 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7257 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7258 (__MAP_ANONYMOUS): New macro.
7259 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7260 <bits/mman-linux.h> inclusion.
7261 (MAP_FIXED): Likewise.
7262 (MS_SYNC): Likewise.
7263 (MS_ASYNC): Likewise.
7264 (MS_INVALIDATE): Likewise.
7265 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7266 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7267 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7268 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7269 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7270 [__USE_MISC] (MADV_DODUMP): Likewise.
7271 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7272 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7273
7274 [BZ #23735]
7275 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7276 Define.
7277 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7278 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7279 Add test-nldbl-redirect.
7280 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7281 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7282 $(objpfx)libnldbl_nonshared.a.
7283
7284 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
7285
7286 * support/support.h (support_objdir_elf_ldso): New variable.
7287 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
7288 * support/Makefile (CFLAGS-support_paths.c): Add definition
7289 for OBJDIR_ELF_LDSO_PATH.
7290 * support/test-container.c (main): Search for the ld.so
7291 which is also used by the testsuite.
7292
7293 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
7294
7295 [BZ #20209]
7296 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
7297 should be "sap" rather than "sab".
7298 (day): Fix spelling of Sunday, should be "sapaat" rather than
7299 "sabaat".
7300
7301 2018-10-02 Joseph Myers <joseph@codesourcery.com>
7302
7303 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7304
7305 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
7306
7307 [BZ #19444]
7308 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
7309 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
7310 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
7311
7312 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7313
7314 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
7315
7316 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
7317
7318 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
7319 Add -mrtm.
7320 (CFLAGS-elision-unlock.c): Likewise.
7321 (CFLAGS-elision-timed.c): Likewise.
7322 (CFLAGS-elision-trylock.c): Likewise.
7323 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
7324
7325 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7326
7327 [BZ #21037]
7328 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
7329 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
7330 new fd_to_filename interface.
7331 * libio/freopen64.c (freopen64): Likewise.
7332 * libio/tst-memstream.h: New file.
7333 * libio/tst-memstream4.c: Likewise.
7334 * libio/tst-wmemstream4.c: Likewise.
7335 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
7336 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
7337 and remove internal dynamic allocation.
7338
7339 2018-10-01 Joseph Myers <joseph@codesourcery.com>
7340
7341 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7342 (MREMAP_MAYMOVE): Do not define here.
7343 [__USE_GNU] (MREMAP_FIXED): Likewise.
7344 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
7345 (MREMAP_MAYMOVE): Define here instead.
7346 [__USE_GNU] (MREMAP_FIXED): Likewise.
7347 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
7348 (MREMAP_MAYMOVE): Remove.
7349 [__USE_GNU] (MREMAP_FIXED): Likewise.
7350
7351 2018-09-28 Joseph Myers <joseph@codesourcery.com>
7352
7353 * math/fromfp.h: Do not include <math_private.h>.
7354 * math/s_cacosh_template.c: Likewise.
7355 * math/s_casin_template.c: Likewise.
7356 * math/s_casinh_template.c: Likewise.
7357 * math/s_ccos_template.c: Likewise.
7358 * math/s_cproj_template.c: Likewise.
7359 * math/s_fdim_template.c: Likewise.
7360 * math/s_fmaxmag_template.c: Likewise.
7361 * math/s_fminmag_template.c: Likewise.
7362 * math/s_iseqsig_template.c: Likewise.
7363 * math/s_ldexp_template.c: Likewise.
7364 * math/s_nextdown_template.c: Likewise.
7365 * math/w_log1p_template.c: Likewise.
7366 * math/w_scalbln_template.c: Likewise.
7367 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7368 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7369 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7370 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7371 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7372 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7373 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7374 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7375 * sysdeps/i386/fpu/s_atanl.c: Likewise.
7376 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7377 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7378 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7379 * sysdeps/i386/fpu/s_logbl.c: Likewise.
7380 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7381 * sysdeps/i386/fpu/s_significandl.c: Likewise.
7382 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
7383 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
7384 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7385 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7386 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7387 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7388 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7389 * sysdeps/ieee754/k_standardf.c: Likewise.
7390 * sysdeps/ieee754/k_standardl.c: Likewise.
7391 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7392 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7393 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
7394 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7395 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7396 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7397 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7398 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7399 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7400 * sysdeps/ieee754/s_signgam.c: Likewise.
7401 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7402 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
7403 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
7404 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7405 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7406 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7407 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7408 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7409 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7410 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7411 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7412 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7413 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7414 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7415 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7416 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7417 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7418 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7419 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7420 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7421 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7422 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7423 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7424 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7425 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7426 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7427 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7428 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7429 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7430 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7431 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7432 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7433 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7434 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7435 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7436 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7437 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
7438 <math_private.h>.
7439 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7440
7441 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
7442
7443 [BZ #23716]
7444 * sysdeps/i386/dl-cet.c: Removed.
7445 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
7446 prototype.
7447 (_dl_runtime_profile_shstk): Likewise.
7448 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
7449 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
7450
7451 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7452
7453 [BZ #23579]
7454 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
7455 do_test_with_invalid_iov): New tests.
7456 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
7457 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
7458 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
7459 errno is ENOSYS.
7460 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7461 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7462 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7463
7464 2018-09-27 Joseph Myers <joseph@codesourcery.com>
7465
7466 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7467 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
7468 (MATH_REDIRECT_BINARY_ARGS): New macro.
7469 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7470 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
7471 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
7472 header inclusion.
7473 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
7474 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7475 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
7476 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7477 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7478 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7479 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7481 Likewise.
7482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
7483 Likewise.
7484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
7486 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
7487 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
7488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
7489 Likewise.
7490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
7491 Likewise.
7492 * sysdeps/generic/math_private_calls.h
7493 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
7494 Do not declare and define as an inline function.
7495 * math/divtc3.c (__divtc3): Use copysign functions instead of
7496 __copysign variants.
7497 * math/multc3.c (__multc3): Likewise.
7498 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
7499 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
7500 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7501 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7502 Likewise.
7503 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7504 (__ieee754_yn): Likewise.
7505 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7506 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
7507 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7508 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7509 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
7510 (__sin): Likewise.
7511 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
7512 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7513 Likewise.
7514 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7515 Likewise.
7516 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7517 Likewise.
7518 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7519 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7520 Likewise.
7521 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7522 (__ieee754_ynf): Likewise.
7523 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7524 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7525 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7526 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7527 Likewise.
7528 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7529 (__ieee754_ynl): Likewise.
7530 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7531 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7532 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7533 Likewise.
7534 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7535 (__ieee754_ynl): Likewise.
7536 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
7537 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7538 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7539 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7540 Likewise.
7541 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7542 (__ieee754_ynl)
7543 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
7544 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7545 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
7546 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7547 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7548
7549 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7550 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
7551 using MATH_REDIRECT.
7552 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
7553 header inclusion.
7554 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
7555 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7556 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7557 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
7558 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7559 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7560 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7565 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7566 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7567 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7568 (round): Redirect to __round.
7569 (__roundl): Call round instead of __round.
7570 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7571 Remove macro.
7572 [_ARCH_PWR5X] (__roundf): Likewise.
7573 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7574 functions instead of __round variants.
7575 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7576 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7577 Likewise.
7578 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7579 Likewise.
7580 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7581 Likewise.
7582 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7583 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7584 __lroundl.
7585 (__ieee754_expl): Call roundl instead of __roundl.
7586
7587 2018-09-27 Andreas Schwab <schwab@suse.de>
7588
7589 [BZ #23717]
7590 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7591 (do_test): Make st1 static.
7592
7593 2018-09-26 Andreas Schwab <schwab@suse.de>
7594
7595 [BZ #23707]
7596 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7597 * elf/Makefile (tests): Add tst-unwind-ctor.
7598 (modules-names): Add tst-unwind-ctor-lib.
7599 ($(objpfx)tst-unwind-ctor): Depend on
7600 $(objpfx)tst-unwind-ctor-lib.so.
7601
7602 2018-09-26 Joseph Myers <joseph@codesourcery.com>
7603
7604 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7605 file. Most contents moved from ....
7606 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7607 and include <bits/mman-map-flags-generic.h>.
7608 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7609 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7610 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7611 <bits/mman-map-flags-generic.h>.
7612 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7613 macros defined in <bits/mman-map-flags-generic.h>.
7614 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7615 <bits/mman-map-flags-generic.h>.
7616 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7617 defined in <bits/mman-map-flags-generic.h>.
7618
7619 2018-09-26 Andreas Schwab <schwab@suse.de>
7620
7621 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7622 output.
7623
7624 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7625 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7626 Fangrui Song <maskray@google.com>
7627
7628 [BZ #20480]
7629 * config.make.in (have-textrel_ifunc): New define.
7630 * configure.ac: Add check if linker supports textrel relocation with
7631 ifunc.
7632 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7633 tst-ifunc-textrel.
7634 (CFLAGS-tst-ifunc-textrel.c): New rule.
7635 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7636 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7637 * elf/tst-ifunc-textrel.c: New file.
7638
7639 2018-09-25 Joseph Myers <joseph@codesourcery.com>
7640
7641 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7642 <bits/procfs-prregset.h>.
7643 (prgregset_t): Define using __prgregset_t.
7644 (prfpregset_t): Define using __prfpregset_t.
7645 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7646 (sysdep_headers): Add bits/procfs-prregset.h.
7647 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7648 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7649 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7650 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7651
7652 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7653 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7654 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7655 pr_uid and pr_gid.
7656 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7657 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7658 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7659 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7660 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7661 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7662 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7663 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7664 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7665 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7666 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7667 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7668 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7669 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7670 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7671 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7672 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7673 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7674 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7675 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7676 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7677 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7678 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7679 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7680
7681 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7682 AArch64 version. Include <bits/procfs.h>.
7683 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7684 (sysdep_headers): Add bits/procfs.h.
7685 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7686 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7687 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7688 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7689 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7690 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7691 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7692 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7693 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7694 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7695 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7696 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7697 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7698 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7699 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7700 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7701 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7702
7703 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7704
7705 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7706 Use libsupport.
7707
7708 2018-09-25 Arjun Shankar <arjun@redhat.com>
7709
7710 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7711 (__gconv_max_path_elem_len): Likewise.
7712 (__gconv_nmodules): Likewise.
7713 (__gconv_get_path): Likewise.
7714 (path_elem): Move to ...
7715 * iconv/gconv_conf.c: ... here.
7716 (__gconv_get_path): Mark function static.
7717 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7718 * iconv/gconv_open.c: ... here.
7719
7720 2018-09-24 Andreas Schwab <schwab@suse.de>
7721
7722 * scripts/haveversions.awk: New file.
7723 * Makerules ($(common-objpfx)Versions.def)
7724 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7725 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7726 Move rules ...
7727 * Makeconfig ($(common-objpfx)Versions.def)
7728 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7729 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7730 ... here.
7731 ($(common-objpfx)Versions.mk): New rule. Include it.
7732 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7733 Emit error if build-obsolete-nsl = yes.
7734 * manual/install.texi (Configuring and compiling): Describe
7735 --enable-obsolete-nsl as unavaiable after version 2.28.
7736 * INSTALL: Regenerate.
7737
7738 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7739
7740 * NEWS: Add note about new TLE support on powerpc64le.
7741 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7742 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7743 __ununsed1.
7744 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7745 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7746 * sysdeps/powerpc/powerpc32/sysdep.h,
7747 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7748 ABORT_TRANSACTION): Remove macros.
7749 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7750 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7751 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7753 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7754 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7755 usage.
7756 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7757
7758 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7759
7760 [BZ #10425]
7761 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7762 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7763 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7764 which is the same as in it_IT.
7765 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7766 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7767
7768 2018-09-20 Joseph Myers <joseph@codesourcery.com>
7769
7770 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7771 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7772 using MATH_REDIRECT.
7773 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7774 header inclusion.
7775 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7776 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7777 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7778 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7779 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7780 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7785 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7786 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7787 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7788 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7789 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7790 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7791 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7792 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7793 (ceil): Redirect to __ceil.
7794 (floor): Redirect to __floor.
7795 (trunc): Redirect to __trunc.
7796 (__truncl): Call trunc instead of __trunc.
7797 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7798 Remove macro.
7799 [_ARCH_PWR5X] (__truncf): Likewise.
7800 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7801 trunc functions instead of __trunc variants.
7802 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7803 Likewise.
7804 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7805 Likewise.
7806 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7807 Likewise.
7808 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7809 Likewise.
7810
7811 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7812 [__i586__ || __pentium__].
7813 [__i486__]: Handle explicitly.
7814 (HAS_CPUID): Define to 1 if above macros are undefined.
7815 (HAS_I586): Likewise.
7816 (HAS_I686): Likewise.
7817
7818 2018-09-20 Florian Weimer <fweimer@redhat.com>
7819
7820 * misc/tst-gethostid.c: New file.
7821 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7822 (tst-gethostid): Link with -ldl.
7823
7824 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7825
7826 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7827 value from gethostbyname_r.
7828
7829 2018-09-19 Carlos O'Donell <carlos@redhat.com>
7830
7831 * stdlib/tst-setcontext9.c (f1): Rename to...
7832 (f1a): ... this.
7833 (f1b): New function implementing lower half of f1 in alternate stack.
7834
7835 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7836
7837 Fix mktime localtime offset confusion
7838 [BZ #23603]
7839 * include/time.h (__mktime_internal): The localtime offset is now
7840 of type long int instead of time_t. This is the longstanding type
7841 in glibc, and it is more than enough to represent difference
7842 between localtime and gmtime even if it is 32 bits and time_t is
7843 64. Changing it now will let us avoid an unnecessary change when
7844 time_t is widened to 64 bits on 32-bit platforms.
7845 * time/mktime-internal.h (mktime_offset_t): Now long int.
7846
7847 Merge mktime, timegm from upstream Gnulib
7848 [BZ #23603][BZ #16346]
7849 This fixes some obscure problems with integer overflow.
7850 Although it looks scary, it is almost all a byte-for-byte copy
7851 from Gnulib, and the Gnulib code has been tested reasonably well.
7852 * include/intprops.h: New file, copied from Gnulib.
7853 * include/verify.h, time/mktime-internal.h:
7854 New tiny files, simplified from Gnulib.
7855 * time/mktime.c: Copy from Gnulib. This has the following changes:
7856 Do not include config.h if DEBUG_MKTIME is nonzero.
7857 Include stdbool.h, intprops.h, verify.h.
7858 Include string.h only if needed.
7859 Include stdlib.h on MS-Windows.
7860 Include mktime-internal.h.
7861 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7862 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7863 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7864 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7865 simplify later conditionals; default the others to zero. Use
7866 these conditionals to express only the code needed on the current
7867 platform. In uses of these conditionals, explicitly spell out how
7868 _LIBC affects things, so it’s easier to review from a glibc
7869 viewpoint.
7870 (WRAPV): Remove; no longer needed now that we have
7871 systematic overflow checking.
7872 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7873 compartmentalize tzset issues. Move system-dependent tzsettish
7874 code here from mktime.
7875 (verify): Remove; now done by verify.h. All uses changed.
7876 (long_int): Use a more-conservative definition, to avoid
7877 integer overflow.
7878 (SHR): Remove, replacing with ...
7879 (shr): New function, which means we needn’t worry about side
7880 effects in args, and conversion analysis is simpler.
7881 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7882 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7883 (time_t_avg, time_t_add_ok): Remove.
7884 (mktime_min, mktime_max): New constants.
7885 (leapyear, isdst_differ): Use bool for booleans.
7886 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7887 Use long_int, not time_t, for mktime differences.
7888 (long_int_avg): New function, replacing time_t_avg.
7889 INT_ADD_WRAPV replaces time_t_add_ok.
7890 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7891 All uses changed.
7892 (convert_time): New function.
7893 (ranged_convert): Use it.
7894 (__mktime_internal): Last arg now points to mktime_offset_t, not
7895 time_t. All uses changed. This is a no-op on glibc, where
7896 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7897 offset guess. Directly check for integer overflow instead of
7898 using a heuristic that works only 99.9...% of the time.
7899 Access *OFFSET only once, to avoid an unlikely race if the
7900 compiler delays a load and if this cascades into a signed integer
7901 overflow.
7902 (mktime): Move tzsettish code to my_tzset, and move
7903 localtime_offset to within mktime so that it doesn’t
7904 need a separate ifdef.
7905 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7906 instead of localtime.
7907 * time/timegm.c: Copy from Gnulib. This has the following changes:
7908 Include mktime-internal.h.
7909 [!_LIBC]: Include config.h and time.h. Do not include
7910 timegm.h or time_r.h. Make __mktime_internal a macro,
7911 and include mktime-internal.h to get its declaration.
7912 (timegm): Temporary is now mktime_offset_t, not time_t.
7913 This affects only Gnulib.
7914
7915 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7916
7917 [BZ #23637]
7918 * string/test-strstr.c (pr23637): New function.
7919 (test_main): Add tests with longer needles.
7920 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7921 * string/strstr.c (AVAILABLE): Likewise.
7922
7923 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7924
7925 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7926
7927 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7928
7929 * NEWS: Mention pow improvements.
7930 * math/Makefile (type-double-routines): Add e_pow_log_data.
7931 * sysdeps/generic/math_private.h (__exp1): Remove.
7932 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7933 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7934 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7935 contraction.
7936 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7937 (exp_inline): Remove.
7938 (__ieee754_exp): Only single double input is handled.
7939 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7940 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7941 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7942 (__pow_log_data): Define.
7943 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7944 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7945 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7946 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7947 contraction.
7948 (CFLAGS-e_pow-fma4.c): Likewise.
7949
7950 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7951
7952 Simplify tzfile fstat failure code
7953 [BZ #21716]
7954 * time/tzfile.c (__tzfile_read): Simplify slightly.
7955
7956 Fix tzfile low-memory assertion failure
7957 [BZ #21716]
7958 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7959 when registering time zone abbreviations.
7960
7961 2018-09-18 Joseph Myers <joseph@codesourcery.com>
7962
7963 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7964 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7965 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7966 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7967 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7968 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7969 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7970 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7971 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7972
7973 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
7974 __ceil.
7975 (__ceill): Call ceil instead of __ceil.
7976 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
7977 __floor.
7978 (__floorl): Call floor instead of __floor.
7979
7980 2018-09-17 Joseph Myers <joseph@codesourcery.com>
7981
7982 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7983 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
7984 using MATH_REDIRECT.
7985 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
7986 header inclusion.
7987 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
7988 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7989 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7990 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
7991 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7992 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7993 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7994 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
7995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
7996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
7997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
7998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
7999 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8000 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8002 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8003 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8004 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8005 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8006 Remove macro.
8007 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8008 functions instead of __ceil variants.
8009 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8010 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8011 Likewise.
8012 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8013 Likewise.
8014 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8015 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8016 Likewise.
8017 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8018 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8019
8020 [BZ #21286]
8021 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8022 constant.
8023 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8024 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8025 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8026 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8027 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8028 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8029 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8030 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8031 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8032 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8033 (ILL_BADIADDR): Remove constant.
8034 (TRAP_BRANCH): Likewise.
8035 (TRAP_HWBKPT): Likewise.
8036
8037 2018-09-14 Joseph Myers <joseph@codesourcery.com>
8038
8039 [BZ #23656]
8040 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8041 Remove [_MIPS_SIM = _ABIN32] conditional case.
8042 (struct elf_prpsinfo): Likewise.
8043
8044 [BZ #23649]
8045 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8046 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8047 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8048 Likewise.
8049 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8050 elf_prpsinfo): Likewise.
8051 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8052 elf_prpsinfo): Likewise.
8053 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8054 Likewise.
8055
8056 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8057 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8058 using MATH_REDIRECT.
8059 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8060 header inclusion.
8061 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8062 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8063 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
8064 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8065 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8066 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8067 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
8068 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8069 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8070 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8071 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
8072 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
8073 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
8074 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8075 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8076 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8077 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8078 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
8079 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8082 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8083 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8084 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8085 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8086 * sysdeps/x86_64/fpu/math_private.h: Remove file.
8087 * math/e_scalb.c (invalid_fn): Use rint functions instead of
8088 __rint variants.
8089 * math/e_scalbf.c (invalid_fn): Likewise.
8090 * math/e_scalbl.c (invalid_fn): Likewise.
8091 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8092 Likewise.
8093 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8094 Likewise.
8095 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8096 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
8097 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8098 Likewise.
8099 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8100 Likewise.
8101 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8102 Likewise.
8103 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
8104 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
8105
8106 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8107 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
8108 New macro.
8109 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8110 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
8111 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8112 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
8113 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8114 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
8115 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8116 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
8117 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8118 && !NO_MATH_REDIRECT] (floor): Likewise.
8119 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
8120 header inclusion.
8121 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
8122 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8123 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8124 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
8125 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8126 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8127 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8128 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
8130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
8131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
8132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
8133 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8134 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8135 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8136 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8137 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8138 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8139 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
8140 Remove macro.
8141 [_ARCH_PWR5X] (__floorf): Likewise.
8142 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
8143 inline function.
8144 [__SSE4_1__] (__floorf): Likewise.
8145 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8146 instead of __floor variants.
8147 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8148 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8149 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8150 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8151 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8152 * math/w_tgamma_compat.c (__tgamma): Likewise.
8153 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8154 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8155 * math/w_tgammal_compat.c (__tgammal): Likewise.
8156 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8157 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8158 Likewise.
8159 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8160 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8161 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8162 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8163 Likewise.
8164 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8165 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8166 Likewise.
8167 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8168 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8169 Likewise.
8170 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8171 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8172 Likewise.
8173 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8174 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8175 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8176 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8177 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8178 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8179
8180 2018-09-12 Joseph Myers <joseph@codesourcery.com>
8181
8182 * elf/Makefile (modules-names-tests): New variable.
8183
8184 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8185
8186 * NEWS: Mention log2 improvements.
8187 * math/Makefile (type-double-routines): Add e_log2_data.
8188 * sysdeps/i386/fpu/e_log2_data.c: New file.
8189 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8190 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8191 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8192 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8193 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8194 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8195
8196 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8197
8198 * NEWS: Mention log improvement.
8199 * math/Makefile (type-double-routines): Add e_log_data.
8200 * sysdeps/i386/fpu/e_log_data.c: New file.
8201 * sysdeps/ia64/fpu/e_log_data.c: New file.
8202 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8203 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8204 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8205 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8206 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8207 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8208
8209 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8210 Xuepeng Guo <xuepeng.guo@intel.com>
8211
8212 [BZ #23606]
8213 * sysdeps/i386/start.S: Include <sysdep.h>
8214 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8215 enabled. Add cfi_undefined (eip).
8216
8217 2018-09-11 Joseph Myers <joseph@codesourcery.com>
8218
8219 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8220 (MOVQ): Likewise.
8221 (EXTRACT_WORDS64): Likewise.
8222 (INSERT_WORDS64): Likewise.
8223 (GET_FLOAT_WORD): Likewise.
8224 (SET_FLOAT_WORD): Likewise.
8225
8226 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8227 argument.
8228 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8229 build, but not for second build if --full-gcc. Use
8230 --enable-languages=all for second build if --full-gcc.
8231 (get_parser): Add --full-gcc option.
8232 (main): Update call to Context.
8233
8234 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8235
8236 [BZ #10797]
8237 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8238 Single Quotation Mark).
8239 (thousands_sep): Likewise.
8240 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8241 * localedata/locales/it_IT (thousands_sep): Use ".".
8242 (grouping): Use "3;3".
8243
8244 2018-09-10 Joseph Myers <joseph@codesourcery.com>
8245
8246 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8247 x86_64 and i686 configs using --enable-obsolete-rpc
8248 --enable-obsolete-nsl.
8249
8250 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8251
8252 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8253
8254 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8255
8256 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8257 Increment size of new_argv by one.
8258
8259 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8260
8261 [BZ #17426]
8262 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8263 * localedata/locales/ar_IN (d_fmt): Likewise.
8264 * localedata/locales/bhb_IN (d_fmt): Likewise.
8265 * localedata/locales/bho_IN (d_fmt): Likewise.
8266 * localedata/locales/bn_BD (d_fmt): Likewise.
8267 * localedata/locales/bn_IN (d_fmt): Likewise.
8268 * localedata/locales/doi_IN (d_fmt): Likewise.
8269 * localedata/locales/gu_IN (d_fmt): Likewise.
8270 * localedata/locales/hi_IN (d_fmt): Likewise.
8271 * localedata/locales/hne_IN (d_fmt): Likewise.
8272 * localedata/locales/kn_IN (d_fmt): Likewise.
8273 * localedata/locales/mag_IN (d_fmt): Likewise.
8274 * localedata/locales/mai_IN (d_fmt): Likewise.
8275 * localedata/locales/mjw_IN (d_fmt): Likewise.
8276 * localedata/locales/ml_IN (d_fmt): Likewise.
8277 * localedata/locales/mni_IN (d_fmt): Likewise.
8278 * localedata/locales/mr_IN (d_fmt): Likewise.
8279 * localedata/locales/pa_IN (d_fmt): Likewise.
8280 * localedata/locales/raj_IN (d_fmt): Likewise.
8281 * localedata/locales/sat_IN (d_fmt): Likewise.
8282 * localedata/locales/sd_IN (d_fmt): Likewise.
8283 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8284 * localedata/locales/ta_IN (d_fmt): Likewise.
8285 * localedata/locales/ta_LK (d_fmt): Likewise.
8286 * localedata/locales/tcy_IN (d_fmt): Likewise.
8287 * localedata/locales/ur_IN (d_fmt): Likewise.
8288
8289 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
8290 * localedata/locales/ks_IN (d_fmt): Likewise.
8291 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
8292
8293 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
8294 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
8295 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
8296 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
8297
8298 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8299
8300 * NEWS: Mention exp and exp2 improvements.
8301 * math/Makefile (libm-support): Remove t_exp.
8302 (type-double-routines): Add math_err and e_exp_data.
8303 * sysdeps/aarch64/libm-test-ulps: Update.
8304 * sysdeps/arm/libm-test-ulps: Update.
8305 * sysdeps/i386/fpu/e_exp_data.c: New file.
8306 * sysdeps/i386/fpu/math_err.c: New file.
8307 * sysdeps/i386/fpu/t_exp.c: Remove.
8308 * sysdeps/ia64/fpu/e_exp_data.c: New file.
8309 * sysdeps/ia64/fpu/math_err.c: New file.
8310 * sysdeps/ia64/fpu/t_exp.c: Remove.
8311 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
8312 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
8313 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
8314 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
8315 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
8316 * sysdeps/ieee754/dbl-64/math_config.h: New file.
8317 * sysdeps/ieee754/dbl-64/math_err.c: New file.
8318 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
8319 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
8320 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
8321 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
8322 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
8323 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
8324 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
8325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8327
8328 2018-09-05 Joseph Myers <joseph@codesourcery.com>
8329
8330 * sysdeps/alpha/fpu/math_private.h: Remove.
8331
8332 * sysdeps/generic/math_private.h
8333 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
8334 Move this inline function ....
8335 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
8336 * include/math.h [!_ISOMAC]: To here....
8337
8338 2018-09-04 Joseph Myers <joseph@codesourcery.com>
8339
8340 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
8341 code ....
8342 [!FE_HAVE_ROUNDING_MODES]: And this code ....
8343 * include/fenv.h [!_ISOMAC]: ... to here.
8344 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
8345 (feraiseexcept): Likewise.
8346 * math/fromfp.h: Do not include <fenv_private.h>.
8347 * math/s_cexp_template.c: Likewise.
8348 * math/s_csin_template.c: Likewise.
8349 * math/s_csinh_template.c: Likewise.
8350 * math/s_ctan_template.c: Likewise.
8351 * math/s_ctanh_template.c: Likewise.
8352 * math/s_iseqsig_template.c: Likewise.
8353 * math/w_acos_compat.c: Likewise.
8354 * math/w_acosf_compat.c: Likewise.
8355 * math/w_acosl_compat.c: Likewise.
8356 * math/w_asin_compat.c: Likewise.
8357 * math/w_asinf_compat.c: Likewise.
8358 * math/w_asinl_compat.c: Likewise.
8359 * math/w_j0_compat.c: Likewise.
8360 * math/w_j0f_compat.c: Likewise.
8361 * math/w_j0l_compat.c: Likewise.
8362 * math/w_j1_compat.c: Likewise.
8363 * math/w_j1f_compat.c: Likewise.
8364 * math/w_j1l_compat.c: Likewise.
8365 * math/w_jn_compat.c: Likewise.
8366 * math/w_jnf_compat.c: Likewise.
8367 * math/w_log10_compat.c: Likewise.
8368 * math/w_log10f_compat.c: Likewise.
8369 * math/w_log10l_compat.c: Likewise.
8370 * math/w_log2_compat.c: Likewise.
8371 * math/w_log2f_compat.c: Likewise.
8372 * math/w_log2l_compat.c: Likewise.
8373 * math/w_log_compat.c: Likewise.
8374 * math/w_logf_compat.c: Likewise.
8375 * math/w_logl_compat.c: Likewise.
8376 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8377 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8378 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8379 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8380 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8381 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8382 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8383 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8384 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8385 * sysdeps/ieee754/k_standardl.c: Likewise.
8386 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8387 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8388 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8389 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8390 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8391 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8392 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8393 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8394 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8395 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8396 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8397 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8398 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8399 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8400 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8401 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8402 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8403 * math/w_ilogb_template.c: Include <fenv.h> instead of
8404 <fenv_private.h>.
8405 * math/w_llogb_template.c: Likewise.
8406 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8407 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8408
8409 2018-09-03 Joseph Myers <joseph@codesourcery.com>
8410
8411 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
8412 * math/fromfp.h: Include <fenv_private.h>.
8413 * math/math-narrow.h: Likewise.
8414 * math/s_cexp_template.c: Likewise.
8415 * math/s_csin_template.c: Likewise.
8416 * math/s_csinh_template.c: Likewise.
8417 * math/s_ctan_template.c: Likewise.
8418 * math/s_ctanh_template.c: Likewise.
8419 * math/s_iseqsig_template.c: Likewise.
8420 * math/w_acos_compat.c: Likewise.
8421 * math/w_acosf_compat.c: Likewise.
8422 * math/w_acosl_compat.c: Likewise.
8423 * math/w_asin_compat.c: Likewise.
8424 * math/w_asinf_compat.c: Likewise.
8425 * math/w_asinl_compat.c: Likewise.
8426 * math/w_ilogb_template.c: Likewise.
8427 * math/w_j0_compat.c: Likewise.
8428 * math/w_j0f_compat.c: Likewise.
8429 * math/w_j0l_compat.c: Likewise.
8430 * math/w_j1_compat.c: Likewise.
8431 * math/w_j1f_compat.c: Likewise.
8432 * math/w_j1l_compat.c: Likewise.
8433 * math/w_jn_compat.c: Likewise.
8434 * math/w_jnf_compat.c: Likewise.
8435 * math/w_llogb_template.c: Likewise.
8436 * math/w_log10_compat.c: Likewise.
8437 * math/w_log10f_compat.c: Likewise.
8438 * math/w_log10l_compat.c: Likewise.
8439 * math/w_log2_compat.c: Likewise.
8440 * math/w_log2f_compat.c: Likewise.
8441 * math/w_log2l_compat.c: Likewise.
8442 * math/w_log_compat.c: Likewise.
8443 * math/w_logf_compat.c: Likewise.
8444 * math/w_logl_compat.c: Likewise.
8445 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8446 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8447 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8448 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8449 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8450 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8451 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8452 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8453 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8454 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8455 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8456 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8457 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
8458 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8459 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8460 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8461 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8462 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8463 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8464 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8465 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8466 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8467 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8468 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8469 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8470 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8471 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8472 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8473 * sysdeps/ieee754/float128/float128_private.h: Likewise.
8474 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8475 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8476 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8477 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8478 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8479 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8480 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8481 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8482 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8483 * sysdeps/ieee754/k_standardl.c: Likewise.
8484 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8485 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8486 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8487 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8488 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8489 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8490 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8491 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8492 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8493 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8494 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8495 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8496 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8497 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8498 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8499 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8500 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8501 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8502 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8503 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8504 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8505 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8506 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8507 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8508 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8509 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8510 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8511 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8512 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8513 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8514 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8515 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8516 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8517 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8518 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8519 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8520 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8521 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8522 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8523 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8524 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8525 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8526 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8527 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8528 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8529 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8530 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8531 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8532 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8533 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8534 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8535 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8536 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8537 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8538 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8539 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8540 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8541 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8542 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8543 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8544 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8545 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8546 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8547 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8548 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8549 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8550 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8551 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8552 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8553 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8554 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8555
8556 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8557
8558 [BZ #20271]
8559 * include/stdio.h (__libc_fatal): Mention newline in comment.
8560 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
8561 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8562 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8563 * nss/nsswitch.c (__nss_next2): Likewise.
8564 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8565 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8566 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8567 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8568 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8569 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8570 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8571 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8572 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8573 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8574 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8575 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8576 (__netlink_assert_response): Likewise.
8577
8578 2018-08-31 Joseph Myers <joseph@codesourcery.com>
8579
8580 * conform/glibcconform.py: New file.
8581 * conform/list-header-symbols.py: Likewise.
8582 * conform/list-header-symbols.pl: Remove.
8583 * conform/Makefile (tests-special): Only add linknamespace tests
8584 if [PYTHON].
8585 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8586
8587 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8588
8589 [BZ #23597]
8590 * support/Makefile (libsupport-routines): Add
8591 support_copy_file_range and xcopy_file_range.
8592 * support/support.h: Include <sys/types.h>.
8593 (support_copy_file_range): New prototype.
8594 * support/support_copy_file_range.c: New file. Copied and
8595 modified from io/copy_file_range-compat.c.
8596 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8597 instead of copy_file_range.
8598 * support/xcopy_file_range.c: New file.
8599 * support/xunistd.h (xcopy_file_range): New prototype.
8600
8601 2018-08-30 Carlos O'Donell <carlos@redhat.com>
8602
8603 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8604 xpthread_create and xpthread_join.
8605
8606 2018-08-30 Florian Weimer <fweimer@redhat.com>
8607
8608 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8609
8610 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
8611
8612 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8613 if malloc fails.
8614
8615 2018-08-29 Joseph Myers <joseph@codesourcery.com>
8616
8617 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8618 and minus_oflow as non-finite.
8619
8620 2018-08-28 Joseph Myers <joseph@codesourcery.com>
8621
8622 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8623 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8624 moved to fenv_private.h except for ...
8625 (TOINT_INTRINSICS): Kept in math_private.h.
8626 (roundtoint): Likewise.
8627 (converttoint): Likewise.
8628 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8629 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8630 * sysdeps/arm/math_private.h: Remove.
8631 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8632 ....
8633 * sysdeps/generic/math_private.h: ... this file. Include
8634 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8635 Include <fenv_private.h>. Remove functions and macros moved to
8636 fenv_private.h.
8637 * sysdeps/i386/fpu/math_private.h: Remove.
8638 * sysdeps/mips/math_private.h: Move to ....
8639 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8640 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8641 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8642 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8643 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8644 * sysdeps/powerpc/fpu/math_private.h: Do not include
8645 <fenv_private.h>.
8646 * sysdeps/riscv/rvf/math_private.h: Move to ....
8647 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8648 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8649 <fenv_private.h>.
8650 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8651 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8652 * sysdeps/sparc/fpu/math_private.h: Remove.
8653 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8654 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8655 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8656 <fenv_private.h>.
8657 * sysdeps/x86_64/fpu/math_private.h: Do not include
8658 <sysdeps/i386/fpu/fenv_private.h>.
8659
8660 2018-08-28 Florian Weimer <fweimer@redhat.com>
8661
8662 [BZ #23578]
8663 * posix/tst-regcomp-truncated.c: New file.
8664 * posix/Makefile (tests): Add it.
8665 (tst-regcomp-truncated.out): Depend on generated locales.
8666
8667 2018-08-28 Florian Weimer <fweimer@redhat.com>
8668
8669 * support/test-container.c (main): Treat unshare failure with
8670 EPERM as an unsupported test.
8671
8672 2018-08-28 Florian Weimer <fweimer@redhat.com>
8673
8674 [BZ #23520]
8675 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8676 * nscd/netgroupcache.c
8677 (addgetnetgrentX): Add tofreep parameter. Do not free
8678 heap-allocated buffer.
8679 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8680 (addgetnetgrentX_ignore): New function.
8681 (addgetnetgrent): Call it.
8682 (readdgetnetgrent): Likewise.
8683
8684 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8685
8686 * string/memmem.c: Use memcmp for first match.
8687
8688 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8689
8690 [BZ #17426]
8691 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8692
8693 2018-08-27 DJ Delorie <dj@redhat.com>
8694
8695 * support/Makefile (others): Don't list programs explicitly as a
8696 dependency of "others".
8697
8698 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8699
8700 * sysdeps/generic/math-tests-trap-force.h: New file.
8701 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8702 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8703 * sysdeps/powerpc/math-tests.h: Remove file.
8704 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8705
8706 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8707 Torvald Riegel <triegel@redhat.com>
8708
8709 [BZ #23538]
8710 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8711 Update r to include the set wake-request flag if waiters are
8712 remaining after spinning.
8713
8714 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8715
8716 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8717
8718 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8719
8720 [BZ #23578]
8721 regex: fix uninitialized memory access
8722 I introduced this bug into gnulib in commit
8723 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8724 eventually it was merged into glibc. The bug was found by
8725 project-repo <bugs@feusi.co> and reported here:
8726 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8727 Diagnosis and draft fix reported by Assaf Gordon here:
8728 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8729 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8730 * posix/regex_internal.c (build_wcs_upper_buffer):
8731 Fix bug when mbrtowc returns 0.
8732
8733 2018-08-24 Carlos O'Donell <carlos@redhat.com>
8734
8735 * po/be.po: Update translation.
8736
8737 2018-08-24 DJ Delorie <dj@delorie.com>
8738
8739 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8740 $(libunwind).
8741
8742 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8743
8744 [BZ #23400]
8745 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8746 create temporary files in source tree.
8747
8748 2018-08-24 Joseph Myers <joseph@codesourcery.com>
8749
8750 * sysdeps/generic/math-tests-trap.h: New file.
8751 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8752 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8753 * sysdeps/aarch64/math-tests.h: Remove file.
8754 * sysdeps/arm/math-tests.h: Likewise.
8755 * sysdeps/riscv/math-tests.h: Likewise.
8756 * sysdeps/aarch64/math-tests-trap.h: New file.
8757 * sysdeps/arm/math-tests-trap.h: Likewise.
8758 * sysdeps/riscv/math-tests-trap.h: Likewise.
8759
8760 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8761
8762 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8763 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8764 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8765 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8766 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8767 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8768 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8769 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8770 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8771 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8772 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8773 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8774 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8775 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8776 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8777 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8778 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8779 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8780
8781 2018-08-23 Joseph Myers <joseph@codesourcery.com>
8782
8783 * sysdeps/generic/math-tests-exceptions.h: New file.
8784 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8785 (EXCEPTION_TESTS_float): Do not define here.
8786 (EXCEPTION_TESTS_double): Likewise.
8787 (EXCEPTION_TESTS_long_double): Likewise.
8788 (EXCEPTION_TESTS_float128): Likewise.
8789 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8790 Likewise.
8791 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8792 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8793 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8794 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8795 * sysdeps/mips/math-tests.h: Likewise.
8796 * sysdeps/nios2/math-tests.h: Likewise.
8797 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8798 (EXCEPTION_TESTS_float): Do not define here.
8799 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8800 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8801 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8802
8803 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8804
8805 * NEWS: Move optimized sinf entry to 2.29.
8806
8807 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8808
8809 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8810
8811 2018-08-22 DJ Delorie <dj@redhat.com>
8812
8813 * Makefile (testroot.pristine): New rules to initialize the
8814 test-in-container "testroot".
8815 * Makerules (all-testsuite): Add tests-container.
8816 * Rules (tests-expected): Add tests-container.
8817 (binaries-all-tests): Likewise.
8818 (tests-container): New, run these tests in the testroot container.
8819 * support/Makefile (others): Add *-container, support_paths.c,
8820 xmkdirp, and links-dso-program.
8821 * support/links-dso-program-c.c: New.
8822 * support/links-dso-program.cc: New.
8823 * support/test-container.c: New.
8824 * support/shell-container.c: New.
8825 * support/echo-container.c: New.
8826 * support/true-container.c: New.
8827 * support/xmkdirp.c: New.
8828 * support/xsymlink.c: New.
8829 * support/support_paths.c: New.
8830 * support/support.h: Add support paths prototypes.
8831 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8832
8833 * nss/tst-nss-test3.c: Convert to test-in-container.
8834 * nss/tst-nss-test3.root/: New.
8835
8836 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8837
8838 regex: port Gnulib code to z/OS POSIX environment
8839 Problem reported by Arnold Robbins in:
8840 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8841 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8842 Undef.
8843
8844 2018-08-22 Joseph Myers <joseph@codesourcery.com>
8845
8846 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8847 (ROUNDING_TESTS_double): Remove.
8848 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8849 (ROUNDING_TESTS_double): Remove.
8850 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8851 (ROUNDING_TESTS_double): Remove.
8852 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8853 (ROUNDING_TESTS_float): Remove.
8854 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8855 (ROUNDING_TESTS_float): Remove.
8856 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8857 (ROUNDING_TESTS_float): Remove.
8858 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8859 !TEST_MATHVEC here.
8860 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8861 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8862
8863 * sysdeps/generic/math-tests-rounding.h: New file.
8864 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8865 (ROUNDING_TESTS_float): Do not define here.
8866 (ROUNDING_TESTS_double): Likewise.
8867 (ROUNDING_TESTS_long_double): Likewise.
8868 (ROUNDING_TESTS_float128): Likewise.
8869 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8870 (ROUNDING_TESTS_double): Undefine before defining.
8871 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8872 (ROUNDING_TESTS_double): Undefine before defining.
8873 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8874 (ROUNDING_TESTS_double): Undefine before defining.
8875 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8876 (ROUNDING_TESTS_float): Undefine before defining.
8877 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8878 (ROUNDING_TESTS_float): Undefine before defining.
8879 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8880 (ROUNDING_TESTS_float): Undefine before defining.
8881 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8882 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8883 not define here.
8884 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8885 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8886 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8887 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8888 (ROUNDING_TESTS_float): Do not define here.
8889 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8890 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8891 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8892 (ROUNDING_TESTS_float): Likewise.
8893 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8894 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8895 * sysdeps/mips/math-tests.h [__mips_soft_float]
8896 (ROUNDING_TESTS_float): Likewise.
8897 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8898 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8899 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8900 (ROUNDING_TESTS_double): Likewise.
8901 (ROUNDING_TESTS_long_double): Likewise.
8902
8903 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
8904
8905 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8906 (PF_XDP): New macro.
8907 (AF_XDP): New macro.
8908 (SOL_XDP): New macro.
8909
8910 2018-08-21 Joseph Myers <joseph@codesourcery.com>
8911
8912 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8913 (TCP_INQ): Likewise.
8914 (TCP_CM_INQ): Likewise.
8915 (TCP_REPAIR_ON): Likewise.
8916 (TCP_REPAIR_OFF): Likewise.
8917 (TCP_REPAIR_OFF_NO_WP): Likewise.
8918 (struct tcp_zerocopy_receive): New type.
8919
8920 2018-08-21 Florian Weimer <fweimer@redhat.com>
8921
8922 * support/support.h (support_descriptor_supports_holes): Declare.
8923 * support/Makefile (libsupport-routines): Add
8924 support_descriptor_supports_holes.
8925 * support/support_descriptor_supports_holes.c: New file.
8926 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8927 and stop testing if holes are not supported.
8928 * io/test-lfs.c (do_prepare): Likewise.
8929 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8930 Likewise.
8931 * timezone/tst-tzset.c (create_tz_file): Likewise.
8932 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8933 variable.
8934 (do_prepare): Set it.
8935 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8936
8937 2018-08-21 Florian Weimer <fweimer@redhat.com>
8938
8939 [BZ #17248]
8940 * Makeconfig (+cflags): Do not sort (and deduplicate).
8941
8942 2018-08-21 Florian Weimer <fweimer@redhat.com>
8943
8944 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8945 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8946
8947 2018-08-20 Florian Weimer <fweimer@redhat.com>
8948
8949 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8950 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8951
8952 2018-08-20 Joseph Myers <joseph@codesourcery.com>
8953
8954 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8955 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8956 and ssi_arch members.
8957
8958 * elf/elf.c (NT_VMCOREDD): New macro.
8959 (AT_MINSIGSTKSZ): Likewise.
8960
8961 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8962
8963 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8964 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8965 s_cosf-ppc64 and s_cosf-power8.
8966 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8967 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8968 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8969 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
8973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
8974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8976 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
8977 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8978
8979 2018-08-17 Florian Weimer <fweimer@redhat.com>
8980
8981 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8982
8983 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
8984
8985 * malloc/malloc.c (_int_malloc): Additional binning code checks.
8986
8987 2018-08-16 Florian Weimer <fweimer@redhat.com>
8988
8989 * configure.ac: Add --with-nonshared-cflags option.
8990 * config.make.in (extra-nonshared-cflags): Set variable.
8991 * Makeconfig (CFLAGS-.oS): Use it.
8992 * manual/install.texi (Configuring and compiling): Document
8993 --with-nonshared-cflags.
8994 * configure: Regenerate.
8995 * INSTALL: Likewise.
8996
8997 2018-08-16 Florian Weimer <fweimer@redhat.com>
8998
8999 * Makeconfig (ASFLAGS): Always append required assembler flags.
9000
9001 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
9002
9003 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9004 (malloc_consolidate): Likewise.
9005
9006 2018-08-16 Pochang Chen <johnchen902@gmail.com>
9007
9008 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9009
9010 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9011
9012 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9013 every strlen call.
9014
9015 * benchtests/bench-strlen.c: Print performance numbers in json.
9016
9017 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9018
9019 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9020 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9021 only for little endian.
9022 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9023 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9024 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9025 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9026 Add check for little endian.
9027 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9028 (__strcmp_power9): Add check for little endian.
9029 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9030 Add check for little endian.
9031 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9032 (__strncmp_power9): Add check for little endian.
9033 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9034 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9035 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9036 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9037 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9038
9039 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9040
9041 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9042 [!STRLEN](STRLEN): Set to __strlen.
9043 * sysdeps/aarch64/multiarch/strlen.c: New file.
9044 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9045 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9046 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9047 (__libc_ifunc_impl_list): Add strlen.
9048 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9049 strlen_generic and strlen_asimd.
9050
9051 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9052
9053 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9054 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9055 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9056
9057 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9058
9059 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9060
9061 2018-08-14 Florian Weimer <fweimer@redhat.com>
9062
9063 [BZ #23519]
9064 * include/stdio.h (__vfxprintf): Declare.
9065 * stdio-common/fxprintf.c (__vfxprintf): New function.
9066 (__fxprintf): Call it.
9067 * misc/err.c (convert_and_print): Remove function.
9068 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
9069 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
9070 * misc/Makefile (tests): Add tst-warn-wide.
9071 * misc/tst-warn-wide.c: New file.
9072
9073 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
9074 Szabolcs Nagy <szabolcs.nagy@arm.com>
9075
9076 * NEWS: Mention sinf, cosf, sincosf.
9077 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
9078 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
9079 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
9080 constants rather than including generic sincosf.h.
9081 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
9082 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
9083 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
9084 (reduced_cos): Remove.
9085 (sinf_poly): New function.
9086 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
9087
9088 2018-08-14 Florian Weimer <fweimer@redhat.com>
9089
9090 [BZ #23521]
9091 [BZ #23522]
9092 * nss/nss_files/files-alias.c (get_next_alias): During :include:
9093 processing, bail out if no room, and close the stream before
9094 returning ERANGE.
9095 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
9096 (tst-nss-files-alias-leak): Link with libdl.
9097 (tst-nss-files-alias-leak.out): Depend on nss_files.
9098
9099 * nss/tst-nss-files-alias-leak.c: New file.
9100
9101 2018-08-14 Florian Weimer <fweimer@redhat.com>
9102
9103 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
9104 server_user, stat_user.
9105
9106 2018-08-13 Joseph Myers <joseph@codesourcery.com>
9107
9108 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9109 version to 4.18.
9110 (io_pgetevents): New syscall.
9111 (rseq): Likewise.
9112
9113 * manual/install.texi (Configuring and compiling): Do not list
9114 tools used for testing pretty printers here.
9115 (Tools for Compilation): List Python, PExpect and GDB here.
9116 Update descriptions of uses of Perl and Python.
9117 * INSTALL: Regenerate.
9118
9119 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9120 version to 4.18.
9121
9122 2018-08-13 Florian Weimer <fweimer@redhat.com>
9123
9124 * misc/error.c (error): Add missing va_end call.
9125 (error_at_line): Likewise.
9126
9127 2018-08-13 Florian Weimer <fweimer@redhat.com>
9128
9129 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
9130
9131 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9132
9133 * benchtests/scripts/benchout.schema.json (properties): Add
9134 new properties.
9135
9136 * benchtests/bench-skeleton.c (main): Add duration and
9137 iterations attributes.
9138
9139 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
9140
9141 regex: Gnulib unibyte RRI uses bytes not chars
9142 Adjust the non-glibc code to agree with what Gawk needs for
9143 rational range interpretation (RRI) for regular expression ranges.
9144 In unibyte locales, Gawk wants ranges to use the underlying byte
9145 rather than the character code point. This change does not affect
9146 glibc proper.
9147 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9148 In unibyte locales, use the byte value rather than
9149 running it through btowc.
9150
9151 2018-08-10 Joseph Myers <joseph@codesourcery.com>
9152
9153 * sysdeps/generic/math-tests-snan.h: New file.
9154 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9155 (SNAN_TESTS_float): Do not define here.
9156 (SNAN_TESTS_double): Likewise.
9157 (SNAN_TESTS_long_double): Likewise.
9158 (SNAN_TESTS_float128): Likewise.
9159 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9160 * sysdeps/i386/fpu/math-tests.h: Remove file.
9161 * sysdeps/ia64/math-tests-snan.h: New file.
9162 * sysdeps/ia64/math-tests.h: Remove file.
9163 * sysdeps/x86/math-tests.h: Likewise.
9164 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9165
9166 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9167 Szabolcs Nagy <szabolcs.nagy@arm.com>
9168
9169 * math/Makefile: Add s_sincosf_data.c.
9170 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9171 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9172 (sincosf_poly): Likewise.
9173 (reduce_small): Likewise.
9174 (reduce_large): Likewise.
9175 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9176 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9177 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9178 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9179
9180 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9181 Szabolcs Nagy <szabolcs.nagy@arm.com>
9182
9183 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9184 (converttoint): Use lround.
9185 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9186 document the semantics when TOINT_INTRINSICS is set.
9187 (converttoint): Likewise.
9188 (TOINT_RINT): Remove.
9189 (TOINT_SHIFT): Remove.
9190 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9191 path.
9192
9193 2018-08-10 Florian Weimer <fweimer@redhat.com>
9194
9195 [BZ #23497]
9196 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9197 function.
9198 (__old_getdents64): Use getdents64. Convert entries without
9199 moving them.
9200 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9201 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9202 tst-readdir64-compat.
9203
9204 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9205
9206 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9207 Fix unwind.
9208
9209 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9210
9211 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9212 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9213 code to s390x-mcount.h and #include it.
9214 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9215 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9216 (__fentry__): Add.
9217
9218 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9219
9220 * stdlib/Versions: Remove __fentry__.
9221 * sysdeps/i386/Versions: Add __fentry__.
9222 * sysdeps/x86_64/Versions: Add __fentry__.
9223
9224 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9225
9226 * sysdeps/s390/Makefile: Register the new tests.
9227 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9228 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9229 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9230 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9231 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9232 * sysdeps/s390/tst-dl-runtime.c: New file.
9233
9234 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9235
9236 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9237 Do not clobber R0.
9238
9239 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9240
9241 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9242 Do not clobber R0.
9243
9244 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9245
9246 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9247 Do not clobber R0.
9248
9249 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9250
9251 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9252 Do not clobber R0.
9253
9254 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9255
9256 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9257 Use symbolic offsets for stack variables.
9258
9259 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9260
9261 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9262 Use symbolic offsets for stack variables.
9263
9264 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9265
9266 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9267 Use symbolic offsets for stack variables.
9268
9269 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9270
9271 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9272 Use symbolic offsets for stack variables.
9273
9274 2018-08-09 Joseph Myers <joseph@codesourcery.com>
9275
9276 * math/gen-libm-test.py: New file.
9277 * math/gen-libm-test.pl: Remove.
9278 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9279 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9280 gen-libm-test.pl.
9281 ($(libm-test-c-noauto-obj)): Likewise.
9282 ($(libm-test-c-auto-obj)): Likewise.
9283 ($(libm-test-c-narrow-obj)): Likewise.
9284 (regen-ulps): Likewise.
9285 * math/README.libm-test: Update references to gen-libm-test.pl.
9286 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
9287 referencing gen-libm-test.pl.
9288 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
9289 * math/libm-test-support.c: Likewise.
9290 * math/libm-test-support.h: Likewise.
9291 * sysdeps/generic/libm-test-ulps: Likewise.
9292
9293 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9294
9295 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
9296 Fix value.
9297
9298 2018-08-08 Joseph Myers <joseph@codesourcery.com>
9299
9300 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9301 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9302
9303 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9304
9305 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
9306 symbols.
9307 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
9308 __pthread_setspecific): Add hidden proto.
9309 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
9310 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
9311
9312 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9313
9314 * benchtests/bench-string.h (buf1_size, buf2_size): New
9315 variables.
9316 (init_sizes): New function.
9317 (test_init): Use it.
9318 (alloc_buf, exit_error): New functions.
9319 (alloc_bufs): Use ALLOC_BUF.
9320 (realloc_bufs): Remove.
9321 * benchtests/bench-memcmp.c (do_test): Adjust.
9322 * benchtests/bench-memset-large.c (do_test): Likewise.
9323 * benchtests/bench-memset-walk.c (do_test): Likewise.
9324 * benchtests/bench-memset.c (do_test): Likewise.
9325 * benchtests/bench-strncmp.c (do_test): Likewise.
9326
9327 2018-08-06 Andreas Schwab <schwab@suse.de>
9328
9329 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
9330 of CONST_THREAD_AREA.
9331
9332 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
9333
9334 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
9335 (STATE_SAVE_MASK): Likewise.
9336 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
9337 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
9338 (STATE_SAVE_MASK): Likewise.
9339 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
9340 instead of <cpu-features.h>.
9341
9342 2018-08-03 DJ Delorie <dj@redhat.com>
9343
9344 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
9345 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
9346
9347 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
9348
9349 2018-08-03 Joseph Myers <joseph@codesourcery.com>
9350
9351 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
9352 after TEST_* calls.
9353 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
9354 * math/libm-test-logb.inc (logb_test_data): Likewise.
9355
9356 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
9357
9358 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
9359 * string/strstr.c (AVAILABLE): Likewise.
9360
9361 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9362
9363 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
9364 <init-arch.h>.
9365 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
9366 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
9367 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
9368
9369 2018-08-03 Carlos O'Donell <carlos@redhat.com>
9370
9371 * po/be.po: Update translation.
9372
9373 * po/be.po: Update translation.
9374
9375 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9376
9377 * sysdeps/x86/cpu-features-offsets.sym
9378 (rtld_global_ro_offsetof): Removed.
9379 (CPU_FEATURES_SIZE): Likewise.
9380 (CPUID_OFFSET): Likewise.
9381 (CPUID_SIZE): Likewise.
9382 (CPUID_EAX_OFFSET): Likewise.
9383 (CPUID_EBX_OFFSET): Likewise.
9384 (CPUID_ECX_OFFSET): Likewise.
9385 (CPUID_EDX_OFFSET): Likewise.
9386 (FAMILY_OFFSET): Likewise.
9387 (MODEL_OFFSET): Likewise.
9388 (FEATURE_OFFSET): Likewise.
9389 (FEATURE_SIZ): Likewise.
9390 (COMMON_CPUID_INDEX_1): Likewise.
9391 (COMMON_CPUID_INDEX_7): Likewise.
9392 (FEATURE_INDEX_1): Likewise.
9393 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
9394
9395 2018-08-02 Carlos O'Donell <carlos@redhat.com>
9396
9397 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
9398 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
9399 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
9400 (install-locales): Depend on install-locale-archive.
9401 (install-locale-archive): Define.
9402 (install-locale-files): Define.
9403 (build-one-locale): Define macro.
9404 * manual/install.texi (Running make install): Document.
9405 * manual/INSTALL: Regenerate.
9406
9407 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9408
9409 * benchtests/scripts/compare_strings.py: Import traceback.
9410 (parse_file): Pretty-print error.
9411
9412 * NEWS: Mention the change.
9413 * elf/dl-tunables.list: Rename tune namespace to cpu.
9414 * sysdeps/powerpc/dl-tunables.list: Likewise.
9415 * sysdeps/x86/dl-tunables.list: Likewise.
9416 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
9417 cpu.name.
9418 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
9419 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
9420 * manual/README.tunables: Likewise.
9421 * manual/tunables.texi: Likewise.
9422 * sysdeps/powerpc/cpu-features.c: Likewise.
9423 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
9424 (init_cpu_features): Likewise.
9425 * sysdeps/x86/cpu-features.c: Likewise.
9426 * sysdeps/x86/cpu-features.h: Likewise.
9427 * sysdeps/x86/cpu-tunables.c: Likewise.
9428 * sysdeps/x86_64/Makefile: Likewise.
9429 * sysdeps/x86/dl-cet.c: Likewise.
9430
9431 2018-08-02 Joseph Myers <joseph@codesourcery.com>
9432
9433 [BZ #23479]
9434 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
9435 [__mips_hard_float].
9436 (FE_UNDERFLOW): Likewise.
9437 (FE_OVERFLOW): Likewise.
9438 (FE_DIVBYZERO): Likewise.
9439 (FE_INVALID): Likewise.
9440 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
9441 (FE_TOWARDZERO): Define only if [__mips_hard_float].
9442 (FE_UPWARD): Likewise.
9443 (FE_DOWNWARD): Likewise.
9444 (__FE_UNDEFINED): Define if [!__mips_hard_float]
9445 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
9446 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
9447 [__mips_hard_float].
9448 (FP_ROUNDMODE): Likewise.
9449 (FP_RND_NEAREST): Likewise.
9450 (FP_RND_ZERO): Likewise.
9451 (FP_RND_PINF): Likewise.
9452 (FP_RND_MINF): Likewise.
9453 (FP_EX_INVALID): Likewise.
9454 (FP_EX_OVERFLOW): Likewise.
9455 (FP_EX_UNDERFLOW): Likewise.
9456 (FP_EX_DIVZERO): Likewise.
9457 (FP_EX_INEXACT): Likewise.
9458 (FP_INIT_ROUNDMODE): Likewise.
9459 * sysdeps/mips/nofpu/fesetenv.c: New file.
9460 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
9461
9462 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9463
9464 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
9465 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
9466 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
9467 conditional on [FE_UPWARD].
9468
9469 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
9470
9471 regex: fix memory leak in Gnulib
9472 Problem and fix reported by Assaf Gordon in:
9473 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
9474 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
9475 range_ends members too, as they are defined in 'struct
9476 re_charset_t' even if not _LIBC. This affects only Gnulib.
9477
9478 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
9479
9480 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
9481 ...
9482 (get_common_indices): This.
9483 (init_cpu_features): Updated.
9484
9485 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9486
9487 * sysdeps/generic/math-tests-snan-payload.h: New file.
9488 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
9489 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
9490 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
9491 * sysdeps/generic/math-tests.h: Include
9492 <math-tests-snan-payload.h>.
9493 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9494 * sysdeps/hppa/math-tests.h: Remove file.
9495 * sysdeps/mips/math-tests.h [!__mips_nan2008]
9496 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9497 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
9498 Likewise.
9499
9500 * sysdeps/generic/math-tests-snan-cast.h: New file.
9501 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
9502 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
9503 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
9504 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
9505
9506 2018-08-01 Carlos O'Donel <carlos@redhat.com>
9507
9508 * version.h (RELEASE): Set to "development".
9509 (VERSION): Set to "2.28.9000".
9510 * NEWS (2.29): New section.
9511
9512 * version.h (RELEASE): Set to "stable".
9513 (VERSION): Set to "2.28".
9514 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
9515 * NEWS: Add the list of bugs fixed in 2.28.
9516
9517 * po/ca.po: Update to latest version.
9518 * po/cs.po: Likewise
9519 * po/da.po: Likewise
9520 * po/el.po: Likewise
9521 * po/eo.po: Likewise
9522 * po/es.po: Likewise
9523 * po/fi.po: Likewise
9524 * po/fr.po: Likewise
9525 * po/gl.po: Likewise
9526 * po/hu.po: Likewise
9527 * po/ia.po: Likewise
9528 * po/id.po: Likewise
9529 * po/it.po: Likewise
9530 * po/ja.po: Likewise
9531 * po/ko.po: Likewise
9532 * po/lt.po: Likewise
9533 * po/nb.po: Likewise
9534 * po/nl.po: Likewise
9535 * po/pt_BR.po: Likewise
9536 * po/ru.po: Likewise
9537 * po/rw.po: Likewise
9538 * po/sk.po: Likewise
9539 * po/sl.po: Likewise
9540 * po/tr.po: Likewise
9541 * po/zh_CN.po: Likewise
9542 * po/zh_TW.po: Likewise
9543
9544 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9545
9546 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
9547 initialization...
9548 (init): ... before initializing libpthread.
9549
9550 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
9551 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
9552 (__mach_setup_tls): ... new function.
9553 (mach_setup_tls): New alias.
9554 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
9555 __mach_setup_thread.
9556 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
9557 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
9558 * mach/Versions [libc] (mach_setup_tls): Add symbol.
9559 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
9560
9561 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9562
9563 * manual/install.texi: Update versions.
9564 * INSTALL: Regenerate.
9565
9566 * manual/contrib.texi (Contributors): Update contributions.
9567
9568 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9569
9570 * po/be.po: Update translations.
9571
9572 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9573
9574 * sysdeps/sh/libm-test-ulps: Update.
9575
9576 2018-07-30 Carlos O'Donell <carlos@redhat.com>
9577
9578 * po/bg.po: Update translations.
9579 * po/de.po: Likewise.
9580 * po/hr.po: Likewise.
9581 * po/pt_BR.po: Likewise.
9582 * po/sv.po: Likewise.
9583 * po/vi.po: Likewise.
9584
9585 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9586
9587 [BZ #23467]
9588 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9589 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9590 (CFLAGS-tst-cet-property-1.o): New.
9591 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9592 ($(objpfx)tst-cet-property-2): Likewise.
9593 ($(objpfx)tst-cet-property-2.out): Likewise.
9594 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9595 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9596 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9597 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9598 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9599
9600 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9601
9602 [BZ #23458]
9603 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9604
9605 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9606
9607 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9608 __sbrk): Do not set attribute_hidden.
9609 * sysdeps/mach/hurd/not-errno.h: New file.
9610 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9611 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9612
9613 2018-07-27 Carlos O'Donell <carlos@redhat.com>
9614
9615 * po/uk.po: Update translations.
9616 * po/cs.po: Likewise.
9617 * po/pl.po: Likewise.
9618
9619 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9620
9621 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9622 parse beyond the note end.
9623
9624 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9625
9626 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9627 kernel does not support OFD locks.
9628 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9629
9630 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9631
9632 * sysdeps/mach/hurd/Versions (libc): Make __access and
9633 __access_noerrno external so they can override the ld symbols.
9634 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9635 __writev, __open64, __access_noerrno extern so they can be overrided.
9636 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9637 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9638
9639 2018-07-26 Carlos O'Donell <carlos@redhat.com>
9640
9641 * po/libc.pot: Regenerate.
9642
9643 2018-07-26 Joseph Myers <joseph@codesourcery.com>
9644
9645 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9646
9647 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9648
9649 [BZ #23459]
9650 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9651 function.
9652 (init_cpu_features): Call get_extended_indices for both Intel
9653 and AMD CPUs.
9654 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9655 Remove "for AMD" comment.
9656
9657 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9658
9659 [BZ # 23456]
9660 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9661 COMMON_CPUID_INDEX_80000001.
9662
9663 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
9664
9665 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9666 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9667
9668 2018-07-26 Florian Weimer <fweimer@redhat.com>
9669
9670 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9671 aliases for symbols not in the implementation namespace.
9672
9673 2018-07-25 Carlos O'Donell <carlos@redhat.com>
9674
9675 [BZ #23393]
9676 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9677 lowercase in LATIN script.
9678 * localedata/Makefile (test-input): Add en_US.UTF-8.
9679 * localedata/en_US.UTF-8.in: New file.
9680 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9681 and restore old tests.
9682 * posix/tst-regexloc.c (do_test): Add back range expression test.
9683
9684 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9685
9686 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9687
9688 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9689
9690 * nptl/threads.h: Move to ...
9691 * sysdeps/nptl/threads.h: ... here.
9692 * sysdeps/hurd/stdc-predef.h: New file.
9693
9694 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9695
9696 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9697 tst-cet-setcontext-1 if CET is enabled.
9698 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9699 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9700
9701 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9702
9703 * include/threads.h: Move to ...
9704 * sysdeps/nptl/threads.h: ... here.
9705 * sysdeps/htl/threads.h: New file.
9706 * conform/Makefile (linknamespace-libs-ISO11): Use
9707 static-thread-library instead of linking libpthread.
9708 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9709
9710 2018-07-25 Florian Weimer <fweimer@redhat.com>
9711
9712 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9713 nanoseconds into seconds.
9714 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9715 (do_test): Likewise.
9716 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9717 (do_test): Likewise. Avoid nanosecond overflow and spurious
9718 timeouts due to system load.
9719 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9720 (child_wait): Increment it.
9721 (do_test): Wait as long as necessary until all expected threads
9722 have arrived.
9723
9724 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9725 H.J. Lu <hongjiu.lu@intel.com>
9726
9727 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9728 __ssp.
9729 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9730 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9731 (__push___start_context): New.
9732 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9733 <asm/prctl.h>.
9734 (__getcontext): Record the current shadow stack base. Save the
9735 caller's shadow stack pointer and base.
9736 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9737 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9738 (__push___start_context): New prototype.
9739 (__makecontext): Call __push___start_context to allocate a new
9740 shadow stack, push __start_context onto the new stack as well
9741 as the new shadow stack.
9742 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9743 <asm/prctl.h>.
9744 (__setcontext): Restore the target shadow stack.
9745 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9746 <asm/prctl.h>.
9747 (__swapcontext): Record the current shadow stack base. Save
9748 the caller's shadow stack pointer and base. Restore the target
9749 shadow stack.
9750 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9751 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9752 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9753
9754 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9755
9756 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9757 tst-setcontext8 and tst-setcontext9.
9758 * stdlib/tst-setcontext6.c: New file.
9759 * stdlib/tst-setcontext7.c: Likewise.
9760 * stdlib/tst-setcontext8.c: Likewise.
9761 * stdlib/tst-setcontext9.c: Likewise.
9762
9763 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9764
9765 * stdlib/Makefile ((tests): Add tst-setcontext5.
9766 * stdlib/tst-setcontext5.c: New file.
9767
9768 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9769
9770 * stdlib/Makefile (tests): Add tst-setcontext4.
9771 * stdlib/tst-setcontext4.c: New file.
9772
9773 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9774
9775 * stdlib/Makefile (tests): Add tst-swapcontext1.
9776 * stdlib/tst-swapcontext1.c: New test.
9777
9778 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9779
9780 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9781 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9782 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9783 and tst-cet-legacy-4c.
9784 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9785 and tst-cet-legacy-mod-4.
9786 (CFLAGS-tst-cet-legacy-2.c): New.
9787 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9788 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9789 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9790 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9791 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9792 ($(objpfx)tst-cet-legacy-1): Likewise.
9793 ($(objpfx)tst-cet-legacy-2): Likewise.
9794 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9795 ($(objpfx)tst-cet-legacy-2a): Likewise.
9796 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9797 ($(objpfx)tst-cet-legacy-4): Likewise.
9798 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9799 ($(objpfx)tst-cet-legacy-4a): Likewise.
9800 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9801 (tst-cet-legacy-4a-ENV): Likewise.
9802 ($(objpfx)tst-cet-legacy-4b): Likewise.
9803 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9804 (tst-cet-legacy-4b-ENV): Likewise.
9805 ($(objpfx)tst-cet-legacy-4c): Likewise.
9806 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9807 (tst-cet-legacy-4c-ENV): Likewise.
9808 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9809 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9810 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9811 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9812 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9813 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9814 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9815 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9816 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9817 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9818 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9819
9820 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9821
9822 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9823 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9824 with ssp_base.
9825 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9826 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9827 with ssp_base.
9828
9829 2018-07-25 Andreas Schwab <schwab@suse.de>
9830
9831 [BZ #23442]
9832 * locale/weightwc.h (findidx): Handle the case where usrc is a
9833 prefix of cp but one character too short.
9834
9835 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9836
9837 * NEWS: Add ISO C threads addition.
9838
9839 2018-07-24 Florian Weimer <fweimer@redhat.com>
9840
9841 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9842 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9843 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9844 4.13.
9845
9846 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9847
9848 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9849 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9850 <sys/prctl.h> and <asm/prctl.h>.
9851 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9852 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9853 and <asm/prctl.h>.
9854 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9855 ARCH_CET_LEGACY_BITMAP.
9856 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9857 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9858 * sysdeps/x86/libc-start.c: Include <startup.h>.
9859
9860 2018-07-24 Florian Weimer <fweimer@redhat.com>
9861
9862 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9863 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9864
9865 2018-07-24 Rical Jasan <rj@2c3t.io>
9866 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9867 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9868
9869 [BZ #14092]
9870 * manual/debug.texi: Update adjacent chapter name.
9871 * manual/probes.texi: Likewise.
9872 * manual/threads.texi (ISO C Threads): New section.
9873 (POSIX Threads): Convert to a section.
9874
9875 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9876 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9877
9878 [BZ# 14092]
9879 * nptl/Makefile (tests): Add new test files.
9880 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9881 * nptl/tst-cnd-basic.c: Likewise.
9882 * nptl/tst-cnd-broadcast.c: Likewise.
9883 * nptl/tst-cnd-timedwait.c: Likewise.
9884 * nptl/tst-mtx-basic.c: Likewise.
9885 * nptl/tst-mtx-recursive.c: Likewise.
9886 * nptl/tst-mtx-timedlock.c: Likewise.
9887 * nptl/tst-mtx-trylock.c: Likewise.
9888 * nptl/tst-thrd-basic.c: Likewise.
9889 * nptl/tst-thrd-detach.c: Likewise.
9890 * nptl/tst-thrd-sleep.c: Likewise.
9891 * nptl/tst-tss-basic.c: Likewise.
9892
9893 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9894
9895 [BZ #14092]
9896 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9897 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9898 symbols.
9899 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9900 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9901 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9902 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9903 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9904 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9905 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9906 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9907 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9908 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9909 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9910 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9912 Likewise.
9913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9914 Likewise.
9915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9916 Likewise.
9917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9918 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9919 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9920 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9921 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9922 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9923 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9924 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9925 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9926 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9927 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9928 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9929 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9930 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9931 Likewise.
9932 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9933 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9934 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9935 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9936 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9937 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9938 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9939 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9940 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9941 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9942 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9943 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9944 ikewise.
9945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9947 Likewise.
9948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9949 Likewise.
9950 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9951 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9952 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9953 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9954 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9955 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9956 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9957 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9958
9959 [BZ #14092]
9960 * conform/data/threads.h-data (thread_local): New macro.
9961 (TSS_DTOR_ITERATIONS): Likewise.
9962 (tss_t): New type.
9963 (tss_dtor_t): Likewise.
9964 (tss_create): New function.
9965 (tss_get): Likewise.
9966 (tss_set): Likewise.
9967 (tss_delete): Likewise.
9968 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9969 tss_get, and tss_set objects.
9970 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9971 * nptl/tss_create.c: New file.
9972 * nptl/tss_delete.c: Likewise.
9973 * nptl/tss_get.c: Likewise.
9974 * nptl/tss_set.c: Likewise.
9975 * sysdeps/nptl/threads.h (thread_local): New define.
9976 (TSS_DTOR_ITERATIONS): Likewise.
9977 (tss_t): New typedef.
9978 (tss_dtor_t): Likewise.
9979 (tss_create): New prototype.
9980 (tss_get): Likewise.
9981 (tss_set): Likewise.
9982 (tss_delete): Likewise.
9983
9984 [BZ #14092]
9985 * conform/data/threads.h-data (cnd_t): New type.
9986 (cnd_init): New function.
9987 (cnd_signal): Likewise.
9988 (cnd_broadcast): Likewise.
9989 (cnd_wait): Likewise.
9990 (cnd_timedwait): Likewise.
9991 (cnd_destroy): Likewise.
9992 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
9993 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
9994 object.
9995 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9996 * nptl/cnd_broadcast.c: New file.
9997 * nptl/cnd_destroy.c: Likewise.
9998 * nptl/cnd_init.c: Likewise.
9999 * nptl/cnd_signal.c: Likewise.
10000 * nptl/cnd_timedwait.c: Likewise.
10001 * nptl/cnd_wait.c: Likewise.
10002 * sysdeps/nptl/threads.h (cnd_t): New type.
10003 (cnd_init): New prototype.
10004 (cnd_signa): Likewise.
10005 (cnd_broadcast): Likewise.
10006 (cnd_wait): Likewise.
10007 (cnd_timedwait): Likewise.
10008 (cnd_destroy): Likewise.
10009
10010 [BZ #14092]
10011 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10012 (once_flag): New type.
10013 (call_once): New function.
10014 * nptl/Makefile (libpthread-routines): Add call_once object.
10015 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10016 * nptl/call_once.c: New file.
10017 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10018 (once_flag): New type.
10019 (call_once): New prototype.
10020
10021 [BZ #14092]
10022 * conform/data/threads.h-data (mtx_plain): New constant.
10023 (mtx_recursive): Likewise.
10024 (mtx_timed): Likewise.
10025 (mtx_t): New type.
10026 (mtx_init): New function.
10027 (mtx_lock): Likewise.
10028 (mtx_timedlock): Likewise.
10029 (mtx_trylock): Likewise.
10030 (mtx_unlock): Likewise.
10031 (mtx_destroy): Likewise.
10032 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10033 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10034 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10035 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10036 * nptl/mtx_destroy.c: New file.
10037 * nptl/mtx_init.c: Likewise.
10038 * nptl/mtx_lock.c: Likewise.
10039 * nptl/mtx_timedlock.c: Likewise.
10040 * nptl/mtx_trylock.c: Likewise.
10041 * nptl/mtx_unlock.c: Likewise.
10042 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10043 (mtx_recursive): Likewise.
10044 (mtx_timed): Likewise.
10045 (mtx_t): New type.
10046 (mtx_init): New prototype.
10047 (mtx_lock): Likewise.
10048 (mtx_timedlock): Likewise.
10049 (mtx_trylock): Likewise.
10050 (mtx_unlock): Likewise.
10051 (mtx_destroy): Likewise.
10052
10053 [BZ #14092]
10054 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10055 (linknamespace-libs-ISO11): Add libpthread.a.
10056 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10057 functions.
10058 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10059 * nptl/Makefile (headers): Add threads.h.
10060 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10061 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10062 thrd_yield.
10063 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
10064 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
10065 thrd_join, thrd_sleep, and thrd_yield symbols.
10066 * nptl/descr.h (struct pthread): Add c11 field.
10067 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
10068 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
10069 routine with expected function prototype.
10070 (__pthread_create_2_1): Add C11 threads check based on attribute
10071 value.
10072 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
10073 * nptl/thrd_create.c: New file.
10074 * nptl/thrd_current.c: Likewise.
10075 * nptl/thrd_detach.c: Likewise.
10076 * nptl/thrd_equal.c: Likewise.
10077 * nptl/thrd_exit.c: Likewise.
10078 * nptl/thrd_join.c: Likewise.
10079 * nptl/thrd_priv.h: Likewise.
10080 * nptl/thrd_sleep.c: Likewise.
10081 * nptl/thrd_yield.c: Likewise.
10082 * include/threads.h: Likewise.
10083
10084 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10085
10086 * bits/indirect-return.h: New file.
10087 * misc/sys/cdefs.h (__glibc_has_attribute): New.
10088 * sysdeps/x86/bits/indirect-return.h: Likewise.
10089 * stdlib/Makefile (headers): Add bits/indirect-return.h.
10090 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
10091 (swapcontext): Add __INDIRECT_RETURN.
10092 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
10093 (prepare_test_buffer): Use it.
10094
10095 2018-07-24 Andreas Schwab <schwab@suse.de>
10096
10097 [BZ #23448]
10098 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
10099 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
10100
10101 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10102
10103 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
10104 Redefine if shadow stack is enabled.
10105 (SYSCALL_ERROR_LABEL): Likewise.
10106 (__vfork): Pop shadow stack and jump back to to caller directly
10107 when shadow stack is in use.
10108 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
10109 Redefine if shadow stack is enabled.
10110 (SYSCALL_ERROR_LABEL): Likewise.
10111 (__vfork): Pop shadow stack and jump back to to caller directly
10112 when shadow stack is in use.
10113
10114 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10115
10116 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
10117 enabled.
10118 (foo): Likewise.
10119 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
10120 (foo): Likewise.
10121
10122 2018-07-20 Joseph Myers <joseph@codesourcery.com>
10123
10124 * scripts/build-many-glibcs.py (Context.checkout): Default
10125 binutils version to 2.31 branch.
10126
10127 2018-07-20 Zong Li <zong@andestech.com>
10128
10129 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
10130 URL of gcc's tarball.
10131
10132 2018-07-20 Florian Weimer <fweimer@redhat.com>
10133
10134 [BZ #23396]
10135 * posix/regcomp.c (build_equiv_class): When comparing weights, do
10136 not compare an extra byte after the end of the weights.
10137
10138 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10139
10140 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
10141 to 1.
10142 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
10143 hidden prototypes.
10144 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
10145 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
10146 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10147 list of libraries whose stack executability is expected.
10148 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10149 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10150 variable.
10151 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10152 libc.so libpthread.so.
10153
10154 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10155
10156 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10157 SOCK_NONBLOCK.
10158 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10159 and SOCK_NONBLOCK.
10160 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10161 implement __pipe2.
10162 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
10163
10164 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10165
10166 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10167 library to improve command line parsing.
10168 (__main__): make schema file as optional parameter (--schema),
10169 defaulting to benchtests/scripts/benchout.schema.json.
10170 (main): move out of the parsing stuff to __main_  and leave it
10171 only as caller of main comparison functions.
10172
10173 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10174
10175 * NEWS: Add a note for Intel CET status.
10176 * manual/install.texi: Likewise.
10177 * INSTALL: Regenerated.
10178
10179 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10180
10181 [BZ #23140]
10182 * localedata/locales/oc_FR (mon): Rename to...
10183 (alt_mon): This, then update October (typo fix).
10184 (mon): New content (genitive case, month names preceded by
10185 "de" or "d’").
10186
10187 [BZ #23422]
10188 * localedata/locales/oc_FR (abday): Update all items.
10189 (day): Update Wednesday and Saturday (typo fixes).
10190 (abmon): Update all items, except May.
10191 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10192 (LC_IDENTIFICATION): Bump the revision number and date.
10193 Keep the "category" entries in alphabetic order.
10194 (LC_ADDRESS): Remove no longer needed comment.
10195 (LC_COLLATE): Use “copy "ca_ES"”.
10196 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10197 "name_mrs".
10198
10199 2018-07-18 Joseph Myers <joseph@codesourcery.com>
10200
10201 * grp/tst_fgetgrent.c: Include <unistd.h>.
10202 (main): Use mkstemp instead of tmpnam.
10203 * io/test-utime.c (main): Likewise.
10204 * posix/annexc.c (macrofile): Change to modifiable array.
10205 (main): Remove macrofile here.
10206 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10207 macrofile here.
10208 (check_header): Do not remove macrofile here.
10209 * posix/bug-getopt1.c: Include <stdlib.h>.
10210 (do_test): Use mkstemp instead of tmpnam.
10211 * posix/bug-getopt2.c: Include <stdlib.h>.
10212 (do_test): Use mkstemp instead of tmpnam.
10213 * posix/bug-getopt3.c: Include <stdlib.h>.
10214 (do_test): Use mkstemp instead of tmpnam.
10215 * posix/bug-getopt4.c: Include <stdlib.h>.
10216 (do_test): Use mkstemp instead of tmpnam.
10217 * posix/bug-getopt5.c: Include <stdlib.h>.
10218 (do_test): Use mkstemp instead of tmpnam.
10219 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10220 (main): Use mkstemp instead of tmpnam.
10221 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10222 (main): Use mkstemp instead of tmpnam.
10223 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10224 (main): use mkstemp instead of tmpnam.
10225 * stdlib/isomac.c (macrofile): Change to modifiable array.
10226 (main): Remove macrofile here.
10227 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10228 macrofile here.
10229 (check_header): Do not remove macrofile here.
10230
10231 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10232
10233 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10234 glibc.tune.x86_shstk.
10235
10236 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10237
10238 * NEWS: Mention --enable-cet.
10239 * manual/install.texi: Document --enable-cet.
10240 * INSTALL: Regenerated.
10241
10242 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10243
10244 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10245 Add _CET_NOTRACK before indirect jump to jump table.
10246
10247 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10248
10249 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10250 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10251 to jump table.
10252
10253 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10254
10255 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10256 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10257 to jump table.
10258
10259 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10260
10261 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
10262 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10263 to jump table.
10264
10265 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10266
10267 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
10268 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10269 to jump table.
10270
10271 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10272
10273 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
10274 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10275 to jump table.
10276 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10277
10278 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10279
10280 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10281 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10282 to jump table.
10283
10284 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10285
10286 * sysdeps/i386/i686/multiarch/memset-sse2.S
10287 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10288 to jump table.
10289
10290 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10291
10292 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
10293 indirect jump to jump table.
10294
10295 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10296
10297 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10298 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10299 to jump table.
10300 (MEMCPY): Likewise.
10301
10302 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10303
10304 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
10305 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10306 to jump table.
10307 (MEMCPY): Likewise.
10308
10309 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10310
10311 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10312 _CET_NOTRACK before indirect jump to jump table.
10313
10314 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10315
10316 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
10317 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10318 to jump table.
10319
10320 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10321
10322 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
10323 indirect jump to jump table.
10324
10325 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
10326
10327 [BZ #22241]
10328 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
10329 (LOCALES): Likewise.
10330 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
10331 * localedata/locales/sah_RU: New file.
10332 * localedata/sah_RU.UTF-8.in: New file.
10333
10334 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10335
10336 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
10337 "sysdep.h".
10338 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10339 _CET_ENDBR to indirect jump targets and adjust jump destination
10340 for _CET_ENDBR.
10341 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
10342 "sysdep.h".
10343 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10344 _CET_ENDBR to indirect jump targets and adjust jump destination
10345 for _CET_ENDBR.
10346 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
10347 "sysdep.h".
10348 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
10349 _CET_ENDBR to indirect jump targets and adjust jump destination
10350 for _CET_ENDBR.
10351
10352 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10353
10354 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10355 _CET_ENDBR.
10356
10357 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10358
10359 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
10360 _CET_ENDBR.
10361 (_dl_tlsdesc_undefweak): Likewise.
10362 (_dl_tlsdesc_dynamic): Likewise.
10363 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
10364 (_dl_tlsdesc_resolve_rel): Likewise.
10365 (_dl_tlsdesc_resolve_rela): Likewise.
10366 (_dl_tlsdesc_resolve_hold): Likewise.
10367 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
10368 (_dl_tlsdesc_undefweak): Likewise.
10369 (_dl_tlsdesc_dynamic): Likewise.
10370 (_dl_tlsdesc_resolve_rela): Likewise.
10371 (_dl_tlsdesc_resolve_hold): Likewise.
10372
10373 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10374
10375 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
10376 (_fini): Likewise.
10377 * sysdeps/x86_64/crti.S (_init): Likewise.
10378 (_fini): Likewise.
10379
10380 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
10381
10382 [BZ #23140]
10383 * localedata/locales/os_RU (mon): Rename to...
10384 (alt_mon): This.
10385 (mon): Import from CLDR (genitive case).
10386
10387 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10388
10389 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
10390 cet-tunables.h> when CET is enabled.
10391
10392 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
10393
10394 [BZ #21598]
10395 * configure.ac: Add --enable-cet.
10396 * configure: Regenerated.
10397 * elf/Makefille (all-built-dso): Add a comment.
10398 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
10399 Include <dl-prop.h>.
10400 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
10401 segment.
10402 * elf/dl-open.c: Include <dl-prop.h>.
10403 (dl_open_worker): Call _dl_open_check.
10404 * elf/rtld.c: Include <dl-prop.h>.
10405 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
10406 _rtld_main_check.
10407 * sysdeps/generic/dl-prop.h: New file.
10408 * sysdeps/i386/dl-cet.c: Likewise.
10409 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
10410 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
10411 * sysdeps/x86/cet-tunables.h: Likewise.
10412 * sysdeps/x86/check-cet.awk: Likewise.
10413 * sysdeps/x86/configure: Likewise.
10414 * sysdeps/x86/configure.ac: Likewise.
10415 * sysdeps/x86/dl-cet.c: Likewise.
10416 * sysdeps/x86/dl-procruntime.c: Likewise.
10417 * sysdeps/x86/dl-prop.h: Likewise.
10418 * sysdeps/x86/libc-start.h: Likewise.
10419 * sysdeps/x86/link_map.h: Likewise.
10420 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
10421 _CET_ENDBR.
10422 (_dl_runtime_profile): Likewise.
10423 (_dl_runtime_resolve_shstk): New.
10424 (_dl_runtime_profile_shstk): Likewise.
10425 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
10426 if CET is enabled.
10427 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
10428 (CFLAGS-.os): Likewise.
10429 (CFLAGS-.op): Likewise.
10430 (CFLAGS-.oS): Likewise.
10431 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
10432 is enabled.
10433 (tests-special): Add $(objpfx)check-cet.out.
10434 (cet-built-dso): New.
10435 (+$(cet-built-dso:=.note)): Likewise.
10436 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
10437 ($(objpfx)check-cet.out): New.
10438 (generated): Add check-cet.out.
10439 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
10440 <cet-tunables.h>.
10441 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
10442 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10443 (init_cpu_features): Call get_cet_status to check CET status
10444 and update dl_x86_feature_1 with CET status. Call
10445 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
10446 (set_x86_shstk). Disable and lock CET in libc.a.
10447 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
10448 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
10449 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10450 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
10451 (_CET_ENDBR): Define if not defined.
10452 (ENTRY): Add _CET_ENDBR.
10453 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
10454 x86_shstk.
10455 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
10456 _CET_ENDBR.
10457 (_dl_runtime_profile): Likewise.
10458
10459 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10460
10461 [BZ #21895]
10462 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
10463 restore r2 on longjmp.
10464 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
10465 test list.
10466 Added rules to build test tst-setjmp-bug21895-static.
10467 Added module setjmp-bug21895 and rules to build a shared object from it.
10468 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
10469 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
10470
10471 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
10472
10473 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
10474 * benchtests/bench-strstr.c: Likewise.
10475 * string/memmem.c (FASTSEARCH): Define.
10476 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
10477 Add support for FASTSEARCH.
10478 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
10479 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
10480 (FASTSEARCH): Define.
10481 * string/test-strcasestr.c: Rename __strnlen to strnlen.
10482 * string/test-strstr.c: Likewise.
10483
10484 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
10485
10486 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
10487 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
10488
10489 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
10490 H.J. Lu <hongjiu.lu@intel.com>
10491
10492 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
10493 (__longjmp): Restore shadow stack pointer if shadow stack is
10494 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10495 isn't defined for __longjmp_cancel.
10496 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
10497 (_setjmp): Save shadow stack pointer if shadow stack is enabled
10498 and SHADOW_STACK_POINTER_OFFSET is defined.
10499 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
10500 (setjmp): Save shadow stack pointer if shadow stack is enabled
10501 and SHADOW_STACK_POINTER_OFFSET is defined.
10502 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
10503 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10504 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10505 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
10506 <jmp_buf-ssp.h>.
10507 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10508 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10509 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
10510 Remove jmp_buf-ssp.sym.
10511 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10512 <jmp_buf-ssp.h>.
10513 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10514 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10515 * sysdeps/x86/Makefile (gen-as-const-headers): Add
10516 jmp_buf-ssp.sym.
10517 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
10518 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
10519 (__longjmp): Restore shadow stack pointer if shadow stack is
10520 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10521 isn't defined for __longjmp_cancel.
10522 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
10523 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10524 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10525
10526 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
10527
10528 [BZ #22563]
10529 * nptl/pthread_create.c: Include <tls-setup.h>.
10530 (__pthread_create_2_1): Call tls_setup_tcbhead.
10531 * sysdeps/generic/tls-setup.h: New file.
10532 * sysdeps/x86/nptl/tls-setup.h: Likewise.
10533 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
10534 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
10535 Likewise.
10536 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
10537 to feature_1.
10538 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10539 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
10540 (X86_FEATURE_1_SHSTK): Likewise.
10541 (CET_ENABLED): Likewise.
10542 (IBT_ENABLED): Likewise.
10543 (SHSTK_ENABLED): Likewise.
10544
10545 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
10546
10547 [BZ #23208]
10548 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
10549 (LOCALES): Likewise.
10550 * localedata/dsb_DE.UTF-8.in: New file.
10551 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
10552
10553 2018-07-12 Florian Weimer <fweimer@redhat.com>
10554
10555 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
10556 __mprotect, not mprotect.
10557
10558 2018-07-11 Florian Weimer <fweimer@redhat.com>
10559
10560 * io/Makefile (headers): Add bits/statx.h.
10561
10562 2018-07-10 Mike FABIAN <mfabian@redhat.com>
10563
10564 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10565 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10566 and headers.
10567 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10568 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10569 for utf8_gen.py
10570
10571 2018-07-10 Florian Weimer <fweimer@redhat.com>
10572
10573 * io/Makefile (routines): Add statx.
10574 (tests-internal): Add tst-statx.
10575 * io/Versions (GLIBC_2.28): Export statx.
10576 * io/bits/statx.h: New file.
10577 * io/sys/stat.h [__USE_GNU]: Include it.
10578 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10579 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10580 Define.
10581 * io/statx.c: New file.
10582 * io/statx_generic.: Likewise.
10583 * io/tst-statx.: Likewise.
10584 * include/bits/statx.h: Likewise.
10585 * sysdeps/unix/sysv/linux/kernel-features.h
10586 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10587 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10588 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10589 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10590 Undefine.
10591 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10592 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10593 * sysdeps/unix/sysv/linux/statx.c: New file.
10594 * manual/filesys.texi: Note that statx is undocumented.
10595 * sysdeps/**/libc*.abilist: Update.
10596
10597 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10598
10599 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10600 a kernel issue which lead to test failure in some cases.
10601
10602 2018-07-10 Florian Weimer <fweimer@redhat.com>
10603
10604 [BZ #23036]
10605 * posix/regexec.c (check_node_accept_bytes): When comparing
10606 weights, do not compare an extra byte after the end of the
10607 weights.
10608
10609 2018-07-10 Florian Weimer <fweimer@redhat.com>
10610
10611 * libio/readline.c: Fix copyright year.
10612 * libio/tst-readline.c Likewise.
10613 * nss/tst-nss-files-hosts-getent.c: Likewise.
10614
10615 2018-07-06 Florian Weimer <fweimer@redhat.com>
10616
10617 [BZ #18991]
10618 * nss/nss_files/files-XXX.c (internal_getent): Use
10619 __libc_readline_unlocked. Seek back to the start of the line if
10620 parsing failes with ERANGE.
10621 (get_contents_ret, get_contents): Remove.
10622 * nss/tst-nss-files-hosts-getent.c: New file.
10623 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10624 (tst-nss-files-hosts-getent): Link with -ldl.
10625
10626 2018-07-06 Florian Weimer <fweimer@redhat.com>
10627
10628 * include/stdio.h (__libc_readline_unlocked): Declare.
10629 (__ftello64, __fseeko64): Declare aliases.
10630 * libio/readline.c: New file.
10631 * libio/tst-readline.c: Likewise.
10632 (routines): Add readline.
10633 (tests-internal): Add tst-readlime.
10634 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10635 __libc_readline_unlocked.
10636 * libio/fseeko.c (__fseeko): Rename from fseeko.
10637 (fseeko): Add alias.
10638 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10639 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10640 (fseeko64): Add alias.
10641 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10642 * libio/ftello64.c (__ftello64): Rename from ftello64.
10643 (ftello64): Add alias.
10644
10645 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10646
10647 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10648 HWCAP_ATOMICS.
10649
10650 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10651
10652 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10653 Use dl_hwcap without masking.
10654 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10655 Remove HWCAP_CPUID.
10656
10657 2018-07-06 Florian Weimer <fweimer@redhat.com>
10658
10659 * conform/conformtest.pl (checknamespace): Escape literal braces
10660 in regular expressions.
10661
10662 2018-07-06 Amit Pawar <amit.pawar@amd.com>
10663
10664 * sysdeps/x86/cpu-features.c (get_common_indeces):
10665 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10666 * sysdeps/x86/cpu-features.c (init_cpu_features):
10667 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10668
10669 2018-07-05 Florian Weimer <fweimer@redhat.com>
10670
10671 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10672 protector.
10673 (CFLAGS-elf-init.oS): Likewise.
10674
10675 2018-07-05 Florian Weimer <fweimer@redhat.com>
10676 Carlos O'Donell <carlos@redhat.com>
10677
10678 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10679 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10680 with stack protector enabled because there is no risk of infinite
10681 recursion.
10682
10683 2018-07-05 Maciej W. Rozycki <macro@mips.com>
10684
10685 [BZ #19818]
10686 [BZ #23307]
10687 * libc-abis (ABSOLUTE): New ABI.
10688 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10689 * NEWS: Mention the new ABI.
10690
10691 2018-07-05 Florian Weimer <fweimer@redhat.com>
10692
10693 [BZ # 17662]
10694 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10695 (RENAME_WHITEOUT): Define.
10696 [__USE_GNU] (renameat2): Declare.
10697 * stdio-common/Makefile (routines): Add renameat2.
10698 (tests): Add tst-renameat2.
10699 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10700 * stdio-common/renameat2.c: New file.
10701 * stdio-common/tst-renameat2.c: Likewise.
10702 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10703 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10704 undocumented.
10705 * sysdeps/unix/sysv/linux/kernel-features.h
10706 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10707 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10708 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10709 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10710 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10711 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10712 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10713 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10714 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10715 * include/stdio.h (__renameat): Add alias for renameat.
10716 * stdio-common/renameat.c (__renameat): Rename from renameat.
10717 Add hidden definition and alias.
10718 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10719 * sysdeps/mach/hurd/renameat.c: Likewise.
10720 * sysdeps/**/libc*.abilist: Add renameat2.
10721
10722 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10723
10724 * posix/bug-regex33.c: Fix build after regex sync.
10725
10726 2018-07-04 Carlos O'Donell <carlos@redhat.com>
10727
10728 [BZ #23164]
10729 * localedata/tst-langinfo-setlocale.c: New file.
10730 * localedata/tst-langinfo-setlocale-static.c: New file.
10731 * localedata/tst-langinfo-newlocale.c: New file.
10732 * localedata/tst-langinfo-newlocale-static.c: New file.
10733 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10734 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10735 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10736 (tests-static): Remove tst-langinfo-static. Add
10737 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10738 (tests-special): Remove $(objpfx)tst-langinfo.out,
10739 $(objpfx)tst-langinfo-static.out. Add
10740 $(objpfx)tst-langinfo-setlocale.out,
10741 $(objpfx)tst-langinfo-newlocale.out,
10742 $(objpfx)tst-langinfo-setlocale-static.out,
10743 $(objpfx)tst-langinfo-newlocale-static.out.
10744 ($(objpfx)tst-langinfo.out): Remove.
10745 ($(objpfx)tst-langinfo-static.out): Remove.
10746 ($(objpfx)tst-langinfo-newlocale.out): New target.
10747 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10748 (test-xfail-tst-langinfo-newlocale-static): Add.
10749 ($(objpfx)tst-langinfo-setlocale.out): New target.
10750 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10751 * localedata/tst-langinfo.c: Call test_locale.
10752 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10753 data.
10754
10755 2018-07-04 Florian Weimer <fweimer@redhat.com>
10756
10757 testrun.sh: Implement --tool=strace, --tool=valgrind
10758 * Makefile (testrun-script): Define variable.
10759 (testrun.sh): Use variable.
10760 * manual/install.texi (Tools for Compilation): make 4.0 or later
10761 is required.
10762 * configure.ac: Check for make 4.0 or later.
10763 * INSTALL: Regenerate.
10764 * configure: Likewise.
10765
10766 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10767
10768 [BZ #23233]
10769 [BZ #21163]
10770 [BZ #18986]
10771 [BZ #13762]
10772 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10773 * posix/PCRE.tests: Remove invalid test.
10774 * posix/bug-regex28.c: Fix expected values for used syntax.
10775 * posix/bug-regex37.c: New file.
10776 * posix/bug-regex38.c: Likewise.
10777 * posix/regcomp.c: Sync with gnulib.
10778 * posix/regex.c: Likewise.
10779 * posix/regex.h: Likewise.
10780 * posix/regex_internal.c: Likewise.
10781 * posix/regex_internal.h: Likewise.
10782 * posix/regexec.c: Likewise.
10783
10784 2018-06-26 Mike FABIAN <mfabian@redhat.com>
10785
10786 [BZ #23308]
10787 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10788 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10789 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10790 * localedata/unicode-gen/PropList.txt: likewise.
10791 * localedata/unicode-gen/UnicodeData.txt: likewise.
10792 * localedata/charmaps/UTF-8: Regenerate.
10793 * localedata/locales/i18n_ctype: likewise.
10794 * localedata/locales/tr_TR: likewise.
10795 * localedata/locales/translit_circle: likewise.
10796 * localedata/locales/translit_cjk_compat: likewise.
10797 * localedata/locales/translit_combining: likewise.
10798 * localedata/locales/translit_compat: likewise.
10799 * localedata/locales/translit_font: likewise.
10800 * localedata/locales/translit_fraction: likewise.
10801
10802 2018-07-03 Florian Weimer <fweimer@redhat.com>
10803
10804 [BZ #23363]
10805 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10806 * stdio-common/tst-printf.sh: Adjust expected output.
10807 * LICENSES: Update.
10808
10809 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10810
10811 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10812 symbol.
10813
10814 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10815
10816 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10817 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10818 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10819 * stdio-common/tst-printfsz-islongdouble.c: New file.
10820 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10821 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10822 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10823 [subdir == stdio-common] (tests-internal): Add
10824 test-printf-size-ieee128, and test-printf-size-ibm128.
10825 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10826 (CFLAGS-test-printf-size-ibm128.c): New variables.
10827 [subdir == stdio-common] (tests-special): Add
10828 $(objpfx)test-printf-size-ieee128.out and
10829 $(objpfx)test-printf-size-ibm128.out.
10830 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10831 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10832 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10833 __printf_sizeieee128.
10834 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10835 New file.
10836 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10837 Likewise.
10838 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10839 Likewise.
10840
10841 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10842
10843 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10844 (exp2f_inline): Likewise.
10845 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10846 (__math_uflowf): Likewise.
10847 (__math_may_uflowf): Likewise.
10848 (__math_divzerof): Likewise.
10849 (__math_invalidf): Likewise.
10850 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10851 (__math_oflowf): Likewise.
10852 (__math_uflowf): Likewise.
10853 (__math_may_uflowf): Likewise.
10854 (__math_divzerof): Likewise.
10855 (__math_invalidf): Likewise.
10856
10857 2018-06-29 DJ Delorie <dj@redhat.com>
10858 Carlos O'Donell <carlos@redhat.com>
10859
10860 [BZ #23329]
10861 * include/libc-symbols.h: Comment the freeres framework.
10862 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10863 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10864 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10865 * dlfcn/dlerror.c: Include libc-symbols.h
10866 (__dlerror_main_freeres): New function.
10867 * dlfcn/dlfreeres.c: New file.
10868 * dlfcn/sdlfreeres.c: New file.
10869 * include/dlfcn.h: Declare __dlerror_main_freeres.
10870 * malloc/set-freeres.c: Declare __libdl_freeres, and
10871 __libpthread_freeres.
10872 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10873 the releavant libraries are loaded.
10874 * malloc/thread-freeres.c: Add comments.
10875 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10876 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10877 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10878 (__free_stacks): Rename to...
10879 (free_stacks): ...this. Mark static.
10880 (queue_stack): Call free_stacks.
10881 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10882 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10883 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10884 ptr_freeres element from struct.
10885 (pthread_functions): Remove .ptr_freeres from struct initializer.
10886 [SHARED] (nptl_freeres): Remove.
10887 * nptl/nptlfreeres.c: New file.
10888 * nptl/pthreadP.h
10889 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10890 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10891 attribute_hidden.
10892 (__free_stacks): Rename to...
10893 (__nptl_stacks_freeres): ...this.
10894 (__shm_directory_freeres): Declare.
10895 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10896 (__nptl_unwind_freeres): ...this.
10897 * resolv/res-close.c: Add comment.
10898 * resolv/resolv_conf.c: Include libc-symbols.h.
10899 * string/strerror_l.c: Include libc-symbols.h.
10900 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10901 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10902 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10903 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10904
10905 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10906
10907 * stdlib/tst-strfmon_l.c: Add tests for long double.
10908
10909 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
10910
10911 [BZ #23208]
10912 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10913 * localedata/locales/dsb_DE: New file.
10914
10915 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10916
10917 [BZ #23140]
10918 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10919 genitive case).
10920 (alt_mon): New entry, import from CLDR (nominative case).
10921
10922 2018-06-29 Sylvain Lesage <severo@rednegra.net>
10923
10924 [BZ #22996]
10925 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10926
10927 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10928
10929 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10930 Use vector registers.
10931
10932 * sysdeps/aarch64/multiarch/memmove_falkor.S
10933 (__memcpy_falkor): Use vector registers.
10934
10935 2018-06-29 Martin Sebor <msebor@redhat.com>
10936
10937 * manual/stdio.texi (Customizing Printf): Mention interaction
10938 with GCC built-ins.
10939
10940 2018-06-29 Maciej W. Rozycki <macro@mips.com>
10941
10942 [BZ #23307]
10943 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10944 `st_value' is 0 if `st_shndx' is SHN_ABS.
10945 * elf/tst-absolute-zero.c: New file.
10946 * elf/tst-absolute-zero-lib.c: New file.
10947 * elf/tst-absolute-zero-lib.lds: New file.
10948 * elf/Makefile (tests): Add `tst-absolute-zero'.
10949 (modules-names): Add `tst-absolute-zero-lib'.
10950 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10951 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10952 ($(objpfx)tst-absolute-zero: New dependency.
10953
10954 2018-06-29 Zack Weinberg <zackw@panix.com>
10955
10956 * configure.ac: New command-line option --disable-crypt.
10957 Force --disable-nss-crypt when --disable-crypt is given, with a
10958 warning if it was explicitly enabled.
10959 * configure: Regenerate.
10960 * config.make.in: New boolean substitution variable $(build-crypt).
10961 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10962 when $(build-crypt).
10963 * manual/install.texi: Document --disable-crypt.
10964 * INSTALL: Regenerate.
10965
10966 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10967 which is never set.
10968 * conform/Makefile: Only include libcrypt.a in
10969 linknamespace-libs-xsi and linknamespace-libs-XPG4
10970 when $(build-crypt).
10971 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10972 USE_CRYPT to 1 when $(build-crypt).
10973 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
10974 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
10975 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
10976
10977 2018-06-29 Zack Weinberg <zackw@panix.com>
10978
10979 * crypt/crypt.h, posix/unistd.h: Update comments and
10980 prototypes for crypt and crypt_r.
10981
10982 * manual/crypt.texi (Cryptographic Functions): New initial
10983 exposition.
10984 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
10985 (Unpredictable Bytes): Improve initial exposition. Clarify error
10986 behavior of getentropy and getrandom.
10987 * manual/examples/genpass.c: Generate a salt using getentropy
10988 instead of the current time. Use hash $5$ (SHA-2-256).
10989 * manual/examples/testpass.c: Demonstrate validation against
10990 hashes generated with three different one-way functions.
10991
10992 * manual/intro.texi: crypt.texi does not need an overview
10993 anymore.
10994
10995 * manual/nss.texi, manual/memory.texi, manual/socket.texi
10996 * manual/terminal.texi: Consistently refer to "passphrases"
10997 * instead of "passwords", and to the "user database" instead
10998 * of the "password database".
10999 * manual/users.texi: Similarly. Add notes about how actual
11000 passphrase hashes are now stored in the shadow database.
11001 Remove 20-year-old junk todo note.
11002
11003 2018-06-29 Zack Weinberg <zackw@panix.com>
11004
11005 * manual/crypt.texi: Use a normal top-level @node declaration.
11006 Move most of the introductory text to the 'crypt' section.
11007 Move the example programs below the @deftypefun for 'crypt_r'.
11008 Move the 'getpass' section...
11009 * manual/terminal.texi: ...here.
11010
11011 2018-06-29 Zack Weinberg <zackw@panix.com>
11012 Florian Weimer <fweimer@redhat.com>
11013
11014 * posix/unistd.h: Do not declare encrypt.
11015 (_XOPEN_CRYPT): Remove macro definition.
11016 (crypt): Declare only for _USE_MISC.
11017 * stdlib/stdlib.h: Do not declare setkey.
11018 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11019 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11020
11021 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11022 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11023 into compat symbols. Don't define initial_perm if it's not
11024 going to be used.
11025 * crypt/cert.c: Link explicitly with the expected versions for
11026 setkey and encrypt. If they are not available at all, mark
11027 the test as unsupported.
11028
11029 * sunrpc/des_crypt.c: Unconditionally block linkage with
11030 cbc_crypt and ecb_crypt for new binaries.
11031 * sunrpc/des_soft.c: Unconditionally block linkage with
11032 des_setparity for new binaries.
11033
11034 * manual/crypt.texi: Remove the entire "DES Encryption"
11035 section. Also remove the paragraph talking about FIPS 140-2
11036 from the introduction.
11037 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11038 of libgcrypt for "real" encryption, not DES.
11039 * manual/conf.texi (Constants for Sysconf): Mention that
11040 _XOPEN_CRYPT is no longer impelemented.
11041
11042 * conform/data/unistd.h-data: Remove crypt function declaration.
11043
11044 2018-06-29 Florian Weimer <fweimer@redhat.com>
11045
11046 [BZ #23351]
11047 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11048 (disallow_malloc_check): Remove variable.
11049 (__malloc_check_init): Adjust.
11050 (malloc_set_state): Update comment.
11051 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11052 declarations.
11053
11054 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11055
11056 [BZ #23140]
11057 * localedata/locales/ast_ES (mon): Rename to...
11058 (alt_mon): This.
11059 (mon): Import from CLDR (genitive case).
11060
11061 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11062 Jakub Sitnicki <jkbs@redhat.com>
11063
11064 [BZ #21812]
11065 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
11066 on NLM_F_DUMP_INTR.
11067
11068 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11069
11070 * manual/llio.texi: Remove spurious space.
11071
11072 2018-06-28 Florian Weimer <fweimer@redhat.com>
11073
11074 [BZ #23349]
11075 * time/bits/types/struct_timespec.h: Change header inclusion guard to
11076 _STRUCT_TIMESPEC.
11077
11078 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11079
11080 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
11081 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
11082 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
11083 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
11084 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
11085 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
11086 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
11087
11088 2018-06-27 Maciej W. Rozycki <macro@mips.com>
11089
11090 [BZ #23266]
11091 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
11092 Copy and null-terminate entries that are not terminated, in
11093 addition to empty ones.
11094
11095 2018-06-27 Florian Weimer <fweimer@redhat.com>
11096
11097 [BZ #18023]
11098 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
11099 (extend_alloca_account): Remove.
11100 * manual/stdio.texi (Variable Arguments Output): Update comment.
11101
11102 2018-06-27 Joseph Myers <joseph@codesourcery.com>
11103
11104 * nptl/sockperf.c: Remove file.
11105
11106 2018-06-27 Florian Weimer <fweimer@redhat.com>
11107
11108 [BZ #18023]
11109 * elf/dl-deps.c (_dl_map_object_deps): Use struct
11110 scratch_buffer instead of extend_alloca.
11111
11112 2018-06-27 Florian Weimer <fweimer@redhat.com>
11113
11114 [BZ #18023]
11115 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
11116 scratch_buffer instead of extend_alloca. Update comments.
11117
11118 2018-06-27 Florian Weimer <fweimer@redhat.com>
11119
11120 [BZ #18023]
11121 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
11122 instead of extend_alloca.
11123
11124 2018-06-26 Joseph Myers <joseph@codesourcery.com>
11125
11126 [BZ #13888]
11127 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
11128 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
11129 /tmp.
11130 * scripts/test-installation.pl: Put temporary files in build
11131 directory, not /tmp.
11132 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
11133 (CFLAGS-bug4.c): Likewise.
11134 (CFLAGS-bug5.c): Likewise.
11135 (CFLAGS-test-fseek.c): Likewise.
11136 (CFLAGS-test-popen.c): Likewise.
11137 (CFLAGS-test_rdwr.c): Likewise.
11138 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
11139 /tmp.
11140 * stdio-common/bug4.c (main): Likewise.
11141 * stdio-common/bug5.c (main): Likewise.
11142 * stdio-common/test-fseek.c (TESTFILE): Likewise.
11143 * stdio-common/test-popen.c (do_test): Likewise.
11144 * stdio-common/test_rdwr.c (main): Likewise.
11145
11146 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
11147
11148 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11149 (sem_open): Set sem.newsem.pad to zero for valgrind.
11150
11151 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11152
11153 [BZ #20251]
11154 * NEWS: Mention fcntl64 addition.
11155 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11156 * login/utmp_file.c: Likewise.
11157 * sysdeps/posix/fdopendir.c: Likewise.
11158 * sysdeps/posix/opendir.c: Likewise.
11159 * sysdeps/unix/pt-fcntl.c: Likewise.
11160 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11161 __fcntl64_nocancel_adjusted): New prototype.
11162 (__fcntl_nocancel_adjusted): Remove prototype.
11163 * io/Makefile (routines): Add fcntl64.
11164 (CFLAGS-fcntl64.c): New rule.
11165 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11166 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11167 * io/fcntl.h (fcntl64): Add prototype and redirect if
11168 __USE_FILE_OFFSET64 is defined.
11169 * io/fcntl64.c: New file.
11170 * manual/llio.text: Add a note for which commands fcntl acts a
11171 cancellation point.
11172 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11173 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11174 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11175 New symbols.
11176 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11177 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11178 non-LFS case.
11179 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11180 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11181 to __fcntl64_nocancel.
11182 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11183 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11184 to __fcntl64_nocancel.
11185 * sysdeps/generic/not-cancel.h: Likewise.
11186 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11187 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11188 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11189 (fcntl64): New symbol.
11190 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11191 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11192 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11195 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11196 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11197 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11198 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11199 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11200 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11201 fcntl64): Likewise.
11202 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11203 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11204 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11205 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11206 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11207 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11208 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11209 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11210 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11212 Likewise.
11213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11214 Likewise.
11215 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11216 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11217 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11218
11219 2018-06-26 Florian Weimer <fweimer@redhat.com>
11220
11221 Run thread shutdown functions in an explicit order.
11222 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11223 definition.
11224 (__libc_thread_freeres): Call thread shutdown functions
11225 explicitly.
11226 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11227 * include/string.h (__strerror_thread_freeres): Declare.
11228 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11229 arena_thread_freeres. No longer static. Remove thread shutdown
11230 hook registration.
11231 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11232 Declare.
11233 * resolv/res-close.c (__res_thread_freeres): Renamed from
11234 res_thread_freeres. No longer static. Remove thread shutdown
11235 hook registration.
11236 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11237 * resolv/resolv_conf.c (freeres): Remove incorrect section
11238 attribute and use libc_freeres_fn.
11239 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11240 strerror_thread_freeres. No longer static. Remove thread
11241 shutdown hook registration.
11242 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11243 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11244 shutdown hook registration.
11245 * Makerules (shlib.lds): Do not provide section boundary symbols
11246 for __libc_thread_subfreeres.
11247 * manual/memory.texi (Basic Allocation): Update comment.
11248
11249 2018-06-26 Florian Weimer <fweimer@redhat.com>
11250
11251 Remove always-defined _RPC_THREAD_SAFE_ macro.
11252 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11253 Do not define _RPC_THREAD_SAFE_.
11254 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11255 conditional.
11256 * sunrpc/clnt_perr.c: Likewise.
11257 * sunrpc/clnt_raw.c: Likewise.
11258 * sunrpc/clnt_simp.c: Likewise.
11259 * sunrpc/key_call.c: Likewise.
11260 * sunrpc/rpc_common.c: Likewise.
11261 * sunrpc/rpc_main.c: Likewise.
11262 * sunrpc/rpc_thread.c: Likewise.
11263 * sunrpc/svc.c: Likewise.
11264 * sunrpc/svc_raw.c: Likewise.
11265 * sunrpc/svc_simple.c: Likewise.
11266 * sumrpc/svcauth_des.c: Likewise.
11267
11268 2018-06-26 Florian Weimer <fweimer@redhat.com>
11269
11270 * libio/Makefile (tests-internal): Add tst-vtables,
11271 tst-vtables-interposed.
11272 * libio/tst-vtables.c: New file.
11273 * libio/tst-vtables-common.c: Likewise.
11274 * libio/tst-vtables-interposed.c: Likewise.
11275
11276 2018-06-26 Florian Weimer <fweimer@redhat.com>
11277
11278 * support/support_test_main.c (support_test_main): Only call
11279 setvbuf if not disables.
11280 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11281 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11282
11283 2018-06-26 Florian Weimer <fweimer@redhat.com>
11284
11285 [BZ #23313]
11286 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
11287
11288 2018-06-25 Florian Weimer <fweimer@redhat.com>
11289
11290 [BZ #18023]
11291 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11292 Use struct scratch_buffer instead of extend_alloca.
11293
11294 2018-06-25 Florian Weimer <fweimer@redhat.com>
11295
11296 [BZ #18023]
11297 * nss/getent.c (initgroups_keys): Use dynarray instead of
11298 extend_alloca.
11299
11300 2018-06-25 Florian Weimer <fweimer@redhat.com>
11301
11302 [BZ #18023]
11303 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11304 Use struct scratch_buffer instead of extend_alloca.
11305
11306 2018-06-25 Florian Weimer <fweimer@redhat.com>
11307
11308 [BZ #18023]
11309 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
11310 back to malloc directly, without stack allocations.
11311
11312 2018-06-25 Florian Weimer <fweimer@redhat.com>
11313
11314 [BZ #18023]
11315 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
11316 of extend_alloca.
11317
11318 2018-06-25 Florian Weimer <fweimer@redhat.com>
11319
11320 [BZ #18023]
11321 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
11322 of extend_alloca.
11323 * nscd/hstcache.c (addhstbyX): Likewise.
11324 * nscd/pwdcache.c (addpwbyX): Likewise.
11325 * nscd/servicescache.c (addservbyX): Likewise.
11326
11327 2018-06-25 Florian Weimer <fweimer@redhat.com>
11328
11329 [BZ #18023]
11330 * nscd/connections.c (read_cmdline): New function.
11331 (restart): Use it. Update comment.
11332
11333 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11334
11335 [BZ #23140]
11336 * localedata/locales/csb_PL (mon): Rename to...
11337 (alt_mon): This.
11338 (abmon): Rename to...
11339 (ab_alt_mon): This.
11340 (mon): Add with proper genitive forms, copy from Wikipedia.
11341 (abmon): Likewise.
11342
11343 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11344
11345 [BZ #19485]
11346 * localedata/locales/csb_PL (mon): Fix typos:
11347 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
11348 (yesstr): Add, value is "jo".
11349 (nostr): Add, value is "nié".
11350
11351 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11352
11353 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
11354 all log1p and significand functions on m680x0.
11355 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
11356 of s_significand.c..
11357 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11358 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
11359 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
11360 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
11361 s_log1p.c and include it..
11362
11363 2018-06-21 Vincent Chen <vincentc@andestech.com>
11364
11365 * elf/elf.h (R_NDS32_NONE): New define.
11366 (R_NDS32_32_RELA): Likewise.
11367 (R_NDS32_COPY): Likewise.
11368 (R_NDS32_GLOB_DAT): Likewise.
11369 (R_NDS32_JUMP_SLOT): Likewise.
11370 (R_NDS32_RELATIVE): Likewise.
11371 (R_NDS32_TLS_TPOFF): Likewise.
11372 (R_NDS32_TLS_DESC): Likewise.
11373
11374 2018-06-21 Mark Wielaard <mark@klomp.org>
11375
11376 * elf/elf.h (R_BPF_MAP_FD): Removed.
11377 (R_BPF_64_64, R_BPF_64_32): New.
11378
11379 2018-06-21 Florian Weimer <fweimer@redhat.com>
11380
11381 [BZ #23253]
11382 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
11383 Renamed from libc_feholdsetround_ctx.
11384 (default_libc_feresetround_ctx): Renamed from
11385 libc_feresetround_ctx.
11386 (default_libc_feholdsetround_noex_ctx): Renamed from
11387 libc_feholdsetround_noex_ctx.
11388 (default_libc_feresetround_noex_ctx): Renamed from
11389 libc_feresetround_noex_ctx.
11390 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
11391 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
11392 forwardning to the old implementations under the new names.
11393 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
11394 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
11395 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
11396 (libc_feresetround_ctx): Forward to default implements for i386
11397 and MATH_SET_BOTH_ROUNDING_MODES.
11398 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
11399 Add -DMATH_SET_BOTH_ROUNDING_MODES.
11400
11401 2018-06-20 Joseph Myers <joseph@codesourcery.com>
11402
11403 * string/tst-cmp.c: Include <libc-diag.h>.
11404 (strncmp_max): Disable -Wstringop-overflow= around call to
11405 strncmp.
11406 (strncasecmp_max): Disable -Wstringop-overflow= around call to
11407 strncasecmp.
11408
11409 * string/bug-strpbrk1.c: Include <libc-diag.h>.
11410 (main): Disable -Wunused-value around call to strpbrk.
11411 * string/bug-strspn1.c: Include <libc-diag.h>.
11412 (main): Disable -Wunused-value around call to strspn.
11413
11414 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11415 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11416
11417 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
11418 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
11419
11420 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11421
11422 * math/Makefile (libm-calls): Move s_significandF to...
11423 (gen-libm-calls): ... here.
11424 * math/s_significand_template.c: New file.
11425 * math/s_significand.c: Removed.
11426 * math/s_significandf.c: Removed.
11427 * math/s_significandl.c: Removed.
11428 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
11429 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
11430
11431 * math/e_exp2_template.c (declare_mgen_finite_alias,
11432 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
11433 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
11434 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
11435
11436 2018-06-20 Florian Weimer <fweimer@redhat.com>
11437
11438 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
11439
11440 2018-06-19 Joseph Myers <joseph@codesourcery.com>
11441
11442 [BZ #23280]
11443 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
11444 floating-point number to strtod functions rather than possibly
11445 negating result of those functions.
11446 * stdio-common/tst-scanf-round.c: New file.
11447 * stdio-common/Makefile (tests): Add tst-scanf-round.
11448 ($(objpfx)tst-scanf-round): Depend on $(libm).
11449
11450 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11451
11452 * sysdeps/mach/hurd/localplt.data: Move to...
11453 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
11454 R_386_GLOB_DAT like on Linux i386.
11455
11456 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11457
11458 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
11459 (SHM_STAT_ANY): New macro.
11460 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
11461 (SHM_STAT_ANY): Likewise.
11462 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
11463 (SHM_STAT_ANY): Likewise.
11464 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
11465 (SHM_STAT_ANY): Likewise.
11466 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
11467 (SHM_STAT_ANY): Likewise.
11468 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
11469 (SHM_STAT_ANY): Likewise.
11470 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
11471 (SHM_STAT_ANY): Likewise.
11472 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
11473 (SHM_STAT_ANY): Likewise.
11474 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
11475 (SHM_STAT_ANY): Likewise.
11476 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
11477 (SHM_STAT_ANY): Likewise.
11478 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
11479 (SHM_STAT_ANY): Likewise.
11480 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
11481 (SHM_STAT_ANY): Likewise.
11482
11483 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
11484 (SEM_STAT_ANY): New macro.
11485 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
11486 (SEM_STAT_ANY): Likewise.
11487 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
11488 (SEM_STAT_ANY): Likewise.
11489 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
11490 (SEM_STAT_ANY): Likewise.
11491 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
11492 (SEM_STAT_ANY): Likewise.
11493 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
11494 (SEM_STAT_ANY): Likewise.
11495 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
11496 (SEM_STAT_ANY): Likewise.
11497 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
11498 (SEM_STAT_ANY): Likewise.
11499 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
11500 (SEM_STAT_ANY): Likewise.
11501 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
11502 (SEM_STAT_ANY): Likewise.
11503
11504 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
11505 (MSG_STAT_ANY): New macro.
11506 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
11507 (MSG_STAT_ANY): Likewise.
11508 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
11509 (MSG_STAT_ANY): Likewise.
11510 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
11511 (MSG_STAT_ANY): Likewise.
11512 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
11513 (MSG_STAT_ANY): Likewise.
11514 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
11515 (MSG_STAT_ANY): Likewise.
11516 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
11517 (MSG_STAT_ANY): Likewise.
11518 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
11519 (MSG_STAT_ANY): Likewise.
11520 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
11521 (MSG_STAT_ANY): Likewise.
11522 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
11523 (MSG_STAT_ANY): Likewise.
11524
11525 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11526 (MAP_TYPE): Change value to 0x2b.
11527
11528 2018-06-18 Florian Weimer <fweimer@redhat.com>
11529
11530 [BZ #15722]
11531 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
11532 socket with SOCK_CLOEXEC.
11533
11534 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11535
11536 [BZ #23303]
11537 * sysdeps/powerpc/powerpc64/le/Makefile
11538 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
11539 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
11540 (gnulib-tests): Also add $(f128-loader-link) for
11541 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
11542
11543 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11544
11545 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
11546 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
11547 of sendfile.
11548 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
11549 (sendfile64): New strong alias.
11550 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
11551 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
11552 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
11553 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
11554 attribute.
11555 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
11556 ___pthread_get_cleanup_stack.
11557 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
11558 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
11559 * mach/shortcut.awk: Make syscall stubs include
11560 <mach-shortcuts-hidden.h> and add hidden definition.
11561 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
11562 (__mach_msg): Add hidden prototype.
11563 * mach/msg.c: Include <mach.h>.
11564 (__mach_msg): Add hidden definition.
11565 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11566 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11567 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11568 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
11569 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11570 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
11571 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11572 prototype and definition.
11573 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11574 hidden target for _hurd_self_sigstate.
11575
11576 2018-06-15 Joseph Myers <joseph@codesourcery.com>
11577
11578 [BZ #23007]
11579 * stdlib/tst-strtod-nan-sign-main.c: New file.
11580 * stdlib/tst-strtod-nan-sign.c: Likewise.
11581 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11582 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11583 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11584 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11585 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11586
11587 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11588
11589 [BZ #23007]
11590 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11591 appropriate sign.
11592
11593 2018-06-14 Florian Weimer <fweimer@redhat.com>
11594
11595 [BZ #23290]
11596 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11597 that the result stays within the ISO-8859-1 range.
11598 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11599 characters are defined in IBM273.
11600
11601 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11602
11603 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11604 __mach_task_self): Remove attribute_hidden.
11605
11606 2018-06-14 Joseph Myers <joseph@codesourcery.com>
11607
11608 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11609 ignore -Wrestrict for one test.
11610
11611 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11612 Szabolcs Nagy <szabolcs.nagy@arm.com>
11613
11614 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11615
11616 2018-06-14 Florian Weimer <fweimer@redhat.com>
11617
11618 * scripts/update-abilist.sh: Accept empty list of files to patch.
11619
11620 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11621
11622 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11623 test-xfail-check-abi-libmachuser): Add.
11624 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11625 __libc_read and __libc_write to __read and __write.
11626 * sysdeps/hurd/include/hurd/port.h: New file.
11627 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11628 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11629 __thread_switch, __evc_wait): Move declarations to...
11630 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11631 attribute_hidden.
11632 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11633 use PLT to call _hurd_self_sigstate.
11634
11635 2018-06-13 Joseph Myers <joseph@codesourcery.com>
11636
11637 [BZ #23279]
11638 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11639 MAX_EXP as overflowing.
11640 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11641 overflow flag.
11642 (round_str): Output also whether result overflows in each rounding
11643 mode.
11644 * stdlib/tst-strtod-round-data: Add more tests.
11645 * stdlib/tst-strtod-round-data.h: Regenerated.
11646 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11647 (TEST): Handle extra arguments for overflow flags.
11648 (struct test_overflow): New type.
11649 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11650 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11651 (test_in_one_mode): Take argument with overflow information.
11652 (do_test): Update calls to test_in_one_mode.
11653
11654 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11655
11656 * elf/dl-load (_dl_dst_substitute): Correct comment.
11657 (_dl_dst_count): Likewise.
11658
11659 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11660 lll_futex_timed_wait.
11661
11662 2018-06-12 Joseph Myers <joseph@codesourcery.com>
11663
11664 [BZ #23277]
11665 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11666 attribute.
11667 * math/test-nan-const.c: New file.
11668 * math/Makefile (tests): Add test-nan-const.
11669 (CFLAGS-test-nan-const.c): New variable.
11670
11671 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11672
11673 * benchtests/scripts/compare_strings.py (process_results): Add
11674 funcs argument. Compare only functions which are selected.
11675 (main): Check if base function is among selected functions.
11676 Pass selected functions to process_results.
11677 (__main__): Add -f/--functions argument.
11678
11679 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11680 Hongbo Zhang <hongbo.zhang@linaro.org>
11681
11682 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11683 __memcpy_falkor for phecda core.
11684 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11685 __memmove_falkor for phecda core.
11686 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11687 __memset_falkor for phecda core.
11688 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11689 for phecda core.
11690 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11691 macro to identify phecda core.
11692
11693 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11694 Andreas Schwab <schwab@suse.de>
11695 Dmitry V. Levin <ldv@altlinux.org>
11696 Florian Weimer <fweimer@redhat.com>
11697
11698 [BZ #23102]
11699 [BZ #21942]
11700 [BZ #18018]
11701 [BZ #23259]
11702 CVE-2011-0536
11703 * elf/dl-dst.h: Remove DL_DST_COUNT.
11704 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11705 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11706 (is_dst): Comment. Support ELF gABI.
11707 (_dl_dst_count): Comment. Simplify and count DSTs.
11708 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11709 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11710 locals.
11711
11712 2018-06-12 Zack Weinberg <zackw@panix.com>
11713
11714 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11715 * sysdeps/unix/sysv/linux/dl-sysdep.c
11716 Include not-cancel.h. Use __close_nocancel instead of __close,
11717 __open64_nocancel instead of __open, __read_nocancel instead of
11718 __libc_read, and __write_nocancel instead of __libc_write.
11719
11720 * csu/check_fds.c (check_one_fd)
11721 * sysdeps/posix/fdopendir.c (__fdopendir)
11722 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11723 instead of __fcntl and/or __libc_fcntl.
11724
11725 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11726 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11727 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11728 Use __open64_nocancel instead of __open_nocancel.
11729
11730 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11731 hidden_proto declarations to the end and issue them if either
11732 IS_IN(libc) or IS_IN(rtld).
11733 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11734 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11735 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11736 read_nocancel, waitpid_nocancel, write_nocancel.
11737
11738 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11739 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11740 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11741
11742 * nptl/pt-fcntl.c: New file.
11743 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11744 (libpthread-routines): Add pt-fcntl.
11745 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11746 (__libc_fcntl): Remove attribute_hidden.
11747 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11748 __fcntl_nocancel_adjusted, not fcntl_common.
11749 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11750 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11751 to fcntl_nocancel.c.
11752 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11755 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11756
11757 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11758 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11759 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11760 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11761 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11762 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11763 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11764 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11765 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11766 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11767 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11768 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11769 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11770 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11771 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11772 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11773 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11774 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11775 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11776 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11777
11778 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11779 libpthread-routines.
11780 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11781 defines nothing.
11782
11783 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11784 __libc_read, and __write instead of __libc_write. Define
11785 __open64 in addition to __open.
11786
11787 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11788
11789 [BZ #23250]
11790 [BZ #10686]
11791 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11792 to _private_tm[3] and add __glibc_reserved2.
11793 Add _Static_assert of offset of __private_ss == 0x30.
11794 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11795 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11796
11797 2018-06-12 Florian Weimer <fweimer@redhat.com>
11798
11799 x86: Make strncmp usable from rtld.
11800 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11801 __strncmp_ia32 if in libc (and not in rtld).
11802 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11803 strncmp if not in libc (and not to __strncmp_sse2).
11804
11805 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11806
11807 [BZ #23140]
11808 * localedata/locales/gd_GB (mon): Rename to...
11809 (alt_mon): This.
11810 (mon): Import from CLDR (genitive case).
11811 * localedata/locales/hsb_DE (mon): Rename to...
11812 (alt_mon): This.
11813 (mon): Import from CLDR (genitive case).
11814 * localedata/locales/wa_BE (mon): Rename to...
11815 (alt_mon): This.
11816 (mon): Add, fill with the proper genitive forms, but CLDR data
11817 is incomplete; completed according to the comments in this file.
11818 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11819
11820 * localedata/locales/wa_BE (country_name): Reword
11821 "Beljike" -> "Beldjike".
11822
11823 2018-06-11 Joseph Myers <joseph@codesourcery.com>
11824
11825 [BZ #23272]
11826 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11827 cases of non-finite arguments.
11828 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11829
11830 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
11831
11832 [BZ #23174]
11833 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11834
11835 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11836
11837 [BZ #23264]
11838 * include/unistd.h (__execvpex): New prototype.
11839 * posix/Makefile (tests): Add tst-spawn4.
11840 (tests-internal): Add tst-spawn4-compat.
11841 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11842 * posix/tst-spawn4-compat.c: New file.
11843 * posix/tst-spawn4.c: Likewise.
11844 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11845 binaries as shell scripts.
11846 * sysdeps/posix/spawni.c (__spawni): Likewise.
11847
11848 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11849
11850 [BZ #23145]
11851 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11852 ($(all-built-dso:=.dynsym): New target.
11853 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11854 ($(objpfx)check-initfini.out): New target.
11855 (generated): Add check-initfini.out.
11856 * scripts/check-initfini.awk: New file.
11857 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11858 (_fini): Likewise.
11859 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11860 (_fini): Likewise.
11861 * sysdeps/arm/crti.S (_init): Mark as hidden.
11862 (_fini): Likewise.
11863 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11864 (_fini): Likewise.
11865 * sysdeps/i386/crti.S (_init): Mark as hidden.
11866 (_fini): Likewise.
11867 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11868 (_fini): Likewise.
11869 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11870 (_fini): Likewise.
11871 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11872 (_fini): Likewise.
11873 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11874 (_fini): Likewise.
11875 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11876 (_fini): Likewise.
11877 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11878 (_fini): Likewise.
11879 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11880 (_fini): Likewise.
11881 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11882 (_fini): Likewise.
11883 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11884 (_fini): Likewise.
11885 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11886 (_fini): Likewise.
11887 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11888 (_fini): Likewise.
11889 * sysdeps/sh/crti.S (_init): Mark as hidden.
11890 (_fini): Likewise.
11891 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11892 (_fini): Likewise.
11893 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11894 (_fini): Likewise.
11895
11896 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11897
11898 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11899 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11900 and TF redirection to KFtype and KF only when the default
11901 long double type is not the IEEE 128-bit floating point type.
11902
11903 2018-06-05 Joseph Myers <joseph@codesourcery.com>
11904
11905 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11906 macro.
11907 (HWCAP_USCAT): Likewise.
11908 (HWCAP_ILRCPC): Likewise.
11909 (HWCAP_FLAGM): Likewise.
11910 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11911 Increase to 28.
11912 (_dl_aarch64_cap_flags): Add new flag names.
11913
11914 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11915 (MAP_FIXED_NOREPLACE): New macro.
11916 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11917 (MAP_FIXED_NOREPLACE): Likewise.
11918 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11919 (MAP_FIXED_NOREPLACE): Likewise.
11920 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11921 (MAP_FIXED_NOREPLACE): Likewise.
11922 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11923 (MAP_FIXED_NOREPLACE): Likewise.
11924 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11925 (MAP_FIXED_NOREPLACE): Likewise.
11926 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11927 (MAP_FIXED_NOREPLACE): Likewise.
11928 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11929 (MAP_FIXED_NOREPLACE): Likewise.
11930 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11931 (MAP_FIXED_NOREPLACE): Likewise.
11932 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11933 (MAP_FIXED_NOREPLACE): Likewise.
11934 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11935 (MAP_FIXED_NOREPLACE): Likewise.
11936 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11937 (MAP_FIXED_NOREPLACE): Likewise.
11938 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11939 (MAP_FIXED_NOREPLACE): Likewise.
11940 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11941 (MAP_FIXED_NOREPLACE): Likewise.
11942 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11943 (MAP_FIXED_NOREPLACE): Likewise.
11944
11945 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11946 version to 4.17.
11947
11948 2018-06-04 Joseph Myers <joseph@codesourcery.com>
11949
11950 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11951 version to 4.17
11952
11953 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11954
11955 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11956 int.
11957 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11958
11959 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11960
11961 * benchtests/scripts/compare_string.py: (process_results) Catch
11962 exception in non-existent base_func and catch exception in
11963 non-existent attribute.
11964 (parse_file) Catch exception if input file does not exist.
11965
11966 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11967
11968 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11969 options to avoid diff calculation and omit header, respectively.
11970 (main): process --no-diff and --no-header
11971
11972 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11973 H.J. Lu <hongjiu.lu@intel.com>
11974
11975 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11976 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
11977 wcsncmp-sse2.
11978 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11979 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
11980 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
11981 and __wcsncmp_sse2.
11982 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
11983 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
11984 AVX unaligned load is fast and vzeroupper is preferred.
11985 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
11986 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
11987 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
11988 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
11989 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
11990 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
11991 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
11992 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
11993 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
11994 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
11995 is undefined.
11996
11997 2018-06-01 Florian Weimer <fweimer@redhat.com>
11998
11999 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12000 configuring with --disable-multi-arch, building with
12001 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12002 Haswell-era CPU.
12003
12004 2018-06-01 Florian Weimer <fweimer@redhat.com>
12005
12006 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12007 results from building with “-march=x86-64 -mtune=generic
12008 -mfpmath=sse” and running on a Haswell-era CPU.
12009
12010 2018-06-01 Joseph Myers <joseph@codesourcery.com>
12011
12012 [BZ #18473]
12013 * soft-fp/sqrttf2.c: Remove file.
12014 * soft-fp/sqrtdf2.c: Move to ....
12015 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12016 <shlib-compat.h>.
12017 (__sqrtdf2): Make conditional on
12018 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12019 symbol.
12020 * soft-fp/sqrtsf2.c: Move to ....
12021 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12022 <shlib-compat.h>.
12023 (__sqrtsf2): Make conditional on
12024 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12025 symbol.
12026 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12027 (gcc-double-routines): Remove sqrtdf2.
12028 (gcc-quad-routines): Remove sqrttf2.
12029 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12030 Do not filter out sqrtsf2 and sqrtdf2.
12031 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12032 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12033
12034 2018-06-01 Florian Weimer <fweimer@redhat.com>
12035
12036 * sysdeps/generic/libcidn.abilist: Remove file.
12037
12038 2018-06-01 Florian Weimer <fweimer@redhat.com>
12039
12040 [BZ #23236]
12041 * libio/strfile.h (struct _IO_str_fields): Rename members to
12042 discourage their use and add comment.
12043 (_IO_STR_DYNAMIC): Remove unused macro.
12044 * libio/strops.c (_IO_str_init_static_internal): Do not use
12045 callback pointers. Call malloc and free.
12046 (_IO_str_overflow): Do not use callback pointers. Call malloc
12047 and free.
12048 (enlarge_userbuf): Likewise.
12049 (_IO_str_finish): Call free.
12050 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12051 _allocate_buffer_unused.
12052 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12053 and free.
12054 (enlarge_userbuf): Likewise.
12055 (_IO_wstr_finish): Call free.
12056 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12057 _allocate_buffer_unused, _free_buffer_unused.
12058 * libio/memstream.c (__open_memstream): Likewise.
12059 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12060 * libio/wmemstream.c (open_wmemstream): Likewise.
12061
12062 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12063
12064 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
12065 AMD Ryzen 7 1800X.
12066
12067 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12068
12069 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
12070 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
12071 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
12072 New file.
12073 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
12074 Likewise.
12075 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
12076
12077 2018-05-29 Florian Weimer <fweimer@redhat.com>
12078
12079 * support/Makefile (libsupport-routines): Add
12080 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
12081 xpthread_barrierattr_setpshared.
12082 * support/xpthread_barrierattr_destroy.c: New file.
12083 * support/xpthread_barrierattr_init.c: Likewise.
12084 * support/xpthread_barrierattr_setpshared.c: Likewise.
12085
12086 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
12087
12088 [BZ #23206]
12089 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
12090 _r_debug and update DT_DEBUG for debugger.
12091
12092 2018-05-29 Florian Weimer <fweimer@redhat.com>
12093
12094 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
12095 (tst-strtod5i.out): Likewise.
12096
12097 2018-05-25 Joseph Myers <joseph@codesourcery.com>
12098
12099 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
12100 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
12101 (sparc64-quad-routines): New variable. Moved from ....
12102 [$(subdir) = soft-fp] (sysdep_routines): Add
12103 $(sparc64-quad-routines). Moved from ....
12104 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
12105 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
12106 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
12107 moved from ....
12108 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
12109 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
12110 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
12111 * sysdeps/sparc/sparc64/qp_add.c: ... here.
12112 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
12113 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
12114 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
12115 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
12116 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
12117 * sysdeps/sparc/sparc64/qp_div.c: ... here.
12118 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
12119 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
12120 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
12121 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
12122 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
12123 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
12124 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
12125 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
12126 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
12127 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
12128 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
12129 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
12130 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
12131 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
12132 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
12133 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
12134 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
12135 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
12136 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
12137 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
12138 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
12139 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
12140 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
12141 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
12142 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
12143 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
12144 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
12145 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12146 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12147 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12148 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12149 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12150 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12151 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12152 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12153 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12154 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12155 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12156 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12157 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12158 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12159 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12160 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12161 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12162 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12163 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12164 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12165 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12166
12167 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12168 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12169 (sparc32-quad-routines): New variable. Moved from ....
12170 [$(subdir) = soft-fp] (sysdep_routines): Add
12171 $(sparc32-quad-routines). Moved from ....
12172 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12173 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12174 moved from ....
12175 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12176 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12177 * sysdeps/sparc/sparc32/q_add.c: ... here.
12178 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12179 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12180 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12181 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12182 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12183 * sysdeps/sparc/sparc32/q_div.c: ... here.
12184 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12185 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12186 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12187 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12188 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12189 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12190 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12191 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12192 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12193 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12194 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12195 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12196 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12197 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12198 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12199 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12200 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12201 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12202 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12203 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12204 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12205 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12206 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12207 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12208 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12209 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12210 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12211 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12212 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12213 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12214 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12215 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12216 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12217 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12218 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12219 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12220 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12221 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12222 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12223 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12224 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12225 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12226 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12227 * sysdeps/sparc/sparc32/q_util.c: ... here.
12228 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12229 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12230 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12231 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12232
12233 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12234 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12235
12236 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12237 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12238 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12239 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12240
12241 2018-05-24 Joseph Myers <joseph@codesourcery.com>
12242
12243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12244 powerpc/soft-fp.
12245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12246 Likewise.
12247 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12248 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12249
12250 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12251
12252 [BZ #23171]
12253 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12254 double version.
12255
12256 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12257
12258 * sysdeps/sh/Implies: Remove sh/soft-fp.
12259 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12260 * sysdeps/sh/sfp-machine.h: ... here.
12261
12262 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12263
12264 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12265 (__mempcpy_erms): Skip zero length.
12266 (__memmove_erms): Likewise.
12267 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12268 (__memset_erms): Likewise.
12269
12270 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12271
12272 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12273 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12274 Add functions moved from ....
12275 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12276 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12277 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12278 from ....
12279 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12280 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12281 * sysdeps/alpha/e_sqrtl.c: ... here.
12282 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12283 * sysdeps/alpha/local-soft-fp.h: ... here.
12284 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12285 * sysdeps/alpha/ots_add.c: ... here.
12286 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
12287 * sysdeps/alpha/ots_cmp.c: ... here.
12288 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
12289 * sysdeps/alpha/ots_cmpe.c: ... here.
12290 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
12291 * sysdeps/alpha/ots_cvtqux.c: ... here.
12292 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
12293 * sysdeps/alpha/ots_cvtqx.c: ... here.
12294 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
12295 * sysdeps/alpha/ots_cvttx.c: ... here.
12296 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
12297 * sysdeps/alpha/ots_cvtxq.c: ... here.
12298 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12299 * sysdeps/alpha/ots_cvtxt.c: ... here.
12300 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12301 * sysdeps/alpha/ots_div.c: ... here.
12302 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12303 * sysdeps/alpha/ots_mul.c: ... here.
12304 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
12305 * sysdeps/alpha/ots_nintxq.c: ... here.
12306 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
12307 * sysdeps/alpha/ots_sub.c: ... here.
12308 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
12309 * sysdeps/alpha/sfp-machine.h: ... here.
12310
12311 2018-05-23 Florian Weimer <fweimer@redhat.com>
12312
12313 [BZ #19728]
12314 [BZ #19729]
12315 [BZ #22247]
12316 CVE-2016-6261
12317 CVE-2016-6263
12318 CVE-2017-14062
12319 Switch to extern IDNA implementation (libidn2).
12320 * libidn: Remove subdirectory.
12321 * LICENSES: Do not mention licensing conditions for the removed
12322 libidn code.
12323 * config.h.in (HAVE_LIBIDN): Remove.
12324 * include/dlfcn.h (__libc_dlopen): Update comment.
12325 * include/idna.h: Remove file.
12326 * inet/Makefile (routines): Add idna.
12327 (tests-static, tests-internal): Add tst-idna_name_classify.
12328 (LOCALES): Generate locales for tests.
12329 (tst-idna_name_classify.out): Depend on generated locales.
12330 * inet/idna_name_classify.c: New file.
12331 * inet/tst-idna_name_classify.c: Likewise.
12332 * inet/net-internal.h (__idna_to_dns_encoding)
12333 (__idna_from_dns_encoding): Declare.
12334 * inet/net-internal.h (enum idna_name_classification): Define.
12335 (__idna_name_classify): Declare.
12336 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
12337 __idna_from_dns_encoding.
12338 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
12339 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
12340 name as a fallback in case of encoding errors.
12341 (getnameinfo): Use DEPRECATED_NI_IDN.
12342 * inet/idna.c: New file.
12343 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
12344 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
12345 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
12346 (modules-names): Add tst-no-libidn2.
12347 (extra-test-objs): Add tst-no-libidn2.os.
12348 (LDFLAGS-tst-no-libidn2.so): Set soname.
12349 (LOCALES): Set, and generate locales.
12350 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
12351 (tst-resolv-ai_idn-latin1): Likewise.
12352 (tst-resolv-ai_idn-nolibidn2): Likewise.
12353 (tst-resolv-ai_idn.out): Depend on locales.
12354 (tst-resolv-ai_idn-latin1.out): Depend on locales.
12355 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
12356 tst-no-libidn2.so.
12357 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
12358 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
12359 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
12360 * resolv/tst-resolv-ai_idn.c: New file.
12361 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
12362 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
12363 * resolv/tst-no-libidn2.c: Likewise.
12364 * support/support_format_addrinfo.c (format_ai_flags): Do not
12365 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
12366 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
12367 (gaih_inet): Call __idna_to_dns_encoding and
12368 __idna_from_dns_encoding, and use the original (punycode) name if
12369 __idna_from_dns_encoding fails due to an encoding error.
12370 (getaddrinfo): Use DEPRECATED_AI_IDN.
12371 * sysdeps/unix/inet/Subdirs (libidn): Remove.
12372 * sysdeps/unix/inet/configure: Remove file.
12373 * sysdeps/unix/inet/configure.ac: Likewise.
12374
12375 2018-05-23 Florian Weimer <fweimer@redhat.com>
12376
12377 Implement allocate_once.
12378 * include/allocate_once.h: New file.
12379 * misc/allocate_once.c: Likewise.
12380 * misc/tst-allocate_once.c: Likewise.
12381 * misc/Makefile (routines): Add allocate_once.
12382 (tests-internal): Add tst-allocate_once.
12383 (generated): Add tst-allocate_once.mtrace,
12384 tst-allocate_once-mem.out.
12385 (tests-special): Add tst-allocate_once-mem.out.
12386 (tst-allocate_once-ENV): Set MALLOC_TRACE.
12387 (tst-allocate_once-mem.out): Call mtrace.
12388 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
12389
12390 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12391
12392 [BZ #23196]
12393 * string/test-memcpy.c (do_test1): New function.
12394 (test_main): Call it.
12395
12396 2018-05-23 Andreas Schwab <schwab@suse.de>
12397
12398 [BZ #23196]
12399 CVE-2018-11237
12400 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
12401 (L(preloop_large)): Save initial destination pointer in %r11 and
12402 use it instead of %rax after the loop.
12403 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
12404
12405 2018-05-22 Joseph Myers <joseph@codesourcery.com>
12406
12407 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
12408 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
12409 -I../soft-fp. Moved from ....
12410 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
12411 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
12412 * sysdeps/aarch64/e_sqrtl.c: ... here.
12413 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
12414 * sysdeps/aarch64/sfp-machine.h: ... here.
12415
12416 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
12417 -Wmaybe-uninitialized around access to fq[0].
12418 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12419 Likewise.
12420
12421 [BZ #18471]
12422 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
12423 aliases for non-libc case of versioned symbols.
12424 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
12425 (llseek): Define as compat symbol if
12426 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
12427 with link warning.
12428 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
12429 Make into a compat symbol, disabled for minimum symbol version
12430 GLIBC_2.28 and later.
12431 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
12432
12433 2018-05-22 Florian Weimer <fweimer@redhat.com>
12434
12435 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
12436 not add -mpreferred-stack-boundary=4.
12437 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
12438 (stack-align-test-flags): Likewise.
12439 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
12440 Likewise.
12441 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
12442 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
12443 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
12444 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
12445 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
12446 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
12447 (CFLAGS-tst-align2.c): Likewise.
12448
12449 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12450
12451 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
12452 (index_arch_Prefer_FSRM): Likewise.
12453 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12454 Also check Prefer_FSRM.
12455 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
12456 Also return OPTIMIZE (erms) for Prefer_FSRM.
12457
12458 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12459
12460 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
12461 (index_cpu_FSRM): Likewise.
12462 (reg_FSRM): Likewise.
12463
12464 2018-05-18 Joseph Myers <joseph@codesourcery.com>
12465
12466 * math/gen-tgmath-tests.py: Import sys.
12467 (Tests.__init__): Initialize macros_seen.
12468 (Tests.add_tests): Add macro to macros_seen. Only generate tests
12469 if requested to do so for this macro.
12470 (Tests.add_all_tests): Take argument for macro for which to
12471 generate tests.
12472 (Tests.check_macro_list): New function.
12473 (main): Handle check-list argument and argument specifying macro
12474 for which to generate tests.
12475 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
12476 [PYTHON] (tgmath3-macro-tests): Likewise.
12477 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
12478 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
12479 not test-tgmath3.c.
12480 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
12481 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
12482 to CFLAGS.
12483 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
12484 [PYTHON] ($(foreach
12485 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
12486 rule.
12487 [PYTHON] (tests-special): Add
12488 $(objpfx)test-tgmath3-macro-list.out.
12489 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
12490
12491 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
12492 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
12493 later.
12494
12495 [BZ #22639]
12496 * time/tzset.c (SECSPERDAY): Cast to time_t.
12497 * time/tst-y2039.c: New file.
12498 * time/Makefile (tests): Add tst-y2039.
12499
12500 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12501
12502 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12503 (PREFETCH_ONE_SET): Remove duplicate line.
12504
12505 2018-05-17 Florian Weimer <fweimer@redhat.com>
12506
12507 * sysdeps/generic/math-type-macros-double.h: Include
12508 <math-nan-payload-double.h> after <libm-alias-double.h>.
12509 * sysdeps/generic/math-type-macros-float.h: Include
12510 <math-nan-payload-float.h> after <libm-alias-float.h>.
12511 * sysdeps/generic/math-type-macros-float128.h: Include
12512 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
12513 * sysdeps/generic/math-type-macros-ldouble.h: Include
12514 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
12515
12516 2018-05-17 Andreas Schwab <schwab@suse.de>
12517
12518 * resolv/res_send.c (__res_context_send): Don't set errno when
12519 returing error after malloc failure.
12520
12521 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
12522
12523 * nptl/allocatestack.c (allocate_stack): Remove the
12524 !__ASSUME_PRIVATE_FUTEX paths.
12525 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
12526 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12527 Likewise.
12528 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
12529 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12530 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12531 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12532 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
12533 !__ASSUME_PRIVATE_FUTEX path.
12534 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
12535 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
12536 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12537 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
12538 !__ASSUME_PRIVATE_FUTEX macros.
12539 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12540 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12541 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12542 * sysdeps/unix/sysv/linux/kernel-features.h
12543 (__ASSUME_PRIVATE_FUTEX): Removed.
12544
12545 2018-05-17 Joseph Myers <joseph@codesourcery.com>
12546
12547 * math/Makefile (libm-narrow-fns): Add div.
12548 (libm-test-funcs-narrow): Likewise.
12549 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
12550 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
12551 * math/gen-auto-libm-tests.c (test_functions): Add div.
12552 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
12553 (NARROW_DIV_ROUND_TO_ODD): Likewise.
12554 (NARROW_DIV_TRIVIAL): Likewise.
12555 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
12556 macro.
12557 (__ddivl): Likewise.
12558 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
12559 ddiv.
12560 (CFLAGS-nldbl-ddiv.c): New variable.
12561 (CFLAGS-nldbl-fdiv.c): Likewise.
12562 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12563 __nldbl_ddivl.
12564 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12565 prototype.
12566 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12567 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12568 * math/auto-libm-test-in: Add tests of div.
12569 * math/auto-libm-test-out-narrow-div: New generated file.
12570 * math/libm-test-narrow-div.inc: New file.
12571 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12572 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12573 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12574 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12575 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12576 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12577 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12578 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12579 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12580 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12581 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12582 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12583 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12584 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12585 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12586 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12587 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12588 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12590 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12591 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12592 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12593 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12594 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12595 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12596 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12597 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12598 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12599 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12600 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12601 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12602 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12607 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12608 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12609 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12610 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12611 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12612 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12613 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12614 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12615
12616 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12617
12618 [BZ #23178]
12619 * nscd/nscd-client.h (sendfileall): Remove prototype.
12620 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12621 (handle_request): Use writeall instead of sendfileall.
12622 * nscd/aicache.c (addhstaiX): Likewise.
12623 * nscd/grpcache.c (cache_addgr): Likewise.
12624 * nscd/hstcache.c (cache_addhst): Likewise.
12625 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12626 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12627 * nscd/pwdcache.c (cache_addpw): Likewise.
12628 * nscd/servicescache.c (cache_addserv): Likewise.
12629 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12630 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12631 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12632 Remove define.
12633
12634 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12635
12636 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12637 Include <string/strncat.c>.
12638 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12639 alias.
12640 (__GI___strncat): New hidden alias.
12641
12642 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12643
12644 * sysdeps/mips/mips32/libm-test-ulps: Update.
12645 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12646
12647 2018-05-16 Florian Weimer <fweimer@redhat.com>
12648
12649 * support/Makefile (libsupport-routines): Add support_quote_blob,
12650 support_test_compare_blob.
12651 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12652 * support/check.h (TEST_COMPARE_BLOB): Define.
12653 (support_test_compare_blob): Declare.
12654 * support/support.h (support_quote_blob): Declare.
12655 * support/support_quote_blob.c: New file.
12656 * support/support_test_compare_blob.c: Likewise.
12657 * support/tst-support_quote_blob.c: Likewise.
12658 * support/tst-test_compare_blob.c: Likewise.
12659
12660 2018-05-16 Florian Weimer <fweimer@redhat.com>
12661
12662 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12663 of <strtod_nan_double.h>.
12664 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12665 instead of SET_MANTISSA.
12666 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12667 of include <strtod_nan_float.h>.
12668 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12669 instead of <strtod_nan_ldouble.h>.
12670 * stdlib/strtod_nan_double.h: Move to ...
12671 * sysdeps/generic/math-nan-payload-double.h: ... here.
12672 (FLOAT): Remove definition.
12673 (SET_MANTISSA): Rename to ...
12674 (SET_NAN_PAYLOAD): ... this.
12675 * stdlib/strtod_nan_float.h: Move to ...
12676 * sysdeps/generic/math-nan-payload-float.h: ... here.
12677 (FLOAT): Remove definition.
12678 (SET_MANTISSA): Rename to ...
12679 (SET_NAN_PAYLOAD): ... this.
12680 * sysdeps/generic/math-type-macros-double.h: Include
12681 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12682 instead of <math-svid-compat.h>.
12683 * sysdeps/generic/math-type-macros-float.h: Include
12684 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12685 instead of <math-svid-compat.h>.
12686 * sysdeps/generic/math-type-macros-float128.h: Include
12687 <math-nan-payload-float128.h>.
12688 * sysdeps/generic/math-type-macros-ldouble.h: Include
12689 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12690 instead of <math-svid-compat.h>.
12691 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12692 check for definition.
12693 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12694 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12695 Include <ieee754_float128.h>.
12696 (FLOAT): Remove definition.
12697 (SET_MANTISSA): Rename to ...
12698 (SET_NAN_PAYLOAD): ... this.
12699 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12700 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12701 Do not include <float128_private.h>.
12702 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12703 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12704 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12705 (FLOAT): Remove definition.
12706 (SET_MANTISSA): Rename to ...
12707 (SET_NAN_PAYLOAD): ... this.
12708 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12709 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12710 (FLOAT): Remove definition.
12711 (SET_MANTISSA): Rename to ...
12712 (SET_NAN_PAYLOAD): ... this.
12713 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12714 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12715 (FLOAT): Remove definition.
12716 (SET_MANTISSA): Rename to ...
12717 (SET_NAN_PAYLOAD): ... this.
12718 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12719 of "../stdlib/strtod_nan_double.h".
12720 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12721 of "../stdlib/strtod_nan_float.h".
12722 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12723 instead of "../stdlib/strtod_nan_ldouble.h".
12724 * manual/arith.texi (Parsing of Floats): Adjust comment.
12725
12726 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12727
12728 * math/Makefile (libm-narrow-fns): Add mul.
12729 (libm-test-funcs-narrow): Likewise.
12730 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12731 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12732 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12733 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12734 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12735 (NARROW_MUL_TRIVIAL): Likewise.
12736 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12737 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12738 macro.
12739 (__dmull): Likewise.
12740 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12741 dmul.
12742 (CFLAGS-nldbl-dmul.c): New variable.
12743 (CFLAGS-nldbl-fmul.c): Likewise.
12744 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12745 __nldbl_dmull.
12746 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12747 prototype.
12748 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12749 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12750 * math/auto-libm-test-in: Add tests of mul.
12751 * math/auto-libm-test-out-narrow-mul: New generated file.
12752 * math/libm-test-narrow-mul.inc: New file.
12753 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12754 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12755 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12756 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12757 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12758 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12759 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12760 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12761 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12762 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12763 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12764 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12765 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12766 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12767 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12768 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12769 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12770 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12772 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12773 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12774 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12775 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12776 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12777 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12778 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12779 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12780 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12781 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12782 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12783 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12784 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12789 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12790 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12791 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12792 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12793 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12794 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12795 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12796 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12797
12798 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12799
12800 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12801 with *%eax in call.
12802
12803 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12804
12805 * sysdeps/i386/ldsodefs.h: Removed.
12806 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12807 * sysdeps/x86/ldsodefs.h: This.
12808 (La_i86_regs): New.
12809 (La_i86_retval): Likewise.
12810 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12811 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12812
12813 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12814
12815 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12816 unnecessary testl.
12817
12818 2018-05-13 Alan Modra <amodra@gmail.com>
12819
12820 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12821 R_PARISC_TLS_DTPOFF32 reloc addend.
12822
12823 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12824
12825 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12826 * math/math.h: Restrict the prototype definition for the functions
12827 issignaling(_Float128) and iszero(_Float128); and template
12828 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12829 __HAVE_FLOAT128_UNLIKE_LDBL.
12830 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12831 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12832 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12833 __f128() constants; define the type _Float128 as long double;
12834 and reuse long double in __CFLOAT128.
12835
12836 2018-05-11 Joseph Myers <joseph@codesourcery.com>
12837
12838 * sysdeps/generic/math_private.h: Do not include
12839 <math-barriers.h>.
12840 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12841 <math_private.h>.
12842 * math/fromfp.h: Include <math-barriers.h>.
12843 * math/math-narrow.h: Likewise.
12844 * math/s_nextafter.c: Likewise.
12845 * math/s_nexttowardf.c: Likewise.
12846 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12847 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12848 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12849 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12850 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12851 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12852 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12853 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12854 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12855 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12856 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12857 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12858 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12859 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12860 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12861 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12862 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12863 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12864 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12865 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12866 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12867 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12868 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12869 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12870 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12871 * sysdeps/ieee754/k_standardl.c: Likewise.
12872 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12873 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12874 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12875 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12876 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12877 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12878 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12879 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12880 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12881 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12882 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12883 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12884 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12885 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12886 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12887 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12888 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12889 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12890 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12891 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12892 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12893 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12894
12895 2018-05-11 Florian Weimer <fweimer@redhat.com>
12896
12897 Use 64-bit epoch values in the time zone file parser.
12898 * include/time.h (internal_time_t): Define.
12899 (__tzfile_compute): Use it.
12900 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12901 member.
12902 (transitions): Switch to internal_time_t.
12903 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12904 types.
12905 (__tzfile_compute): Use internal_time_t for timer argument. Check
12906 for truncation before calling __offtime.
12907
12908 2018-05-11 Florian Weimer <fweimer@redhat.com>
12909
12910 [BZ #23166]
12911 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12912 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12913 Likewise.
12914 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12915 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12916 export without --enable-obsolete-rpc.
12917 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12918 symbol. This should not have been exported, ever.
12919
12920 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12921
12922 [BZ #23152]
12923 * localedata/locales/gd_GB (abmon): Fix typo in May:
12924 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12925
12926 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12927
12928 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12929 Use multiple registers to copy data in loop tail.
12930
12931 * sysdeps/aarch64/multiarch/memmove_falkor.S
12932 (__memmove_falkor): Use multiple registers to move data in
12933 loop tail.
12934
12935 2018-05-10 Joseph Myers <joseph@codesourcery.com>
12936
12937 * math/math-underflow.h: New file.
12938 * sysdeps/generic/math_private.h: Do not include <float.h>.
12939 (fabs_tg): Remove macro. Moved to math-underflow.h.
12940 (min_of_type_f): Likewise.
12941 (min_of_type_): Likewise.
12942 (min_of_type_l): Likewise.
12943 (min_of_type_f128): Likewise.
12944 (min_of_type): Likewise.
12945 (math_check_force_underflow): Likewise.
12946 (math_check_force_underflow_nonneg): Likewise.
12947 (math_check_force_underflow_complex): Likewise.
12948 * math/e_exp2_template.c: Include <math-underflow.h>.
12949 * math/k_casinh_template.c: Likewise.
12950 * math/s_catan_template.c: Likewise.
12951 * math/s_catanh_template.c: Likewise.
12952 * math/s_ccosh_template.c: Likewise.
12953 * math/s_cexp_template.c: Likewise.
12954 * math/s_clog10_template.c: Likewise.
12955 * math/s_clog_template.c: Likewise.
12956 * math/s_csin_template.c: Likewise.
12957 * math/s_csinh_template.c: Likewise.
12958 * math/s_csqrt_template.c: Likewise.
12959 * math/s_ctan_template.c: Likewise.
12960 * math/s_ctanh_template.c: Likewise.
12961 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12962 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12963 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12964 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12965 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12966 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12967 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12968 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12969 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12970 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12971 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12972 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12973 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12974 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12975 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12976 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12977 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12978 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12979 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12980 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12981 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12982 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12983 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12984 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12985 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12986 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12987 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12988 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12989 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12990 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12991 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12992 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12993 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12994 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12995 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12996 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12997 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12998 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12999 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13000 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13001 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13002 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13003 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13004 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13005 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13006 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13007 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13008 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13009 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13010 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13011 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13012 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13013 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13014 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13015 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13016 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13017 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13018 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13019 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13020 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13021 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13022 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13023 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13024 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13025 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13026 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13027 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13028 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13029 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13030 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13031 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13032 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13033 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13034 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13035 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13036 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13037 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13038 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13039 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13040 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13041 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13042 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13043 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13044 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13045
13046 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13047
13048 * sysdeps/generic/math-barriers.h: New file.
13049 * sysdeps/generic/math_private.h [!math_opt_barrier]
13050 (math_opt_barrier): Move to math-barriers.h.
13051 [!math_opt_barrier] (math_force_eval): Likewise.
13052 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13053 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13054 math-barriers.h.
13055 (math_force_eval): Likewise.
13056 * sysdeps/alpha/fpu/math-barriers.h: New file.
13057 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13058 math-barriers.h.
13059 (math_force_eval): Likewise.
13060 * sysdeps/x86/fpu/math-barriers.h: New file.
13061 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13062 math-barriers.h.
13063 (math_force_eval): Likewise.
13064 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
13065 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
13066 multiple-include guard for rename.
13067 * sysdeps/powerpc/fpu/math-barriers.h: New file.
13068 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
13069 math-barriers.h.
13070 (math_force_eval): Likewise.
13071
13072 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13073
13074 [BZ #22786]
13075 CVE-2018-11236
13076 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
13077 computation.
13078 * stdlib/Makefile (test-bz22786): New test.
13079 * stdlib/test-bz22786.c: New test.
13080
13081 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13082
13083 * include/math-narrow-eval.h: New file. Contents moved from ....
13084 * sysdeps/generic/math_private.h: ... here.
13085 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
13086 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13087 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
13088 * stdlib/strtod_l.c: Likewise.
13089 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13090 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13091 * sysdeps/i386/fpu/s_fdim.c: Likewise.
13092 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13093 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13094 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13095 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13096 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13097 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13098 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13099 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13100 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13101 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13102 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13103 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13104 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13105 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13106 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13107 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13108 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13109 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13110 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13111 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13112 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13113 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13114 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13115 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13116 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13117 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13118
13119 2018-05-08 Andreas Schwab <schwab@suse.de>
13120
13121 * sysdeps/nptl/internaltypes.h: Fix comment.
13122
13123 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
13124
13125 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13126 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
13127 hidden.
13128
13129 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13130
13131 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
13132 of I into loop header.
13133 * benchtests/bench-memmove-walk.c
13134 (test_main): Likewise.
13135
13136 2018-05-07 Alexandre Oliva <oliva@gnu.org>
13137
13138 Revert:
13139 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13140 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13141
13142 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13143
13144 [BZ #20419]
13145 * elf/dl-load.c (open_verify): Fix stack overflow.
13146 * elf/Makefile (tst-big-note): New test.
13147 * elf/tst-big-note-lib.S: New.
13148 * elf/tst-big-note.c: New.
13149
13150 2018-05-04 Joseph Myers <joseph@codesourcery.com>
13151
13152 * scripts/abilist.awk: Ignore absolute symbols.
13153 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13154 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13155 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13156 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13157 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13158 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13159 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13160 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13161 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13162 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13163 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13164 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13165 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13166 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13167 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13168 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13169 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13170 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13171 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13172 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13173 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13174 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13175 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13176 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13177 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13178 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13179 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13180 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13181 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13182 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13183 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13184 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13185 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13186 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13187 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13188 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13189 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13190 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13191 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13192 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13193 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13194 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13195 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13196 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13197 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13198 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13199 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13200 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13201 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13202 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13203 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13204 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13205 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13206 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13207 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13208 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13209 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13210 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13211 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13212 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13213 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13214 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13215 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13216 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13217 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13218 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13219 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13220 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13221 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13222 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13223 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13224 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13225 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13226 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13227 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13228 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13229 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13230 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13231 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13232 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13233 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13234 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13235 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13236 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13237 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13238 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13239 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13240 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13241 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13242 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13243 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13244 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13245 Likewise.
13246 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13247 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13248 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13249 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13250 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13251 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13252 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13253 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13254 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13255 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13256 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13257 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13258 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13259 Likewise.
13260 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13261 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13262 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13263 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13264 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13265 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13266 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13267 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13268 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13269 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13270 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13271 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13272 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13273 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13274 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13275 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13276 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13277 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13278 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13279 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13280 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13281 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13282 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13283 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13284 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13285 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13286 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13287 Likewise.
13288 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
13289 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
13290 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
13291 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
13292 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13293 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
13294 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
13295 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
13296 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
13297 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13298 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13299 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13300 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13301 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13302 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13303 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13304 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
13305 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
13306 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13307 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13308 Likewise.
13309 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
13310 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
13311 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
13312 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13313 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
13314 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13315 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
13316 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
13317 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
13318 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13319 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13320 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
13321 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13322 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13323 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
13324 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13325 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
13326 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
13327 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13328 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
13329 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
13330 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13331 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
13332 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13333 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
13334 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
13335 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
13336 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
13337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13341 Likewise.
13342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
13343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
13344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
13345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
13346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13347 Likewise.
13348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
13349 Likewise.
13350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
13351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13352 Likewise.
13353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
13354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13355 Likewise.
13356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13357 Likewise.
13358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13361 Likewise.
13362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13363 Likewise.
13364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
13365 Likewise.
13366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
13367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13370 Likewise.
13371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
13372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
13373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
13374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
13377 Likewise.
13378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
13379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13380 Likewise.
13381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13382 Likewise.
13383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13384 Likewise.
13385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
13386 Likewise.
13387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
13388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
13389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13390 Likewise.
13391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13392 Likewise.
13393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13394 Likewise.
13395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
13396 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13397 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
13398 Likewise.
13399 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13400 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13401 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
13402 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13403 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13404 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13405 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13406 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
13407 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13408 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
13409 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13410 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
13411 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13412 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13413 Likewise.
13414 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13415 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
13416 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
13417 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13418 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
13419 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13420 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
13421 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
13422 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
13423 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
13424 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13425 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13426 Likewise.
13427 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13428 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
13429 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
13430 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13431 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
13432 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13433 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
13434 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
13435 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
13436 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
13437 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13438 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
13439 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
13440 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13441 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
13442 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
13443 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13444 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
13445 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13446 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
13447 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
13448 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
13449 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
13450 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13451 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13452 Likewise.
13453 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
13454 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13455 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
13456 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
13457 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13458 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
13459 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13460 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
13461 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
13462 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
13463 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
13464 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13465 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13466 Likewise.
13467 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
13468 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13469 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
13470 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
13471 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13472 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
13473 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13474 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
13475 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
13476 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
13477 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
13478 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13479 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
13480 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
13481 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13482 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
13483 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
13484 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13485 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
13486 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13487 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
13488 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
13489 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
13490 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
13491 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13492 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13493 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
13494 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
13495 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13496 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
13497 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
13498 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13499 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
13500 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13501 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
13502 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
13503 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
13504 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
13505
13506 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
13507
13508 [BZ #23137]
13509 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
13510 Use atomic_load_acquire to load __tid.
13511
13512 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13513
13514 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
13515 Restore the pointer into %rdx, after syscall and use %rdx,
13516 instead of %rsi, to restore context.
13517
13518 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13519
13520 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
13521 Pop the pointer into %rdx after syscall and use %rdx, instead
13522 of %rsi, to restore context.
13523
13524 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13525
13526 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
13527 handlers after setjmp.
13528 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
13529 defined.
13530 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
13531 <libc-pointer-arith.h>.
13532 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
13533 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
13534 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
13535 _JUMP_BUF_SIGSET_BITS_PER_WORD.
13536 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
13537 * sysdeps/x86/__longjmp_cancel.S: New file.
13538 * sysdeps/x86/longjmp.c: Likewise.
13539 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
13540
13541 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13542
13543 * NEWS: Add ustat.h deprecation entry.
13544 * bits/ustat.h: Remove file.
13545 * misc/sys/ustat.h: Likewise.
13546 * misc/ustat.h: Likewise.
13547 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
13548 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
13549 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
13550 compatibility mode.
13551 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
13552 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
13553 generic Linux implementation.
13554
13555 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13556
13557 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
13558 * math/w_expl_compat.c: Likewise.
13559 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
13560
13561 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13562
13563 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13564
13565 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13566
13567 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13568 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13569 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13570 Remove.
13571 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13573 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13574 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13575 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13576 and SYSCALL_LL64.
13577
13578 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13579
13580 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13581
13582 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13583 * math/w_asin_template.c: Likewise.
13584 * math/w_atanh_template.c: Likewise.
13585
13586 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13587
13588 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13589 to powerpc/powerpc64/be for big-endian.
13590 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13591 little-endian.
13592
13593 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13594 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13595 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13596 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13597 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13598 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13599 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13600 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13601 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13602 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13603 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13604 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13605 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13606 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13607 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13608 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13609 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13610 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13611 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13612 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13613 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13614 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13615 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13616 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13617 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13618 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13619 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13620 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13621 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13622 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13623 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13624 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13625
13626 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13627 adjusted to imply powerpc64 and older processors on powerpc64/be.
13628 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13629 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13630 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13631 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13632 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13633 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13634 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13635 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13636 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13637 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13638 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13639 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13640 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13641 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13642 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13643 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13644 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13645 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13646 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13647 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13648 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13649 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13650 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13651 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13652 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13653 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13654 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13655 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13656 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13657 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13658 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13659
13660 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13661 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13662 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13663 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13664
13665 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13666 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13667 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13668 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13669
13670 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13671 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13672 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13673 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13674 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13675 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13676 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13677 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13678 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13679 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13680 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13681
13682 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13683 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13684 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13685 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13686 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13687 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13688 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13689 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13690 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13691 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13692 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13693
13694 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13695 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13696 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13697 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13698 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13699 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13700 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13701 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13702 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13703 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13704 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13705 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13706
13707 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13708 and adjusted to imply olders processors.
13709 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13710 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13711 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13712 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13713 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13714 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13715 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13716 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13717 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13718 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13719 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13720
13721 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13722 powerpc64/le.
13723 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13724 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13725
13726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13727 powerpc64le.
13728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13730
13731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13732 powerpc64/be.
13733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13736
13737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13738 powerpc64 and adjusted.
13739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13742 Likewise.
13743
13744 2018-04-27 Joseph Myers <joseph@codesourcery.com>
13745
13746 * sysdeps/tile: Remove.
13747 * sysdeps/unix/sysv/linux/tile: Likewise.
13748 * README (tilegx-*-linux-gnu): Remove from list of supported
13749 configurations.
13750 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13751 contribution of support for generic Linux kernel syscall
13752 interface.
13753 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13754 tilegx configurations.
13755 (Config.install_linux_headers): Do not handle tile.
13756 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13757 in comment.
13758 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13759 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13760 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13761 conditional undefine and redefine.
13762 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13763 in comment.
13764 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13765 conditional undefine and redefine.
13766
13767 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13768
13769 * signal/tst-sigaction.c: New file to test BZ #23069.
13770 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13771
13772 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13773
13774 [BZ #22766]
13775 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13776 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13777 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13778 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13779
13780 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13781
13782 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13783 _DIRENT_MATCHES_DIRENT64 is not defined.
13784 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13785 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13786 is defined.
13787 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13788 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13789
13790 2018-04-25 Joseph Myers <joseph@codesourcery.com>
13791
13792 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13793 version to GCC 8 branch.
13794
13795 2018-04-24 Joseph Myers <joseph@codesourcery.com>
13796
13797 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13798 (check_no_hidden): Use type of original function when declaring
13799 alias.
13800
13801 * sysdeps/unix/sysv/linux/sys/ptrace.h
13802 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13803 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13804 (struct __ptrace_seccomp_metadata): New type.
13805 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13806 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13807 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13808 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13809 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13810 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13811 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13812 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13813 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13814 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13815 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13816 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13817 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13818 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13819 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13820 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13821
13822 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13823
13824 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13825 defined.
13826 * dirent/versionsort.c (versionsort): Likewise.
13827 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13828 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13829 * dirent/versionsort64.c (versionsort64): Likewise.
13830 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13831 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13832 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13833 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13834 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13835 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13836 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13837 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13838 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13839 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13842 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13843 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13844
13845 2018-04-23 Joseph Myers <joseph@codesourcery.com>
13846
13847 * elf/elf.h (NT_PPC_PKEY): New macro.
13848
13849 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13850
13851 [BZ #23094]
13852 * localedata/locales/hr_HR: fix thousands_sep and
13853 mon_thousands_sep
13854
13855 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13856
13857 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13858 (XTABS): Define to TAB3.
13859
13860 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13861
13862 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13863
13864 * dirent/scandir-tail-common.c: New file.
13865 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13866 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13867 * dirent/scandir.c: Use scandir-tail-common.c.
13868 * dirent/scandirat.c: Likewise.
13869 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13870 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13871 if _DIRENT_MATCHES_DIRENT64 is defined.
13872 * dirent/scandirat64.c (scandirat64): Likewise.
13873 * include/dirent.h (__scandir_tail): Only define iff
13874 _DIRENT_MATCHES_DIRENT64 is not defined.
13875 (__scandir64_tail): Define regardless.
13876 (__scandirat, scandirat64): Remove libc_hidden_proto.
13877 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13878 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13880 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13881 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13882 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13883 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13884
13885 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13886
13887 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13888 New macro.
13889 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13890 Increase to 24.
13891 (_dl_aarch64_cap_flags): Add asimdfhm.
13892
13893 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13894
13895 * sysdeps/nios2/libm-test-ulps: Update.
13896
13897 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13898
13899 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13900 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13901
13902 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13903 requirements.
13904 (_DIRENT_MATCHES_DIRENT64): Undef
13905 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13906 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13907 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13908 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13909 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13910 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13911 use getdents64 syscalls as base.
13912 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13913 symbol if required.
13914 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13915 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13916 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13917 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13918 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13919 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13920 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13921 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13922 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13923 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13924 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13925
13926 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13927
13928 * scripts/test_printers_common.py (init_test): Disable lock elision.
13929
13930 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13931
13932 * math/test-tgmath.c (count_double, count_float,
13933 count_ldouble, count_cdouble, count_cfloat,
13934 count_cldouble): Use volatile int.
13935
13936 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13937
13938 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13939 (conformtest-xfail-conds): Add i386-gnu.
13940 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
13941 i386-gnu.
13942 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13943 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13944 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13945 msqid_ds.msg_lrpid): Likewise.
13946 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13947 Likewise.
13948 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13949 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
13950 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13951 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13952 unsigned int.
13953 (struct statvfs64): Likewise.
13954 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13955 Likewise.
13956 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13957 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13958 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13959 instead of wait_queue.
13960 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13961 instead of vm_area_struct.
13962 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13963 struct sched_param definition to it.
13964 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13965 * bits/types/struct_sched_param.h: New file.
13966 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13967 <bits/types/struct_sched_param.h> instead of <sched.h>.
13968 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
13969 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13970 generic version but include <bits/pthreadtypes.h> to make struct
13971 sigevent's sigev_notify_attributes field a pthread_attr_t*.
13972 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
13973 non-compliant.
13974 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
13975 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
13976 [__USE_XOPEN] (OFDEL): New macro.
13977 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
13978 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
13979 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
13980 prototypes.
13981 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
13982 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
13983 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
13984 non-compliant.
13985 * sysdeps/i386/sys/ucontext.h: Likewise.
13986 * sysdeps/m68k/sys/ucontext.h: Likewise.
13987 * sysdeps/mips/sys/ucontext.h: Likewise.
13988 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
13989 * sysdeps/mach/hurd/i386/Makefile
13990 (test-xfail-POSIX/fcntl.h/conform): Add.
13991 (test-xfail-POSIX/signal.h/conform): Add.
13992 (test-xfail-POSIX/semaphore.h/conform): Add.
13993 (test-xfail-POSIX/regex.h/conform): Add.
13994 (test-xfail-POSIX/aio.h/conform): Add.
13995 (test-xfail-POSIX/mqueue.h/conform): Add.
13996 (test-xfail-POSIX/sys/types.h/conform): Add.
13997 (test-xfail-UNIX98/fcntl.h/conform): Add.
13998 (test-xfail-UNIX98/netdb.h/conform): Add.
13999 (test-xfail-UNIX98/signal.h/conform): Add.
14000 (test-xfail-UNIX98/semaphore.h/conform): Add.
14001 (test-xfail-UNIX98/regex.h/conform): Add.
14002 (test-xfail-UNIX98/aio.h/conform): Add.
14003 (test-xfail-UNIX98/ftw.h/conform): Add.
14004 (test-xfail-UNIX98/mqueue.h/conform): Add.
14005 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14006 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14007 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14008 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14009 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14010 (test-xfail-UNIX98/sys/types.h/conform): Add.
14011 (test-xfail-UNIX98/stdlib.h/conform): Add.
14012 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14013 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14014 (test-xfail-POSIX2008/netdb.h/conform): Add.
14015 (test-xfail-POSIX2008/signal.h/conform): Add.
14016 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14017 (test-xfail-POSIX2008/regex.h/conform): Add.
14018 (test-xfail-POSIX2008/aio.h/conform): Add.
14019 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14020 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14021 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14022 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14023 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14024 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14025 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14026 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14027 (test-xfail-XOPEN2K/signal.h/conform): Add.
14028 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14029 (test-xfail-XOPEN2K/regex.h/conform): Add.
14030 (test-xfail-XOPEN2K/aio.h/conform): Add.
14031 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14032 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14033 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14034 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14035 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14036 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14037 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14038 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14039 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14040 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14041 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14042 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14043 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14044 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14045 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14046 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14047 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14048 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14049 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14050 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14051 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14052 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14053 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14054 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14055 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14056 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
14057 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14058 i386-gnu.
14059 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14060 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
14061
14062 2018-04-18 Joseph Myers <joseph@codesourcery.com>
14063
14064 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14065 --enable-obsolete for powerpc-linux-gnuspe.
14066
14067 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14068
14069 * conform/data/sys/un.h-data: Allow sun_ prefix.
14070 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
14071 prototypes.
14072 * sysdeps/mach/include/mach.h: Likewise.
14073 * sysdeps/mach/include/mach/mig_support.h: Likewise.
14074 * sysdeps/mach/include/mach_error.h: Likewise.
14075
14076 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14077
14078 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
14079 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
14080 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
14081 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
14082
14083 2018-04-16 Andreas Schwab <schwab@suse.de>
14084
14085 [BZ #19527]
14086 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
14087
14088 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14089
14090 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
14091 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
14092
14093 2018-04-12 DJ Delorie <dj@redhat.com>
14094
14095 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14096 version to 4.16.
14097
14098 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14099
14100 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
14101 (struct kernel_sigaction): Use the same definition on 31bit as is used
14102 on 64bit.
14103
14104 2018-04-09 Florian Weimer <fweimer@redhat.com>
14105
14106 [BZ #23037]
14107 * resolv/res_send.c (send_dg): Use designated initializers instead
14108 of assignment to zero-initialize other fields of struct mmsghdr.
14109
14110 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14111
14112 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
14113 __READDIR_ALIAS): Undefine after usage.
14114 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
14115 __READDIR_R_ALIAS): Likewise.
14116 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
14117 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
14118 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
14119 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
14120 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
14121 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
14122 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14123 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14124 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
14125 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
14126 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
14127 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
14128 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14129 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
14130 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
14131 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
14132 * sysdeps/unix/sysv/linux/readdir.c: New file.
14133 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
14134 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
14135 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
14136
14137 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14138
14139 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
14140
14141 * manual/charset.texi (Converting a Character): Fix typo.
14142
14143 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14144
14145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14146
14147 * sysdeps/arm/libm-test-ulps: Update.
14148
14149 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14150 as base implementation.
14151 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14152 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14153 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14154 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14155 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14156 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14157 remove unrequired definitions and update comments.
14158 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14159 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14160 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14161 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14162 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14163 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14164 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14165 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14166 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14167 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14168 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14169 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14170 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14171 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14172 and RESET_SA_RESTORER hooks.
14173
14174 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14175
14176 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14177
14178 2018-04-05 Florian Weimer <fweimer@redhat.com>
14179
14180 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14181 integer overflow, memory leak on error, and indeterminate errno
14182 value. Add a null wide character to terminate the result string.
14183 * manual/charset.texi (Converting a Character): Mention embedded
14184 null bytes in the mbrtowc input string. Explain what happens in
14185 the -2 result case. Do not claim that mbrtowc is simple or
14186 obvious to use. Adjust the description of the code example. Use
14187 @code, not @var, for concrete variables.
14188
14189 2018-04-05 Florian Weimer <fweimer@redhat.com>
14190
14191 * manual/examples/mbstouwcs.c: New file.
14192 * manual/charset.texi (Converting a Character): Include it.
14193
14194 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14195
14196 * include/dirent.h (dirfd): Add hidden proto.
14197 * dirent/dirfd.c (dirfd): Add hidden def.
14198 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14199 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
14200
14201 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14202
14203 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14204 sin, cos and sincos to 1 ULP.
14205
14206 2018-04-04 Maciej W. Rozycki <macro@mips.com>
14207
14208 [BZ #19818]
14209 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14210 symbols.
14211 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14212 * elf/tst-absolute-sym.c: New file.
14213 * elf/tst-absolute-sym-lib.c: New file.
14214 * elf/tst-absolute-sym-lib.lds: New file.
14215 * elf/Makefile (tests): Add `tst-absolute-sym'.
14216 (modules-names): Add `tst-absolute-sym-lib'.
14217 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14218 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14219 ($(objpfx)tst-absolute-sym): New dependency.
14220
14221 [BZ #19818]
14222 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14223 parameter.
14224 (SYMBOL_ADDRESS): New macro.
14225 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14226 SYMBOL_ADDRESS for symbol address calculation.
14227 * elf/dl-runtime.c (_dl_fixup): Likewise.
14228 (_dl_profile_fixup): Likewise.
14229 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14230 * elf/rtld.c (dl_main): Likewise.
14231 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14232 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14233 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14234 (elf_machine_rela): Likewise.
14235 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14236 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14237 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14238 (elf_machine_rela): Likewise.
14239 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14240 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14241 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14242 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14243 Likewise.
14244 (elf_machine_reloc): Likewise.
14245 (elf_machine_got_rel): Likewise.
14246 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14247 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14248 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14249 Likewise.
14250 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14251 Likewise.
14252 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14253 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14254 Likewise.
14255 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14256 Likewise.
14257 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14258 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14259 Likewise.
14260 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14261 Likewise.
14262 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14263 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14264
14265 2018-04-04 Zack Weinberg <zackw@panix.com>
14266
14267 * sysdeps/generic/internal-signals.h: Include signal.h,
14268 sigsetops.h, and stdbool.h.
14269 (__libc_signal_block_all): Actually block all signals.
14270 (__libc_signal_block_app): Likewise.
14271 (__libc_signal_restore_set): Actually restore the signal mask.
14272
14273 2018-04-04 Florian Weimer <fweimer@redhat.com>
14274
14275 inet: Actually build and run tst-deadline.
14276 * inet/Makefile (tests-internal): Add tst-deadline and do not
14277 overwrite the variable.
14278 (tests-static-internal): Remove variable.
14279
14280 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14281
14282 [BZ #22947]
14283 * bits/uio-ext.h (RWF_APPEND): New.
14284 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14285 * manual/llio.texi: Document RWF_APPEND.
14286 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
14287 (RWF_SUPPORTED): Add RWF_APPEND.
14288
14289 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14290
14291 [BZ #22391]
14292 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
14293 check for internal nptl signals.
14294 * nptl/sigaction.c (__sigaction): Likewise.
14295 * signal/sigaddset.c (sigaddset): Likewise.
14296 * signal/sigdelset.c (sigdelset): Likewise.
14297 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14298 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14299 value.
14300 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14301 to filter out internal nptl signals.
14302 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14303 also check realtime signals using standard macros.
14304 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
14305 __is_internal_signal, __libc_signal_block_all,
14306 __libc_signal_block_app, __libc_signal_restore_set): New functions.
14307 * sysdeps/nptl/sigfillset.c: Remove file.
14308 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
14309 Change return to bool.
14310 (__clear_internal_signals): Remove SIGTIMER clean since it is
14311 equal to SIGCANEL on Linux.
14312 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
14313 signal set was constructed using standard functions.
14314
14315 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14316
14317 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
14318 ifname is too long.
14319 * hurd/hurdsig.c (interrupted_reply_port_location): Use
14320 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
14321 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
14322 hidden def.
14323 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
14324 * signal/sigaddset.c: Include <sigsetopts.h>.
14325 * signal/sigdelset.c: Likewise.
14326
14327 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14328
14329 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
14330 (__cos): Likewise.
14331 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
14332 logic as sin and cos.
14333
14334 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14335
14336 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
14337 inputs. Return correct sign.
14338 (do_sincos): Remove small input check before do_sin, let do_sin set
14339 the sign.
14340 (__sin): Likewise.
14341 (__cos): Likewise.
14342
14343 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14344
14345 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
14346 (do_cos_slow): Likewise.
14347 (do_sin_slow): Likewise.
14348 (reduce_and_compute): Likewise.
14349 (slow): Likewise.
14350 (slow1): Likewise.
14351 (slow2): Likewise.
14352 (sloww): Likewise.
14353 (sloww1): Likewise.
14354 (sloww2): Likewise.
14355 (bslow): Likewise.
14356 (bslow1): Likewise.
14357 (bslow2): Likewise.
14358 (cslow2): Likewise.
14359
14360 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14361
14362 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
14363 (do_cos): Remove corp parameter and calculations.
14364 (do_sin): Likewise.
14365 (do_sincos): Remove cor variable.
14366 (__sin): Use do_sincos for huge inputs.
14367 (__cos): Likewise.
14368 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14369 (reduce_and_compute_sincos): Remove unused function.
14370
14371 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14372
14373 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
14374 reduce_sincos, improve accuracy to 136 bits.
14375 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
14376 (__sin): Use improved reduction and simplified do_sincos calculation.
14377 (__cos): Likewise.
14378 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14379
14380 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14381
14382 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
14383 (do_sincos_2): Likewise.
14384 (__sin): Remove middle range reduction case.
14385 (__cos): Likewise.
14386 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
14387 reduction case.
14388
14389 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14390
14391 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
14392 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
14393 inputs.
14394 (__cos): Likewise.
14395 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
14396
14397 2018-04-03 Joseph Myers <joseph@codesourcery.com>
14398
14399 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14400 version to 4.16
14401
14402 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14403
14404 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
14405 Remove definitions.
14406 (opendir_oflags): Use O_DIRECTORY regardless.
14407 (__opendir, __opendirat): Remove need_isdir_precheck usage.
14408 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
14409
14410 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14411
14412 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
14413 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
14414 macros.
14415 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
14416 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
14417 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
14418 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
14419 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
14420 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
14421
14422 * htl/Makefile: Bump licence to LGPL 2.1+.
14423 * htl/alloca_cutoff.c: Likewise.
14424 * htl/cthreads-compat.c: Likewise.
14425 * htl/lockfile.c: Likewise.
14426 * htl/pt-alloc.c: Likewise.
14427 * htl/pt-cancel.c: Likewise.
14428 * htl/pt-cleanup.c: Likewise.
14429 * htl/pt-create.c: Likewise.
14430 * htl/pt-dealloc.c: Likewise.
14431 * htl/pt-detach.c: Likewise.
14432 * htl/pt-exit.c: Likewise.
14433 * htl/pt-getattr.c: Likewise.
14434 * htl/pt-initialize.c: Likewise.
14435 * htl/pt-internal.h: Likewise.
14436 * htl/pt-join.c: Likewise.
14437 * htl/pt-self.c: Likewise.
14438 * htl/pt-setcancelstate.c: Likewise.
14439 * htl/pt-setcanceltype.c: Likewise.
14440 * htl/pt-sigmask.c: Likewise.
14441 * htl/pt-spin-inlines.c: Likewise.
14442 * htl/pt-testcancel.c: Likewise.
14443 * htl/pt-yield.c: Likewise.
14444 * htl/tests/test-1.c: Likewise.
14445 * htl/tests/test-10.c: Likewise.
14446 * htl/tests/test-11.c: Likewise.
14447 * htl/tests/test-12.c: Likewise.
14448 * htl/tests/test-13.c: Likewise.
14449 * htl/tests/test-14.c: Likewise.
14450 * htl/tests/test-15.c: Likewise.
14451 * htl/tests/test-16.c: Likewise.
14452 * htl/tests/test-17.c: Likewise.
14453 * htl/tests/test-2.c: Likewise.
14454 * htl/tests/test-3.c: Likewise.
14455 * htl/tests/test-4.c: Likewise.
14456 * htl/tests/test-5.c: Likewise.
14457 * htl/tests/test-6.c: Likewise.
14458 * htl/tests/test-7.c: Likewise.
14459 * htl/tests/test-8.c: Likewise.
14460 * htl/tests/test-9.c: Likewise.
14461 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
14462 * sysdeps/htl/bits/cancelation.h: Likewise.
14463 * sysdeps/htl/bits/pthread-np.h: Likewise.
14464 * sysdeps/htl/bits/pthread.h: Likewise.
14465 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
14466 * sysdeps/htl/bits/semaphore.h: Likewise.
14467 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
14468 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
14469 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
14470 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
14471 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
14472 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
14473 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
14474 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
14475 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
14476 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
14477 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
14478 * sysdeps/htl/old_pt-atfork.c: Likewise.
14479 * sysdeps/htl/pt-atfork.c: Likewise.
14480 * sysdeps/htl/pt-attr-destroy.c: Likewise.
14481 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
14482 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
14483 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
14484 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
14485 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
14486 * sysdeps/htl/pt-attr-getscope.c: Likewise.
14487 * sysdeps/htl/pt-attr-getstack.c: Likewise.
14488 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
14489 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
14490 * sysdeps/htl/pt-attr-init.c: Likewise.
14491 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
14492 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
14493 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
14494 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
14495 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
14496 * sysdeps/htl/pt-attr-setscope.c: Likewise.
14497 * sysdeps/htl/pt-attr-setstack.c: Likewise.
14498 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
14499 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
14500 * sysdeps/htl/pt-attr.c: Likewise.
14501 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
14502 * sysdeps/htl/pt-barrier-init.c: Likewise.
14503 * sysdeps/htl/pt-barrier-wait.c: Likewise.
14504 * sysdeps/htl/pt-barrier.c: Likewise.
14505 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
14506 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
14507 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
14508 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
14509 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
14510 * sysdeps/htl/pt-cond-destroy.c: Likewise.
14511 * sysdeps/htl/pt-cond-init.c: Likewise.
14512 * sysdeps/htl/pt-cond-signal.c: Likewise.
14513 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
14514 * sysdeps/htl/pt-cond-wait.c: Likewise.
14515 * sysdeps/htl/pt-cond.c: Likewise.
14516 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
14517 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
14518 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
14519 * sysdeps/htl/pt-condattr-init.c: Likewise.
14520 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
14521 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
14522 * sysdeps/htl/pt-destroy-specific.c: Likewise.
14523 * sysdeps/htl/pt-equal.c: Likewise.
14524 * sysdeps/htl/pt-getconcurrency.c: Likewise.
14525 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
14526 * sysdeps/htl/pt-getschedparam.c: Likewise.
14527 * sysdeps/htl/pt-getspecific.c: Likewise.
14528 * sysdeps/htl/pt-init-specific.c: Likewise.
14529 * sysdeps/htl/pt-key-create.c: Likewise.
14530 * sysdeps/htl/pt-key-delete.c: Likewise.
14531 * sysdeps/htl/pt-key.h: Likewise.
14532 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
14533 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
14534 * sysdeps/htl/pt-mutex-init.c: Likewise.
14535 * sysdeps/htl/pt-mutex-lock.c: Likewise.
14536 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
14537 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
14538 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
14539 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
14540 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
14541 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
14542 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
14543 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
14544 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
14545 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
14546 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
14547 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
14548 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
14549 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
14550 * sysdeps/htl/pt-mutexattr.c: Likewise.
14551 * sysdeps/htl/pt-once.c: Likewise.
14552 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
14553 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
14554 * sysdeps/htl/pt-rwlock-init.c: Likewise.
14555 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
14556 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
14557 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
14558 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
14559 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
14560 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
14561 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14562 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14563 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14564 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14565 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14566 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14567 * sysdeps/htl/pt-setschedparam.c: Likewise.
14568 * sysdeps/htl/pt-setschedprio.c: Likewise.
14569 * sysdeps/htl/pt-setspecific.c: Likewise.
14570 * sysdeps/htl/pt-spin.c: Likewise.
14571 * sysdeps/htl/pt-startup.c: Likewise.
14572 * sysdeps/htl/pthread.h: Likewise.
14573 * sysdeps/htl/sem-close.c: Likewise.
14574 * sysdeps/htl/sem-destroy.c: Likewise.
14575 * sysdeps/htl/sem-getvalue.c: Likewise.
14576 * sysdeps/htl/sem-init.c: Likewise.
14577 * sysdeps/htl/sem-open.c: Likewise.
14578 * sysdeps/htl/sem-post.c: Likewise.
14579 * sysdeps/htl/sem-timedwait.c: Likewise.
14580 * sysdeps/htl/sem-trywait.c: Likewise.
14581 * sysdeps/htl/sem-unlink.c: Likewise.
14582 * sysdeps/htl/sem-wait.c: Likewise.
14583 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14584 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14585 * sysdeps/mach/htl/pt-block.c: Likewise.
14586 * sysdeps/mach/htl/pt-spin.c: Likewise.
14587 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14588 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14589 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14590 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14591 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14592 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14593 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14594 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14595 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14596 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14597 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14598 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14599 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14600 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14601 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14602 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14603 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14604 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14605 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14606 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14607 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14608 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14609 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14610 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14611 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14612 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14613 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14614 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14615 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14616 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14617 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14618 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14619 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14620 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14621 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14622 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14623 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14624 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14625 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14626 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14627 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14628 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14629 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14630
14631 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14632 * README: Remove the mention of out-of-tree patches needed for
14633 GNU/Hurd.
14634
14635 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14636 (UTIME_NOW, UTIME_OMIT): Define macros.
14637
14638 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14639 instead of pthread_detach.
14640 (__cthread_fork): Call __pthread_create instead of pthread_create.
14641 (__cthread_keycreate): Call __pthread_key_create instead of
14642 pthread_key_create.
14643 (__cthread_getspecific): Call __pthread_getspecific instead of
14644 pthread_getspecific.
14645 (__cthread_setspecific): Call __pthread_setspecific instead of
14646 pthread_setspecific.
14647 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14648 __pthread_mutex_unlock instead of pthread_mutex_lock and
14649 pthread_mutex_unlock.
14650 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14651 ___pthread_get_cleanup_stack.
14652 (__pthread_get_cleanup_stack): New strong alias.
14653 * htl/pt-create.c: Include <pthreadP.h>.
14654 (entry_point): Call __pthread_exit instead of pthread_exit.
14655 (pthread_create): Rename to __pthread_create.
14656 (pthread_create): New strong alias.
14657 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14658 (pthread_detach): New strong alias.
14659 (__pthread_detach): Call __pthread_cond_broadcast instead of
14660 pthread_cond_broadcast.
14661 * htl/pt-exit.c: Include <pthreadP.h>.
14662 (__pthread_exit): Call __pthread_setcancelstate and
14663 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14664 __pthread_get_cleanup_stack.
14665 * htl/pt-testcancel.c: Include <pthreadP.h>.
14666 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14667 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14668 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14669 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14670 pthread_attr_getstacksize.
14671 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14672 Rename to __pthread_attr_getstackaddr.
14673 (pthread_attr_getstackaddr): New strong alias.
14674 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14675 Rename to __pthread_attr_getstacksize.
14676 (pthread_attr_getstacksize): New strong alias.
14677 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14678 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14679 (pthread_attr_setstack): New strong alias.
14680 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14681 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14682 pthread_attr_getstacksize, pthread_attr_setstacksize and
14683 pthread_attr_setstackaddr.
14684 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14685 Rename to __pthread_attr_setstackaddr.
14686 (pthread_attr_setstackaddr): New strong alias.
14687 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14688 Rename to __pthread_attr_setstacksize.
14689 (pthread_attr_setstacksize): New strong alias.
14690 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14691 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14692 pthread_exit.
14693 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14694 (__pthread_key_create): New hidden def.
14695 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14696 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14697 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14698 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14699 __pthread_setspecific, __pthread_setcancelstate,
14700 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14701 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14702 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14703 declarations.
14704 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14705 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14706 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14707 (pthread_attr_setstackaddr): New strong alias.
14708 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14709 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14710 (pthread_attr_setstacksize): New strong alias.
14711 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14712 (call_exit): Call __pthread_exit instead of pthread_exit.
14713 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14714 (_pthread_mutex_init): New hidden definition.
14715 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14716 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14717 instead of pthread_attr_init and pthread_attr_setstack.
14718
14719 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14720 __vm_deallocate instead of vm_allocate and vm_deallocate.
14721 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14722 setenv.
14723 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14724 of geteuid.
14725 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14726 strdup.
14727 * hurd/siginfo.c: Include <libioP.h>.
14728 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14729 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14730 munmap.
14731 * mach/devstream.c: Include <libioP.h>.
14732 (dealloc_ref): Call __mach_port_deallocate instead of
14733 mach_port_deallocate.
14734 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14735 Call __mach_port_deallocate instead of mach_port_deallocate.
14736 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14737 pathconf.
14738 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14739 munmap.
14740 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14741 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14742 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14743 of munmap.
14744 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14745 of close.
14746 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14747 instead of sysconf.
14748 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14749 __clock_gettime instead of clock_gettime.
14750 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14751 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14752 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14753 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14754 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14755 tcgetattr.
14756 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14757 __clock_gettime and __nanosleep instead of clock_gettime and
14758 nanosleep.
14759 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14760 __hurd_catch_signal.
14761 (hurd_catch_signal): New strong alias.
14762 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14763 __hurd_catch_signal instead of hurd_catch_signal.
14764 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14765 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14766 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14767 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14768 (_hurd_thread_sigstate): Add hidden def.
14769 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14770 mutex_unlock.
14771 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14772 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14773 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14774 __hurd_file_name_path_lookup.
14775 (hurd_file_name_path_lookup): New strong alias.
14776 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14777 hurd_file_name_path_lookup.
14778 * mach/errstring.c (mach_error_type): Add hidden def.
14779 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14780 * mach/mutex-init.c (__mutex_init): Add hidden def.
14781 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14782 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14783 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14784 * sysdeps/mach/hurd/getcwd.c
14785 (_hurd_canonicalize_directory_name_internal): Rename to
14786 __hurd_canonicalize_directory_name_internal.
14787 (_hurd_canonicalize_directory_name_internal): New strong alias.
14788 (__canonicalize_directory_name_internal, __getcwd): Call
14789 __hurd_canonicalize_directory_name_internal instead of
14790 _hurd_canonicalize_directory_name_internal.
14791 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14792 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14793 hidden defs.
14794 * sysdeps/hurd/include/hurd.h: New file.
14795 * sysdeps/hurd/include/hurd/fd.h: New file.
14796 * sysdeps/hurd/include/hurd/signal.h: New file.
14797 * sysdeps/mach/include/lock-intern.h: New file.
14798 * sysdeps/mach/include/mach.h: New file.
14799 * sysdeps/mach/include/mach/mig_support.h: New file.
14800 * sysdeps/mach/include/mach_error.h: New file.
14801 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14802 prototype.
14803 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14804 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14805 _HEADER_H_HIDDEN_DEF macro.
14806 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14807 _hurd_fd_error_signal): Add hidden prototype.
14808 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14809 hidden def.
14810 * libio/iolibio.h (_IO_puts): New hidden prototype.
14811 * libio/ioputs.c (_IO_puts): New hidden def.
14812 * sysdeps/mach/hurd/localplt.data: New file.
14813
14814 2018-04-02 Agustina Arzille <avarzille@riseup.net>
14815 Amos Jeffries <squid3@treenet.co.nz>
14816 David Michael <fedora.dm0@gmail.com>
14817 Marco Gerards <marco@gnu.org>
14818 Marcus Brinkmann <marcus@gnu.org>
14819 Neal H. Walfield <neal@gnu.org>
14820 Pino Toscano <toscano.pino@tiscali.it>
14821 Richard Braun <rbraun@sceen.net>
14822 Roland McGrath <roland@gnu.org>
14823 Samuel Thibault <samuel.thibault@ens-lyon.org>
14824 Thomas DiModica <ricinwich@yahoo.com>
14825 Thomas Schwinge <tschwinge@gnu.org>
14826
14827 * htl: New directory.
14828 * sysdeps/htl: New directory.
14829 * sysdeps/hurd/htl: New directory.
14830 * sysdeps/i386/htl: New directory.
14831 * sysdeps/mach/htl: New directory.
14832 * sysdeps/mach/hurd/htl: New directory.
14833 * sysdeps/mach/hurd/i386/htl: New directory.
14834 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14835 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14836 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14837
14838 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14839
14840 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14841 signals in thread created for runing timers.
14842
14843 2018-04-01 Florian Weimer <fweimer@redhat.com>
14844
14845 * support/support_format_addrinfo.c (support_format_addrinfo):
14846 Include unknown error number in formatted result.
14847
14848 2018-03-29 Florian Weimer <fweimer@redhat.com>
14849
14850 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14851 capture SIGBUS.
14852
14853 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14854
14855 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14856 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14857 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14858 (__ASSUME_CLONE_BACKWARDS): Define.
14859
14860 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14861
14862 [BZ #23024]
14863 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14864 early when linux sentinel value is set.
14865
14866 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14867
14868 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14869
14870 2018-03-27 Andreas Schwab <schwab@suse.de>
14871
14872 [BZ #23005]
14873 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14874 allocation of private copy of nsaddr_list fails.
14875
14876 2018-03-26 Joseph Myers <joseph@codesourcery.com>
14877
14878 [BZ #16552]
14879 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14880 * sysdeps/unix/sysv/linux/umount.c: ... here.
14881 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14882 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14883 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14884 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14886 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14887 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14888
14889 2018-03-26 Andreas Schwab <schwab@suse.de>
14890
14891 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14892 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14893 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14894 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14895 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14896 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14897 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14898 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14899 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14900 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14901 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14902 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14903 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14904 (R_RISCV_NUM): Define.
14905
14906 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14907
14908 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14909 TLS declaration of errno.
14910 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14911 __libc_setup_tls.
14912 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14913 (ARCH_SETUP_TLS): Likewise.
14914 * sysdeps/mach/hurd/libc-start.h: New file copied from
14915 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
14916 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14917 instead of __libc_setup_tls.
14918 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
14919 __libc_setup_tls before initializing libpthread and running _hurd_init
14920 which starts the signal thread.
14921 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14922 Declare function.
14923 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14924
14925 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14926
14927 [BZ #22998]
14928 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14929 after it is defined.
14930
14931 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14932 Max Horn <max@quendi.de>
14933
14934 [BZ #22644]
14935 CVE-2017-18269
14936 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14937 branch conditions.
14938 * string/test-memmove.c (do_test2): New testcase.
14939
14940 2018-03-22 Joseph Myers <joseph@codesourcery.com>
14941
14942 * sysdeps/generic/frame.h: Remove file.
14943 * sysdeps/arm/frame.h: Likewise.
14944 * sysdeps/hppa/frame.h: Likewise.
14945 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14946 macro.
14947 (GET_FRAME): Likewise.
14948 (GET_STACK): Likewise.
14949 (CALL_SIGHANDLER): Likewise.
14950 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14951 Likewise.
14952 (GET_FRAME): Likewise.
14953 (GET_STACK): Likewise.
14954 (CALL_SIGHANDLER): Likewise.
14955 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14956 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14957 (GET_FRAME): Likewise.
14958 (GET_STACK): Likewise.
14959 (CALL_SIGHANDLER): Likewise.
14960 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14961 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14962 (GET_FRAME): Likewise.
14963 (GET_STACK): Likewise.
14964 (ADVANCE_STACK_FRAME): Likewise.
14965 (CALL_SIGHANDLER): Likewise.
14966 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14967 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14968 (GET_FRAME): Likewise.
14969 (GET_STACK): Likewise.
14970 (CALL_SIGHANDLER): Likewise.
14971 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14972 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14973 (GET_FRAME): Likewise.
14974 (GET_STACK): Likewise.
14975 (CALL_SIGHANDLER): Likewise.
14976 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
14977 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14978 (GET_FRAME): Likewise.
14979 (GET_STACK): Likewise.
14980 (CALL_SIGHANDLER): Likewise.
14981 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
14982 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14983 (GET_FRAME): Likewise.
14984 (GET_STACK): Likewise.
14985 (CALL_SIGHANDLER): Likewise.
14986 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
14987 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14988 (GET_FRAME): Likewise.
14989 (GET_STACK): Likewise.
14990 (CALL_SIGHANDLER): Likewise.
14991 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
14992 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14993 (GET_FRAME): Likewise.
14994 (GET_STACK): Likewise.
14995 (CALL_SIGHANDLER): Likewise.
14996 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
14997 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14998 (GET_FRAME): Likewise.
14999 (GET_STACK): Likewise.
15000 (CALL_SIGHANDLER): Likewise.
15001 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15002 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15003 (GET_FRAME): Likewise.
15004 (GET_STACK): Likewise.
15005 (CALL_SIGHANDLER): Likewise.
15006 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15007 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15008 (GET_FRAME): Likewise.
15009 (GET_STACK): Likewise.
15010 (CALL_SIGHANDLER): Likewise.
15011 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15012 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15013 (FIRST_FRAME_POINTER): Likewise.
15014 (ADVANCE_STACK_FRAME): Likewise.
15015 (GET_STACK): Likewise.
15016 (GET_FRAME): Likewise.
15017 (CALL_SIGHANDLER): Likewise.
15018 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15019 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15020 (ADVANCE_STACK_FRAME): Likewise.
15021 (GET_STACK): Likewise.
15022 (GET_FRAME): Likewise.
15023 (CALL_SIGHANDLER): Likewise.
15024 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15025 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15026 (GET_FRAME): Likewise.
15027 (GET_STACK): Likewise.
15028 (CALL_SIGHANDLER): Likewise.
15029 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15030 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15031 (GET_FRAME): Likewise.
15032 (GET_STACK): Likewise.
15033 (CALL_SIGHANDLER): Likewise.
15034
15035 2018-03-21 Joseph Myers <joseph@codesourcery.com>
15036
15037 * sysdeps/x86_64/backtrace.c: Move to ....
15038 * debug/backtrace.c: ... here.
15039 * sysdeps/aarch64/backtrace.c: Remove file.
15040 * sysdeps/alpha/backtrace.c: Likewise.
15041 * sysdeps/hppa/backtrace.c: Likewise.
15042 * sysdeps/ia64/backtrace.c: Likewise.
15043 * sysdeps/mips/backtrace.c: Likewise.
15044 * sysdeps/nios2/backtrace.c: Likewise.
15045 * sysdeps/riscv/backtrace.c: Likewise.
15046 * sysdeps/sh/backtrace.c: Likewise.
15047 * sysdeps/tile/backtrace.c: Likewise.
15048
15049 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15050
15051 [BZ #22987]
15052 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15053 function.
15054 (fdimf): Likewise.
15055 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15056
15057 [BZ #17343]
15058 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15059 possibly overflowing computations.
15060
15061 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15062
15063 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
15064 values from Linux-specific section now that it is in the GNU section.
15065 * sysdeps/gnu/errlist.c: Regenerate.
15066
15067 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15068
15069 * math/Makefile (libm-narrow-fns): Add sub.
15070 (libm-test-funcs-narrow): Likewise.
15071 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
15072 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
15073 * math/gen-auto-libm-tests.c (test_functions): Add sub.
15074 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
15075 (NARROW_SUB_ROUND_TO_ODD): Likewise.
15076 (NARROW_SUB_TRIVIAL): Likewise.
15077 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
15078 macro.
15079 (__dsubl): Likewise.
15080 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
15081 dsub.
15082 (CFLAGS-nldbl-dsub.c): New variable.
15083 (CFLAGS-nldbl-fsub.c): Likewise.
15084 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15085 __nldbl_dsubl.
15086 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
15087 prototype.
15088 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
15089 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
15090 * math/auto-libm-test-in: Add tests of sub.
15091 * math/auto-libm-test-out-narrow-sub: New generated file.
15092 * math/libm-test-narrow-sub.inc: New file.
15093 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15094 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
15095 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
15096 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
15097 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
15098 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
15099 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
15100 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
15101 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
15102 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
15103 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
15104 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
15105 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
15106 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
15107 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
15108 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
15109 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
15110 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
15111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15112 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15113 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15114 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15115 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15116 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15117 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15118 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15119 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15120 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15121 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15122 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15123 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15124 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15129 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15130 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15131 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15132 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15133 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15134 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15135 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15136 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15137 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15138 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15139
15140 2018-03-19 Joseph Myers <joseph@codesourcery.com>
15141
15142 [BZ #20079]
15143 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
15144
15145 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15146
15147 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15148
15149 2018-03-18 Richard Braun <rbraun@sceen.net>
15150
15151 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15152 thread reference.
15153
15154 2018-03-18 Agustina Arzille <avarzille@riseup.net>
15155
15156 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15157 (__libc_cleanup_fct): Define function.
15158 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15159 __libc_cleanup_end): Rewrite implementation using
15160 __attribute__ ((__cleanup__)).
15161 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
15162 * hurd/Makefile (routines): Add hurdlock.
15163 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15164 interface.
15165 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15166 * hurd/hurdpid.c: Include <lowlevellock.h>
15167 (_S_msg_proc_newids): Use lll_wait to synchronize.
15168 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15169 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15170 * mach/Makefile (lock-headers): Remove machine-lock.h.
15171 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15172 <machine-lock.h>.
15173 (__spin_lock_t): New type.
15174 (__SPIN_LOCK_INITIALIZER): New macro.
15175 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15176 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15177 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15178 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15179 (__mutex_init): Initialize with lll.
15180 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15181 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15182 needing lll.
15183 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15184 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15185 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15186 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15187 (__setpgid): Use lll for synchronization.
15188 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15189 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15190 instead of <cthreads.h>.
15191 (_IO_lock_inexpensive): New macro
15192 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15193 (__libc_lock_self0): New declaration.
15194 (__libc_lock_owner_self): New macro.
15195 (__libc_key_t): Remove type.
15196 (_LIBC_LOCK_INITIALIZER): New macro.
15197 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15198 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15199 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15200 __libc_lock_define_initialized_recursive,
15201 __rtld_lock_define_initialized_recursive,
15202 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15203 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15204 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15205 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15206 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15207 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15208 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15209 New macros.
15210 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15211 * hurd/hurdlock.c: New file.
15212 * hurd/hurdlock.h: New file.
15213 * mach/lowlevellock.h: New file
15214
15215 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15216
15217 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
15218 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15219 when opening a symlink with O_NOFOLLOW.
15220 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15221 path when flags contains O_NOFOLLOW.
15222 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15223 if flags contains O_DIRECTORY and the result is a directory.
15224 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15225 oneself when the pointer given in D is nul (as set by ext2fs).
15226 * sysdeps/mach/hurd/mlockall.c: New file.
15227 * sysdeps/mach/hurd/munlockall.c: New file.
15228
15229 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15230
15231 * hurd/hurdsig.c: Include <pthread.h>.
15232 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15233 get the signal thread stack layout.
15234 * hurd/Makefile (headers): Remove threadvar.h.
15235 (inline-headers): Remove threadvar.h.
15236 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15237 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15238 __hurd_threadvar_max, __hurd_errno_location.
15239 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15240 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15241 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15242 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15243 unless TLS is not initialized yet, in which case we do not need a
15244 critical section yet anyway.
15245 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15246 <machine-sp.h>.
15247 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15248 declarations.
15249 (__hurd_threadvar_index): Remove enum.
15250 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15251 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15252 inlines.
15253 (__hurd_reply_port0): New variable declaration.
15254 (__hurd_local_reply_port): New macro.
15255 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15256 (interrupted_reply_port_location): Add thread_t parameter. Use it
15257 with THREAD_TCB to access thread-local variables.
15258 (_hurdsig_abort_rpcs): Pass ss->thread to
15259 interrupted_reply_port_location.
15260 (_hurd_internal_post_signal): Likewise.
15261 (_hurdsig_init): Use presence of cthread_fork instead of
15262 __hurd_threadvar_stack_mask to start signal thread by hand.
15263 Remove signal thread threadvar initialization.
15264 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15265 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15266 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15267 of threadvar.
15268 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15269 __libc_lock_self0.
15270 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15271 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15272 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15273 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15274 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15275 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15276 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15277 define variables.
15278 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15279 <hurd/threadvar.h>.
15280 [IS_IN(rtld)] (rtld_errno): New variable.
15281 [IS_IN(rtld)] (__errno_location): New weak function.
15282 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15283 * sysdeps/mach/hurd/errno.c: Remove file.
15284 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15285 (__fork): Remove THREADVAR_SPACE macro and its use.
15286 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
15287 variable.
15288 (init): Do not initialize threadvar.
15289 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
15290 symbol.
15291 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
15292 __hurd_local_reply_port instead of threadvar.
15293 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
15294 _hurd_sigstate fields.
15295 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
15296 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
15297 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15298 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15299 instead of threadvar.
15300 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15301 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15302 (use_threadvar, global_reply_port): Remove variables.
15303 (__hurd_reply_port0): New variable.
15304 (__mig_get_reply_port): Use __hurd_local_reply_port and
15305 __hurd_reply_port0 instead of threadvar.
15306 (__mig_dealloc_reply_port): Likewise.
15307 (__mig_init): Do not initialize threadvar.
15308 * sysdeps/mach/hurd/profil.c: Fix comment.
15309 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
15310 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
15311 cthread_keycreate, cthread_getspecific, cthread_setspecific to
15312 __cthread_fork, __cthread_detach, __pthread_getattr_np,
15313 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
15314 __cthread_setspecific.
15315 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
15316 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
15317 __cthread_t instead of cthread_fork, cthread_detach,
15318 pthread_getattr_np, pthread_attr_getstack.
15319 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
15320 __cthread_keycreate.
15321 (cthread_getspecific): Rename to __cthread_getspecific.
15322 (cthread_setspecific): Rename to __cthread_setspecific.
15323 (__libc_getspecific): Use __cthread_getspecific instead of
15324 cthread_getspecific.
15325 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
15326 __cthread_keycreate instead of cthread_keycreate.
15327 (__libc_setspecific): Use __cthread_setspecific instead of
15328 cthread_setspecific.
15329 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
15330 Likewise.
15331 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
15332 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
15333 testing whether it is defined.
15334
15335 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15336
15337 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
15338 Define macro.
15339 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
15340 * sysdeps/mach/i386/thread_state.h
15341 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
15342 i386_THREAD_STATE.
15343 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
15344 i386_THREAD_STATE.
15345 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
15346
15347 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
15348 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
15349
15350 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
15351 macros.
15352 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
15353 descriptor instead of creating a new one.
15354 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
15355
15356 * mach/setup-thread.c: Include <ldsodefs.h>.
15357 (__mach_setup_thread): Call _dl_allocate_tls, pass
15358 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
15359 MACHINE_THREAD_STATE_FLAVOR, before getting
15360 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
15361 MACHINE_THREAD_STATE_FLAVOR with the result.
15362 * hurd/hurdfault.c (_hurdsig_fault_init): Call
15363 MACHINE_THREAD_STATE_FIX_NEW.
15364 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
15365 too. Add original thread parameter.
15366
15367 2018-03-16 Joseph Myers <joseph@codesourcery.com>
15368
15369 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
15370 Remove inline function.
15371
15372 * sysdeps/i386/fpu/libm-test-ulps: Update.
15373 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15374
15375 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
15376
15377 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
15378 commit.
15379
15380 2018-03-15 Joseph Myers <joseph@codesourcery.com>
15381
15382 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
15383 (__sincos_code): Remove define and undefine.
15384 [__FAST_MATH__] (__sincos): Remove inline function.
15385 [__FAST_MATH__] (__sincosf): Remove inline function.
15386 [__FAST_MATH__] (__sincosl): Remove inline function.
15387 (__atan2l): Remove inline functions.
15388 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
15389 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
15390 function.
15391 (floor): Remove inline function.
15392 (ceil): Likewise.
15393 [__FAST_MATH__] (__ldexp_code): Remove macro.
15394 [__FAST_MATH__] (ldexp): Remove inline function.
15395 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
15396 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
15397 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
15398 [__USE_ISOC99] (__lrint_code): Remove macro.
15399 [__USE_ISOC99] (__llrint_code): Likewise.
15400 [__USE_ISOC99] (lrintf): Remove inline function.
15401 [__USE_ISOC99] (lrint): Likewise.
15402 [__USE_ISOC99] (lrintl): Likewise.
15403 [__USE_ISOC99] (llrint): Likewise.
15404 [__USE_ISOC99] (llrintf): Likewise.
15405 [__USE_ISOC99] (llrintl): Likewise.
15406
15407 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15408
15409 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
15410 (__ieee754_sqrtf): Remove.
15411 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
15412 (__ieee754_sqrtf): Remove.
15413 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
15414 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15415 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
15416 (__ieee754_sqrtf): Remove.
15417 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
15418 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
15419 (sqrtf): Remove.
15420 (sqrtl): Remove.
15421 (__ieee754_sqrt): Remove.
15422 (__ieee754_sqrtf): Remove.
15423 (__ieee754_sqrtl): Remove.
15424 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15425 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
15426 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
15427 (__ieee754_sqrtf): Remove.
15428 (__ieee754_sqrtl): Remove.
15429
15430 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15431
15432 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
15433 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15434 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15435 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
15436 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
15437 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15438 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15439 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15440 Likewise.
15441 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
15442 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
15443 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15444 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15445 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
15446 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
15447 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15448 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15449 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15450 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15451 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
15452 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15453 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
15454 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
15455 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
15456 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15457 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15458 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15459 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
15460 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
15461 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15462 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15463 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
15464 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
15465 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
15466 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
15467 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15468 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15469 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
15470 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15471 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15472 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
15473 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15474 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15475 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15476 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15477 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
15478 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
15479 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15480 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
15481
15482 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15483
15484 * include/math.h (sqrt): Declare with asm redirect.
15485 (sqrtf): Likewise.
15486 (sqrtl): Likewise.
15487 (sqrtf128): Likewise.
15488 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
15489 nonlib and libnldbl with -fmath-errno.
15490 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
15491 * math/w_sqrt_template.c: Likewise.
15492 * math/w_sqrtf_compat.c: Likewise.
15493 * math/w_sqrtl_compat.c: Likewise.
15494 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
15495 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
15496 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
15497 complex.h.
15498
15499 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15500
15501 * benchtests/Makefile: Define _ISOMAC.
15502 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
15503 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
15504 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
15505 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
15506 * benchtests/bench-timing.h: Define attribute_hidden.
15507
15508 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
15509
15510 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
15511 mov + lsr.
15512
15513 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15514
15515 [BZ #22963]
15516 * localedata/locales/cs_CZ (mon): Rename to...
15517 (alt_mon): This.
15518 (mon): Import from CLDR (genitive case).
15519
15520 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15521
15522 [BZ #22937]
15523 * localedata/locales/el_CY (abmon): Rename to...
15524 (ab_alt_mon): This.
15525 (abmon): Import from CLDR (abbreviated genitive case).
15526 * localedata/locales/el_GR (abmon): Rename to...
15527 (ab_alt_mon): This.
15528 (abmon): Import from CLDR (abbreviated genitive case).
15529
15530 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15531
15532 [BZ #22932]
15533 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
15534
15535 2018-03-15 Robert Buj <robert.buj@gmail.com>
15536
15537 [BZ #22848]
15538 * localedata/locales/ca_ES (abmon): Rename to...
15539 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15540 (mon): Rename to...
15541 (alt_mon): This.
15542 (abmon): Import from CLDR (genitive case, month names preceded by
15543 "de" or "d’").
15544 (mon): Likewise.
15545 (abday): Synchronize with CLDR.
15546 (d_t_fmt): Likewise.
15547 (d_fmt): Likewise.
15548 (am_pm): Likewise.
15549
15550 (LC_TIME): Improve indentation.
15551 (LC_TELEPHONE): Likewise.
15552 (LC_NAME): Likewise.
15553 (LC_ADDRESS): Likewise.
15554
15555 2018-03-14 Joseph Myers <joseph@codesourcery.com>
15556
15557 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
15558 (lrintf): Remove definitions used only with old GCC.
15559 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
15560 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
15561 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15562 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15563 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15564 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15565 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15566 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15567 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15568 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15569 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15570 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15571 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15572 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15573 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15574 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15575 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15576 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15577 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15578 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15579 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15580 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15581 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15582 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15583 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15584 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15585 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15586 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15587
15588 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15589
15590 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15591 instruction to unbreak builds with binutils 2.26 and older.
15592
15593 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15594
15595 * sysdeps/aarch64/strncmp.S (count): New macro.
15596 (strncmp): Store misaligned length in SRC1 in COUNT.
15597 (mutual_align): Adjust.
15598 (misaligned8): Load dword at a time when it is safe.
15599
15600 2018-03-12 Zack Weinberg <zackw@panix.com>
15601
15602 [BZ #1190]
15603 [BZ #19476]
15604 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15605 if the _IO_EOF_SEEN bit is already set; update commentary.
15606 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15607 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15608
15609 * support/support_openpty.c, support/tty.h: New files.
15610 * support/Makefile (libsupport-routines): Add support_openpty.
15611
15612 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15613 New test cases.
15614 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15615 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15616
15617 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15618
15619 * po/pt_BR.po: Update translations.
15620
15621 2018-03-12 David Michael <fedora.dm0@gmail.com>
15622
15623 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15624 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15625 get a port to the startup server.
15626
15627 2018-03-11 Zack Weinberg <zackw@panix.com>
15628
15629 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15630 before nldbl-compat.h.
15631
15632 2018-03-10 Zack Weinberg <zackw@panix.com>
15633
15634 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15635 math.h or math_private.h.
15636
15637 * sysdeps/alpha/fpu/s_isnan.c
15638 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15639 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15640 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15641 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15642 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15643 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15644 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15645 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15646 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15649 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15650 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15651 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15652 Include math_private.h.
15653
15654 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15655 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15656 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15657 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15658 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15659 * sysdeps/powerpc/power7/fpu/s_logb.c:
15660 Include math.h and math_private.h.
15661
15662 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15663 uses of $at in .set noat / .set at.
15664
15665 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15666
15667 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15668 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15669 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15670 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15671 Likewise.
15672
15673 2018-03-09 Florian Weimer <fweimer@redhat.com>
15674
15675 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15676 in comment.
15677
15678 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15679
15680 [BZ #22919]
15681 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15682 Add nop before __startcontext, add explaining comments.
15683
15684 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15685
15686 [BZ #22926]
15687 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15688 empty for __SPE__.
15689 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15690 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15691 Do not build hardware transactional code for __SPE__.
15692 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15693 (__lll_trylock_elision): Likewise.
15694 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15695 (__lll_unlock_elision): Likewise.
15696
15697 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
15698 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15699 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15700 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15701 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15702 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15703 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15704 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15705 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15706 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15707 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15708 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15709 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15710 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15711 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15712 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15713 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15714 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15715 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15716 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15717 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15718 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15719 (__ASSUME_CLONE_BACKWARDS): Define.
15720 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15721 __clone2 if __NR_clone2 is defined.
15722 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15723 (__ASSUME_CLONE_BACKWARDS): Likewise.
15724 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15725 (__ASSUME_CLONE_BACKWARDS): Likewise.
15726 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15727 (__ASSUME_CLONE2): Likewise.
15728 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15729 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15730 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15731 variants and the define architecture can use.
15732 (__ASSUME_CLONE_DEFAULT): Define as default.
15733 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15734 (__ASSUME_CLONE_BACKWARDS): Likewise.
15735 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15736 (__ASSUME_CLONE_BACKWARDS): Likewise.
15737 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15738 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15739
15740 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15741
15742 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15743
15744 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15745 time.
15746
15747 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15748 (do_test_limit): Likewise.
15749
15750 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15751 for every implementation.
15752 (do_test): Likewise.
15753
15754 * benchtests/bench-strncmp.c: Convert output to json.
15755
15756 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15757
15758 * io/futimens.c: Add missing start-of-file descriptive comment.
15759 * io/utime.c: Likewise.
15760 * misc/futimesat.c: Likewise.
15761 * misc/utimes.c: Likewise.
15762 * sysdeps/mach/hurd/futimesat.c: Likewise.
15763 * sysdeps/mach/hurd/utimes.c: Likewise.
15764 * sysdeps/posix/utime.c: Likewise.
15765 * sysdeps/posix/utimes.c: Likewise.
15766 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15767 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15768 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15769 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15770
15771 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15772
15773 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15774 hurd_futimes.
15775 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15776 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15777 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15778 (__futimens): Move implementation to...
15779 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15780 utime_tvalue_from_tspec): ... new helper functions.
15781 (hurd_futimens): New function.
15782 * sysdeps/mach/hurd/futimesat.c: New file.
15783 * sysdeps/mach/hurd/utimensat.c: New file.
15784
15785 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15786
15787 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15788 UTIME_OMIT): New macros.
15789 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15790 before reverting to converting time spec to time value and calling
15791 __file_utimes.
15792 * sysdeps/mach/hurd/utime-helper.c: New file.
15793 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15794 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15795 reverting to utime_tvalue_from_tval and __file_utimes.
15796 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15797 (__lutimes): Just call hurd_futimens after lookup.
15798 * sysdeps/mach/hurd/utimes.c: Likewise.
15799
15800 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15801
15802 * bits/sigaction.h: Add include guard.
15803 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15804 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15805 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15806 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15807 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15808 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15809 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15810 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15811 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15812
15813 2018-03-05 Joseph Myers <joseph@codesourcery.com>
15814
15815 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15816 -Wmaybe-uninitialized for -Os.
15817 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15818 this disabling.
15819
15820 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15821
15822 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15823 __INO_T_MATCHES_INO64_T is defined.
15824 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15825 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15826 of definition.
15827 * dirent/alphasort64.c: Likewise.
15828 * dirent/scandir.c: Likewise.
15829 * dirent/scandir64-tail.c: Likewise.
15830 * dirent/scandir64.c: Likewise.
15831 * dirent/scandirat.c: Likewise.
15832 * dirent/scandirat64.c: Likewise.
15833 * dirent/versionsort.c: Likewise.
15834 * dirent/versionsort64.c: Likewise.
15835 * include/dirent.h: Likewise.
15836
15837 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15838 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15839 for socketpair endpoint.
15840 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15841 WRITE_BUFFER_SIZE as buffer size for sending socket.
15842 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15843 issue on system where send is implemented with sendto syscall.
15844 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15845 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15846 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15847 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15848
15849 [BZ #21269]
15850 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15851 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15852 sa_restorer for vDSO case.
15853 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15854
15855 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15856
15857 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
15858 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15859 * hurd/hurd/ioctl.h: Include <mach/port.h>
15860 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
15861 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15862 <mach/mach_types.h> and <mach/message.h>.
15863 (headers): Move mach/param.h to bits/mach/param.h.
15864 * sysdeps/mach/i386/mach/param.h: Move file to ...
15865 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15866 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15867 of <mach/param.h>.
15868 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15869 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15870 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
15871 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15872 trivial, for C++ conformity.
15873 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
15874 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15875 Process mig output through $(migheadersed).
15876 * hurd/Makefile (migheadersed): Define variable.
15877 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15878 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15879 headers.
15880 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15881 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15882 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15883 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15884 <bits/types/sigset_t.h>.
15885 [!defined __USE_GNU]: Do not #error out.
15886 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15887 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15888 Include <stddef.h> and <bits/types/sigset_t.h>
15889 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15890 instead of sighandler_t.
15891 * stdlib/errno.h (error_t): Move definition to...
15892 * bits/types/error_t.h: ... new header.
15893 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15894 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15895 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15896 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15897 * hurd/hurd.h: Include <bits/types/error_t.h>
15898 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15899 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15900 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15901 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15902 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15903 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
15904 * sysdeps/mach/hurd/futimens.c: New file.
15905
15906 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15907
15908 [BZ #22918]
15909 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15910 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15911 * nscd/gai.c (__nss_hosts_database): Readd definition.
15912 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15913 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15914 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15915
15916 2018-03-02 Joseph Myers <joseph@codesourcery.com>
15917
15918 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15919 (ifunc_one): Likewise.
15920
15921 2018-03-01 DJ Delorie <dj@delorie.com>
15922
15923 [BZ #22342]
15924 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15925 key value.
15926
15927 2018-03-01 Maciej W. Rozycki <macro@mips.com>
15928
15929 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15930 `match_pid' parameter.
15931 (td_ta_thr_iter): Update accordingly.
15932
15933 2018-03-01 Florian Weimer <fweimer@redhat.com>
15934
15935 * nptl/Makefile (install-lib-ldscripts): Remove.
15936 (install): Remove rule.
15937 ($(inst_libdir)/libpthread.so): Likewise.
15938
15939 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15940
15941 [BZ #22896]
15942 * localedata/locales/an_ES: update month and day names,
15943 improve d_fmt, improve postal_fmt, add country_post,
15944 add country_isbn
15945
15946 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15947
15948 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15949 Ukrainian instead of Bulgarian.
15950
15951 2018-03-01 Florian Weimer <fweimer@redhat.com>
15952
15953 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15954 reference.
15955
15956 2018-03-01 Florian Weimer <fweimer@redhat.com>
15957
15958 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15959 * nptl/Makefile (routines): Add pthread_atfork.
15960 (static-only-routines): Set to pthread_atfork.
15961 (libpthread-routines): Remove pthread_atfork.
15962 (libpthread-static-only-routines): Remove.
15963 (install): Update comment.
15964 (libpthread.so): Do not install libpthread_nonshared.a.
15965 (tests): Do not link with libpthread_nonshared.a.
15966 (generated): Remove libpthread_nonshared.a.
15967 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15968 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15969 with libpthread_nonshared.a.
15970
15971 2018-02-28 Joseph Myers <joseph@codesourcery.com>
15972
15973 [BZ #22902]
15974 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
15975 (libc_feholdexcept_setroundf128): New macro.
15976 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
15977
15978 [BZ #15105]
15979 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
15980 libc_hidden_def.
15981 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
15982 * include/inttypes.h: New file.
15983
15984 2018-02-27 Joseph Myers <joseph@codesourcery.com>
15985
15986 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
15987 -Os in two more places.
15988
15989 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15990
15991 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
15992 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
15993 be sorted correctly at the moment because of a bug.
15994
15995 2018-02-27 Mike FABIAN <mfabian@redhat.com>
15996
15997 [BZ #22550] - es_ES locale (and other es_* locales): collation should
15998 treat ñ as a primary different character, sync the collation
15999 for Spanish with CLDR.
16000 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16001 * localedata/Makefile: Add new test files.
16002 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16003 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16004 collation order.
16005 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16006 * localedata/am_ET.UTF-8.in: New test file.
16007 * localedata/az_AZ.UTF-8.in: Likewise.
16008 * localedata/be_BY.UTF-8.in: Likewise.
16009 * localedata/ber_DZ.UTF-8.in: Likewise.
16010 * localedata/ber_MA.UTF-8.in: Likewise.
16011 * localedata/bg_BG.UTF-8.in: Likewise.
16012 * localedata/br_FR.UTF-8.in: Likewise.
16013 * localedata/cmn_TW.UTF-8.in: Likewise.
16014 * localedata/crh_UA.UTF-8.in: Likewise.
16015 * localedata/csb_PL.UTF-8.in: Likewise.
16016 * localedata/cv_RU.UTF-8.in: Likewise.
16017 * localedata/cy_GB.UTF-8.in: Likewise.
16018 * localedata/dz_BT.UTF-8.in: Likewise.
16019 * localedata/eo.UTF-8.in: Likewise.
16020 * localedata/es_ES.UTF-8.in: Likewise.
16021 * localedata/fa_IR.UTF-8.in: Likewise.
16022 * localedata/fi_FI.UTF-8.in: Likewise.
16023 * localedata/fil_PH.UTF-8.in: Likewise.
16024 * localedata/fur_IT.UTF-8.in: Likewise.
16025 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16026 * localedata/ha_NG.UTF-8.in: Likewise.
16027 * localedata/ig_NG.UTF-8.in: Likewise.
16028 * localedata/ik_CA.UTF-8.in: Likewise.
16029 * localedata/kk_KZ.UTF-8.in: Likewise.
16030 * localedata/ku_TR.UTF-8.in: Likewise.
16031 * localedata/ky_KG.UTF-8.in: Likewise.
16032 * localedata/ln_CD.UTF-8.in: Likewise.
16033 * localedata/mi_NZ.UTF-8.in: Likewise.
16034 * localedata/ml_IN.UTF-8.in: Likewise.
16035 * localedata/mn_MN.UTF-8.in: Likewise.
16036 * localedata/mr_IN.UTF-8.in: Likewise.
16037 * localedata/mt_MT.UTF-8.in: Likewise.
16038 * localedata/nb_NO.UTF-8.in: Likewise.
16039 * localedata/om_KE.UTF-8.in: Likewise.
16040 * localedata/os_RU.UTF-8.in: Likewise.
16041 * localedata/ps_AF.UTF-8.in: Likewise.
16042 * localedata/ro_RO.UTF-8.in: Likewise.
16043 * localedata/ru_RU.UTF-8.in: Likewise.
16044 * localedata/sc_IT.UTF-8.in: Likewise.
16045 * localedata/se_NO.UTF-8.in: Likewise.
16046 * localedata/sq_AL.UTF-8.in: Likewise.
16047 * localedata/sv_SE.UTF-8.in: Likewise.
16048 * localedata/szl_PL.UTF-8.in: Likewise.
16049 * localedata/tg_TJ.UTF-8.in: Likewise.
16050 * localedata/tk_TM.UTF-8.in: Likewise.
16051 * localedata/tt_RU.UTF-8.in: Likewise.
16052 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16053 * localedata/ug_CN.UTF-8.in: Likewise.
16054 * localedata/uz_UZ.UTF-8.in: Likewise.
16055 * localedata/vi_VN.UTF-8.in: Likewise.
16056 * localedata/yi_US.UTF-8.in: Likewise.
16057 * localedata/yo_NG.UTF-8.in: Likewise.
16058 * localedata/zh_CN.UTF-8.in: Likewise.
16059 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16060 file and fix bugs in the collation.
16061 * localedata/locales/az_AZ: Likewise.
16062 * localedata/locales/be_BY: Likewise.
16063 * localedata/locales/ber_DZ: Likewise.
16064 * localedata/locales/ber_MA: Likewise.
16065 * localedata/locales/bg_BG: Likewise.
16066 * localedata/locales/br_FR: Likewise.
16067 * localedata/locales/br_FR@euro: Likewise.
16068 * localedata/locales/ca_ES: Likewise.
16069 * localedata/locales/cns11643_stroke: Likewise.
16070 * localedata/locales/crh_UA: Likewise.
16071 * localedata/locales/cs_CZ: Likewise.
16072 * localedata/locales/csb_PL: Likewise.
16073 * localedata/locales/cv_RU: Likewise.
16074 * localedata/locales/cy_GB: Likewise.
16075 * localedata/locales/da_DK: Likewise.
16076 * localedata/locales/dz_BT: Likewise.
16077 * localedata/locales/en_CA: Likewise.
16078 * localedata/locales/eo: Likewise.
16079 * localedata/locales/es_CU: Likewise.
16080 * localedata/locales/es_EC: Likewise.
16081 * localedata/locales/es_ES: Likewise.
16082 * localedata/locales/es_US: Likewise.
16083 * localedata/locales/et_EE: Likewise.
16084 * localedata/locales/fa_IR: Likewise.
16085 * localedata/locales/fi_FI: Likewise.
16086 * localedata/locales/fil_PH: Likewise.
16087 * localedata/locales/fur_IT: Likewise.
16088 * localedata/locales/gez_ER@abegede: Likewise.
16089 * localedata/locales/ha_NG: Likewise.
16090 * localedata/locales/hr_HR: Likewise.
16091 * localedata/locales/hsb_DE: Likewise.
16092 * localedata/locales/hu_HU: Likewise.
16093 * localedata/locales/ig_NG: Likewise.
16094 * localedata/locales/ik_CA: Likewise.
16095 * localedata/locales/is_IS: Likewise.
16096 * localedata/locales/iso14651_t1_pinyin: Likewise.
16097 * localedata/locales/kk_KZ: Likewise.
16098 * localedata/locales/ku_TR: Likewise.
16099 * localedata/locales/ky_KG: Likewise.
16100 * localedata/locales/ln_CD: Likewise.
16101 * localedata/locales/lt_LT: Likewise.
16102 * localedata/locales/lv_LV: Likewise.
16103 * localedata/locales/mi_NZ: Likewise.
16104 * localedata/locales/ml_IN: Likewise.
16105 * localedata/locales/mn_MN: Likewise.
16106 * localedata/locales/mr_IN: Likewise.
16107 * localedata/locales/mt_MT: Likewise.
16108 * localedata/locales/nb_NO: Likewise.
16109 * localedata/locales/om_KE: Likewise.
16110 * localedata/locales/os_RU: Likewise.
16111 * localedata/locales/pl_PL: Likewise.
16112 * localedata/locales/ps_AF: Likewise.
16113 * localedata/locales/ro_RO: Likewise.
16114 * localedata/locales/ru_RU: Likewise.
16115 * localedata/locales/ru_UA: Likewise.
16116 * localedata/locales/sc_IT: Likewise.
16117 * localedata/locales/se_NO: Likewise.
16118 * localedata/locales/si_LK: Likewise.
16119 * localedata/locales/sq_AL: Likewise.
16120 * localedata/locales/sv_FI: Likewise.
16121 * localedata/locales/sv_FI@euro: Likewise.
16122 * localedata/locales/sv_SE: Likewise.
16123 * localedata/locales/szl_PL: Likewise.
16124 * localedata/locales/tg_TJ: Likewise.
16125 * localedata/locales/ti_ER: Likewise.
16126 * localedata/locales/tk_TM: Likewise.
16127 * localedata/locales/tl_PH: Likewise.
16128 * localedata/locales/tr_TR: Likewise.
16129 * localedata/locales/tt_RU: Likewise.
16130 * localedata/locales/tt_RU@iqtelif: Likewise.
16131 * localedata/locales/ug_CN: Likewise.
16132 * localedata/locales/uk_UA: Likewise.
16133 * localedata/locales/uz_UZ: Likewise.
16134 * localedata/locales/uz_UZ@cyrillic: Likewise.
16135 * localedata/locales/vi_VN: Likewise.
16136 * localedata/locales/yi_US: Likewise.
16137 * localedata/locales/yo_NG: Likewise.
16138
16139 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16140
16141 * gen-locales.mk: Make test files which contain @ modifiers in their
16142 name work.
16143 * localedata/gen-locale.sh: Likewise.
16144
16145 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16146
16147 * posix/tst-fnmatch.input: Fix results for range expressions
16148 for non C locales.
16149 * posix/tst-regexloc.c: Do not use a range expression for
16150 de_DE.ISO-8859-1 locale.
16151
16152 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16153
16154 * posix/bug-regex5.c: Fix test case because with the new
16155 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16156 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16157 file.
16158
16159 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16160
16161 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16162 downloaded from ISO, the collation order of @-. and space has changed.
16163 Therefore, this test file needed to be adapted.
16164 * localedata/fr_CA.UTF-8.in: Likewise.
16165 * localedata/fr_FR.UTF-8.in: Likewise.
16166 * localedata/uk_UA.UTF-8.in: Likewise.
16167
16168 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16169
16170 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16171 order of ȥ in the new iso14651_t1_common file.
16172 * localedata/pl_PL.UTF-8.in: Likewise.
16173
16174 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16175
16176 * localedata/locales/iso14651_t1_common: Add sections for various
16177 scripts to the iso14651_t1_common file.
16178
16179 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16180
16181 * localedata/locales/iso14651_t1_common: Use the code point of a
16182 character in the fourth collation level instead of IGNORE for all
16183 entries which have IGNORE on all 4 levels.
16184
16185 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16186
16187 * localedata/locales/iso14651_t1_common: Add some convenient collation
16188 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16189 rules similar to those in CLDR.
16190
16191 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16192
16193 * localedata/locales/iso14651_t1_common: The new version of this
16194 file downloaded from ISO contained several syntax errors which
16195 are fixed by this patch.
16196
16197 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16198
16199 * localedata/locales/iso14651_t1_common: replace all <U.....>
16200 with <U000.....> because glibc understands only 4 digit or 8 digit
16201
16202 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16203
16204 * localedata/locales/iso14651_t1_common: Necessary changes
16205 to make the file downloaded from ISO usable by glibc.
16206
16207 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16208
16209 [BZ #14095]
16210 * localedata/locales/iso14651_t1_common: Update file to
16211 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16212
16213 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16214
16215 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16216 of <nptl/pthreadP.h>
16217 (thread_attr_compare): Move function to...
16218 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
16219 * sysdeps/nptl/timer_routines.h: ... new header.
16220 * sysdeps/mach/hurd/gai_misc.h: New file.
16221
16222 2018-02-26 Joseph Myers <joseph@codesourcery.com>
16223
16224 * string/strcoll_l.c: Include <libc-diag.h>.
16225 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16226 declarations of seq1 and seq2.
16227
16228 [BZ #15105]
16229 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16230 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16231
16232 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16233
16234 [BZ #22433]
16235 [BZ #22807]
16236 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16237 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16238 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16239 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16240 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16241 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16242
16243 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16244
16245 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16246 macros used in __ptrace_request.
16247
16248 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16249
16250 [BZ #22792]
16251 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16252 to $(CC).
16253 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16254 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16255 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16256 <tcb-offsets.h>.
16257
16258 2018-02-23 Joseph Myers <joseph@codesourcery.com>
16259
16260 [BZ #15105]
16261 * ctype/ctype.c (tolower): Use libc_hidden_def.
16262 (toupper): Likewise.
16263 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16264 [!_ISOMAC] (toupper): Likewise.
16265
16266 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16267
16268 * localedata/Makefile: Remove --quiet argument when
16269 installing locales
16270
16271 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16272
16273 [BZ #17438]
16274 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16275 in d_fmt.
16276 * localedata/locales/pt_PT (LC_TIME): likewise
16277
16278 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16279
16280 [BZ #22646]
16281 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16282 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16283 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16284
16285 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16286
16287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16288
16289 * nptl/Makefile (routines): Remove unregister-atfork.
16290 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
16291 (fork_handler_alloc): Remove function.
16292 (fork_handlers, fork_handler_init): New variables.
16293 (__fork_lock): Rename to atfork_lock.
16294 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
16295 to use a dynamic array to add/remove atfork handlers.
16296 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16297 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16298 Remove declaration.
16299 (fork_handler): Remove next, refcntr, and need_signal member.
16300 (__run_fork_handler_type): New enum.
16301 (__run_fork_handlers): New prototype.
16302 * nptl/register-atfork.c: Remove file.
16303 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
16304
16305 * sysdeps/nptl/nptl-signals.h: Move to ...
16306 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
16307 comments.
16308 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
16309 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
16310 unnecessary check for SIGTIMER.
16311 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
16312 remove unnecessary removal of SIGTIMER.
16313 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
16314 include-signals.h rename.
16315 * nptl/pthreadP.h: Likewise.
16316 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
16317 __is_internal_signal instead of __nptl_is_internal_signal.
16318
16319 2018-02-22 Andrew Waterman <andrew@sifive.com>
16320
16321 [BZ # 22884]
16322 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
16323 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
16324 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
16325 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
16326
16327 2018-02-22 DJ Delorie <dj@delorie.com>
16328
16329 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
16330
16331 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
16332
16333 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
16334 do_misaligned, not misaligned8.
16335
16336 2018-02-22 Steve Ellcey <sellcey@cavium.com>
16337
16338 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
16339 Add memcpy_thunderx2.
16340 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16341 Increment to 4.
16342 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
16343 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
16344 and IS_THUNDERX2PA checks.
16345 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
16346 Use macro to set name appropriately.
16347 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
16348 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
16349 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
16350 New macro.
16351 (IS_THUNDERX2): New macro.
16352
16353 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16354
16355 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16356
16357 2018-02-21 Zack Weinberg <zackw@panix.com>
16358
16359 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
16360 Define here, unconditionally.
16361 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
16362 * libio/libioP.h: Remove #if 0 blocks.
16363 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
16364 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
16365 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
16366
16367 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
16368 Assume weak_alias is always defined.
16369
16370 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
16371 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
16372 Remove #if 0 and #ifdef TODO blocks.
16373 Assume text_set_element is always defined.
16374
16375 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
16376 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
16377 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
16378
16379 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
16380 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
16381 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
16382 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
16383 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
16384 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
16385 Reformat bit flags for _flags field to make occupancy clearer.
16386 Update commentary.
16387 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
16388 Keep definitions consistent with those in libio/libio.h.
16389
16390 * libio/libio.h (_IO_file_flags): Remove macro.
16391 All uses changed to _flags.
16392
16393 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
16394 (__HAVE_COLUMN, _IO_BE): Don't define.
16395 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
16396 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
16397 * libio/libioP.h (EOF): Don't define.
16398 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
16399 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
16400 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
16401 testing _IO_UNIFIED_JUMPTABLES.
16402
16403 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
16404 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
16405 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
16406 (_IO_size_t): Delete; all uses changed to size_t.
16407 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
16408 (_IO_off_t): Delete; all uses changed to off_t.
16409 (_IO_off64_t): Delete; all uses changed to off64_t.
16410 (_IO_pid_t): Delete; all uses changed to pid_t.
16411 (_IO_uid_t): Delete; all uses changed to uid_t.
16412 (_IO_wint_t): Delete; all uses changed to wint_t.
16413 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
16414 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
16415 (_IO_cookie_io_functions_t): Delete; all uses changed to
16416 cookie_io_functions_t.
16417 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
16418 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
16419 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
16420 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
16421
16422 * libio/iofopncook.c: Remove unnecessary forward declarations.
16423 * libio/iolibio.h: Correct outdated commentary.
16424 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
16425 * stdio-common/fxprintf.c (__fxprintf_nocancel):
16426 Remove unnecessary casts.
16427 * stdio-common/getline.c: Use _IO_getdelim directly.
16428 Don't redefine ssize_t.
16429 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
16430 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
16431 Remove outdated comments.
16432 * stdio-common/vfscanf.c: Don't redefine va_list.
16433
16434 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
16435 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
16436 Remove preprocessor conditionals on _LIBC and __USE_GNU,
16437 which are always true, and __cplusplus, which is always false.
16438
16439 2018-02-21 Joseph Myers <joseph@codesourcery.com>
16440
16441 [BZ #15105]
16442 [BZ #19463]
16443 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
16444 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
16445 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
16446 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
16447 libc_hidden_proto.
16448 [!_ISOMAC] (putc_unlocked): Likewise.
16449 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
16450 define inline if [__USE_EXTERN_INLINES].
16451 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
16452 putc_unlocked.
16453
16454 [BZ #15105]
16455 [BZ #19463]
16456 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
16457 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
16458 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
16459 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
16460 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
16461 getc_unlocked.
16462 * time/tzfile.c (__tzfile_read): Likewise.
16463
16464 2018-02-21 Mike FABIAN <mfabian@redhat.com>
16465
16466 [BZ #22517]
16467 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
16468
16469 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16470
16471 * io/fcntl.h: Fix a typo in a comment.
16472
16473 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16474
16475 [BZ #22862]
16476 * include/features.h: Add _ISOC11_SOURCE to test for whether to
16477 define _DEFAULT_SOURCE.
16478 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
16479
16480 2018-02-21 Florian Weimer <fweimer@redhat.com>
16481
16482 [BZ #20890]
16483 * elf/cache.c (save_cache): Call fsync on temporary file before
16484 renaming it.
16485 (save_aux_cache): Call fdatasync on temporary file before renaming
16486 it.
16487
16488 2018-02-21 Florian Weimer <fweimer@redhat.com>
16489
16490 [BZ #22787]
16491 * include/caller.h: Remove file.
16492 * elf/dl-caller.c: Likewise.
16493 * elf/Makefile (dl-routines): Remove dl-caller.
16494 (shared-only-routines): Do not add dl-caller.
16495 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
16496 __check_caller.
16497 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
16498 member.
16499 (dl_open_worker): Do not call __check_caller.
16500 (_dl_open): Do not set caller_dl_open member.
16501 * elf/rtld.c (_rtld_global_ro): Do not initialize
16502 _dl_check_caller member.
16503 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
16504 _dl_check_caller member.
16505 (_dl_check_caller): Remove declaration.
16506 * sysdeps/unix/sysv/linux/dl-execstack.c
16507 (_dl_make_stack_executable): Do not call __check_caller.
16508
16509 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
16510
16511 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
16512 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
16513
16514 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16515
16516 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
16517 description.
16518
16519 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16520
16521 [BZ #16335]
16522 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
16523 of 199606L, 200112L, and 200809L.
16524 (_XOPEN_SOURCE): Document special values of 600 and 700.
16525 (_ISOC11_SOURCE): Document macro.
16526 (_ATFILE_SOURCE): Likewise.
16527 (_FORTIFY_SOURCE): Likewise.
16528
16529 2018-02-19 Joseph Myers <joseph@codesourcery.com>
16530
16531 [BZ #15105]
16532 [BZ #19463]
16533 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
16534 and define as weak alias of __ferror_unlocked. Use
16535 libc_hidden_weak.
16536 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
16537 libc_hidden_proto.
16538 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
16539 function if [__USE_EXTERN_INLINES].
16540 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
16541 ferror_unlocked.
16542
16543 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
16544
16545 [BZ #6889]
16546 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
16547
16548 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16549
16550 [BZ #22818]
16551 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
16552 the GLIBC_2.1 version.
16553
16554 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16555
16556 [BZ #21508]
16557 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
16558 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
16559 intl/tst-gettext-de.po from po/de.po by removing the
16560 POT-Creation-Date line.
16561 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16562 ../po/de.po.
16563 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16564 ../po/de.po.
16565
16566 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16567
16568 * mach/Makefile (headers): Add mach/param.h.
16569 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16570 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
16571 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16572 (__ptsname_r): Move implementation to...
16573 (__ptsname_internal): ... new function. Add filling the STP
16574 structure.
16575
16576 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
16577
16578 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16579 idouble to 1 ULP.
16580
16581 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
16582
16583 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16584 syntax.
16585
16586 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16587
16588 * nptl/Makefile (tst-mutex8-ENV): Delete.
16589 * nptl/tst-mutex8.c (check_type):
16590 Add runtime check if mutex will be elided.
16591
16592 2018-02-15 Joseph Myers <joseph@codesourcery.com>
16593
16594 [BZ #20980]
16595 [BZ #21234]
16596 * manual/install.texi (Configuring and compiling): Describe
16597 passing CC and CFLAGS on configure command line, not as
16598 environment variables. Use @code markup on those variables.
16599 Specify what options go in CC and what go in CFLAGS. Note the
16600 requirement to compile with optimization.
16601 * INSTALL: Regenerated.
16602
16603 [BZ #18124]
16604 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16605 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16606 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16607 __sigprocmask instead of sigprocmask.
16608 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16609 Likewise.
16610 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16611 __sigsetjmp and sigprocmask.
16612
16613 [BZ #15105]
16614 * include/argz.h (argz_next): Use libc_hidden_proto.
16615 (__argz_next): Likewise.
16616 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16617 (argz_next): Use libc_hidden_weak.
16618
16619 [BZ #15105]
16620 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16621 libc_hidden_proto.
16622 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16623 libc_hidden_def.
16624
16625 [BZ #15105]
16626 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16627 libc_hidden_proto.
16628 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16629
16630 [BZ #15105]
16631 [BZ #19463]
16632 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16633 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16634 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16635 (__feof_unlocked): New declaration, and inline function if
16636 [__USE_EXTERN_INLINES].
16637 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16638 instead of feof_unlocked.
16639 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16640 * nss/nsswitch.c (nss_parse_file): Likewise.
16641 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16642 Likewise.
16643 * time/getdate.c (__getdate_r): Likewise.
16644 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16645 Define as macro to call __feof_unlocked.
16646
16647 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16648
16649 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16650
16651 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16652
16653 * math/Makefile: Remove mpexp.c and mplog.c
16654 * sysdeps/i386/fpu/mpexp.c: Delete file.
16655 * sysdeps/i386/fpu/mplog.c: Likewise.
16656 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16657 * sysdeps/ia64/fpu/mplog.c: Likewise.
16658 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16659 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16660 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16661 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16662 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16663 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16664 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16665 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16666 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16667 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16668 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16669 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16670 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16671 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16672 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16673 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16674
16675 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16676
16677 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16678
16679 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16680
16681 * sysdeps/sh/libm-test-ulps: Update.
16682
16683 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16684
16685 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16686 idouble to 1 ULP.
16687
16688 2018-02-12 Zack Weinberg <zackw@panix.com>
16689
16690 [BZ #19239]
16691 * posix/sys/types.h: Don't include sys/sysmacros.h.
16692 * misc/sys/sysmacros.h: Remove the conditional deprecation
16693 warnings for the macros defined by this header.
16694
16695 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16696
16697 * manual/probes.texi: Remove slowexp probes.
16698 * math/Makefile: Remove slowexp.
16699 * sysdeps/generic/math_private.h (__slowexp): Remove.
16700 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16701 document error bounds.
16702 * sysdeps/i386/fpu/slowexp.c: Remove.
16703 * sysdeps/ia64/fpu/slowexp.c: Remove.
16704 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16705 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16706 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16707 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16708 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16709 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16710 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16711 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16712 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16713 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16714 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16715
16716 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16717
16718 [BZ #13932]
16719 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16720 * benchtests/pow-inputs: Update comment for slow path cases.
16721 * manual/probes.texi (slowpow_p10): Delete removed probe.
16722 (slowpow_p10): Likewise.
16723 * math/Makefile: Remove halfulp.c and slowpow.c.
16724 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16725 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16726 (__halfulp): Remove.
16727 (__slowpow): Remove.
16728 * sysdeps/i386/fpu/halfulp.c: Delete file.
16729 * sysdeps/i386/fpu/slowpow.c: Likewise.
16730 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16731 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16732 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16733 improve comments and add error analysis.
16734 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16735 (power1): Remove function:
16736 (log1): Remove error argument, add error analysis.
16737 (my_log2): Remove function.
16738 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16739 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16740 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16741 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16742 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16743 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16744 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16745 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16746 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16747 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16748 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16749 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16750 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16751 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16752
16753 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16754
16755 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16756 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16757
16758 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16759
16760 [BZ #22433]
16761 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16762 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16763 and PTRACE_SETHBPREGS.
16764
16765 2018-02-10 Zack Weinberg <zackw@panix.com>
16766
16767 [BZ #22830]
16768 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16769 correctly.
16770 * malloc/tst-malloc-stats-cancellation.c: New test case.
16771 * malloc/Makefile: Add new test case.
16772
16773 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16774
16775 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16776
16777 2018-02-10 Joseph Myers <joseph@codesourcery.com>
16778
16779 * math/Makefile (libm-narrow-fns): Add add.
16780 (libm-test-funcs-narrow): Likewise.
16781 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16782 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16783 * math/gen-auto-libm-tests.c (test_functions): Add add.
16784 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16785 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16786 (NARROW_ADD_TRIVIAL): Likewise.
16787 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16788 macro.
16789 (__daddl): Likewise.
16790 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16791 dadd.
16792 (CFLAGS-nldbl-dadd.c): New variable.
16793 (CFLAGS-nldbl-fadd.c): Likewise.
16794 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16795 __nldbl_daddl.
16796 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16797 prototype.
16798 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16799 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16800 * math/auto-libm-test-in: Add tests of add.
16801 * math/auto-libm-test-out-narrow-add: New generated file.
16802 * math/libm-test-narrow-add.inc: New file.
16803 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16804 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16805 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16806 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16807 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16808 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16809 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16810 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16811 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16812 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16813 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16814 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16815 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16816 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16817 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16818 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16819 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16820 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16822 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16823 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16824 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16825 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16826 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16827 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16828 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16829 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16830 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16831 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16832 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16833 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16834 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16839 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16840 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16841 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16842 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16843 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16844 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16845 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16846 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16847 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16848 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16849
16850 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16851 (f128-pairs): New variable.
16852 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16853 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16854 to CFLAGS.
16855 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16856 Also make tests add $(f128-loader-link) to gnulib-tests.
16857
16858 2018-02-09 DJ Delorie <dj@redhat.com>
16859
16860 [BZ #22827]
16861 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16862 64-bit ELF type for 64-bit ELF objects.
16863
16864 2018-02-09 Joseph Myers <joseph@codesourcery.com>
16865
16866 * math/libm-test-driver.c (snan_tests_arg): New variable.
16867 * math/libm-test-support.h (snan_tests_arg): New declaration.
16868 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16869
16870 * math/Makefile (test-type-pairs): New variable.
16871 (test-type-pairs-f64xf128-yes): Likewise.
16872 (tests): Add test-narrow-macros.
16873 (libm-test-funcs-narrow): New variable.
16874 (libm-test-c-narrow): Likewise.
16875 (generated): Add $(libm-test-c-narrow).
16876 (libm-tests-base-narrow): New variable.
16877 (libm-tests-narrow): Likewise.
16878 (libm-tests): Add $(libm-tests-narrow).
16879 (libm-tests-for-type): Handle $(libm-tests-narrow).
16880 (libm-test-c-narrow-obj): New variable.
16881 ($(libm-test-c-narrow-obj)): New rule.
16882 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16883 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16884 $(o-iterator) to set dependencies and CFLAGS.
16885 * math/gen-auto-libm-tests.c: Document use for narrowing
16886 functions.
16887 (output_for_one_input_case): Take argument NARROW.
16888 (generate_output): Likewise. Update call to
16889 output_for_one_input_case.
16890 (main): Take --narrow option. Update call to generate_output.
16891 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16892 (apply_lit): Update call to _apply_lit.
16893 (apply_arglit): New function.
16894 (parse_args): Handle "a" arguments.
16895 (parse_auto_input): Handle format names using ":".
16896 * math/README.libm-test: Document "a" parameter type.
16897 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16898 (ARG_TYPE_TRUE_MIN): Likewise.
16899 (ARG_TYPE_MAX): Likwise.
16900 (ARG_MIN_EXP): Likewise.
16901 (ARG_MAX_EXP): Likewise.
16902 (ARG_MANT_DIG): Likewise.
16903 (TEST_COND_arg_ibm128): Likewise.
16904 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16905 (TEST_COND_arg_fmt): New macro.
16906 (init_max_error): Update prototype.
16907 * math/libm-test-support.c (test_ibm128): New variable.
16908 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16909 instead of using [TEST_COND_ibm128] conditional.
16910 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16911 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16912 [TEST_NARROW] (TEST_MSG): New definition.
16913 (arg_plus_zero): New macro.
16914 (arg_minus_zero): Likewise.
16915 (arg_plus_infty): Likewise.
16916 (arg_minus_infty): Likewise.
16917 (arg_qnan_value_pl): Likewise.
16918 (arg_qnan_value): Likewise.
16919 (arg_snan_value_pl): Likewise.
16920 (arg_snan_value): Likewise.
16921 (arg_max_value): Likewise.
16922 (arg_min_value): Likewise.
16923 (arg_min_subnorm_value): Likewise.
16924 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16925 (RUN_TEST_LOOP_aa_f): New macro.
16926 (TEST_SUFF): New macro.
16927 (TEST_SUFF_STR): Likewise.
16928 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16929 (TEST_COND_any_ibm128): New macro.
16930 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16931 this_func. Update call to init_max_error.
16932 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16933 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16934 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16935 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16936 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16937 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16938 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16939 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16940 * math/test-math-vector.h (TEST_NARROW): Likewise.
16941 * math/test-arg-double.h: New file.
16942 * math/test-arg-float128.h: Likewise.
16943 * math/test-arg-float32x.h: Likewise.
16944 * math/test-arg-float64.h: Likewise.
16945 * math/test-arg-float64x.h: Likewise.
16946 * math/test-arg-ldouble.h: Likewise.
16947 * math/test-math-narrow.h: Likewise.
16948 * math/test-narrow-macros.c: Likewise.
16949 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16950 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16951 test-narrow-macros-ldbl-64.
16952 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16953
16954 * math/bits/mathcalls-narrow.h: New file.
16955 * include/bits/mathcalls-narrow.h: Likewise.
16956 * math/math-narrow.h: Likewise.
16957 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16958 (__MATHCALL_NARROW_ARGS_2): Likewise.
16959 (__MATHCALL_NARROW_ARGS_3): Likewise.
16960 (__MATHCALL_NARROW_NORMAL): Likewise.
16961 (__MATHCALL_NARROW_REDIR): Likewise.
16962 (__MATHCALL_NARROW): Likewise.
16963 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16964 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16965 defined.
16966 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16967 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16968 (libm-narrow-fns): New variable.
16969 (libm-narrow-types-basic): Likewise.
16970 (libm-narrow-types-ldouble-yes): Likewise.
16971 (libm-narrow-types-float128-yes): Likewise.
16972 (libm-narrow-types-float128-alias-yes): Likewise.
16973 (libm-narrow-types): Likewise.
16974 (libm-routines): Add narrowing functions.
16975 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
16976 (libc_feholdexcept_setroundf128): New macro.
16977 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
16978 * sysdeps/ieee754/float128/float128_private.h: Include
16979 <math/math-narrow.h>.
16980 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
16981 Undefine and redefine.
16982 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
16983 (libm_alias_float_ldouble): Undefine and redefine.
16984 (libm_alias_double_ldouble): Likewise.
16985
16986 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
16987
16988 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
16989
16990 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
16991 FPCR/FPSR.
16992
16993 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
16994
16995 * manual/creature.texi: Convert references to gcc.info to gcc.
16996 * manual/stdio.texi: Likewise.
16997 * manual/string.texi: Likewise.
16998
16999 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17000
17001 [BZ #17979]
17002 * posix/bits/types.h (__int_least8_t): New typedef.
17003 (__uint_least8_t): Likewise.
17004 (__int_least16_t): Likewise.
17005 (__uint_least16_t): Likewise.
17006 (__int_least32_t): Likewise.
17007 (__uint_least32_t): Likewise.
17008 (__int_least64_t): Likewise.
17009 (__uint_least64_t): Likewise.
17010 * sysdeps/generic/stdint.h (int_least8_t): Define using
17011 __int_least8_t.
17012 (int_least16_t): Define using __int_least16_t.
17013 (int_least32_t): Define using __int_least32_t.
17014 (int_least64_t): Define using __int_least64_t.
17015 (uint_least8_t): Define using __uint_least8_t.
17016 (uint_least16_t): Define using __uint_least16_t.
17017 (uint_least32_t): Define using __uint_least32_t.
17018 (uint_least64_t): Define using __uint_least64_t.
17019 * wcsmbs/uchar.h: Include <bits/types.h>.
17020 (char16_t): Define using __uint_least16_t conditional only on
17021 [!__USE_ISOCXX11].
17022 (char32_t): Define using __uint_least32_t conditional only on
17023 [!__USE_ISOCXX11].
17024 * wcsmbs/test-char-types.c: New file.
17025 * wcsmbs/Makefile (tests): Add test-char-types.
17026
17027 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17028 version to 4.0.1.
17029
17030 2018-02-07 Zack Weinberg <zackw@panix.com>
17031
17032 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17033 Delete all contents except for definitions of _G_HAVE_MMAP and
17034 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17035 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17036 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17037 change as above.
17038
17039 * libio/libio.h: Don't include bits/_G_config.h here.
17040 Include stddef.h with __need_wchar_t defined. Include
17041 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17042 Define _IO_iconv_t here, directly.
17043 Don't define _IO_HAVE_ST_BLKSIZE.
17044 * libio/libioP.h: Include _G_config.h here. Move include of
17045 shlib-compat.h up with rest of includes. Simplify conditionals
17046 controlling definition of _IO_JUMPS_OFFSET.
17047
17048 * csu/init.c: Remove always-true #if around entire file.
17049 Don't include stdio.h. Set _IO_stdin_used to hardwired
17050 constant 0x20001, and update commentary.
17051 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17052 Replace all uses of _G_va_list with __gnuc_va_list.
17053 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17054 instead of #if _IO_HAVE_ST_BLKSIZE.
17055 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17056 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17057 not #ifdef.
17058
17059 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17060 multiple-include guard to match.
17061 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17062 into this file.
17063 Remove preprocessor conditionals that are always true and/or
17064 redundant to other preprocessor conditionals in the same nest.
17065 Include shlib-compat.h unconditionally.
17066 Error out if _LIBC is not defined, or if _ISOMAC is defined,
17067 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
17068 defined after including stdio.h.
17069 Use __BEGIN_DECLS/__END_DECLS.
17070
17071 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
17072 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
17073 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
17074
17075 2018-02-07 Zack Weinberg <zackw@panix.com>
17076
17077 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
17078 New single-type headers split from _G_config.h.
17079 * libio/bits/types/cookie_io_functions_t.h
17080 * libio/bits/types/struct_FILE.h
17081 New single-type headers split from libio.h.
17082
17083 * libio/Makefile: Install the above new headers. Don't install
17084 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
17085 bits/libio-ldbl.h.
17086 * libio/_G_config.h, libio/libio.h: Delete file.
17087
17088 * libio/bits/libio.h: Remove improper-inclusion guard.
17089 Include stdio.h and don't repeat anything that it does.
17090 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
17091 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
17092 __io_read_fn as cookie_read_function_t,
17093 __io_write_fn as cookie_write_function_t,
17094 __io_seek_fn as cookie_seek_function_t,
17095 __io_close_fn as cookie_close_function_t,
17096 and _IO_cookie_io_functions_t as cookie_io_functions_t.
17097 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
17098 here, in the "compatibility defines" section. Remove an #if 0
17099 block. Use the "body" macros from bits/types/struct_FILE.h to
17100 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
17101 and _IO_ferror_unlocked.
17102 Move prototypes of __uflow and __overflow...
17103
17104 * libio/stdio.h: ...here. Don't include bits/libio.h.
17105 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
17106 directly from stdarg.h. Include bits/types/__fpos_t.h,
17107 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
17108 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
17109 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
17110 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
17111 cookie_io_functions_t, not _IO_cookie_io_functions_t;
17112 __ssize_t, not _IO_ssize_t. Unconditionally define
17113 BUFSIZ as 8192 and EOF as (-1).
17114
17115 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
17116 macros from bits/types/struct_FILE.h instead of _IO_* macros
17117 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
17118 instead of _IO_ssize_t.
17119 * libio/bits/stdio2.h: Similarly.
17120
17121 * libio/iolibio.h: Add multiple-include guard.
17122 Include bits/libio.h after stdio.h.
17123 * libio/libioP.h: Add multiple-include guard.
17124 Include stdio.h and bits/libio.h before iolibio.h.
17125
17126 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
17127 * include/bits/types/cookie_io_functions_t.h
17128 * include/bits/types/struct_FILE.h: New wrappers.
17129
17130 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
17131 Get definitions of _G_fpos_t and _G_fpos64_t from
17132 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
17133 respectively. Remove improper-inclusion guards.
17134
17135 * conform/data/stdio.h-data: Update expectations of va_list.
17136 * scripts/check-installed-headers.sh: Remove special case for
17137 libio.h and _G_config.h.
17138
17139 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17140
17141 [BZ #15105]
17142 [BZ #19463]
17143 * include/sys/sysmacros.h [!_ISOMAC]
17144 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
17145 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17146 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17147 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17148 libc_hidden_proto.
17149 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17150 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17151 Likewise.
17152 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17153 Undefine and redefine to add use __gnu_dev_ prefix.
17154 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17155 Likewise.
17156 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17157 and define as hidden inline function.
17158 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17159 Likewise.
17160 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17161 Likewise.
17162 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17163 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17164 (gnu_dev_minor): Likewise.
17165 (gnu_dev_makedev): Likewise.
17166 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17167 makedev.
17168 * posix/wordexp.c (exec_comm_child): Likewise.
17169 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17170 instead of minor and __gnu_dev_major instead of major.
17171 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17172 __gnu_dev_major instead of major.
17173 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17174 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17175 instead of gnu_dev_minor.
17176 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17177 (SLAVE_P): Likewise.
17178 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17179 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17180 instead of major.
17181
17182 [BZ #21313]
17183 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17184 in another place.
17185 * locale/weightwc.h (findidx): Likewise.
17186
17187 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17188
17189 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17190 (slowlog_inexact): Likewise
17191 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17192 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17193
17194 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17195
17196 [BZ #22797]
17197 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17198 missing second underscore to parameter name.
17199
17200 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17201
17202 [BZ #14508]
17203 [BZ #15512]
17204 [BZ #17082]
17205 [BZ #20530]
17206 * bits/byteswap.h: Update file comment. Do not include
17207 <bits/byteswap-16.h>.
17208 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17209 constant.
17210 (__bswap_16): Define as inline function.
17211 (__bswap_constant_32): Reformat definition.
17212 (__bswap_32): Always define as inline function, not macro, using
17213 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17214 otherwise __bswap_constant_32.
17215 (__bswap_constant_64): Reformat definition. Do not use
17216 __extension__ here.
17217 (__bswap_64): Always define as inline function, not macro. Use
17218 __extension__ on function definition. Use __builtin_bswap64 if
17219 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17220 * string/test-endian-file-scope.c: New file.
17221 * string/test-endian-sign-conversion.c: Likewise.
17222 * string/Makefile (headers): Remove bits/byteswap-16.h.
17223 (tests): Add test-endian-file-scope and
17224 test-endian-sign-conversion.
17225 (CFLAGS-test-endian-sign-conversion.c): New variable.
17226 * bits/byteswap-16.h: Remove file.
17227 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17228 * sysdeps/ia64/bits/byteswap.h: Likewise.
17229 * sysdeps/m68k/bits/byteswap.h: Likewise.
17230 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17231 * sysdeps/s390/bits/byteswap.h: Likewise.
17232 * sysdeps/tile/bits/byteswap.h: Likewise.
17233 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17234 * sysdeps/x86/bits/byteswap.h: Likewise.
17235
17236 [BZ #17721]
17237 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17238 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17239 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17240 199901L] (__restrict): Define to restrict.
17241
17242 [BZ #19667]
17243 * string/testcopy.c: Include <support/support.h>. Do not include
17244 <malloc.h>. Use <support/test-driver.c>.
17245 (main): Rename to do_test. Make static. Use xmalloc instead of
17246 malloc.
17247
17248 [BZ #13575]
17249 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17250 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17251 (SSIZE_MAX): Define to INT_MAX.
17252 * posix/test-ssize-max.c: New file.
17253 * posix/Makefile (tests): Add test-ssize-max.
17254
17255 [BZ #19668]
17256 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17257 <support/support.h>. Do not include <malloc.h>.
17258 (query_auxv): Use xmalloc instead of malloc.
17259
17260 [BZ #14553]
17261 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17262 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17263 instead of loff_t.
17264
17265 2018-02-06 Florian Weimer <fweimer@redhat.com>
17266
17267 [BZ #18023]
17268 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17269 Use scratch_buffer instead of extend_alloca.
17270
17271 2018-02-06 Zack Weinberg <zackw@panix.com>
17272
17273 * libio/stdio.h: Don't define getc or putc as macros.
17274 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17275 not _IO_getc and _IO_putc.
17276
17277 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17278 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17279
17280 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17281
17282 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17283 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17284
17285 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17286
17287 [BZ #14890]
17288 * elf/elf.h (NT_PRFPREG): New macro.
17289 (NT_S390_VXRS_LOW): Likewise.
17290 (NT_S390_VXRS_HIGH): Likewise.
17291 (NT_S390_GS_CB): Likewise.
17292 (NT_S390_GS_BC): Likewise.
17293 (NT_S390_RI_CB): Likewise.
17294
17295 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17296 (MAP_SYNC): New macro.
17297 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17298 Likewise.
17299 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17300 (MAP_SYNC): Likewise.
17301 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17302 (MAP_SYNC): Likewise.
17303 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17304 (MAP_SYNC): Likewise.
17305 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17306 (MAP_SYNC): Likewise.
17307 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17308 (MAP_SYNC): Likewise.
17309 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17310 (MAP_SYNC): Likewise.
17311 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
17312 Likewise.
17313 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
17314 Likewise.
17315
17316 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
17317 (MAP_SHARED_VALIDATE): New macro.
17318 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17319 (MAP_SHARED_VALIDATE): Likewise.
17320
17321 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17322
17323 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
17324 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
17325 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17326
17327 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17328
17329 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
17330 (DT_NUM): Updated to 35.
17331
17332 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17333
17334 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
17335 __builtin_expect with __glibc_likely and __glibc_unlikely.
17336 (elf_machine_rela): Likewise.
17337 (elf_machine_lazy_rel): Likewise.
17338
17339 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17340
17341 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
17342 __builtin_expect with __glibc_likely and __glibc_unlikely.
17343 (elf_machine_lazy_rel): Likewise.
17344
17345 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17346
17347 [BZ #22638]
17348 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
17349 SHARED.
17350 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
17351
17352 2018-02-05 Andreas Schwab <schwab@suse.de>
17353
17354 [BZ #22761]
17355 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
17356 string.
17357
17358 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17359
17360 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
17361 not check against PTHREAD_STACK_MIN.
17362
17363 2018-02-02 Sean McKean <smckean83@gmail.com>
17364
17365 [BZ #22735]
17366 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
17367
17368 2018-02-02 Florian Weimer <fweimer@redhat.com>
17369
17370 [BZ #22753]
17371 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
17372 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17373 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17374 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
17375 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17376 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17377 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17378 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
17379 * manual/llio.texi (Scatter-Gather): Mention offset -1.
17380 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
17381 * misc/tst-preadvwritev2.c (do_test): Call it.
17382 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
17383
17384 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17385
17386 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
17387
17388 * benchtests/bench-memcmp.c: Print json instead of plain text.
17389
17390 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
17391 every test run.
17392
17393 2018-02-01 Joseph Myers <joseph@codesourcery.com>
17394
17395 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17396 version to 4.15.
17397 (s390_sthyi): New syscall.
17398
17399 * sysdeps/generic/ldbl-classify-compat.h: New file.
17400 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
17401 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
17402 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
17403 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
17404 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
17405 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
17406 * sysdeps/ieee754/dbl-64/s_finite.c: Include
17407 <ldbl-classify-compat.h>.
17408 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17409 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
17410 <ldbl-classify-compat.h>.
17411 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17412 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
17413 <ldbl-classify-compat.h>.
17414 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17415 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
17416 <ldbl-classify-compat.h>.
17417 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17418 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
17419 <ldbl-classify-compat.h>.
17420 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17421 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
17422 <ldbl-classify-compat.h>.
17423 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17424 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
17425 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17426 * sysdeps/m68k/coldfire/math_private.h: Remove file.
17427 * sysdeps/microblaze/math_private.h: Likewise.
17428 * sysdeps/nios2/math_private.h: Likewise.
17429 * sysdeps/sh/math_private.h: Likewise.
17430
17431 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
17432 * sysdeps/m68k/coldfire/math_private.h: ... here.
17433 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
17434 * sysdeps/tile/math_private.h: Likewise.
17435 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
17436 Remove macro.
17437 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
17438 Likewise.
17439
17440 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
17441 Remove macro.
17442 (libc_fetestexcept): Likewise.
17443 (libc_feupdateenv_test): Likewise.
17444 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
17445 (libc_fetestexcept): Likewise.
17446 (libc_feupdateenv_test): Likewise.
17447 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
17448 (libc_fetestexcept): Likewise.
17449 (libc_feupdateenv_test): Likewise.
17450 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
17451 (libc_fetestexcept): Likewise.
17452 (libc_feupdateenv_test): Likewise.
17453
17454 * sysdeps/generic/math_private.h
17455 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
17456 New inline function.
17457 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
17458 Likewise.
17459
17460 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
17461 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
17462 * sysdeps/generic/math_private.h
17463 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
17464 inline function.
17465 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
17466 Likewise.
17467 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
17468 Likewise.
17469 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
17470 Likewise.
17471 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
17472 Likewise.
17473 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
17474 Likewise.
17475 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
17476 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
17477 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
17478 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
17479 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
17480 (__fegetenv): Likewise.
17481 (fesetenv): Likewise.
17482 (__fesetenv): Likewise.
17483 (feupdateenv): Likewise.
17484 (__feupdateenv): Likewise.
17485 (fegetround): Likewise.
17486 (__fegetround): Likewise.
17487 (fesetround): Likewise.
17488 (__fesetround): Likewise.
17489
17490 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
17491 (feraiseexcept): New macro.
17492 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
17493 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
17494 Remove macro.
17495 (__feraiseexcept): Likewise.
17496 (feclearexcept): Likewise.
17497 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
17498 (__feraiseexcept): Likewise.
17499 (feclearexcept): Likewise.
17500 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
17501 (__feraiseexcept): Likewise.
17502 (feclearexcept): Likewise.
17503 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
17504 (__feraiseexcept): Likewise.
17505 (feclearexcept): Likewise.
17506 (fetestexcept): Likewise.
17507
17508 * sysdeps/m68k/coldfire/math-tests.h: New file.
17509
17510 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
17511 * sysdeps/m68k/bits/fenv.h: ... here.
17512 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
17513 not define.
17514 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
17515 Likewise.
17516 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
17517 Likewise.
17518 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
17519 Likewise.
17520 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
17521 Likewise.
17522 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
17523 Define to 0.
17524 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
17525 (__FE_UNDEFINED): New enum constant.
17526 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
17527 Do not define.
17528 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
17529 Likewise.
17530 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
17531 Likewise.
17532 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
17533 to match generic bits/fenv.h.
17534 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
17535 Do not define.
17536
17537 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
17538 packed on bits.
17539 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
17540 * soft-fp/half.h (union _FP_UNION_H): Likewise.
17541 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
17542 * soft-fp/single.h (union _FP_UNION_S): Likewise.
17543
17544 2018-02-01 Carlos O'Donell <carlos@redhat.com>
17545 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
17546 Joseph Myers <joseph@codesourcery.com>
17547
17548 [BZ #21314]
17549 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
17550 (__log1p): Disable -Wmaybe-uninitialized for -Os around
17551 computation using c.
17552 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
17553 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
17554 computation using c.
17555
17556 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17557
17558 * version.h (RELEASE): Set to "development".
17559 (VERSION): Set to "2.27.9000".
17560 * NEWS (2.28): New section.
17561
17562 * version.h (RELEASE): Set to "stable".
17563 (VERSION): Set to "2.27".
17564 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17565
17566 * NEWS: Add the list of bugs fixed in 2.27.
17567
17568 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17569
17570 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17571 against PTHREAD_STACK_MIN.
17572
17573 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17574
17575 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17576 New entries.
17577 (Rafal Luzynski, Andreas Schwab): Update.
17578
17579 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17580
17581 [BZ #10871]
17582 * NEWS: List the languages which actually use the alternative
17583 months feature in this release. Also explain that "alt_mon" and
17584 "ab_alt_mon" are optional.
17585
17586 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17587
17588 [BZ #22765]
17589 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17590
17591 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17592
17593 * manual/install.texi (Tools for Compilation): Update the newest
17594 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17595 * INSTALL: Regenerated.
17596
17597 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17598
17599 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17600 instead of __builtin_expect.
17601
17602 2018-01-30 Florian Weimer <fweimer@redhat.com>
17603
17604 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17605 data.
17606 * nss/tst-nss-getpwent.c (do_test): Likewise.
17607
17608 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17609
17610 [BZ #10871]
17611 * localedata/locales/hr_HR (mon): Rename to...
17612 (alt_mon): This.
17613 (mon): Import from CLDR (genitive case).
17614 (d_t_fmt): Update the comment.
17615
17616 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17617
17618 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17619 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17620 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17621
17622 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17623
17624 * mach/Versions: Fix version when __mach_host_self_ was added.
17625 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17626 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17627 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17628 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17629 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17630 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17631 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17632 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17633 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17634 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17635 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17636 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
17637 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17638 || to respect codestyle.
17639 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17640 (do_test_bz20181): Rename accordingly.
17641 * malloc/malloc.c: Include <assert.h>.
17642 (assert): Do not define.
17643 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
17644 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17645 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
17646 * sysdeps/mach/hurd/hp-timing.h: New file.
17647 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
17648
17649 2018-01-29 Darius Rad <darius@bluespec.com>
17650
17651 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17652
17653 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
17654
17655 * sysdeps/init_array/crti.S (.section .init_array): Add
17656 PREINIT_FUNCTION when defined.
17657 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
17658 * config.h.in: Regenerate.
17659 * manual/platform.texi: Add RISC-V documenation for
17660 __riscv_flush_icache.
17661 * sysdeps/riscv/__longjmp.S: New file.
17662 * sysdeps/riscv/backtrace.c: Likewise.
17663 * sysdeps/riscv/bits/endian.h: Likewise.
17664 * sysdeps/riscv/bits/setjmp.h: Likewise.
17665 * sysdeps/riscv/bits/wordsize.h: Likewise.
17666 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17667 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17668 * sysdeps/riscv/dl-trampoline.S: Likewise.
17669 * sysdeps/riscv/gccframe.h: Likewise.
17670 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17671 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17672 * sysdeps/riscv/machine-gmon.h: Likewise.
17673 * sysdeps/riscv/memusage.h: Likewise.
17674 * sysdeps/riscv/setjmp.S: Likewise.
17675 * sysdeps/riscv/sys/asm.h: Likewise.
17676 * sysdeps/riscv/tls-macros.h: Likewise.
17677 * sysdeps/riscv/dl-tls.h: New file.
17678 * sysdeps/riscv/libc-tls.c: Likewise.
17679 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17680 * sysdeps/riscv/nptl/tls.h: Likewise.
17681 * sysdeps/riscv/stackinfo.h: Likewise.
17682 * sysdeps/riscv/bits/fenv.h: New file.
17683 * sysdeps/riscv/e_sqrtl.c: Likewise.
17684 * sysdeps/riscv/fpu_control.h: Likewise.
17685 * sysdeps/riscv/math-tests.h: Likewise.
17686 * sysdeps/riscv/nofpu/Implies: Likewise.
17687 * sysdeps/riscv/sfp-machine.h: Likewise.
17688 * sysdeps/riscv/tininess.h: Likewise.
17689 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17690 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17691 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17692 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17693 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17694 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17695 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17696 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17697 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17698 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17699 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17700 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17701 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17702 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17703 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17704 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17705 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17706 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17707 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17708 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17709 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17710 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17711 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17712 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17713 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17714 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17715 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17716 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17717 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17718 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17719 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17720 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17721 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17722 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17723 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17724 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17725 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17726 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17727 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17728 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17729 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17730 * sysdeps/riscv/rvf/math_private.h: Likewise.
17731 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17732 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17733 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17734 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17735 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17736 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17737 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17738 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17739 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17740 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17741 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17742 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17743 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17744 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17745 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17746 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
17747 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17748 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17749 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17750 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
17751 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17752 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17753 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17754 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17755 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17756 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17757 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17758 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17759 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
17760 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17761 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17762 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17763 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17764 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17765 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17766 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17767 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17768 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17769 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17770 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17771 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17772 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17773 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17774 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17775 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17776 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17777 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17778 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17779 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17780 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17781 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
17782 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17783 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17784 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
17785 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17786 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17787 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17788 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17789 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17790 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17791 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17792 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17793 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17794 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17795 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17796 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17797 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17798 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17799 * sysdeps/riscv/Implies: New file.
17800 * sysdeps/riscv/Makefile: Likewise.
17801 * sysdeps/riscv/configure: Likewise.
17802 * sysdeps/riscv/configure.ac: Likewise.
17803 * sysdeps/riscv/nptl/Makefile: Likewise.
17804 * sysdeps/riscv/preconfigure: Likewise.
17805 * sysdeps/riscv/rv64/Implies-after: Likewise.
17806 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17807 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17808 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17809 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17810 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17811 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17812 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17813 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17814 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17815 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17816 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
17817 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17818 (Config): Likewise.
17819
17820 2018-01-29 Florian Weimer <fweimer@redhat.com>
17821
17822 [BZ #22701]
17823 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17824 libnsl_hidden_proto.
17825 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17826 libnsl_hidden_proto.
17827 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17828 * nis/Makefile (libnsl-routines): Add nss-default only for
17829 build-obsolete-nsl.
17830 * nis/nis_defaults.c (__nis_default_ttl): Add
17831 libnsl_hidden_nolink_def.
17832 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17833 declaration.
17834 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17835 * nis/ypclnt.c (yp_maplist): Likewise.
17836
17837 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17838
17839 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17840 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17841
17842 2018-01-29 Joseph Myers <joseph@codesourcery.com>
17843
17844 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17845 clean -dxfq for git updates when replacing sources.
17846
17847 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17848 --disable-libcilkrts unconditionally, not just for the final GCC
17849 build for Hurd.
17850
17851 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17852 version to 4.15.
17853
17854 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17855
17856 [BZ #10871]
17857 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17858 case).
17859
17860 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17861
17862 [BZ #10871]
17863 * localedata/locales/be_BY (mon): Rename to...
17864 (alt_mon): This, then synchronize with CLDR (nominative case).
17865 (abmon): Rename to...
17866 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17867 (mon): Import from CLDR (genitive case).
17868 (abmon): Likewise.
17869 * localedata/locales/be_BY@latin (mon): Rename to...
17870 (alt_mon): This.
17871 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17872
17873 * localedata/locales/be_BY@latin (lang_name): Reworded to
17874 "biełaruskaja mova".
17875
17876 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17877
17878 [BZ #10871]
17879 * localedata/locales/el_CY (mon): Renamed to...
17880 (alt_mon): This.
17881 (mon): Import from CLDR (genitive case).
17882 * localedata/locales/el_GR: Likewise.
17883
17884 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17885
17886 [BZ #10871]
17887 * localedata/locales/ru_RU (mon): Rename to...
17888 (alt_mon): This.
17889 (abmon): Rename to...
17890 (ab_alt_mon): This.
17891 (mon): Import from CLDR (genitive case).
17892 (abmon): Copy from the old content except the 5th month which is
17893 now in the genitive case, even when abbreviated.
17894 * localedata/locales/ru_UA: Likewise.
17895 * time/tst-strptime.c (day_tests): Add an actual example of
17896 a difference between %b and %Ob in Russian.
17897
17898 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17899
17900 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
17901 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17902 a `c' variable.
17903 * resolv/res-close.c: Include <stdlib.h>.
17904 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17905 <sys/wait.h>, <time.h>, <sys/uio.h>.
17906 (NOT_CANCEL_H): Add inclusion guard.
17907 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
17908 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17909 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17910 return 0.
17911 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17912 vm_address_t * to ElfW(Addr) * for dl_main parameter.
17913 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17914 instead of void *.
17915 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17916 timer_ptr2id to cast struct timer_node * to void *.
17917 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17918 --disable-libcilkrts to gcc configure.
17919 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17920 and make them the default for now.
17921 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17922 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
17923 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17924 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17925 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17926 MACH_IPC_COMPAT.
17927 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17928 __task_terminate would ever return successfully.
17929 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17930 to global scope.
17931 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17932 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
17933 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17934 critical section to make code simpler and avoid warning.
17935 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17936 critical section to make code simpler and avoid warning.
17937 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17938 const char * instead of char *.
17939 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17940 __hurd_file_name_split, hurd_file_name_split,
17941 __hurd_directory_name_split, hurd_directory_name_split,
17942 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17943 hurd_file_name_path_lookup): Make lookup function parameter take a
17944 const char *name instead of char *name.
17945 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17946 __hurd_directory_name_split): Likewise.
17947 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17948 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
17949 * sysdeps/mach/hurd/check_native.c: New file.
17950 * sysdeps/mach/hurd/check_pf.c: New file.
17951 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17952 (__freeifaddrs): Define macro to freeifaddrs.
17953 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17954 * sysdeps/mach/libmachuser.abilist: New file.
17955 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17956 (do_test_bz20181): Rename accordingly.
17957 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
17958 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17959 <sys/mount.h>.
17960 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17961 version only if __USE_EXTERN_INLINES is defined.
17962 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17963 __hurd_sockfail): Likewise.
17964 (_hurd_fd_get): Always declare functions, and provide inline versions
17965 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17966 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17967 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17968 _hurd_port_set): Always declare functions, and provide inline versions
17969 only if __USE_EXTERN_INLINES and _LIBC are defined and
17970 IS_IN(libc).
17971 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17972 _hurd_critical_section_unlock): Likewise.
17973 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
17974 * __hurd_threadvar_location): Likewise.
17975 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
17976 _hurd_userlink_clear): Likewise.
17977 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
17978 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
17979 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
17980 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
17981 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
17982 __spin_lock_locked): Likewise.
17983 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
17984 __spin_lock_locked): Likewise.
17985 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
17986 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
17987 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
17988 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
17989 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
17990 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
17991 _POSIX_NO_TRUNC): Define to 0.
17992 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
17993 check size against PTHREAD_STACK_MIN.
17994 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
17995 IS_IN(libpthread)]: Include <sigsetops.h>.
17996 * mach/Makefile (user-interfaces): Add mach/gnumach.
17997 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
17998 * sysdeps/mach/configure (mach_interface_list): Regenerate.
17999 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18000 instead of invalid -1.
18001 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18002 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18003 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18004 <net/ppp_defs.h>.
18005
18006 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
18007
18008 * hurd/fcntl-internal.h: New file.
18009
18010 2018-01-27 James Clarke <jrtc27@jrtc27.com>
18011
18012 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18013
18014 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18015
18016 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18017
18018 [BZ #22701]
18019 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18020 Build only shared objects.
18021
18022 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18023
18024 * README: Update for hppa.
18025
18026 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18027
18028 * sysdeps/sparc/fpu/libm-test-ulps: Update
18029 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
18030
18031 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18032
18033 Revert:
18034
18035 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18036
18037 [BZ #22563]
18038 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18039 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18040 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18041 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18042 to feature_1.
18043
18044 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18045
18046 [BZ #22563]
18047 * bits/types/__cancel_jmp_buf_tag.h: New file.
18048 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18049 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18050 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18051 * nptl/Makefile (headers): Add
18052 bits/types/__cancel_jmp_buf_tag.h.
18053 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18054 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18055 * sysdeps/nptl/pthread.h: Include
18056 <bits/types/__cancel_jmp_buf_tag.h>.
18057 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18058 __cancel_jmp_buf.
18059 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18060
18061 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18062
18063 [BZ #10871]
18064 * localedata/locales/uk_UA (mon): Renamed to...
18065 (alt_mon): This.
18066 (alt_digits): "0" removed and then renamed to...
18067 (mon): This.
18068 (date_fmt): Definition changed not to use the alternative
18069 digits hack.
18070
18071 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
18072
18073 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
18074 FLAG_RISCV_FLOAT_ABI_DOUBLE.
18075 * elf/elf.h (EF_RISCV_RVC): New define.
18076 (EF_RISCV_FLOAT_ABI): Likewise.
18077 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18078 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
18079 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18080 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
18081 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
18082 define.
18083 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18084
18085 2018-01-25 Andreas Schwab <schwab@suse.de>
18086
18087 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
18088 single quotes.
18089 * sysdeps/gnu/configure: Regenerate.
18090 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18091 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18093 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18094 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18095 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
18096 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18097 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18098
18099 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18100
18101 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
18102 URL, and run autoconf, make it the default for now.
18103
18104 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18105
18106 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18107 soft-float ColdFire configuration.
18108
18109 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
18110 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
18111 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
18112
18113 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
18114 MicroBlaze file.
18115
18116 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
18117 ....
18118 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
18119 ... here.
18120 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
18121 New file.
18122
18123 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
18124 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
18125 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
18126 file.
18127
18128 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18129
18130 [BZ #22742]
18131 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
18132 Rename to __reserved and add comment.
18133 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
18134 Rename to __reserved.
18135
18136 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18137
18138 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18139 i686-gnu configurations.
18140 (Context.run_builds): Include mig, gnumach and hurd in components
18141 considered.
18142 (Context.checkout): Add mig, gnumach and hurd to components.
18143 (Context.checkout_tar): Add URL mappings for mig, gnumach and
18144 hurd.
18145 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18146 (Config.build): Install gnumach headers, build mig and install
18147 hurd headers for 'gnu' OS.
18148 (Config.install_gnumach_headers): New function.
18149 (Config.install_hurd_headers): Likewise.
18150 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18151 when building for 'gnu' OS.
18152
18153 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
18154
18155 * manual/tunables.texi (Hardware Capability Tunables): Fix
18156 spelling.
18157
18158 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
18159
18160 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18161 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18162 (ALTMON_11, ALTMON_12): Improve documentation.
18163 * manual/time.texi (strftime): Likewise.
18164
18165 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18166
18167 [BZ #10871]
18168 * localedata/locales/pl_PL: Alternative month names added,
18169 primary month names are genitive now.
18170 * time/tst-strptime.c (day_tests): Actually use a genitive case
18171 of a month name in Polish language.
18172
18173 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18174
18175 [BZ #10871]
18176 * manual/locale.texi: Document ALTMON_1..12 constants for
18177 nl_langinfo. Specify when to use ALTMON instead of MON.
18178 * manual/time.texi (strftime, strptime): Document GNU extension
18179 permitting O modifier with %B and %b. Specify when to use
18180 %OB instead of %B.
18181
18182 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18183
18184 [BZ #10871]
18185 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18186 names, define them as the same as abbreviated month names explicitly.
18187 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18188 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18189 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18190 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18191 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18192 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18193 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18194 _NL_WABALTMON_12): New enum constants.
18195 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18196 wab_alt_mon, and ab_alt_mon_defined members.
18197 (time_output): Output ab_alt_mon and wab_alt_mon members.
18198 (time_read): Read them, initialize them as copies of abmon and wabmon
18199 respectively if they are missing, initialize ab_alt_mon_defined.
18200 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18201 * locale/programs/locfile-kw.h: Regenerate.
18202 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18203 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18204 and ru_RU.UTF-8.
18205 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18206 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18207 (__strftime_internal): Handle %Ob and %Oh formats.
18208 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18209 (__strptime_internal): Handle %Ob and %Oh formats.
18210 * time/tst-strptime.c (day_tests): Add more tests to parse different
18211 forms of month names including the new %Ob format specifier.
18212
18213 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18214
18215 [BZ #10871]
18216 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18217 define them as the same as primary full month names explicitly.
18218 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18219 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18220 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18221 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18222 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18223 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18224 _NL_WALTMON_12): New enum constants.
18225 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18226 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18227 macros.
18228 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18229 walt_mon, and alt_mon_defined members.
18230 (time_output): Output alt_mon and walt_mon members.
18231 (time_read): Read them, initialize them as copies of mon and wmon
18232 respectively if they are missing, initialize alt_mon_defined.
18233 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18234 * locale/programs/locfile-kw.h: Regenerate.
18235 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18236 * localedata/tst-langinfo.c (map): Add tests for the new constants
18237 ALTMON_1 .. ALTMON_12.
18238 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18239 and pl_PL.UTF-8.
18240 * time/strftime_l.c (f_altmonth): New macro.
18241 (__strftime_internal): Handle %OB format.
18242 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18243 (__strptime_internal): Handle %OB format.
18244 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18245 of month names including the new %OB format specifier.
18246
18247 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18248
18249 [BZ #22685]
18250 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18251 from ABORT_TRANSACTION.
18252 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18253 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18254 ABORT_TRANSACTION_IMPL): Likewise.
18255 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18256 Linux code, but remove the code that aborts transactions.
18257
18258 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18259
18260 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18261
18262 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18263
18264 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18265 in date: "2004-14-09" should be "2004-09-14".
18266 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18267 "2003-15-09" should be "2003-09-15".
18268
18269 2018-01-18 Arjun Shankar <arjun@redhat.com>
18270
18271 [BZ #22343]
18272 [BZ #22774]
18273 CVE-2018-6485
18274 CVE-2018-6551
18275 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18276 after padding.
18277 (_int_memalign): check for integer overflow before calling
18278 _int_malloc.
18279 * malloc/tst-malloc-too-large.c: New test.
18280 * malloc/Makefile: Add tst-malloc-too-large.
18281
18282 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18283
18284 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18285 in date: "2017-24-07" should be "2017-07-24".
18286 * localedata/locales/mai_IN: Likewise.
18287 * localedata/locales/mai_NP: Likewise.
18288
18289 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
18290
18291 * po/ru.po: Update translations.
18292
18293 2018-01-17 Joseph Myers <joseph@codesourcery.com>
18294
18295 [BZ #22719]
18296 * sysdeps/hppa/backtrace.c: New file.
18297
18298 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18299
18300 [BZ #22715]
18301 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18302 align La_x86_64_retval to VEC_SIZE.
18303
18304 2018-01-16 Joseph Myers <joseph@codesourcery.com>
18305
18306 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
18307 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
18308
18309 2018-01-16 Florian Weimer <fweimer@redhat.com>
18310
18311 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
18312 Move tst-thread-exit-clobber ...
18313 [$(CXX)] (tests-unsupported): ... to here.
18314
18315 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18316
18317 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
18318 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
18319 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18320 (_dl_aarch64_cap_flags): Update.
18321 (_DL_HWCAP_COUNT): Update.
18322
18323 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18324
18325 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
18326 (_DL_HWCAP_LAST): Remove.
18327 (_DL_HWCAP_COUNT): Move to ...
18328 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18329 (_DL_HWCAP_COUNT): ... here.
18330
18331 2018-01-16 Florian Weimer <fweimer@redhat.com>
18332
18333 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
18334 mode with GNU extensions.
18335
18336 2018-01-15 Alan Hayward <alan.hayward@arm.com>
18337
18338 * elf/elf.h (NT_ARM_SVE): Define.
18339
18340 2018-01-15 Florian Weimer <fweimer@redhat.com>
18341
18342 [BZ #22636]
18343 * nptl/tst-minstack-throw.cc: New file.
18344 * nptl/Makefile (tests): Add tst-minstack-throw.
18345 (LDLIBS-tst-minstack-throw): Link with libstdc++.
18346 [!CXX] (tests-unsupported): Add tst-minstack-throw.
18347
18348 2018-01-15 Joseph Myers <joseph@codesourcery.com>
18349
18350 * scripts/build-many-glibcs.py (Context.checkout): Default
18351 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
18352 version to 1.1.0.
18353
18354 2018-01-13 Carlos O'Donell <carlos@redhat.com>
18355
18356 [BZ #22707]
18357 * elf/elf.h (DF_1_STUB): Define.
18358 (DF_1_PIE): Define.
18359
18360 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18361
18362 [BZ #22697]
18363 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
18364 Do not add 0.5 to integer or out-of-range arguments.
18365
18366 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18367
18368 * po/bg.po: Update translations.
18369 * po/cs.po: Likewise.
18370 * po/de.po: Likewise.
18371 * po/ko.po: Likewise.
18372 * po/pl.po: Likewise.
18373 * po/sv.po: Likewise.
18374 * po/uk.po: Likewise.
18375 * po/vi.po: Likewise.
18376
18377 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18378
18379 * aarch64/start.S (_start): Use __wrap_main.
18380 (__wrap_main): New local symbol.
18381
18382 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18383
18384 [BZ #22679]
18385 CVE-2018-1000001
18386 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
18387 generic_getcwd if the path returned by getcwd syscall is not absolute.
18388 * io/tst-getcwd-abspath.c: New test.
18389 * io/Makefile (tests): Add tst-getcwd-abspath.
18390
18391 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
18392
18393 * malloc/malloc.c (malloc_consolidate): Add size check.
18394
18395 2018-01-12 Florian Weimer <fweimer@redhat.com>
18396
18397 * support/write_message.c (write_message): Preserve errno.
18398 * support/check.c (print_failure): Likewise.
18399 * support/support_test_verify_impl.c (support_test_verify_impl):
18400 Likewise.
18401 * support/support_test_compare_failure.c
18402 (support_test_compare_failure): Likewise.
18403
18404 2018-01-12 Florian Weimer <fweimer@redhat.com>
18405
18406 [BZ #22701]
18407 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
18408 Prevent installation of libnsl.so.
18409 (libnsl-inhibit-o): Do not build (or install) static libraries.
18410
18411 2018-01-12 Egmont Koblinger <egmont@gmail.com>
18412
18413 [BZ #22657]
18414 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
18415 before the day number which may produce a double space.
18416 (date_fmt): Likewise.
18417
18418 2018-01-12 Joseph Myers <joseph@codesourcery.com>
18419
18420 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
18421 instead of fegetenv.
18422
18423 2018-01-11 Joseph Myers <joseph@codesourcery.com>
18424
18425 [BZ #22702]
18426 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
18427 comment to say exceptions are discarded.
18428 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
18429 __fegetenv.
18430 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
18431 be enabled.
18432
18433 2018-01-11 Florian Weimer <fweimer@redhat.com>
18434
18435 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
18436 and error message.
18437
18438 2018-01-11 Florian Weimer <fweimer@redhat.com>
18439
18440 [BZ #22636]
18441 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
18442 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
18443
18444 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18445
18446 [BZ #22693]
18447 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
18448 negative arguments in test for NaN or infinity argument.
18449
18450 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
18451
18452 * po/libc.pot: Regenerate.
18453
18454 2018-01-10 Florian Weimer <fweimer@redhat.com>
18455
18456 [BZ #22636]
18457 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
18458 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
18459
18460 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18461
18462 * hurd/hurd/fd.h: Include <fcntl.h>
18463 (__hurd_at_flags): New function.
18464 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
18465 with call to __hurd_at_flags.
18466 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
18467 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
18468 __faccessat
18469 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
18470 (__access_noerrno): Use __faccessat_common instead of access_common.
18471 (__access): Likewise.
18472 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
18473 with a call to __faccessat.
18474 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
18475 (__faccessat_common): ... this. Move implementation of __access into it when
18476 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
18477 reauthenticate_cwdir_at helper to implement AT mechanism.
18478 (__faccessat_noerrno): New function, just calls __faccessat_common.
18479 (__faccessat): New function, just calls __faccessat_common.
18480 (faccessat): Define weak alias.
18481
18482 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18483
18484 [BZ #22691]
18485 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18486 (CFLAGS-s_fmaxmagl.c): New variable.
18487 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
18488
18489 [BZ #22690]
18490 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
18491 long int for arguments of possibly overflowing addition or
18492 subtraction.
18493 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18494
18495 2018-01-09 Joseph Myers <joseph@codesourcery.com>
18496
18497 [BZ #22688]
18498 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18499 (CFLAGS-e_remainderl.c): New variable.
18500
18501 [BZ #22687]
18502 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
18503 variable.
18504 (CFLAGS-s_cacoshl.c): Likewise.
18505 (CFLAGS-s_casinhl.c): Likewise.
18506 (CFLAGS-s_catanl.c): Likewise.
18507 (CFLAGS-s_catanhl.c): Likewise.
18508 (CFLAGS-s_cexpl.c): Likewise.
18509 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
18510 (CFLAGS-s_csinhl.c): Likewise.
18511 (CFLAGS-s_clogl.c): Likewise.
18512 (CFLAGS-s_clog10l.c): Likewise.
18513 (CFLAGS-s_csinl.c): Likewise.
18514 (CFLAGS-s_csqrtl.c): Likewise.
18515
18516 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
18517 2017-01-09 Svante Signell <svante.signell@gmail.com>
18518
18519 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
18520 (_hurd_exec_paths): New function.
18521 * hurd/hurd.h (_hurd_exec): Deprecate function.
18522 (_hurd_exec_paths): Declare function.
18523 * hurd/Versions: Export _hurd_exec_paths.
18524 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
18525 (__execve): Use __getcwd to build absolute path, and use
18526 _hurd_exec_paths instead of _hurd_exec.
18527 * sysdeps/mach/hurd/spawni.c: Likewise.
18528 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
18529 _hurd_exec.
18530
18531 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
18532
18533 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
18534 test instead of failing in case of ENOENT returned by posix_openpt.
18535
18536 2018-01-08 Florian Weimer <fweimer@redhat.com>
18537
18538 resolv: Support binary labels in test framework.
18539 * support/resolv_test.c (struct to_be_freed): Remove.
18540 (struct compressed_name): New.
18541 (allocate_compressed_name, ascii_tolower)
18542 (compare_compressed_name): New functions.
18543 (struct resolv_response_builder): Update type of
18544 compression_offsets for use with tsearch. Rempve to_be_freed.
18545 (response_push_pointer_to_free): Remove function.
18546 (resolv_response_add_name): Rewrite using struct compressed_name
18547 and tsearch instead of hsearch_r.
18548 (response_builder_allocate): Remove initialization of
18549 compression_offsets.
18550 (response_builder_free): Update for removal of to_be_freed. Use
18551 tdestroy instead of hdestroy_r.
18552 * resolv/Makefile (tests): Add tst-resolv-binary.
18553 (tst-resolv-binary): Link with -lresolv -lpthread.
18554
18555 2018-01-08 Florian Weimer <fweimer@redhat.com>
18556
18557 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
18558 time. Pass positive flag instead of negative flag to
18559 support_test_compare_failure.
18560 (support_test_compare_failure): Change negative parameter to
18561 positive.
18562 * support/support_test_compare_failure.c (report)
18563 (support_test_compare_failure): Likewise.
18564 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18565 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18566
18567 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18568
18569 [BZ #22637]
18570 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18571 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18572 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18573 stacksize.
18574 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18575
18576 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18577
18578 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18579 Add s_sincosf-sse2 and s_sincosf-fma.
18580 (CFLAGS-s_sincosf-fma.c): New.
18581 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18582 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18583 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18584 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18585 __sincosf is defined.
18586
18587 2018-01-08 Florian Weimer <fweimer@redhat.com>
18588
18589 * nptl/tst-thread-exit-clobber.cc: New file.
18590 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18591 C++11 mode.
18592 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18593 (tests): Add tst-thread-exit-clobber.
18594 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18595
18596 2018-01-08 Florian Weimer <fweimer@redhat.com>
18597
18598 * support/check.h (support_static_assert): Define.
18599 (TEST_COMPARE): Use it.
18600
18601 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18602
18603 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18604 [!__RLIM_T_MATCHES_RLIM64_T]
18605 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18606 __getrlimit64. Add libc_hidden_weak.
18607
18608 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
18609
18610 * elf/elf.h (R_RISCV_NONE): New define.
18611 (R_RISCV_32): Likewise.
18612 (R_RISCV_64): Likewise.
18613 (R_RISCV_RELATIVE): Likewise.
18614 (R_RISCV_COPY): Likewise.
18615 (R_RISCV_JUMP_SLOT): Likewise.
18616 (R_RISCV_TLS_DTPMOD32): Likewise.
18617 (R_RISCV_TLS_DTPMOD64): Likewise.
18618 (R_RISCV_TLS_DTPREL32): Likewise.
18619 (R_RISCV_TLS_DTPREL64): Likewise.
18620 (R_RISCV_TLS_TPREL32): Likewise.
18621 (R_RISCV_TLS_TPREL64): Likewise.
18622 * Makerules (make-link-multidir): Make directories before linking into
18623 them.
18624 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18625 define.
18626 (VDSO_HASH_LINUX_4_15): Likewise.
18627 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18628 in subdirectories of lib.
18629 * nptl/Makefile (/librt.so): Always depend on
18630 "$(shared-thread-library)".
18631
18632 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18633
18634 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
18635 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18636 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18637 (___tls_get_addr).
18638 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
18639 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18640 "-O2 -march=i686".
18641 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
18642 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18643 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18644 * sysdeps/gnu/glob-lstat-compat.c: New file.
18645 * sysdeps/gnu/glob64-lstat-compat.c: New file.
18646 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
18647
18648 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18649
18650 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18651 Reserve 16 chars to reloc_addr before calling _itoa_word.
18652
18653 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18654
18655 [BZ #22678]
18656 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18657 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18658
18659 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18660 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18661
18662 * resource/tst-getrlimit.c: Add copyright header.
18663
18664 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18665 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18666
18667 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18668 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18669 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18670 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18671 instead.
18672 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18673 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18674 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18675 RLIM64_INFINITY): Fix values to match the kernel ones.
18676 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18677 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18678 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18679 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18680 getrlimit64@@GLIBC_2_27.
18681 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18682 and setrlimit64.
18683 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18684 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18685 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18686 setrlimit, getrlimit64 and setrlimit64.
18687
18688 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18689
18690 [BZ #22648]
18691 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18692 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18693
18694 2018-01-04 Joseph Myers <joseph@codesourcery.com>
18695
18696 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18697 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18698 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18699
18700 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18701
18702 [BZ #15479]
18703 [BZ #22666]
18704 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18705 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18706
18707 [BZ #15479]
18708 [BZ #22665]
18709 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18710 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18711 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18712 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18713
18714 2018-01-04 Florian Weimer <fweimer@redhat.com>
18715
18716 [BZ #22667]
18717 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18718 Align the stack before calling exit.
18719 * stdlib/tst-makecontext-align.c: New file.
18720 * stdlib/Makefile (tests): Add tst-makecontext-align.
18721
18722 2018-01-04 Florian Weimer <fweimer@redhat.com>
18723
18724 Add support for calling dlvsym from libc.so.
18725 * include/dlfcn.h (__libc_dlvsym): Declare.
18726 * elf/Makefile (tests-static-internal): Add
18727 tst-libc_dlvsym-static.
18728 (tests-internal): Add tst-libc_dlvsym.
18729 (modules-names): Add tst-libc_dlvsym-dso.
18730 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18731 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18732 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18733 object tst-libc_dlvsym-dso.so needs to be built before running
18734 these tests.
18735 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18736 * elf/Versions: Export __libc_dlvsym.
18737 * elf/dl-libc.c (struct do_dlvsym_args): New.
18738 (do_dlvsym, __libc_dlvsym): New functions.
18739 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18740 (_dl_open_hook2): New variable.
18741 (__libc_register_dl_open_hook): Set it.
18742 * elf/tst-libc_dlvsym-dso.c: New file.
18743 * elf/tst-libc_dlvsym-static.c: Likewise.
18744 * elf/tst-libc_dlvsym.c: Likewise.
18745 * elf/tst-libc_dlvsym.h: Likewise.
18746
18747 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18748
18749 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18750 include <sys/mount.h>.
18751
18752 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18753
18754 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18755 Add __NO_MATH_ERRNO__ check.
18756
18757 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18758
18759 * sysdeps/mips/mips32/libm-test-ulps: Update.
18760 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18761
18762 2018-01-02 Florian Weimer <fweimer@redhat.com>
18763
18764 * misc/tst-pselect.c: Add copyright header.
18765
18766 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18767
18768 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18769 comment.
18770 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18771 comment.
18772 (settrlimit): Rename into setrlimit.
18773 (__sttrlimit): Rename into __setrlimit.
18774
18775 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18776 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18777 never defined in that case.
18778
18779 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18780
18781 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18782
18783 * sysdeps/arm/libm-test-ulps: Update.
18784
18785 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18786 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18787
18788 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18789
18790 * NEWS: Add cosf and sincosf to list of optimized functions.
18791
18792 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18793
18794 [BZ #22660]
18795 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18796 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18797 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18798 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18799
18800 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18801
18802 [BZ #22433]
18803 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18804
18805 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18806 making a copy of it.
18807
18808 2018-01-01 Joseph Myers <joseph@codesourcery.com>
18809
18810 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18811 trailing whitespace removed.
18812 * scripts/config.guess: Update to version 2018-01-01.
18813 * scripts/config.sub: Update to version 2018-01-01.
18814 * scripts/move-if-change: Update from gnulib.
18815
18816 * NEWS: Update copyright dates.
18817 * catgets/gencat.c (print_version): Likewise.
18818 * csu/version.c (banner): Likewise.
18819 * debug/catchsegv.sh: Likewise.
18820 * debug/pcprofiledump.c (print_version): Likewise.
18821 * debug/xtrace.sh (do_version): Likewise.
18822 * elf/ldconfig.c (print_version): Likewise.
18823 * elf/ldd.bash.in: Likewise.
18824 * elf/pldd.c (print_version): Likewise.
18825 * elf/sotruss.sh: Likewise.
18826 * elf/sprof.c (print_version): Likewise.
18827 * iconv/iconv_prog.c (print_version): Likewise.
18828 * iconv/iconvconfig.c (print_version): Likewise.
18829 * locale/programs/locale.c (print_version): Likewise.
18830 * locale/programs/localedef.c (print_version): Likewise.
18831 * login/programs/pt_chown.c (print_version): Likewise.
18832 * malloc/memusage.sh (do_version): Likewise.
18833 * malloc/memusagestat.c (print_version): Likewise.
18834 * malloc/mtrace.pl: Likewise.
18835 * manual/libc.texinfo: Likewise.
18836 * nptl/version.c (banner): Likewise.
18837 * nscd/nscd.c (print_version): Likewise.
18838 * nss/getent.c (print_version): Likewise.
18839 * nss/makedb.c (print_version): Likewise.
18840 * posix/getconf.c (main): Likewise.
18841 * scripts/test-installation.pl: Likewise.
18842 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18843
18844 * All files with FSF copyright notices: Update copyright dates
18845 using scripts/update-copyrights.
18846 * locale/programs/charmap-kw.h: Regenerated.
18847 * locale/programs/locfile-kw.h: Likewise.
18848
18849 2017-12-31 Zack Weinberg <zackw@panix.com>
18850
18851 * libio/bits/libio-ldbl.h: Correct check for improper
18852 inclusion. Add own multiple include guard.
18853
18854 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18855 Dmitry V. Levin <ldv@altlinux.org>
18856
18857 [BZ #22625]
18858 CVE-2017-16997
18859 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18860 string token expansion. Check for NULL pointer or empty string possibly
18861 returned by expand_dynamic_string_token.
18862 (decompose_rpath): Check for empty path after dynamic string
18863 token expansion.
18864
18865 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18866
18867 [BZ #22433]
18868 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18869
18870 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18871 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18872 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18873 and PTRACE_SYSCALL.
18874 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18875 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18876 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18877 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18878 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18879 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18880
18881 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18882 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18883 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18884 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18886 bits/ptrace-shared.h.
18887 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18888 <bits/ptrace-shared.h>.
18889 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18890 __ptrace_peeksiginfo_flags, ptrace): Remove.
18891 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18892 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18893 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18894 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18895 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18896
18897 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18898
18899 [BZ #17804]
18900 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18901 end of the loop. Improve comments.
18902
18903 2017-12-29 Zack Weinberg <zackw@panix.com>
18904
18905 [BZ #22615]
18906 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18907 might be set on success.
18908
18909 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18910
18911 [BZ #22611]
18912 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18913 is unchanged on success.
18914
18915 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18916
18917 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18918 updated.
18919 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18920 expand_dynamic_string_token): Likewise.
18921 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18922 is_path argument.
18923
18924 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18925 contains ':'.
18926
18927 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18928 is set and name contains ':', and all code depending on these checks.
18929
18930 2017-12-24 Zack Weinberg <zackw@panix.com>
18931
18932 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18933 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18934 respectively.
18935 * libio/libio.h: Rename the original version of this file to
18936 libio/bits/libio.h. Error out if not included by stdio.h or the
18937 stub libio.h.
18938 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18939 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18940 if not included by bits/libio.h or the stub _G_config.h.
18941 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18942 sysdeps/unix/sysv/linux/bits. Error out if not included by
18943 bits/libio.h or the stub _G_config.h.
18944 * libio/stdio.h: Include bits/libio.h, not libio.h.
18945 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18946 well as libio.h and _G_config.h.
18947
18948 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18949 * libio/strfile.h, stdio-common/vfscanf.c
18950 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18951 Include stdio.h, not _G_config.h nor libio.h.
18952 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18953 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18954
18955 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18956
18957 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18958
18959 [BZ #22347]
18960 * stdlib/getrandom.c (getrandom): Fix comment.
18961 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18962
18963 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
18964
18965 [BZ #21161]
18966 * manual/arith.texi (strtoul): Fix a typo.
18967
18968 [BZ #22596]
18969 * manual/arith.texi (finite): Fix the description of the return
18970 value.
18971
18972 2017-12-22 Eric Blake <ebb9@byu.net>
18973
18974 Avoid gcc warnings on cygwin
18975 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
18976 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
18977 Avoid unused variable.
18978
18979 2017-12-22 Florian Weimer <fweimer@redhat.com>
18980
18981 * io/Makefile (routines): Add copy_file_range.
18982 (tests): Add tst-copy_file_range.
18983 (tests-static, tests-internal): Add tst-copy_file_range-compat.
18984 * io/Versions (GLIBC_2.27): Export copy_file_range.
18985 * io/copy_file_range-compat.c: New file.
18986 * io/copy_file_range.c: Likewise.
18987 * io/tst-copy_file_range-compat.c: Likewise.
18988 * io/tst-copy_file_range.c: Likewise.
18989 * manual/llio.texi (Copying File Data): New section.
18990 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
18991 * support/Makefile (libsupport-routines): Add support-xfstat,
18992 xftruncate, xlseek.
18993 * support/support-xfstat.c: New file.
18994 * support/xftruncate.c: Likewise.
18995 * support/xlseek.c: Likewise.
18996 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
18997 * sysdeps/unix/sysv/linux/**.abilist: Update.
18998 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
18999
19000 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19001
19002 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19003 disable-multi-arch variant to aarch64-linux-gnu.
19004
19005 2017-12-20 Joseph Myers <joseph@codesourcery.com>
19006
19007 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19008 trailing whitespace removed.
19009 * scripts/config.guess: Update to version 2017-12-17.
19010 * scripts/config.sub: Update to version 2017-11-23.
19011 * scripts/install-sh: Update to version 2017-09-23.17.
19012 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19013
19014 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19015
19016 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19017 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19018 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19019 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19020 * sysdeps/tile/crtn.S: Likewise.
19021 * sysdeps/tile/dl-start.S (_start): Likewise.
19022 * sysdeps/tile/dl-trampoline.S: Likewise.
19023 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19024 * sysdeps/tile/start.S (_start): Likewise.
19025 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19026 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19027 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19028 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19029 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19030 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19031 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19032
19033 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19034 comment.
19035 * sysdeps/tile/preconfigure: Remove tilegx folder.
19036 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19037 * sysdeps/tile/Implies: ... here.
19038 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19039 * sysdeps/tile/Makefile: ... here.
19040 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19041 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19042 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19043 * sysdeps/tile/bits/wordsize.h: ... here.
19044 * sysdeps/tile/tilegx/*: Move to ...
19045 * sysdeps/tile/*: ... here.
19046 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19047 * sysdeps/tile/tilegx32/Implies: ... here.
19048 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19049 * sysdeps/tile/tilegx64/Implies: ... here.
19050 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19051 to ...
19052 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19053 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19054 * sysdeps/unix/sysv/linux/tile/*: ... here.
19055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19056 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19058 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19059
19060 * README: Remove tilepro-*-linux-gnu from supported architecture.
19061 * scripts/build-many-glibcs.py: Likewise.
19062 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19063 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
19064 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
19065 elf_machine_matches_host, elf_machine_dynamic,
19066 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
19067 howto, elf_machine_rela): Likewise.
19068 * sysdeps/tile/dl-start.S (_start): Likewise.
19069 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
19070 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
19071 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
19072 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
19073 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
19074 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19075 Likewise.
19076 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
19077 * sysdeps/tile/preconfigure: Likewise.
19078 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
19079 POINTER_CHK_GUARD): Likewise.
19080 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
19081 * sysdeps/tile/start.S (_start): Likewise.
19082 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
19083 Likewise.
19084 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
19085 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
19086 CMOVNEZ): Remove.
19087 * sysdeps/unix/sysv/linux/tile/bits/environments.h
19088 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
19089 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
19090 Likewise.
19091 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
19092 * sysdeps/tile/tilepro/Implies: Remove file.
19093 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
19094 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
19095 * sysdeps/tile/tilepro/memchr.c: Likewise.
19096 * sysdeps/tile/tilepro/memcpy.S: Likewise.
19097 * sysdeps/tile/tilepro/memset.c: Likewise.
19098 * sysdeps/tile/tilepro/memusage.h: Likewise.
19099 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
19100 * sysdeps/tile/tilepro/strchr.c: Likewise.
19101 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
19102 * sysdeps/tile/tilepro/strlen.c: Likewise.
19103 * sysdeps/tile/tilepro/strrchr.c: Likewise.
19104 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
19105 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
19106 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19107 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
19108 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
19109 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19110 Likewise.
19111 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
19112 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19113 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
19114 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
19115 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19116 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
19117 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
19118 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
19119 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
19120 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
19121 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
19122 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
19123 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
19124 tilepro mention in comment.
19125
19126 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
19127 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
19128 * nptl/pthread_join_common.c: New file: common function used on
19129 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
19130 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
19131 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
19132 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19133 (cleanup): Move definition to pthread_join_common.c.
19134 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
19135 Remove superflous checks.
19136 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
19137 Likewise.
19138
19139 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
19140
19141 * sysdeps/aarch64/libm-test-ulps: Update.
19142
19143 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19144
19145 * sysdeps/aarch64/memset.S (MEMSET): Define.
19146
19147 2017-12-20 Florian Weimer <fweimer@redhat.com>
19148
19149 [BZ #22635]
19150 nptl: Provide full implementation of pthread_self in libc.so.
19151 * nptl/Makefile (routines): Add pthread_self.
19152 (libpthread-routines): Replace pthread_self with
19153 compat-pthread_self.
19154 * nptl/forward.c (pthread_self): Remove.
19155 * nptl/nptl-init.c (pthread_functions): Do not initialize
19156 ptr_pthread_self.
19157 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19158 * nptl/compat-pthread_self.c: New file.
19159 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19160 Remove ptr_pthread_self.
19161
19162 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19163
19164 * posix/regcomp.c: Fix spelling in comments.
19165 * posix/regex.h: Likewise.
19166 * posix/regex_internal.c: Likewise.
19167 * posix/regexec.c: Likewise.
19168
19169 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19170
19171 [BZ #22377]
19172 * math/Makefile [C++] (tests): Add test for iseqsig.
19173 * math/math.h [C++] (iseqsig): New implementation, which does
19174 not rely on __MATH_TG/__builtin_types_compatible_p.
19175 * math/test-math-iseqsig.cc: New file.
19176 * sysdeps/powerpc/powerpc64le/Makefile
19177 (CFLAGS-test-math-iseqsig.cc): New variable.
19178
19179 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19180
19181 * elf/dl-load.c (is_trusted_path): Remove.
19182 (fillin_rpath): Remove check_trusted argument and its use,
19183 all callers changed.
19184
19185 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19186
19187 [BZ #22630]
19188 * Makeconfig (link-pie-before-libc): Replace -pie with
19189 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19190 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19191 (tst-dlopen-aout-no-pie): New.
19192 (LDFLAGS-tst-prelink): Removed.
19193 (tst-prelink-no-pie): New.
19194 (LDFLAGS-tst-main1): Removed.
19195 (tst-main1-no-pie): New.
19196 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19197 (tst-gmon-no-pie): New.
19198
19199 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19200
19201 * manual/install.texi: Document that --enable-static-pie
19202 implies PIE.
19203 * INSTALL: Regenerated.
19204
19205 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19206
19207 [BZ #21309]
19208 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19209 unsigned.
19210
19211 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19212
19213 Revert:
19214
19215 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19216
19217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19218
19219 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19220
19221 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19222 <errno.h>. Include "eexp.tbl".
19223 (half): New constant.
19224 (one): Likewise.
19225 (__ieee754_exp): Rewrite.
19226 (__slowexp): Remove prototype.
19227 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19228 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19229 * sysdeps/i386/fpu/slowexp.c: Likewise.
19230 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19231 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19232 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19233 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19234 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19235 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19236 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19237 comment.
19238 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19239 (CPPFLAGS-slowexp.c): Remove variable.
19240 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19241 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19242 (CFLAGS-slowexp-fma.c): Remove variable.
19243 (CFLAGS-slowexp-fma4.c): Likewise.
19244 (CFLAGS-slowexp-avx.c): Likewise.
19245 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19246 define as macro.
19247 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19248 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19249 * math/Makefile (type-double-routines): Remove slowexp.
19250 * manual/probes.texi (slowexp_p6): Remove.
19251 (slowexp_p32): Likewise.
19252
19253 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19254
19255 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19256 arithmetic.
19257
19258 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19259
19260 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19261
19262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19263
19264 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19265
19266 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19267 <errno.h>. Include "eexp.tbl".
19268 (half): New constant.
19269 (one): Likewise.
19270 (__ieee754_exp): Rewrite.
19271 (__slowexp): Remove prototype.
19272 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19273 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19274 * sysdeps/i386/fpu/slowexp.c: Likewise.
19275 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19276 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19277 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19278 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19279 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19280 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19281 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19282 comment.
19283 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19284 (CPPFLAGS-slowexp.c): Remove variable.
19285 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19286 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19287 (CFLAGS-slowexp-fma.c): Remove variable.
19288 (CFLAGS-slowexp-fma4.c): Likewise.
19289 (CFLAGS-slowexp-avx.c): Likewise.
19290 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19291 define as macro.
19292 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19293 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19294 * math/Makefile (type-double-routines): Remove slowexp.
19295 * manual/probes.texi (slowexp_p6): Remove.
19296 (slowexp_p32): Likewise.
19297
19298 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19299 James Clarke <jrtc27@jrtc27.com>
19300
19301 [BZ #22603]
19302 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
19303 addition.
19304
19305 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19306
19307 [BZ #22605]
19308 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
19309 code.
19310
19311 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19312
19313 [BZ #22563]
19314 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19315 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19316 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19317 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19318 to feature_1.
19319
19320 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19321
19322 [BZ #22563]
19323 * bits/types/__cancel_jmp_buf_tag.h: New file.
19324 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19325 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19326 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19327 * nptl/Makefile (headers): Add
19328 bits/types/__cancel_jmp_buf_tag.h.
19329 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19330 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19331 * sysdeps/nptl/pthread.h: Include
19332 <bits/types/__cancel_jmp_buf_tag.h>.
19333 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19334 __cancel_jmp_buf.
19335 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19336
19337 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19338
19339 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19340 --enable-static-pie variants to x86_64, x32 and i686.
19341
19342 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19343
19344 [BZ #22631]
19345 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
19346 argument for attrubutes. All callers changed.
19347 (__inline_mathop1): Likewise. All callers changed.
19348 (__inline_mathop): Likewise. All callers changed.
19349 [__USE_MISC] (scalbn): Use __inline_forward instead of
19350 __inline_forward_c.
19351 [__USE_ISOC99] (scalbln): Likewise.
19352 [__USE_ISOC99] (nearbyint): Likewise.
19353 [__USE_ISOC99] (lrint): Likewise.
19354 [__USE_MISC] (scalbnf): Likewise.
19355 [__USE_ISOC99] (scalblnf): Likewise.
19356 [__USE_ISOC99] (nearbyintf): Likewise.
19357 [__USE_ISOC99] (lrintf): Likewise.
19358 [__USE_MISC] (scalbnl): Likewise.
19359 [__USE_ISOC99] (scalblnl): Likewise.
19360 [__USE_ISOC99] (nearbyintl): Likewise.
19361 [__USE_ISOC99] (lrintl): Likewise.
19362 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
19363 __inline_mathop and __m81_defun changed.
19364
19365 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
19366 CPU or FPU for ARM hard-float configurations.
19367
19368 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19369
19370 * nptl/tst-attr3.c: Include <libc-diag.h>.
19371 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
19372
19373 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
19374
19375 * string/tester.c (test_strncat): Also disable -Warray-bounds
19376 warnings for two tests.
19377
19378 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19379
19380 [BZ #22614]
19381 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
19382 $(cc-pie-default) == yes.
19383 * config.make.in (cc-pie-default): New.
19384 * configure.ac (libc_cv_pie_default): Renamed to ...
19385 (libc_cv_cc_pie_default): This.
19386 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
19387 * configure: Regenerated.
19388
19389 2017-12-18 Florian Weimer <fweimer@redhat.com>
19390
19391 [BZ #20204]
19392 ld.so: Harden dl-libc/libdl hooks.
19393 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
19394 (rtld_active): New function.
19395 * dlfcn/dladdr.c (__dladdr): Call it.
19396 * dlfcn/dladdr1.c (__dladdr1): Likewise.
19397 * dlfcn/dlclose.c (__dlcose): Likewise.
19398 * dlfcn/dlerror.c (__dlerror): Likewise.
19399 * dlfcn/dlinfo.c (__dlinfo): Likewise.
19400 * dlfcn/dlmopen.c (__dlmopen): Likewise.
19401 * dlfcn/dlopen.c (__dlopen): Likewise.
19402 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19403 * dlfcn/dlsym.c (__dlsym): Likewise.
19404 * dlfcn/dlvsym.c (__dlvsym): Likewise.
19405 * libio/vtables.c (_IO_vtable_check): Likewise.
19406 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
19407 (__libc_dlclose): Likewise.
19408 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
19409 assignment.
19410
19411 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19412
19413 [BZ #22446]
19414 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
19415 buffers for readlink input and output.
19416
19417 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
19418
19419 [BZ #22624]
19420 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
19421 inhibit_stack_protector.
19422
19423 [BZ #22624]
19424 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
19425 inhibit_stack_protector.
19426
19427 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
19428
19429 [BZ #22627]
19430 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
19431 code and invocation.
19432
19433 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19434
19435 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
19436
19437 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
19438
19439 [BZ #22505]
19440 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
19441
19442 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19443
19444 * sysdeps/s390/fpu/libm-test-ulps: Update.
19445
19446 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19447
19448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19449
19450 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19451
19452 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
19453 constants to s_sincosf.h file.
19454 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19455 * sysdeps/ieee754/flt-32/s_sincosf.c: New
19456 implementation.
19457 * sysdeps/ieee754/flt-32/s_sincosf.h:
19458 New file.
19459
19460 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19461
19462 [BZ #14681]
19463 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
19464 before mtrace.
19465
19466 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
19467
19468 [BZ #19574]
19469 * INSTALL: Regenerated.
19470 * Makeconfig (real-static-start-installed-name): New.
19471 (pic-default): Updated for --enable-static-pie.
19472 (pie-default): New for --enable-static-pie.
19473 (default-pie-ldflag): Likewise.
19474 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
19475 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
19476 Replace $(static-start-installed-name) with
19477 $(real-static-start-installed-name).
19478 (+prectorT): Updated for --enable-static-pie.
19479 (+postctorT): Likewise.
19480 (CFLAGS-.o): Add $(pie-default).
19481 (CFLAGS-.op): Likewise.
19482 * NEWS: Mention --enable-static-pie.
19483 * config.h.in (ENABLE_STATIC_PIE): New.
19484 * configure.ac (--enable-static-pie): New configure option.
19485 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
19486 (have-static-pie): Likewise.
19487 Enable static PIE if linker supports --no-dynamic-linker.
19488 (ENABLE_STATIC_PIE): New AC_DEFINE.
19489 (enable-static-pie): New LIBC_CONFIG_VAR.
19490 * configure: Regenerated.
19491 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
19492 gr$(start-installed-name) for --enable-static-pie.
19493 (extra-objs): Likewise.
19494 (install-lib): Likewise.
19495 (extra-objs): Add static-reloc.o and static-reloc.os
19496 ($(objpfx)$(start-installed-name)): Also depend on
19497 $(objpfx)static-reloc.o.
19498 ($(objpfx)r$(start-installed-name)): New.
19499 ($(objpfx)g$(start-installed-name)): Also depend on
19500 $(objpfx)static-reloc.os.
19501 ($(objpfx)gr$(start-installed-name)): New.
19502 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
19503 in libc.a.
19504 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
19505 initimage.
19506 * csu/static-reloc.c: New file.
19507 * elf/Makefile (routines): Add dl-reloc-static-pie.
19508 (elide-routines.os): Likewise.
19509 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
19510 (tst-tls1-static-non-pie-no-pie): New.
19511 * elf/dl-reloc-static-pie.c: New file.
19512 * elf/dl-support.c (_dl_get_dl_main_map): New function.
19513 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
19514 STATIC_PIE_BOOTSTRAP.
19515 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19516 * gmon/Makefile (tests): Add tst-gmon-static-pie.
19517 (tests-static): Likewise.
19518 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
19519 (tst-gmon-static-no-pie): New.
19520 (CFLAGS-tst-gmon-static-pie.c): Likewise.
19521 (CRT-tst-gmon-static-pie): Likewise.
19522 (tst-gmon-static-pie-ENV): Likewise.
19523 (tests-special): Likewise.
19524 ($(objpfx)tst-gmon-static-pie.out): Likewise.
19525 (clean-tst-gmon-static-pie-data): Likewise.
19526 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
19527 * gmon/tst-gmon-static-pie.c: New file.
19528 * manual/install.texi: Document --enable-static-pie.
19529 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
19530 (_dl_get_dl_main_map): Likewise.
19531 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
19532 * sysdeps/x86_64/configure.ac: Likewise.
19533 * sysdeps/i386/configure: Regenerated.
19534 * sysdeps/x86_64/configure: Likewise.
19535 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
19536 (ASFLAGS-.op): Likewise.
19537
19538 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19539
19540 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
19541 * posix/tst-mmap-offset.c (fname): Use /tmp.
19542 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
19543
19544 2017-12-15 Steve Ellcey <sellcey@cavium.com>
19545
19546 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
19547
19548 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
19549
19550 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
19551 errno.
19552
19553 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19554
19555 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19556 --with-float=hard for arm-linux-gnueabihf configurations.
19557
19558 [BZ #14121]
19559 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
19560 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
19561 ($(mo-installed)): Use $(objpfx)%.mo.
19562 (realclean): Remove rule.
19563
19564 * po/Makefile (linguas): Remove rule and dependencies.
19565 (linguas.mo): Likewise.
19566 (.PHONY): Do not depend on linguas and linguas.mo.
19567 (podir): Remove variable.
19568 (pofiles): Likewise.
19569 [$(pofiles)] (%.po): Remove rule.
19570
19571 * sysdeps/sparc/sparc32/Makefile
19572 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19573 start-of-line whitespace in argument of echo.
19574 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19575 with whitespace. Generate __wrap_.udiv alias.
19576 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19577 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19578 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19579 * sysdeps/sparc/sparc32/urem.S: Likewise.
19580
19581 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19582
19583 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19584 for aligned inputs.
19585
19586 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19587
19588 * benchtests/bench-strcmp.c: Print output in JSON format.
19589
19590 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19591
19592 2017-12-14 Florian Weimer <fweimer@redhat.com>
19593
19594 [BZ #22607]
19595 CVE-2017-1000409
19596 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19597 the expanded path string.
19598
19599 2017-12-14 Florian Weimer <fweimer@redhat.com>
19600
19601 [BZ #22606]
19602 CVE-2017-1000408
19603 * elf/dl-load.c (system_dirs): Update comment.
19604 (nsystem_dirs_len): Use array_length.
19605 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19606
19607 2017-12-14 Florian Weimer <fweimer@redhat.com>
19608
19609 Simplify compiling most of support/ outside of glibc.
19610 * support/check_addrinfo.c: Include <string.h>.
19611 * support/check_dns_packet.c: Likewise.
19612 * support/check_hostent.c: Likewise.
19613 * support/support_can_chroot.c: Include <support/xunistd.h>.
19614 * support/support_format_addrinfo.c: Include <stdlib.h>
19615 * support/support_format_dns_packet.c: Include <stdbool.h>.
19616 * support/support_format_hostent.c: Include <stdlib.h>.
19617 * support/support_format_netent.c: Likewise.
19618 * support/support_write_string.c: Include <support/xunistd.h>.
19619 * support/xdlfcn.c: Include <stddef.h>.
19620
19621 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19622
19623 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19624
19625 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19626 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19627
19628 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19629 (sysdeps_routines): Add memset-niagara7.
19630 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19631 Likewise.
19632 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19633 file.
19634 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19635 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19636 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19637 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19638 Add niagara7 option.
19639 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19640 memset.
19641
19642 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19643 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19644 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19645 Likewise.
19646 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19647 New file.
19648 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19649 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19650 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19651 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19652 and __memmove_niagara7.
19653 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19654 Add niagara7 option.
19655 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19656 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19657 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19658 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19659 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19660
19661 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19662
19663 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19664 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19665 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19666 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19667
19668 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19669 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19670 _dl_sparc_cap_flags array.
19671 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19672
19673 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19674
19675 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19676 time whenever possible.
19677
19678 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19679
19680 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19681 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19682
19683 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19684
19685 * soft-fp/fmadf4.c: Move to ....
19686 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19687 * soft-fp/fmasf4.c: Move to ....
19688 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19689 * soft-fp/fmatf4.c: Move to ....
19690 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19691 * sysdeps/ieee754/soft-fp/Makefile: New file.
19692 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19693 * sysdeps/arm/preconfigure: Regenerated.
19694 * sysdeps/arm/nofpu/Implies: New file.
19695 * sysdeps/arm/s_fma.c: Remove file.
19696 * sysdeps/arm/s_fmaf.c: Likewise.
19697 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19698 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19699 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19700 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19701 * sysdeps/microblaze/s_fma.c: Remove file.
19702 * sysdeps/microblaze/s_fmaf.c: Likewise.
19703 * sysdeps/mips/mips32/nofpu/Implies: New file.
19704 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19705 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19706 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19707 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19708 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19709 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19710 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19711 implementation.
19712 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19713 * sysdeps/nios2/s_fma.c: Remove file.
19714 * sysdeps/nios2/s_fmaf.c: Likewise.
19715 * sysdeps/sh/nofpu/Implies: New file.
19716 * sysdeps/sh/s_fma.c: Remove file.
19717 * sysdeps/sh/s_fmaf.c: Likewise.
19718 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19719 * sysdeps/tile/s_fma.c: Remove file.
19720 * sysdeps/tile/s_fmaf.c: Likewise.
19721
19722 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19723
19724 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19725 Add s_cosf-sse2 and s_cosf-fma.
19726 (CFLAGS-s_cosf-fma.c): New.
19727 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19728 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19729 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19730
19731 2017-12-12 Steve Ellcey <sellcey@cavium.com>
19732
19733 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19734
19735 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19736
19737 * libio/Makefile (tests): Add tst-bz22415.
19738 (tst-bz22415-ENV): New rule.
19739 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19740 (tests-special): Add tst-bz22415-mem.out.
19741 ($(objpfx)tst-bz22415-mem.out): New rule.
19742 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19743 in case of a successful seek operation.
19744 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19745 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19746 buffer is required.
19747 * libio/tst-bz22415.c: New test.
19748
19749 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19750
19751 2017-12-12 James Clarke <jrtc27@jrtc27.com>
19752
19753 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19754 __IPC_64 to 0 to avoid IPC_64 being set.
19755
19756 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19757
19758 [BZ #22593]
19759 * math/bits/mathcalls.h (nextafter): Remove const.
19760 (nexttoward): Likewise.
19761
19762 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19763
19764 * configure.ac (--with-fp): Remove configure option.
19765 (with_fp_cond): New variable.
19766 (libc_cv_with_fp): New configure test. Use this variable instead
19767 of with_fp.
19768 * configure: Regenerated.
19769 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19770 * manual/install.texi (Configuring and compiling): Remove
19771 --without-fp.
19772 * INSTALL: Regenerated.
19773 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19774 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19775 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19776 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19777 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19778 use --without-fp to configure glibc.
19779
19780 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
19781
19782 * manual/locale.texi (nl_langinfo): Fix a typo.
19783
19784 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
19785
19786 [BZ #22588]
19787 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19788
19789 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19790
19791 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19792 (CFLAGS-argp-parse.c): Likewise.
19793 (CFLAGS-argp-fmtstream.c): Likewise.
19794 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19795 (CPPFLAGS-sha512-crypt.c): Likewise.
19796 (CPPFLAGS-md5-crypt.c): Likewise.
19797 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19798 (CFLAGS-stack_chk_fail_local.c): Likewise.
19799 (CFLAGS-backtrace.c): Likewise.
19800 (CFLAGS-sprintf_chk.c): Likewise.
19801 (CFLAGS-snprintf_chk.c): Likewise.
19802 (CFLAGS-vsprintf_chk.c): Likewise.
19803 (CFLAGS-vsnprintf_chk.c): Likewise.
19804 (CFLAGS-asprintf_chk.c): Likewise.
19805 (CFLAGS-vasprintf_chk.c): Likewise.
19806 (CFLAGS-obprintf_chk.c): Likewise.
19807 (CFLAGS-dprintf_chk.c): Likewise.
19808 (CFLAGS-vdprintf_chk.c): Likewise.
19809 (CFLAGS-printf_chk.c): Likewise.
19810 (CFLAGS-fprintf_chk.c): Likewise.
19811 (CFLAGS-vprintf_chk.c): Likewise.
19812 (CFLAGS-vfprintf_chk.c): Likewise.
19813 (CFLAGS-gets_chk.c): Likewise.
19814 (CFLAGS-fgets_chk.c): Likewise.
19815 (CFLAGS-fgets_u_chk.c): Likewise.
19816 (CFLAGS-fread_chk.c): Likewise.
19817 (CFLAGS-fread_u_chk.c): Likewise.
19818 (CFLAGS-swprintf_chk.c): Likewise.
19819 (CFLAGS-vswprintf_chk.c): Likewise.
19820 (CFLAGS-wprintf_chk.c): Likewise.
19821 (CFLAGS-fwprintf_chk.c): Likewise.
19822 (CFLAGS-vwprintf_chk.c): Likewise.
19823 (CFLAGS-vfwprintf_chk.c): Likewise.
19824 (CFLAGS-fgetws_chk.c): Likewise.
19825 (CFLAGS-fgetws_u_chk.c): Likewise.
19826 (CFLAGS-read_chk.c): Likewise.
19827 (CFLAGS-pread_chk.c): Likewise.
19828 (CFLAGS-pread64_chk.c): Likewise.
19829 (CFLAGS-recv_chk.c): Likewise.
19830 (CFLAGS-recvfrom_chk.c): Likewise.
19831 (CFLAGS-tst-longjmp_chk.c): Likewise.
19832 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19833 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19834 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19835 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19836 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19837 (CFLAGS-tst-chk1.c): Likewise.
19838 (CFLAGS-tst-chk2.c): Likewise.
19839 (CFLAGS-tst-chk3.c): Likewise.
19840 (CFLAGS-tst-chk4.cc): Likewise.
19841 (CFLAGS-tst-chk5.cc): Likewise.
19842 (CFLAGS-tst-chk6.cc): Likewise.
19843 (CFLAGS-tst-lfschk1.c): Likewise.
19844 (CFLAGS-tst-lfschk2.c): Likewise.
19845 (CFLAGS-tst-lfschk3.c): Likewise.
19846 (CFLAGS-tst-lfschk4.cc): Likewise.
19847 (CFLAGS-tst-lfschk5.cc): Likewise.
19848 (CFLAGS-tst-lfschk6.cc): Likewise.
19849 (CFLAGS-tst-ssp-1.c): Likewise.
19850 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19851 (CFLAGS-scandir64.c): Likewise.
19852 (CFLAGS-scandir-tail.c): Likewise.
19853 (CFLAGS-scandir64-tail.c): Likewise.
19854 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19855 (CFLAGS-dl-tunables.c): Likewise.
19856 (CFLAGS-dl-runtime.c): Likewise.
19857 (CFLAGS-dl-lookup.c): Likewise.
19858 (CFLAGS-dl-iterate-phdr.c): Likewise.
19859 (CFLAGS-vismain.c): Likewise.
19860 (CFLAGS-tst-linkall-static.c): Likewise.
19861 (CFLAGS-tst-linkall-static.c): Likewise.
19862 (CPPFLAGS-dl-load.c): Likewise.
19863 (CFLAGS-ldconfig.c): Likewise.
19864 (CFLAGS-dl-cache.c): Likewise.
19865 (CFLAGS-cache.c): Likewise.
19866 (CFLAGS-rtld.c): Likewise.
19867 (CFLAGS-multiload.c): Likewise.
19868 (CFLAGS-filtmod1.c): Likewise.
19869 (CFLAGS-tst-align.c): Likewise.
19870 (CFLAGS-tst-align2.c): Likewise.
19871 (CFLAGS-tst-alignmod.c): Likewise.
19872 (CFLAGS-tst-alignmod2.c): Likewise.
19873 (CPPFLAGS-tst-execstack.c): Likewise.
19874 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19875 (CFLAGS-tst-latepthreadmod.c): Likewise.
19876 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19877 (CFLAGS-getgrnam_r.c): Likewise.
19878 (CFLAGS-getgrent_r.c): Likewise.
19879 (CFLAGS-getgrent.c): Likewise.
19880 (CFLAGS-fgetgrent.c): Likewise.
19881 (CFLAGS-fgetgrent_r.c): Likewise.
19882 (CFLAGS-putgrent.c): Likewise.
19883 (CFLAGS-initgroups.c): Likewise.
19884 (CFLAGS-getgrgid.c): Likewise.
19885 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19886 (CFLAGS-getsgent.c): Likewise.
19887 (CFLAGS-fgetsgent.c): Likewise.
19888 (CFLAGS-fgetsgent_r.c): Likewise.
19889 (CFLAGS-putsgent.c): Likewise.
19890 (CFLAGS-getsgnam.c): Likewise.
19891 (CFLAGS-getsgnam_r.c): Likewise.
19892 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19893 (CFLAGS-iconv_charmap.c): Likewise.
19894 (CFLAGS-dummy-repertoire.c): Likewise.
19895 (CFLAGS-charmap.c): Likewise.
19896 (CFLAGS-linereader.c): Likewise.
19897 (CFLAGS-simple-hash.c): Likewise.
19898 (CFLAGS-gconv_conf.c): Likewise.
19899 (CFLAGS-iconvconfig.c): Likewise.
19900 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19901 (CFLAGS-gethstbyad.c): Likewise.
19902 (CFLAGS-gethstbynm_r.c): Likewise.
19903 (CFLAGS-gethstbynm.c): Likewise.
19904 (CFLAGS-gethstbynm2_r.c): Likewise.
19905 (CFLAGS-gethstbynm2.c): Likewise.
19906 (CFLAGS-gethstent_r.c): Likewise.
19907 (CFLAGS-gethstent.c): Likewise.
19908 (CFLAGS-rcmd.c): Likewise.
19909 (CFLAGS-getnetbynm_r.c): Likewise.
19910 (CFLAGS-getnetbynm.c): Likewise.
19911 (CFLAGS-getnetbyad_r.c): Likewise.
19912 (CFLAGS-getnetbyad.c): Likewise.
19913 (CFLAGS-getnetent_r.c): Likewise.
19914 (CFLAGS-getnetent.c): Likewise.
19915 (CFLAGS-getaliasent_r.c): Likewise.
19916 (CFLAGS-getaliasent.c): Likewise.
19917 (CFLAGS-getrpcent_r.c): Likewise.
19918 (CFLAGS-getrpcent.c): Likewise.
19919 (CFLAGS-getservent_r.c): Likewise.
19920 (CFLAGS-getservent.c): Likewise.
19921 (CFLAGS-getprtent_r.c): Likewise.
19922 (CFLAGS-getprtent.c): Likewise.
19923 (CFLAGS-either_ntoh.c): Likewise.
19924 (CFLAGS-either_hton.c): Likewise.
19925 (CFLAGS-getnetgrent.c): Likewise.
19926 (CFLAGS-getnetgrent_r.c): Likewise.
19927 (CFLAGS-tst-checks-posix.c): Likewise.
19928 (CFLAGS-tst-sockaddr.c): Likewise.
19929 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19930 (CFLAGS-tst-translit.c): Likewise.
19931 (CFLAGS-tst-gettext2.c): Likewise.
19932 (CFLAGS-tst-codeset.c): Likewise.
19933 (CFLAGS-tst-gettext3.c): Likewise.
19934 (CFLAGS-tst-gettext4.c): Likewise.
19935 (CFLAGS-tst-gettext5.c): Likewise.
19936 (CFLAGS-tst-gettext6.c): Likewise.
19937 * io/Makefile (CFLAGS-open.c): Likewise.
19938 (CFLAGS-open64.c): Likewise.
19939 (CFLAGS-creat.c): Likewise.
19940 (CFLAGS-creat64.c): Likewise.
19941 (CFLAGS-fcntl.c): Likewise.
19942 (CFLAGS-poll.c): Likewise.
19943 (CFLAGS-ppoll.c): Likewise.
19944 (CFLAGS-lockf.c): Likewise.
19945 (CFLAGS-statfs.c): Likewise.
19946 (CFLAGS-fstatfs.c): Likewise.
19947 (CFLAGS-statvfs.c): Likewise.
19948 (CFLAGS-fstatvfs.c): Likewise.
19949 (CFLAGS-fts.c): Likewise.
19950 (CFLAGS-fts64.c): Likewise.
19951 (CFLAGS-ftw.c): Likewise.
19952 (CFLAGS-ftw64.c): Likewise.
19953 (CFLAGS-lockf.c): Likewise.
19954 (CFLAGS-posix_fallocate.c): Likewise.
19955 (CFLAGS-posix_fallocate64.c): Likewise.
19956 (CFLAGS-fallocate.c): Likewise.
19957 (CFLAGS-fallocate64.c): Likewise.
19958 (CFLAGS-read.c): Likewise.
19959 (CFLAGS-write.c): Likewise.
19960 (CFLAGS-test-stat.c): Likewise.
19961 (CFLAGS-test-lfs.c): Likewise.
19962 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19963 (CFLAGS-fputc.c): Likewise.
19964 (CFLAGS-fputwc.c): Likewise.
19965 (CFLAGS-freopen64.c): Likewise.
19966 (CFLAGS-freopen.c): Likewise.
19967 (CFLAGS-fseek.c): Likewise.
19968 (CFLAGS-fseeko64.c): Likewise.
19969 (CFLAGS-fseeko.c): Likewise.
19970 (CFLAGS-ftello64.c): Likewise.
19971 (CFLAGS-ftello.c): Likewise.
19972 (CFLAGS-fwide.c): Likewise.
19973 (CFLAGS-genops.c): Likewise.
19974 (CFLAGS-getc.c): Likewise.
19975 (CFLAGS-getchar.c): Likewise.
19976 (CFLAGS-getwc.c): Likewise.
19977 (CFLAGS-getwchar.c): Likewise.
19978 (CFLAGS-iofclose.c): Likewise.
19979 (CFLAGS-iofflush.c): Likewise.
19980 (CFLAGS-iofgetpos64.c): Likewise.
19981 (CFLAGS-iofgetpos.c): Likewise.
19982 (CFLAGS-iofgets.c): Likewise.
19983 (CFLAGS-iofgetws.c): Likewise.
19984 (CFLAGS-iofputs.c): Likewise.
19985 (CFLAGS-iofputws.c): Likewise.
19986 (CFLAGS-iofread.c): Likewise.
19987 (CFLAGS-iofsetpos64.c): Likewise.
19988 (CFLAGS-iofsetpos.c): Likewise.
19989 (CFLAGS-ioftell.c): Likewise.
19990 (CFLAGS-iofwrite.c): Likewise.
19991 (CFLAGS-iogetdelim.c): Likewise.
19992 (CFLAGS-iogetline.c): Likewise.
19993 (CFLAGS-iogets.c): Likewise.
19994 (CFLAGS-iogetwline.c): Likewise.
19995 (CFLAGS-ioputs.c): Likewise.
19996 (CFLAGS-ioseekoff.c): Likewise.
19997 (CFLAGS-ioseekpos.c): Likewise.
19998 (CFLAGS-iosetbuffer.c): Likewise.
19999 (CFLAGS-iosetvbuf.c): Likewise.
20000 (CFLAGS-ioungetc.c): Likewise.
20001 (CFLAGS-ioungetwc.c): Likewise.
20002 (CFLAGS-oldfileops.c): Likewise.
20003 (CFLAGS-oldiofclose.c): Likewise.
20004 (CFLAGS-oldiofgetpos64.c): Likewise.
20005 (CFLAGS-oldiofgetpos.c): Likewise.
20006 (CFLAGS-oldiofsetpos64.c): Likewise.
20007 (CFLAGS-oldiofsetpos.c): Likewise.
20008 (CFLAGS-peekc.c): Likewise.
20009 (CFLAGS-putc.c): Likewise.
20010 (CFLAGS-putchar.c): Likewise.
20011 (CFLAGS-putwc.c): Likewise.
20012 (CFLAGS-putwchar.c): Likewise.
20013 (CFLAGS-rewind.c): Likewise.
20014 (CFLAGS-wfileops.c): Likewise.
20015 (CFLAGS-wgenops.c): Likewise.
20016 (CFLAGS-oldiofopen.c): Likewise.
20017 (CFLAGS-iofopen.c): Likewise.
20018 (CFLAGS-iofopen64.c): Likewise.
20019 (CFLAGS-oldtmpfile.c): Likewise.
20020 (CFLAGS-tst_putwc.c): Likewise.
20021 * locale/Makefile (CFLAGS-md5.c): Likewise.
20022 (CFLAGS-charmap.c): Likewise.
20023 (CFLAGS-locfile.c): Likewise.
20024 (CFLAGS-charmap-dir.c): Likewise.
20025 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20026 (CFLAGS-getpt.c): Likewise.
20027 (CFLAGS-pt_chown.c): Likewise.
20028 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20029 (CFLAGS-obstack.c): Likewise.
20030 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20031 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20032 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20033 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20034 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20035 (CFLAGS-test-tgmath.c): Likewise.
20036 (CFLAGS-test-tgmath2.c): Likewise.
20037 (CFLAGS-test-tgmath-ret.c): Likewise.
20038 (CFLAGS-test-powl.c): Likewise.
20039 (CFLAGS-test-snan.c): Likewise.
20040 (CFLAGS-test-signgam-finite.c): Likewise.
20041 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20042 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20043 (CFLAGS-test-signgam-uchar.c): Likewise.
20044 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20045 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20046 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20047 (CFLAGS-test-signgam-uint.c): Likewise.
20048 (CFLAGS-test-signgam-uint-init.c): Likewise.
20049 (CFLAGS-test-signgam-uint-static.c): Likewise.
20050 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20051 (CFLAGS-test-signgam-ullong.c): Likewise.
20052 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20053 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20054 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20055 (CFLAGS-test-math-cxx11.cc): Likewise.
20056 (CFLAGS-test-math-isinff.cc): Likewise.
20057 (CFLAGS-test-math-iszero.cc): Likewise.
20058 (CFLAGS-test-math-issignaling.cc): Likewise.
20059 (CFLAGS-test-math-iscanonical.cc): Likewise.
20060 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20061 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20062 (CFLAGS-test-flt-eval-method.c): Likewise.
20063 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
20064 (CFLAGS-test-finite-macros.c): Likewise.
20065 * misc/Makefile (CFLAGS-select.c): Likewise.
20066 (CFLAGS-tsearch.c): Likewise.
20067 (CFLAGS-lsearch.c): Likewise.
20068 (CFLAGS-pselect.c): Likewise.
20069 (CFLAGS-readv.c): Likewise.
20070 (CFLAGS-writev.c): Likewise.
20071 (CFLAGS-preadv.c): Likewise.
20072 (CFLAGS-preadv64.c): Likewise.
20073 (CFLAGS-pwritev.c): Likewise.
20074 (CFLAGS-pwritev64.c): Likewise.
20075 (CFLAGS-preadv2.c): Likewise.
20076 (CFLAGS-preadv64v2.c): Likewise.
20077 (CFLAGS-pwritev2.c): Likewise.
20078 (CFLAGS-pwritev64v2.c): Likewise.
20079 (CFLAGS-usleep.c): Likewise.
20080 (CFLAGS-syslog.c): Likewise.
20081 (CFLAGS-error.c): Likewise.
20082 (CFLAGS-getpass.c): Likewise.
20083 (CFLAGS-mkstemp.c): Likewise.
20084 (CFLAGS-mkstemp64.c): Likewise.
20085 (CFLAGS-getsysstats.c): Likewise.
20086 (CFLAGS-getusershell.c): Likewise.
20087 (CFLAGS-err.c): Likewise.
20088 (CFLAGS-tst-tsearch.c): Likewise.
20089 (CFLAGS-msync.c): Likewise.
20090 (CFLAGS-fdatasync.c): Likewise.
20091 (CFLAGS-fsync.c): Likewise.
20092 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
20093 (CFLAGS-unwind.c): Likewise.
20094 (CFLAGS-unwind-forcedunwind.c): Likewise.
20095 (CFLAGS-pthread_cancel.c): Likewise.
20096 (CFLAGS-pthread_setcancelstate.c): Likewise.
20097 (CFLAGS-pthread_setcanceltype.c): Likewise.
20098 (CFLAGS-cancellation.c): Likewise.
20099 (CFLAGS-libc-cancellation.c): Likewise.
20100 (CFLAGS-pthread_exit.c): Likewise.
20101 (CFLAGS-forward.c): Likewise.
20102 (CFLAGS-pthread_testcancel.c): Likewise.
20103 (CFLAGS-pthread_join.c): Likewise.
20104 (CFLAGS-pthread_timedjoin.c): Likewise.
20105 (CFLAGS-pthread_once.c): Likewise.
20106 (CFLAGS-pthread_cond_wait.c): Likewise.
20107 (CFLAGS-sem_wait.c): Likewise.
20108 (CFLAGS-sem_timedwait.c): Likewise.
20109 (CFLAGS-fcntl.c): Likewise.
20110 (CFLAGS-lockf.c): Likewise.
20111 (CFLAGS-pread.c): Likewise.
20112 (CFLAGS-pread64.c): Likewise.
20113 (CFLAGS-pwrite.c): Likewise.
20114 (CFLAGS-pwrite64.c): Likewise.
20115 (CFLAGS-wait.c): Likewise.
20116 (CFLAGS-waitpid.c): Likewise.
20117 (CFLAGS-sigwait.c): Likewise.
20118 (CFLAGS-msgrcv.c): Likewise.
20119 (CFLAGS-msgsnd.c): Likewise.
20120 (CFLAGS-tcdrain.c): Likewise.
20121 (CFLAGS-open.c): Likewise.
20122 (CFLAGS-open64.c): Likewise.
20123 (CFLAGS-pause.c): Likewise.
20124 (CFLAGS-recv.c): Likewise.
20125 (CFLAGS-send.c): Likewise.
20126 (CFLAGS-accept.c): Likewise.
20127 (CFLAGS-sendto.c): Likewise.
20128 (CFLAGS-connect.c): Likewise.
20129 (CFLAGS-recvfrom.c): Likewise.
20130 (CFLAGS-recvmsg.c): Likewise.
20131 (CFLAGS-sendmsg.c): Likewise.
20132 (CFLAGS-close.c): Likewise.
20133 (CFLAGS-read.c): Likewise.
20134 (CFLAGS-write.c): Likewise.
20135 (CFLAGS-nanosleep.c): Likewise.
20136 (CFLAGS-sigsuspend.c): Likewise.
20137 (CFLAGS-msync.c): Likewise.
20138 (CFLAGS-fdatasync.c): Likewise.
20139 (CFLAGS-fsync.c): Likewise.
20140 (CFLAGS-pt-system.c): Likewise.
20141 (CFLAGS-tst-cleanup2.c): Likewise.
20142 (CFLAGS-tst-cleanupx2.c): Likewise.
20143 (CFLAGS-flockfile.c): Likewise.
20144 (CFLAGS-ftrylockfile.c): Likewise.
20145 (CFLAGS-funlockfile.c): Likewise.
20146 (CFLAGS-tst-initializers1.c): Likewise.
20147 (CFLAGS-tst-initializers1-c89.c): Likewise.
20148 (CFLAGS-tst-initializers1-c99.c): Likewise.
20149 (CFLAGS-tst-initializers1-c11.c): Likewise.
20150 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20151 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20152 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20153 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20154 (CFLAGS-nscd_getgr_r.c): Likewise.
20155 (CFLAGS-nscd_gethst_r.c): Likewise.
20156 (CFLAGS-nscd_getai.c): Likewise.
20157 (CFLAGS-nscd_initgroups.c): Likewise.
20158 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20159 (CFLAGS-pause.c): Likewise.
20160 (CFLAGS-pread.c): Likewise.
20161 (CFLAGS-pread64.c): Likewise.
20162 (CFLAGS-pwrite.c): Likewise.
20163 (CFLAGS-pwrite64.c): Likewise.
20164 (CFLAGS-sleep.c): Likewise.
20165 (CFLAGS-wait.c): Likewise.
20166 (CFLAGS-waitid.c): Likewise.
20167 (CFLAGS-waitpid.c): Likewise.
20168 (CFLAGS-getopt.c): Likewise.
20169 (CFLAGS-wordexp.c): Likewise.
20170 (CFLAGS-sysconf.c): Likewise.
20171 (CFLAGS-pathconf.c): Likewise.
20172 (CFLAGS-fpathconf.c): Likewise.
20173 (CFLAGS-spawn.c): Likewise.
20174 (CFLAGS-spawnp.c): Likewise.
20175 (CFLAGS-spawni.c): Likewise.
20176 (CFLAGS-glob.c): Likewise.
20177 (CFLAGS-glob64.c): Likewise.
20178 (CFLAGS-getconf.c): Likewise.
20179 (CFLAGS-nanosleep.c): Likewise.
20180 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20181 (CFLAGS-getpwent.c): Likewise.
20182 (CFLAGS-getpw.c): Likewise.
20183 (CFLAGS-fgetpwent_r.c): Likewise.
20184 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20185 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20186 (CFLAGS-mq_timedreceive.c): Likewise.
20187 (CFLAGS-mq_timedsend.c): Likewise.
20188 (CFLAGS-clock_nanosleep.c): Likewise.
20189 (CFLAGS-librt-cancellation.c): Likewise.
20190 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20191 (CFLAGS-getspent.c): Likewise.
20192 (CFLAGS-fgetspent.c): Likewise.
20193 (CFLAGS-fgetspent_r.c): Likewise.
20194 (CFLAGS-putspent.c): Likewise.
20195 (CFLAGS-getspnam.c): Likewise.
20196 (CFLAGS-getspnam_r.c): Likewise.
20197 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20198 (CFLAGS-sigsuspend.c): Likewise.
20199 (CFLAGS-sigtimedwait.c): Likewise.
20200 (CFLAGS-sigwait.c): Likewise.
20201 (CFLAGS-sigwaitinfo.c): Likewise.
20202 (CFLAGS-sigreturn.c): Likewise.
20203 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20204 (CFLAGS-vfwprintf.c): Likewise.
20205 (CFLAGS-tmpfile.c): Likewise.
20206 (CFLAGS-tmpfile64.c): Likewise.
20207 (CFLAGS-tempname.c): Likewise.
20208 (CFLAGS-psignal.c): Likewise.
20209 (CFLAGS-vprintf.c): Likewise.
20210 (CFLAGS-cuserid.c): Likewise.
20211 (CFLAGS-errlist.c): Likewise.
20212 (CFLAGS-siglist.c): Likewise.
20213 (CFLAGS-scanf15.c): Likewise.
20214 (CFLAGS-scanf17.c): Likewise.
20215 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20216 (CFLAGS-msort.c): Likewise.
20217 (CFLAGS-qsort.c): Likewise.
20218 (CFLAGS-system.c): Likewise.
20219 (CFLAGS-fmtmsg.c): Likewise.
20220 (CFLAGS-strfmon.c): Likewise.
20221 (CFLAGS-strfmon_l.c): Likewise.
20222 (CFLAGS-strfromd.c): Likewise.
20223 (CFLAGS-strfromf.c): Likewise.
20224 (CFLAGS-strfroml.c): Likewise.
20225 (CFLAGS-tst-bsearch.c): Likewise.
20226 (CFLAGS-tst-qsort.c): Likewise.
20227 (CFLAGS-tst-makecontext2.c): Likewise.
20228 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20229 (CFLAGS-xnlm_prot.c): Likewise.
20230 (CFLAGS-xrstat.c): Likewise.
20231 (CFLAGS-xyppasswd.c): Likewise.
20232 (CFLAGS-xklm_prot.c): Likewise.
20233 (CFLAGS-xrex.c): Likewise.
20234 (CFLAGS-xsm_inter.c): Likewise.
20235 (CFLAGS-xmount.c): Likewise.
20236 (CFLAGS-xrusers.c): Likewise.
20237 (CFLAGS-xspray.c): Likewise.
20238 (CFLAGS-xnfs_prot.c): Likewise.
20239 (CFLAGS-xrquota.c): Likewise.
20240 (CFLAGS-xkey_prot.c): Likewise.
20241 (CFLAGS-auth_unix.c): Likewise.
20242 (CFLAGS-key_call.c): Likewise.
20243 (CFLAGS-pmap_rmt.c): Likewise.
20244 (CFLAGS-clnt_perr.c): Likewise.
20245 (CFLAGS-openchild.c): Likewise.
20246 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20247 (CFLAGS-msgsnd.c): Likewise.
20248 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20249 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20250 (CFLAGS-tzset.c): Likewise.
20251 (CFLAGS-getdate.c): Likewise.
20252 (CFLAGS-test_time.c): Likewise.
20253 (CPPFLAGS-tst-tzname.c): Likewise.
20254 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20255 (CFLAGS-zic.c): Likewise.
20256 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20257 (CFLAGS-wcswidth.c): Likewise.
20258 (CFLAGS-wcstol.c): Likewise.
20259 (CFLAGS-wcstoul.c): Likewise.
20260 (CFLAGS-wcstoll.c): Likewise.
20261 (CFLAGS-wcstoull.c): Likewise.
20262 (CFLAGS-wcstod.c): Likewise.
20263 (CFLAGS-wcstold.c): Likewise.
20264 (CFLAGS-wcstof128.c): Likewise.
20265 (CFLAGS-wcstof.c): Likewise.
20266 (CFLAGS-wcstol_l.c): Likewise.
20267 (CFLAGS-wcstoul_l.c): Likewise.
20268 (CFLAGS-wcstoll_l.c): Likewise.
20269 (CFLAGS-wcstoull_l.c): Likewise.
20270 (CFLAGS-wcstod_l.c): Likewise.
20271 (CFLAGS-wcstold_l.c): Likewise.
20272 (CFLAGS-wcstof128_l.c): Likewise.
20273 (CFLAGS-wcstof_l.c): Likewise.
20274 (CPPFLAGS-tst-wchar-h.c): Likewise.
20275 (CPPFLAGS-wcstold_l.c): Likewise.
20276
20277 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
20278
20279 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20280
20281 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20282 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20283
20284 * manual/tunables.texi (Hardware Capability Tunables): Document
20285 glibc.tune.cached_memopt.
20286 * sysdeps/powerpc/cpu-features.c: New file.
20287 * sysdeps/powerpc/cpu-features.h: New file.
20288 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
20289 _dl_powerpc_cpu_features.
20290 * sysdeps/powerpc/dl-tunables.list: New file.
20291 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
20292 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20293 (INIT_ARCH): Initialize use_aligned_memopt.
20294 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
20295 IS_IN(rtld))]: Restrict dl_platform_init availability and
20296 initialize CPU features used by tunables.
20297 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20298 Add memcpy-power8-cached.
20299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20300 __memcpy_power8_cached.
20301 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20302 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
20303 New file.
20304
20305 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20306
20307 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
20308 (CFLAGS-noinl-tester.c): Likewise.
20309 (CFLAGS-tst-strlen.c): Likewise.
20310 (CFLAGS-stratcliff.c): Likewise.
20311 (CFLAGS-test-ffs.c): Likewise.
20312 (CFLAGS-tst-inlcall.c): Likewise.
20313 (CFLAGS-tst-xbzero-opt.c): Likewise.
20314 (CFLAGS-memcpy.c): Likewise.
20315 (CFLAGS-wordcopy.c): Likewise.
20316
20317 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20318
20319 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
20320 Store r15 on stack and add cfi rule.
20321 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20322 Likewise.
20323
20324 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
20325
20326 [BZ #22577]
20327 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
20328 call.
20329
20330 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20331
20332 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20333 Add s_sinf-sse2 and s_sinf-fma.
20334 (CFLAGS-s_sinf-fma.c): New.
20335 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
20336 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
20337 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
20338
20339 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20340
20341 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
20342
20343 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20344
20345 [BZ #22568]
20346 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
20347 part of result to imaginary part of argument if it is zero and the
20348 real part of the argument is not finite.
20349 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
20350 of result to real part of argument if it is zero and the imaginary
20351 part of the argument is not finite.
20352
20353 2017-12-07 Mike FABIAN <mfabian@redhat.com>
20354
20355 [BZ #22524]
20356 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
20357 and to the list of locales to be built for testing.
20358 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
20359 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
20360 and build the collation rules upon that.
20361
20362 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20363
20364 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
20365 * manual/math.texi (Mathematics): Document support for _Float32.
20366 * math/Makefile (test-types): Add float32.
20367 * math/Versions (GLIBC_2.27): Add _Float32 functions.
20368 * stdlib/Versions (GLIBC_2.27): Likewise.
20369 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20370 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20371 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20372 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20373 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20374 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20375 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20376 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20377 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20378 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20379 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20380 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20381 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20382 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20383 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20384 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20385 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20386 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20387 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20388 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20389 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20390 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20391 Likewise.
20392 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20393 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20394 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20395 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20396 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20398 Likewise.
20399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20400 Likewise.
20401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20402 Likewise.
20403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20404 Likewise.
20405
20406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20407 Likewise.
20408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20409 Likewise.
20410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20411 Likewise.
20412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20413 Likewise.
20414 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20415 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20416 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20417 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20418 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20419 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20420 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20421 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20422 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20423 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20425 Likewise.
20426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20427 Likewise.
20428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20429 Likewise.
20430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20431 Likewise.
20432 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20433 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20434 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20435 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20436 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20437 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20438 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20439 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20440
20441 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20442
20443 * stdlib/strtof.c: Include <bits/floatn.h>
20444 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
20445 and later undefine as macro. Define as weak alias if
20446 [!USE_WIDE_CHAR].
20447 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
20448 and later undefine as macro. Define as weak alias if
20449 [USE_WIDE_CHAR].
20450 * stdlib/strtof_l.c: Include <bits/floatn.h>
20451 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
20452 and later undefine as macro. Define as weak alias if
20453 [!USE_WIDE_CHAR].
20454 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
20455 and later undefine as macro. Define as weak alias if
20456 [USE_WIDE_CHAR].
20457
20458 * stdlib/strfromf.c: Include <bits/floatn.h>.
20459 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
20460 and later undefine as macro and define as weak alias.
20461
20462 * math/test-float32.h: New file.
20463
20464 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
20465 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
20466 (libm_alias_float_other_r): Create f32 alias.
20467 (libm_alias_float_r): Use semicolon before call to
20468 libm_alias_float_other_r.
20469
20470 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
20471 second argument to libm_alias_float_other.
20472 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
20473 second argument to libm_alias_float_other.
20474 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
20475 argument to libm_alias_float_other.
20476
20477 [BZ #22561]
20478 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
20479 real part of result for argument 0 + i * NaN.
20480 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
20481 results for tests of 0 + i * NaN.
20482
20483 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20484
20485 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20486
20487 2017-12-06 David S. Miller <davem@davemloft.net>
20488
20489 * sysdeps/sparc/fpu/libm-test-ulps: Update
20490 exp_{downward,towardzero,upward} ulps.
20491
20492 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20493
20494 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
20495 variables static.
20496
20497 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
20498 (Y0_2D): Likewise.
20499 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
20500 (Y0_2D): Likewise.
20501 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
20502 (Y0_2D): Likewise.
20503 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
20504 (Y0_2D): Likewise.
20505
20506 2017-12-06 Mike FABIAN <mfabian@redhat.com>
20507
20508 [BZ #22515]
20509 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
20510 and to the list of locales to be built for testing.
20511 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
20512 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
20513 and build the collation rules upon that.
20514
20515 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20516
20517 * NEWS: Add sinf to list of optimized functions.
20518
20519 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20520
20521 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
20522 (__HAVE_FLOAT32X): Likewise.
20523 * manual/math.texi (Mathematics): Document support for _Float64
20524 and _Float32x.
20525 * math/Makefile (test-types): Add float64 and float32x.
20526 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
20527 functions.
20528 * stdlib/Versions (GLIBC_2.27): Likewise.
20529 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20530 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20531 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20532 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20533 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20534 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20535 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20536 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20537 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20538 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20539 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20540 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20541 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20542 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20543 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20544 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20545 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20546 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20547 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20548 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20549 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20550 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20551 Likewise.
20552 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20553 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20554 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20555 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20556 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20558 Likewise.
20559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20560 Likewise.
20561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20562 Likewise.
20563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20564 Likewise.
20565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20566 Likewise.
20567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20568 Likewise.
20569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20570 Likewise.
20571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20572 Likewise.
20573 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20574 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20575 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20576 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20577 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20578 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20579 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20580 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20581 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20582 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20584 Likewise.
20585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20586 Likewise.
20587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20588 Likewise.
20589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20590 Likewise.
20591 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20592 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20593 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20594 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20595 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20596 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20597 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20598 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20599
20600 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20601
20602 * bits/floatn-common.h: Include <bits/long-double.h>.
20603 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20604 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20605 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20606 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20607 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20608 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20609 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20610 (__builtin_huge_valf64): Use __builtin_huge_vall.
20611 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20612 (__builtin_inff64): Use __builtin_infl.
20613 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20614 (__builtin_nanf64): Use __builtin_nanl.
20615 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20616 (__builtin_nansf64): Use __builtin_nansl.
20617
20618 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20619 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20620 Carlos O'Donnell <carlos@redhat.com>
20621
20622 * elf/dl-tunables.list: Add elision parameters.
20623 * manual/tunables.texi: Add entries about elision tunable.
20624 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20625 Add callback functions to dynamically enable/disable elision.
20626 Add multiple callbacks functions to set elision parameters.
20627 Deleted __libc_enable_secure check.
20628 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20629 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20630 * configure: Regenerated.
20631 * configure.ac: Option enable_lock_elision was deleted.
20632 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20633 * config.make.in: Remove references to enable_lock_elision.
20634 * manual/install.texi: Elision configure option was removed.
20635 * INSTALL: Regenerated to remove enable_lock_elision.
20636 * nptl/Makefile:
20637 Disable elision so it can verify error case for destroying a mutex.
20638 * sysdeps/powerpc/nptl/elide.h:
20639 Cleanup ENABLE_LOCK_ELISION check.
20640 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20641 * sysdeps/s390/configure: Regenerated.
20642 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20643 * nptl/tst-mutex8.c:
20644 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20645 * sysdeps/powerpc/powerpc32/sysdep.h:
20646 Deleted all ENABLE_LOCK_ELISION checks.
20647 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20648 * sysdeps/powerpc/sysdep.h: Likewise.
20649 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20650 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20651 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20652 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20653 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20654 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20655 enable-lock-elision.
20656
20657 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20658
20659 * stdlib/strtod.c: Include <bits/floatn.h>.
20660 (BUILD_DOUBLE): New macro.
20661 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20662 (strtof64): Define and later undefine as macro. Define as weak
20663 alias if [!USE_WIDE_CHAR].
20664 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20665 (wcstof64): Define and later undefine as macro. Define as weak
20666 alias if [USE_WIDE_CHAR].
20667 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20668 (strtof32x): Define and later undefine as macro. Define as weak
20669 alias if [!USE_WIDE_CHAR].
20670 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20671 (wcstof32x): Define and later undefine as macro. Define as weak
20672 alias if [USE_WIDE_CHAR].
20673 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20674 (BUILD_DOUBLE): New macro.
20675 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20676 (strtof64_l): Define and later undefine as macro. Define as weak
20677 alias if [!USE_WIDE_CHAR].
20678 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20679 (wcstof64_l): Define and later undefine as macro. Define as weak
20680 alias if [USE_WIDE_CHAR].
20681 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20682 (strtof32x_l): Define and later undefine as macro. Define as weak
20683 alias if [!USE_WIDE_CHAR].
20684 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20685 (wcstof32x_l): Define and later undefine as macro. Define as weak
20686 alias if [USE_WIDE_CHAR].
20687
20688 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20689
20690 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20691 (reduced): Use ones as double instead of integer.
20692
20693 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20694
20695 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20696
20697 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20698
20699 * stdlib/strfromd.c: Include <bits/floatn.h>.
20700 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20701 and later undefine as macro and define as weak alias.
20702 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20703 Likewise.
20704
20705 * math/test-float32x.h: New file.
20706 * math/test-float64.h: Likewise.
20707
20708 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20709 (libm_alias_double_other_r_f64): New macro.
20710 (libm_alias_double_other_r_f32x): Likewise.
20711 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20712 libm_alias_double_other_r_f32x.
20713 (libm_alias_double_r): Use semicolon before call to
20714 libm_alias_double_other_r.
20715 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20716 <bits/floatn.h>.
20717 (libm_alias_double_other_r_f64): New macro.
20718 (libm_alias_double_other_r_f32x): Likewise.
20719 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20720 libm_alias_double_other_r_f32x.
20721
20722 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20723
20724 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20725 int.
20726 (SINF_FUNC): Likewise. Replace floor with simple casts.
20727
20728 2017-12-05 Mike FABIAN <mfabian@redhat.com>
20729
20730 [BZ #22517]
20731 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20732 and to the list of locales to be built for testing.
20733 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20734 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20735 and build the collation rules upon that.
20736
20737 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20738
20739 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20740 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20741 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20742 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20743 instead of __insn__xxx.
20744 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20745 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20746 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20747 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20748 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20749 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20750
20751 2017-12-05 Florian Weimer <fweimer@redhat.com>
20752
20753 Linux: Implement interfaces for memory protection keys
20754 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20755 xsignal, xsysconf.
20756 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20757 * support/xunistd.h (xsysconf): Declare.
20758 * support/xraise.c: New file.
20759 * support/xsigaction.c: Likewise.
20760 * support/xsignal.c: Likewise.
20761 * support/xsysconf.c: Likewise.
20762 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20763 pkey_set, pkey_get, pkey_mprotect.
20764 [misc] (tests): Add tst-pkey.
20765 (tst-pkey): Link with -lpthread.
20766 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20767 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20768 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20769 (PKEY_DISABLE_WRITE): Define.
20770 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20771 Declare.
20772 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20773 (SEGV_PKUERR): Add.
20774 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20775 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20776 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20777 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20778 Add.
20779 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20780 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20781 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20782 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20783 * sysdeps/unix/sysv/linux/**.abilist: Update.
20784
20785 2017-12-05 Florian Weimer <fweimer@redhat.com>
20786
20787 * support/tst-test_compare.c (subprocess): Use long long instead
20788 of long argument for consistent type width across 32-bit and
20789 64-bit architectures.
20790 (do_test): Adjust expected output.
20791
20792 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20793
20794 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20795 (cosf): Define using libm_alias_float.
20796 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20797 (fabsf): Define using libm_alias_float.
20798 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20799 (fmaf): Define using libm_alias_float.
20800 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20801 (rintf): Define using libm_alias_float.
20802 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20803 (sinf): Define using libm_alias_float.
20804 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20805 <libm-alias-float.h>.
20806 (modff): Define using libm_alias_float.
20807 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20808 <libm-alias-float.h>.
20809 (logbf): Define using libm_alias_float.
20810 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20811 <libm-alias-float.h>.
20812 (ceilf): Define using libm_alias_float.
20813 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20814 <libm-alias-float.h>.
20815 (copysignf): Define using libm_alias_float.
20816 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20817 <libm-alias-float.h>.
20818 (floorf): Define using libm_alias_float.
20819 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20820 <libm-alias-float.h>.
20821 (llrintf): Define using libm_alias_float.
20822 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20823 <libm-alias-float.h>.
20824 (llroundf): Define using libm_alias_float.
20825 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20826 <libm-alias-float.h>.
20827 (lrintf): Define using libm_alias_float.
20828 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20829 <libm-alias-float.h>.
20830 (lroundf): Define using libm_alias_float.
20831 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20832 <libm-alias-float.h>.
20833 (nearbyintf): Define using libm_alias_float.
20834 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20835 <libm-alias-float.h>.
20836 (rintf): Define using libm_alias_float.
20837 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20838 <libm-alias-float.h>.
20839 (roundf): Define using libm_alias_float.
20840 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20841 <libm-alias-float.h>.
20842 (truncf): Define using libm_alias_float.
20843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20844 Include <libm-alias-float.h>.
20845 (ceilf): Define using libm_alias_float.
20846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20847 Include <libm-alias-float.h>.
20848 (copysignf): Define using libm_alias_float.
20849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20850 Include <libm-alias-float.h>.
20851 (floorf): Define using libm_alias_float.
20852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20853 Include <libm-alias-float.h>.
20854 (llrintf): Define using libm_alias_float.
20855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20856 Include <libm-alias-float.h>.
20857 (llroundf): Define using libm_alias_float.
20858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20859 Include <libm-alias-float.h>.
20860 (logbf): Define using libm_alias_float.
20861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20862 Include <libm-alias-float.h>.
20863 (lrintf): Define using libm_alias_float.
20864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20865 Include <libm-alias-float.h>.
20866 (lroundf): Define using libm_alias_float.
20867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20868 Include <libm-alias-float.h>.
20869 (modff): Define using libm_alias_float.
20870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20871 Include <libm-alias-float.h>.
20872 (roundf): Define using libm_alias_float.
20873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20874 Include <libm-alias-float.h>.
20875 (truncf): Define using libm_alias_float.
20876 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20877 <libm-alias-float.h>.
20878 (llrintf): Define using libm_alias_float.
20879 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20880 <libm-alias-float.h>.
20881 (llroundf): Define using libm_alias_float.
20882 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20883 <libm-alias-float.h>.
20884 (ceilf): Define using libm_alias_float.
20885 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20886 <libm-alias-float.h>.
20887 (floorf): Define using libm_alias_float.
20888 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20889 <libm-alias-float.h>.
20890 (llroundf): Define using libm_alias_float.
20891 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20892 <libm-alias-float.h>.
20893 (lroundf): Define using libm_alias_float.
20894 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20895 <libm-alias-float.h>.
20896 (roundf): Define using libm_alias_float.
20897 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20898 <libm-alias-float.h>.
20899 (truncf): Define using libm_alias_float.
20900 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20901 <libm-alias-float.h>.
20902 (copysignf): Define using libm_alias_float.
20903 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20904 <libm-alias-float.h>.
20905 (llrintf): Define using libm_alias_float.
20906 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20907 <libm-alias-float.h>.
20908 (llroundf): Define using libm_alias_float.
20909 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20910 <libm-alias-float.h>.
20911 (lrintf): Define using libm_alias_float.
20912 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20913 <libm-alias-float.h>.
20914 (lroundf): Define using libm_alias_float.
20915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20916 <libm-alias-float.h>.
20917 (ceilf): Define using libm_alias_float.
20918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20919 <libm-alias-float.h>.
20920 (copysignf): Define using libm_alias_float.
20921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20922 <libm-alias-float.h>.
20923 (cosf): Define using libm_alias_float.
20924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20925 <libm-alias-float.h>.
20926 (floorf): Define using libm_alias_float.
20927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20928 <libm-alias-float.h>.
20929 (llrintf): Define using libm_alias_float.
20930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20931 <libm-alias-float.h>.
20932 (llroundf): Define using libm_alias_float.
20933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20934 <libm-alias-float.h>.
20935 (logbf): Define using libm_alias_float.
20936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20937 <libm-alias-float.h>.
20938 (modff): Define using libm_alias_float.
20939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20940 <libm-alias-float.h>.
20941 (roundf): Define using libm_alias_float.
20942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20943 <libm-alias-float.h>.
20944 (sinf): Define using libm_alias_float.
20945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20946 <libm-alias-float.h>.
20947 (truncf): Define using libm_alias_float.
20948 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20949 <libm-alias-float.h>.
20950 (ceilf): Define using libm_alias_float.
20951 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20952 <libm-alias-float.h>.
20953 (copysignf): Define using libm_alias_float.
20954 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20955 <libm-alias-float.h>.
20956 (floorf): Define using libm_alias_float.
20957 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20958 <libm-alias-float.h>.
20959 (llrintf): Define using libm_alias_float.
20960 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20961 <libm-alias-float.h>.
20962 (llroundf): Define using libm_alias_float.
20963 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20964 <libm-alias-float.h>.
20965 (nearbyintf): Define using libm_alias_float.
20966 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20967 <libm-alias-float.h>.
20968 (rintf): Define using libm_alias_float.
20969 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20970 <libm-alias-float.h>.
20971 (roundf): Define using libm_alias_float.
20972 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
20973 <libm-alias-float.h>.
20974 (truncf): Define using libm_alias_float.
20975 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
20976 <libm-alias-float.h>.
20977 (ceilf): Define using libm_alias_float.
20978 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
20979 <libm-alias-float.h>.
20980 (floorf): Define using libm_alias_float.
20981 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
20982 <libm-alias-float.h>.
20983 (llroundf): Define using libm_alias_float.
20984 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
20985 <libm-alias-float.h>.
20986 (roundf): Define using libm_alias_float.
20987 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
20988 <libm-alias-float.h>.
20989 (truncf): Define using libm_alias_float.
20990 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
20991 <libm-alias-float.h>.
20992 (copysignf): Define using libm_alias_float.
20993 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
20994 <libm-alias-float.h>.
20995 (llrintf): Define using libm_alias_float.
20996 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
20997 <libm-alias-float.h>.
20998 (llroundf): Define using libm_alias_float.
20999 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21000 <libm-alias-float.h>.
21001 (cosf): Define using libm_alias_float.
21002 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21003 <libm-alias-float.h>.
21004 (llrintf): Define using libm_alias_float.
21005 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21006 <libm-alias-float.h>.
21007 (llroundf): Define using libm_alias_float.
21008 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21009 <libm-alias-float.h>.
21010 (sinf): Define using libm_alias_float.
21011
21012 2017-12-04 Florian Weimer <fweimer@redhat.com>
21013
21014 * support/check.h (TEST_COMPARE): Define.
21015 (support_test_compare_failure): Declare.
21016 * support/Makefile (libsupport-routines): Add
21017 support_test_compare_failure.
21018 (tests): Add tst-test_compare.
21019 * support /support_test_compare_failure.c: New file.
21020 * support/tst-test_compare.c: Likewise.
21021
21022 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21023
21024 [BZ #22527]
21025 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21026 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21027 available, this rewrite of the collation rules does reproduce
21028 the test file in the same order.
21029
21030 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21031
21032 [BZ #10580]
21033 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21034 digraphs in the month and day names. Using single code points for
21035 digraphs is deprecated. While there are dedicated Unicode
21036 codepoints, for the digraphs, these are included for backwards
21037 compatibility and modern texts use a sequence of Basic Latin
21038 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21039 This makes the month and day names agree exactly with CLDR now,
21040 CLDR does not use the single code points for the digraphs either.
21041
21042 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21043
21044 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21045
21046 2017-12-04 Joseph Myers <joseph@codesourcery.com>
21047
21048 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21049 of floor.
21050
21051 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21052
21053 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21054 Define only for libc.so.
21055
21056 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21057
21058 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21059 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
21060 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
21061 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21062 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21063
21064 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21065
21066 [BZ #5997]
21067 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
21068
21069 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
21070
21071 [BZ libc/19170]
21072 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
21073 PREINIT_FUNCTION_WEAK is nonzero.
21074 (gmon_initializer): New function. Put procedure label for it in
21075 .init_array section.
21076 (_init): Don't call PREINIT_FUNCTION.
21077 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
21078 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
21079 value when map argument is null.
21080
21081 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
21082 depi instruction from PIC pc-relative sequence.
21083 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
21084 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
21085 (elf_machine_load_address): Likewise.
21086 (elf_machine_runtime_setup): Likewise.
21087
21088 2017-12-02 Joseph Myers <joseph@codesourcery.com>
21089
21090 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
21091 <libm-alias-double.h>.
21092 (logb): Define using libm_alias_double.
21093 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21094 <libm-alias-double.h>.
21095 (copysign): Define using libm_alias_double.
21096 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
21097 <libm-alias-double.h>.
21098 (llrint): Define using libm_alias_double.
21099 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
21100 <libm-alias-double.h>.
21101 (llround): Define using libm_alias_double.
21102 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21103 <libm-alias-double.h>.
21104 (lrint): Define using libm_alias_double.
21105 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21106 <libm-alias-double.h>.
21107 (lround): Define using libm_alias_double.
21108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21109 Include <libm-alias-double.h>.
21110 (copysign): Define using libm_alias_double.
21111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
21112 Include <libm-alias-double.h>.
21113 (llrint): Define using libm_alias_double.
21114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
21115 Include <libm-alias-double.h>.
21116 (llround): Define using libm_alias_double.
21117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
21118 <libm-alias-double.h>.
21119 (logb): Define using libm_alias_double.
21120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
21121 Include <libm-alias-double.h>.
21122 (lrint): Define using libm_alias_double.
21123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
21124 Include <libm-alias-double.h>.
21125 (lround): Define using libm_alias_double.
21126 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
21127 <libm-alias-double.h>.
21128 (llrint): Define using libm_alias_double.
21129 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21130 <libm-alias-double.h>.
21131 (llround): Define using libm_alias_double.
21132 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21133 <libm-alias-double.h>.
21134 (llround): Define using libm_alias_double.
21135 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21136 <libm-alias-double.h>.
21137 (lround): Define using libm_alias_double.
21138 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21139 <libm-alias-double.h>.
21140 (copysign): Define using libm_alias_double.
21141 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
21142 <libm-alias-double.h>.
21143 (llrint): Define using libm_alias_double.
21144 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21145 <libm-alias-double.h>.
21146 (llround): Define using libm_alias_double.
21147 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21148 <libm-alias-double.h>.
21149 (lrint): Define using libm_alias_double.
21150 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21151 <libm-alias-double.h>.
21152 (lround): Define using libm_alias_double.
21153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21154 <libm-alias-double.h>.
21155 (copysign): Define using libm_alias_double.
21156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21157 <libm-alias-double.h>.
21158 (llrint): Define using libm_alias_double.
21159 (lrint): Likewise.
21160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21161 <libm-alias-double.h>.
21162 (llround): Define using libm_alias_double.
21163 (lround): Likewise.
21164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21165 <libm-alias-double.h>.
21166 (logb): Define using libm_alias_double.
21167 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21168 <libm-alias-double.h>.
21169 (copysign): Define using libm_alias_double.
21170 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21171 <libm-alias-double.h>.
21172 (llrint): Define using libm_alias_double.
21173 (lrint): Likewise.
21174 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21175 <libm-alias-double.h>.
21176 (llround): Define using libm_alias_double.
21177 (lround): Likewise.
21178 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21179 <libm-alias-double.h>.
21180 (llround): Define using libm_alias_double.
21181 (lround): Likewise.
21182 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21183 <libm-alias-double.h>.
21184 (copysign): Define using libm_alias_double.
21185 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21186 <libm-alias-double.h>.
21187 (llrint): Define using libm_alias_double.
21188 (lrint): Likewise.
21189 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21190 <libm-alias-double.h>.
21191 (llround): Define using libm_alias_double.
21192 (lround): Likewise.
21193 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21194 <libm-alias-double.h>.
21195 (llrint): Define using libm_alias_double.
21196 (lrint): Likewise.
21197 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21198 <libm-alias-double.h>.
21199 (llround): Define using libm_alias_double.
21200 (lround): Likewise.
21201
21202 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21203
21204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21205 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21206 compat symbol based on llround.
21207
21208 * sysdeps/powerpc/power7/fpu/s_logb.c
21209 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21210 symbol based on __logb, not on logb.
21211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21212 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21214 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21215
21216 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21217 (rint): Define using libm_alias_double.
21218 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21219 <libm-alias-double.h>.
21220 (modf): Define using libm_alias_double.
21221 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21222 <libm-alias-double.h>.
21223 (ceil): Define using libm_alias_double.
21224 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21225 <libm-alias-double.h>.
21226 (floor): Define using libm_alias_double.
21227 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21228 <libm-alias-double.h>.
21229 (nearbyint): Define using libm_alias_double.
21230 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21231 <libm-alias-double.h>.
21232 (rint): Define using libm_alias_double.
21233 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21234 <libm-alias-double.h>.
21235 (round): Define using libm_alias_double.
21236 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21237 <libm-alias-double.h>.
21238 (trunc): Define using libm_alias_double.
21239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21240 <libm-alias-double.h>.
21241 (ceil): Define using libm_alias_double.
21242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21243 Include <libm-alias-double.h>.
21244 (floor): Define using libm_alias_double.
21245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21246 <libm-alias-double.h>.
21247 (modf): Define using libm_alias_double.
21248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21249 Include <libm-alias-double.h>.
21250 (round): Define using libm_alias_double.
21251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21252 Include <libm-alias-double.h>.
21253 (trunc): Define using libm_alias_double.
21254 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21255 <libm-alias-double.h>.
21256 (ceil): Define using libm_alias_double.
21257 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21258 <libm-alias-double.h>.
21259 (floor): Define using libm_alias_double.
21260 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21261 <libm-alias-double.h>.
21262 (round): Define using libm_alias_double.
21263 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21264 <libm-alias-double.h>.
21265 (trunc): Define using libm_alias_double.
21266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21267 <libm-alias-double.h>.
21268 (ceil): Define using libm_alias_double.
21269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21270 <libm-alias-double.h>.
21271 (floor): Define using libm_alias_double.
21272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21273 <libm-alias-double.h>.
21274 (modf): Define using libm_alias_double.
21275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21276 <libm-alias-double.h>.
21277 (round): Define using libm_alias_double.
21278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21279 <libm-alias-double.h>.
21280 (trunc): Define using libm_alias_double.
21281 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21282 <libm-alias-double.h>.
21283 (ceil): Define using libm_alias_double.
21284 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21285 <libm-alias-double.h>.
21286 (floor): Define using libm_alias_double.
21287 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
21288 <libm-alias-double.h>.
21289 (nearbyint): Define using libm_alias_double.
21290 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
21291 <libm-alias-double.h>.
21292 (rint): Define using libm_alias_double.
21293 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
21294 <libm-alias-double.h>.
21295 (round): Define using libm_alias_double.
21296 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
21297 <libm-alias-double.h>.
21298 (trunc): Define using libm_alias_double.
21299 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21300 <libm-alias-double.h>.
21301 (ceil): Define using libm_alias_double.
21302 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21303 <libm-alias-double.h>.
21304 (floor): Define using libm_alias_double.
21305 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
21306 <libm-alias-double.h>.
21307 (round): Define using libm_alias_double.
21308 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
21309 <libm-alias-double.h>.
21310 (trunc): Define using libm_alias_double.
21311
21312 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
21313 (fabs): Define using libm_alias_double.
21314 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
21315 (fma): Define using libm_alias_double.
21316 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
21317 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
21318 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
21319 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
21320
21321 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21322
21323 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
21324
21325 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
21326 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
21327 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21328
21329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
21330 due redirect macro.
21331
21332 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
21333
21334 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
21335
21336 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21337
21338 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
21339 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
21340 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
21341 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
21342
21343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21344 (libm-sysdep_routines): Add s_nearbyintf-generic and
21345 s_nearbyint-generic.
21346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
21347 New file.
21348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
21349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
21350 Likewise.
21351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
21352 Likewise.
21353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
21354 file.
21355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21356 Likewise.
21357
21358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21359 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
21360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
21361 file.
21362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
21363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
21364 Likewise.
21365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
21366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
21367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21368
21369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21370 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
21371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
21372 file.
21373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
21374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
21375 Likewise.
21376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
21377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
21378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
21379
21380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21381 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
21382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
21383 file.
21384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
21385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
21386 Likewise.
21387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
21388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
21389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21390
21391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21392 (sysdep_calls): New rule.
21393 (sysdep_routines): Use sysdep_calls as base.
21394 (libm-sysdep_routines): Add generic rule for symbols shared with
21395 libc. Add s_copysign-generic and s_copysign-generic objects.
21396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
21397 New file.
21398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
21399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
21400 Likewise.
21401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
21402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
21403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
21404
21405 2017-12-01 Mike FABIAN <mfabian@redhat.com>
21406
21407 [BZ #22519]
21408 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
21409 the list of locales to be built for testing.
21410 * localedata/is_IS.UTF-8.in: New file.
21411 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
21412 on iso14651_t1.
21413
21414 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21415
21416 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
21417 <libm-alias-float.h>.
21418 (fabsf): Define using libm_alias_float.
21419
21420 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21421
21422 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
21423
21424 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21425
21426 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
21427 <libm-alias-float.h>.
21428 (fabsf): Define using libm_alias_float.
21429 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
21430 <libm-alias-float.h>.
21431 (lrintf): Define using libm_alias_float.
21432 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
21433 <libm-alias-float.h>.
21434 (rintf): Define using libm_alias_float.
21435
21436 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
21437 <libm-alias-double.h>.
21438 (fabs): Define using libm_alias_double.
21439 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
21440 <libm-alias-double.h>.
21441 (lrint): Define using libm_alias_double.
21442 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
21443 <libm-alias-double.h>.
21444 (rint): Define using libm_alias_double.
21445
21446 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
21447 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
21448 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
21449 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
21450 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
21451 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
21452 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
21453 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
21454 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
21455 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
21456 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
21457 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
21458 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
21459 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
21460 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
21461 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
21462 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
21463 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
21464 s_atan_template.c.
21465 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
21466 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
21467 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
21468 s_ceil_template.c.
21469 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
21470 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
21471 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
21472 s_cos_template.c.
21473 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
21474 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
21475 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
21476 s_expm1_template.c.
21477 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
21478 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
21479 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
21480 s_fabs_template.c.
21481 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
21482 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
21483 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
21484 s_floor_template.c.
21485 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
21486 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
21487 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
21488 s_frexp_template.c.
21489 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
21490 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
21491 s_lrint_template.c.
21492 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
21493 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
21494 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
21495 s_modf_template.c.
21496 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
21497 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
21498 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
21499 s_nearbyint_template.c.
21500 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
21501 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
21502 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
21503 s_remquo_template.c.
21504 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
21505 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
21506 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
21507 s_rint_template.c.
21508 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
21509 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
21510 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
21511 s_sin_template.c.
21512 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
21513 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
21514 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
21515 s_sincos_template.c.
21516 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
21517 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
21518 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
21519 s_tan_template.c.
21520 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
21521 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
21522 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
21523 s_tanh_template.c.
21524 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
21525 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
21526 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
21527 s_trunc_template.c.
21528 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
21529 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
21530 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
21531 s_atan.c instead of including s_atan.c.
21532 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
21533 s_atanf.c instead of including s_atanf.c.
21534 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
21535 s_atanl.c instead of including s_atanl.c.
21536 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
21537 instead of s_atan.c.
21538 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
21539 instead of s_atanf.c.
21540 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
21541 instead of s_atanl.c.
21542
21543 * scripts/update-copyrights: Do not handle intl/plural.c
21544 specially.
21545
21546 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
21547
21548 [BZ #22432]
21549 * configure.ac (BISON): Require to be present.
21550 * configure: Regenerated.
21551 * intl/Makefile (generated): Add plural.c.
21552 [$(BISON) != no]: Make code unconditional.
21553 (plural.c): Change rule to $(objpfx)plural.c.
21554 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
21555 * intl/plural.c: Remove.
21556 * manual/install.texi (Tools for Compilation): Document bison as
21557 required.
21558 * INSTALL: Regenerated.
21559
21560 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21561
21562 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21563 <libm-alias-double.h>.
21564 (llrint): Define using libm_alias_double.
21565 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21566 <libm-alias-float.h>.
21567 (llrintf): Define using libm_alias_float.
21568 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21569 <libm-alias-ldouble.h>.
21570 (llrintl): Define using libm_alias_ldouble.
21571
21572 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21573 declare_mgen_alias instead of weak_alias.
21574 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21575 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21576 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21577
21578 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21579
21580 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21581 Add add_n-generic.
21582 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21583 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21584 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21585
21586 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21587 Add submul_1-generic.
21588 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21589 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21590 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21591
21592 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21593 Add addmul_1-generic.
21594 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21595 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21596 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21597
21598 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21599 Add sub_n-generic.
21600 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21601 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21602 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21603
21604 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21605 Add mul_1-generic.
21606 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21607 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21608 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21609
21610 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21611
21612 According to CLDR, collation rules for Serbian and Bosnian
21613 should be the same as for Croatian.
21614
21615 [BZ #22534]
21616 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21617 and to the list of locales to be built for testing.
21618 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21619 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21620 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21621 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21622
21623 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21624
21625 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21626 to make test case pass.
21627 * localedata/hr_HR.UTF-8.in: Add more test strings.
21628
21629 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21630
21631 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21632
21633 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21634
21635 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21636 the list of locales to built for testing.
21637 * localedata/hr_HR.UTF-8.in: New file.
21638
21639 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21640
21641 [BZ #10580]
21642 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21643 iso14651_t1.
21644 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21645 CLDR (except use ligatures for the digraphs, CLDR does not use
21646 the ligatures), add first_workday, some fixes in the date and time
21647 formats.
21648 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21649 for Đ and đ.
21650 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21651 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21652 Add int_p_cs_precedes and int_n_cs_precedes.
21653 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21654 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21655 LC_MONETARY now).
21656 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21657 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21658 name_miss.
21659 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21660 and lang_lib. Change postal_fmt.
21661
21662 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21663
21664 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21665 <setjmp.h>.
21666 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21667 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21668 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21669 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21670 * sysdeps/generic/setjmpP.h: New file.
21671 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21672 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21673 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21674 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21675 Add jmp_buf-ssp.sym.
21676 (tests): Add tst-saved_mask-1.
21677
21678 2017-11-30 Arjun Shankar <arjun@redhat.com>
21679
21680 [BZ #22375]
21681 CVE-2017-17426
21682 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21683 instead of request2size.
21684
21685 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21686
21687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21688 (__lllrint): Remove alias.
21689 (lllrint): Likewise.
21690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21691 (__lllrintf): Likewise.
21692 (lllrintf): Likewise.
21693
21694 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21695 <libm-alias-float.h>.
21696 (copysignf): Define using libm_alias_float.
21697 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21698 <libm-alias-float.h>.
21699 (fabsf): Define using libm_alias_float.
21700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21701 Include <libm-alias-float.h>.
21702 (copysignf): Define using libm_alias_float.
21703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21704 <libm-alias-float.h>.
21705 (fabsf): Define using libm_alias_float.
21706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21707 <libm-alias-float.h>.
21708 (fdimf): Define using libm_alias_float.
21709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21710 <libm-alias-float.h>.
21711 (fmaf): Define using libm_alias_float.
21712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21713 <libm-alias-float.h>.
21714 (llrintf): Define using libm_alias_float.
21715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21716 Include <libm-alias-float.h>.
21717 (nearbyintf): Define using libm_alias_float.
21718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21719 <libm-alias-float.h>.
21720 (rintf): Define using libm_alias_float.
21721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21722 <libm-alias-float.h>.
21723 (llrintf): Define using libm_alias_float.
21724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21725 <libm-alias-float.h>.
21726 (lrintf): Define using libm_alias_float.
21727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21728 <libm-alias-float.h>.
21729 (nearbyintf): Define using libm_alias_float.
21730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21731 <libm-alias-float.h>.
21732 (rintf): Define using libm_alias_float.
21733 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21734 <libm-alias-float.h>.
21735 (ceilf): Define using libm_alias_float.
21736 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21737 <libm-alias-float.h>.
21738 (floorf): Define using libm_alias_float.
21739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21740 <libm-alias-float.h>.
21741 (fmaf): Define using libm_alias_float.
21742 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21743 <libm-alias-float.h>.
21744 (lrintf): Define using libm_alias_float.
21745 (llrintf): Likewise.
21746 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21747 <libm-alias-float.h>.
21748 (nearbyintf): Define using libm_alias_float.
21749 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21750 <libm-alias-float.h>.
21751 (rintf): Define using libm_alias_float.
21752 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21753 <libm-alias-float.h>.
21754 (truncf): Define using libm_alias_float.
21755 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21756 <libm-alias-float.h>.
21757 (copysignf): Define using libm_alias_float.
21758 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21759 <libm-alias-float.h>.
21760 (fabsf): Define using libm_alias_float.
21761 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21762 <libm-alias-float.h>.
21763 (lrintf): Define using libm_alias_float.
21764 (llrintf): Likewise.
21765 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21766 <libm-alias-float.h>.
21767 (nearbyintf): Define using libm_alias_float.
21768 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21769 <libm-alias-float.h>.
21770 (rintf): Define using libm_alias_float.
21771
21772 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21773
21774 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21775 <libm-alias-double.h>.
21776 (copysign): Define using libm_alias_double.
21777 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21778 <libm-alias-double.h>.
21779 (fabs): Define using libm_alias_double.
21780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21781 Include <libm-alias-double.h>.
21782 (copysign): Define using libm_alias_double.
21783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21784 <libm-alias-double.h>.
21785 (fabs): Define using libm_alias_double.
21786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21787 <libm-alias-double.h>.
21788 (fdim): Define using libm_alias_double.
21789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21790 <libm-alias-double.h>.
21791 (fma): Define using libm_alias_double.
21792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21793 <libm-alias-double.h>.
21794 (llrint): Define using libm_alias_double.
21795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21796 Include <libm-alias-double.h>.
21797 (nearbyint): Define using libm_alias_double.
21798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21799 <libm-alias-double.h>.
21800 (rint): Define using libm_alias_double.
21801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21802 <libm-alias-double.h>.
21803 (fabs): Define using libm_alias_double.
21804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21805 <libm-alias-double.h>.
21806 (llrint): Define using libm_alias_double.
21807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21808 <libm-alias-double.h>.
21809 (nearbyint): Define using libm_alias_double.
21810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21811 <libm-alias-double.h>.
21812 (rint): Define using libm_alias_double.
21813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21814 <libm-alias-double.h>.
21815 (ceil): Define using libm_alias_double.
21816 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21817 <libm-alias-double.h>.
21818 (floor): Define using libm_alias_double.
21819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21820 <libm-alias-double.h>.
21821 (fma): Define using libm_alias_double.
21822 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21823 <libm-alias-double.h>.
21824 (lrint): Define using libm_alias_double.
21825 (llrint): Likewise.
21826 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21827 <libm-alias-double.h>.
21828 (nearbyint): Define using libm_alias_double.
21829 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21830 <libm-alias-double.h>.
21831 (rint): Define using libm_alias_double.
21832 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21833 <libm-alias-double.h>.
21834 (trunc): Define using libm_alias_double.
21835 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21836 <libm-alias-double.h>.
21837 (copysign): Define using libm_alias_double.
21838 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21839 <libm-alias-double.h>.
21840 (fabs): Define using libm_alias_double.
21841 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21842 <libm-alias-double.h>.
21843 (lrint): Define using libm_alias_double.
21844 (llrint): Likewise.
21845 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21846 <libm-alias-double.h>.
21847 (nearbyint): Define using libm_alias_double.
21848 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21849 <libm-alias-double.h>.
21850 (rint): Define using libm_alias_double.
21851
21852 [BZ #22229]
21853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21854 <math_ldbl_opt.h>.
21855 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21856
21857 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21858 SPARC --disable-multi-arch glibc variants.
21859
21860 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21861 <libm-alias-float.h>.
21862 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21863 if [SHARED].
21864 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21865 <libm-alias-float.h>.
21866 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21867 if [SHARED].
21868 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21869 <libm-alias-float.h>.
21870 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21871 if [SHARED].
21872 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21873 <libm-alias-float.h>.
21874 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21875 if [SHARED].
21876 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21877 <libm-alias-float.h>.
21878 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21879 if [SHARED].
21880 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21881 <libm-alias-float.h>.
21882 (ceilf): Define using libm_alias_float.
21883 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21884 <libm-alias-float.h>.
21885 (floorf): Define using libm_alias_float.
21886 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21887 <libm-alias-float.h>.
21888 (fmaf): Define using libm_alias_float.
21889 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21890 <libm-alias-float.h>.
21891 (nearbyintf): Define using libm_alias_float.
21892 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21893 <libm-alias-float.h>.
21894 (rintf): Define using libm_alias_float.
21895 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21896 <libm-alias-float.h>.
21897 (truncf): Define using libm_alias_float.
21898 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21899 (copysignf): Define using libm_alias_float.
21900 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21901 (cosf): Define using libm_alias_float.
21902 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21903 (fabsf): Define using libm_alias_float.
21904 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21905 (fmaxf): Define using libm_alias_float.
21906 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21907 (fminf): Define using libm_alias_float.
21908 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21909 (llrintf): Define using libm_alias_float.
21910 [!__ILP32__] (lrintf): Likewise.
21911 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21912 (sincosf): Define using libm_alias_float.
21913 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21914 (sinf): Define using libm_alias_float.
21915 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21916 (lrintf): Define using libm_alias_float.
21917
21918 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21919 <libm-alias-double.h>.
21920 (atan): Define using libm_alias_double.
21921 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21922 <libm-alias-double.h>.
21923 (ceil): Define using libm_alias_double.
21924 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21925 <libm-alias-double.h>.
21926 (floor): Define using libm_alias_double.
21927 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21928 <libm-alias-double.h>.
21929 (fma): Define using libm_alias_double.
21930 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21931 <libm-alias-double.h>.
21932 (nearbyint): Define using libm_alias_double.
21933 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21934 <libm-alias-double.h>.
21935 (rint): Define using libm_alias_double.
21936 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21937 <libm-alias-double.h>.
21938 (sin): Define using libm_alias_double.
21939 (cos): Likewise.
21940 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21941 <libm-alias-double.h>.
21942 (tan): Define using libm_alias_double.
21943 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21944 <libm-alias-double.h>.
21945 (trunc): Define using libm_alias_double.
21946 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21947 (copysign): Define using libm_alias_double.
21948 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21949 (fabs): Define using libm_alias_double.
21950 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21951 (fmax): Define using libm_alias_double.
21952 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21953 (fmin): Define using libm_alias_double.
21954 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21955 (llrint): Define using libm_alias_double.
21956 [!__ILP32__] (lrint): Likewise.
21957 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21958 (lrint): Define using libm_alias_double.
21959
21960 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21961
21962 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21963 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21964 objects.
21965 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21966 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21967 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21968 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21969 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21970 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21971
21972 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21973 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
21974 objects.
21975 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
21976 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
21977 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
21978 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
21979 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
21980 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21981
21982 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21983 (libm-sysdep_routines): Add s_nearbyint-generic and
21984 s_nearbyintf-generic objects.
21985 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
21986 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
21987 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
21988 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
21989 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
21990 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
21991
21992 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
21993 Add s_finitef-generic and s_finite-generic objects.
21994 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
21995 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
21996 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
21997 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
21998 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
21999 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22000
22001 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22002 Add s_isinff-generic and s_isinf-generic objects.
22003 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22004 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22005 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22006 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22007 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22008 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22009
22010 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22011 Add s_isnanf-generic and s_isnan-generic objects.
22012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22013 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22014 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22015 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22016 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22017 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22018
22019 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22020 macro.
22021 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22022 rule.
22023 (sysdep_routines): Use sysdep_calls as base.
22024 (libm-sysdep_routines): Add generic rule for symbols shared with
22025 libc. Add s_signbit-generic and s_signbitf-generic objects.
22026 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22027 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22028 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22029 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22030 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22031 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22032
22033 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22034
22035 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22036 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22037 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22038 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22039 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22040 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22041 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22042 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22043 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22044 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22045 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22046 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22047 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22048 libm_alias_float_r.
22049 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22050 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22051 (logf): Likewise.
22052 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22053 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22054 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22055 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22056 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22057 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22058 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22059 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22060 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22061 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22062 libm_alias_float.
22063 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
22064 (cosf): Likewise.
22065 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
22066 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
22067 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
22068 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
22069 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
22070 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
22071 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
22072 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
22073 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
22074 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
22075 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
22076 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
22077 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
22078 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
22079 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
22080 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
22081 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
22082 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
22083 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
22084 libm_alias_float.
22085 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
22086 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
22087 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
22088 * sysdeps/ia64/fpu/w_lgammaf_main.c
22089 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
22090 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
22091
22092 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22093 Alexandre Oliva <aoliva@redhat.com>
22094
22095 [BZ #17750]
22096 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
22097 * localedata/fr_CA.UTF-8.in: New file with test data for backward
22098 accents sorting.
22099 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
22100 sorting.
22101 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
22102 * localedata/locales/de_DE (LC_COLLATE): Likewise.
22103 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
22104 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
22105 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
22106 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
22107 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
22108 instead of “ifdef DIACRIT_BACKWARD”.
22109
22110 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22111
22112 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
22113 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
22114 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
22115 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
22116 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
22117 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
22118 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
22119 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
22120 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
22121 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
22122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
22123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
22124 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
22125 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
22126 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
22127 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22128 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
22129 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
22130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22131 ($(have-as-vis3) == yes): Remove conditional.
22132 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
22133 Likewise.
22134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
22135 file.
22136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
22137 file.
22138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
22139 file.
22140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
22141 file.
22142 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
22143 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
22144 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
22145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22148 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22149 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22150
22151 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22152
22153 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22154 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22155 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22156 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22157 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22158 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22159 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22160 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22161 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22162 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22163 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22164 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22165 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22166 libm_alias_double_r.
22167 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22168 (log): Likewise.
22169 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22170 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22171 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22172 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22173 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22174 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22175 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22176 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22177 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22178 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22179 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22180 libm_alias_double.
22181 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22182 (cos): Likewise.
22183 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22184 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22185 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22186 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22187 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22188 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22189 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22190 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22191 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22192 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22193 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22194 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22195 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22196 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22197 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22198 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22199 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22200 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22201 libm_alias_double.
22202 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22203 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22204 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22205 * sysdeps/ia64/fpu/w_lgamma_main.c
22206 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22207 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22208
22209 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
22210
22211 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22212 address of $global$ into %dp register earlier. Use pc-relative
22213 instruction sequence for PIC case.
22214
22215 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22216
22217 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22218 (asinhf): Define using libm_alias_float.
22219 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22220 (atanf): Define using libm_alias_float.
22221 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22222 (cbrtf): Define using libm_alias_float.
22223 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22224 (ceilf): Define using libm_alias_float.
22225 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22226 (copysignf): Define using libm_alias_float.
22227 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22228 (expm1f): Define using libm_alias_float.
22229 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22230 (fabsf): Define using libm_alias_float.
22231 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22232 (floorf): Define using libm_alias_float.
22233 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22234 (fmaxf): Define using libm_alias_float.
22235 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22236 (fminf): Define using libm_alias_float.
22237 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22238 (frexpf): Define using libm_alias_float.
22239 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22240 (llrintf): Define using libm_alias_float.
22241 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22242 (logbf): Define using libm_alias_float.
22243 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22244 (lrintf): Define using libm_alias_float.
22245 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22246 (nearbyintf): Define using libm_alias_float.
22247 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22248 (remquof): Define using libm_alias_float.
22249 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22250 (rintf): Define using libm_alias_float.
22251 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22252 (truncf): Define using libm_alias_float.
22253 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22254 <libm-alias-float.h>.
22255 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22256 if [SHARED].
22257 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22258 <libm-alias-float.h>.
22259 (expf): Define using libm_alias_float, or libm_alias_float_other
22260 if [SHARED].
22261 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22262 <libm-alias-float.h>.
22263 (log2f): Define using libm_alias_float, or libm_alias_float_other
22264 if [SHARED].
22265 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22266 <libm-alias-float.h>.
22267 (logf): Define using libm_alias_float, or libm_alias_float_other
22268 if [SHARED].
22269 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22270 <libm-alias-float.h>.
22271 (powf): Define using libm_alias_float, or libm_alias_float_other
22272 if [SHARED].
22273 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22274 <libm-alias-float.h>.
22275 (cosf): Define using libm_alias_float.
22276 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22277 <libm-alias-float.h>.
22278 (sincosf): Define using libm_alias_float.
22279 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22280 <libm-alias-float.h>.
22281 (sinf): Define using libm_alias_float.
22282 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22283 (fmaxf): Define using libm_alias_float.
22284 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22285 (fminf): Define using libm_alias_float.
22286 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22287 <libm-alias-float.h>.
22288 (fmaf): Define using libm_alias_float.
22289
22290 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
22291 (asinh): Define using libm_alias_double.
22292 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
22293 (atan): Define using libm_alias_double.
22294 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
22295 (cbrt): Define using libm_alias_double.
22296 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
22297 (ceil): Define using libm_alias_double.
22298 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22299 (copysign): Define using libm_alias_double.
22300 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22301 (expm1): Define using libm_alias_double.
22302 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22303 (fabs): Define using libm_alias_double.
22304 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
22305 (fdim): Define using libm_alias_double.
22306 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
22307 (floor): Define using libm_alias_double.
22308 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
22309 (fmax): Define using libm_alias_double.
22310 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
22311 (fmin): Define using libm_alias_double.
22312 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
22313 (frexp): Define using libm_alias_double.
22314 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
22315 (llrint): Define using libm_alias_double.
22316 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
22317 (logb): Define using libm_alias_double.
22318 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
22319 (lrint): Define using libm_alias_double.
22320 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
22321 (nearbyint): Define using libm_alias_double.
22322 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
22323 (remquo): Define using libm_alias_double.
22324 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
22325 (rint): Define using libm_alias_double.
22326 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
22327 (trunc): Define using libm_alias_double.
22328 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
22329 (fmax): Define using libm_alias_double.
22330 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
22331 (fmin): Define using libm_alias_double.
22332 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
22333 (fma): Define using libm_alias_double.
22334
22335 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
22336
22337 [BZ #22370]
22338 * elf/dl-hwcaps.c (ROUND): Removed.
22339 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
22340 and ELF_NOTE_NEXT_OFFSET.
22341 * elf/dl-load.c (ROUND): Removed.
22342 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22343 * elf/readelflib.c (ROUND): Removed.
22344 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22345 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
22346 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
22347 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
22348
22349 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22350
22351 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22352 [!__fmaf] (fmaf): Define using libm_alias_float.
22353
22354 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
22355 [!__fma] (fma): Define using libm_alias_double.
22356 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
22357
22358 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22359
22360 [BZ #22336]
22361 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
22362 and implement the collation rules for cs from CLDR on top of that.
22363 * Makefile: Add cs_CZ.UTF-8 to test-input.
22364 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
22365
22366 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
22367
22368 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
22369
22370 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22371 Icarus Sparry <icarus.w.sparry@intel.com>
22372
22373 * benchtests/Makefile:Add BENCHSET to allow subsets of
22374 benchmarks to be run.
22375 * benchtests/README: Add documentation for: Running subsets of
22376 benchmarks.
22377
22378 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22379
22380 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
22381 range of tests names.
22382
22383 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
22384 result from property and remove "max", min" and "mean" from
22385 required properties based on benchtests/bench-skeleton.c.
22386
22387 2017-11-28 Florian Weimer <fweimer@redhat.com>
22388
22389 [BZ #20826]
22390 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
22391 due to Internet requirement.
22392 * posix/Makefile (tests): Remove tst-getaddrinfo4,
22393 tst-getaddrinfo5.
22394 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
22395
22396 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22397
22398 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22399 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
22400 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22401 (sysdep_routines): Add memset-ultra1.
22402 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
22403 file.
22404 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
22405 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
22406 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
22407 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
22408 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
22409 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
22410 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
22411 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22412
22413 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
22414 file.
22415 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
22416 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
22417 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
22418 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
22419 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
22420 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
22421 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
22422 macro.
22423 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22424 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
22425 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22426 (sysdep_routines): Add memcpy-ultra1.
22427 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
22428 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
22429
22430 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22431
22432 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
22433 (cfloat_versions): Take function argument without trailing 'f'.
22434 Call libm_alias_float_other.
22435 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
22436 * sysdeps/alpha/fpu/cargf.c: Likewise.
22437 * sysdeps/alpha/fpu/cimagf.c: Likewise.
22438 * sysdeps/alpha/fpu/conjf.c: Likewise.
22439 * sysdeps/alpha/fpu/crealf.c: Likewise.
22440 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
22441 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
22442 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
22443 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
22444 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
22445 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
22446 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
22447 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
22448 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
22449 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
22450 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22451 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
22452 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
22453 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
22454 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
22455 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
22456 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
22457 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
22458 (clog10f): Use libm_alias_float_other.
22459 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22460 (ceilf): Define using libm_alias_float.
22461 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
22462 (copysignf): Define using libm_alias_float.
22463 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22464 (fabsf): Define using libm_alias_float.
22465 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
22466 (floorf): Define using libm_alias_float.
22467 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
22468 (fmaxf): Define using libm_alias_float.
22469 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
22470 (fminf): Define using libm_alias_float.
22471 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22472 (lrintf): Define using libm_alias_float.
22473 (llrintf): Likewise.
22474 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22475 (lroundf): Define using libm_alias_float.
22476 (llroundf): Likewise.
22477 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
22478 (rintf): Define using libm_alias_float.
22479 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
22480 (truncf): Define using libm_alias_float.
22481
22482 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22483 (ceilf): Define using libm_alias_float.
22484 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
22485 (floorf): Define using libm_alias_float.
22486 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22487 (fmaf): Define using libm_alias_float.
22488 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
22489 (fmaxf): Define using libm_alias_float.
22490 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
22491 (fminf): Define using libm_alias_float.
22492 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
22493 (llrintf): Define using libm_alias_float.
22494 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
22495 (llroundf): Define using libm_alias_float.
22496 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22497 (lrintf): Define using libm_alias_float.
22498 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22499 (lroundf): Define using libm_alias_float.
22500 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
22501 <libm-alias-float.h>.
22502 (nearbyintf): Define using libm_alias_float.
22503 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
22504 (rintf): Define using libm_alias_float.
22505 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
22506 (roundf): Define using libm_alias_float.
22507 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
22508 (truncf): Define using libm_alias_float.
22509
22510 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
22511 (ceil): Define using libm_alias_double.
22512 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
22513 (copysign): Define using libm_alias_double.
22514 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
22515 (fabs): Define using libm_alias_double.
22516 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
22517 (floor): Define using libm_alias_double.
22518 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
22519 (fmax): Define using libm_alias_double.
22520 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
22521 (fmin): Define using libm_alias_double.
22522 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
22523 (lrint): Define using libm_alias_double.
22524 (llrint): Likewise.
22525 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
22526 (lround): Define using libm_alias_double.
22527 (llround): Likewise.
22528 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
22529 (rint): Define using libm_alias_double.
22530 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
22531 (trunc): Define using libm_alias_double.
22532
22533 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22534 (libm_alias_double_r): Add semicolon after weak_alias call.
22535
22536 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22537
22538 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
22539 (ceil): Define using libm_alias_double.
22540 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
22541 (floor): Define using libm_alias_double.
22542 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
22543 (fma): Define using libm_alias_double.
22544 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
22545 (fmax): Define using libm_alias_double.
22546 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
22547 (fmin): Define using libm_alias_double.
22548 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
22549 (llrint): Define using libm_alias_double.
22550 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
22551 (llround): Define using libm_alias_double.
22552 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
22553 (lrint): Define using libm_alias_double.
22554 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
22555 (lround): Define using libm_alias_double.
22556 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
22557 (nearbyint): Define using libm_alias_double.
22558 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
22559 (rint): Define using libm_alias_double.
22560 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
22561 (round): Define using libm_alias_double.
22562 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22563 (trunc): Define using libm_alias_double.
22564
22565 2017-11-27 Florian Weimer <fweimer@redhat.com>
22566
22567 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22568 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22569 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22570 (tests): Add tst-mlock2.
22571 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22572 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22573 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22574 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22575 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22576 for mlock. Document mlock2.
22577
22578 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22579
22580 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22581 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22582 Likewise.
22583 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22584 Likewise.
22585 * sysdeps/x86/Makeconfig: New file.
22586 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22587 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22588 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22589 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22590 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22591 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22592 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22593 Likewise.
22594 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22595 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22596 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22597 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22598 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22599 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22600 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22601 * manual/math.texi (Mathematics): Document support for _Float64x.
22602 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22603 * stdlib/Versions (GLIBC_2.27): Likewise.
22604 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22605 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22606 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22607 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22608 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22609 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22610 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22611 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22612 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22613 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22614 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22615 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22617 Likewise.
22618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22619 Likewise.
22620 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22621 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22622 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22623 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22624 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22625 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22626 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22627 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22628 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22629 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22630 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22631 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22632 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22633 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22634
22635 2017-11-27 Andreas Schwab <schwab@suse.de>
22636
22637 * elf/Makefile (dl-routines): Add dl-sort-maps.
22638 * elf/dl-sort-maps.c: New file.
22639 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22640 (_dl_sort_maps): Declare.
22641 * elf/dl-fini.c (_dl_sort_fini): Remove.
22642 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22643 * elf/dl-close.c (_dl_close_worker): Likewise.
22644 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22645 open-coding it.
22646 * elf/dl-open.c (dl_open_worker): Likewise.
22647
22648 2017-11-24 Joseph Myers <joseph@codesourcery.com>
22649
22650 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22651 using libm_alias_float128.
22652 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22653 Likewise.
22654 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22655 Likewise.
22656 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22657 (setpayloadsigf128): Likewise.
22658 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22659 Likewise.
22660 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22661 Likewise.
22662
22663 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22664 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22665 -mfloat128 to CFLAGS.
22666 ($(foreach
22667 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22668 Likewise.
22669 (CFLAGS-libm-test-support-float64x.c): New variable.
22670 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22671 $(f128-loader-link) to gnulib-tests.
22672
22673 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22674 (libm_alias_float128_other_r): If
22675 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22676 alias.
22677 (libm_alias_float128_r): Add semicolon after weak_alias call.
22678 * sysdeps/generic/libm-alias-ldouble.h
22679 (libm_alias_ldouble_other_r_f128): New macro.
22680 (libm_alias_ldouble_other_r_f64x): Likewise.
22681 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22682 and libm_alias_ldouble_other_r_f64x.
22683 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22684 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22685 (libm_alias_ldouble_other_r_f128): New macro.
22686 (libm_alias_ldouble_other_r_f64x): Likewise.
22687 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22688 and libm_alias_ldouble_other_r_f64x.
22689
22690 * stdlib/strfroml.c: Always include <stdlib.h>.
22691 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22692 undefine as macro and define as weak alias.
22693 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22694 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22695 <stdlib.h>.
22696 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22697 Define and later undefine as macro and define as weak alias.
22698
22699 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22700 Define and later undefine as macro. Define as weak alias if
22701 [!USE_WIDE_CHAR].
22702 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22703 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22704 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22705 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22706 Define and later undefine as macro. Define as weak alias if
22707 [!USE_WIDE_CHAR].
22708 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22709 Define and later undefine as macro. Define as weak alias if
22710 [USE_WIDE_CHAR].
22711 * sysdeps/ieee754/float128/strtof128_l.c
22712 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22713 Define and later undefine as macro. Define as weak alias if
22714 [!USE_WIDE_CHAR].
22715 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22716 Define and later undefine as macro. Define as weak alias if
22717 [USE_WIDE_CHAR].
22718 * sysdeps/ieee754/ldbl-128/strtold_l.c
22719 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22720 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22721 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22722 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22723 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22724 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22725 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22726 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22727 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22728 * sysdeps/ieee754/ldbl-96/strtold_l.c
22729 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22730 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22731 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22732 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22733
22734 * math/test-float64x.h: New file.
22735 * math/Makefile (type-float64x-yes): New variable.
22736 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22737
22738 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22739 function-like macro.
22740 (min_of_type_): Likewise.
22741 (min_of_type_l): Likewise.
22742 (min_of_type_f128): Likewise.
22743 (min_of_type): Pass () as last argument of __MATH_TG.
22744
22745 * stdlib/tst-strtod-round-skeleton.c
22746 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22747 headers.
22748
22749 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22750 for combinations of long double with _Float64 and _Float64x.
22751
22752 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22753 (__DECL_SIMD_cosf32): Likewise.
22754 (__DECL_SIMD_cosf64): Likewise.
22755 (__DECL_SIMD_cosf32x): Likewise.
22756 (__DECL_SIMD_cosf64x): Likewise.
22757 (__DECL_SIMD_cosf128x): Likewise.
22758 (__DECL_SIMD_sinf16): Likewise.
22759 (__DECL_SIMD_sinf32): Likewise.
22760 (__DECL_SIMD_sinf64): Likewise.
22761 (__DECL_SIMD_sinf32x): Likewise.
22762 (__DECL_SIMD_sinf64x): Likewise.
22763 (__DECL_SIMD_sinf128x): Likewise.
22764 (__DECL_SIMD_sincosf16): Likewise.
22765 (__DECL_SIMD_sincosf32): Likewise.
22766 (__DECL_SIMD_sincosf64): Likewise.
22767 (__DECL_SIMD_sincosf32x): Likewise.
22768 (__DECL_SIMD_sincosf64x): Likewise.
22769 (__DECL_SIMD_sincosf128x): Likewise.
22770 (__DECL_SIMD_logf16): Likewise.
22771 (__DECL_SIMD_logf32): Likewise.
22772 (__DECL_SIMD_logf64): Likewise.
22773 (__DECL_SIMD_logf32x): Likewise.
22774 (__DECL_SIMD_logf64x): Likewise.
22775 (__DECL_SIMD_logf128x): Likewise.
22776 (__DECL_SIMD_expf16): Likewise.
22777 (__DECL_SIMD_expf32): Likewise.
22778 (__DECL_SIMD_expf64): Likewise.
22779 (__DECL_SIMD_expf32x): Likewise.
22780 (__DECL_SIMD_expf64x): Likewise.
22781 (__DECL_SIMD_expf128x): Likewise.
22782 (__DECL_SIMD_powf16): Likewise.
22783 (__DECL_SIMD_powf32): Likewise.
22784 (__DECL_SIMD_powf64): Likewise.
22785 (__DECL_SIMD_powf32x): Likewise.
22786 (__DECL_SIMD_powf64x): Likewise.
22787 (__DECL_SIMD_powf128x): Likewise.
22788
22789 * stdlib/Versions (libc): Move entries for wcstof128 and
22790 wcstof128_l to ....
22791 * wcsmbs/Versions (libc): ... here.
22792 Include <float128-abi.h>.
22793
22794 2017-11-24 Florian Weimer <fweimer@redhat.com>
22795
22796 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22797 bits/mman-shared.h.
22798 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22799 <bits/mman-shared.h>.
22800 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22801 to ...
22802 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22803 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22804 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22805 <bits/mman-shared.h>.
22806
22807 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22808
22809 [BZ #22457]
22810 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22811 posix_memalign/free.
22812 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22813
22814 2017-11-22 Mike FABIAN <mfabian@redhat.com>
22815
22816 [BZ #22469]
22817 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22818 and implement the collation rules for pl from CLDR on top of that.
22819 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22820 of locales to be built for testing.
22821 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22822
22823 2017-11-23 Joseph Myers <joseph@codesourcery.com>
22824
22825 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22826 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22827 libm_alias_ldouble_other.
22828 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22829 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22830 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22831 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22832 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22833 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22834 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22835 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22836 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22837 libm_alias_ldouble_r.
22838 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22839 libm_alias_ldouble_other.
22840 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22841 (log10l): Likewise.
22842 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22843 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22844 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22845 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22846 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22847 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22848 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22849 (atan2l): Likewise.
22850 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22851 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22852 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22853 libm_alias_ldouble.
22854 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22855 (cosl): Likewise.
22856 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22857 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22858 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22859 (expl): Likewise.
22860 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22861 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22862 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22863 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22864 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22865 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22866 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22867 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22868 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22869 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22870 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22871 libm_alias_ldouble.
22872 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22873 libm_alias_ldouble_other.
22874 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22875 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22876 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22877 libm_alias_ldouble.
22878 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22879 libm_alias_ldouble_other.
22880 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22881 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22882 * sysdeps/ia64/fpu/w_lgammal_main.c
22883 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22884 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22885
22886 2017-11-23 Florian Weimer <fweimer@redhat.com>
22887
22888 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22889 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22890 alike. Remove freeres marker.
22891 * malloc/arena.c (arena_thread_freeres): Call
22892 tcache_thread_shutdown.
22893
22894 2017-11-23 Florian Weimer <fweimer@redhat.com>
22895
22896 [BZ #22459]
22897 Export nscd hash function as __nss_hash.
22898 * include/nss.h (__nss_hash): Declare.
22899 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22900 symbol.
22901 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22902 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22903 of __nscd_hash.
22904 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22905 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22906 * nss/Makefiles (routines): Add nss_hash.
22907 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22908 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22909 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22910 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22911
22912 2017-11-23 Florian Weimer <fweimer@redhat.com>
22913
22914 [BZ #22478]
22915 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22916 Return error code, not -1.
22917 * signal/tst-sigwait-eintr.c: New file.
22918 * signal/Makefile (tests): Add tst-sigwait-eintr.
22919
22920 2017-11-23 Florian Weimer <fweimer@redhat.com>
22921
22922 Linux: Add memfd_create system call wrapper
22923 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22924 tst-memfd_create.
22925 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22926 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22927 [__USE_GNU] (memfd_create): Declare.
22928 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22929 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22930 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22931 * sysdeps/unix/sysv/linux/**.abilist: Update.
22932 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22933
22934 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22935
22936 * localedata/gen-locale.sh: Fix typo in variable name.
22937
22938 * resolv/res_debug.c (p_secstodate): Condition definition on
22939 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22940 directly as __p_secstodate, and as a compat symbol. Do not use
22941 libresolv_hidden_def.
22942 * resolv/resolv.h (p_secstodate): Remove macro and function
22943 declaration.
22944 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22945 using p_secstodate.
22946 * include/resolv.h (__p_secstodate): Do not use
22947 libresolv_hidden_proto.
22948 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22949 (tests-internal): ... here.
22950 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22951 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22952 and declare and use __p_secstodate and use compat_symbol_reference
22953 in that case.
22954 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22955 implementation returning 77.
22956
22957 [BZ #22463]
22958 * resolv/res_debug.c: Include <libc-diag.h>.
22959 (p_secstodate): Assert time_t at least as wide as u_long. On
22960 overflow, use integer seconds since the epoch as output, or use
22961 "<overflow>" as output and set errno to EOVERFLOW if integer
22962 seconds since the epoch would be 14 or more characters.
22963 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22964 for sprintf call.
22965 * resolv/tst-p_secstodate.c: New file.
22966 * resolv/Makefile (tests): Add tst-p_secstodate.
22967 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22968
22969 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22970 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22971 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22972
22973 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
22974
22975 * posix/regcomp.c (init_word_char): Add comments.
22976
22977 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22978
22979 [BZ #22447]
22980 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
22981 strlen to compute length of ut_user and set trailing NUL byte of
22982 result explicitly.
22983
22984 2017-11-21 Mike FABIAN <mfabian@redhat.com>
22985
22986 [BZ #15537]
22987 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
22988 using “copy "iso14651_t1"” and then implementing the
22989 collation rules for lv from CLDR on top of that.
22990 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
22991 of locales to be built for testing.
22992 * lv_LV.UTF-8.in: New file with test data to test the Latvian
22993 sorting.
22994
22995 2017-11-21 Joseph Myers <joseph@codesourcery.com>
22996
22997 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
22998 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
22999 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23000 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23001 [__USE_MISC] (MADV_HWPOISON): New macro.
23002 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23003
23004 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23005
23006 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23007 -Wmissing-braces on GCC 4.9.
23008
23009 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23010
23011 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23012 * sysdeps/s390/s390-32/start.S (_start): Likewise
23013 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23014 (thread_start): Likewise.
23015 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23016 (thread_start): Likewise.
23017 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23018 (__makecontext_ret): Likewise.
23019 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23020 (__makecontext_ret): Likewise.
23021
23022 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23023
23024 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23025 __wcschrnul): Remove attribute_hidden.
23026
23027 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23028
23029 regex: don't assume uint64_t or uint32_t
23030 This avoids -Werror=overflow errors for 32-bit systems in
23031 the 64-bit case. Problem reported by Joseph Myers in:
23032 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23033 Also, when this code is used in Gnulib it ports to platforms
23034 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23035 them, and on some 32-bit compilers there is no uint64_t.
23036 Problem reported by Gianluigi Tiesi in:
23037 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23038 * posix/regcomp.c (init_word_char): Don't assume that the types
23039 uint64_t and uint32_t exist. Adapted from Gnulib patch
23040 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23041 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23042
23043 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23044
23045 * sysdeps/aarch64/memset-reg.h: New file.
23046 * sysdeps/aarch64/memset.S: Use it.
23047 (__memset): Rename to MEMSET macro.
23048 [ZVA_MACRO]: Use zva_macro.
23049 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23050 Add memset_generic and memset_falkor.
23051 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23052 (__libc_ifunc_impl_list): Add memset ifuncs.
23053 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23054 local variable zva_size.
23055 * sysdeps/aarch64/multiarch/memset.c: New file.
23056 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23057 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23058 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23059 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23060 (DCZID_DZP_MASK): New macro.
23061 (DCZID_BS_MASK): Likewise.
23062 (init_cpu_features): Read and set zva_size.
23063 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
23064 (struct cpu_features): New member zva_size.
23065
23066 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
23067 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
23068 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
23069
23070 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
23071 backwards. Fix timing computation.
23072 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
23073 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
23074 on memset by N at a time. Fix timing computation.
23075
23076 2017-11-20 Florian Weimer <fweimer@redhat.com>
23077
23078 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
23079 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
23080
23081 2017-11-19 Florian Weimer <fweimer@redhat.com>
23082
23083 manual: Document mprotect
23084 * manual/memory.texi (Memory Protection): New section.
23085 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
23086 documentation of PROT_* flags and reference the Memory Protection
23087 section instead.
23088
23089 2017-11-19 Florian Weimer <fweimer@redhat.com>
23090
23091 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
23092 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
23093 (Scatter-Gather): ... to here. Remove misleading comment.
23094
23095 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
23096
23097 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
23098 style.
23099
23100 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
23101 when /proc/<pid>/setgroups does not exist.
23102
23103 2017-11-18 Florian Weimer <fweimer@redhat.com>
23104
23105 * sysdeps/unix/sysv/linux/tst-ttyname.c
23106 (become_root_in_mount_ns): Remove.
23107 (do_in_chroot_1): Call support_enter_mount_namespace.
23108 (do_in_chroot_2): Likewise.
23109 (do_test): Call support_become_root early.
23110
23111 2017-11-18 Florian Weimer <fweimer@redhat.com>
23112
23113 * support/namespace.h (support_enter_mount_namespace): Declare.
23114 * support/support_enter_mount_namespace.c: New file.
23115 * support/Makefile (libsupport-routines): Add
23116 support_enter_mount_namespace.
23117
23118 2017-11-18 Florian Weimer <fweimer@redhat.com>
23119
23120 * support/temp_file.c (support_create_temp_directory): Use
23121 test_dir and do not rely on the presence of the XXXXXX suffix.
23122 * support/temp_file.h (support_create_temp_directory): Update
23123 comment.
23124 * support/tst-xreadlink.c (do_test): Adjust.
23125 * support/support_chroot.c (support_chroot_create): Likewise.
23126
23127 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23128
23129 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
23130 macro.
23131 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
23132 htm-no-suspend.
23133
23134 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23135
23136 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23137 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23138 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23139 (ceill): Define using libm_alias_ldouble.
23140 * sysdeps/x86_64/fpu/s_copysignl.S: Include
23141 <libm-alias-ldouble.h>.
23142 (copysignl): Define using libm_alias_ldouble.
23143 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23144 (fabsl): Define using libm_alias_ldouble.
23145 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23146 (floorl): Define using libm_alias_ldouble.
23147 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23148 (fmaxl): Define using libm_alias_ldouble.
23149 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23150 (fminl): Define using libm_alias_ldouble.
23151 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23152 (llrintl): Define using libm_alias_ldouble.
23153 (lrintl): Likewise.
23154 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23155 <libm-alias-ldouble.h>.
23156 (nearbyintl): Define using libm_alias_ldouble.
23157 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23158 (truncl): Define using libm_alias_ldouble.
23159 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23160 <libm-alias-ldouble.h>.
23161 (lrintl): Define using libm_alias_ldouble.
23162
23163 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23164 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23165 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23166 (asinhl): Define using libm_alias_ldouble.
23167 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23168 (atanl): Define using libm_alias_ldouble.
23169 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23170 (cbrtl): Define using libm_alias_ldouble.
23171 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23172 (ceill): Define using libm_alias_ldouble.
23173 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23174 (copysignl): Define using libm_alias_ldouble.
23175 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23176 (fabsl): Define using libm_alias_ldouble.
23177 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23178 (floorl): Define using libm_alias_ldouble.
23179 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23180 (fmaxl): Define using libm_alias_ldouble.
23181 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23182 (fminl): Define using libm_alias_ldouble.
23183 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23184 (frexpl): Define using libm_alias_ldouble.
23185 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23186 (llrintl): Define using libm_alias_ldouble.
23187 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23188 (logbl): Define using libm_alias_ldouble.
23189 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23190 (lrintl): Define using libm_alias_ldouble.
23191 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23192 (nearbyintl): Define using libm_alias_ldouble.
23193 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23194 (nextafterl): Define using libm_alias_ldouble.
23195 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23196 (remquol): Define using libm_alias_ldouble.
23197 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23198 (rintl): Define using libm_alias_ldouble.
23199 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23200 (truncl): Define using libm_alias_ldouble.
23201 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23202 (fmaxl): Define using libm_alias_ldouble.
23203 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23204 (fminl): Define using libm_alias_ldouble.
23205
23206 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23207 to C syntax instead of availability and properties of types.
23208 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23209 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23210 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23211 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23212 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23213 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23214
23215 2017-11-17 Florian Weimer <fweimer@redhat.com>
23216
23217 support_become_root: Enable file creation in namespaces.
23218 * support/support_become_root.c (setup_mapping): New function.
23219 (support_become_root): Call it.
23220
23221 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23222
23223 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23224 macro.
23225
23226 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23227
23228 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23229 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23230
23231 2017-11-16 Joseph Myers <joseph@codesourcery.com>
23232
23233 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23234
23235 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23236 version to 4.14.
23237
23238 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23239
23240 * INSTALL: Fix botched up regeneration.
23241
23242 * NEWS: Update sourceare link to https.
23243 * configure.ac: Likewise.
23244 * crypt/md5test-giant.c: Likewise.
23245 * dlfcn/bug-atexit1.c: Likewise.
23246 * dlfcn/bug-atexit2.c: Likewise.
23247 * localedata/README: Likewise.
23248 * malloc/tst-mallocfork.c: Likewise.
23249 * manual/install.texi: Likewise.
23250 * nptl/tst-pthread-getattr.c: Likewise.
23251 * stdio-common/tst-fgets.c: Likewise.
23252 * stdio-common/tst-fwrite.c: Likewise.
23253 * sunrpc/Makefile: Likewise.
23254 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23255 * wcsmbs/tst-mbrtowc2.c: Likewise.
23256 * configure: Regenerate.
23257 * INSTALL: Regenerate.
23258
23259 2017-11-15 Martin Sebor <msebor@redhat.com>
23260
23261 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23262 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23263 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23264
23265 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23266
23267 [BZ #22145]
23268 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23269 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23270
23271 [BZ #22145]
23272 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23273 Defer is_pty check until end of the function.
23274 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23275
23276 [BZ #22145]
23277 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23278 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23279 (ttyname): Likewise.
23280 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23281 (__ttyname_r): Likewise.
23282
23283 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23284 int to bool.
23285
23286 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
23287
23288 * manual/terminal.texi (Is It a Terminal):
23289 Mention ENODEV for ttyname and ttyname_r.
23290
23291 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23292
23293 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23294 constant and macro.
23295
23296 * sysdeps/unix/sysv/linux/bits/mman-linux.h
23297 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23298 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23299 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23300 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23301 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23302
23303 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23304
23305 * signal/sigrelse.c (sigrelse): Optimize implementation.
23306
23307 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
23308 (__sigpause): Rely on __sigsuspend to implement single thread
23309 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
23310
23311 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23312
23313 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23314 kernel version to 4.14.
23315
23316 2017-11-15 Steve Ellcey <sellcey@cavium.com>
23317
23318 [BZ #22442]
23319 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
23320 Check if ifname is too long.
23321
23322 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23323
23324 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
23325
23326 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23327
23328 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
23329 was accidentally lost.
23330
23331 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23332
23333 * localedata/locales/az_IR: Add standard copyright header.
23334
23335 2017-11-15 Florian Weimer <fweimer@redhat.com>
23336
23337 [BZ #22439]
23338 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
23339 not just the top one. Output a new "subheaps" statistic.
23340
23341 2017-11-15 Florian Weimer <fweimer@redhat.com>
23342
23343 [BZ #22408]
23344 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
23345 under the per-arena lock.
23346 * malloc/Makefile (tests): Add tst-malloc_info.
23347 (tst-malloc_info): Link with libpthread.
23348 * malloc/tst-malloc_info.c: New file.
23349
23350 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23351
23352 [BZ #21660]
23353 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
23354 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
23355 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
23356 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
23357 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
23358 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
23359 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
23360 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
23361 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
23362 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23363 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
23364 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
23365 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
23366 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
23367 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
23368 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
23369 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
23370 (__floating_type): Likewise.
23371 (__real_integer_type): Likewise.
23372 (__complex_integer_type): Likewise.
23373 (__expr_is_real): Likewise.
23374 (__tgmath_real_type_sub): Likewise.
23375 (__tgmath_real_type): Likewise.
23376 (__tgmath_complex_type_sub): Likewise.
23377 (__tgmath_complex_type): Likewise.
23378 (__TGMATH_F128): Likewise.
23379 (__TGMATH_CF128): Likewise.
23380 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
23381 new macros.
23382 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23383 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
23384 Likewise.
23385 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
23386 Likewise.
23387 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
23388 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23389 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23390 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
23391 Likewise.
23392 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23393 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
23394 Likewise.
23395 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
23396 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
23397 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
23398 Likewise.
23399 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
23400 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
23401 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
23402 (cimag): Likewise.
23403 (creal): Likewise.
23404
23405 2017-11-14 Joseph Myers <joseph@codesourcery.com>
23406
23407 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
23408 for stpncpy calls for GCC 8.
23409 (test_strncat): Disable -Wstringop-truncation warning for strncat
23410 calls for GCC 8. Disable -Wstringop-overflow= warning for one
23411 strncat call for GCC 7.
23412 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
23413 calls for GCC 8.
23414 (test_memcmp): Use memcpy instead of strncpy for calls not copying
23415 trailing NUL.
23416
23417 * string/bug-strncat1.c: Include <libc-diag.h>.
23418 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
23419
23420 2017-11-13 Claude Paroz <claude@2xlibre.net>
23421
23422 [BZ #22387]
23423 * localedata/locales/aa_DJ: Improved readibility by replacing
23424 <Uxxxx> sequences in the ASCII printable range by their ASCII
23425 character equivalents.
23426 * localedata/locales/aa_ER: Likewise.
23427 * localedata/locales/aa_ER@saaho: Likewise.
23428 * localedata/locales/aa_ET: Likewise.
23429 * localedata/locales/af_ZA: Likewise.
23430 * localedata/locales/agr_PE: Likewise.
23431 * localedata/locales/ak_GH: Likewise.
23432 * localedata/locales/am_ET: Likewise.
23433 * localedata/locales/anp_IN: Likewise.
23434 * localedata/locales/ar_AE: Likewise.
23435 * localedata/locales/ar_BH: Likewise.
23436 * localedata/locales/ar_DZ: Likewise.
23437 * localedata/locales/ar_EG: Likewise.
23438 * localedata/locales/ar_IN: Likewise.
23439 * localedata/locales/ar_IQ: Likewise.
23440 * localedata/locales/ar_JO: Likewise.
23441 * localedata/locales/ar_KW: Likewise.
23442 * localedata/locales/ar_LB: Likewise.
23443 * localedata/locales/ar_LY: Likewise.
23444 * localedata/locales/ar_MA: Likewise.
23445 * localedata/locales/ar_OM: Likewise.
23446 * localedata/locales/ar_QA: Likewise.
23447 * localedata/locales/ar_SA: Likewise.
23448 * localedata/locales/ar_SD: Likewise.
23449 * localedata/locales/ar_SS: Likewise.
23450 * localedata/locales/ar_SY: Likewise.
23451 * localedata/locales/ar_TN: Likewise.
23452 * localedata/locales/ar_YE: Likewise.
23453 * localedata/locales/as_IN: Likewise.
23454 * localedata/locales/ast_ES: Likewise.
23455 * localedata/locales/ayc_PE: Likewise.
23456 * localedata/locales/az_AZ: Likewise.
23457 * localedata/locales/az_IR: Likewise.
23458 * localedata/locales/be_BY: Likewise.
23459 * localedata/locales/be_BY@latin: Likewise.
23460 * localedata/locales/bem_ZM: Likewise.
23461 * localedata/locales/ber_DZ: Likewise.
23462 * localedata/locales/ber_MA: Likewise.
23463 * localedata/locales/bg_BG: Likewise.
23464 * localedata/locales/bhb_IN: Likewise.
23465 * localedata/locales/bho_IN: Likewise.
23466 * localedata/locales/bi_VU: Likewise.
23467 * localedata/locales/bn_BD: Likewise.
23468 * localedata/locales/bn_IN: Likewise.
23469 * localedata/locales/bo_CN: Likewise.
23470 * localedata/locales/bo_IN: Likewise.
23471 * localedata/locales/br_FR: Likewise.
23472 * localedata/locales/brx_IN: Likewise.
23473 * localedata/locales/bs_BA: Likewise.
23474 * localedata/locales/byn_ER: Likewise.
23475 * localedata/locales/ca_AD: Likewise.
23476 * localedata/locales/ca_ES: Likewise.
23477 * localedata/locales/ca_FR: Likewise.
23478 * localedata/locales/ca_IT: Likewise.
23479 * localedata/locales/ce_RU: Likewise.
23480 * localedata/locales/chr_US: Likewise.
23481 * localedata/locales/cmn_TW: Likewise.
23482 * localedata/locales/crh_UA: Likewise.
23483 * localedata/locales/cs_CZ: Likewise.
23484 * localedata/locales/csb_PL: Likewise.
23485 * localedata/locales/cv_RU: Likewise.
23486 * localedata/locales/cy_GB: Likewise.
23487 * localedata/locales/da_DK: Likewise.
23488 * localedata/locales/de_AT: Likewise.
23489 * localedata/locales/de_BE: Likewise.
23490 * localedata/locales/de_CH: Likewise.
23491 * localedata/locales/de_DE: Likewise.
23492 * localedata/locales/de_IT: Likewise.
23493 * localedata/locales/de_LI: Likewise.
23494 * localedata/locales/de_LU: Likewise.
23495 * localedata/locales/doi_IN: Likewise.
23496 * localedata/locales/dv_MV: Likewise.
23497 * localedata/locales/dz_BT: Likewise.
23498 * localedata/locales/el_CY: Likewise.
23499 * localedata/locales/el_GR: Likewise.
23500 * localedata/locales/en_AG: Likewise.
23501 * localedata/locales/en_AU: Likewise.
23502 * localedata/locales/en_BW: Likewise.
23503 * localedata/locales/en_CA: Likewise.
23504 * localedata/locales/en_DK: Likewise.
23505 * localedata/locales/en_GB: Likewise.
23506 * localedata/locales/en_HK: Likewise.
23507 * localedata/locales/en_IE: Likewise.
23508 * localedata/locales/en_IL: Likewise.
23509 * localedata/locales/en_IN: Likewise.
23510 * localedata/locales/en_NG: Likewise.
23511 * localedata/locales/en_NZ: Likewise.
23512 * localedata/locales/en_PH: Likewise.
23513 * localedata/locales/en_SG: Likewise.
23514 * localedata/locales/en_US: Likewise.
23515 * localedata/locales/en_ZA: Likewise.
23516 * localedata/locales/en_ZM: Likewise.
23517 * localedata/locales/en_ZW: Likewise.
23518 * localedata/locales/eo: Likewise.
23519 * localedata/locales/es_AR: Likewise.
23520 * localedata/locales/es_BO: Likewise.
23521 * localedata/locales/es_CL: Likewise.
23522 * localedata/locales/es_CO: Likewise.
23523 * localedata/locales/es_CR: Likewise.
23524 * localedata/locales/es_CU: Likewise.
23525 * localedata/locales/es_DO: Likewise.
23526 * localedata/locales/es_EC: Likewise.
23527 * localedata/locales/es_ES: Likewise.
23528 * localedata/locales/es_GT: Likewise.
23529 * localedata/locales/es_HN: Likewise.
23530 * localedata/locales/es_MX: Likewise.
23531 * localedata/locales/es_NI: Likewise.
23532 * localedata/locales/es_PA: Likewise.
23533 * localedata/locales/es_PE: Likewise.
23534 * localedata/locales/es_PR: Likewise.
23535 * localedata/locales/es_PY: Likewise.
23536 * localedata/locales/es_SV: Likewise.
23537 * localedata/locales/es_US: Likewise.
23538 * localedata/locales/es_UY: Likewise.
23539 * localedata/locales/es_VE: Likewise.
23540 * localedata/locales/et_EE: Likewise.
23541 * localedata/locales/eu_ES: Likewise.
23542 * localedata/locales/eu_ES@euro: Likewise.
23543 * localedata/locales/fa_IR: Likewise.
23544 * localedata/locales/ff_SN: Likewise.
23545 * localedata/locales/fi_FI: Likewise.
23546 * localedata/locales/fil_PH: Likewise.
23547 * localedata/locales/fo_FO: Likewise.
23548 * localedata/locales/fr_BE: Likewise.
23549 * localedata/locales/fr_CA: Likewise.
23550 * localedata/locales/fr_CH: Likewise.
23551 * localedata/locales/fr_FR: Likewise.
23552 * localedata/locales/fr_LU: Likewise.
23553 * localedata/locales/fur_IT: Likewise.
23554 * localedata/locales/fy_DE: Likewise.
23555 * localedata/locales/fy_NL: Likewise.
23556 * localedata/locales/ga_IE: Likewise.
23557 * localedata/locales/gd_GB: Likewise.
23558 * localedata/locales/gez_ER: Likewise.
23559 * localedata/locales/gez_ET: Likewise.
23560 * localedata/locales/gl_ES: Likewise.
23561 * localedata/locales/gu_IN: Likewise.
23562 * localedata/locales/gv_GB: Likewise.
23563 * localedata/locales/ha_NG: Likewise.
23564 * localedata/locales/hak_TW: Likewise.
23565 * localedata/locales/he_IL: Likewise.
23566 * localedata/locales/hi_IN: Likewise.
23567 * localedata/locales/hif_FJ: Likewise.
23568 * localedata/locales/hne_IN: Likewise.
23569 * localedata/locales/hr_HR: Likewise.
23570 * localedata/locales/hsb_DE: Likewise.
23571 * localedata/locales/ht_HT: Likewise.
23572 * localedata/locales/hu_HU: Likewise.
23573 * localedata/locales/hy_AM: Likewise.
23574 * localedata/locales/i18n: Likewise.
23575 * localedata/locales/ia_FR: Likewise.
23576 * localedata/locales/id_ID: Likewise.
23577 * localedata/locales/ig_NG: Likewise.
23578 * localedata/locales/ik_CA: Likewise.
23579 * localedata/locales/is_IS: Likewise.
23580 * localedata/locales/it_CH: Likewise.
23581 * localedata/locales/it_IT: Likewise.
23582 * localedata/locales/iu_CA: Likewise.
23583 * localedata/locales/ja_JP: Likewise.
23584 * localedata/locales/ka_GE: Likewise.
23585 * localedata/locales/kk_KZ: Likewise.
23586 * localedata/locales/kl_GL: Likewise.
23587 * localedata/locales/kn_IN: Likewise.
23588 * localedata/locales/ko_KR: Likewise.
23589 * localedata/locales/kok_IN: Likewise.
23590 * localedata/locales/ks_IN: Likewise.
23591 * localedata/locales/ks_IN@devanagari: Likewise.
23592 * localedata/locales/ku_TR: Likewise.
23593 * localedata/locales/kw_GB: Likewise.
23594 * localedata/locales/ky_KG: Likewise.
23595 * localedata/locales/lb_LU: Likewise.
23596 * localedata/locales/lg_UG: Likewise.
23597 * localedata/locales/li_BE: Likewise.
23598 * localedata/locales/li_NL: Likewise.
23599 * localedata/locales/lij_IT: Likewise.
23600 * localedata/locales/ln_CD: Likewise.
23601 * localedata/locales/lo_LA: Likewise.
23602 * localedata/locales/lt_LT: Likewise.
23603 * localedata/locales/lv_LV: Likewise.
23604 * localedata/locales/lzh_TW: Likewise.
23605 * localedata/locales/mag_IN: Likewise.
23606 * localedata/locales/mai_IN: Likewise.
23607 * localedata/locales/mg_MG: Likewise.
23608 * localedata/locales/mhr_RU: Likewise.
23609 * localedata/locales/mi_NZ: Likewise.
23610 * localedata/locales/mk_MK: Likewise.
23611 * localedata/locales/ml_IN: Likewise.
23612 * localedata/locales/mn_MN: Likewise.
23613 * localedata/locales/mni_IN: Likewise.
23614 * localedata/locales/mr_IN: Likewise.
23615 * localedata/locales/ms_MY: Likewise.
23616 * localedata/locales/mt_MT: Likewise.
23617 * localedata/locales/my_MM: Likewise.
23618 * localedata/locales/nan_TW: Likewise.
23619 * localedata/locales/nan_TW@latin: Likewise.
23620 * localedata/locales/nb_NO: Likewise.
23621 * localedata/locales/nds_DE: Likewise.
23622 * localedata/locales/nds_NL: Likewise.
23623 * localedata/locales/ne_NP: Likewise.
23624 * localedata/locales/nhn_MX: Likewise.
23625 * localedata/locales/niu_NU: Likewise.
23626 * localedata/locales/niu_NZ: Likewise.
23627 * localedata/locales/nl_AW: Likewise.
23628 * localedata/locales/nl_BE: Likewise.
23629 * localedata/locales/nl_NL: Likewise.
23630 * localedata/locales/nn_NO: Likewise.
23631 * localedata/locales/nr_ZA: Likewise.
23632 * localedata/locales/nso_ZA: Likewise.
23633 * localedata/locales/oc_FR: Likewise.
23634 * localedata/locales/om_ET: Likewise.
23635 * localedata/locales/om_KE: Likewise.
23636 * localedata/locales/or_IN: Likewise.
23637 * localedata/locales/os_RU: Likewise.
23638 * localedata/locales/pa_IN: Likewise.
23639 * localedata/locales/pa_PK: Likewise.
23640 * localedata/locales/pap_AW: Likewise.
23641 * localedata/locales/pap_CW: Likewise.
23642 * localedata/locales/pl_PL: Likewise.
23643 * localedata/locales/ps_AF: Likewise.
23644 * localedata/locales/pt_BR: Likewise.
23645 * localedata/locales/pt_PT: Likewise.
23646 * localedata/locales/quz_PE: Likewise.
23647 * localedata/locales/raj_IN: Likewise.
23648 * localedata/locales/ro_RO: Likewise.
23649 * localedata/locales/ru_RU: Likewise.
23650 * localedata/locales/ru_UA: Likewise.
23651 * localedata/locales/rw_RW: Likewise.
23652 * localedata/locales/sa_IN: Likewise.
23653 * localedata/locales/sat_IN: Likewise.
23654 * localedata/locales/sc_IT: Likewise.
23655 * localedata/locales/sd_IN: Likewise.
23656 * localedata/locales/sd_IN@devanagari: Likewise.
23657 * localedata/locales/se_NO: Likewise.
23658 * localedata/locales/sgs_LT: Likewise.
23659 * localedata/locales/shs_CA: Likewise.
23660 * localedata/locales/si_LK: Likewise.
23661 * localedata/locales/sid_ET: Likewise.
23662 * localedata/locales/sk_SK: Likewise.
23663 * localedata/locales/sl_SI: Likewise.
23664 * localedata/locales/sm_WS: Likewise.
23665 * localedata/locales/so_DJ: Likewise.
23666 * localedata/locales/so_ET: Likewise.
23667 * localedata/locales/so_KE: Likewise.
23668 * localedata/locales/so_SO: Likewise.
23669 * localedata/locales/sq_AL: Likewise.
23670 * localedata/locales/sq_MK: Likewise.
23671 * localedata/locales/sr_ME: Likewise.
23672 * localedata/locales/sr_RS: Likewise.
23673 * localedata/locales/sr_RS@latin: Likewise.
23674 * localedata/locales/ss_ZA: Likewise.
23675 * localedata/locales/st_ZA: Likewise.
23676 * localedata/locales/sv_FI: Likewise.
23677 * localedata/locales/sv_SE: Likewise.
23678 * localedata/locales/sw_KE: Likewise.
23679 * localedata/locales/sw_TZ: Likewise.
23680 * localedata/locales/szl_PL: Likewise.
23681 * localedata/locales/ta_IN: Likewise.
23682 * localedata/locales/ta_LK: Likewise.
23683 * localedata/locales/tcy_IN: Likewise.
23684 * localedata/locales/te_IN: Likewise.
23685 * localedata/locales/tg_TJ: Likewise.
23686 * localedata/locales/th_TH: Likewise.
23687 * localedata/locales/the_NP: Likewise.
23688 * localedata/locales/ti_ER: Likewise.
23689 * localedata/locales/ti_ET: Likewise.
23690 * localedata/locales/tig_ER: Likewise.
23691 * localedata/locales/tk_TM: Likewise.
23692 * localedata/locales/tl_PH: Likewise.
23693 * localedata/locales/tn_ZA: Likewise.
23694 * localedata/locales/to_TO: Likewise.
23695 * localedata/locales/tpi_PG: Likewise.
23696 * localedata/locales/tr_CY: Likewise.
23697 * localedata/locales/tr_TR: Likewise.
23698 * localedata/locales/ts_ZA: Likewise.
23699 * localedata/locales/tt_RU: Likewise.
23700 * localedata/locales/tt_RU@iqtelif: Likewise.
23701 * localedata/locales/ug_CN: Likewise.
23702 * localedata/locales/uk_UA: Likewise.
23703 * localedata/locales/unm_US: Likewise.
23704 * localedata/locales/ur_IN: Likewise.
23705 * localedata/locales/ur_PK: Likewise.
23706 * localedata/locales/uz_UZ: Likewise.
23707 * localedata/locales/uz_UZ@cyrillic: Likewise.
23708 * localedata/locales/ve_ZA: Likewise.
23709 * localedata/locales/vi_VN: Likewise.
23710 * localedata/locales/wa_BE: Likewise.
23711 * localedata/locales/wae_CH: Likewise.
23712 * localedata/locales/wal_ET: Likewise.
23713 * localedata/locales/wo_SN: Likewise.
23714 * localedata/locales/xh_ZA: Likewise.
23715 * localedata/locales/yi_US: Likewise.
23716 * localedata/locales/yo_NG: Likewise.
23717 * localedata/locales/yue_HK: Likewise.
23718 * localedata/locales/yuw_PG: Likewise.
23719 * localedata/locales/zh_CN: Likewise.
23720 * localedata/locales/zh_HK: Likewise.
23721 * localedata/locales/zh_SG: Likewise.
23722 * localedata/locales/zh_TW: Likewise.
23723 * localedata/locales/zu_ZA: Likewise.
23724
23725 2017-11-13 Florian Weimer <fweimer@redhat.com>
23726
23727 * support/next_to_fault.h, support/next_to_fault.c: New files.
23728 * support/Makefile (libsupport-routines): Add next_to_fault.
23729 * resolv/tst-inet_pton.c (struct next_to_fault)
23730 (next_to_fault_allocate, next_to_fault_free): Remove.
23731 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23732
23733 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23734
23735 * elf/dl-support.c: Include <dl-procruntime.c>.
23736 * include/link.h: Include <link_map.h>.
23737 * sysdeps/generic/dl-procruntime.c: New file.
23738 * sysdeps/generic/link_map.h: Likewise.
23739 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23740 the writable ld.so namespace.
23741
23742 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23743
23744 timezone: pacify GCC -Wstringop-truncation
23745 Problem reported by Martin Sebor in:
23746 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23747 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23748
23749 2017-11-12 Florian Weimer <fweimer@redhat.com>
23750
23751 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23752 tst-xreadlink.
23753 (tests): Add tst-xreadlink.
23754 * support/support.h (xstrndup): Declare.
23755 * support/xunistd.h (xunlink, xreadlink): Declare.
23756 * support/temp_file.h (support_create_temp_directory): Declare.
23757 * support/temp_file.c (support_create_temp_directory): New function.
23758 * support/support_chroot.c (support_chroot_create): Use it.
23759 * support/xreadlink.c: New file.
23760 * support/xstrndup.c: Likewise.
23761 * support/xunlink.c: Likewise.
23762 * support/tst-xreadlink.c: Likewise.
23763
23764 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
23765
23766 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23767
23768 2017-11-11 Florian Weimer <fweimer@redhat.com>
23769
23770 [BZ #22409]
23771 [BZ #22412]
23772 * resolv/res_comp.c (printable_string, binary_hnok)
23773 (binary_leading_dash): New functions.
23774 (res_hnok): Reimplement using these functions and ns_name_pton.
23775 (res_ownok): Likewise.
23776 (res_mailok): Reimplement using printable_string, ns_name_pton and
23777 binary_hnok.
23778 (res_dnok): Reimplement using printable_string and ns_name_pton.
23779 * resolv/tst-res_hnok.c (tests): Add additional tests.
23780 (LETTERDIGITS, PRINTABLE): Define.
23781 (do_test): Adjust one_char results.
23782
23783 2017-11-11 Florian Weimer <fweimer@redhat.com>
23784
23785 [BZ #22413]
23786 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23787 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23788
23789 2017-11-11 Florian Weimer <fweimer@redhat.com>
23790
23791 * resolv/tst-ns_name_pton.c: New file.
23792 * resolv/Makefile (tests): Add tst-ns_name_pton.
23793 (tst-ns_name_pton): Link against libresolv.
23794
23795 2017-11-11 Florian Weimer <fweimer@redhat.com>
23796
23797 * resolv/tst-res_hnok.c: New file.
23798 * resolv/Makefile (tests): Add tst-res_hnok.
23799 (tst-res_hnok): Link against libresolv.
23800
23801 2017-11-11 Florian Weimer <fweimer@redhat.com>
23802
23803 * resolv/tst-resolv-network.c: Use test framework instead explicit
23804 main function.
23805
23806 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23807
23808 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23809 <jmp_buf-macros.h>.
23810 [!_ISOMAC] (STR_HELPER): New.
23811 [!_ISOMAC] (STR): Likewise.
23812 [!_ISOMAC] (TEST_SIZE): Likewise.
23813 [!_ISOMAC] (TEST_ALIGN): Likewise.
23814 [!_ISOMAC] (TEST_OFFSET): Likewise.
23815 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23816 field offsets of jmp_buf as well as sigjmp_buf.
23817 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23818 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23819 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23820 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23821 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23822 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23823 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23824 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23825 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23826 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23827 Likewise.
23828 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23829 Likewise.
23830 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23832 Likewise.
23833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23834 Likewise.
23835 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23836 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23837 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23838 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23839 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23841 Likewise.
23842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23843 Likewise.
23844 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23845 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23846 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23847
23848 2017-11-07 Joseph Myers <joseph@codesourcery.com>
23849
23850 * include/float.h
23851 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23852 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23853 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23854 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23855 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23856 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23857 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23858 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23859 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23860 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23861 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23862 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23863 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23864 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23865 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23866 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23867 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23868 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23869 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23870 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23871 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23872 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23873 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23874 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23875 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23876 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23877 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23878 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23879 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23880 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23881 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23882 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23883 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23884 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23885 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23886 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23887 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23888 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23889 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23890 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23891 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23892 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23893 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23894 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23895 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23896 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23897 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23898 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23899 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23900 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23901 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23902 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23903 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23904 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23905 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23906 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23907 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23908 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23909 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23910 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23911 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23912 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23913 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23914 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23915 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23916 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23917 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23918 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23919 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23920 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23921 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23922 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23923 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23924 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23925 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23926 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23927 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23928 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23929 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23930 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23931 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23932 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23933 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23934 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23935 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23936 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23937 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23938 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23939
23940 * stdlib/tst-strtod.h (F16): New macro.
23941 (F32): Likewise.
23942 (F64): Likewise.
23943 (F32X): Likewise.
23944 (F64X): Likewise.
23945 (F128X): Likewise.
23946 (IF_FLOAT16): Likewise.
23947 (IF_FLOAT32): Likewise.
23948 (IF_FLOAT64): Likewise.
23949 (IF_FLOAT32X): Likewise.
23950 (IF_FLOAT64X): Likewise.
23951 (IF_FLOAT128X): Likewise.
23952 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23953 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23954 (STRTOD_TEST_FOREACH): Likewise.
23955 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23956 (CHOOSE_f64): Likewise.
23957 (CHOOSE_f32x): Likewise.
23958 (CHOOSE_f64x): Likewise.
23959
23960 2017-11-07 Andreas Schwab <schwab@suse.de>
23961
23962 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23963
23964 2017-11-07 Mike FABIAN <mfabian@redhat.com>
23965
23966 [BZ #22403]
23967 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23968 to be escaped.
23969 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23970 to be escaped.
23971
23972 2017-11-07 Claude Paroz <claude@2xlibre.net>
23973
23974 [BZ #22403]
23975 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
23976 to be escaped.
23977 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
23978 to be escaped.
23979 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
23980 to be escaped.
23981
23982 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23983
23984 [BZ #22298]
23985 * nptl/allocatestack.c (allocate_stack): Check if
23986 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
23987 __PTHREAD_MUTEX_HAVE_PREV is defined.
23988 * nptl/descr.h (pthread): Likewise.
23989 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23990 Likewise.
23991 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23992 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23993 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
23994 * sysdeps/nptl/bits/thread-shared-types.h
23995 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
23996 defines.
23997 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
23998 of __WORDSIZE for internal layout.
23999 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24000 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24001 instead of __WORDSIZE whether to use an union for __spins and __list
24002 fields.
24003 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24004 case.
24005 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24006 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24007 defines.
24008 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24009 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24010 Likewise.
24011 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24012 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24013 Likewise.
24014 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24015 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24016 Likewise.
24017 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24018 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24019 Likewise.
24020 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24021 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24022 Likewise.
24023 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24024 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24025 Likewise.
24026 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24027 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24028 Likewise.
24029 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24030 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24031 Likewise.
24032 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24033 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24034 Likewise.
24035 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24036 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24037 Likewise.
24038 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24039 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24040 Likewise.
24041 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24042 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24043 Likewise.
24044 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24045 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24046 Likewise.
24047 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24048 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24049 Likewise.
24050
24051 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24052 New macros.
24053 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24054 checks for expected input type size.
24055 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24056 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24057 Likewise.
24058 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24059 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24060 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24061 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24062 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24063 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
24064 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
24065 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
24066 superflous runtime assert check.
24067 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
24068 Likewise.
24069 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
24070 Likewise.
24071 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24072 Likewise.
24073 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
24074 Likewise.
24075 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
24076 Likewise.
24077 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
24078 Likewise.
24079 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
24080 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
24081 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24082 Likewise.
24083 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24084 Likewise.
24085 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24086 Likewise.
24087 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
24088 Likewise.
24089 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24090 Likewise.
24091 * nptl/pthread_attr_setinheritsched.c
24092 (__pthread_attr_setinheritsched): Likewise.
24093 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
24094 Likewise.
24095 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
24096 Likewise.
24097 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
24098 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
24099 __old_pthread_attr_setstack): Likewise.
24100 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24101 Likewise.
24102 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24103 Likewise.
24104 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
24105 Likewise.
24106 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24107 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24108 Likewise.
24109 * nptl/tst-typesizes.c: Remove file.
24110
24111 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
24112 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
24113 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
24114 checks for internal pthread_mutex_t offsets.
24115 * sysdeps/aarch64/nptl/pthread-offsets.h
24116 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
24117 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
24118 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
24119 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
24120 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
24121 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
24122 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
24123 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
24124 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
24125 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
24126 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
24127 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
24128 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
24129 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
24130 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
24131 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
24132 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
24133 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
24134
24135 2017-11-07 Florian Weimer <fweimer@redhat.com>
24136
24137 * bits/mman-linux.h: Move ...
24138 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
24139 comment.
24140 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
24141 outdated comment.
24142
24143 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24144
24145 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24146 Redefine STRNLEN as __strnlen_power8.
24147
24148 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24149
24150 * signal/sighold.c (sighold): Optimize implementation.
24151
24152 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24153 __NR_rt_sigqueueinfo.
24154
24155 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24156 __sigtimedwait.
24157 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24158 assume __NR_rt_sigtimedwait.
24159 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24160 and add LIBC_CANCEL_HANDLED for cancellation marking.
24161 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24162
24163 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24164 (sysdeps_routines): Add memchr_noneon.
24165 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24166 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24167 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24168 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24169 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24170 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24171 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24172
24173 * sysdeps/arm/arm-ifunc.h: New file.
24174 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24175 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24176 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24177 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24178 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24179 (__memcpy_neon): Avoid create hidden alias.
24180 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24181 (__memcpy_vfp): Likewise.
24182 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24183 (sysdep_routines): Add memcpy_arm.
24184 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24185
24186 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24187
24188 [BZ #22362]
24189 * Makerules (make-link-multidir): New.
24190 * config.make.in (multidir): New.
24191 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24192 * configure: Regenerated.
24193 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24194 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24195 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24196 New target.
24197
24198 2017-11-06 Joseph Myers <joseph@codesourcery.com>
24199
24200 [BZ #22402]
24201 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24202 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24203
24204 2017-11-04 Mike FABIAN <mfabian@redhat.com>
24205
24206 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24207 to be escaped.
24208
24209 2017-11-04 Florian Weimer <fweimer@redhat.com>
24210
24211 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24212
24213 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24214
24215 * math/math.h [__HAVE_DISTINCT_FLOAT16
24216 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24217 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24218 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24219 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24220 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24221 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24222 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24223 (__MATH_TG_F32): New macro.
24224 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24225 (__MATH_TG_F64X): Likewise.
24226 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24227 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24228
24229 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24230
24231 * po/de.po: Update translations.
24232 * po/ru.po: Likewise.
24233
24234 2017-11-03 Florian Weimer <fweimer@redhat.com>
24235
24236 * manual/filesys.texi (Hard Links): Document linkat.
24237
24238 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24239
24240 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24241 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24242 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24243 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24244 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24245 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24246 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24247 the same as _Float128.
24248 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24249 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24250 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24251
24252 * stdlib/stdlib.h
24253 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24254 Declare.
24255 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24256 Likewise.
24257 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24258 Likewise.
24259 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24260 (strtof32x): Likewise.
24261 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24262 (strtof64x): Likewise.
24263 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24264 (strtof128x): Likewise.
24265 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24266 (strfromf16): Likewise.
24267 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24268 (strfromf32): Likewise.
24269 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24270 (strfromf64): Likewise.
24271 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24272 (strfromf32x): Likewise.
24273 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24274 (strfromf64x): Likewise.
24275 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24276 (strfromf128x): Likewise.
24277 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24278 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24279 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24280 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24281 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24282 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24283
24284 2017-11-03 Richard Henderson <rth@twiddle.net>
24285
24286 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
24287
24288 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24289
24290 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
24291
24292 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24293
24294 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
24295 DT_TLSDESC_GOT initialization.
24296 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
24297 (_dl_tlsdesc_resolve_hold): Likewise.
24298 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24299 (_dl_tlsdesc_resolve_hold): Likewise.
24300 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24301 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24302
24303 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24304
24305 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
24306
24307 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24308
24309 [BZ #18572]
24310 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
24311 non-lazily for R_ARM_TLS_DESC.
24312
24313 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24314
24315 [BZ #17078]
24316 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
24317 R_ARM_TLS_DESC case.
24318 (elf_machine_lazy_rel): Remove the prelink check.
24319
24320 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24321
24322 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
24323 DT_TLSDESC_GOT initialization.
24324 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
24325 (_dl_tlsdesc_resolve_rela): Likewise.
24326 (_dl_tlsdesc_resolve_hold): Likewise.
24327 (_dl_tlsdesc_undefweak): Remove ldar.
24328 (_dl_tlsdesc_dynamic): Likewise.
24329 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
24330 (_dl_tlsdesc_resolve_rela): Likewise.
24331 (_dl_tlsdesc_resolve_hold): Likewise.
24332 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
24333 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24334 (_dl_tlsdesc_resolve_rela): Likewise.
24335 (_dl_tlsdesc_resolve_hold): Likewise.
24336
24337 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24338
24339 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
24340 binding and initialization non-lazily for R_AARCH64_TLSDESC.
24341
24342 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24343
24344 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
24345 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24346
24347 2017-11-02 Joseph Myers <joseph@codesourcery.com>
24348
24349 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
24350 Declare.
24351 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
24352 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
24353 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
24354 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
24355 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
24356 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
24357 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
24358 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
24359 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
24360 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
24361 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
24362
24363 2017-11-02 Mike FABIAN <mfabian@redhat.com>
24364
24365 [BZ #22382]
24366 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
24367 * localedata/locales/tpi_PG: Add standard header.
24368
24369 2017-11-02 Florian Weimer <fweimer@redhat.com>
24370
24371 test-errno-linux: quotactl can fail with EPERM in containers.
24372 * sysdeps/unix/sysv/linux/test-errno-linux.c
24373 (LIST, LIST_FORWARD): New macros.
24374 (check_error_in_list): New function.
24375 (test_wrp_rv): Accept list of permitted error codes.
24376 (test_wrp_rv2): Remove.
24377 (test_wrp): Call test_wrp_rv with list of error codes.
24378 (test_wrp2): Accept list of error codes.
24379 (do_test): Adjust. Allow EPERM for quotactl.
24380
24381 2017-11-02 Florian Weimer <fweimer@redhat.com>
24382
24383 * stdio-common/bug16.c (do_test): Use array_length.
24384 * stdio-common/errlist.c (_sys_nerr): Likewise.
24385 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
24386 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
24387 * stdio-common/psiginfo.c (psiginfo): Use array_length.
24388 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
24389 (do_test): Use array_length.
24390 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
24391 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
24392 * stdio-common/tst-printf-round.c (do_test): Likewise.
24393 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
24394 (CHECK): Use array_length.
24395 * stdio-common/tstdiomisc.c (t3, F): Likewise.
24396 * stdio-common/tstscanf.c (main): Likewise.
24397 * stdio-common/vfprintf.c (process_string_arg): Likewise.
24398
24399 2017-11-02 Florian Weimer <fweimer@redhat.com>
24400
24401 Add array_length and array_end macros.
24402 * include/array_length.h: New file.
24403
24404 2017-11-02 Florian Weimer <fweimer@redhat.com>
24405
24406 [BZ #22332]
24407 * posix/tst-glob-tilde.c (do_noescape): New variable.
24408 (one_test): Process it.
24409 (do_test): Set do_noescape. Add unescaping test case.
24410
24411 2017-11-01 Joseph Myers <joseph@codesourcery.com>
24412
24413 * math/complex.h
24414 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
24415 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
24416 with appropriate macros defined and undefined.
24417 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
24418 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24419 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
24420 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24421 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
24422 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24423 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
24424 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24425 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
24426 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24427
24428 * math/complex.h
24429 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
24430 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
24431 that for long double. Do not condition define and undefine of
24432 _Mdouble_complex_ on [__CFLOAT128].
24433
24434 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
24435
24436 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24437 of <sysdeps/generic/sysdep.h>.
24438 (ALIGNARG): Removed.
24439 (ASM_SIZE_DIRECTIVE): Likewise.
24440 (ENTRY): Likewise.
24441 (END): Likewise.
24442 (ENTRY_CHK): Likewise.
24443 (END_CHK): Likewise.
24444 (syscall_error): Likewise.
24445 (mcount): Likewise.
24446 (PSEUDO_END): Likewise.
24447 (L): Likewise.
24448 (atom_text_section): Likewise.
24449 * sysdeps/x86/sysdep.h: New file.
24450 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24451 of <sysdeps/generic/sysdep.h>.
24452 (ALIGNARG): Removed.
24453 (ASM_SIZE_DIRECTIVE): Likewise.
24454 (ENTRY): Likewise.
24455 (END): Likewise.
24456 (ENTRY_CHK): Likewise.
24457 (END_CHK): Likewise.
24458 (syscall_error): Likewise.
24459 (mcount): Likewise.
24460 (PSEUDO_END): Likewise.
24461 (L): Likewise.
24462 (atom_text_section): Likewise.
24463
24464 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
24465
24466 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
24467 category of LC_CTYPE set to "i18n:2012".
24468 * localedata/locales/i18n_ctype: Regenerate.
24469
24470 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
24471
24472 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
24473 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
24474 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24475 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24476
24477 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
24478 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
24479 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
24480 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
24481
24482 2017-10-31 Joseph Myers <joseph@codesourcery.com>
24483
24484 * math/complex.h
24485 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
24486 New macro.
24487 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
24488 Likewise.
24489 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
24490 Likewise.
24491 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24492 (CMPLXF32X): Likewise.
24493 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24494 (CMPLXF64X): Likewise.
24495 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24496 (CMPLXF128X): Likewise.
24497
24498 * math/math.h
24499 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
24500 (__MATH_EVAL_FMT2): Define to add 0.0f.
24501
24502 2017-10-31 Alan Modra <amodra@gmail.com>
24503
24504 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
24505 include sysdep.h.
24506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
24507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
24508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
24509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
24510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
24511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
24512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
24513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
24514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
24515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
24516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
24517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
24518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
24519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
24520 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
24521 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
24522 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
24523 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
24524 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
24525 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
24526 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
24527 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
24528 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
24529 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
24530 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24531 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
24532 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
24533 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
24534 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
24535 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
24536 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24537 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24538 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
24539 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
24540 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
24541 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
24542 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
24543 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
24544 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
24545 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24546 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
24547 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
24548 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
24549 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
24550 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
24551 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
24552 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
24553 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
24554 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24555 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24556 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
24557 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
24558 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
24559 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
24560 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24561 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24562 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24563 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24564 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24565 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24566 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24567 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24568 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24569 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24570 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24571 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24572 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24573 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24574 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24575
24576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24577 include sysdep.h and math_ldbl_opt.h.
24578
24579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24580 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24605
24606 2017-10-31 Alan Modra <amodra@gmail.com>
24607
24608 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24609 string/strncase_l.c, not string/strncase.c.
24610 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24611 (libc_hidden_def): Redefine.
24612
24613 2017-10-31 Alan Modra <amodra@gmail.com>
24614
24615 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24616 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24617 (__strcasecmp): Don't define.
24618
24619 2017-10-31 Alan Modra <amodra@gmail.com>
24620
24621 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24622 IS_IN (libc).
24623 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24624 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24625 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24626
24627 2017-10-31 Alan Modra <amodra@gmail.com>
24628
24629 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24630 USE_AS_STPNCPY.
24631
24632 2017-10-31 Alan Modra <amodra@gmail.com>
24633
24634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24635 Redefine only when SHARED.
24636
24637 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24638
24639 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24640 Include <bits/math-finite.h> with appropriate macros defined and
24641 undefined.
24642 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24643 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24644 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24645 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24646 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24647
24648 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24649 [!_Mlong_double_] (_Mlong_double_): Likewise.
24650 [!_Mfloat16_] (_Mfloat16_): Likewise.
24651 [!_Mfloat32_] (_Mfloat32_): Likewise.
24652 [!_Mfloat64_] (_Mfloat64_): Likewise.
24653 [!_Mfloat128_] (_Mfloat128_): Likewise.
24654 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24655 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24656 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24657 (_Mdouble_): Define without indirection through those macros.
24658 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24659 [!_Mfloat128_] (_Mfloat128_): Likewise.
24660 [_Mlong_double_] (_Mlong_double_): Likewise.
24661 (_Mdouble_): Define without indirection through those macros.
24662 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24663 not add -D_Mlong_double_=double.
24664 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24665 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24666
24667 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24668
24669 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24670
24671 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24672
24673 * sysdeps/x86/libc-start.c: Reformat.
24674
24675 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24676
24677 [BZ #22353]
24678 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24679 (1): Renamed to ...
24680 (L(Src0)): This.
24681 (L(Src1)): New.
24682 (L(Src2)): Likewise.
24683 (L(1)): Renamed to ...
24684 (L(Src3)): This.
24685
24686 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24687
24688 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24689 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24690 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24691 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24692 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24693 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24694 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24695 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24696 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24697 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24698 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24699 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24700 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24701 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24702 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24703 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24704 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24705 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24706 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24707 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24708 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24709 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24710 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24711 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24712 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24713 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24714 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24715 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24716 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24717 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24718 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24719 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24720 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24721 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24722 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24723 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24724 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24725 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24726 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24727 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24728 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24729 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24730 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24731 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24732 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24733 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24734 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24735 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24736 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24737 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24738 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24739 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24740 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24741 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24742 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24743 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24744 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24745 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24746 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24747 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24748 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24749 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24750 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24751 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24752 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24753 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24754
24755 2017-10-30 Florian Weimer <fweimer@redhat.com>
24756
24757 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24758 always defined.
24759 * io/tst-mkdirat.c (do_test): Likewise.
24760 * io/tst-mkfifoat.c (do_test): Likewise.
24761 * io/tst-mknodat.c (do_test): Likewise.
24762 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24763 * locale/programs/locale.c (select_dirs): Likewise.
24764 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24765 * posix/bug-glob2.c (my_readdir): Likewise.
24766 * posix/tst-dir.c (main): Likewise.
24767 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24768 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24769
24770 2017-10-30 Florian Weimer <fweimer@redhat.com>
24771
24772 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24773 just __USE_GNU.
24774
24775 2017-10-30 Florian Weimer <fweimer@redhat.com>
24776
24777 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24778 Convert to support/test-driver.c.
24779 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24780 New macro parameters.
24781 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24782 * posix/tst-gnuglob.c: New file.
24783 * posix/tst-gnuglob64.c: Likewise.
24784 * posix/Makefile (tests): Add tst-gnuglob64.
24785
24786 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
24787
24788 [BZ #19485]
24789 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24790 and use a better translation for March in “mon”.
24791 * localedata/locales/csb_PL: Use more ASCII to improve the
24792 readability of the source.
24793
24794 2017-10-30 Mike FABIAN <mfabian@redhat.com>
24795
24796 [BZ #13953]
24797 * localedata/locales/km_KH: Use ASCII as much
24798 as possible for better readability of the source and
24799 remove useless comments.
24800 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24801 was commented out and apparently wrong anyway because it was
24802 using Lao characters. If Buddhist era should be used
24803 for km_KH, a native speaker should write the correct formaat
24804 for Khmer.
24805 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24806 (According to CLDR, the first weekday for Cambodia is Sunday).
24807 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24808 (These were using Lao characters which must be wrong. If we get
24809 the correct data from a native speaker, we could add it back, until
24810 then it is better not to have name_mr and name_mrs at all than
24811 having it wrong).
24812
24813 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24814
24815 * locale/loadlocale.c: Correct size of
24816 _nl_value_type_LC_<category> arrays.
24817
24818 2017-10-27 Joseph Myers <joseph@codesourcery.com>
24819
24820 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24821 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24822 with appropriate macros defined and undefined.
24823 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24824 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24825 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24826 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24827 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24828
24829 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24830
24831 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24832 "-O2 -march=i586".
24833
24834 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24835
24836 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24837 with lowercase letters to make it agree with CLDR.
24838
24839 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24840
24841 [BZ #15260]
24842 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24843 first letters of yesstr and nostr in yesexpr and noexpr,
24844 not for the full words.
24845 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24846 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24847 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24848 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24849 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24850 first letters of yesstr and nostr in yesexpr and noexpr,
24851 until now only English was matched in yesexpr and noexpr.
24852 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24853 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24854 fil but not for tl. As tl and fil are very similar, using fil
24855 is probably better than using English.
24856
24857 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
24858
24859 [BZ #21706]
24860 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24861 in yesstr and nostr.
24862
24863 2017-10-26 Joseph Myers <joseph@codesourcery.com>
24864
24865 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24866 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24867 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24868 Likewise.
24869 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24870 Likewise.
24871 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24872 Likewise.
24873 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24874 Likewise.
24875 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24876 (SNANF128X): Likewise.
24877
24878 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24879 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24880 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24881 (HUGE_VAL_F32): Likewise.
24882 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24883 (HUGE_VAL_F64): Likewise.
24884 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24885 (HUGE_VAL_F32X): Likewise.
24886 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24887 (HUGE_VAL_F64X): Likewise.
24888 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24889 (HUGE_VAL_F128X): Likewise.
24890
24891 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24892
24893 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24894 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24895 for the br_FR locale.
24896
24897 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24898
24899 [BZ #21706]
24900 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24901
24902 2017-10-25 Carlos O'Donell <carlos@redhat.com>
24903
24904 * locale/programs/record-status.h: Define globals, and function
24905 prototypes. Move function bodies...
24906 * locale/programs/record-status.c: ... to here. New file.
24907 * iconv/Makefile (iconv_prog-modules): Add record-status.
24908 * locale/Makefile (lib-modules): Likewise.
24909 * iconv/iconv_prog.c: Remove verbose.
24910 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24911 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24912 record a warning about ASCII compatibility.
24913 * locale/programs/ld-monetary.c (monetary_finish): If
24914 warn_int_curr_symbol is true then record a warning about the symbol
24915 not being in our ISO 4217 list.
24916 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24917 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24918 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24919 (OPT_NO_WARN): Define.
24920 (OPT_WARN): Define.
24921 (options): Add entry for --no-warnings, and --warnings.
24922 (set_warnings): New function to enable/disable warnings.
24923 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24924 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24925 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24926 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24927 Pass flags to generate_locale.
24928 (generate_locale): Accept new flag argument and pass it to localedef
24929 invocation.
24930 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24931 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24932
24933 * localedata/Makefile (test-input-data): Use full file name.
24934 * localedata/da_DK.in: Rename to...
24935 * localedata/da_DK.ISO-8859-1.in: ...this.
24936 * localedata/de_DE.in: Rename to...
24937 * localedata/de_DE.ISO-8859-1.in: ...this.
24938 * localedata/en_US.in: Rename to...
24939 * localedata/en_US.ISO-8859-1.in: ...this.
24940 * localedata/fr_FR.in: Rename to...
24941 * localedata/fr_FR.UTF-8.in: ... this.
24942 * localedata/hr_HR.in: Rename to...
24943 * localedata/hr_HR.ISO-8859-2.in: ...this.
24944 * localedata/hu_HU.in: Rename to...
24945 * localedata/hu_HU.UTF-8.in: ...this.
24946 * localedata/si_LK.in: Rename to...
24947 * localedata/si_LK.UTF-8.in: ...this.
24948 * localedata/sv_SE.in: Rename to...
24949 * localedata/sv_SE.ISO-8859-1.in: ...this.
24950 * localedata/tr_TR.in: Rename to...
24951 * localedata/tr_TR.UTF-8.in: ...this.
24952 * localedata/uk_UA.in: Rename to...
24953 * localedata/uk_UA.UTF-8.in: ...this.
24954 * localedata/sort-test.sh: Test file is locale name with the
24955 suffix.
24956
24957 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24958 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24959 file.
24960 * localedata/locales/i18n_ctype: Regenerate.
24961 * localedata/locales/tr_TR: Likewise.
24962 * localedata/locales/translit_circle: Likewise.
24963 * localedata/locales/translit_cjk_compat: Likewise.
24964 * localedata/locales/translit_combining: Likewise.
24965 * localedata/locales/translit_compat: Likewise.
24966 * localedata/locales/translit_font: Likewise.
24967 * localedata/locales/translit_fraction: Likewise.
24968
24969 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24970
24971 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24972 lxvd2x/stxvd2x with lvx/stvx.
24973 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
24974
24975 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
24976
24977 * include/alloc_buffer.h: Replace "if if " with "if " in
24978 comments.
24979 * sysdeps/mips/memcpy.S: Likkewise.
24980 * sysdeps/mips/memset.S: Likewise.
24981 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
24982 Likewise.
24983 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
24984 Likewise.
24985 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
24986 Likewise.
24987
24988 2017-10-25 Mike FABIAN <mfabian@redhat.com>
24989
24990 [BZ #15261]
24991 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
24992 yesexpr and noexpr.
24993 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
24994 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
24995 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
24996 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
24997 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
24998 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
24999 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25000
25001 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25002
25003 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25004 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25005 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25006 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25007 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25008 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25009 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25010 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25011 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25012 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25013 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25014 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25015
25016 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25017
25018 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25019 as possible for better readability of the source.
25020 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25021 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25022 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25023 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25024 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25025 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25026 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25027 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25028 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25029 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25030 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25031 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25032 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25033 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25034 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25035 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25036 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25037 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25038 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25039 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25040 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25041 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25042 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25043 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25044 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25045 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25046 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25047 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25048 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25049 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25050 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25051 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25052 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25053 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25054 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25055 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25056 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25057 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25058 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25059 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25060 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25061 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25062 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25063 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
25064 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
25065 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
25066 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
25067 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
25068 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
25069 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
25070 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
25071 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
25072 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
25073 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25074 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25075 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
25076 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
25077 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25078 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
25079 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
25080 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
25081 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
25082 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
25083 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
25084 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
25085 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
25086 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
25087 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
25088 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
25089 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
25090 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
25091 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
25092 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
25093 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
25094 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25095 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
25096 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
25097 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
25098 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
25099 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
25100 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
25101 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
25102 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
25103 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25104 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
25105 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
25106 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
25107 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25108 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
25109 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
25110 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
25111 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
25112 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25113 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
25114 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
25115 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25116 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
25117 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25118 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
25119 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
25120 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
25121 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
25122 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
25123 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
25124 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
25125 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
25126 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
25127 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
25128 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
25129 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
25130 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
25131 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
25132 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25133 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
25134 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
25135 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
25136 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
25137 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
25138 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
25139 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
25140 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
25141 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
25142 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
25143 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
25144 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
25145 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25146 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25147 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25148 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25149 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25150 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25151 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25152 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25153 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25154 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25155 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25156 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25157 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25158 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25159 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25160 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25161 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25162 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25163 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25164 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25165 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25166 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25167 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25168 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25169 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25170 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25171 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25172 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25173 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25174 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25175 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25176 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25177 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25178 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25179 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25180 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25181 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25182 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25183 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25184 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25185 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25186 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25187 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25188 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25189 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25190 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25191 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25192 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25193 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25194
25195 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25196
25197 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25198 (Use first letters of yesstr and nostr correctly instead of using
25199 full words).
25200
25201 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25202
25203 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25204 (Use first letters of yesstr and nostr correctly).
25205
25206 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25207
25208 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25209 also check for the first characters of yesstr and nostr.
25210 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25211 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25212
25213 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25214
25215 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25216 also check for Chinese characters.
25217
25218 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25219
25220 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25221 match also for the contents of yesstr and nostr. As the first letter
25222 of yesstr and nostr is equal, checking only for the first letter
25223 is not enough.
25224
25225 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25226
25227 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25228 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25229
25230 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25231
25232 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25233 of main contributor.
25234
25235 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25236
25237 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25238 instead of using English.
25239
25240 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25241
25242 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25243 by including the first letters of nostr and yesexpr in the regexp.
25244 Also make it more readable by using ASCII where possible.
25245
25246 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25247
25248 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25249 the first letter of nostr in the regexp. It agrees with CLDR now.
25250 Also make it more readable by using ASCII where possible.
25251
25252 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25253
25254 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25255 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25256 these strings contain a U+17D6 (which somewhat looks like a colon)
25257 instead of a real colon to separate the full words for “yes”
25258 and “no” from the single letter responses.
25259
25260 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25261
25262 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25263 it agree with CLDR (include the first letter of yesstr).
25264 Also make it more readable by using ASCII where possible.
25265
25266 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25267
25268 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25269 and improve yesexpr and noexpr. The yesstr and nostr apparently
25270 came from CLDR. And CLDR has a bug there: these strings contain
25271 a U+0903 (which looks like a colon) instead of a real colon
25272 to separate the full words for “yes” and “no” from the single
25273 letter responses.
25274
25275 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25276
25277 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25278 letters of the full yesstr and nostr in yesexpr and noexpr.
25279
25280 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25281
25282 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25283 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25284 * localedata/locales/an_ES: Make source more readable by using ASCII
25285 where possible.
25286
25287 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25288
25289 [BZ #20952]
25290 * localedata/locales/yuw_PG: New file.
25291 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
25292 * locale/iso-639.def: Add Yau (Uruwa).
25293
25294 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25295
25296 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
25297
25298 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25299
25300 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25301 (__libc_realloc): Likewise.
25302 (_mid_memalign): Likewise.
25303 (__libc_calloc): Likewise.
25304
25305 2017-10-23 Mike FABIAN <mfabian@redhat.com>
25306
25307 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
25308 by adding the generic +1 and -0 as in all other locales.
25309 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
25310 day names and make it more readable by using ASCII where possible.
25311
25312 2017-10-24 Joseph Myers <joseph@codesourcery.com>
25313
25314 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
25315 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
25316
25317 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25318
25319 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
25320 WNOHANG in waitpid call.
25321
25322 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
25323
25324 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
25325 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
25326
25327 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
25328 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25329 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
25330 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
25331 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
25332 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
25333 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
25334 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
25335 variables.
25336
25337 2017-10-23 Michael Collison <michael.collison@arm.com>
25338
25339 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
25340 with __builtin_sqrt.
25341 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
25342 with __builtin_sqrtf.
25343 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
25344 with __builtin_ceil.
25345 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
25346 with __builtin_ceilf.
25347 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
25348 with __builtin_floor.
25349 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
25350 with __builtin_floorf.
25351 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
25352 with __builtin_fma.
25353 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
25354 with __builtin_fmaf.
25355 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
25356 with __builtin_fmax.
25357 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
25358 with __builtin_fmaxf.
25359 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
25360 with __builtin_fmin.
25361 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
25362 with __builtin_fminf.
25363 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
25364 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
25365 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
25366 with builtin_rint and conversion to int.
25367 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
25368 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
25369 with builtin_llround.
25370 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
25371 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
25372 with builtin_rint and conversion to long int.
25373 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
25374 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
25375 with builtin_lround.
25376 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
25377 with builtin_lroundf.
25378 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
25379 statements with __builtin_nearbyint.
25380 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
25381 statements with __builtin_nearbyintf.
25382 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
25383 with __builtin_rint.
25384 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
25385 with __builtin_rintf.
25386 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
25387 with __builtin_round.
25388 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
25389 with __builtin_roundf.
25390 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
25391 with __builtin_trunc.
25392 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
25393 with __builtin_truncf.
25394 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
25395 and s_l[l]round[f].c too.
25396
25397 2017-10-23 Alan Modra <amodra@gmail.com>
25398
25399 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
25400 Adjust stack after restoring regs. Add missing LR cfi_restore.
25401
25402 2017-10-23 Alan Modra <amodra@gmail.com>
25403
25404 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
25405 Move LR save and frame setup/teardown and LR restore to
25406 immediately around memset call. Provide cfi.
25407
25408 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25409
25410 * sysdeps/i386/fpu/e_powf.S: Removed.
25411 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
25412 * sysdeps/i386/fpu/w_powf.c: Likewise.
25413 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
25414 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25415 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25416 Add e_powf-sse2.
25417 (CFLAGS-e_powf-sse2.c): New.
25418 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
25419 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
25420
25421 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25422
25423 * sysdeps/i386/fpu/e_log2f.S: Removed.
25424 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
25425 * sysdeps/i386/fpu/w_log2f.c: Likewise.
25426 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
25427 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25428 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25429 Add e_log2f-sse2.
25430 (CFLAGS-e_log2f-sse2.c): New.
25431 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
25432 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
25433
25434 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25435
25436 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25437 Add e_powf-fma.
25438 (CFLAGS-e_powf-fma.c): New.
25439 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
25440 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
25441
25442 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25443
25444 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25445 Add e_log2f-fma.
25446 (CFLAGS-e_log2f-fma.c): New.
25447 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
25448 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
25449
25450 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25451
25452 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25453 Add e_logf-fma.
25454 (CFLAGS-e_logf-fma.c): New.
25455 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
25456 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
25457
25458 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25459
25460 * sysdeps/i386/fpu/e_logf.S: Removed.
25461 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
25462 * sysdeps/i386/fpu/w_logf.c: Likewise.
25463 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
25464 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
25465 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25466 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25467 Add e_logf-sse2.
25468 (CFLAGS-e_logf-sse2.c): New.
25469 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
25470 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
25471
25472 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25473
25474 * sysdeps/i386/fpu/e_exp2f.S: Removed.
25475 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
25476 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
25477 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25478 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25479 Add e_exp2f-sse2.
25480 (CFLAGS-e_exp2f-sse2.c): New.
25481 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
25482 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
25483
25484 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25485
25486 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25487 Add e_exp2f-fma.
25488 (CFLAGS-e_exp2f-fma.c): New.
25489 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
25490 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
25491
25492 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25493
25494 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
25495 * sysdeps/i386/fpu/e_expf.S: Likewise.
25496 * sysdeps/i386/fpu/math_errf.c: Likewise.
25497 * sysdeps/i386/fpu/w_expf.c: Likewise.
25498 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
25499 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25500 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
25501 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
25502 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25503 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25504 Remove e_expf-ia32.
25505 (CFLAGS-e_expf-sse2.c): New.
25506 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
25507 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
25508
25509 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25510
25511 * sysdeps/x86_64/fpu/e_expf.S: Removed.
25512 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
25513 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
25514 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
25515 e_expf.c.
25516 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
25517 New.
25518 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
25519 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
25520 Renamed to ...
25521 (__redirect_expf): This.
25522 (SYMBOL_NAME): Changed to expf.
25523 (__ieee754_expf): Renamed to ...
25524 (__expf): This.
25525 (__GI___expf): This.
25526 (__ieee754_expf): Add strong_alias.
25527 (__expf_finite): Likewise.
25528 (__expf): New.
25529 Include <sysdeps/ieee754/flt-32/e_expf.c>.
25530
25531 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
25532
25533 [BZ #22332]
25534 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
25535 unescaping.
25536
25537 2017-10-21 Florian Weimer <fweimer@redhat.com>
25538
25539 * posix/Makefile (tests): Add tst-glob-tilde.
25540 (tests-special): Add tst-glob-tilde-mem.out
25541 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
25542 (tst-glob-tilde-mem.out): Add mtrace check.
25543 * posix/tst-glob-tilde.c: New file.
25544
25545 2017-10-20 Joseph Myers <joseph@codesourcery.com>
25546
25547 * bits/floatn-common.h: New file.
25548 * math/Makefile (headers): Add bits/floatn-common.h.
25549 * bits/floatn.h: Include <bits/floatn-common.h>.
25550 * sysdeps/ia64/bits/floatn.h: Likewise.
25551 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25552 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
25553 * sysdeps/powerpc/bits/floatn.h: Likewise.
25554 * sysdeps/x86/bits/floatn.h: Likewise.
25555
25556 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25557
25558 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
25559 indicates whether compiler emits an warning for alias for
25560 functions with incompatible types.
25561
25562 [BZ #22273]
25563 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25564 the auxiliary process is terminated by a signal before calling _exit
25565 or execve.
25566
25567 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25568
25569 [BZ #21265]
25570 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25571 New.
25572 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25573 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25574 and bit_arch_XSAVEC_Usable if needed.
25575 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25576 and bit_arch_Use_dl_runtime_resolve_opt.
25577 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25578 Removed.
25579 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25580 (bit_arch_Prefer_No_AVX512): Updated.
25581 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25582 (bit_arch_XSAVEC_Usable): New.
25583 (STATE_SAVE_OFFSET): Likewise.
25584 (STATE_SAVE_MASK): Likewise.
25585 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25586 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25587 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25588 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25589 (index_arch_XSAVEC_Usable): New.
25590 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25591 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25592 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25593 is enabled.
25594 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25595 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25596 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25597 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25598 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25599 _dl_runtime_resolve_xsavec.
25600 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25601 Removed.
25602 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25603 instead of VEC_SIZE.
25604 (REGISTER_SAVE_BND0): Removed.
25605 (REGISTER_SAVE_BND1): Likewise.
25606 (REGISTER_SAVE_BND3): Likewise.
25607 (REGISTER_SAVE_RAX): Always defined to 0.
25608 (VMOV): Removed.
25609 (_dl_runtime_resolve_avx): Likewise.
25610 (_dl_runtime_resolve_avx_slow): Likewise.
25611 (_dl_runtime_resolve_avx_opt): Likewise.
25612 (_dl_runtime_resolve_avx512): Likewise.
25613 (_dl_runtime_resolve_avx512_opt): Likewise.
25614 (_dl_runtime_resolve_sse): Likewise.
25615 (_dl_runtime_resolve_sse_vex): Likewise.
25616 (USE_FXSAVE): New.
25617 (_dl_runtime_resolve_fxsave): Likewise.
25618 (USE_XSAVE): Likewise.
25619 (_dl_runtime_resolve_xsave): Likewise.
25620 (USE_XSAVEC): Likewise.
25621 (_dl_runtime_resolve_xsavec): Likewise.
25622 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25623 Removed.
25624 (_dl_runtime_resolve_avx512_opt): Likewise.
25625 (_dl_runtime_resolve_avx): Likewise.
25626 (_dl_runtime_resolve_avx_opt): Likewise.
25627 (_dl_runtime_resolve_sse): Likewise.
25628 (_dl_runtime_resolve_sse_vex): Likewise.
25629 (_dl_runtime_resolve_fxsave): New.
25630 (_dl_runtime_resolve_xsave): Likewise.
25631 (_dl_runtime_resolve_xsavec): Likewise.
25632
25633 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
25634
25635 [BZ #22320]
25636 CVE-2017-15670
25637 * posix/glob.c (__glob): Fix one-byte overflow.
25638
25639 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25640
25641 * malloc/malloc.c (sysdep-cancel.h): Add include.
25642
25643 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25644
25645 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25646
25647 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25648
25649 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25650 (tests): Remove $(objpfx)ga_test depdendency.
25651 * resolv/ga_test.c: Remove file.
25652
25653 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25654
25655 [BZ #18812]
25656 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25657 * localedata/locales/kab_DZ: New file.
25658
25659 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25660
25661 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25662 _dl_relocate_static_pie instead of _dl_start to compute load
25663 address in static PIE.
25664
25665 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25666
25667 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25668
25669 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25670
25671 [BZ #13605]
25672 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25673 * localedata/locales/shn_MM: New file.
25674
25675 2017-10-20 Florian Weimer <fweimer@redhat.com>
25676
25677 [BZ #22321]
25678 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25679 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25680 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25681 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25682 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25683 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25684
25685 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25686
25687 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25688
25689 2017-10-19 Joseph Myers <joseph@codesourcery.com>
25690
25691 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25692
25693 [BZ #22322]
25694 * sysdeps/mips/bits/long-double.h: Move to ....
25695 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25696
25697 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25698
25699 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25700
25701 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
25702 H.J. Lu <hongjiu.lu@intel.com>
25703
25704 [BZ #22299]
25705 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25706 GLRO(dl_platform) to NULL.
25707 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25708 (modules-names): Add tst-platformmod-1 and
25709 x86_64/tst-platformmod-2.
25710 (CFLAGS-tst-platform-1.c): New.
25711 (CFLAGS-tst-platformmod-1.c): Likewise.
25712 (CFLAGS-tst-platformmod-2.c): Likewise.
25713 (LDFLAGS-tst-platformmod-2.so): Likewise.
25714 ($(objpfx)tst-platform-1): Likewise.
25715 ($(objpfx)tst-platform-1.out): Likewise.
25716 (tst-platform-1-ENV): Likewise.
25717 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25718 * sysdeps/x86_64/tst-platform-1.c: New file.
25719 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25720 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25721
25722 2017-10-19 Mike FABIAN <mfabian@redhat.com>
25723
25724 [BZ #13994]
25725 * locale/iso-639.def: Add Karbi.
25726 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25727 * localedata/locales/mjw_IN: New file.
25728
25729 2017-10-18 Joseph Myers <joseph@codesourcery.com>
25730
25731 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25732 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25733 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25734 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25735 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25736 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25737 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25738 <bits/floatn.h>.
25739 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25740 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25741 * manual/math.texi (Mathematics): Document additional architecture
25742 support for _Float128.
25743 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25744 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25745 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25746 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25747 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25748 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25749 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25750 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25751 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25752 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25753 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25754 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25755 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25756 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25757 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25758
25759 2017-10-18 Renlin Li <renlin.li@arm.com>
25760
25761 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25762 _DYNAMIC symbol to calculate load address.
25763
25764 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
25765
25766 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25767 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25768 summary bits.
25769 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25770 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25771
25772 2017-10-18 Mike FABIAN <mfabian@redhat.com>
25773
25774 [BZ #16777]
25775 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25776 and improve readability by using more ASCII.
25777 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25778 and improve readability by using more ASCII.
25779
25780 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25781
25782 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25783 not all targets support atomics on bool.
25784
25785 2017-10-17 Joseph Myers <joseph@codesourcery.com>
25786
25787 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25788 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25789 __f128.
25790 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25791 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25792 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25793 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25794 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25795 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25796
25797 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25798
25799 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25800 defines.
25801
25802 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25803
25804 [BZ #22159]
25805 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25806 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25807 (do_check_remalloced_chunk): Fix build bug.
25808 (do_check_malloc_state): Add assert that checks arena->top.
25809 (malloc_consolidate): Remove initialization.
25810 (int_mallinfo): Remove call to malloc_consolidate.
25811 (__libc_mallopt): Clarify why malloc_consolidate is needed.
25812
25813 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25814
25815 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25816 (have_fastchunks): Remove.
25817 (clear_fastchunks): Remove.
25818 (set_fastchunks): Remove.
25819 (malloc_state): Add have_fastchunks.
25820 (malloc_init_state): Use have_fastchunks.
25821 (do_check_malloc_state): Remove incorrect invariant checks.
25822 (_int_malloc): Use have_fastchunks.
25823 (_int_free): Likewise.
25824 (malloc_consolidate): Likewise.
25825
25826 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25827
25828 * malloc/malloc.c (tcache_put): Inline.
25829 (tcache_get): Inline.
25830
25831 2017-10-17 Jordi Mallach <jordi@gnu.org>
25832
25833 Aurelien Jarno <aurelien@aurel32.net>
25834 [BZ #2522]
25835 * localedata/locales/ca_ES@valencia: New file.
25836 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25837
25838 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25839
25840 [BZ #22296]
25841 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25842 < 6.x
25843
25844 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25845
25846 * scripts/build-many-glibcs.py (Context.add_all_configs):
25847 Add arm-linux-gnueabihf multiarch extra_glibcs.
25848
25849 * sysdeps/generic/ifunc-init.h: New file.
25850 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25851
25852 2017-10-17 Mike FABIAN <mfabian@redhat.com>
25853
25854 [BZ #22019]
25855 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25856 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25857 * stdlib/tst-strfmon_l.c: adapt test case.
25858
25859 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25860
25861 * sysdeps/generic/float128-abi.h: New file.
25862 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25863 non-__prefixed symbols to ....
25864 * math/Versions: ... here. Include <float128-abi.h>.
25865 * stdlib/Versions ... and here. Include <float128-abi.h>
25866
25867 2017-10-16 Florian Weimer <fweimer@redhat.com>
25868
25869 * version.h (VERSION): Switch to ".9000" as the development
25870 version suffix.
25871
25872 2017-10-16 Florian Weimer <fweimer@redhat.com>
25873
25874 [BZ #22050]
25875 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25876 compat_symbol_reference to access non-default version.
25877
25878 2017-10-16 Florian Weimer <fweimer@redhat.com>
25879
25880 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25881
25882 2017-10-16 Carlos O'Donell <carlos@redhat.com>
25883
25884 * include/shlib-compat.h (compat_symbol_reference): Update
25885 comment.
25886
25887 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25888
25889 * math/Makefile (test-types): Add
25890 $(type-float128-$(float128-alias-fcts)).
25891 * math/test-float128.h (TYPE_STR): Define conditional on
25892 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25893 (ULP_IDX): Likewise.
25894 (ULP_I_IDX): Likewise.
25895
25896 * stdlib/strtold.c: Include <bits/floatn.h>
25897 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25898 and later undefine as macro. Define as weak alias if
25899 [!USE_WIDE_CHAR].
25900 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25901 and later undefine as macro. Define as weak alias if
25902 [USE_WIDE_CHAR].
25903 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25904 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25905 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25906 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25907 Define and later undefine as macro. Define as weak alias if
25908 [USE_WIDE_CHAR].
25909 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25910 <bits/floatn.h>.
25911 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25912 Define and later undefine as macro. Define as weak alias if
25913 [!USE_WIDE_CHAR].
25914 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25915 Define and later undefine as macro. Define as weak alias if
25916 [USE_WIDE_CHAR].
25917
25918 2017-10-15 Carlos O'Donell <carlos@redhat.com>
25919
25920 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25921 record_verbose messages.
25922
25923 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25924
25925 [BZ #22052]
25926 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25927 to silence -O3 -Wall warning with GCC 7.
25928
25929 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25930
25931 * Makeconfig (+link-static-before-libc): Use the first of
25932 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25933 * gmon/Makefile (tests): Add tst-gmon-static.
25934 (tests-static): Likewise.
25935 (CFLAGS-tst-gmon-static.c): New.
25936 (CRT-tst-gmon-static): Likewise.
25937 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25938 (tst-gmon-static-ENV): Likewise.
25939 (tests-special): Likewise.
25940 ($(objpfx)tst-gmon-static.out): Likewise.
25941 (clean-tst-gmon-static-data): Likewise.
25942 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25943 * gmon/tst-gmon-static-gprof.sh: New file.
25944 * gmon/tst-gmon-static.c: Likewise.
25945
25946 2017-10-13 Carlos O'Donell <carlos@redhat.com>
25947
25948 [BZ #22295]
25949 * locale/programs/linereader.c (get_string): Don't warn on
25950 non-symbolic character.
25951
25952 [BZ #22294]
25953 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25954 int_curr_symbol.
25955
25956 [BZ #22292]
25957 * locale/programs/record-status.h: New file
25958 * locale/programs/locale.c: Add comment.
25959 * locale/programs/charmap-dir.c: Don't include error.h.
25960 (charmap_opendir): Use record_error.
25961 * locale/programs/charmap.c: Don't include error.h.
25962 (charmap_read): Use record_error, and record_warning.
25963 (parse_charmap): Likewise.
25964 * locale/programs/ld-address.c: Don't include error.h.
25965 (address_finish): Use record_error, and record_warning.
25966 * locale/programs/ld-collate.c: Don't include error.h.
25967 (collate_finish): Use record_error, and record_error_at_line.
25968 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25969 (ctype_class_new): Likewise.
25970 (ctype_map_new): Likewise.
25971 (set_one_default): Likewise.
25972 (set_class_defaults): Likewise.
25973 (translit_flatten): Likewise.
25974 (allocate_arrays): Use record_error, and record_verbose.
25975 * locale/programs/ld-identification.c: Don't include error.h.
25976 (indentation_finish): Use record_error and record_warning.
25977 * locale/programs/ld-measurement.c: Don't include error.h.
25978 (measurement_finish): Use record_error.
25979 * locale/programs/ld-messages.c
25980 (message_finish): Likewise.
25981 * locale/programs/ld-monetary.c
25982 (monetary_finish): Likewise.
25983 * locale/programs/ld-name.c (name_finish): Use record_error
25984 and record_warning.
25985 * locale/programs/ld-numeric.c
25986 (numeric_finish): Use record_error.
25987 * locale/programs/ld-paper.c: Don't include error.h.
25988 (paper_finish): Use record_error.
25989 * locale/programs/ld-telephone.c: Don't include error.h.
25990 (telephone_finish): Use record_error.
25991 * locale/programs/ld-time.c (time_finish): Likewise.
25992 * locale/programs/linereader.h (lr_error): Make inline func.
25993 * locale/programs/localedef.c: Define recorded_warning_count,
25994 and recorded_error_count.
25995 (main): Use record_error. Use recorded_error_count and
25996 recorded_warning_count to issue correct error returns.
25997 (add_to_readlist): Use record_error.
25998 (find_locale): Likewise.
25999 (load_locale): Likewise.
26000 * locale/programs/localedef.h: Remove be_quiet
26001 and WITH_CUR_LOCALE.
26002 * locale/programs/locarchive.c (compare_from_file): Use
26003 record_error.
26004 * locale/programs/locfile.c (write_locale_data): Use
26005 record_error.
26006 * locale/programs/repertoire.c: Dont include error.h.
26007 (repertoire_complain): Use record_error.
26008 * localedata/tst-fmon.sh: Expect failures from localedef.
26009 * localedata/tst-locale.sh: Likewise.
26010 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26011
26012 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26013 (REPORTS): Likewise.
26014 (check): Likewise.
26015 (i18n): Rename to...
26016 (i18n_ctype): ...this.
26017 (i18n-report): Rename to...
26018 (i18n_ctype-report): ...this.
26019 * localedata/locales/i18n_ctype: Regenerate.
26020 * localedata/locales/i18n: copy i18n_ctype.
26021
26022 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26023
26024 * stdlib/strfroml.c: Include <bits/floatn.h>.
26025 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26026 Define before include of <stdlib.h> and undefine afterwards, then
26027 define as weak alias.
26028
26029 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26030 Undefine and restore default definition. Use
26031 libm_alias_ldouble_other.
26032
26033 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26034
26035 [BZ #22153]
26036 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26037 in coredumps.
26038
26039 2017-10-13 James Clarke <jrtc27@jrtc27.com>
26040
26041 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26042 Assign sym_map to be map for local symbols, as TLS relocations
26043 use sym_map to determine whether the symbol is defined and to
26044 extract the TLS information.
26045 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26046 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26047
26048 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26049
26050 [BZ #22189]
26051 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26052 (math_force_eval): Add powerpc version.
26053
26054 [BZ #22142]
26055 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26056 -DBL_MAX.
26057 (do_test): Likewise.
26058 * stdio-common/tst-printf.sh: Likewise.
26059 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26060 ifdef clause in order to set the carry bit right. Replace r0 by
26061 0 without changing the behavior.
26062
26063 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26064
26065 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
26066 <libm-alias-ldouble.h>.
26067 (fabsl): Define using libm_alias_ldouble.
26068 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
26069 <libm-alias-ldouble.h>.
26070 (fabsl): Define using libm_alias_ldouble.
26071
26072 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
26073 Remove conditional code.
26074
26075 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
26076 Rename to __clog10_internal_l.
26077 (__clog10_internal_l): Define aliases using
26078 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
26079 with __clog10.
26080
26081 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26082
26083 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
26084 * benchtests/sincosf-inputs: New file.
26085 * benchtests/cosf-inputs: New file.
26086 * benchtests/sinf-inputs: New file.
26087
26088 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
26089
26090 * posix/tst-spawn.c (do_test): Wait for both children.
26091
26092 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
26093
26094 [BZ #22284]
26095 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
26096 tests-pie): Add tst-gmon-pie.
26097 (CFLAGS-tst-gmon-pie.c): New.
26098 (CRT-tst-gmon-pie): Likewise.
26099 (tst-gmon-pie-ENV): Likewise.
26100 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
26101 ($(objpfx)tst-gmon-pie.out): Likewise.
26102 (clean-tst-gmon-pie-data): Likewise.
26103 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
26104 * gmon/gmon.c [PIC]: Include <link.h>.
26105 [PIC] (callback): New function.
26106 (write_hist): Add an argument for load address. Subtract load
26107 address from PCs.
26108 (write_call_graph): Likewise.
26109 (write_gmon): Call __dl_iterate_phdr to get load address, pass
26110 it to write_hist and write_call_graph.
26111 * gmon/tst-gmon-pie.c: New file.
26112
26113 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26114
26115 * math/Makefile (test-types-basic): New variable.
26116 (test-types): Likewise.
26117 (libm-test-support): Use $(test-types) instead of $(types).
26118 (libm-tests-base-normal): Likewise.
26119 (libm-tests-base-finite): Likewise.
26120 (libm-tests-base-inline): Likewise.
26121 (generated): Likewise.
26122 ($(objpfx)libm-test-support-$(t).c): Likewise.
26123 (libm-tests-for-type iterator): Likewise.
26124 (libm-test-support iterator): Likewise.
26125 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
26126 (ulp_idx): Use ULP_IDX.
26127 * math/test-ldouble.h: Include <float.h>.
26128 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
26129 (ULP_IDX): New macro.
26130 (ULP_I_IDX): Likewise.
26131 * math/test-double.h (ULP_IDX): Likewise.
26132 (ULP_I_IDX): Likewise.
26133 * math/test-float.h (ULP_IDX): Likewise.
26134 (ULP_I_IDX): Likewise.
26135 * math/test-float128.h (ULP_IDX): Likewise.
26136 (ULP_I_IDX): Likewise.
26137
26138 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26139
26140 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
26141 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26142 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26143 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
26144 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26145 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26146 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26147 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26148 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26149 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26150 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26151 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26152 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26153 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26154 (SINGLE_THREAD_BY_GLOBAL): Define.
26155 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26156 Likewise.
26157 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26158 Likewise.
26159 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26160 Likewise.
26161 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26162 Likewise.
26163 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26164 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26165 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26166 Likewise.
26167
26168 2017-10-11 Andreas Schwab <schwab@suse.de>
26169
26170 * nis/Makefile (aux): Remove.
26171 * nscd/Makefile (aux): Add nscd_hash.
26172 (nscd-modules): Likewise.
26173 ($(objpfx)nscd): Don't depend on libnsl.
26174 * nscd/nscd_hash.c: New file.
26175 * nscd/nscd_hash.h: Likewise.
26176 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26177 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26178 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26179 instead of <nis/rpcsvc/nis.h>.
26180 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26181
26182 2017-10-11 Florian Weimer <fweimer@redhat.com>
26183
26184 [BZ #22078]
26185 Avoid large NSS buffers with many addresses, aliases.
26186 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26187 using dynarrays and struct alloc_buffer.
26188 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26189 (tst-nss-files-hosts-multi): Link with -ldl.
26190 * nss/tst-nss-files-hosts-multi.c: New file.
26191
26192 2017-10-11 Florian Weimer <fweimer@redhat.com>
26193
26194 [BZ #18023]
26195 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26196 scratch_buffer. Eliminate gotos.
26197
26198 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26199
26200 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26201 libm_alias_ldouble_other.
26202 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26203 undefine and redefine.
26204 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26205 (exp10l): Do not define here.
26206 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26207 (weak_alias): Undefine and redefine.
26208 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26209 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26210 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26211 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26212
26213 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26214 [!__fma] (fma): Define using libm_alias_double.
26215 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26216 [!__fmaf] (fmaf): Define using libm_alias_float.
26217 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26218 (fmal): Define using libm_alias_ldouble.
26219
26220 2017-10-10 Joseph Myers <joseph@codesourcery.com>
26221
26222 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26223 New macro.
26224 (libm_alias_double_other): Likewise.
26225 (libm_alias_double_r): Use libm_alias_double_other_r.
26226 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26227 New macro.
26228 (libm_alias_float_other): Likewise.
26229 (libm_alias_float_r): Use libm_alias_float_other_r.
26230 * sysdeps/generic/libm-alias-float128.h
26231 (libm_alias_float128_other_r): New macro.
26232 (libm_alias_float128_other): Likewise.
26233 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26234 * sysdeps/generic/libm-alias-ldouble.h
26235 (libm_alias_ldouble_other_r): New macro.
26236 (libm_alias_ldouble_other): Likewise.
26237 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26238 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26239 (libm_alias_double_other_r): New macro.
26240 (libm_alias_double_other): Likewise.
26241 (libm_alias_double_r): Use libm_alias_double_other_r.
26242 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26243 (libm_alias_ldouble_other_r): New macro.
26244 (libm_alias_ldouble_other): Likewise.
26245 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26246 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26247 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26248 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26249 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26250 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26251 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26252 * math/w_exp2f.c: Use libm_alias_float_other.
26253 * math/w_expf.c: Likewise.
26254 * math/w_log2f.c: Likewise.
26255 * math/w_logf.c: Likewise.
26256 * math/w_powf.c: Likewise.
26257 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26258 [!__exp2f]: Use libm_alias_float_other.
26259 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26260 [!__expf]: Use libm_alias_float_other.
26261 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26262 [!__log2f]: Use libm_alias_float_other.
26263 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26264 [!__logf]: Use libm_alias_float_other.
26265 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26266 [!__powf]: Use libm_alias_float_other.
26267
26268 2017-10-10 Florian Weimer <fweimer@redhat.com>
26269
26270 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26271 function.
26272 (_nss_files_gethostbyname3_r): Call it.
26273
26274 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26275
26276 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26277 error. Remove default definition of declare_mgen_alias.
26278 [!declare_mgen_alias_r]: Likewise.
26279 * sysdeps/generic/math-type-macros-double.h
26280 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26281 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26282 (declare_mgen_alias_r): Likewise.
26283 * sysdeps/generic/math-type-macros-float128.h
26284 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26285 * sysdeps/generic/math-type-macros-ldouble.h
26286 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26287 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
26288 macro.
26289 (declare_mgen_alias_r_s): Likewise.
26290 (declare_mgen_alias_r): Likewise.
26291 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
26292 (lgamma_r): Define using libm_alias_double_r.
26293 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
26294 (lgammaf_r): Define using libm_alias_float_r.
26295 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
26296 (lgammal_r): Define using libm_alias_ldouble_r.
26297 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26298 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26299
26300 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26301
26302 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26303 extern declaration.
26304
26305 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26306
26307 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
26308
26309 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
26310
26311 [BZ #21326]
26312 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
26313 [__cplusplus >= 201103] (__USE_ISOC99): Define.
26314 * math/Makefile (test-math-cxx11): New test.
26315 * math/test-math-cxx11.cc: New file.
26316
26317 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
26318
26319 * login/openpty.c (openpty): Close slave pty file descriptor on error.
26320
26321 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
26322 call to allocate the slave pty file descriptor.
26323
26324 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26325
26326 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
26327 [!__fma] (fma): Define using libm_alias_double.
26328 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
26329 [!__fma] (fma): Define using libm_alias_double.
26330
26331 * sysdeps/ieee754/float128/float128_private.h: Include
26332 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
26333 (libm_alias_ldouble_r): Undefine and redefine.
26334 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
26335 <libm-alias-ldouble.h>.
26336 (asinhl): Define using libm_alias_ldouble.
26337 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
26338 <libm-alias-ldouble.h>.
26339 (atanl): Define using libm_alias_ldouble.
26340 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
26341 <libm-alias-ldouble.h>.
26342 (cbrtl): Define using libm_alias_ldouble.
26343 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
26344 <libm-alias-ldouble.h>.
26345 (ceill): Define using libm_alias_ldouble.
26346 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
26347 <libm-alias-ldouble.h>.
26348 (copysignl): Define using libm_alias_ldouble.
26349 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
26350 <libm-alias-ldouble.h>.
26351 (cosl): Define using libm_alias_ldouble.
26352 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
26353 <libm-alias-ldouble.h>.
26354 (erfl): Define using libm_alias_ldouble.
26355 (erfcl): Likewise.
26356 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
26357 <libm-alias-ldouble.h>.
26358 (expm1l): Define using libm_alias_ldouble.
26359 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
26360 <libm-alias-ldouble.h>.
26361 (fabsl): Define using libm_alias_ldouble.
26362 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
26363 <libm-alias-ldouble.h>.
26364 (floorl): Define using libm_alias_ldouble.
26365 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
26366 <libm-alias-ldouble.h>.
26367 (fmal): Define using libm_alias_ldouble.
26368 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
26369 <libm-alias-ldouble.h>.
26370 (frexpl): Define using libm_alias_ldouble.
26371 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
26372 libm_alias_ldouble.
26373 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
26374 <libm-alias-ldouble.h>.
26375 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
26376 libm_alias_ldouble.
26377 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
26378 <libm-alias-ldouble.h>.
26379 (getpayloadl): Define using libm_alias_ldouble.
26380 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
26381 <libm-alias-ldouble.h>.
26382 (llrintl): Define using libm_alias_ldouble.
26383 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
26384 <libm-alias-ldouble.h>.
26385 (llroundl): Define using libm_alias_ldouble.
26386 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
26387 <libm-alias-ldouble.h>.
26388 (logbl): Define using libm_alias_ldouble.
26389 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
26390 <libm-alias-ldouble.h>.
26391 (lrintl): Define using libm_alias_ldouble.
26392 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
26393 <libm-alias-ldouble.h>.
26394 (lroundl): Define using libm_alias_ldouble.
26395 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
26396 <libm-alias-ldouble.h>.
26397 (modfl): Define using libm_alias_ldouble.
26398 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
26399 <libm-alias-ldouble.h>.
26400 (nearbyintl): Define using libm_alias_ldouble.
26401 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
26402 <libm-alias-ldouble.h>.
26403 (nextafterl): Define using libm_alias_ldouble.
26404 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
26405 <libm-alias-ldouble.h>.
26406 (nextupl): Define using libm_alias_ldouble.
26407 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
26408 <libm-alias-ldouble.h>.
26409 (remquol): Define using libm_alias_ldouble.
26410 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
26411 <libm-alias-ldouble.h>.
26412 (rintl): Define using libm_alias_ldouble.
26413 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
26414 <libm-alias-ldouble.h>.
26415 (roundevenl): Define using libm_alias_ldouble.
26416 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
26417 <libm-alias-ldouble.h>.
26418 (roundl): Define using libm_alias_ldouble.
26419 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
26420 using libm_alias_ldouble.
26421 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
26422 <libm-alias-ldouble.h>.
26423 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
26424 Define using libm_alias_ldouble.
26425 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
26426 <libm-alias-ldouble.h>.
26427 (sincosl): Define using libm_alias_ldouble.
26428 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
26429 <libm-alias-ldouble.h>.
26430 (sinl): Define using libm_alias_ldouble.
26431 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
26432 <libm-alias-ldouble.h>.
26433 (tanhl): Define using libm_alias_ldouble.
26434 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
26435 <libm-alias-ldouble.h>.
26436 (tanl): Define using libm_alias_ldouble.
26437 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
26438 <libm-alias-ldouble.h>.
26439 (totalorderl): Define using libm_alias_ldouble.
26440 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
26441 <libm-alias-ldouble.h>.
26442 (totalordermagl): Define using libm_alias_ldouble.
26443 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
26444 <libm-alias-ldouble.h>.
26445 (truncl): Define using libm_alias_ldouble.
26446 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
26447 libm_alias_ldouble.
26448 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
26449 libm_alias_ldouble.
26450 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
26451 <libm-alias-ldouble.h>.
26452 (weak_alias): Do not undefine and redefine.
26453 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26454 (copysignl): Define with long_double_symbol only if [IS_IN
26455 (libc)].
26456 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
26457 <libm-alias-ldouble.h>.
26458 (weak_alias): Do not undefine and redefine.
26459 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26460 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
26461 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
26462 <libm-alias-ldouble.h>.
26463 (weak_alias): Do not undefine and redefine.
26464 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26465 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
26466 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
26467 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
26468 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
26469 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
26470 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
26471 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
26472 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
26473 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
26474 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
26475 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
26476 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
26477 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
26478 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
26479 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
26480 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
26481 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
26482 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
26483 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
26484 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
26485 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
26486 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
26487 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
26488 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
26489 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
26490
26491 2017-10-06 Carlos O'Donell <carlos@redhat.com>
26492
26493 [BZ #22111]
26494 * malloc/malloc.c (tcache_shutting_down): Use bool type.
26495 (tcache_thread_freeres): Set tcache_shutting_down before
26496 freeing the tcache.
26497 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
26498 * malloc/tst-malloc-tcache-leak.c: New file.
26499
26500 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26501
26502 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
26503 back to powerpc32 file.
26504 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26505 (memrchr): Add __memrchr_power8 to ifunc list.
26506 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
26507 extra bytes for unaligned inputs.
26508
26509 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26510
26511 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
26512 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
26513 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
26514 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26515 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26516
26517 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26518
26519 * sysdeps/arm/libm-test-ulps: Update.
26520
26521 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
26522 <libm-alias-ldouble.h>.
26523 (asinhl): Define using libm_alias_ldouble.
26524 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
26525 <libm-alias-ldouble.h>.
26526 (cbrtl): Define using libm_alias_ldouble.
26527 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
26528 <libm-alias-ldouble.h>.
26529 (copysignl): Define using libm_alias_ldouble.
26530 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
26531 <libm-alias-ldouble.h>.
26532 (cosl): Define using libm_alias_ldouble.
26533 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
26534 <libm-alias-ldouble.h>.
26535 (erfl): Define using libm_alias_ldouble.
26536 (erfcl): Likewise.
26537 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
26538 <libm-alias-ldouble.h>.
26539 (fmal): Define using libm_alias_ldouble.
26540 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
26541 <libm-alias-ldouble.h>.
26542 (frexpl): Define using libm_alias_ldouble.
26543 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
26544 libm_alias_ldouble.
26545 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
26546 <libm-alias-ldouble.h>.
26547 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
26548 libm_alias_ldouble.
26549 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
26550 <libm-alias-ldouble.h>.
26551 (getpayloadl): Define using libm_alias_ldouble.
26552 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
26553 <libm-alias-ldouble.h>.
26554 (llrintl): Define using libm_alias_ldouble.
26555 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
26556 <libm-alias-ldouble.h>.
26557 (llroundl): Define using libm_alias_ldouble.
26558 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
26559 <libm-alias-ldouble.h>.
26560 (lrintl): Define using libm_alias_ldouble.
26561 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26562 <libm-alias-ldouble.h>.
26563 (lroundl): Define using libm_alias_ldouble.
26564 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26565 <libm-alias-ldouble.h>.
26566 (modfl): Define using libm_alias_ldouble.
26567 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26568 <libm-alias-ldouble.h>.
26569 (nextupl): Define using libm_alias_ldouble.
26570 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26571 <libm-alias-ldouble.h>.
26572 (remquol): Define using libm_alias_ldouble.
26573 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26574 <libm-alias-ldouble.h>.
26575 (roundevenl): Define using libm_alias_ldouble.
26576 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26577 <libm-alias-ldouble.h>.
26578 (roundl): Define using libm_alias_ldouble.
26579 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26580 using libm_alias_ldouble.
26581 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26582 <libm-alias-ldouble.h>.
26583 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26584 <libm-alias-ldouble.h>.
26585 (setpayloadsigl): Define using libm_alias_ldouble.
26586 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26587 <libm-alias-ldouble.h>.
26588 (sincosl): Define using libm_alias_ldouble.
26589 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26590 <libm-alias-ldouble.h>.
26591 (sinl): Define using libm_alias_ldouble.
26592 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26593 <libm-alias-ldouble.h>.
26594 (tanhl): Define using libm_alias_ldouble.
26595 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26596 <libm-alias-ldouble.h>.
26597 (tanl): Define using libm_alias_ldouble.
26598 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26599 <libm-alias-ldouble.h>.
26600 (totalorderl): Define using libm_alias_ldouble.
26601 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26602 <libm-alias-ldouble.h>.
26603 (totalordermagl): Define using libm_alias_ldouble.
26604 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26605 libm_alias_ldouble.
26606 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26607 libm_alias_ldouble.
26608
26609 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26610
26611 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26612 memmove_falkor.
26613 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26614 (__libc_ifunc_impl_list): Likewise.
26615 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26616 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26617
26618 * benchtests/bench-memmove-walk.c: New file.
26619 * benchtests/Makefile (string-benchset): Add it.
26620
26621 * benchtests/bench-memset-walk.c: New file.
26622 * benchtests/Makefile (string-benchset): Add it.
26623
26624 * benchtests/bench-memcpy-walk.c: New file.
26625 * benchtests/Makefile (string-benchset): Add it.
26626
26627 2017-10-05 Florian Weimer <fweimer@redhat.com>
26628
26629 nscd: Eliminate compilation time dependency in the build output.
26630 * nscd/nscd_stat.c (STATDATA_VERSION)
26631 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26632 (STATDATA_VERSION_FULL): New macro definitions.
26633 (compilation): Remove.
26634 (struct statdata): Adjust version member.
26635 (send_stats): Set version from STATDATA_VERSION_FULL.
26636 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26637
26638 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26639
26640 * configure.ac (--enable-add-ons): Remove option.
26641 (machine): Do not mention add-ons in comment.
26642 (LIBC_PRECONFIGURE): Likewise.
26643 (add_ons): Remove variable and sanity checks and logic to locate
26644 add-ons.
26645 (add_ons_automatic): Remove variable.
26646 (configured_add_ons): Likewise.
26647 (add_ons_sfx): Likewise.
26648 (add_ons_pfx): Likewise.
26649 (add_on_subdirs): Likewise.
26650 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26651 consideration of add-ons in Implies handling.
26652 (sysdeps_add_ons): Likewise.
26653 * configure: Regenerated.
26654 * libidn/configure.ac: Remove.
26655 * libidn/configure: Likewise.
26656 * sysdeps/unix/inet/configure.ac: New file.
26657 * sysdeps/unix/inet/configure: New generated file.
26658 * sysdeps/unix/inet/Subdirs: Add libidn.
26659 * Makeconfig (sysdeps-srcdirs): Remove variable.
26660 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26661 ($(common-objpfx)config.status): Do not depend on add-on files.
26662 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26663 comment.
26664 (all-subdirs): Do not include $(add-on-subdirs).
26665 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26666 * config.make.in (add-ons): Remove variable.
26667 (add-on-subdirs): Likewise.
26668 (sysdeps-add-ons): Likewise.
26669 * manual/Makefile (add-chapters): Remove.
26670 ($(objpfx)texis): Do not depend on $(add-chapters).
26671 (nonexamples): Do not handle $(add-chapters).
26672 (examples): Do not handle $(add-ons).
26673 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26674 libc-texinfo.sh.
26675 * manual/install.texi (Installation): Do not mention add-ons.
26676 (--enable-add-ons): Do not document configure option.
26677 * INSTALL: Regenerated.
26678 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26679 * manual/maint.texi (Hierarchy Conventions): Do not mention
26680 add-ons.
26681 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26682 --enable-add-ons.
26683 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26684 add-ons.
26685 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26686 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26687
26688 2017-10-05 Andreas Schwab <schwab@suse.de>
26689
26690 [BZ #15142]
26691 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26692 (_IO_flush_all_lockp): Always lock list_all_lock.
26693 (_IO_flush_all_linebuffered): Likewise.
26694 (_IO_unbuffer_all): Likewise.
26695
26696 2017-10-05 Florian Weimer <fweimer@redhat.com>
26697
26698 [BZ #15436]
26699 Do not flush stdio streams on abort.
26700 * stdlib/abort.c (fflush): Remove macro definition.
26701 (abort): Remove stages related to stdio flushing.
26702
26703 2017-10-05 Florian Weimer <fweimer@redhat.com>
26704
26705 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26706
26707 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26708
26709 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26710
26711 2017-10-05 Florian Weimer <fweimer@redhat.com>
26712
26713 * support/support_format_hostent.c (support_format_hostent): Add
26714 more error information for NETDB_INTERNAL.
26715
26716 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26717
26718 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26719 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26720 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26721 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26722 AC_DEFINE if multi-arch is enabled.
26723 * sysdeps/i386/configure: Regenerated.
26724
26725 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26726
26727 * Makeconfig (+link-static-before-libc): Use
26728 $(DEFAULT-LDFLAGS-$(@F)).
26729 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26730 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26731 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26732
26733 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26734
26735 * elf/Makefile (tests): Add tst-main1.
26736 (modules-names): Add tst-main1mod.
26737 ($(objpfx)tst-main1): New.
26738 (CRT-tst-main1): Likewise.
26739 (LDFLAGS-tst-main1): Likewise.
26740 (LDLIBS-tst-main1): Likewise.
26741 (tst-main1mod.so-no-z-defs): Likewise.
26742 * elf/tst-main1.c: New file.
26743 * elf/tst-main1mod.c: Likewise.
26744
26745 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26746
26747 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26748
26749 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26750
26751 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26752 (fma): Define using libm_alias_double.
26753 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26754 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26755 <math_ldbl_opt.h>.
26756 (fmal): Do not define as compat symbol here.
26757 * sysdeps/alpha/fpu/s_fma.c: New file.
26758
26759 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26760
26761 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26762
26763 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26764
26765 [BZ #22229]
26766 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26767 <math_ldbl_opt.h>
26768 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26769 and libc.
26770 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26771 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26772 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26773 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26775 Include <math_ldbl_opt.h>
26776 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26777 and libc.
26778 (compat_symbol): Undefine and redefine.
26779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26780 <math_ldbl_opt.h>
26781 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26782 (compat_symbol): Undefine and redefine.
26783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26784 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26785 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26786 GLIBC_2_1 for libm.
26787 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26788 GLIBC_2.0 copysignl symbol.
26789 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26790 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26791
26792 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26793
26794 2017-10-04 Florian Weimer <fweimer@redhat.com>
26795
26796 * scripts/check-local-headers.sh: Ignore nspr4 header file
26797 directory in addition to nspr.
26798
26799 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
26800
26801 [BZ #17956]
26802 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26803 * configure: Regenerate.
26804 * crypt/Makefile (nss-cpp-flags): New variable.
26805 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26806 (CPPFLAGS-md5-crypt.c): Use it.
26807 * scripts/check-local-headers.sh: Ignore nspr header file
26808 directory.
26809
26810 2017-10-04 Andreas Schwab <schwab@suse.de>
26811
26812 * nis/Makefile (services): Remove compat.
26813 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26814 ($(objpfx)libnss_compat.so): Remove rule.
26815 * nis/Versions (libnss_compat): Remove.
26816 * nss/Makefile (services): Add compat.
26817 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26818 * nss/Versions (libnss_compat): Define.
26819 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26820 Don't include <rpc/types.h>. Replace bool_t by bool.
26821 * nss/nss_compat/compat-initgroups.c: Likewise.
26822 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26823 instead of <rpcsrv/ypclnt.h>.
26824 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26825 yp_get_default_domain.
26826 * nss/nss_compat/compat-pwd.c: Likewise.
26827 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26828 yp_get_default_domain.
26829 * nss/nss_compat/nisdomain.c: New file.
26830 * nss/nss_compat/nisdomain.h: Likewise.
26831
26832 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26833
26834 [BZ #22244]
26835 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26836 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26837
26838 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26839
26840 [BZ #22243]
26841 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26842 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26843
26844 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26845
26846 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26847 "movl main@GOTOFF(%ebx), %eax".
26848
26849 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26850
26851 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26852 allow undefined _DYNAMIC in PIE libc.a.
26853 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26854 Likewse.
26855
26856 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26857
26858 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26859 check _DYNAMIC.
26860
26861 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26862
26863 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26864 check _DYNAMIC.
26865
26866 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26867
26868 * math/test-math-iscanonical.cc (error): Replace bool with int.
26869
26870 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26871
26872 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26873 (modf): Define using libm_alias_double, only if [!__modf].
26874 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26875 <libm-alias-double.h>.
26876 (modf): Define using libm_alias_double, only if [!__modf].
26877 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26878 compat symbol here.
26879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26880 (weak_alias): Do not undefine and redefine.
26881 (strong_alias): Likewise.
26882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26883 (weak_alias): Likewise.
26884 (strong_alias): Likewise.
26885
26886 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26887 (logb): Define using libm_alias_double, only if [!__logb].
26888 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26889 <libm-alias-double.h>.
26890 (logb): Define using libm_alias_double, only if [!__logb].
26891 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26893 (weak_alias): Do not undefine and redefine.
26894 (strong_alias): Likewise.
26895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26896 (weak_alias): Likewise.
26897 (strong_alias): Likewise.
26898
26899 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26900
26901 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26902 Check SHARED instead PIC.
26903
26904 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26905
26906 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26907 [!__fmaf] (fmaf): Define using libm_alias_float.
26908
26909 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26910 (frexp): Define using libm_alias_double.
26911 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26912 <libm-alias-double.h>.
26913 (frexp): Define using libm_alias_double.
26914 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26915 compat symbol here.
26916
26917 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26918
26919 [BZ #22235]
26920 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26921 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26922 (CFLAGS-test-math-iscanonical.cc): New variable.
26923 * math/test-math-iscanonical.cc: New file.
26924 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26925 Provide a C++ implementation based on function overloading,
26926 rather than using __MATH_TG, which uses C-only builtins.
26927 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26928 Likewise.
26929 * sysdeps/powerpc/powerpc64le/Makefile
26930 (CFLAGS-test-math-iscanonical.cc): New variable.
26931
26932 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26933
26934 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26935 (ceil): Define using libm_alias_double.
26936 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26937 (floor): Define using libm_alias_double.
26938 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26939 <libm-alias-double.h>.
26940 (llround): Define using libm_alias_double.
26941 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26942 <libm-alias-double.h>.
26943 (lround): Define using libm_alias_double.
26944 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26945 <libm-alias-double.h>.
26946 (nearbyint): Define using libm_alias_double.
26947 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26948 <libm-alias-double.h>.
26949 (remquo): Define using libm_alias_double.
26950 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26951 (rint): Define using libm_alias_double.
26952 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26953 (round): Define using libm_alias_double.
26954 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26955 (trunc): Define using libm_alias_double.
26956 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26957 <libm-alias-double.h>.
26958 (ceil): Define using libm_alias_double.
26959 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26960 <libm-alias-double.h>.
26961 (floor): Define using libm_alias_double.
26962 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26963 <libm-alias-double.h>.
26964 (llround): Define using libm_alias_double.
26965 [_LP64] (lround): Likewise.
26966 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26967 <libm-alias-double.h>.
26968 [!_LP64] (lround): Define using libm_alias_double.
26969 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26970 <libm-alias-double.h>.
26971 (nearbyint): Define using libm_alias_double.
26972 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
26973 <libm-alias-double.h>.
26974 (remquo): Define using libm_alias_double.
26975 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
26976 <libm-alias-double.h>.
26977 (rint): Define using libm_alias_double.
26978 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
26979 <libm-alias-double.h>.
26980 (round): Define using libm_alias_double.
26981 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
26982 <libm-alias-double.h>.
26983 (trunc): Define using libm_alias_double.
26984 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
26985 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
26986 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
26987 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
26988 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
26989 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
26990 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
26991 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
26992 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
26993
26994 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26995
26996 * math/w_remainder.c: New file.
26997 * math/w_remainderf.c: New file.
26998 * math/w_remainderl.c: New file.
26999
27000 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27001
27002 * elf/rtld.c (BOOTSTRAP_MAP): New.
27003 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27004 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27005 Likewise.
27006 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27007 Likewise.
27008 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27009 Likewise.
27010
27011 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27012
27013 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27014 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27015 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27016 rtld_hidden_data_ver): Define to empty.
27017 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27018 __assert_perror_fail): Likewise.
27019 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27020 (__rewinddir): Likewise.
27021 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27022 (__profile_frequency): Likewise.
27023 * include/setjmp.h (__sigsetjmp): Likewise.
27024 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27025 __libc_sigaction): Likewise.
27026 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27027 not set hidden attribute.
27028 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27029 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27030 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27031 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27032 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27033 __fxstatat64): Likewise.
27034 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27035 (__uname): Likewise.
27036 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27037 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27038 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27039 (NO_RTLD_HIDDEN): Set.
27040 * sysdeps/mach/hurd/configure: Refresh.
27041 * config.h.in: Refresh.
27042
27043 2017-10-02 Joseph Myers <joseph@codesourcery.com>
27044
27045 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27046 (atan): Define using libm_alias_double.
27047 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27048 (tan): Define using libm_alias_double.
27049 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27050 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27051
27052 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27053 define as weak alias of __atan. Do not define any aliases if
27054 [__atan].
27055 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27056 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27057 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27058 as weak alias of __tan. Do not define any aliases if [__tan].
27059 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27060 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27061 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27062 __atan.
27063 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
27064 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
27065 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
27066 and define as weak alias of __atan.
27067 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
27068 __atan.
27069 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
27070 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
27071 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
27072 define as weak alias of __tan.
27073
27074 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27075
27076 * math/w_lgamma.c: New file.
27077 * math/w_lgammaf.c: New file.
27078 * math/w_lgammal.c: New file.
27079
27080 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27081
27082 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
27083 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
27084 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
27085 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
27086 * sysdeps/ieee754/flt-32/w_logf.c: New file.
27087 * sysdeps/ieee754/flt-32/w_powf.c: New file.
27088 * sysdeps/i386/fpu/w_log2f.c: New file.
27089 * sysdeps/i386/fpu/w_logf.c: New file.
27090 * sysdeps/i386/fpu/w_powf.c: New file.
27091 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
27092 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
27093 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
27094
27095 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27096 H.J. Lu <hongjiu.lu@intel.com>
27097
27098 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
27099 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
27100 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
27101 * sysdeps/ieee754/flt-32/w_expf.c: New file.
27102 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
27103 the new expf code.
27104 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
27105 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
27106 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
27107 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
27108 * sysdeps/i386/fpu/w_exp2f.c: New file.
27109 * sysdeps/i386/fpu/w_expf.c: New file.
27110 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
27111 * sysdeps/x86_64/fpu/w_expf.c: New file.
27112
27113 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27114
27115 * math/Versions (logf): New libm symbol at GLIBC_2.27.
27116 (log2f): Likewise.
27117 (powf): Likewise.
27118 * math/w_log2f.c: New file.
27119 * math/w_logf.c: New file.
27120 * math/w_powf.c: New file.
27121 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
27122 * math/w_logf_compat.c (__logf_compat): Likewise.
27123 * math/w_powf_compat.c (__powf_compat): Likewise.
27124 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
27125 * sysdeps/ia64/fpu/e_logf.S: Likewise.
27126 * sysdeps/ia64/fpu/e_powf.S: Likewise.
27127 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27128 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27129 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27130 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27131 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27132 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27133 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27134 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27135 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27136 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27137 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27138 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27140 Likewise.
27141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27142 Likewise.
27143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27144 Likewise.
27145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27146 Likewise.
27147 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27148 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27149 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27150 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27151 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27153 Likewise.
27154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27155 Likewise.
27156 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27157 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27158 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27159
27160 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27161
27162 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27163 (sysdep_routines): Add memrchr_power8.
27164 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27165 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27166 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27167 New file.
27168 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27169 (memrchr): Add __memrchr_power8 to ifunc list.
27170 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27171
27172 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27173
27174 [BZ #18822]
27175 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27176 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27177 libc_hidden_def.
27178 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27179 (__posix_fallocate64_l64): Likewise.
27180
27181 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27182
27183 [BZ #18822]
27184 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27185 (__sched_setaffinity_new): Add libc_hidden_proto and
27186 libc_hidden_def.
27187
27188 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27189
27190 [BZ #18822]
27191 * include/glob.h (__glob64): Add libc_hidden_proto.
27192 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27193 libc_hidden_def.
27194
27195 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27196
27197 [BZ #18822]
27198 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27199 attribute_hidden.
27200
27201 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27202
27203 [BZ #18822]
27204 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27205
27206 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27207
27208 [BZ #18822]
27209 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27210 libc_hidden_def.
27211
27212 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27213
27214 [BZ #18822]
27215 * csu/version.c (__libc_print_version): Add attribute_hidden.
27216
27217 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27218
27219 [BZ #18822]
27220 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27221
27222 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27223
27224 [BZ #18822]
27225 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27226
27227 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27228
27229 [BZ #18822]
27230 * nscd/nscd_helper.c (__nis_hash): New prototype.
27231
27232 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27233
27234 [BZ #18822]
27235 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27236 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27237 libc_hidden_def.
27238 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27239 * termios/tcgetattr.c (__tcgetattr): Likewise.
27240
27241 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27242
27243 [BZ #18822]
27244 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27245 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27246 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27247 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27248 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27249
27250 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27251
27252 [BZ #18822]
27253 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27254
27255 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27256
27257 [BZ #18822]
27258 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27259 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27260
27261 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27262
27263 [BZ #18822]
27264 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27265
27266 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27267
27268 [BZ #18822]
27269 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27270 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27271
27272 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27273
27274 [BZ #18822]
27275 * include/ifreq.h: New file.
27276 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27277 (__ifreq): Likewise.
27278 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27279 (__ifreq): Likewise.
27280
27281 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27282
27283 [BZ #18822]
27284 * include/idna.h: New file.
27285 * inet/getnameinfo.c: Include <idna.h> instead of
27286 <libidn/idna.h>.
27287 (__idna_to_unicode_lzlz): Removed.
27288 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
27289 <libidn/idna.h>.
27290 (__idna_to_ascii_lz): Removed.
27291 (__idna_to_unicode_lzlz): Likewise.
27292
27293 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27294
27295 [BZ #18822]
27296 * include/plural-exp.h: New file.
27297 * intl/plural-exp.c: Include <plural-exp.h> instead of
27298 "plural-exp.h".
27299
27300 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27301
27302 [BZ #18822]
27303 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27304 "getsourcefilter.h".
27305 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
27306 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
27307 "getsourcefilter.h".
27308 (__get_sol): Removed.
27309
27310 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27311
27312 [BZ #18822]
27313 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
27314 to ...
27315 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
27316
27317 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27318
27319 [BZ #18822]
27320 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
27321 attribute_hidden.
27322
27323 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27324
27325 [BZ #18822]
27326 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
27327
27328 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27329
27330 [BZ #18822]
27331 * include/search.h (__tdestroy): Add libc_hidden_proto.
27332 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
27333
27334 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27335
27336 [BZ #18822]
27337 * include/assert.h (__assert_fail_base): Add attribute_hidden.
27338
27339 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27340
27341 [BZ #18822]
27342 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
27343 attribute_hidden.
27344
27345 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27346
27347 [BZ #18822]
27348 * include/signal.h (__kill): Add libc_hidden_proto.
27349 (__sigblock): Likewise.
27350 (__sigprocmask): Likewise.
27351 (__sigaltstack): Likewise.
27352 * signal/kill.c (__kill): Add libc_hidden_def.
27353 * signal/sigblock.c (__sigblock): Likewise.
27354 * signal/sigprocmask.c (__sigprocmask): Likewise.
27355 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
27356 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27357 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27358 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27359 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
27360 Likewise.
27361 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27362 Likewise.
27363 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27364 (__sigprocmask): Likewise.
27365 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
27366 Likewise.
27367 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27368 (__sigprocmask): Likewise.
27369 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27370 Likewise.
27371
27372 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27373
27374 [BZ #18822]
27375 * include/string.h (__strsep): Add libc_hidden_proto.
27376 * string/strsep.c (__strsep): Add libc_hidden_def.
27377
27378 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27379
27380 [BZ #18822]
27381 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
27382 attribute_hidden.
27383 (__spawni): Likewise.
27384
27385 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27386
27387 [BZ #18822]
27388 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
27389 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
27390 libc_hidden_def.
27391
27392 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27393
27394 [BZ #18822]
27395 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
27396
27397 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27398
27399 [BZ #18822]
27400 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
27401 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
27402 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
27403 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
27404 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
27405 Likewise.
27406 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
27407 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
27408
27409 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27410
27411 [BZ #18822]
27412 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
27413 (__dcigettext): Likewise.
27414
27415 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27416
27417 [BZ #18822]
27418 * include/sys/sysinfo.h (__get_nprocs_conf): Add
27419 libc_hidden_proto.
27420 (__get_nprocs): Likewise.
27421 (__get_phys_pages): Likewise.
27422 (__get_avphys_pages): Likewise.
27423 (__get_child_max): Add attribute_hidden.
27424 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
27425 (__get_nprocs): Likewise.
27426 (__get_phys_pages): Likewise.
27427 (__get_avphys_pages): Likewise.
27428 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
27429 libc_hidden_def.
27430 (__get_nprocs): Likewise.
27431 (__get_phys_pages): Likewise.
27432 (__get_avphys_pages): Likewise.
27433 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
27434 libc_hidden_def.
27435 (__get_nprocs_conf): Likewise.
27436 (__get_phys_pages): Likewise.
27437 (__get_avphys_pages): Likewise.
27438
27439 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27440
27441 [BZ #18822]
27442 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
27443 attribute_hidden.
27444 (__netlink_close): Likewise.
27445 (__netlink_free_handle): Likewise.
27446 (__netlink_request): Likewise.
27447
27448 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27449
27450 [BZ #18822]
27451 * include/rpc/rpc.h (__rpc_thread_variables): Add
27452 attribute_hidden.
27453 (__rpc_thread_svc_cleanup): Likewise.
27454 (__rpc_thread_clnt_cleanup): Likewise.
27455 (__rpc_thread_key_cleanup): Likewise.
27456
27457 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27458
27459 [BZ #18822]
27460 * include/sys/uio.h (__readv): Add libc_hidden_proto.
27461 (__writev): Likewise.
27462 * misc/readv.c (__readv): Add libc_hidden_def.
27463 * misc/writev.c (__writev): Likewise.
27464 * sysdeps/posix/readv.c (__readv): Likewise.
27465 * sysdeps/posix/writev.c (__writev): Likewise.
27466 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
27467 (__readv): Likewise.
27468 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
27469 (__writev): Likewise.
27470
27471 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27472
27473 [BZ #18822]
27474 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
27475 (__regcomp): Add libc_hidden_proto.
27476 (__regexec): Likewise.
27477 (__regfree): Likewise.
27478 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
27479 (__regfree): Likewise.
27480 * posix/regexec.c (__regexec): Likewise.
27481
27482 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27483
27484 [BZ #18822]
27485 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
27486 (__getutent): Likewise.
27487 (__getutid): Likewise.
27488 (__getutline): Likewise.
27489 (__pututline): Likewise.
27490 (__getutent_r): Likewise.
27491 (__getutid_r): Likewise.
27492 (__getutline_r): Likewise.
27493 (__utmpname): Add attribute_hidden.
27494 (__setutent): Likewise.
27495 (__endutent): Likewise.
27496 * login/getutent.c (__getutent): Add libc_hidden_def.
27497 * login/getutent_r.c (__getutent_r): Likewise.
27498 (__pututline): Likewise.
27499 * login/getutid.c (__getutid): Likewise.
27500 * login/getutid_r.c (__getutid_r): Likewise.
27501 * login/getutline.c (__getutline): Likewise.
27502 * login/getutline_r.c (__getutline_r): Likewise.
27503 * login/updwtmp.c (__updwtmp): Likewise.
27504
27505 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27506
27507 [BZ #18822]
27508 * include/dirent.h (__opendir): Always add attribute_hidden.
27509 (__fdopendir): Likewise.
27510 (__closedir): Likewise.
27511 (__readdir): Likewise.
27512 (__readdir64): Add libc_hidden_proto.
27513 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
27514 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
27515 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
27516 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
27517 New alias.
27518
27519 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27520
27521 [BZ #18822]
27522 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
27523 * include/netdb.h (__gethostbyaddr_r): Likewise.
27524 (__gethostbyname_r): Likewise.
27525 (__gethostbyname2_r): Likewise.
27526 (__getnetbyaddr_r): Likewise.
27527 (__getnetbyname_r): Likewise.
27528 (__getservbyname_r): Likewise.
27529 (__getservbyport_r): Likewise.
27530 (__getprotobyname_r): Likewise.
27531 (__getprotobynumber_r): Likewise.
27532 (__getnetgrent_r): Likewise.
27533 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
27534 (__getrpcbynumber_r): Likewise.
27535 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
27536
27537 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27538
27539 [BZ #18822]
27540 * include/stdio.h (__fcloseall): Add attribute_hidden.
27541 (__getline): Likewise.
27542 (__path_search): Likewise.
27543 (__gen_tempname): Likewise.
27544 (__libc_message): Likewise.
27545 (__flockfile): Likewise.
27546 (__funlockfile): Likewise.
27547 (__fxprintf): Likewise.
27548 (__fxprintf_nocancel): Likewise.
27549
27550 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27551
27552 [BZ #18822]
27553 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
27554 (__sgetsgent_r): Likewise.
27555
27556 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27557
27558 [BZ #18822]
27559 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
27560 (__statfs64): Likewise.
27561 (__fstatfs64): Likewise.
27562 * include/sys/statvfs.h (__statvfs64): Likewise.
27563 (__fstatvfs64): Likewise.
27564 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27565 (__statfs_filesize_max): Likewise.
27566 (__statfs_symlinks): Likewise.
27567 (__statfs_chown_restricted): Likewise.
27568
27569 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27570
27571 [BZ #18822]
27572 * include/time.h (__tzstring): Add attribute_hidden.
27573 (__tzfile_read): Likewise.
27574 (__tzfile_compute): Likewise.
27575 (__tzfile_default): Likewise.
27576 (__tzset_parse_tz): Likewise.
27577 (__offtime): Likewise.
27578 (__asctime_r): Likewise.
27579 (__tzset): Likewise.
27580 (__tz_convert): Likewise.
27581 (__getdate_r): Likewise.
27582 (__getclktck): Likewise.
27583
27584 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27585
27586 [BZ #18822]
27587 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27588 (__nscd_unmap): Likewise.
27589 (__nscd_cache_search): Likewise.
27590 (__nscd_get_nl_timestamp): Likewise.
27591 (__nscd_getpwnam_r): Likewise.
27592 (__nscd_getpwuid_r): Likewise.
27593 (__nscd_getgrnam_r): Likewise.
27594 (__nscd_getgrgid_r): Likewise.
27595 (__nscd_gethostbyname_r): Likewise.
27596 (__nscd_gethostbyname2_r): Likewise.
27597 (__nscd_gethostbyaddr_r): Likewise.
27598 (__nscd_getai): Likewise.
27599 (__nscd_getgrouplist): Likewise.
27600 (__nscd_getservbyname_r): Likewise.
27601 (__nscd_getservbyport_r): Likewise.
27602 (__nscd_innetgr): Likewise.
27603 (__nscd_setnetgrent): Likewise.
27604
27605 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27606
27607 [BZ #18822]
27608 * include/gmp.h: Declare internal functions only if _ISOMAC is
27609 undefined.
27610 (__mpn_extract_double): Add attribute_hidden.
27611 (__mpn_extract_long_double): Likewise.
27612 (__mpn_extract_float128): Likewise.
27613 (__mpn_construct_float): Likewise.
27614 (__mpn_construct_double): Likewise.
27615 (__mpn_construct_long_double): Likewise.
27616 (__mpn_construct_float128): Likewise.
27617 (mpn_add_1): Likewise.
27618 (mpn_addmul_1): Likewise.
27619 (mpn_add_n): Likewise.
27620 (mpn_cmp): Likewise.
27621 (mpn_divrem): Likewise.
27622 (mpn_lshift): Likewise.
27623 (mpn_mul): Likewise.
27624 (mpn_mul_1): Likewise.
27625 (mpn_rshift): Likewise.
27626 (mpn_sub_1): Likewise.
27627 (mpn_submul_1): Likewise.
27628 (mpn_sub_n): Likewise.
27629
27630 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27631
27632 [BZ #18822]
27633 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27634 (__wcscat): Likewise.
27635 (__btowc): Likewise.
27636 (__wcrtomb): Likewise.
27637 (__mbsrtowcs): Likewise.
27638 (__wcsrtombs): Likewise.
27639 (__mbsnrtowcs): Likewise.
27640 (__wcsnrtombs): Likewise.
27641 (__wcsncpy): Likewise.
27642 (__wcpncpy): Likewise.
27643 (__wmemcpy): Likewise.
27644 (__wmempcpy): Likewise.
27645 (__wmemmove): Likewise.
27646 (__wcschrnul): Likewise.
27647 (__vfwscanf): Likewise.
27648 (__vswprintf): Likewise.
27649 (__fwprintf): Likewise.
27650 (__vfwprintf): Likewise.
27651
27652 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27653
27654 [BZ #18822]
27655 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27656 (__getgrgid_r): Likewise.
27657 (__getgrnam_r): Likewise.
27658 * include/pwd.h (__getpwuid_r): Likewise.
27659 (__getpwnam_r): Likewise.
27660 (__fgetpwent_r): Likewise.
27661 * include/shadow.h (__getspnam_r): Likewise.
27662 (__sgetspent_r): Likewise.
27663 (__fgetspent_r): Likewise.
27664
27665 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27666
27667 [BZ #18822]
27668 * include/unistd.h (__access): Add attribute_hidden.
27669 (__lseek64): Likewise.
27670 (__libc_pread64): Likewise.
27671 (__pipe2): Likewise.
27672 (__sleep): Likewise.
27673 (__chdir): Likewise.
27674 (__fchdir): Likewise.
27675 (__getcwd): Likewise.
27676 (__rmdir): Likewise.
27677 (__execvpe): Likewise.
27678 (__execve): Likewise.
27679 (__setsid): Likewise.
27680 (__getuid): Likewise.
27681 (__geteuid): Likewise.
27682 (__getgid): Likewise.
27683 (__getegid): Likewise.
27684 (__getgroups): Likewise.
27685 (__group_member): Likewise.
27686 (__ttyname_r): Likewise.
27687 (__isatty): Likewise.
27688 (__readlink): Likewise.
27689 (__unlink): Likewise.
27690 (__gethostname): Likewise.
27691 (__profil): Likewise.
27692 (__getdtablesize): Likewise.
27693 (__brk): Likewise.
27694 (__ftruncate): Likewise.
27695 (__ftruncate64): Likewise.
27696
27697 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27698
27699 [BZ #18822]
27700 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27701 * argp/argp-fs-xinl.c: Likewise.
27702 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27703 * argp/argp-parse.c: Include <argp.h>.
27704 * argp/argp-xinl.c: Likewise.
27705 * include/argp-fmtstream.h: New file.
27706 * include/argp.h (__argp_error): Add attribute_hidden.
27707 (__argp_failure): Likewise.
27708 (__argp_input): Likewise.
27709 (__argp_state_help): Likewise.
27710
27711 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27712
27713 [BZ #18822]
27714 * include/wchar.h (____wcstof_l_internal): New prototype.
27715 (____wcstod_l_internal): Likewise.
27716 (____wcstold_l_internal): Likewise.
27717 (____wcstol_l_internal): Likewise.
27718 (____wcstoul_l_internal): Likewise.
27719 (____wcstoll_l_internal): Likewise.
27720 (____wcstoull_l_internal): Likewise.
27721 (____wcstof128_l_internal): Likewise.
27722 * sysdeps/ieee754/float128/wcstof128.c
27723 (____wcstof128_l_internal): Removed.
27724 * sysdeps/ieee754/float128/wcstof128_l.c
27725 (____wcstof128_l_internal): Likewise.
27726 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27727 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27728 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27729 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27730 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27731 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27732 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27733 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27734 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27735 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27736
27737 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27738
27739 [BZ #18822]
27740 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27741 instead of <sys/statvfs.h>.
27742 (__internal_statvfs): Removed.
27743 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27744 instead of <sys/statvfs.h>.
27745 (__internal_statvfs64): Removed.
27746 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27747 "internal_statvfs.h" instead of <sys/statvfs.h>.
27748 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27749 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27750 instead of <sys/statvfs.h>.
27751 (__internal_statvfs): Removed.
27752 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27753 instead of <sys/statvfs.h>.
27754 (__internal_statvfs64): Removed.
27755
27756 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27757
27758 [BZ #18822]
27759 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27760 (__gconv_close): Likewise.
27761 (__gconv): Likewise.
27762 (__gconv_find_transform): Likewise.
27763 (__gconv_lookup_cache): Likewise.
27764 (__gconv_compare_alias_cache): Likewise.
27765 (__gconv_load_cache): Likewise.
27766 (__gconv_get_path): Likewise.
27767 (__gconv_close_transform): Likewise.
27768 (__gconv_release_cache): Likewise.
27769 (__gconv_find_shlib): Likewise.
27770 (__gconv_release_shlib): Likewise.
27771 (__gconv_get_builtin_trans): Likewise.
27772 (__gconv_compare_alias): Likewise.
27773 * include/dlfcn.h (_dlerror_run): Likewise.
27774 * include/stdio.h (__fortify_fail_abort): Likewise.
27775 * include/time.h (__tz_compute): Likewise.
27776 (__strptime_internal): Likewise.
27777 * intl/gettextP.h (_nl_find_domain): Likewise.
27778 (_nl_load_domain): Likewise.
27779 (_nl_find_msg): Likewise.
27780 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27781 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27782 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27783 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27784 (__gai_find_request): Likewise.
27785 (__gai_remove_request): Likewise.
27786 (__gai_notify): Likewise.
27787 (__gai_notify_only): Likewise.
27788 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27789 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27790 (_dl_non_dynamic_init): Likewise.
27791 (_dl_aux_init): Likewise.
27792 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27793 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27794 Likewise.
27795 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27796 (__wcsmbs_clone_conv): Likewise.
27797 (__wcsmbs_named_conv): Likewise.
27798
27799 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27800
27801 [BZ #18822]
27802 * include/stdlib.h (__random): Add attribute_hidden.
27803 (__random_r): Likewise.
27804 (__srandom_r): Likewise.
27805 (__initstate_r): Likewise.
27806 (__setstate_r): Likewise.
27807 (__erand48_r): Likewise.
27808 (__nrand48_r): Likewise.
27809 (__jrand48_r): Likewise.
27810 (__srand48_r): Likewise.
27811 (__seed48_r): Likewise.
27812 (__lcong48_r): Likewise.
27813 (__drand48_iterate): Likewise.
27814 (__setenv): Likewise.
27815 (__unsetenv): Likewise.
27816 (__clearenv): Likewise.
27817 (__ptsname_r): Likewise.
27818 (__posix_openpt): Likewise.
27819 (__add_to_environ): Likewise.
27820 (__realpath): Add libc_hidden_proto.
27821 (__ecvt_r): Likewise.
27822 (__fcvt_r): Likewise.
27823 (__qecvt_r): Likewise.
27824 (__qfcvt_r): Likewise.
27825 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27826 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27827
27828 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27829
27830 [BZ #18822]
27831 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27832 * include/time.h (__mktime_internal): Likewise.
27833 * libio/iolibio.h (__fopen_internal): Likewise.
27834
27835 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
27836
27837 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27838 pointer in frame.
27839 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27840 Correct offset used to restore PIC register.
27841
27842 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
27843
27844 [BZ libc/22165]
27845 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27846 code to load address of __getcontext_ret when generating PIC code.
27847
27848 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27849
27850 * elf/Makefile (tests-static-internal): Add
27851 tst-tls1-static-non-pie.
27852 (LDFLAGS-tst-tls1-static-non-pie): New.
27853 * elf/tst-tls1-static-non-pie.c: New file.
27854
27855 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27856
27857 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27858 (asinh): Define using libm_alias_double.
27859 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27860 (cbrt): Define using libm_alias_double.
27861 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27862 <libm-alias-double.h>.
27863 (copysign): Define using libm_alias_double.
27864 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27865 (erf): Define using libm_alias_double.
27866 (erfc): Likewise.
27867 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27868 (expm1): Define using libm_alias_double.
27869 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27870 (fabs): Define using libm_alias_double.
27871 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27872 libm_alias_double.
27873 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27874 <libm-alias-double.h>.
27875 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27876 libm_alias_double.
27877 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27878 <libm-alias-double.h>.
27879 (getpayload): Define using libm_alias_double.
27880 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27881 <libm-alias-double.h>.
27882 (llrint): Define using libm_alias_double.
27883 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27884 (lrint): Define using libm_alias_double.
27885 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27886 <libm-alias-double.h>.
27887 (nextup): Define using libm_alias_double.
27888 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27889 <libm-alias-double.h>.
27890 (roundeven): Define using libm_alias_double.
27891 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27892 libm_alias_double.
27893 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27894 <libm-alias-double.h>.
27895 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27896 using libm_alias_double.
27897 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27898 (cos): Define using libm_alias_double.
27899 (sin): Likewise.
27900 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27901 <libm-alias-double.h>.
27902 (sincos): Define using libm_alias_double.
27903 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27904 (tanh): Define using libm_alias_double.
27905 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27906 <libm-alias-double.h>.
27907 (totalorder): Define using libm_alias_double.
27908 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27909 <libm-alias-double.h>.
27910 (totalordermag): Define using libm_alias_double.
27911 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27912 libm_alias_double.
27913 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27914 libm_alias_double.
27915 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27916 <libm-alias-double.h>.
27917 (getpayload): Define using libm_alias_double.
27918 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27919 <libm-alias-double.h>.
27920 (roundeven): Define using libm_alias_double.
27921 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27922 <libm-alias-double.h>.
27923 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27924 <libm-alias-double.h>.
27925 (totalorder): Define using libm_alias_double.
27926 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27927 <libm-alias-double.h>.
27928 (totalordermag): Define using libm_alias_double.
27929 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27930 libc compat symbol here.
27931 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27932 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27933 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27934 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27935 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27936 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27937 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27938 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27939 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27940 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27941
27942 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27943
27944 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27945 _dl_relocate_static_pie instead of _dl_start to compute load
27946 address in static PIE. Return 0 if _DYNAMIC is undefined for
27947 static executable.
27948
27949 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27950
27951 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27952 _DYNAMIC is undefined for static executable.
27953
27954 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27955
27956 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27957
27958 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27959
27960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27961
27962 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27963
27964 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27965 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27966 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27967 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27968 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27969 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27970 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27971 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27972 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
27973 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27974 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
27975 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27976 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
27977 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
27978 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27979 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27980 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
27981
27982 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27983
27984 * math/bits/cmathcalls.h (cimag): Remove inline.
27985 (creal): Remove inline.
27986 (conj): Remove inline.
27987
27988 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27989
27990 * math/Makefile (type-float-routines): Add e_powf_log2_data.
27991 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
27992 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
27993 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
27994 (issignalingf_inline): Likewise.
27995 (POWF_LOG2_TABLE_BITS): Likewise.
27996 (POWF_LOG2_POLY_ORDER): Likewise.
27997 (POWF_SCALE_BITS): Likewise.
27998 (POWF_SCALE): Likewise.
27999 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28000 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28001 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28002
28003 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28004
28005 * math/Makefile (type-float-routines): Add e_log2f_data.
28006 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28007 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28008 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28009 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28010 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28011 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28012 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28013
28014 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28015
28016 * math/Makefile (type-float-routines): Add e_logf_data.
28017 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28018 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28019 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28020 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28021 * sysdeps/i386/fpu/e_logf_data.c: New file.
28022 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28023 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28024
28025 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28026
28027 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28028 undefined _DYNAMIC in PIE libc.a.
28029 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28030 Likewse.
28031
28032 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28033
28034 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28035 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28036 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28037 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28038 (__signbit): Remove.
28039 (__signbitl): Remove.
28040 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28041 (__signbit): Remove.
28042 (__signbitl): Remove.
28043 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28044 (__signbit): Remove.
28045 (__signbitl): Remove.
28046 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28047 (__signbit): Remove.
28048 (__signbitl): Remove.
28049 * sysdeps/tile/bits/mathinline.h: Delete file.
28050 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28051 (__signbit): Remove.
28052 (__signbitl): Remove.
28053
28054 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28055
28056 * math/math.h: Improve handling of C99 isgreater macros.
28057 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28058 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28059 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28060 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28061 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28062
28063 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
28064
28065 * sysdeps/aarch64/libm-test-ulps: Update.
28066
28067 2017-09-28 Joseph Myers <joseph@codesourcery.com>
28068
28069 [BZ #22225]
28070 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28071 math_opt_barrier on argument when doing arithmetic on it.
28072 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28073 Likewise. Use math_force_eval not math_opt_barrier after
28074 arithmetic.
28075 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
28076 math_opt_barrier on argument when doing arithmetic on it.
28077 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28078 Likewise.
28079
28080 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
28081
28082 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
28083 libc_hidden_def.
28084 (__freeifaddrs): Likewise.
28085
28086 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28087
28088 * include/dirent.h (__dirfd): New declaration.
28089 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
28090 alias.
28091 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
28092 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
28093 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
28094 * include/unistd.h (__revoke): New declaration.
28095 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
28096 alias.
28097 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28098 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
28099 revoke.
28100 * include/dirent.h (__seekdir): New declaration.
28101 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
28102 redefine as weak alias.
28103 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
28104 of seekdir.
28105 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
28106 and use libc_hidden_def on them.
28107 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
28108 them.
28109 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
28110 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
28111 instead of getifaddrs and freeifaddrs.
28112
28113 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28114
28115 [BZ #18822]
28116 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
28117 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
28118 (__dso_handle): Remove declaration.
28119 * dlfcn/tstatexit.c (__dso_handle): Removed.
28120 (main): Don't check __dso_handle.
28121 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
28122 (main): Don't check __dso_handle.
28123 * include/dso_handle.h: New file.
28124 * malloc/mtrace.c: Include <dso_handle.h>.
28125 (mtrace): Pass __dso_handle directly.
28126 * nptl/pthread_atfork.c: Include <dso_handle.h>.
28127 (__dso_handle): Remove declaration.
28128 (__pthread_atfork): Pass __dso_handle directly.
28129 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
28130 (__dso_handle): Removed.
28131 * posix/wordexp-test.c: Include <dso_handle.h>.
28132 (__dso_handle): Remove declaration.
28133 (__app_register_atfork): Pass __dso_handle directly.
28134 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
28135 (__dso_handle): Remove declaration.
28136 (at_quick_exit): Pass __dso_handle directly.
28137 * stdlib/atexit.c: Include <dso_handle.h>.
28138 (__dso_handle): Remove declaration.
28139 (atexit): Pass __dso_handle directly.
28140 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
28141 (__dso_handle): Removed.
28142
28143 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28144
28145 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28146 using VDSO.
28147
28148 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28149
28150 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28151 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28152 values to correct default value for given type.
28153
28154 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28155
28156 [BZ #22101]
28157 * elf/Makefile (tests): Add tst-debug1.
28158 ($(objpfx)tst-debug1): New.
28159 ($(objpfx)tst-debug1.out): Likewise.
28160 ($(objpfx)tst-debug1mod1.so): Likewise.
28161 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28162 with p_filesz == 0.
28163 * elf/tst-debug1.c: New file.
28164
28165 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28166
28167 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28168 Define using __ifunc.
28169
28170 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28171
28172 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28173 exp2f() values.
28174
28175 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28176
28177 [BZ #22156]
28178 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28179
28180 2017-09-26 Florian Weimer <fweimer@redhat.com>
28181
28182 * resolv/Makefile (tests-internal): Fix typo in comment.
28183
28184 2017-09-26 Florian Weimer <fweimer@redhat.com>
28185
28186 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28187
28188 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28189
28190 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28191 Use an union instead of a max_align_t array for __space,
28192 so that __space is the same size on all platforms.
28193 * malloc/scratch_buffer_grow_preserve.c
28194 (__libc_scratch_buffer_grow_preserve): Likewise.
28195
28196 [BZ #22183]
28197 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28198 version to 2.
28199 * posix/Makefile (routines): Add glob-lstat-compat and
28200 glob64-lstat-compat.
28201 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28202 * posix/glob-lstat-compat.c: New file.
28203 * posix/glob64-lstat-compat.c: Likewise.
28204 * posix/tst-glob_lstat_compat.c: Likewise.
28205 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28206 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28207 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28208 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28209 Likewise.
28210 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28211 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28212 * posix/glob.c (glob_lstat): New function.
28213 (glob): Rename to __glob and add versioned symbol to 2.27.
28214 (glob_in_dir): Use glob_lstat.
28215 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28216 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28217 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28218 2.27.
28219 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28220 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28221 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28222 gl_lstat on glob call.
28223 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28224 and glob64 symbols.
28225 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28226 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28227 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28228 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28229 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28230 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28231 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28232 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28233 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28234 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28235 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28236 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28238 Likewise.
28239 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28241 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28242 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28243 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28244 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28245 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28248 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28249 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28250 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28251
28252 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28253
28254 * configure.ac (AS): Require binutils 2.25 or later.
28255 * configure: Regenerated.
28256
28257 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28258
28259 [BZ #22207]
28260 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28261 VM size.
28262
28263 2017-09-25 DJ Delorie <dj@redhat.com>
28264
28265 [BZ #22161]
28266 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28267 resetting timeout.
28268
28269 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28270
28271 * sysdeps/ieee754/dbl-64/sincos32.h
28272 [SINCCOS32_H]: Remove define.
28273 [SINCOS32_H]: Define.
28274
28275 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28276
28277 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28278 (exp2f): Likewise.
28279 * math/w_exp2f.c: New file.
28280 * math/w_expf.c: New file.
28281 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28282 * math/w_expf_compat.c (__expf_compat): Likewise.
28283 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28284 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28285 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28286 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28287 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28288 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28289 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28290 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28291 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28292 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28293 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28294 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28295 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28296 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28298 Likewise.
28299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28300 Likewise.
28301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28302 Likewise.
28303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28304 Likewise.
28305 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28306 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28307 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28308 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28309 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28311 Likewise.
28312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28313 Likewise.
28314 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28315 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28316 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28317
28318 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28319
28320 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
28321 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
28322 (roundtoint, converttoint): Likewise.
28323 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
28324 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
28325 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
28326 * sysdeps/ieee754/flt-32/math_config.h: New file.
28327 * sysdeps/ieee754/flt-32/math_errf.c: New file.
28328 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
28329 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
28330 * sysdeps/i386/fpu/math_errf.c: New file.
28331 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
28332 * sysdeps/ia64/fpu/math_errf.c: New file.
28333 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
28334 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
28335
28336 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
28337
28338 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
28339 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
28340 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
28341 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
28342 to make sure that these symbols are defined.
28343 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
28344 of <limits.h>
28345 (__need_NULL): Do not define.
28346 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
28347 alignment.
28348 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
28349 CMGROUP_MAX, cmsgcred): Do not define.
28350 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
28351 NULL.
28352 * bits/socket.h: Likewise.
28353 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
28354 __gettimeofday instead of gettimeofday.
28355 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
28356 instead of settimeofday.
28357
28358 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28359
28360 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
28361 (asinhf): Define using libm_alias_float.
28362 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
28363 (atanf): Define using libm_alias_float.
28364 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
28365 (cbrtf): Define using libm_alias_float.
28366 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
28367 (ceilf): Define using libm_alias_float.
28368 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
28369 <libm-alias-float.h>.
28370 (copysignf): Define using libm_alias_float.
28371 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
28372 (cosf): Define using libm_alias_float.
28373 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
28374 (erff): Define using libm_alias_float.
28375 (erfcf): Likewise.
28376 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28377 (expm1f): Define using libm_alias_float.
28378 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
28379 (fabsf): Define using libm_alias_float.
28380 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
28381 (floorf): Define using libm_alias_float.
28382 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
28383 (frexpf): Define using libm_alias_float.
28384 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
28385 libm_alias_float.
28386 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
28387 <libm-alias-float.h>.
28388 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
28389 libm_alias_float.
28390 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
28391 <libm-alias-float.h>.
28392 (getpayloadf): Define using libm_alias_float.
28393 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
28394 <libm-alias-float.h>.
28395 (llrintf): Define using libm_alias_float.
28396 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
28397 <libm-alias-float.h>.
28398 (llroundf): Define using libm_alias_float.
28399 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
28400 (logbf): Define using libm_alias_float.
28401 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
28402 (lrintf): Define using libm_alias_float.
28403 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
28404 (lroundf): Define using libm_alias_float.
28405 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
28406 (modff): Define using libm_alias_float.
28407 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
28408 <libm-alias-float.h>.
28409 (nearbyintf): Define using libm_alias_float.
28410 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
28411 <libm-alias-float.h>.
28412 (nextafterf): Define using libm_alias_float.
28413 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
28414 <libm-alias-float.h>.
28415 (nextupf): Define using libm_alias_float.
28416 * sysdeps/ieee754/flt-32/s_remquof.c: Include
28417 <libm-alias-float.h>.
28418 (remquof): Define using libm_alias_float.
28419 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
28420 (rintf): Define using libm_alias_float.
28421 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
28422 <libm-alias-float.h>.
28423 (roundevenf): Define using libm_alias_float.
28424 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
28425 (roundf): Define using libm_alias_float.
28426 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
28427 using libm_alias_float.
28428 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
28429 <libm-alias-float.h>.
28430 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
28431 Define using libm_alias_float.
28432 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
28433 <libm-alias-float.h>.
28434 (sincosf): Define using libm_alias_float.
28435 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
28436 (sinf): Define using libm_alias_float.
28437 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
28438 (tanf): Define using libm_alias_float.
28439 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
28440 (tanhf): Define using libm_alias_float.
28441 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
28442 <libm-alias-float.h>.
28443 (totalorderf): Define using libm_alias_float.
28444 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
28445 <libm-alias-float.h>.
28446 (totalordermagf): Define using libm_alias_float.
28447 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
28448 (truncf): Define using libm_alias_float.
28449 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
28450 libm_alias_float.
28451 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
28452 libm_alias_float.
28453
28454 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28455
28456 [BZ #22146]
28457 math/math.h: Let fpclassify use the builtin in C++ mode, even
28458 when optimazing for size.
28459
28460 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28461
28462 * csu/Makefile (generated): Do not add version-info.h.
28463 (before-compile): Likewise.
28464 (all-Banner-files): Remove variable.
28465 ($(objpfx)version-info.h): Remove rule.
28466 * csu/version.c (banner): Do not include "version-info.h".
28467 * libidn/Banner: Remove.
28468 * manual/contrib.texi (Simon Josefsson): New entry.
28469
28470 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28471
28472 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28473 Remove conditionals on LDBL_MANT_DIG.
28474 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28475 (__ieee754_lgammal_r): Likewise.
28476
28477 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28478
28479 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
28480 _Float128 and L().
28481 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
28482 _Float128 and L(). Replace _Float128 with long double and L(x)
28483 with xL, throughout the file.
28484 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28485 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28486 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28487 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28488
28489 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28490
28491 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
28492 sysdeps/ieee754/ldbl-128ibm.
28493 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
28494 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
28495 of including it. Keep _Float128 and L() intact. These will be
28496 reviewed by a separate patch.
28497 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28498 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28499 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28500 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28501
28502 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28503
28504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
28505 (__finitef128): Define to __redirect___finitef128.
28506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
28507 (__isinff128): Define to __redirect___isinff128.
28508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
28509 (__isnanf128): Define to __redirect___isnanf128.
28510
28511 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28512
28513 * sysdeps/powerpc/powerpc64le/Makefile
28514 (CFLAGS-tst-strtod-nan-locale.c): New variable.
28515 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
28516
28517 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
28518 Carlos O'Donell <carlos@redhat.com>
28519
28520 [BZ #22180]
28521 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
28522 * stdlib/test-dlclose-exit-race.c: New file.
28523 * stdlib/test-dlclose-exit-race-helper.c: New file.
28524 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
28525
28526 2017-09-21 Joseph Myers <joseph@codesourcery.com>
28527
28528 * crypt/Banner: Remove file.
28529 * nptl/Banner: Likewise.
28530 * resolv/Banner: Likewise.
28531 * soft-fp/Banner: Likewise.
28532 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
28533 ($(objpfx)version.d): Remove dependency on banner.h.
28534 ($(objpfx)version.os): Likewise.
28535 * nptl/version.c (banner): Do not include banner.h.
28536 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
28537 Jelinek and BIND code.
28538
28539 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28540 Carlos O'Donell <carlos@redhat.com>
28541
28542 * support/xdlfcn.h: New file.
28543 * support/xdlfcn.c: New file.
28544 * support/Makefile (libsupport-routines): Add xdlfcn.
28545 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
28546
28547 2017-09-20 Joseph Myers <joseph@codesourcery.com>
28548
28549 [BZ #20142]
28550 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28551 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
28552 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
28553 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
28554 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
28555 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
28556 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
28557 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
28558
28559 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28560 Ricky Zhou <rickyz@google.com>
28561 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
28562
28563 [BZ #14333]
28564 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28565 Remove atomics.
28566 (__new_exitfn): Fail registration when we finished at_exit processing.
28567 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28568 * stdlib/on_exit.c (__on_exit): Likewise.
28569 * stdlib/exit.c (__exit_funcs_done): New variable.
28570 (__run_exit_handlers): Use __exit_funcs_lock.
28571 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28572 declarations.
28573 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28574 (test-cxa_atexit-race, test-on_exit-race): New tests.
28575 * stdlib/test-atexit-race-common.c: New file.
28576 * stdlib/test-atexit-race.c: New file.
28577 * stdlib/test-at_quick_exit-race.c: New file.
28578 * stdlib/test-cxa_atexit-race.c: New file.
28579 * stdlib/test-on_exit-race.c: New file.
28580
28581 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28582
28583 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28584 * benchtests/exp2f-inputs: Copy of expf-inputs.
28585 * benchtests/log2f-inputs: Copy of logf-inputs.
28586
28587 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28588
28589 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28590 Explicitly take address of first element of array arguments in
28591 call to INLINE_SYSCALL.
28592
28593 2017-09-19 Andreas Schwab <schwab@suse.de>
28594
28595 [BZ #22134]
28596 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28597 execveat first.
28598 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28599 unimplemented.
28600 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28601 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28602 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28603 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28604 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28605 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28606 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28607 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28608 * posix/Makefile (tests): Add tst-fexecve.
28609 * posix/tst-fexecve.c: New file.
28610
28611 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28612
28613 * benchtests/Makefile: Add logf benchmark.
28614 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28615
28616 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28617
28618 * benchtests/Makefile: Add expf benchmark.
28619 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28620
28621 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28622
28623 * csu/Makefile: Add -funwind-tables to libc-start.c.
28624 * debug/Makefile: Add -funwind-tables to backtrace.c.
28625 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28626 * sysdeps/arm/Makefile: Likewise.
28627 * sysdeps/i386/Makefile: Likewise.
28628 * sysdeps/m68k/Makefile: Likewise.
28629 * sysdeps/mips/Makefile: Likewise.
28630 * sysdeps/nios2/Makefile: Likewise.
28631 * sysdeps/sh/Makefile: Likewise.
28632 * sysdeps/sparc/Makefile: Likewise.
28633
28634 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28635
28636 * benchtests/Makefile (bench-math): Add trunc and truncf.
28637 (CFLAGS-bench-trunc.c): New variable.
28638 (CFLAGS-bench-truncf.c): Likewise.
28639 * benchtests/trunc-inputs: New file.
28640 * benchtests/truncf-inputs: Likewise.
28641
28642 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28643
28644 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28645
28646 2017-09-18 Joseph Myers <joseph@codesourcery.com>
28647
28648 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28649 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28650 redefine.
28651 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28652 (exp10l): Define as weak alias.
28653 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28654 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28655 and redefine.
28656 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28657 (remainderl): Define as weak alias.
28658
28659 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28660 (fmal): Define using libm_alias_ldouble.
28661 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28662 (acoshl): Define using libm_alias_ldouble.
28663 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28664 (acosl): Define using libm_alias_ldouble.
28665 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28666 (asinl): Define using libm_alias_ldouble.
28667 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28668 (atan2l): Define using libm_alias_ldouble.
28669 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28670 (atanhl): Define using libm_alias_ldouble.
28671 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28672 (coshl): Define using libm_alias_ldouble.
28673 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28674 (exp10l): Define using libm_alias_ldouble.
28675 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28676 (exp2l): Define using libm_alias_ldouble.
28677 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28678 (expl): Define using libm_alias_ldouble.
28679 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28680 (fmodl): Define using libm_alias_ldouble.
28681 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28682 (hypotl): Define using libm_alias_ldouble.
28683 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28684 (j0l): Define using libm_alias_ldouble.
28685 (y0l): Likewise.
28686 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28687 (j1l): Define using libm_alias_ldouble.
28688 (y1l): Likewise.
28689 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28690 (jnl): Define using libm_alias_ldouble.
28691 (ynl): Likewise.
28692 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28693 (log10l): Define using libm_alias_ldouble.
28694 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28695 (log2l): Define using libm_alias_ldouble.
28696 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28697 (logl): Define using libm_alias_ldouble.
28698 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28699 (powl): Define using libm_alias_ldouble.
28700 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28701 (remainderl): Define using libm_alias_ldouble.
28702 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28703 (sinhl): Define using libm_alias_ldouble.
28704 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28705 (sqrtl): Define using libm_alias_ldouble.
28706 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28707 (tgammal): Define using libm_alias_ldouble.
28708 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28709 (exp10l): Do not use long_double_symbol here.
28710 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28711 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28712 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28713 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28714 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28715 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28716 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28717 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28718 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28719 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28720 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28721 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28722 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28723 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28724 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28725 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28726 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28727 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28728 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28729 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28730 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28731 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28732
28733 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28734
28735 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28736 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28737
28738 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28739
28740 * io/read.c (read): Add libc_hidden_weak.
28741 * sysdeps/mach/hurd/read.c (read): Likewise.
28742 * io/write.c (write): Likewise.
28743 * sysdeps/mach/hurd/write.c (write): Likewise.
28744 * io/pread64.c (__pread64): Likewise.
28745 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28746 * posix/pread64.c (__pread64): Add libc_hidden_def.
28747
28748 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28749
28750 * benchtests/scripts/compare_strings.py: New option -g.
28751 (draw_graph): Print a message that a graph is being generated.
28752 (process_results): Generate graph only if -g is passed.
28753 (main): Process option -g.
28754
28755 * benchtests/scripts/compare_strings.py (process_results):
28756 Better spacing for output.
28757
28758 * benchtests/scripts/compare_strings.py: Use argparse.
28759 * benchtests/README: Document existence of compare_strings.py.
28760
28761 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28762
28763 * math/s_fma.c: Include <libm-alias-double.h>.
28764 (fma): Define using libm_alias_double.
28765 * math/s_nextafter.c: Include <libm-alias-double.h>.
28766 (nextafter): Define using libm_alias_double.
28767 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28768 (acos): Define using libm_alias_double.
28769 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28770 (aocsh): Define using libm_alias_double.
28771 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28772 (asin): Define using libm_alias_double.
28773 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28774 (atan2): Define using libm_alias_double.
28775 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28776 (atanh): Define using libm_alias_double.
28777 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28778 (cosh): Define using libm_alias_double.
28779 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28780 (exp10): Define using libm_alias_double.
28781 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28782 (exp2): Define using libm_alias_double.
28783 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28784 (exp): Define using libm_alias_double.
28785 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28786 (fmod): Define using libm_alias_double.
28787 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28788 (hypot): Define using libm_alias_double.
28789 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28790 (j0): Define using libm_alias_double.
28791 (y0): Likewise.
28792 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28793 (j1): Define using libm_alias_double.
28794 (y1): Likewise.
28795 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28796 (jn): Define using libm_alias_double.
28797 (yn): Likewise.
28798 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28799 (log10): Define using libm_alias_double.
28800 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28801 (log2): Define using libm_alias_double.
28802 * math/w_log_compat.c: Include <libm-alias-double.h>.
28803 (log): Define using libm_alias_double.
28804 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28805 (pow): Define using libm_alias_double.
28806 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28807 (remainder): Define using libm_alias_double.
28808 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28809 (sinh): Define using libm_alias_double.
28810 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28811 (sqrt): Define using libm_alias_double.
28812 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28813 (tgamma): Define using libm_alias_double.
28814 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28815 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28816 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28817 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28818 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28819 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28820 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28821 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28822 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28823 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28824 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28825 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28826 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28827 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28828 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28829 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28830 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28831 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28832 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28833 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28834 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28835 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28836 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28837 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28838 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28839
28840 * math/e_acoshl.c: Remove.
28841 * math/e_acosl.c: Likewise.
28842 * math/e_asinl.c: Likewise.
28843 * math/e_atan2l.c: Likewise.
28844 * math/e_atanhl.c: Likewise.
28845 * math/e_coshl.c: Likewise.
28846 * math/e_expl.c: Likewise.
28847 * math/e_fmodl.c: Likewise.
28848 * math/e_gammal_r.c: Likewise.
28849 * math/e_hypotl.c: Likewise.
28850 * math/e_j0l.c: Likewise.
28851 * math/e_j1l.c: Likewise.
28852 * math/e_jnl.c: Likewise.
28853 * math/e_lgammal_r.c: Likewise.
28854 * math/e_log10l.c: Likewise.
28855 * math/e_log2l.c: Likewise.
28856 * math/e_logl.c: Likewise.
28857 * math/e_powl.c: Likewise.
28858 * math/e_rem_pio2l.c: Likewise.
28859 * math/e_sinhl.c: Likewise.
28860 * math/e_sqrtf128.c: Likewise.
28861 * math/e_sqrtl.c: Likewise.
28862 * math/k_cosl.c: Likewise.
28863 * math/k_sinl.c: Likewise.
28864 * math/k_tanl.c: Likewise.
28865 * math/s_asinhl.c: Likewise.
28866 * math/s_atanl.c: Likewise.
28867 * math/s_cbrtl.c: Likewise.
28868 * math/s_erfl.c: Likewise.
28869 * math/s_expm1l.c: Likewise.
28870 * math/s_log1pl.c: Likewise.
28871 * math/s_tanhl.c: Likewise.
28872
28873 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28874
28875 [BZ #21745]
28876 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28877 [$(subdir) = math] (sysdep_calls): New variable. Has the
28878 previous contents of sysdep_routines, but re-sorted..
28879 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28880 sysdep_calls.
28881 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28882 defined in sysdep_calls and replace by the respective m_* names.
28883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28884 (compat_symbol): Undefine to avoid duplicated compat symbols in
28885 libc.
28886
28887 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28888
28889 * math/s_fmaf.c: Include <libm-alias-float.h>.
28890 (fmaf): Define using libm_alias_float.
28891 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28892 (acosf): Define using libm_alias_float.
28893 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28894 (acoshf): Define using libm_alias_float.
28895 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28896 (asinf): Define using libm_alias_float.
28897 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28898 (atan2f): Define using libm_alias_float.
28899 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28900 (atanhf): Define using libm_alias_float.
28901 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28902 (coshf): Define using libm_alias_float.
28903 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28904 (exp10f): Define using libm_alias_float.
28905 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28906 (fmodf): Define using libm_alias_float.
28907 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28908 (hypotf): Define using libm_alias_float.
28909 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28910 (j0f): Define using libm_alias_float.
28911 (y0f): Likewise.
28912 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28913 (j1f): Define using libm_alias_float.
28914 (y1f): Likewise.
28915 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28916 (jnf): Define using libm_alias_float.
28917 (ynf): Likewise.
28918 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28919 (log10f): Define using libm_alias_float.
28920 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28921 (log2f): Define using libm_alias_float.
28922 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28923 (logf): Define using libm_alias_float.
28924 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28925 (powf): Define using libm_alias_float.
28926 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28927 (remainderf): Define using libm_alias_float.
28928 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28929 (sinhf): Define using libm_alias_float.
28930 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28931 (sqrtf): Define using libm_alias_float.
28932 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28933 (tgammaf): Define using libm_alias_float.
28934
28935 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28936
28937 * include/math.h (roundeven): Change hidden_proto call to
28938 __roundeven.
28939 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28940 alias.
28941 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28942 (y0): Rename to __y0 and define as weak alias.
28943 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28944 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28945 alias.
28946 (y0f): Rename to __y0f and define as weak alias.
28947 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28948 alias.
28949 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28950 (y1): Rename to __y1 and define as weak alias.
28951 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28952 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28953 alias.
28954 (y1f): Rename to __y1f and define as weak alias.
28955 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28956 alias.
28957 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28958 (yn): Rename to __yn and define as weak alias.
28959 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28960 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28961 alias.
28962 (ynf): Rename to __ynf and define as weak alias.
28963 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28964 (fromfp): Define as weak alias.
28965 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28966 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28967 (fromfpx): Define as weak alias.
28968 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28969 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28970 __getpayload and define as weak alias.
28971 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28972 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
28973 __roundeven and define as weak alias.
28974 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
28975 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
28976 __setpayload.
28977 (setpayload): Define as weak alias.
28978 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
28979 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
28980 __setpayloadsig.
28981 (setpayloadsig): Define as weak alias.
28982 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
28983 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
28984 __totalorder and define as weak alias.
28985 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
28986 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
28987 to __totalordermag and define as weak alias.
28988 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
28989 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
28990 (ufromfp): Define as weak alias.
28991 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
28992 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
28993 __ufromfpx.
28994 (ufromfpx): Define as weak alias.
28995 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
28996 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
28997 Rename to __getpayload and define as weak alias.
28998 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28999 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29000 Rename to __roundeven and define as weak alias.
29001 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29002 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29003 Rename to __totalorder and define as weak alias.
29004 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29005 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29006 (totalordermag): Rename to __totalordermag and define as weak
29007 alias.
29008 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29009 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29010 macro.
29011 (__roundevenl): Likewise.
29012 (__totalorderl): Likewise.
29013 (__totalordermagl): Likewise
29014 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29015 __fromfpf128.
29016 (fromfpf128): Define as weak alias.
29017 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29018 __fromfpxf128.
29019 (fromfpxf128): Define as weak alias.
29020 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29021 __setpayloadf128.
29022 (setpayloadf128): Define as weak alias.
29023 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29024 __setpayloadsigf128.
29025 (setpayloadsigf128): Define as weak alias.
29026 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29027 __ufromfpf128.
29028 (ufromfpf128): Define as weak alias.
29029 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29030 __ufromfpxf128.
29031 (ufromfpxf128): Define as weak alias.
29032 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29033 (fromfpf): Define as weak alias.
29034 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29035 __fromfpxf.
29036 (fromfpxf): Define as weak alias.
29037 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29038 __getpayloadf and define as weak alias.
29039 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29040 __roundevenf and define as weak alias.
29041 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29042 __setpayloadf.
29043 (setpayloadf): Define as weak alias.
29044 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29045 __setpayloadsigf.
29046 (setpayloadsigf): Define as weak alias.
29047 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29048 __totalorderf and define as weak alias.
29049 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29050 Rename to __totalordermagf and define as weak alias.
29051 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29052 __ufromfpf.
29053 (ufromfpf): Define as weak alias.
29054 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29055 __ufromfpxf.
29056 (ufromfpxf): Define as weak alias.
29057 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29058 __fromfpl.
29059 (fromfpl): Define as weak alias.
29060 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29061 __fromfpxl.
29062 (fromfpxl): Define as weak alias.
29063 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
29064 to __getpayloadl and define as weak alias.
29065 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
29066 __roundevenl and define as weak alias.
29067 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
29068 __setpayloadl.
29069 (setpayloadl): Define as weak alias.
29070 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
29071 __setpayloadsigl.
29072 (setpayloadsigl): Define as weak alias.
29073 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
29074 to __totalorderl and define as weak alias.
29075 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
29076 Rename to __totalordermagl and define as weak alias.
29077 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
29078 __ufromfpl.
29079 (ufromfpl): Define as weak alias.
29080 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
29081 __ufromfpxl.
29082 (ufromfpxl): Define as weak alias.
29083 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
29084 __fromfpl.
29085 (fromfpl): Define as weak alias.
29086 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
29087 __fromfpxl.
29088 (fromfpxl): Define as weak alias.
29089 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
29090 Rename to __getpayloadl and define as weak alias.
29091 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
29092 to __roundevenl and define as weak alias. Call __roundeven
29093 instead of roundeven.
29094 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
29095 __setpayloadl.
29096 (setpayloadl): Define as weak alias.
29097 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
29098 __setpayloadsigl.
29099 (setpayloadsigl): Define as weak alias.
29100 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
29101 Rename to __totalorderl and define as weak alias.
29102 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
29103 Rename to __totalordermagl and define as weak alias.
29104 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
29105 __ufromfpl.
29106 (ufromfpl): Define as weak alias.
29107 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
29108 __ufromfpxl.
29109 (ufromfpxl): Define as weak alias.
29110 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
29111 __fromfpl.
29112 (fromfpl): Define as weak alias.
29113 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
29114 __fromfpxl.
29115 (fromfpxl): Define as weak alias.
29116 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
29117 __getpayloadl and define as weak alias.
29118 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
29119 __roundevenl and define as weak alias.
29120 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
29121 __setpayloadl.
29122 (setpayloadl): Define as weak alias.
29123 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
29124 __setpayloadsigl.
29125 (setpayloadsigl): Define as weak alias.
29126 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
29127 __totalorderl and define as weak alias.
29128 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
29129 Rename to __totalordermagl and define as weak alias.
29130 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
29131 __ufromfpl.
29132 (ufromfpl): Define as weak alias.
29133 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
29134 __ufromfpxl.
29135 (ufromfpxl): Define as weak alias.
29136
29137 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
29138
29139 * benchtests/bench-string.h (realloc_bufs): New function.
29140 (test_init): Call it.
29141 * benchtests/bench-memset-large.c (do_test): Likewise.
29142 * benchtests/bench-memset.c (do_test): Likewise.
29143
29144 * benchtests/bench-memset-large.c: Print output in JSON
29145 format.
29146 * benchtests/bench-memset.c: Likewise.
29147
29148 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29149
29150 [BZ #21084]
29151 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29152 * iconvdata/Makefile: Add IBM858.
29153 * iconvdata/gconv-modules: Likewise.
29154 * iconvdata/tst-tables.sh: Likewise.
29155 * iconvdata/ibm858.c: New file.
29156 * localedata/charmaps/IBM858: Likewise.
29157
29158 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
29159
29160 [BZ #22023]
29161 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29162 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29163
29164 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29165
29166 [BZ #22112]
29167 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29168 and add tel_int_fmt.
29169
29170 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29171
29172 * sysdeps/generic/libm-alias-float128.h: New file.
29173 * sysdeps/generic/math-type-macros-float128.h: Include
29174 <libm-alias-float128.h>.
29175 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29176
29177 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29178
29179 * sysdeps/generic/libm-alias-ldouble.h: New file.
29180 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29181 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29182 * sysdeps/generic/math-type-macros-ldouble.h: Include
29183 <libm-alias-ldouble.h>.
29184 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29185 libm_alias_ldouble.
29186
29187 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29188
29189 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29190 * math/w_exp_compat.c: ... here.
29191 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29192 * math/w_expf_compat.c: ... here.
29193 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29194 * math/w_expl_compat.c: ... here.
29195 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29196 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29197 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29198 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29199
29200 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29201
29202 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29203 redefine.
29204 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29205 macro.
29206 (ldexpl): Only define as compat symbol for libc, not libm.
29207 (scalbnl): Define as compat symbol for libc here.
29208 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29209 define for [IS_IN (libc)].
29210 (__ldexpl_2): Remove alias.
29211 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29212 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29213 name in long_double_symbol call.
29214 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29215 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29216 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29217 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29218 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29219 Remove macro.
29220 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29221 Define as compat symbol.
29222
29223 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29224
29225 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29226 * sysdeps/unix/sysv/linux/alpha/Makefile
29227 [$(subdir) = csu] (sysdep_routines): Remove rule.
29228
29229 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29230
29231 * sysdeps/generic/libm-alias-double.h: New file.
29232 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29233 * sysdeps/generic/math-type-macros-double.h: Include
29234 <libm-alias-double.h>.
29235 [declare_mgen_alias] (declare_mgen_alias): Define to use
29236 libm_alias_double.
29237 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29238 (M_LIBM_NEED_COMPAT): Remove macro.
29239 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29240 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29241 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29242 code.
29243 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29244 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29245 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29246 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29247 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29248 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29249 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29250 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29251 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29252 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29253 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29254 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29255 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29256 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29257 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29258 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29259 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29260 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29261 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29262 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29263 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29264 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29265 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29266 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29267 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29268 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29269 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29270 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29271 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29272 macro.
29273 (declare_mgen_alias): New macro.
29274 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29275 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29277 (M_LIBM_NEED_COMPAT): Remove macro.
29278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29279 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29280 <first-versions.h>.
29281 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29282 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29283
29284 2017-09-12 Joseph Myers <joseph@codesourcery.com>
29285
29286 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
29287 (declare_mgen_alias_2): Remove.
29288 * sysdeps/generic/math-type-macros-double.h
29289 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
29290 Likewise.
29291 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
29292 alias.
29293 (ldexp): Define with declare_mgen_alias.
29294 (scalbn): Likewise.
29295
29296 2017-09-12 Steve Ellcey <sellcey@cavium.com>
29297
29298 * grp/initgroups.c: Include config.h.
29299 (DEFAULT_CONFIG): New macro.
29300 (internal_getgrouplist): Use DEFAULT_CONFIG.
29301 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29302 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29303 (DEFAULT_DEFCONFIG): New macro.
29304 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
29305 * nss/grp-lookup.c: Include config.h
29306 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
29307 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
29308 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
29309 * manual/nss.texi: Update default values section.
29310
29311 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
29312
29313 [BZ #21967]
29314 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
29315 New.
29316 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
29317 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29318 Handle MathVec_Prefer_No_AVX512.
29319 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
29320 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
29321 is set.
29322
29323 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
29324
29325 * posix/sched_primax.c (__sched_get_priority_max): Add
29326 libc_hidden_def.
29327 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
29328 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29329 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29330 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
29331 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
29332 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
29333 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
29334 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
29335 Add aliases.
29336
29337 2017-09-11 Joseph Myers <joseph@codesourcery.com>
29338
29339 * sysdeps/generic/libm-alias-float.h: New file.
29340 * sysdeps/generic/math-type-macros-float.h: Include
29341 <libm-alias-float.h>.
29342 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29343
29344 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
29345
29346 [BZ #22093]
29347 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
29348 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
29349 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
29350 (HWCAP_IMPORTANT): Likewise.
29351 (HWCAP_X86_64): New enum.
29352 (HWCAP_X86_AVX512_1): Updated.
29353 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
29354 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
29355 (modules-names): Add x86_64/tst-x86_64mod-1.
29356 (LDFLAGS-tst-x86_64mod-1.so): New.
29357 ($(objpfx)tst-x86_64-1): Likewise.
29358 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
29359 (tst-x86_64-1-clean): Likewise.
29360 * sysdeps/x86_64/tst-x86_64-1.c: New file.
29361 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
29362
29363 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29364
29365 * po/sv.po: Update translations.
29366 * po/fr.po: Likewise.
29367
29368 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29369
29370 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
29371 seconds.
29372 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
29373 seconds.
29374 * elf/rtld-Rules: Fix $(error) use.
29375
29376 2017-09-09 Mike FABIAN <mfabian@redhat.com>
29377
29378 [BZ #14925]
29379 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
29380 * locale/iso-639.def: Change “Bengali” to “Bangla”.
29381 * localedata/locales/bn_BD: “Bengali” was still used in some
29382 comments. Change it to “Bangla”.
29383
29384 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
29385
29386 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
29387
29388 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29389
29390 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
29391 thunderx2t99p1 to list of cpu names.
29392 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29393 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
29394
29395 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29396
29397 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29398 Use strcmp instead of tunable_is_name.
29399
29400 2017-09-08 Joseph Myers <joseph@codesourcery.com>
29401
29402 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29403 (F_GET_RW_HINT): New macro.
29404 [__USE_GNU] (F_SET_RW_HINT): Likewise.
29405 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
29406 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
29407 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
29408 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
29409 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
29410 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
29411 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
29412 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
29413
29414 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29415 (F_ADD_SEALS): New macro.
29416 [__USE_GNU] (F_GET_SEALS): Likewise.
29417 [__USE_GNU] (F_SEAL_SEAL): Likewise.
29418 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
29419 [__USE_GNU] (F_SEAL_GROW): Likewise.
29420 [__USE_GNU] (F_SEAL_WRITE): Likewise.
29421
29422 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29423
29424 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
29425 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
29426 * posix/glob_internal.h (__glob_pattern_type):
29427 * posix/glob.c (glob):
29428 * posix/glob_pattern_p.c (__glob_pattern_p):
29429 Use them.
29430
29431 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
29432 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29433 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
29434 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
29435 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
29437 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
29438 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
29439 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29440 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29441 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29442 * sysdeps/wordsize-64/glob.c: Likewise.
29443 * sysdeps/wordsize-64/glob64.c: Likewise.
29444 * sysdeps/wordsize-64/globfree.c: Likewise.
29445 * sysdeps/wordsize-64/globfree64.c: Likewise.
29446 * sysdeps/unix/sysv/linux/glob.c: New file.
29447 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
29448 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
29449 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
29450 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29451 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
29452 adds !GLOB_NO_OLD_VERSION as an extra condition.
29453 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
29454 using relative path instead of absolute one.
29455 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
29456 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29457 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29458 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
29459 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
29460 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
29461
29462 [BZ #1062]
29463 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
29464 (glob): Use the same scratch buffer for both getlogin_r and
29465 getpwnam_r. Don’t require preallocation of the login name. This
29466 simplifies storage allocation, and corrects the handling of
29467 long login names.
29468
29469 [BZ #1062]
29470 * posix/glob.c (glob): Port recent patches to platforms
29471 lacking getpwnam_r.
29472 (glob): Fix longstanding misuse of errno after getpwnam_r, which
29473 returns an error number rather than setting errno.
29474
29475 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
29476 instead of GCC extension.
29477 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
29478 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
29479 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
29480
29481 [BZ #866]
29482 [BZ #1062]
29483 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
29484 * posix/bug-glob1.c: Remove file.
29485 * posix/tst-glob_symlinks.c: New file.
29486 * posix/glob.c (__lstat64): New macro.
29487 (is_dir): New function.
29488 (glob, glob_in_dir): Match symlinks even if they are dangling.
29489 (link_stat, link_exists_p): Remove. All uses removed.
29490
29491 [BZ #1062]
29492 [BZ #19971]
29493 * posix/glob.c (struct readdir_result): Remove skip_entry member.
29494 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
29495 All uses removed.
29496
29497 [BZ #1062]
29498 CVE-2017-15671
29499 * posix/Makefile (routines): Add globfree, globfree64, and
29500 glob_pattern_p.
29501 * posix/flexmember.h: New file.
29502 * posix/glob_internal.h: Likewise.
29503 * posix/glob_pattern_p.c: Likewise.
29504 * posix/globfree.c: Likewise.
29505 * posix/globfree64.c: Likewise.
29506 * sysdeps/gnu/globfree64.c: Likewise.
29507 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
29508 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29509 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
29510 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29511 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29512 * sysdeps/wordsize-64/globfree.c: Likewise.
29513 * sysdeps/wordsize-64/globfree64.c: Likewise.
29514 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
29515 [NDEBUG): Remove comments.
29516 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
29517 (dirent_type): New type. Use uint_fast8_t not
29518 uint8_t, as C99 does not require uint8_t.
29519 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
29520 (struct readdir_result): Use dirent_type. Do not define skip_entry
29521 unless it is needed; this saves a byte on platforms lacking d_ino.
29522 (readdir_result_type, readdir_result_skip_entry):
29523 New functions, replacing ...
29524 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
29525 these functions, which were removed. This makes the callers
29526 easier to read. All callers changed.
29527 (D_INO_TO_RESULT): Now empty if there is no d_ino.
29528 (size_add_wrapv, glob_use_alloca): New static functions.
29529 (glob, glob_in_dir): Check for size_t overflow in several places,
29530 and fix some size_t checks that were not quite right.
29531 Remove old code using SHELL since Bash no longer
29532 uses this.
29533 (glob, prefix_array): Separate MS code better.
29534 (glob_in_dir): Remove old Amiga and VMS code.
29535 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
29536 separate files.
29537 (glob_in_dir): Do not rely on undefined behavior in accessing
29538 struct members beyond their bounds. Use a flexible array member
29539 instead
29540 (link_stat): Rename from link_exists2_p and return -1/0 instead of
29541 0/1. Caller changed.
29542 (glob): Fix memory leaks.
29543 * posix/glob64 (globfree64): Move to separate file.
29544 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
29545 (globfree64): Remove hidden alias.
29546 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
29547 oldglob.
29548 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
29549 separate file.
29550 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
29551 define.
29552 Move compat code to separate file.
29553 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
29554 separate file.
29555
29556 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
29557
29558 * resolv/tst-resolv-qtypes.c (domain): Changed to
29559 "const char domain[] =".
29560
29561 2017-09-07 Joseph Myers <joseph@codesourcery.com>
29562
29563 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29564 version to 3.1.6.
29565
29566 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29567 (TCP_MD5SIG_EXT): Likewise.
29568 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29569 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29570 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29571
29572 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29573
29574 2017-09-07 Mike FABIAN <mfabian@redhat.com>
29575
29576 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29577
29578 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
29579
29580 [BZ #22100]
29581 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29582
29583 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29584
29585 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29586 before assuming that the file is empty. Avoid testing buffer content
29587 when nread == 0.
29588
29589 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29590
29591 [BZ #18858]
29592 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29593 Remove define.
29594 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29595 Likewise.
29596 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29597 Likewise.
29598 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29599 Likewise.
29600 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29601 Likewise.
29602 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29603 Likewise.
29604 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29605 Likewise.
29606
29607 2017-09-06 Florian Weimer <fweimer@redhat.com>
29608
29609 * malloc/dynarray_emplace_enlarge.c
29610 (__libc_dynarray_emplace_enlarge): Add missing else.
29611
29612 2017-09-06 Florian Weimer <fweimer@redhat.com>
29613
29614 [BZ #22096]
29615 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29616 case of failure to obtain the global conf object.
29617
29618 2017-09-06 Florian Weimer <fweimer@redhat.com>
29619
29620 [BZ #22095]
29621 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29622 dynarray allocation failure.
29623
29624 2017-09-06 Florian Weimer <fweimer@redhat.com>
29625
29626 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29627 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29628 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29629 New functions.
29630 (response): Call them. Add 'p', '6' flag processing.
29631 (test_reverse): New function.
29632 (test_get2_any): Call it.
29633 (test_no_inet6): Add 'p' test.
29634 (test_inet6): Likewise.
29635
29636 2017-09-06 Florian Weimer <fweimer@redhat.com>
29637
29638 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29639 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29640 the QNAME.
29641 (test_gai): Adjust query names. Add additional tests.
29642 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29643 test_get2. Adjust query names. Add additional tests.
29644 (test_no_inet6): New function, extracted from threadfunc.
29645 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29646 Add additional tests.
29647
29648 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29649
29650 [BZ #22070]
29651 * localedata/unicode-gen/utf8_gen.py: Set the width for
29652 characters with Prepended_Concatenation_Mark property to 1
29653 * localedata/charmaps/UTF-8: Updated using the improved script.
29654
29655 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29656
29657 [BZ #21750]
29658 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29659 use the range notation for all ranges of neighbouring characters
29660 with the same width.
29661
29662 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29663
29664 * sysdeps/generic/math-type-macros-double.h: Include
29665 <math-svid-compat.h>.
29666 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29667 * sysdeps/generic/math-type-macros-float.h: Include
29668 <math-svid-compat.h>.
29669 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29670 * sysdeps/generic/math-type-macros-ldouble.h: Include
29671 <math-svid-compat.h>.
29672 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29673 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29674 condition.
29675 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29676 * math/w_acosf_compat.c: Likewise.
29677 * math/w_acosh_compat.c: Likewise.
29678 * math/w_acoshf_compat.c: Likewise.
29679 * math/w_acoshl_compat.c: Likewise.
29680 * math/w_acosl_compat.c: Likewise.
29681 * math/w_asin_compat.c: Likewise.
29682 * math/w_asinf_compat.c: Likewise.
29683 * math/w_asinl_compat.c: Likewise.
29684 * math/w_atan2_compat.c: Likewise.
29685 * math/w_atan2f_compat.c: Likewise.
29686 * math/w_atan2l_compat.c: Likewise.
29687 * math/w_atanh_compat.c: Likewise.
29688 * math/w_atanhf_compat.c: Likewise.
29689 * math/w_atanhl_compat.c: Likewise.
29690 * math/w_cosh_compat.c: Likewise.
29691 * math/w_coshf_compat.c: Likewise.
29692 * math/w_coshl_compat.c: Likewise.
29693 * math/w_exp10_compat.c: Likewise.
29694 * math/w_exp10f_compat.c: Likewise.
29695 * math/w_exp10l_compat.c: Likewise.
29696 * math/w_exp2_compat.c: Likewise.
29697 * math/w_exp2f_compat.c: Likewise.
29698 * math/w_exp2l_compat.c: Likewise.
29699 * math/w_fmod_compat.c: Likewise.
29700 * math/w_fmodf_compat.c: Likewise.
29701 * math/w_fmodl_compat.c: Likewise.
29702 * math/w_hypot_compat.c: Likewise.
29703 * math/w_hypotf_compat.c: Likewise.
29704 * math/w_hypotl_compat.c: Likewise.
29705 * math/w_j0_compat.c: Likewise.
29706 * math/w_j0f_compat.c: Likewise.
29707 * math/w_j0l_compat.c: Likewise.
29708 * math/w_j1_compat.c: Likewise.
29709 * math/w_j1f_compat.c: Likewise.
29710 * math/w_j1l_compat.c: Likewise.
29711 * math/w_jn_compat.c: Likewise.
29712 * math/w_jnf_compat.c: Likewise.
29713 * math/w_jnl_compat.c: Likewise.
29714 * math/w_lgamma_r_compat.c: Likewise.
29715 * math/w_lgammaf_r_compat.c: Likewise.
29716 * math/w_lgammal_r_compat.c: Likewise.
29717 * math/w_log10_compat.c: Likewise.
29718 * math/w_log10f_compat.c: Likewise.
29719 * math/w_log10l_compat.c: Likewise.
29720 * math/w_log2_compat.c: Likewise.
29721 * math/w_log2f_compat.c: Likewise.
29722 * math/w_log2l_compat.c: Likewise.
29723 * math/w_log_compat.c: Likewise.
29724 * math/w_logf_compat.c: Likewise.
29725 * math/w_logl_compat.c: Likewise.
29726 * math/w_pow_compat.c: Likewise.
29727 * math/w_powf_compat.c: Likewise.
29728 * math/w_powl_compat.c: Likewise.
29729 * math/w_remainder_compat.c: Likewise.
29730 * math/w_remainderf_compat.c: Likewise.
29731 * math/w_remainderl_compat.c: Likewise.
29732 * math/w_sinh_compat.c: Likewise.
29733 * math/w_sinhf_compat.c: Likewise.
29734 * math/w_sinhl_compat.c: Likewise.
29735 * math/w_sqrt_compat.c: Likewise.
29736 * math/w_sqrtf_compat.c: Likewise.
29737 * math/w_sqrtl_compat.c: Likewise.
29738 * math/w_tgamma_compat.c: Likewise.
29739 * math/w_tgammaf_compat.c: Likewise.
29740 * math/w_tgammal_compat.c: Likewise.
29741 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29742 [LIBM_SVID_COMPAT].
29743 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29744 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29745 [LIBM_SVID_COMPAT].
29746 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29747 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29748 [LIBM_SVID_COMPAT].
29749 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29750 * sysdeps/i386/fpu/w_sqrt.c: New file.
29751 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29752 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29753 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29754 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29755 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29756 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29757 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29758 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29759 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29760 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29761 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29762 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29763 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29764 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29765 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29766 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29767 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29768 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29769 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29770 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29771 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29772 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29773 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29774 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29775 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29776 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29777 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29778 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29779 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29780 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29781 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29782 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29783 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29784 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29785 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29786 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29787 * sysdeps/ia64/fpu/w_log.c: Likewise.
29788 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29789 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29790 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29791 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29792 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29793 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29794 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29795 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29796 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29797 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29798 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29799 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29800 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29801 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29802 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29803 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29804 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29805 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29806 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29807 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29808 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29809 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29810 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29811 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29812 [LIBM_SVID_COMPAT].
29813 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29814 * sysdeps/ieee754/k_standard.c: Likewise.
29815 * sysdeps/ieee754/k_standardf.c: Likewise.
29816 * sysdeps/ieee754/k_standardl.c: Likewise.
29817 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29818 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29819 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29820 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29821 long_double_symbol call on [LIBM_SVID_COMPAT].
29822 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29823 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29824 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29825 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29826 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29827 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29828 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29829 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29830 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29831 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29832 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29833 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29834 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29835 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29836 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29837 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29838 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29839 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29840 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29841 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29842 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29843 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29844
29845 2017-09-05 Steve Ellcey <sellcey@cavium.com>
29846
29847 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29848 * malloc/tst-mallocstate.c: Convert from test-skeleton
29849 to test-driver. Ifdef code using TEST_COMPAT macro.
29850 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29851 * math/test-matherr.c: Likewise.
29852
29853 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29854
29855 [BZ #22086]
29856 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29857 comparing word with byte-swapped constant.
29858
29859 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
29860
29861 [BZ #20498]
29862 * locale/iso-639.def: add Miskito.
29863 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29864 * localedata/locales/miq_NI: New file.
29865
29866 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29867
29868 [BZ #18822]
29869 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29870 (__mkdir): Likewise.
29871 * io/chmod.c (__chmod): Add libc_hidden_def.
29872 * io/mkdir.c (__mkdir): Likewise.
29873 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29874 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29875 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29876 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29877
29878 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29879
29880 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29881 version to 4.13.
29882
29883 [BZ #22082]
29884 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29885 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29886
29887 2017-09-04 Florian Weimer <fweimer@redhat.com>
29888
29889 * math/math.h: Issue warning if log is defined.
29890
29891 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29892
29893 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29894 kernel version to 4.13.
29895
29896 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29897
29898 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
29899 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29900 parameter.
29901 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29902 just <bits/types.h>.
29903 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
29904 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
29905 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
29906 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
29907 * misc/preadv2.c: Include <errno.h>.
29908 * misc/preadv64v2.c: Include <errno.h>.
29909 * misc/pwritev2.c: Include <errno.h>.
29910 * misc/pwritev64v2.c: Include <errno.h>.
29911 * sysdeps/posix/preadv2.c: Include <errno.h>.
29912 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29913 Fix <unistd.h> inclusion.
29914 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29915 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
29916 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29917 __strtoul_internal): New functions.
29918 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29919 * sysdeps/posix/system.c: Include <sigsetops.h>.
29920 * sysdeps/mach/hurd/i386/Makefile
29921 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29922 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29923 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
29924 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29925 __feraiseexcept_renamed to feraiseexcept instead of
29926 __GI_feraiseexcept.
29927 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
29928 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
29929 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29930 RWF_NOWAIT): Define to 0 if undefined already.
29931 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29932 boils down to 0.
29933 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29934 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
29935
29936 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29937
29938 * manual/math.texi (pow10): Do not document.
29939 (pow10f): Likewise.
29940 (pow10l): Likewise.
29941 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29942 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29943 * math/libm-test-exp10.inc (pow10_test): Remove.
29944 (do_test): Do not call pow10.
29945 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29946 [NO_LONG_DOUBLE] (pow10l): Likewise.
29947 * math/w_exp10f_compat.c (pow10f): Likewise.
29948 * math/w_exp10l_compat.c (pow10l): Likewise.
29949 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29950 (pow10): Make into compat symbol.
29951 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29952 (pow10f): Make into compat symbol.
29953 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29954 (pow10l): Make into compat symbol.
29955 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29956 pow10.
29957 (CFLAGS-nldbl-pow10.c): Remove variable..
29958 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29959 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29960 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29961 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29962 Undefine and redefine.
29963 (pow10l): Make into compat symbol.
29964 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29965 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29966 * sysdeps/arm/libm-test-ulps: Likewise.
29967 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29968 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29969 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29970 * sysdeps/microblaze/libm-test-ulps: Likewise.
29971 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29972 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29973 * sysdeps/nios2/libm-test-ulps: Likewise.
29974 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29975 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29976 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29977 * sysdeps/sh/libm-test-ulps: Likewise.
29978 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29979 * sysdeps/tile/libm-test-ulps: Likewise.
29980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29981
29982 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
29983
29984 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
29985
29986 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29987
29988 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
29989 "../ChangeLog.old/ChangeLog.8".
29990 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
29991 "../ChangeLog.old/ChangeLog.14".
29992
29993 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
29994
29995 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
29996 Threads Library.
29997
29998 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29999
30000 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30001
30002 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30003
30004 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30005 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30006
30007 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30008
30009 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30010 32 atexit handlers.
30011
30012 2017-09-01 Zack Weinberg <zackw@panix.com>
30013
30014 * math/math.h (HUGE_VAL): Improve commentary.
30015
30016 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30017 Andreas Schwab <schwab@suse.de>
30018
30019 [BZ #21530]
30020 * include/stdio.h (__gen_tempfd): New function.
30021 * stdio-common/Makefile (routines): Add gentempfd.
30022 * stdio-common/gentempfd.c: New file.
30023 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30024 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30025 unnamed file first.
30026
30027 2017-09-01 Florian Weimer <fweimer@redhat.com>
30028
30029 [BZ #21915]
30030 [BZ #21922]
30031 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30032 result to determine success or failure, not the errno value.
30033 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30034 (tst-nss-files-hosts-erange): Link with -ldl.
30035 * nss/tst-nss-files-hosts-erange.c: New file.
30036 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30037 (do_test): Add NO_DATA tests.
30038 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30039 (do_test): Call it.
30040
30041 2017-09-01 Florian Weimer <fweimer@redhat.com>
30042
30043 [BZ #21922]
30044 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30045 coming from gethostbyname2_r.
30046
30047 2017-09-01 Florian Weimer <fweimer@redhat.com>
30048
30049 * support/namespace.h (struct support_chroot_configuration): Add
30050 hosts, host_conf.
30051 (struct support_chroot): Add path_hosts, path_host_conf.
30052 * support/support_chroot.c (write_file): New function.
30053 (support_chroot_create): Call it to process /etc/resolv.conf,
30054 /etc/hosts, /etc/host.conf.
30055 (support_chroot_free): Update.
30056
30057 2017-09-01 Florian Weimer <fweimer@redhat.com>
30058
30059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30060 status indicates it is set.
30061
30062 2017-09-01 Florian Weimer <fweimer@redhat.com>
30063
30064 [BZ #20532]
30065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
30066 function lookup failures more reliable.
30067
30068 2017-09-01 Florian Weimer <fweimer@redhat.com>
30069
30070 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
30071 (getcanonname): Likewise.
30072 (gaih_inet): Likewise.
30073
30074 2017-09-01 Florian Weimer <fweimer@redhat.com>
30075
30076 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
30077 (getcanonname): Likewise.
30078 (gaih_inet): Likewise.
30079
30080 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30081 Richard Henderson <rth@twiddle.net>
30082
30083 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
30084 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
30085 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
30086 (IREG_SIZE, OREG_SIZE): New macros.
30087 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
30088 (IREG_SIZE, OREG_SIZE): New macros.
30089 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
30090 (IREG_SIZE): New macro.
30091 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
30092 (IREG_SIZE): New macro.
30093 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
30094 New includes.
30095 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
30096 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30097 (__CONCATX): Handle exceptions correctly on large values that may
30098 set FE_INVALID.
30099 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
30100 Initialize if not already set.
30101 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30102
30103 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30104
30105 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
30106 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
30107 Likewise.
30108 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
30109 Likewise.
30110 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
30111 Likewise.
30112 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
30113 Likewise.
30114 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
30115 Likewise.
30116 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
30117 Likewise.
30118 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
30119 Likewise.
30120 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
30121 (NO_CANCELLATION): Likewise.
30122 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
30123 Likewise.
30124 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
30125 Likewise.
30126 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
30127 Likewise.
30128 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
30129 (NO_CANCELLATION): Likewise.
30130 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
30131 (NO_CANCELLATION): Likewise.
30132 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
30133 Likewise
30134 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
30135 Likewise.
30136 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
30137 Likewise.
30138 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
30139 Likewise.
30140 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
30141 hidden prototype.
30142 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
30143 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
30144
30145 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30146
30147 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30148 in resolver call.
30149
30150 2017-08-31 Florian Weimer <fweimer@redhat.com>
30151
30152 * include/libc-symbols.h (internal_function): Remove.
30153
30154 2017-08-31 Florian Weimer <fweimer@redhat.com>
30155
30156 * stdlib/fmtmsg.c (internal_addseverity): Remove
30157 internal_function.
30158
30159 2017-08-31 Florian Weimer <fweimer@redhat.com>
30160
30161 * stdio-common/printf_fp.c (group_number): Remove
30162 internal_function.
30163 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30164
30165 2017-08-31 Florian Weimer <fweimer@redhat.com>
30166
30167 * posix/fnmatch.c (internal_function): Remove definition.
30168 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30169 * posix/regcomp.c (peek_token, init_word_char)
30170 (duplicate_node_closure, fetch_token, peek_token)
30171 (peek_token_bracket, build_range_exp, build_collating_symbol):
30172 Likewise.
30173 * posix/regex_internal.c (re_string_construct_common)
30174 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30175 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30176 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30177 (re_string_translate_buffer, re_string_reconstruct)
30178 (re_string_peek_byte_case, re_string_fetch_byte_case)
30179 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30180 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30181 (re_node_set_add_intersect, re_node_set_init_union)
30182 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30183 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30184 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30185 (re_acquire_state_context): Likewise.
30186 * posix/regex_internal.h (internal_function): Remove definition.
30187 (re_string_realloc_buffers, build_wcs_buffer)
30188 (build_wcs_upper_buffer, build_upper_buffer)
30189 (re_string_translate_buffer, re_string_context_at)
30190 (re_string_char_size_at, re_string_wchar_at)
30191 (re_string_elem_size_at): Likewise.
30192 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30193 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30194 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30195 (re_search_internal, re_search_2_stub, re_search_stub)
30196 (re_copy_regs, prune_impossible_nodes, check_matching)
30197 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30198 (free_fail_stack_return, sift_states_iter_mb)
30199 (sift_states_backward, build_sifted_states)
30200 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30201 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30202 (check_subexp_limits, sift_states_bkref, merge_state_array)
30203 (find_recover_state, transit_state, merge_state_with_log)
30204 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30205 (transit_state_mb, transit_state_bkref, get_subexp)
30206 (get_subexp_sub, find_subexp_node, check_arrival)
30207 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30208 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30209 (check_node_accept_bytes, find_collation_sequence_value)
30210 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30211 (acquire_init_state_context, check_halt_node_context)
30212 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30213 (sub_epsilon_src_nodes): Likewise.
30214 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30215 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30216 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30217 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30218 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30219 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30220 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30221 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30222 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30223 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30224 (PREADV): Likewise.
30225 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30226 (PREADV): Likewise.
30227 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30228 (PWRITEV): Likewise.
30229 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30230 (PWRITEV): Likewise.
30231 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30232 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30233
30234 2017-08-31 Florian Weimer <fweimer@redhat.com>
30235
30236 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30237 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30238 Remove internal_function.
30239 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30240 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30241 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30242 (__deallocate_stack, __libc_pthread_init)
30243 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30244 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30245 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30246 Likewise.
30247 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30248 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30249 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30250 Likewise.
30251 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30252 (__pthread_mutex_unlock_usercnt): Likewise.
30253
30254 2017-08-31 Florian Weimer <fweimer@redhat.com>
30255
30256 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30257 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30258 (fts_safe_changedir): Remove internal_function.
30259 * io/ftw.c (internal_function): Remove definition.
30260 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30261
30262 2017-08-31 Florian Weimer <fweimer@redhat.com>
30263
30264 * inet/deadline.c (__deadline_current_time)
30265 (__deadline_from_timeval, __deadline_to_ms): Remove
30266 internal_function.
30267 * inet/getnameinfo.c (nrl_domainname): Likewise.
30268 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30269 * inet/inet6_option.c (add_pad): Likewise.
30270 * inet/net-internal.h (__deadline_current_time)
30271 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30272 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30273 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30274 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30275
30276 2017-08-31 Joseph Myers <joseph@codesourcery.com>
30277
30278 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30279 include <bits/nan.h>.
30280 * math/Makefile (headers): Remove bits/nan.h.
30281 * bits/nan.h: Remove.
30282 * sysdeps/ieee754/bits/nan.h: Likewise.
30283 * sysdeps/mips/bits/nan.h: Likewise.
30284
30285 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30286 not include <bits/inf.h>.
30287 * math/Makefile (headers): Remove bits/inf.h.
30288 * bits/inf.h: Remove.
30289 * sysdeps/ieee754/bits/inf.h: Likewise.
30290
30291 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
30292 bits/huge_vall.h or bits/huge_val_flt128.h.
30293 (HUGE_VAL): Define directly here.
30294 [__USE_ISOC99] (HUGE_VALF): Likewise.
30295 [__USE_ISOC99] (HUGE_VALL): Likewise.
30296 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30297 (HUGE_VAL_F128): Likewise.
30298 * math/Makefile (headers): Remove bits/huge_val.h,
30299 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30300 * bits/huge_val.h: Remove.
30301 * bits/huge_val_flt128.h: Likewise.
30302 * bits/huge_valf.h: Likewise.
30303 * bits/huge_vall.h: Likewise.
30304 * sysdeps/ia64/bits/huge_vall.h: Likewise.
30305 * sysdeps/ieee754/bits/huge_val.h: Likewise.
30306 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
30307 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
30308 * sysdeps/sh/bits/huge_val.h: Likewise.
30309 * sysdeps/sparc/bits/huge_vall.h: Likewise.
30310 * sysdeps/x86/bits/huge_vall.h: Likewise.
30311
30312 2017-08-31 Florian Weimer <fweimer@redhat.com>
30313
30314 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
30315 internal_function.
30316 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
30317 Likewise.
30318 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
30319 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30320 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
30321 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
30322 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30323 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30324 * elf/dl-libc.c (dlerror_run): Likewise.
30325 * elf/dl-load.c (add_name_to_object, decompose_rpath)
30326 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
30327 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
30328 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
30329 Likewise.
30330 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
30331 (_dl_higher_prime_number, _dl_strtoul): Likewise.
30332 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
30333 * elf/dl-profile.c (_dl_start_profile): Likewise.
30334 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
30335 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
30336 Likewise.
30337 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
30338 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
30339 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
30340 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
30341 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
30342 (_dl_allocate_tls_storage): Likewise.
30343 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
30344 (_dl_check_all_versions): Likewise.
30345 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
30346 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
30347 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
30348 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30349 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
30350 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
30351 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
30352 internal_function from __dl_start.
30353 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
30354 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
30355 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
30356 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
30357 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
30358 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
30359 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
30360 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
30361 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
30362 (_dl_next_ld_env_entry, _dl_important_hwcaps)
30363 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
30364 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
30365 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
30366 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
30367 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
30368 Likewise.
30369 (struct rtld_global_ro): Remove internal_function from the
30370 _dl_lookup_symbol_x member.
30371 (_dl_symbol_value): Remove. No longer defined anywhere.
30372 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
30373 internal_function.
30374 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30375 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30376 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
30377 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
30378 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
30379 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
30380 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
30381 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
30382 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
30383 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
30384 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30385 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30386
30387 2017-08-31 Florian Weimer <fweimer@redhat.com>
30388
30389 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
30390 Remove internal_function.
30391 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30392 Likewise.
30393 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30394 Likewise.
30395
30396 2017-08-31 Florian Weimer <fweimer@redhat.com>
30397
30398 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
30399 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
30400 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
30401
30402 2017-08-31 Florian Weimer <fweimer@redhat.com>
30403
30404 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
30405 (__gai_enqueue_request): Remove internal_function.
30406 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
30407 (__gai_remove_request, __gai_notify, __gai_notify_only)
30408 (__gai_sigqueue): Likewise.
30409 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
30410 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
30411 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
30412 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30413 Likewise.
30414
30415 2017-08-31 Florian Weimer <fweimer@redhat.com>
30416
30417 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
30418 * include/dirent.h (__opendirat, __getdents, __getdents64)
30419 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
30420 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
30421 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30422 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30423 Likewise.
30424 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
30425
30426 2017-08-31 Florian Weimer <fweimer@redhat.com>
30427
30428 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
30429 internal_function.
30430 (GETCWD_RETURN_TYPE): Likewise.
30431
30432 2017-08-31 Florian Weimer <fweimer@redhat.com>
30433
30434 * include/time.h (__tz_compute, __strptime_internal): Remove
30435 internal_function.
30436 * time/strptime_l.c (__strptime_internal): Likewise.
30437 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
30438
30439 2017-08-31 Florian Weimer <fweimer@redhat.com>
30440
30441 * iconv/gconv.c (__gconv): Remove internal_function.
30442 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
30443 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
30444 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
30445 (__gconv_release_cache): Likewise.
30446 * iconv/gconv_close.c (__gconv_close): Likewise.
30447 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
30448 (read_conf_file, __gconv_get_path): Likewise.
30449 * iconv/gconv_db.c (derivation_lookup, add_derivation)
30450 (__gconv_release_step, gen_steps, increment_counter)
30451 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
30452 (__gconv_close_transform, free_modules_db): Likewise.
30453 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
30454 Likewise.
30455 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
30456 (__gconv_find_transform, __gconv_lookup_cache)
30457 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
30458 (__gconv_close_transform, __gconv_release_cache)
30459 (__gconv_loaded_object, __gconv_release_shlib)
30460 (__gconv_compare_alias): Likewise.
30461 * iconv/gconv_open.c (__gconv_open): Likewise.
30462 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
30463 * iconv/iconvconfig.c (add_module): Likewise.
30464 * intl/dcigettext.c (plural_lookup, guess_category_value)
30465 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
30466 * intl/eval-plural.h (plural_eval): Likewise.
30467 * intl/finddomain.c (_nl_find_domain): Likewise.
30468 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
30469 (_nl_load_domain, _nl_find_msg): Likewise.
30470 (internal_function): Remove definition.
30471 * intl/loadinfo.h (internal_function): Likewise.
30472 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
30473 internal_function.
30474 * intl/localealias.c (internal_function): Remove definition.
30475 (read_alias_file): Remove internal_function.
30476 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
30477 * intl/plural-exp.h (internal_function): Remove definition.
30478 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
30479 internal_function.
30480 * intl/plural.c: Regenerate.
30481 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
30482 * locale/coll-lookup.c (__collidx_table_lookup)
30483 (__collseq_table_lookup): Likewise.
30484 * locale/coll-lookup.h (__collidx_table_lookup)
30485 (__collseq_table_lookup): Likewise.
30486 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
30487 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30488 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
30489 (_nl_unload_locale): Likewise.
30490 * locale/localeinfo.h (struct __locale_data): Remove
30491 internal_function from cleanup member.
30492 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
30493 (_nl_remove_locale, _nl_load_locale_from_archive)
30494 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
30495 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
30496 (_nl_cleanup_time): Remove internal_function.
30497 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
30498 (_nl_parse_alt_digit): Likewise.
30499 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
30500 (_nl_select_era_entry): Likewise.
30501 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
30502 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30503 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30504 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30505 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30506
30507 2017-08-31 Florian Weimer <fweimer@redhat.com>
30508
30509 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
30510 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30511 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
30512 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
30513 Likewise.
30514 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
30515 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
30516 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
30517 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30518 Likewise.
30519 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
30520
30521 2017-08-31 Florian Weimer <fweimer@redhat.com>
30522
30523 * misc/getttyent.c (skip, value): Remove internal_function.
30524 * misc/syslog.c (openlog_internal): Likewise.
30525 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
30526
30527 2017-08-31 Florian Weimer <fweimer@redhat.com>
30528
30529 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
30530 (__nss_rewrite_field): Remove internal_function.
30531 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30532 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30533 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30534 * nss/nsswitch.c (nss_parse_file, nss_getline)
30535 (nss_parse_service_list, nss_new_service): Likewise.
30536 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
30537 * nss/valid_field.c (__nss_valid_field): Likewise.
30538 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30539
30540 2017-08-31 Florian Weimer <fweimer@redhat.com>
30541
30542 * malloc/arena.c (__malloc_fork_lock_parent)
30543 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
30544 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
30545 internal_function from defintions.
30546 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
30547 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
30548 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
30549 internal_function from declarations.
30550 * malloc/malloc.c (internal_function): Do not define.
30551 (mem2mem_check): Remove internal_function from declaration.
30552 (munmap_chunk, mremap_chunk): Remove internal_function.
30553 * malloc/mtrace.c (tr_where): Likewise.
30554
30555 2017-08-31 Florian Weimer <fweimer@redhat.com>
30556
30557 * include/rpc/pmap_clnt.h (__get_socket): Remove
30558 internal_function.
30559 * sunrpc/auth_des.c (synchronize): Likewise.
30560 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
30561 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30562 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30563 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30564 (key_call): Likewise.
30565 * sunrpc/pm_getport.c (__get_socket): Likewise.
30566 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30567 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30568 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30569 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30570 (invalidate): Likewise.
30571 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30572 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30573 (set_input_fragment, get_input_bytes): Likewise.
30574
30575 2017-08-31 Florian Weimer <fweimer@redhat.com>
30576
30577 * malloc/malloc.c (_int_free): Remove locked variable and related
30578 asserts.
30579
30580 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30581
30582 [BZ #22051]
30583 * Makerules (build-module-helper-objlist): Filter out
30584 $(elf-objpfx)sofini.os.
30585 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30586 needed.
30587
30588 2017-08-31 Florian Weimer <fweimer@redhat.com>
30589
30590 * libio/fcloseall.c: Assume weak_alias is defined.
30591 * libio/feof.c: Likewise.
30592 * libio/fileno.c: Likewise.
30593 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30594 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30595 definitions.
30596 (_IO_file_open): Call __open directly.
30597 (_IO_new_file_sync): Assume ESPIPE is defined.
30598 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30599 (_IO_new_file_write): Call __write directly.
30600 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30601 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30602 * libio/genops.c: Assume _LIBC is defined.
30603 (save_for_backup): Remove internal_function.
30604 * libio/getc.c: Assume weak_alias is defined.
30605 * libio/getwc.c: Likewise.
30606 * libio/iofclose.c: Assume _LIBC is defined.
30607 * libio/iofdopen.c: Likewise.
30608 (_IO_fcntl): Remove macro definition.
30609 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30610 Call __fcntl directly.
30611 * libio/iofflush.c: Assume weak_alias is defined.
30612 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30613 defined.
30614 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30615 * libio/iofgets.c: Likewise.
30616 * libio/iofopen.c: Assume _LIBC is defined.
30617 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30618 * libio/iofputs.c: Assume weak_alias is defined.
30619 * libio/iofread.c: Likewise.
30620 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30621 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30622 * libio/ioftell.c: Assume weak_alias is defined.
30623 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30624 * libio/iofwide.c: Assume _LIBC is defined.
30625 (_IO_fwide): Drop SHARED conditional because it is implied by
30626 SHLIB_COMPAT.
30627 * libio/iofwrite.c: Assume weak_alias is defined.
30628 * libio/iogetdelim.c: Likewise.
30629 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30630 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30631 (_IO_getwline): Call __wmemcpy directly.
30632 * libio/iopopen.c: Assume _LIBC is defined.
30633 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30634 (_IO_close): Remove macro definitions.
30635 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30636 _exit directly.
30637 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30638 directly.
30639 * libio/ioputs.c: Assume weak_alias is defined.
30640 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30641 * libio/iosetbuffer.c: Assume weak_alias is defined.
30642 * libio/iosetvbuf.c: Likewise.
30643 * libio/ioungetc.c: Likewise.
30644 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30645 libc_hidden_def, libc_hidden_weak, NULL are defined.
30646 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30647 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30648 defined.
30649 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30650 definitions.
30651 (_IO_old_file_init_internal): Drop SHARED conditional because it
30652 is implied by SHLIB_COMPAT.
30653 (_IO_old_file_fopen): Call __open directly.
30654 (_IO_old_file_sync): Assume ESPIPE is defined.
30655 (_IO_old_file_write): Call __write directly.
30656 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30657 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30658 Call __fcntl directly.
30659 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30660 (_IO_old_fgetpos): Assume EIO is defined.
30661 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30662 (_IO_old_fgetpos64): Assume EIO is defined.
30663 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30664 (_IO_old_fsetpos): Assume EIO is defined.
30665 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30666 (_IO_old_fsetpos64): Assume EIO is defined.
30667 * libio/oldiopopen.c: Assume _LIBC is defined.
30668 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30669 (_IO_close): Remove macro definitions.
30670 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30671 directly.
30672 (_IO_old_proc_close): Call __close, __waitpid directly.
30673 * libio/put.c: Assume weak_alias is defined.
30674 * libio/stdfiles.c: Assume _LIBC is defined.
30675 * libio/stdio.c: Likewise.
30676 * libio/wfileops.c: Likewise.
30677 (_IO_wfile_sync): Assume ESPIPE is defined.
30678 * libio/wgenops.c: Assume _LIBC is defined.
30679 (save_for_wbackup): Remove internal_function.
30680
30681 2017-08-31 Florian Weimer <fweimer@redhat.com>
30682
30683 * malloc/malloc.c (top_check): Change return type to void. Remove
30684 internal_function.
30685 * malloc/hooks.c (top_check): Likewise.
30686 (malloc_check, realloc_check, memalign_check): Adjust.
30687
30688 2017-08-30 Joseph Myers <joseph@codesourcery.com>
30689
30690 [BZ #21457]
30691 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30692 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30693 sigcontext and namespace requirements.
30694 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30695 * sysdeps/m68k/sys/ucontext.h: Likewise.
30696 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30697 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30698 <bits/sigcontext.h>.
30699 (__ctx): Define earlier.
30700 (mcontext_t): Define structure contents rather than using struct
30701 sigcontext.
30702 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30703 __glibc_reserved1 instead of __reserved.
30704 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30705 <bits/sigcontext.h>.
30706 (__ctx): Define earlier.
30707 (mcontext_t): Define structure contents rather than using struct
30708 sigcontext.
30709 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30710 mcontext_t instead of struct sigcontext.
30711 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30712 <bits/sigcontext.h>.
30713 (__ctx): Define earlier.
30714 (mcontext_t): Define structure contents rather than using struct
30715 sigcontext.
30716 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30717 <bits/sigcontext.h>.
30718 (__ctx): Define earlier.
30719 (mcontext_t): Define structure contents rather than using struct
30720 sigcontext.
30721 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30722 mcontext_t instead of struct sigcontext.
30723 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30724 mcontext_t instead of struct sigcontext.
30725 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30726 <bits/sigcontext.h>.
30727 (__ctx): New macro.
30728 (struct __ia64_fpreg_mcontext): New type.
30729 (mcontext_t): Define structure contents rather than using struct
30730 sigcontext.
30731 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30732 (uc_sigmask): Define using __ctx.
30733 (uc_stack): Likewise.
30734 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30735 <bits/sigcontext.h>.
30736 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30737 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30738 <bits/sigcontext.h>.
30739 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30740 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30741 <bits/sigcontext.h>.
30742 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30743 <bits/sigcontext.h>.
30744 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30745 <bits/sigcontext.h>.
30746 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30747 <bits/sigcontext.h>.
30748 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30749 <bits/sigcontext.h>.
30750 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30751 <bits/sigcontext.h>.
30752 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30753 <bits/sigcontext.h>.
30754 (__ctx): Define earlier.
30755 (mcontext_t): Define structure contents rather than using struct
30756 sigcontext.
30757 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30758 <bits/sigcontext.h>. Include <bits/types.h>.
30759 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30760 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30761 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30762 (test-xfail-UNIX98/signal.h/conform): Likewise.
30763 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30764 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30765 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30766 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30767 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30768 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30769 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30770 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30771 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30772
30773 2017-08-30 Florian Weimer <fweimer@redhat.com>
30774
30775 * malloc/dynarray_emplace_enlarge.c
30776 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30777 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30778 * malloc/tst-dynarray.c (test_long_overflow): New function.
30779 (do_test): Call it.
30780
30781 2017-08-30 Florian Weimer <fweimer@redhat.com>
30782
30783 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30784 (set_arena_corrupt): Remove definitions.
30785 (mtrim): Do not check for corrupt arena.
30786 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30787 Likewise.
30788
30789 2017-08-30 Florian Weimer <fweimer@redhat.com>
30790
30791 [BZ #21754]
30792 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30793 check_action.
30794 (ptmalloc_init): Do not set or use check_action.
30795 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30796 call to malloc_printerr. Remove return statement.
30797 (free_check): Likewise. Remove arena unlock.
30798 (top_check): Update comment. Adjust call to malloc_printerr.
30799 Remove heap repair code.
30800 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30801 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30802 (sysmalloc): Adjust call to malloc_printerr.
30803 (munmap_chunk, __libc_realloc): Likewise. Remove return
30804 statement.
30805 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30806 Remove errout label and corresponding gotos.
30807 (_int_free): Likewise. Remove arena unlock.
30808 (do_set_mallopt_check): Do not set check_action.
30809 (malloc_printerr): Adjust parameter list. Do not mark arena as
30810 corrupt.
30811 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30812 comment.
30813 * manual/probes.texi (Memory Allocation Probes): Remove
30814 memory_mallopt_check_action.
30815
30816 2017-08-30 Steve Ellcey <sellcey@cavium.com>
30817
30818 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30819 Use pointer to uint64_t instead of long int for sp.
30820
30821 2017-08-30 Florian Weimer <fweimer@redhat.com>
30822
30823 [BZ #21754]
30824 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30825 without printing a backtrace. Do not leak any information in the
30826 error message.
30827 * manual/memory.texi (Heap Consistency Checking): Update.
30828 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30829
30830 2017-08-30 Florian Weimer <fweimer@redhat.com>
30831
30832 Do not scale NPTL tests with available number of CPUs.
30833 * nptl/tst-cond16.c (count): Set to constant value of 8.
30834 * nptl/tst-cond18.c (count): Likewise.
30835
30836 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30837
30838 [BZ #22035]
30839 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30840 Define to take a second argument that is a macro that
30841 concatentates a suffix, not the suffix itself.
30842 (__CONCAT_d): New macro.
30843 (__CONCAT_f): Likewise.
30844 (__CONCAT_l): Likewise.
30845
30846 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30847
30848 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30849 by child.
30850
30851 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30852 Aurelien Jarno <aurelien@aurel32.net>
30853 Maciej W. Rozycki <macro@imgtec.com>
30854
30855 [BZ #21956]
30856 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30857 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30858 `mips16-syscall6' and `mips16-syscall7'.
30859 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30860 (CFLAGS-mips16-syscall7.c): Remove.
30861 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30862 Remove `__mips16_syscall5', `__mips16_syscall6' and
30863 `__mips16_syscall7'.
30864 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30865 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30866 `__mips_syscall_return'.
30867 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30868 (__mips16_syscall1): Likewise.
30869 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30870 (__mips16_syscall2): Likewise.
30871 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30872 (__mips16_syscall3): Likewise.
30873 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30874 (__mips16_syscall4): Likewise.
30875 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30876 Remove.
30877 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30878 Remove.
30879 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30880 Remove.
30881 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30882 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30883 `__mips16_syscall5'. Remove prototype.
30884 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30885 `__mips16_syscall6'. Remove prototype.
30886 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30887 `__mips16_syscall7'. Remove prototype.
30888 (__nomips16, __mips16_syscall_return): Move to...
30889 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30890 (__nomips16, __mips_syscall_return): ... here.
30891 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30892 `__mips16_syscall_return' to `__mips_syscall_return'.
30893 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30894 `internal_syscall##nr'.
30895 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30896 `internal_syscall##nr'.
30897 (FORCE_FRAME_POINTER): Remove.
30898 (__mips_syscall5): New prototype.
30899 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30900 (__mips_syscall6): New prototype.
30901 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30902 (__mips_syscall7): New prototype.
30903 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30904 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30905 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30906 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30907 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30908 (sysdep_routines): Add libc-do-syscall.
30909 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30910 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30911
30912 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30913
30914 [BZ #21672]
30915 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30916 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30917 (advise_stack_range): New function.
30918 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30919 stack non required to advise_stack_range at allocatestack.c
30920
30921 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30922
30923 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30924
30925 2017-08-29 Florian Weimer <fweimer@redhat.com>
30926
30927 [BZ #22026]
30928 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30929 __end_fct. Mangle __end_fct after setting it to NULL.
30930 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30931 (modules-names, modules-names-tests): Add
30932 tst-gconv-init-failure-mod.
30933 (gconv-modules): New target.
30934 (tst-gconv-init-failure-mod.so): Link against libsupport.
30935 (tst-gconv-init-failure): Depend on gconv-modules,
30936 tst-gconv-init-failure-mod.so.
30937 * iconv/tst-gconv-init-failure-mod.c: New file.
30938 * iconv/tst-gconv-init-failure.c: Likewise.
30939 * iconv/test-gconv-modules: Likewise.
30940
30941 2017-08-29 Florian Weimer <fweimer@redhat.com>
30942
30943 [BZ #22025]
30944 * iconv/gconv_db.c (free_derivation): Remove redundant
30945 parentheses.
30946 (gen_steps): Unconditionally mangle __btowc_fct after
30947 initialization.
30948 (increment_counter): Likewise. Do not call init_fct for internal
30949 modules.
30950
30951 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30952
30953 [BZ #22028]
30954 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30955 (_MSUF_): Remove macro.
30956 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30957 Likewise.
30958 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30959 (__REDIRFROM_X): New macro.
30960 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30961 Likewise.
30962 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30963 (__REDIRTO_X): Likewise.
30964 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30965 arguments.
30966 (__MATH_REDIRCALL_2): Likewise.
30967 (__MATH_REDIRCALL_INTERNAL): Likewise.
30968 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30969 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30970 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30971 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30972 * math/test-finite-macros.c: New file.
30973 * math/Makefile (tests): Add test-finite-macros.
30974 (CFLAGS-test-finite-macros.c): New variable.
30975
30976 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
30977 Jeff Law <law@redhat.com>
30978
30979 [BZ #22025]
30980 Mangle NULL pointers in iconv/gconv.
30981 * iconv/gconv_cache.c (find_module): Demangle init_fct before
30982 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
30983 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
30984 is non-NULL before demangling the end_fct. Check for NULL
30985 end_fct after demangling.
30986 (__gconv_release_step): Demangle the end_fct before checking
30987 it for NULL. Remove assert on __shlibc_handle != NULL.
30988 (gen_steps): Don't check btowc_fct for NULL before mangling.
30989 Demangle init_fct before checking for NULL.
30990 (increment_counter): Likewise.
30991 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
30992 end_fct for NULL before mangling.
30993 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
30994 for NULL.
30995
30996 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
30997
30998 [BZ #21971]
30999 * locale/iso-639.def: add Morisyen.
31000
31001 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31002
31003 [BZ #21930]
31004 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31005 (iszero): New C++ implementation that does not use
31006 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31007 signaling nans are enabled, since __builtin_types_compatible_p
31008 is a C-only feature.
31009 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31010 defined, include ieee754_float128.h for access to the union and
31011 member ieee854_float128.ieee.
31012 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31013 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31014 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31015 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31016 options of test-math-zero on powerpc64le.
31017
31018 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31019
31020 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31021 Change double to float.
31022
31023 2017-08-28 Joseph Myers <joseph@codesourcery.com>
31024
31025 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31026 unconditional.
31027 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31028 conditional code; define contents only for [LIBM_SVID_COMPAT].
31029
31030 2017-08-28 Florian Weimer <fweimer@redhat.com>
31031
31032 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31033 (abi-lp64_be-options): Remove.
31034 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31035 (abi-hard-options): Likewise.
31036 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31037 (abi-o32_hard-options, abi-o32_soft_2008-options)
31038 (abi-o32_hard_2008-options, abi-n32_soft-options)
31039 (abi-n32_hard-options, abi-n32_soft_2008-options)
31040 (abi-n32_hard_2008-options, abi-n64_soft-options)
31041 (abi-n64_hard-options, abi-n64_soft_2008-options)
31042 (abi-n64_hard_2008-options): Likewise.
31043 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31044 (abi-64-v1-options, abi-64-v2-options): Likewise.
31045 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31046 (abi-64-options): Likewise.
31047 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31048 (abi-64-options): Likewise.
31049 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31050 (abi-64-options): Likewise.
31051 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31052 (abi-64-options, abi-x32-options): Likewise.
31053
31054 2017-08-28 Florian Weimer <fweimer@redhat.com>
31055
31056 Store supported list of SYS_* system calls in the source tree.
31057 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31058 (bits/syscall.h): Generate from list file.
31059 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31060 [$(subdir) = misc] (tests): Add tst-syscall-list.
31061 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31062 [$(subdir) = misc] (tst-syscall-list-macros.list)
31063 [$(subdir) = misc] (tst-syscall-list-nr.list)
31064 (tst-syscall-list-sys.list): Helper targets for new
31065 tst-syscall-list test.
31066 [$(subdir) = misc] (tst-syscall-list.out): Run test script
31067 tst-syscall-list.sh.
31068 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
31069 target. Do not include bits/syscall.d.
31070 [$(subdir) = misc] (generated): Do not update.
31071 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
31072 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
31073 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
31074 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
31075
31076 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31077
31078 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
31079 (tst-cxa_atexit, tst-on_exit): Likewise.
31080 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
31081 tst-cxa_atexit, and tst-on_exit.
31082 * stdlib/tst-atexit-common.c: New file.
31083 * stdlib/tst-atexit.c: New file.
31084 * stdlib/tst-at_quick_exit.c: New file.
31085 * stdlib/tst-cxa_atexit.c: New file.
31086 * stdlib/tst-on_exit.c: New file.
31087
31088 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31089
31090 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
31091 * mach/stack_chk_fail_local.c: New file.
31092 * hurd/stack_chk_fail_local.c: New file.
31093 * mach/Machrules ($(interface-library)-routines): Add
31094 stack_chk_fail_local.
31095 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
31096 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
31097 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
31098 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
31099 * hurd/Makefile (CFLAGS-hurdstartup.o,
31100 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
31101
31102 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
31103
31104 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31105 (index_cpu_*, index_arch_*): Removed.
31106
31107 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31108
31109 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
31110 Use uint64_t instead of unsigned long.
31111
31112 2017-08-25 Joseph Myers <joseph@codesourcery.com>
31113
31114 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
31115 [__HAVE_DISTINCT_FLOAT128].
31116
31117 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
31118 of <bits/math-finite.h>.
31119 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
31120 inclusion of <bits/math-finite.h>.
31121 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31122 conditionally on [__MATH_DECLARING_LDOUBLE && defined
31123 __NO_LONG_DOUBLE_MATH].
31124 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
31125 (__MATH_REDIRCALL_2): Likewise.
31126 (__MATH_REDIRCALL_INTERNAL): Likewise.
31127 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31128 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
31129 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31130
31131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
31132 Remove file.
31133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
31134 Likewise.
31135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
31136 Likewise.
31137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
31138 Likewise.
31139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
31140 Likewise.
31141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
31142 Likewise.
31143 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31144 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31145 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31146 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31148 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31149 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31150 w_sqrtf_compat-ppc32.
31151
31152 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31153
31154 * math/math.h [defined __cplusplus] (issignaling): In the long
31155 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31156 is not defined. Call __issignaling, otherwise.
31157
31158 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31159
31160 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31161 syscall definitions and replace __builtin_expect with __glibc_likely.
31162 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31163 syscall.
31164 (SYSCALL_CANCELLABLE): Removedefinition
31165 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31166 definition.
31167 (PSEUDO_END): Likewise.
31168 [IS_IN (libpthread)] (CENABLE): Likewise.
31169 [IS_IN (libpthread)] (CDISABLE): Likewise.
31170 [IS_IN (libc)] (CENABLE): Likewise.
31171 [IS_IN (libc)] (CENABLE): Likewise.
31172 [IS_IN (librt)] (CDISABLE): Likewise.
31173 [IS_IN (librt)] (CDISABLE): Likewise.
31174 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31175 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31176 definition.
31177 (PSEUDO_END): Likewise.
31178 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31179 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31180 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31181 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31182 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31183 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31184 (CENABLE): Likewise.
31185 (CDISABLE): Likewise.
31186 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31187 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31188 defintion.
31189 (PSEUDO_END): Likewise.
31190 [IS_IN (libpthread)] (CENABLE): Likewise.
31191 [IS_IN (libpthread)] (CDISABLE): Likewise.
31192 [IS_IN (libc)] (CENABLE): Likewise.
31193 [IS_IN (libc)] (CENABLE): Likewise.
31194 [IS_IN (librt)] (CDISABLE): Likewise.
31195 [IS_IN (librt)] (CDISABLE): Likewise.
31196 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31197 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31198 definition.
31199 (PSEUDO_END): Likewise.
31200 [IS_IN (libpthread)] (CENABLE): Likewise.
31201 [IS_IN (libpthread)] (CDISABLE): Likewise.
31202 [IS_IN (libc)] (CENABLE): Likewise.
31203 [IS_IN (libc)] (CENABLE): Likewise.
31204 [IS_IN (librt)] (CDISABLE): Likewise.
31205 [IS_IN (librt)] (CDISABLE): Likewise.
31206 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31207 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31208 definition.
31209 (PSEUDO_END): Likewise.
31210 [IS_IN (libpthread)] (CENABLE): Likewise.
31211 [IS_IN (libpthread)] (CDISABLE): Likewise.
31212 [IS_IN (libc)] (CENABLE): Likewise.
31213 [IS_IN (libc)] (CENABLE): Likewise.
31214 [IS_IN (librt)] (CDISABLE): Likewise.
31215 [IS_IN (librt)] (CDISABLE): Likewise.
31216 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31217 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31218 definition.
31219 (PSEUDO_END): Likewise.
31220 [IS_IN (libpthread)] (CENABLE): Likewise.
31221 [IS_IN (libpthread)] (CDISABLE): Likewise.
31222 [IS_IN (libc)] (CENABLE): Likewise.
31223 [IS_IN (libc)] (CENABLE): Likewise.
31224 [IS_IN (librt)] (CDISABLE): Likewise.
31225 [IS_IN (librt)] (CDISABLE): Likewise.
31226 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31227 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31228 definition.
31229 (PSEUDO_END): Likewise.
31230 [IS_IN (libpthread)] (CENABLE): Likewise.
31231 [IS_IN (libpthread)] (CDISABLE): Likewise.
31232 [IS_IN (libc)] (CENABLE): Likewise.
31233 [IS_IN (libc)] (CENABLE): Likewise.
31234 [IS_IN (librt)] (CDISABLE): Likewise.
31235 [IS_IN (librt)] (CDISABLE): Likewise.
31236 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31237 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
31238 definition.
31239 (PSEUDO_END): Likewise.
31240 [IS_IN (libpthread)] (CENABLE): Likewise.
31241 [IS_IN (libpthread)] (CDISABLE): Likewise.
31242 [IS_IN (libc)] (CENABLE): Likewise.
31243 [IS_IN (libc)] (CENABLE): Likewise.
31244 [IS_IN (librt)] (CDISABLE): Likewise.
31245 [IS_IN (librt)] (CDISABLE): Likewise.
31246 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31247 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
31248 Remove definition.
31249 (PSEUDO_END): Likewise.
31250 [IS_IN (libpthread)] (CENABLE): Likewise.
31251 [IS_IN (libpthread)] (CDISABLE): Likewise.
31252 [IS_IN (libc)] (CENABLE): Likewise.
31253 [IS_IN (libc)] (CENABLE): Likewise.
31254 [IS_IN (librt)] (CDISABLE): Likewise.
31255 [IS_IN (librt)] (CDISABLE): Likewise.
31256 (SINGLE_THREAD_P): Likewise.
31257 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31258 definition.
31259 (PSEUDO_END): Likewise.
31260 [IS_IN (libpthread)] (CENABLE): Likewise.
31261 [IS_IN (libpthread)] (CDISABLE): Likewise.
31262 [IS_IN (libc)] (CENABLE): Likewise.
31263 [IS_IN (libc)] (CENABLE): Likewise.
31264 [IS_IN (librt)] (CDISABLE): Likewise.
31265 [IS_IN (librt)] (CDISABLE): Likewise.
31266 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31267 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31268 definition.
31269 (PSEUDO_END): Likewise.
31270 [IS_IN (libpthread)] (CENABLE): Likewise.
31271 [IS_IN (libpthread)] (CDISABLE): Likewise.
31272 [IS_IN (libc)] (CENABLE): Likewise.
31273 [IS_IN (libc)] (CENABLE): Likewise.
31274 [IS_IN (librt)] (CDISABLE): Likewise.
31275 [IS_IN (librt)] (CDISABLE): Likewise.
31276 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31277 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31278 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31279 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31280 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
31281 definition.
31282 (PSEUDO_END): Likewise.
31283 [IS_IN (libpthread)] (CENABLE): Likewise.
31284 [IS_IN (libpthread)] (CDISABLE): Likewise.
31285 [IS_IN (libc)] (CENABLE): Likewise.
31286 [IS_IN (libc)] (CENABLE): Likewise.
31287 [IS_IN (librt)] (CDISABLE): Likewise.
31288 [IS_IN (librt)] (CDISABLE): Likewise.
31289 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31290 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
31291 definition.
31292 (PSEUDO_END): Likewise.
31293 [IS_IN (libpthread)] (CENABLE): Likewise.
31294 [IS_IN (libpthread)] (CDISABLE): Likewise.
31295 [IS_IN (libc)] (CENABLE): Likewise.
31296 [IS_IN (libc)] (CENABLE): Likewise.
31297 [IS_IN (librt)] (CDISABLE): Likewise.
31298 [IS_IN (librt)] (CDISABLE): Likewise.
31299 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31300 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
31301 definition.
31302 (PSEUDO_END): Likewise.
31303 [IS_IN (libpthread)] (CENABLE): Likewise.
31304 [IS_IN (libpthread)] (CDISABLE): Likewise.
31305 [IS_IN (libc)] (CENABLE): Likewise.
31306 [IS_IN (libc)] (CENABLE): Likewise.
31307 [IS_IN (librt)] (CDISABLE): Likewise.
31308 [IS_IN (librt)] (CDISABLE): Likewise.
31309 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31310 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
31311 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31312 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
31313 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
31314 definition.
31315 (PSEUDO_END): Likewise.
31316 [IS_IN (libpthread)] (CENABLE): Likewise.
31317 [IS_IN (libpthread)] (CDISABLE): Likewise.
31318 [IS_IN (libc)] (CENABLE): Likewise.
31319 [IS_IN (libc)] (CENABLE): Likewise.
31320 [IS_IN (librt)] (CDISABLE): Likewise.
31321 [IS_IN (librt)] (CDISABLE): Likewise.
31322 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31323 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
31324 definition.
31325 (PSEUDO_END): Likewise.
31326 [IS_IN (libpthread)] (CENABLE): Likewise.
31327 [IS_IN (libpthread)] (CDISABLE): Likewise.
31328 [IS_IN (libc)] (CENABLE): Likewise.
31329 [IS_IN (libc)] (CENABLE): Likewise.
31330 [IS_IN (librt)] (CDISABLE): Likewise.
31331 [IS_IN (librt)] (CDISABLE): Likewise.
31332 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31333
31334 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31335
31336 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
31337
31338 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31339
31340 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31341
31342 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31343
31344 [BZ #21982]
31345 * string/stratcliff.c (do_test): Declare size, nchars, inner,
31346 middle and outer with size_t instead of int. Repleace %d and
31347 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
31348 "MAX (outer, nchars - 64)" to support unsigned outer and
31349 nchars. Also exit loop when outer == 0.
31350
31351 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31352
31353 * include/fcntl.h (__fcntl_nocancel): Remove definition.
31354 * include/signal.h (__sigsuspend_nocancel): Likewise.
31355 * include/time.h (__nanosleep_nocancel): Likewise.
31356 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
31357 * login/utmp_file.c: Include non cancellable syscall header.
31358 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
31359 prototype.
31360
31361 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31362
31363 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
31364 .byte sequences with AVX512F instructions.
31365 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
31366 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
31367 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31368 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
31369 Likewise.
31370 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
31371 Likewise.
31372
31373 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
31374 Steve Ellcey <sellcey@cavium.com>
31375
31376 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
31377 Use PTR_REG macro in cmp instruction.
31378
31379 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31380
31381 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
31382 Change the return type of the ifunc resolver to match the return
31383 type of the target function.
31384
31385 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31386
31387 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
31388 (preadv64): Likewise.
31389 (pwrite64(: Likewise.
31390 (pwritev64): Likewise.
31391
31392 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31393 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
31394 (LOAD_ARGS_0): Likewise.
31395 (LOAD_ARGS_1): Likewise.
31396 (LOAD_ARGS_2): Likewise.
31397 (LOAD_ARGS_3): Likewise.
31398 (LOAD_ARGS_4): Likewise.
31399 (LOAD_ARGS_5): Likewise.
31400 (LOAD_ARGS_6): Likewise.
31401 (LOAD_REGS_0): Likewise.
31402 (LOAD_REGS_1): Likewise.
31403 (LOAD_REGS_2): Likewise.
31404 (LOAD_REGS_3): Likewise.
31405 (LOAD_REGS_4): Likewise.
31406 (LOAD_REGS_5): Likewise.
31407 (LOAD_REGS_6): Likewise.
31408 (ASM_ARGS_0): Likewise.
31409 (ASM_ARGS_1): Likewise.
31410 (ASM_ARGS_2): Likewise.
31411 (ASM_ARGS_3): Likewise.
31412 (ASM_ARGS_4): Likewise.
31413 (ASM_ARGS_5): Likewise.
31414 (ASM_ARGS_6): Likewise.
31415 (LOAD_ARGS_TYPES_1): Likewise.
31416 (LOAD_ARGS_TYPES_2): Likewise.
31417 (LOAD_ARGS_TYPES_3): Likewise.
31418 (LOAD_ARGS_TYPES_4): Likewise.
31419 (LOAD_ARGS_TYPES_5): Likewise.
31420 (LOAD_ARGS_TYPES_6): Likewise.
31421 (LOAD_REGS_TYPES_1): Likewise.
31422 (LOAD_REGS_TYPES_2): Likewise.
31423 (LOAD_REGS_TYPES_3): Likewise.
31424 (LOAD_REGS_TYPES_4): Likewise.
31425 (LOAD_REGS_TYPES_5): Likewise.
31426 (LOAD_REGS_TYPES_6): Likewise.
31427 (TYPEFY): New define.
31428 (ARGIFY): Likewise.
31429 (internal_syscall0): Likewise.
31430 (internal_syscall1): Likewise.
31431 (internal_syscall2): Likewise.
31432 (internal_syscall3): Likewise.
31433 (internal_syscall4): Likewise.
31434 (internal_syscall5): Likewise.
31435 (internal_syscall6): Likewise.
31436 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
31437 (INTERNAL_SYSCALL_NCS): Remove define.
31438 (internal_syscall1): Add define.
31439
31440 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31441
31442 * math/w_remainder_compat.c: Remove duplicate inclusion of
31443 math-svid-compat.h.
31444 * math/w_remainderf_compat.c: Likewise.
31445 * math/w_remainderl_compat.c: Likewise.
31446
31447 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31448
31449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31450
31451 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31452
31453 [BZ #21684]
31454 * math/tgmath.h (__floating_type): Simplify definitions.
31455 (__real_integer_type): New macro.
31456 (__complex_integer_type): Likewise.
31457 (__expr_is_real): Likewise.
31458 (__tgmath_real_type_sub): Update comment to describe handling of
31459 complex types.
31460 (__tgmath_complex_type_sub): New macro.
31461 (__tgmath_complex_type): Likewise.
31462 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31463 (__TGMATH_CF128): Use __expr_is_real.
31464 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
31465 __expr_is_real.
31466 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31467 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
31468 * math/gen-tgmath-tests.py (Type.create_type): Create complex
31469 integer types.
31470
31471 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31472
31473 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
31474 macro.
31475 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
31476 alias.
31477 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
31478 Likewise.
31479
31480 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
31481 nanosleep_not_cancel with __nanosleep_nocancel.
31482 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
31483 (__nanosleep_nocancel): New macro.
31484 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
31485 function.
31486 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
31487 macro.
31488 (__nanosleep_nocancel): New prototype.
31489
31490 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
31491 pause_not_cancel with __pause_nocancel.
31492 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
31493 (__pause_nocancel): New macro.
31494 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
31495 macro.
31496 (__pause_nocancel): New prototype.
31497 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
31498
31499 2017-08-22 Martin Sebor <msebor@redhat.com>
31500
31501 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
31502 to return a pointer to the same type as the target function.
31503
31504 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31505
31506 [BZ #18822]
31507 [BZ #21986]
31508 * include/printf.h (__printf_fphex): Add attribute_hidden.
31509 (__guess_grouping): New prototype.
31510 * stdio-common/printf_fp.c (__guess_grouping): Removed.
31511 * stdio-common/reg-printf.c (__register_printf_specifier): Add
31512 libc_hidden_proto and libc_hidden_def.
31513 * stdlib/strfmon_l.c (__guess_grouping): Removed.
31514 (__vstrfmon_l): Remove the third argument passed to
31515 __guess_grouping.
31516
31517 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31518
31519 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
31520 definition for issignaling that does not rely on __MATH_TG,
31521 since __MATH_TG uses __builtin_types_compatible_p, which is only
31522 available in C mode.
31523 (CFLAGS-test-math-issignaling.cc): New variable.
31524 * math/Makefile [CXX] (tests): Add test-math-issignaling.
31525 * math/test-math-issignaling.cc: New test for C++ implementation
31526 of type-generic issignaling.
31527 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31528 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
31529 options of test-math-issignaling on powerpc64le.
31530
31531 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31532
31533 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31534 building libc.a.
31535 (hidden_proto): Likewise.
31536 (hidden_tls_proto): Likewise.
31537 (__hidden_proto): Likewise.
31538
31539 2017-08-22 Florian Weimer <fweimer@redhat.com>
31540
31541 math: Statically link tests of internal functionality.
31542 * math/Makefile (tests): Remove atest-exp, atest-sincos,
31543 atest-exp2.
31544 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
31545 (gmp-objs): Remove assignment.
31546 (atest-exp, atest-sincos, atest-exp2): Remove targets.
31547
31548 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31549
31550 [BZ #21987]
31551 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
31552 and copy to ...
31553 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
31554 ... here.
31555 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
31556 ... and here.
31557
31558 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
31559 variable definitions above inclusion of ../Rules.
31560
31561 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31562
31563 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31564 case calling __builtin_unreachable.
31565
31566 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31567
31568 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31569 __waitpid_nocancel.
31570 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31571 (__waitpid_nocancel): New macro.
31572 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31573 macro.
31574 (__waitpid_nocancel): Replace macro with a function.
31575 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31576 function.
31577
31578 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31579 __fcntl_nocancel.
31580 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31581 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31582
31583 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31584 __writev_nocancel_nostatus.
31585 (write_call_graph): Likewise.
31586 (write_bb_counts): Likewise.
31587 * resolv/herror.c (herror): Likewise.
31588 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31589 macro.
31590 (__writev_nocancel_nostatus): New macro.
31591 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31592 Remove macro.
31593 (__writev_nocancel_nostatus): New function.
31594
31595 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31596
31597 Revert:
31598 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31599
31600 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31601 building libc.a.
31602 (hidden_proto): Likewise.
31603 (hidden_tls_proto): Likewise.
31604 (__hidden_proto): Likewise.
31605
31606 [BZ #21973]
31607 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31608 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31610 Likewise.
31611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31612 Likewise.
31613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31614 Likewise.
31615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31616 Likewise.
31617 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31618 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31619 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31620 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31621 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31622 GLIBC_2.0 sqrtl symbol.
31623
31624 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31625 [__USE_MISC] (_LIB_VERSION): Likewise.
31626 [__USE_MISC] (struct exception): Likewise.
31627 [__USE_MISC] (matherr): Likewise.
31628 [__USE_MISC] (DOMAIN): Likewise.
31629 [__USE_MISC] (SING): Likewise.
31630 [__USE_MISC] (OVERFLOW): Likewise.
31631 [__USE_MISC] (UNDERFLOW): Likewise.
31632 [__USE_MISC] (TLOSS): Likewise.
31633 [__USE_MISC] (PLOSS): Likewise.
31634 [__USE_MISC] (HUGE): Likewise.
31635 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31636 * math/math-svid-compat.h: New file.
31637 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31638 and matherrl.
31639 * include/math.h [!_ISOMAC] (__matherr): Remove.
31640 * manual/arith.texi (FP Exceptions): Do not document matherr.
31641 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31642 (tests-internal): New variable.
31643 (install-lib): Do not add libieee.a.
31644 (non-lib.a): Likewise.
31645 (extra-objs): Do not add libieee.a and ieee-math.o.
31646 (CPPFLAGS-s_lib_version.c): Remove variable.
31647 ($(objpfx)libieee.a): Remove rule.
31648 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31649 * math/ieee-math.c: Remove.
31650 * math/libm-test-support.c (matherr): Remove.
31651 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31652 and license notices. Include <math-svid-compat.h> and
31653 <shlib-compat.h>.
31654 (matherr): Undefine as macro. Use compat_symbol_reference.
31655 (_LIB_VERSION): Likewise.
31656 * math/test-matherr-2.c: New file.
31657 * math/test-matherr-3.c: Likewise.
31658 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31659 declaration.
31660 (__kernel_standard_f): Likewise.
31661 (__kernel_standard_l): Likewise.
31662 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31663 <math_private.h>. Include <math-svid-compat.h>.
31664 (_LIB_VERSION): Undefine as macro.
31665 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31666 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31667 [LIBM_SVID_COMPAT], use compat_symbol.
31668 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31669 <math_private.h>. Include <math-svid-compat.h>.
31670 (matherr): Undefine as macro.
31671 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31672 compat_symbol.
31673 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31674 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31675 compat_symbol_reference.
31676 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31677 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31678 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31679 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31680 (MATHERR_D): Remove declaration.
31681 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31682 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31683 [LIBM_BUILD] (pmatherrf): Likewise.
31684 [LIBM_BUILD] (pmatherr): Likewise.
31685 [LIBM_BUILD] (pmatherrl): Likewise.
31686 (DOMAIN): Likewise.
31687 (SING): Likewise.
31688 (OVERFLOW): Likewise.
31689 (UNDERFLOW): Likewise.
31690 (TLOSS): Likewise.
31691 (PLOSS): Likewise.
31692 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31693 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31694 compat_symbol.
31695 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31696 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31697 compat_symbol.
31698 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31699 * math/w_acos_compat.c: Likewise.
31700 * math/w_acosf_compat.c: Likewise.
31701 * math/w_acosh_compat.c: Likewise.
31702 * math/w_acoshf_compat.c: Likewise.
31703 * math/w_acoshl_compat.c: Likewise.
31704 * math/w_acosl_compat.c: Likewise.
31705 * math/w_asin_compat.c: Likewise.
31706 * math/w_asinf_compat.c: Likewise.
31707 * math/w_asinl_compat.c: Likewise.
31708 * math/w_atan2_compat.c: Likewise.
31709 * math/w_atan2f_compat.c: Likewise.
31710 * math/w_atan2l_compat.c: Likewise.
31711 * math/w_atanh_compat.c: Likewise.
31712 * math/w_atanhf_compat.c: Likewise.
31713 * math/w_atanhl_compat.c: Likewise.
31714 * math/w_cosh_compat.c: Likewise.
31715 * math/w_coshf_compat.c: Likewise.
31716 * math/w_coshl_compat.c: Likewise.
31717 * math/w_exp10_compat.c: Likewise.
31718 * math/w_exp10f_compat.c: Likewise.
31719 * math/w_exp10l_compat.c: Likewise.
31720 * math/w_exp2_compat.c: Likewise.
31721 * math/w_exp2f_compat.c: Likewise.
31722 * math/w_exp2l_compat.c: Likewise.
31723 * math/w_fmod_compat.c: Likewise.
31724 * math/w_fmodf_compat.c: Likewise.
31725 * math/w_fmodl_compat.c: Likewise.
31726 * math/w_hypot_compat.c: Likewise.
31727 * math/w_hypotf_compat.c: Likewise.
31728 * math/w_hypotl_compat.c: Likewise.
31729 * math/w_j0_compat.c: Likewise.
31730 * math/w_j0f_compat.c: Likewise.
31731 * math/w_j0l_compat.c: Likewise.
31732 * math/w_j1_compat.c: Likewise.
31733 * math/w_j1f_compat.c: Likewise.
31734 * math/w_j1l_compat.c: Likewise.
31735 * math/w_jn_compat.c: Likewise.
31736 * math/w_jnf_compat.c: Likewise.
31737 * math/w_jnl_compat.c: Likewise.
31738 * math/w_lgamma_main.c: Likewise.
31739 * math/w_lgamma_r_compat.c: Likewise.
31740 * math/w_lgammaf_main.c: Likewise.
31741 * math/w_lgammaf_r_compat.c: Likewise.
31742 * math/w_lgammal_main.c: Likewise.
31743 * math/w_lgammal_r_compat.c: Likewise.
31744 * math/w_log10_compat.c: Likewise.
31745 * math/w_log10f_compat.c: Likewise.
31746 * math/w_log10l_compat.c: Likewise.
31747 * math/w_log2_compat.c: Likewise.
31748 * math/w_log2f_compat.c: Likewise.
31749 * math/w_log2l_compat.c: Likewise.
31750 * math/w_log_compat.c: Likewise.
31751 * math/w_logf_compat.c: Likewise.
31752 * math/w_logl_compat.c: Likewise.
31753 * math/w_pow_compat.c: Likewise.
31754 * math/w_powf_compat.c: Likewise.
31755 * math/w_powl_compat.c: Likewise.
31756 * math/w_remainder_compat.c: Likewise.
31757 * math/w_remainderf_compat.c: Likewise.
31758 * math/w_remainderl_compat.c: Likewise.
31759 * math/w_scalb_compat.c: Likewise.
31760 * math/w_scalbf_compat.c: Likewise.
31761 * math/w_scalbl_compat.c: Likewise.
31762 * math/w_sinh_compat.c: Likewise.
31763 * math/w_sinhf_compat.c: Likewise.
31764 * math/w_sinhl_compat.c: Likewise.
31765 * math/w_sqrt_compat.c: Likewise.
31766 * math/w_sqrtf_compat.c: Likewise.
31767 * math/w_sqrtl_compat.c: Likewise.
31768 * math/w_tgamma_compat.c: Likewise.
31769 * math/w_tgammaf_compat.c: Likewise.
31770 * math/w_tgammal_compat.c: Likewise.
31771 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31772 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31773 * sysdeps/ieee754/k_standard.c: Likewise.
31774 * sysdeps/ieee754/k_standardf.c: Likewise.
31775 * sysdeps/ieee754/k_standardl.c: Likewise.
31776 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31777 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31778 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31779 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31780 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31781 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31782 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31783 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31784 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31786 Likewise.
31787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31788 Likewise.
31789 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31790 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31791 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31792 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31793
31794 2017-08-21 Florian Weimer <fweimer@redhat.com>
31795
31796 [BZ #21864]
31797 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31798 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31799 Move before inclusion of ../Rules.
31800
31801 2017-08-21 Florian Weimer <fweimer@redhat.com>
31802
31803 [BZ #21972]
31804 * assert/assert.h (assert): Use static_cast (bool) for C++.
31805 Use the ternary operator in the warning branch for GNU C.
31806 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31807 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31808 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31809 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31810 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31811
31812 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31813
31814 [BZ #18822]
31815 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31816 (__syscall_clock_gettime): Add attribute_hidden.
31817 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31818 (__start_context): Likewise.
31819
31820 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31821
31822 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31823 building libc.a.
31824 (hidden_proto): Likewise.
31825 (hidden_tls_proto): Likewise.
31826 (__hidden_proto): Likewise.
31827
31828 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31829
31830 * include/libc-symbols.h (attribute_hidden): Enable hidden
31831 visibility in libc.a compiled with PIE.
31832
31833 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31834
31835 [BZ #18822]
31836 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31837 Add attribute_hidden.
31838
31839 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31840
31841 [BZ #21864]
31842 * Makerules (all-nonlib): Add $(others-extras).
31843 * catgets/Makefile (others-extras): New.
31844 * elf/Makefile (others-extras): Likewise.
31845 * nss/Makefile (others-extras): Likewise.
31846
31847 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31848
31849 [BZ #18822]
31850 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31851 * elf/dl-open.c: Include <libc-internal.h>.
31852 (__libc_multiple_libcs): Removed.
31853 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31854 <hp-timing.h>.
31855 * include/libc-internal.h (__libc_multiple_libcs): New.
31856 * misc/sbrk.c: Include <libc-internal.h>.
31857 (__libc_multiple_libcs): Removed.
31858
31859 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31860
31861 [BZ #18822]
31862 * grp/initgroups.c (__nss_group_database): Removed.
31863 (__nss_initgroups_database): Likewise.
31864 * nscd/gai.c (__nss_hosts_database): Likewise.
31865 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31866 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31867 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31868 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31869 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31870 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31871 attribute_hidden.
31872 * nss/nsswitch.c (__nss_database_custom): Define only if
31873 USE_NSCD is defined.
31874 (__nss_configure_lookup): Use __nss_database_custom only if
31875 USE_NSCD is defined.
31876 * nss/nsswitch.h (__nss_database_custom): Declare only if
31877 USE_NSCD is defined. Add attribute_hidden.
31878 (__nss_setent): Add attribute_hidden.
31879 (__nss_endent): Likewise.
31880 (__nss_getent_r): Likewise.
31881 (__nss_getent): Likewise.
31882 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31883
31884 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31885
31886 [BZ #18822]
31887 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31888 libc_hidden_proto and libc_hidden_def.
31889
31890 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31891
31892 [BZ #18822]
31893 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31894 Add libc_hidden_proto.
31895 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31896 Add libc_hidden_def.
31897
31898 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31899
31900 [BZ #21974]
31901 * gmon/Makefile (routines): Remove bb_init_func and
31902 bb_exit_func.
31903 (elide-routines.os): Removed.
31904 * gmon/bb_exit_func.c: Likewise.
31905 * gmon/bb_init_func.c: Likewise.
31906 * include/sys/gmon.h (__bb): Likewise.
31907 (__bb_init_func): Likewise.
31908 (__bb_exit_func): Likewise.
31909 * sysdeps/alpha/bb_init_func.S: Likewise.
31910
31911 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31912
31913 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31914 * include/setjmp.h (____longjmp_chk): Here. Add
31915 attribute_hidden.
31916
31917 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31918
31919 [BZ #18822]
31920 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31921 attribute_hidden.
31922 (__strspn_sse2): Likewise.
31923
31924 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31925
31926 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31927 (close_not_cancel_no_status): Likewise.
31928 (__close_nocancel): New macro.
31929 (__close_nocancel_nostatus): Likewise.
31930 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31931 macro.
31932 (close_not_cancel): Likewise.
31933 (close_not_cancel_no_status): Likewise.
31934 (__close_nocancel): New prototype.
31935 (__close_nocancel_nostatus): New function.
31936 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31937 * catgets/open_catalog.c (__open_catalog): Replace
31938 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31939 * gmon/gmon.c (write_gmon): Likewise.
31940 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31941 * intl/loadmsgcat.c (close): Likewise.
31942 * io/ftw.c (open_dir_stream): Likewise.
31943 (ftw_startup): Likewise.
31944 * libio/fileops.c (_IO_file_open): Likewise.
31945 (_IO_file_close_mmap): Likewise.
31946 (_IO_file_close): Likewise.
31947 * libio/iopopen.c (_IO_dup2): Likewise.
31948 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31949 * locale/loadlocale.c (_nl_load_locale): Likewise.
31950 * login/utmp_file.c (pututline_file): Likewise.
31951 (endutent_file): Likewise.
31952 * misc/daemon.c (daemon): Likewise.
31953 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31954 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31955 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31956 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31957 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31958 * nscd/nscd_helper.c (open_socket): Likewise.
31959 (__nscd_open_socket): Likewise.
31960 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31961 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31962 (__nscd_innetgr): Likewise.
31963 * nss/nss_db/db-open.c (internal_setent): Likewise.
31964 * resolv/res-close.c (__res_iclose): Likewise.
31965 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31966 * sysdeps/posix/closedir.c (__closedir): Likewise.
31967 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31968 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31969 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31970 (opendir_tail): Likewise.
31971 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31972 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
31973 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31974 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31975 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
31976 (gethostid): Likewise.
31977 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
31978 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31979 Likewise.
31980 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31981 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
31982 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
31983 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
31984 Likewise.
31985 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
31986 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
31987 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
31988 Likewise.
31989 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
31990 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
31991 Likewise.
31992 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
31993 Likewise.
31994 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
31995 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
31996 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
31997 __close_nocancel.
31998
31999 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32000 (openat_not_cancel_3): Likewise.
32001 (openat64_not_cancel_3): Likewise).
32002 (openat_not_cancel_3): Likewise).
32003 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32004 macro.
32005 (openat_not_cancel_3): Likewise.
32006 (openat64_not_cancel): Likewise.
32007 (openat64_not_cancel_3): Likewise.
32008 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32009 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32010 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32011 __open{64}_nocancel.
32012 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32013 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32014 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32015
32016 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32017
32018 [BZ #18822]
32019 * include/argz.h (__argz_create_sep): New function prototype.
32020 (__argz_append): Likewise.
32021 (__argz_add): Likewise.
32022 (__argz_add_sep): Likewise.
32023 (__argz_delete): Likewise.
32024 (__argz_insert): Likewise.
32025 (__argz_replace): Likewise.
32026 * string/argz.h (__argz_create_sep): Removed.
32027 (__argz_append): Likewise.
32028 (__argz_add): Likewise.
32029 (__argz_add_sep): Likewise.
32030 (__argz_delete): Likewise.
32031 (__argz_insert): Likewise.
32032 (__argz_replace): Likewise.
32033
32034 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32035
32036 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32037 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32038 (GNU_PROPERTY_STACK_SIZE): Likewie.
32039 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32040 (GNU_PROPERTY_LOPROC): Likewise.
32041 (GNU_PROPERTY_HIPROC): Likewise.
32042 (GNU_PROPERTY_LOUSER): Likewise.
32043 (GNU_PROPERTY_HIUSER): Likewise.
32044 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32045 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32046 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32047 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32048 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32049 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32050 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32051 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32052 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32053 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32054 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32055 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32056 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32057 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32058 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32059 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32060 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32061 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32062 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32063 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
32064 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
32065 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
32066 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
32067
32068 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32069
32070 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
32071 in C++ mode.
32072
32073 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32074
32075 [BZ #21930]
32076 * math/math.h (isinf): Check if in C or C++ mode before using
32077 __builtin_types_compatible_p, since this is a C mode feature.
32078
32079 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32080
32081 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
32082 (__write_nocancel): New macro.
32083 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
32084 Rewrite as a function prototype.
32085 (write_not_cancel): Remove macro.
32086 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
32087 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
32088 (write_gmon): Likewise.
32089 * libio/fileops.c (_IO_new_file_write): Likewise.
32090 * login/utmp_file.c (pututline_file): Likewise.
32091 (updwtmp_file): Likewise.
32092 * stdio-common/psiginfo.c (psiginfo): Likewise.
32093 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32094 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32095 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32096 Likewise.
32097 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32098 Likewise.
32099
32100 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
32101 (__read_nocancel): New macro.
32102 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32103 __read_nocancel.
32104 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
32105 macro.
32106 (__read_nocancel): New prototype.
32107 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
32108 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
32109 with __read_nocancel.
32110 * intl/loadmsgcat.c (read): Likewise.
32111 * libio/fileops.c (_IO_file_read): Likewise.
32112 * locale/loadlocale.c (_nl_load_locale): Likewise.
32113 * login/utmp_file.c (getutent_r_file): Likewise.
32114 (internal_getut_r): Likewise.
32115 (getutline_r_file): Likewise.
32116 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32117 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32118 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32119 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32120 Likewise.
32121 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
32122 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32123 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32124 Likewise.
32125 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32126 Likewise.
32127 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32128 Likewise.
32129 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32130 Likewise.
32131 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32132
32133 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32134
32135 [BZ #21966]
32136 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
32137 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
32138 usable.
32139
32140 2017-08-17 DJ Delorie <dj@redhat.com>
32141
32142 * bug17079.c: Update to new test harness.
32143 * test-digits-dots.c: Likewise.
32144 * test-netdb.c: Likewise.
32145 * tst-field.c: Likewise.
32146 * tst-nss-getpwent.c: Likewise.
32147 * tst-nss-static.c: Likewise.
32148 * tst-nss-test1.c: Likewise.
32149 * tst-nss-test2.c: Likewise.
32150 * tst-nss-test3.c: Likewise.
32151 * tst-nss-test4.c: Likewise.
32152 * tst-nss-test5.c: Likewise.
32153
32154 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32155
32156 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32157 (open_not_cancel_2): Likewise.
32158 (open_nocancel): New macro.
32159 (open64_nocancel): Likewise.
32160 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32161 (open_not_cancel_2): Likewise.
32162 (__open_nocancel): New prototype.
32163 (__open64_nocancel): Likewise.
32164 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32165 __open_nocancel.
32166 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32167 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32168 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32169 with __open_nocancel.
32170 * csu/check_fds.c (check_one_fd): Likewise.
32171 * gmon/gmon.c (write_gmon): Likewise.
32172 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32173 * intl/loadmsgcat.c (open): Likewise.
32174 * libio/fileops.c (_IO_file_open): Likewise.
32175 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32176 * locale/loadlocale.c (_nl_load_locale): Likewise.
32177 * login/utmp_file.c (setutent_file): Likewise.
32178 * misc/daemon.c (daemon): Likewise.
32179 * nss/nss_db/db-open.c (internal_setent): Likewise.
32180 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32181 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32182 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32183 (__opendir): Likewise.
32184 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32185 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32186 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32187 (gethostid): Likewise.
32188 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32189 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32190 Likewise.
32191 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32192 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32193 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32194 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32195 Likewise.
32196 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32197 Likewise.
32198 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32199 Likewise.
32200 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32201 Likewise.
32202 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32203 Likewise.
32204 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32205 Likewise.
32206 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32207 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32208
32209 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32210
32211 * benchtests/bench-skeleton.c (main): Add support for
32212 latency benchmarking.
32213 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32214
32215 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32216
32217 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32218 the startup object.
32219
32220 2017-08-17 Florian Weimer <fweimer@redhat.com>
32221
32222 * include/sys/socket.h (__opensock): Remove internal_function.
32223 * socket/opensock.c (__opensock): Likewise.
32224 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32225
32226 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32227
32228 [BZ #21944]
32229 * signal/bits/types/__sigval_t.h: New file.
32230 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32231 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32232 and define sigval_t using __sigval_t.
32233 * include/bits/types/__sigval_t.h: New file.
32234 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32235 instead of <bits/types/__sigval_t.h>.
32236 (struct sigevent): Use __sigval_t instead of sigval_t.
32237 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32238 instead of <bits/types/__sigval_t.h>.
32239 (siginfo_t): Use __sigval_t instead of sigval_t.
32240 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32241 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32242 (struct sigevent): Use __sigval_t instead of sigval_t.
32243 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32244 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32245 (siginfo_t): Use __sigval_t instead of sigval_t.
32246 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32247
32248 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32249
32250 * NEWS: Remove "[Add new features here]" for 2.27.
32251
32252 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32253
32254 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32255 libc.so.
32256
32257 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32258
32259 * NEWS: Mention x86-64 FMA optimization.
32260
32261 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32262
32263 [BZ #21912]
32264 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32265 Add e_expf-fma.
32266 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32267 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32268 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32269
32270 2017-08-16 Andreas Schwab <schwab@suse.de>
32271
32272 [BZ #16750]
32273 CVE-2009-5064
32274 * elf/ldd.bash.in: Never run file directly.
32275
32276 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32277
32278 [BZ #21955]
32279 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32280 (L(SP_INF_0)): Likewise.
32281
32282 2017-08-15 Florian Weimer <fweimer@redhat.com>
32283
32284 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32285 run-built-tests.
32286
32287 2017-08-15 Florian Weimer <fweimer@redhat.com>
32288
32289 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
32290 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
32291 BROKEN_THREAD_SIGNALS code.
32292 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
32293 request_list): Remove caller_pid member used for
32294 BROKEN_THREAD_SIGNALS.
32295 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
32296 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32297 Remove BROKEN_THREAD_SIGNALS support.
32298 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32299 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32300
32301 2017-08-15 Florian Weimer <fweimer@redhat.com>
32302
32303 * gmon/Makefile (tests): Add tst-gmon.
32304 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
32305 Set.
32306 (tests-special): Add tst-gmon-prof.out.
32307 (tst-gmon.out): Depend on clean-tst-gmon-data.
32308 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
32309 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
32310 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
32311 startup object.
32312 * aclocal.m4 (GPROF): Set and substitute.
32313 * config.amke.in (GPROF): Set.
32314 * configure: Regenerate.
32315
32316 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
32317
32318 * elf/elf.h A (NT_PPC_TAR): New macro.
32319 (NT_PPC_PPR): Likewise.
32320 (NT_PPC_DSCR): Likewise.
32321 (NT_PPC_EBB): Likewise.
32322 (NT_PPC_PMU): Likewise.
32323 (NT_PPC_TM_CGPR): Likewise.
32324 (NT_PPC_TM_CFPR): Likewise.
32325 (NT_PPC_TM_CVMX): Likewise.
32326 (NT_PPC_TM_CVSX): Likewise.
32327 (NT_PPC_TM_SPR): Likewise.
32328 (NT_PPC_TM_CTAR): Likewise.
32329 (NT_PPC_TM_CPPR): Likewise.
32330 (NT_PPC_TM_CDSCR): Likewise.
32331
32332 2017-08-15 Florian Weimer <fweimer@redhat.com>
32333
32334 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
32335 regparm (2) instead of internal_function.
32336 (_MCOUNT_DECL): Adjust.
32337
32338 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32339
32340 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
32341 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32342
32343 2017-08-14 Joseph Myers <joseph@codesourcery.com>
32344
32345 * conform/data/sys/wait.h-data (si_value): Do not expect for
32346 XPG42.
32347
32348 2017-08-14 Florian Weimer <fweimer@redhat.com>
32349
32350 [BZ #21962]
32351 NSS: Create stubs for accidentally exported lookup functions.
32352 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
32353 Remove declaration.
32354 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
32355 (ether_hostton): Call __nss_ethers_lookup2 instead.
32356 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
32357 (ether_ntohost): Call __nss_ethers_lookup2 instead.
32358 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
32359 (setup): Call __nss_netgroup_lookup2 instead.
32360 * nss/Makefile (routines): Add compat-lookup.
32361 * nss/Versions (GLIBC_2.27): Add symbol version.
32362 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
32363 (DB_COMPAT_FCT): Remove.
32364 * nss/compat-lookup.c: New file.
32365 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
32366 from databases.def.
32367 * nss/service-lookup.c (NO_COMPAT): Remove definition.
32368 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
32369 (netname2user): Call __nss_publickey_lookup2 instead.
32370 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
32371 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
32372 instead.
32373
32374 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32375 Sergei Trofimovich <slyfox@inbox.ru>
32376
32377 [BZ #21908]
32378 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
32379 Rename to MMAP2_PAGE_UNIT.
32380 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
32381 __OFF_T_MATCHES_OFF64_T is not defined.
32382 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
32383 uint64_t.
32384 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
32385 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
32386
32387 2017-08-14 Florian Weimer <fweimer@redhat.com>
32388
32389 i386: Do not set internal_function.
32390 * config.h.in (USE_REGPARMS, internal_function): Remove.
32391 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
32392 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
32393
32394 2017-08-14 Florian Weimer <fweimer@redhat.com>
32395
32396 * elf/dl-init.c (_dl_init): Remove internal_function.
32397 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
32398 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
32399
32400 2017-08-14 Florian Weimer <fweimer@redhat.com>
32401
32402 * elf/rtld.c (_dl_start): Remove internal_function.
32403 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
32404 _dl_start.
32405
32406 2017-08-14 Florian Weimer <fweimer@redhat.com>
32407
32408 * elf/dl-fini.c (_dl_fini): Remove internal_function
32409 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32410
32411 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
32412
32413 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
32414 (bit_cpu_SHSTK): Likewise.
32415 (index_cpu_IBT): Likewise.
32416 (index_cpu_SHSTK): Likewise.
32417 (reg_IBT): Likewise.
32418 (reg_SHSTK): Likewise.
32419 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32420 Handle index_cpu_IBT and index_cpu_SHSTK.
32421
32422 2017-08-14 Mike FABIAN <mfabian@redhat.com>
32423
32424 [BZ #19982]
32425 * po/fr.po: Fix spelling mistake.
32426
32427 2017-08-13 Florian Weimer <fweimer@redhat.com>
32428
32429 * elf/dl-addr.c (_dl_addr): Remove internal_function.
32430 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
32431 (_dl_catch_error, _dl_receive_error): Likewise.
32432 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
32433 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
32434 (_dl_deallocate_tls): Likewise.
32435 * include/dlfcn.h (_dl_addr): Likewise.
32436 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
32437 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
32438 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
32439 Likewise.
32440
32441 2017-08-13 Florian Weimer <fweimer@redhat.com>
32442
32443 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
32444 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
32445 internal_function.
32446 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
32447
32448 2017-08-13 Florian Weimer <fweimer@redhat.com>
32449
32450 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
32451 internal_function.
32452 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
32453 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
32454 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
32455 internal_function from _dl_make_stack_executable_hook member.
32456 (_dl_make_stack_executable): Remove internal_function.
32457 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
32458 Likewise.
32459 * sysdeps/unix/sysv/linux/dl-execstack.c
32460 (_dl_make_stack_executable): Likewise.
32461
32462 2017-08-13 Florian Weimer <fweimer@redhat.com>
32463
32464 * sysdeps/unix/sysv/linux/netlinkaccess.h
32465 (__netlink_assert_response): Remove internal_function.
32466 * sysdeps/unix/sysv/linux/netlink_assert_response.c
32467 (__netlink_assert_response): Likewise.
32468
32469 2017-08-13 Florian Weimer <fweimer@redhat.com>
32470
32471 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
32472 internal_function.
32473 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
32474
32475 2017-08-13 Florian Weimer <fweimer@redhat.com>
32476
32477 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
32478 internal_function.
32479 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
32480 * inet/netgroup.h (__internal_setnetgrent)
32481 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32482 * inet/getnetgrent_r.c (__internal_setnetgrent)
32483 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32484 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
32485 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
32486 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
32487 * nss/nsswitch.h (db_lookup_function): Likewise.
32488
32489 2017-08-13 Florian Weimer <fweimer@redhat.com>
32490
32491 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
32492 Remove internal_function.
32493 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
32494 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
32495 message argument on the stack.
32496 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
32497 Likeweise.
32498
32499 2017-08-12 Mike FABIAN <mfabian@redhat.com>
32500
32501 Adapt test case data to the changes in the thousands
32502 separators.
32503
32504 [BZ #20756]
32505 * localedata/tst-langinfo.sh: Adapt test case data.
32506 * stdlib/tst-strfmon_l.c: Likewise.
32507 * stdlib/tst-strtod4.c: Likewise.
32508 * stdlib/tst-strtod5i.c: Likewise.
32509
32510 2017-08-11 Florian Weimer <fweimer@redhat.com>
32511
32512 [BZ #21242]
32513 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
32514 Suppress pedantic warning resulting from statement expression.
32515 (__ASSERT_FUNCTION): Add missing __extension__.
32516
32517 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32518
32519 * benchtests/bench-memmove-large.c: Print output in JSON
32520 format.
32521 * benchtests/bench-memmove.c: Likewise.
32522
32523 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
32524 * benchtests/bench-memchr.c (do_one_test): Likewise.
32525 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
32526 * benchtests/bench-memcpy.c (do_one_test): Likewise.
32527 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
32528 * benchtests/bench-memmove.c (do_one_test): Likewise.
32529 * benchtests/bench-memset-large.c (do_one_test): Likewise.
32530 * benchtests/bench-memset.c (do_one_test): Likewise.
32531 * benchtests/bench-string.h (test_init): Remove memsets.
32532
32533 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32534
32535 * manual/lang.texi
32536 (Computing the Width of an Integer Data Type): Rename section to
32537 "Width of an Integer Type". Remove inaccurate statement regarding
32538 lack of C language facilities for determining width of integer
32539 types, and reorder content to improve flow and context of
32540 discussion.
32541
32542 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32543
32544 * lang.texi (va_copy): Change standard from ISO to C99.
32545 (__va_copy): Add standard and header annotation.
32546 Update description for clarity of origins and current use.
32547
32548 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32549
32550 [BZ #21941]
32551 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
32552 xssqrtqp requires operands to be in Vector Registers
32553 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
32554 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
32555 (__ieee754_sqrtf128): Likewise.
32556
32557 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
32558
32559 * sysdeps/aarch64/memcmp.S (memcmp):
32560 Rewrite of optimized memcmp.
32561
32562 2017-08-10 Florian Weimer <fweimer@redhat.com>
32563
32564 Introduce ld.so exceptions.
32565 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32566 (_dl_exception_create, _dl_exception_create_format)
32567 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32568 (_dl_catch_exception): Declare.
32569 (_dl_catch_error): Update comment.
32570 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32571 errstring, malloced members with exception member.
32572 (_dl_out_of_memory): Remove.
32573 (fatal_error): New function, extracted from _dl_signal_error.
32574 (_dl_signal_exception, _dl_signal_cexception): New functions.
32575 (_dl_signal_error): Call _dl_exception_create to allocate an
32576 exception object.
32577 (_dl_catch_exception): New function, based on _dl_catch_error.
32578 (_dl_catch_error): Implement using _dl_catch_exception.
32579 * elf/dl-exception.c: New file.
32580 * elf/Makefile (dl-routines): Add dl-exception.
32581 (elide-routines.os): Likewise.
32582 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32583 _dl_exception_create_format, _dl_exception_free.
32584 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32585 _dl_signal_exception.
32586 * elf/dl-lookup.c (make_string): Remove.
32587 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32588 _dl_signal_cexception, _dl_exception_free.
32589 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32590 _dl_signal_exception.
32591 * elf/dl-sym.c (do_sym): Likewise.
32592 * elf/dl-version.c (make_string): Remove.
32593 (match_symbol): Use _dl_exception_create_format,
32594 _dl_signal_cexception, _dl_exception_free.
32595 (_dl_check_map_versions): Likewise.
32596 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32597 _dl_catch_exception.
32598 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32599 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32600 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32601 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32602 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32603 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32604 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32605 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32606 Likewise.
32607 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32609 (ld.so): Likewise.
32610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32611 (ld.so): Likewise.
32612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32613 Likewise.
32614 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32615 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32616 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32617 Likewise.
32618 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32619 Likewise.
32620 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32621
32622 2017-08-10 Florian Weimer <fweimer@redhat.com>
32623
32624 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32625 attribute_hidden, internal_function.
32626 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32627 internal_function.
32628
32629 2017-08-10 Florian Weimer <fweimer@redhat.com>
32630
32631 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32632 function which calls __builtin_unreachable.
32633
32634 2017-08-10 Mike FABIAN <mfabian@redhat.com>
32635
32636 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32637 Indian monetary formatting
32638 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32639 test cases.
32640
32641 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32642
32643 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32644 Fix typo in comment.
32645
32646 [BZ #21928]
32647 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32648 PTRACE_SEIZE_DEVEL): Remove.
32649 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32650 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32651 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32652 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32653 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32654
32655 2017-08-09 Joseph Myers <joseph@codesourcery.com>
32656
32657 * posix/bits/types.h (__qaddr_t): Remove.
32658
32659 [BZ #21457]
32660 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32661 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32662 __glibc_reserved1.
32663 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32664 (ucontext_t): Use __ctx with uc_flags.
32665 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32666 (__ctxt): Likewise.
32667 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32668 __glibc_reserved1.
32669 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32670 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32671 __glibc_reserved1.
32672 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32673 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32674 __glibc_reserved1.
32675 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32676 macro.
32677 (ucontext_t): Use __ctx with uc_flags.
32678 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32679 (ucontext_t): Use __ctx with uc_flags.
32680 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32681 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32682 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32683 (ucontext_t): Use __ctx with uc_flags.
32684 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32685 undefine further down.
32686 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32687 __glibc_reserved1.
32688 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32689 undefine further down.
32690 (ucontext_t): Use __ctx with uc_flags.
32691 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32692 undefine further down.
32693 (ucontext_t): Use __ctx with uc_flags.
32694 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32695 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32696 Rename uc_pad to __glibc_reserved1.
32697 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32698 undefine further down.
32699 (ucontext_t): Use __ctx with uc_flags.
32700 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32701 further down.
32702 (ucontext_t): Use __ctx with uc_flags.
32703 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32704 __ctx with uc_flags.
32705 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32706 (ucontext_t): Use __ctx with uc_flags.
32707 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32708 __ctx with uc_flags.
32709
32710 2017-08-09 Florian Weimer <fweimer@redhat.com>
32711
32712 [BZ #21932]
32713 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32714 before early return.
32715
32716 2017-08-09 Andreas Schwab <schwab@suse.de>
32717
32718 [BZ #21041]
32719 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32720 renamed alias.
32721
32722 [BZ #21041]
32723 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32724 tst-compat-forwarder.
32725 (modules-names): Add tst-compat-forwarder-mod.
32726 ($(objpfx)tst-compat-forwarder): Depend on
32727 $(objpfx)tst-compat-forwarder-mod.so.
32728 * nptl/tst-compat-forwarder.c: New file.
32729 * nptl/tst-compat-forwarder-mod.c: New file.
32730
32731 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32732
32733 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32734 comments.
32735
32736 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32737 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32738 memcpy_falkor.
32739 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32740 Bump.
32741 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32742 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32743 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32744 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32745 Add falkor.
32746 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32747 New macro.
32748
32749 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32750
32751 [BZ #759]
32752 * manual/setjmp.texi (getcontex): Document uc_stack value
32753 compatibility differences.
32754
32755 2017-08-08 Joseph Myers <joseph@codesourcery.com>
32756
32757 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32758 (old_malloc_hook): Likewise.
32759 (old_memalign_hook): Likewise.
32760 (old_realloc_hook): Likewise.
32761 (struct hdr): Likewise.
32762 (flood): Likewise.
32763 (freehook): Likewise.
32764 (mallochook): Likewise.
32765 (memalignhook): Likewise.
32766 (reallochook): Likewise.
32767 (mprobe): Likewise.
32768 * malloc/mtrace.c (mallwatch): Likewise.
32769 (tr_old_free_hook): Likewise.
32770 (tr_old_malloc_hook): Likewise.
32771 (tr_old_realloc_hook): Likewise.
32772 (tr_old_memalign_hook): Likewise.
32773 (tr_where): Likewise.
32774 (lock_and_info): Likewise.
32775 (tr_freehook): Likewise.
32776 (tr_mallochook): Likewise.
32777 (tr_reallochook): Likewise.
32778 (tr_memalignhook): Likewise.
32779 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32780 * misc/mmap.c (__mmap): Likewise.
32781 * misc/mmap64.c (__mmap64): Likewise.
32782 * misc/mprotect.c (__mprotect): Likewise.
32783 * misc/msync.c (msync): Likewise.
32784 * misc/munmap.c (__munmap): Likewise.
32785 * posix/posix_madvise.c (posix_madvise): Likewise.
32786 * socket/send.c (__send): Likewise.
32787 * socket/sendto.c (__sendto): Likewise.
32788 * socket/setsockopt.c (__setsockopt): Likewise.
32789 * string/memcmp.c (__ptr_t): Remove macro.
32790 (MEMCMP): Use void * instead of ptr_t.
32791 * string/memrchr.c (__ptr_t): Remove macro.
32792 (__memrchr): Use void * instead of ptr_t.
32793 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32794 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32795 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32796 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32797 * sysdeps/mach/msync.c (msync): Likewise.
32798 * sysdeps/mach/munmap.c (__munmap): Likewise.
32799 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32800 Likewise.
32801 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32802 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32803 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32804 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32805 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32806 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32807 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32808 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32809 Likewise.
32810 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32811 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32812 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32813 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32814 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32815 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32816 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32817 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32818 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32819 Likewise.
32820 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32821 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32822 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32823 (MEMCMP): Use void * instead of ptr_t.
32824 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32825 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32826
32827 2017-08-08 Florian Weimer <fweimer@redhat.com>
32828
32829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32830 return statement.
32831
32832 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32833
32834 [BZ #21913]
32835 * csu/libc-tls.c: Include <startup.h> first.
32836 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32837 * elf/dl-tunables.c: Include <startup.h> first.
32838 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32839 * sysdeps/generic/startup.h: New file.
32840 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32841 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32842 (I386_USE_SYSENTER): New. Defined to 0.
32843
32844 2017-08-08 Andreas Schwab <schwab@suse.de>
32845
32846 [BZ #21041]
32847 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32848 * nptl/pt-system.c (system): Likewise.
32849
32850 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32851
32852 [BZ #21780]
32853 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32854 EOPNOTSUPP.
32855 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32856 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32857 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32858 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32859 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32860 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32861 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32862
32863 2017-08-07 Joseph Myers <joseph@codesourcery.com>
32864
32865 [BZ #21899]
32866 * bits/sigaction.h (struct sigaction): Define sa_handler and
32867 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32868 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32869 [__USE_XOPEN_EXTENDED].
32870 (SA_RESTART): Likewise.
32871 (SA_NODEFER): Likewise.
32872 (SA_RESETHAND): Likewise.
32873 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32874 (struct sigaction): Define sa_handler and sa_sigaction using union
32875 also for [__USE_XOPEN_EXTENDED].
32876 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32877 [__USE_XOPEN_EXTENDED].
32878 (SA_RESTART): Likewise.
32879 (SA_NODEFER): Likewise.
32880 (SA_RESETHAND): Likewise.
32881 * sysdeps/unix/sysv/linux/bits/sigaction.h
32882 (struct sigaction): Define sa_handler and sa_sigaction using union
32883 also for [__USE_XOPEN_EXTENDED].
32884 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32885 [__USE_XOPEN_EXTENDED].
32886 (SA_RESTART): Likewise.
32887 (SA_NODEFER): Likewise.
32888 (SA_RESETHAND): Likewise.
32889 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32890 (struct sigaction): Define sa_handler and sa_sigaction using union
32891 also for [__USE_XOPEN_EXTENDED].
32892 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32893 [__USE_XOPEN_EXTENDED].
32894 (SA_RESTART): Likewise.
32895 (SA_NODEFER): Likewise.
32896 (SA_RESETHAND): Likewise.
32897 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32898 (struct sigaction): Define sa_handler and sa_sigaction using union
32899 also for [__USE_XOPEN_EXTENDED].
32900 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32901 [__USE_XOPEN_EXTENDED].
32902 (SA_RESTART): Likewise.
32903 (SA_NODEFER): Likewise.
32904 (SA_RESETHAND): Likewise.
32905 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32906 (struct sigaction): Define sa_handler and sa_sigaction using union
32907 also for [__USE_XOPEN_EXTENDED].
32908 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32909 [__USE_XOPEN_EXTENDED].
32910 (SA_RESTART): Likewise.
32911 (SA_NODEFER): Likewise.
32912 (SA_RESETHAND): Likewise.
32913 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32914 (struct sigaction): Define sa_handler and sa_sigaction using union
32915 also for [__USE_XOPEN_EXTENDED].
32916 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32917 [__USE_XOPEN_EXTENDED].
32918 (SA_RESTART): Likewise.
32919 (SA_NODEFER): Likewise.
32920 (SA_RESETHAND): Likewise.
32921 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32922 (struct sigaction): Define sa_handler and sa_sigaction using union
32923 also for [__USE_XOPEN_EXTENDED].
32924 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32925 [__USE_XOPEN_EXTENDED].
32926 (SA_RESTART): Likewise.
32927 (SA_NODEFER): Likewise. Define directly rather than as alias.
32928 (SA_RESETHAND): Likewise.
32929 (SA_INTERRUPT): Define only for [__USE_MISC].
32930 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32931 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32932 [__USE_MISC].
32933 (SA_STACK): Define only for [__USE_MISC].
32934 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32935 (struct sigaction): Define sa_handler and sa_sigaction using union
32936 also for [__USE_XOPEN_EXTENDED].
32937 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32938 [__USE_XOPEN_EXTENDED].
32939 (SA_RESTART): Likewise.
32940 (SA_NODEFER): Likewise.
32941 (SA_RESETHAND): Likewise.
32942 (SA_NOPTRACE): Define only for [__USE_MISC].
32943
32944 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32945 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32946 (struct catalog_info): Likewise.
32947 * inet/htontest.c (lo): Likewise.
32948 (foo): Likewise.
32949 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32950 * inet/inet_net.c (inet_network): Likewise.
32951 * inet/inet_netof.c (inet_netof): Likewise.
32952 * inet/rcmd.c (__ivaliduser): Likewise.
32953 (iruserok): Likewise.
32954 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32955 * locale/programs/locale-spec.c (locale_special): Likewise.
32956 * nis/nis_findserv.c (struct findserv_req): Likewise.
32957 (__nis_findfastest_with_timeout): Likewise.
32958 * nss/test-netdb.c (test_network): Likewise.
32959 * resolv/inet_neta.c (inet_neta): Likewise.
32960 * resolv/ns_date.c (ns_datetosecs): Likewise.
32961 (SECS_PER_DAY): Likewise.
32962 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32963 Likewise.
32964 * resolv/res_comp.c (__putlong): Likewise.
32965 (__putshort): Likewise.
32966 (_getlong): Likewise.
32967 (_getshort): Likewise.
32968 * resolv/res_debug.c (p_time): Likewise.
32969 (precsize_ntoa): Likewise.
32970 (precsize_aton): Likewise.
32971 (latlon2ul): Likewise.
32972 (loc_aton): Likewise.
32973 (loc_ntoa): Likewise.
32974 * resolv/res_hconf.c (struct netaddr): Likewise.
32975 (_res_hconf_reorder_addrs): Likewise.
32976 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
32977 (clnttcp_control): Likewise.
32978 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32979 (clntudp_control): Likewise.
32980 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
32981 (clntunix_control): Likewise.
32982 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
32983 * sunrpc/rpc/auth.h (union des_block): Likewise.
32984 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
32985 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
32986 (xdrrec_create): Likewise.
32987 (xdrrec_endofrecord): Likewise.
32988 (flush_out): Likewise.
32989 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
32990 (xdrstdio_putlong): Likewise.
32991 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
32992 Likewise.
32993
32994 * misc/sys/cdefs.h (__long_double_t): Remove.
32995 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
32996 instead of __long_double_t,
32997 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
32998
32999 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33000
33001 * benchtests/scripts/compare_strings.py: Avoid display error when
33002 running on a text terminal.
33003
33004 * benchtests/scripts/compare_strings.py (main): Add an
33005 optional -base option.
33006 (process_results): New argument base_func.
33007
33008 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33009 hardcoding memcpy.
33010 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33011 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33012
33013 2017-08-07 Andreas Schwab <schwab@suse.de>
33014
33015 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33016 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33017 * intl/Makefile ($(objpfx)tst-gettext.out)
33018 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33019 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33020 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33021 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33022 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33023 * posix/Makefile ($(objpfx)globtest.out)
33024 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33025 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33026 ($(objpfx)tst-printf.out): Likewise.
33027 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33028 ($(objpfx)tst-setcontext3.out): Likewise.
33029
33030 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33031
33032 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33033 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33034 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33035 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33036 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33037 and mptan-fma.
33038 (CFLAGS-doasin-fma.c): New.
33039 (CFLAGS-dosincos-fma.c): Likewise.
33040 (CFLAGS-e_asin-fma.c): Likewise.
33041 (CFLAGS-e_atan2-fma.c): Likewise.
33042 (CFLAGS-e_exp-fma.c): Likewise.
33043 (CFLAGS-e_log-fma.c): Likewise.
33044 (CFLAGS-e_pow-fma.c): Likewise.
33045 (CFLAGS-halfulp-fma.c): Likewise.
33046 (CFLAGS-mpa-fma.c): Likewise.
33047 (CFLAGS-mpatan-fma.c): Likewise.
33048 (CFLAGS-mpatan2-fma.c): Likewise.
33049 (CFLAGS-mpexp-fma.c): Likewise.
33050 (CFLAGS-mplog-fma.c): Likewise.
33051 (CFLAGS-mpsqrt-fma.c): Likewise.
33052 (CFLAGS-mptan-fma.c): Likewise.
33053 (CFLAGS-s_atan-fma.c): Likewise.
33054 (CFLAGS-sincos32-fma.c): Likewise.
33055 (CFLAGS-slowexp-fma.c): Likewise.
33056 (CFLAGS-slowpow-fma.c): Likewise.
33057 (CFLAGS-s_sin-fma.c): Likewise.
33058 (CFLAGS-s_tan-fma.c): Likewise.
33059 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33060 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33061 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33062 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33063 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
33064 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
33065 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
33066 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
33067 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
33068 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
33069 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
33070 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
33071 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
33072 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
33073 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
33074 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
33075 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
33076 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
33077 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
33078 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
33079 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
33080 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
33081 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
33082 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
33083 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33084 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33085 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33086 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33087 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33088 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33089 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33090
33091 2017-08-04 Joseph Myers <joseph@codesourcery.com>
33092
33093 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
33094 (min_of_type_f): New macro.
33095 (min_of_type_): Likewise.
33096 (min_of_type_l): Likewise.
33097 (min_of_type_f128): Likewise.
33098 (min_of_type): Define using __MATH_TG and taking an expression
33099 argument.
33100 (math_check_force_underflow): Pass expression instead of type to
33101 min_of_type.
33102 (math_check_force_underflow_nonneg): Likewise.
33103
33104 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33105
33106 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33107 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
33108 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
33109
33110 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33111
33112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33113 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
33114 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
33115 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
33116 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
33117 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
33118 memcpy_chk-nonshared, mempcpy_chk-nonshared,
33119 memmove_chk-nonshared and memset_chk-nonshared
33120 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
33121 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
33122 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
33123 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
33124 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
33125 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
33126 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
33127 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
33128 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
33129 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
33130 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
33131 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
33132 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
33133 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
33134 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
33135 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
33136 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
33137 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
33138 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
33139 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
33140 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
33141 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
33142 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
33143 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
33144 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
33145 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33146 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33147 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33148 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33149 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33150 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33151 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33152 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33153 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33154 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33155 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33156 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33157 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33158 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33159 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33160 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33161 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33162 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33163 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33164 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33165 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33166 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33167 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33168 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33169 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33170 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33171 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33172 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33173 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33174 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33175 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33176 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33177 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33178 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33179 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33180 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33181 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33182 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33183 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33184 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33185 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33186 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33187 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33188 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33189 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33190 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33191 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33192 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33193 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33194 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33195 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33196 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33197 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33198 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33199 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33200 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33201 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33202 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33203 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33204 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33205 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33206 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33207 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33208 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33209 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33210 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33211 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33212 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33213 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33214 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33215 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33216 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33217 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33218 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33219 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33220 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33221 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33222 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33223 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33224 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33225 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33226 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33227 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33228
33229 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33230
33231 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33232 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33233 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33234 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33235 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33236 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33237 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33238 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33239 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33240 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33241 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33242 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33243 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33244 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33245 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33246 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33247 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33248 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33249 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33250 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33251 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33252 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33253 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33254 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33255 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33256 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33257 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33258 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33259 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33260 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33261 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33262 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33263 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33264 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33265 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33266 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33267 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33268 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33269 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33270 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33271 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33272 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33273 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33274 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33275 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33276 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33277 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33278 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33279 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33280 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33281 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33282 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33283 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33284 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33285 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33286 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
33287 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
33288 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
33289 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
33290 ...
33291 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
33292 Don't include <sysdep.h> nor <init-arch.h>.
33293 (_ZGVbN2v_cos): Removed.
33294 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
33295 ...
33296 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
33297 Don't include <sysdep.h> nor <init-arch.h>.
33298 (_ZGVdN4v_cos): Removed.
33299 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33300 ...
33301 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33302 Don't include <sysdep.h> nor <init-arch.h>.
33303 (_ZGVeN8v_cos): Removed.
33304 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
33305 ...
33306 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
33307 Don't include <sysdep.h> nor <init-arch.h>.
33308 (_ZGVbN2v_exp): Removed.
33309 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
33310 ...
33311 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
33312 Don't include <sysdep.h> nor <init-arch.h>.
33313 (_ZGVdN4v_exp): Removed.
33314 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
33315 ...
33316 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
33317 Don't include <sysdep.h> nor <init-arch.h>.
33318 (_ZGVeN8v_exp): Removed.
33319 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
33320 ...
33321 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
33322 Don't include <sysdep.h> nor <init-arch.h>.
33323 (_ZGVbN2v_log): Removed.
33324 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
33325 ...
33326 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
33327 Don't include <sysdep.h> nor <init-arch.h>.
33328 (_ZGVdN4v_log): Removed.
33329 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
33330 ...
33331 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
33332 Don't include <sysdep.h> nor <init-arch.h>.
33333 (_ZGVeN8v_log): Removed.
33334 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
33335 ...
33336 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
33337 Don't include <sysdep.h> nor <init-arch.h>.
33338 (_ZGVbN2vv_pow): Removed.
33339 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
33340 ...
33341 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
33342 Don't include <sysdep.h> nor <init-arch.h>.
33343 (_ZGVdN4vv_pow): Removed.
33344 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
33345 ...
33346 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
33347 Don't include <sysdep.h> nor <init-arch.h>.
33348 (_ZGVeN8vv_pow): Removed.
33349 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
33350 ...
33351 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
33352 Don't include <sysdep.h> nor <init-arch.h>.
33353 (_ZGVbN2v_sin): Removed.
33354 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
33355 ...
33356 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
33357 Don't include <sysdep.h> nor <init-arch.h>.
33358 (_ZGVbN4v_sin): Removed.
33359 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
33360 ...
33361 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
33362 Don't include <sysdep.h> nor <init-arch.h>.
33363 (_ZGVbN8v_sin): Removed.
33364 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
33365 ...
33366 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
33367 Don't include <sysdep.h> nor <init-arch.h>.
33368 (_ZGVbN2vvv_sincos): Removed.
33369 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
33370 ...
33371 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
33372 Don't include <sysdep.h> nor <init-arch.h>.
33373 (_ZGVdN4vvv_sincos): Removed.
33374 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
33375 ...
33376 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
33377 Don't include <sysdep.h> nor <init-arch.h>.
33378 (_ZGVeN8vvv_sincos): Removed.
33379 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
33380 ...
33381 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
33382 Don't include <sysdep.h> nor <init-arch.h>.
33383 (_ZGVeN16v_cosf): Removed.
33384 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
33385 ...
33386 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
33387 Don't include <sysdep.h> nor <init-arch.h>.
33388 (_ZGVbN4v_cosf): Removed.
33389 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
33390 ...
33391 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
33392 Don't include <sysdep.h> nor <init-arch.h>.
33393 (_ZGVdN8v_cosf): Removed.
33394 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
33395 ...
33396 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
33397 Don't include <sysdep.h> nor <init-arch.h>.
33398 (_ZGVeN16v_expf): Removed.
33399 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
33400 ...
33401 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
33402 Don't include <sysdep.h> nor <init-arch.h>.
33403 (_ZGVbN4v_expf): Removed.
33404 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
33405 ...
33406 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
33407 Don't include <sysdep.h> nor <init-arch.h>.
33408 (_ZGVdN8v_expf): Removed.
33409 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
33410 ...
33411 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
33412 Don't include <sysdep.h> nor <init-arch.h>.
33413 (_ZGVeN16v_logf): Removed.
33414 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
33415 ...
33416 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
33417 Don't include <sysdep.h> nor <init-arch.h>.
33418 (_ZGVbN4v_logf): Removed.
33419 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
33420 ...
33421 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
33422 Don't include <sysdep.h> nor <init-arch.h>.
33423 (_ZGVdN8v_logf): Removed.
33424 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
33425 ...
33426 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
33427 Don't include <sysdep.h> nor <init-arch.h>.
33428 (_ZGVeN16vv_powf): Removed.
33429 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
33430 ...
33431 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
33432 Don't include <sysdep.h> nor <init-arch.h>.
33433 (_ZGVbN4vv_powf): Removed.
33434 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
33435 ...
33436 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
33437 Don't include <sysdep.h> nor <init-arch.h>.
33438 (_ZGVdN8vv_powf): Removed.
33439 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
33440 ...
33441 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
33442 Don't include <sysdep.h> nor <init-arch.h>.
33443 (_ZGVeN16vvv_sincosf): Removed.
33444 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
33445 ...
33446 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
33447 Don't include <sysdep.h> nor <init-arch.h>.
33448 (_ZGVbN4vvv_sincosf): Removed.
33449 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
33450 ...
33451 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
33452 Don't include <sysdep.h> nor <init-arch.h>.
33453 (_ZGVdN8vvv_sincosf): Removed.
33454 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
33455 ...
33456 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
33457 Don't include <sysdep.h> nor <init-arch.h>.
33458 (_ZGVeN16v_sinf): Removed.
33459 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
33460 ...
33461 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
33462 Don't include <sysdep.h> nor <init-arch.h>.
33463 (_ZGVbN4v_sinf): Removed.
33464 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
33465 ...
33466 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
33467 Don't include <sysdep.h> nor <init-arch.h>.
33468 (_ZGVdN8v_sinf): Removed.
33469
33470 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33471
33472 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33473 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
33474 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
33475 s_rint-sse4_1 and s_rintf-sse4_1.
33476 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
33477 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
33478 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
33479 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
33480 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
33481 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
33482 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
33483 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
33484 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
33485 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
33486 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
33487 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33488 (__ceil): Removed.
33489 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
33490 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
33491 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33492 (__ceilf): Removed.
33493 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
33494 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
33495 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33496 (__floor): Removed.
33497 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
33498 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
33499 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33500 (__floorf): Removed.
33501 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
33502 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
33503 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33504 (__nearbyint): Removed.
33505 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
33506 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
33507 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33508 (__nearbyintf): Removed.
33509 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
33510 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
33511 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33512 (__rint): Removed.
33513 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
33514 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
33515 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33516 (__rintf): Removed.
33517
33518 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33519
33520 * sysdeps/i386/start.S (_start): Check Check PIC instead of
33521 SHARED. Avoid dynamic relocation against main in static PIE.
33522
33523 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33524
33525 [BZ #21815]
33526 * elf/Makefile (CFLAGS-tst-prelink.c): New.
33527 (LDFLAGS-tst-prelink): Likewise.
33528
33529 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33530
33531 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
33532 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
33533 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
33534 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
33535 (INTERNAL_SYSCALL_NCS): Likewise.
33536 (LOADARGS_1): Likewise.
33537 (LOADARGS_5): Likewise.
33538 (RESTOREARGS_1): Likewise.
33539 (RESTOREARGS_5): Likewise.
33540
33541 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33542
33543 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
33544 (MEMPCPY_SYMBOL): Likewise.
33545 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33546 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
33547 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
33548 in libc.a.
33549 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33550 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
33551 Likewise.
33552 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
33553 (__hidden_ver1): Don't use in libc.a.
33554 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
33555 (__mempcpy): Don't create a weak alias in libc.a.
33556 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
33557 libc.a.
33558 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
33559 (__hidden_ver1): Don't use in libc.a.
33560
33561 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33562
33563 * config.make.in (have-insert): New.
33564 * configure.ac (libc_cv_insert): New. Set to yes if linker
33565 supports INSERT in linker script.
33566 (AC_SUBST(libc_cv_insert): New.
33567 * configure: Regenerated.
33568 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33569 if $(have-insert) == yes.
33570
33571 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33572
33573 * elf/Makefile (tests): Add vismain only if
33574 $(have-protected-data) == yes.
33575 (tests-pie): Likewise.
33576
33577 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33578
33579 [BZ #21871]
33580 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33581 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33582
33583 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33584
33585 [BZ #21790]
33586 * sysdeps/i386/i586/memset.S
33587 (__memset_zero_constant_len_parameter): Removed.
33588 * sysdeps/i386/i686/memset.S
33589 (__memset_zero_constant_len_parameter): Likewise.
33590 * sysdeps/i386/i686/multiarch/memset_chk.S
33591 (__memset_zero_constant_len_parameter): Likewise.
33592 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33593 Likewise.
33594
33595 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33596
33597 * stdlib/getentropy.c (getentropy): Change return type to int.
33598
33599 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33600
33601 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33602
33603 2017-08-03 Joseph Myers <joseph@codesourcery.com>
33604
33605 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33606 u_intN_t.
33607 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33608 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33609 Likewise.
33610 (ieee_float_shape_type): Likewise.
33611 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33612 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33613 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33614 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33615 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33616 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33617 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33618 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33619 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33620 Likewise.
33621 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33622 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33623 (__ieee754_yn): Likewise.
33624 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33625 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33626 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33627 Likewise.
33628 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33629 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33630 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33631 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33632 (__erfc): Likewise.
33633 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33634 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33635 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33636 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33637 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33638 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33639 Likewise.
33640 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33641 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33642 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33643 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33644 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33645 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33646 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33647 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33648 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33649 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33650 (__issignaling): Likewise.
33651 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33652 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33653 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33654 Likewise.
33655 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33656 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33657 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33658 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33659 Likewise.
33660 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33661 Likewise.
33662 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33663 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33664 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33665 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33666 (__erfcf): Likewise.
33667 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33668 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33669 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33670 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33671 Likewise.
33672 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33673 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33674 Likewise.
33675 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33676 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33677 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33678 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33679 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33680 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33681 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33682 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33683 Likewise.
33684 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33685 Likewise.
33686 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33687 Likewise.
33688 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33689 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33690 Likewise.
33691 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33692 Likewise.
33693 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33694 (__ieee754_ynl): Likewise.
33695 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33696 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33697 Likewise.
33698 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33699 Likewise.
33700 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33701 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33702 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33703 Likewise.
33704 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33705 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33706 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33707 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33708 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33709 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33710 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33711 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33712 Likewise.
33713 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33714 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33715 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33716 Likewise.
33717 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33718 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33719 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33720 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33721 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33722 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33723 Likewise.
33724 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33725 Likewise.
33726 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33727 Likewise.
33728 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33729 Likewise.
33730 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33731 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33732 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33733 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33734 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33735 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33736 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33737 Likewise.
33738 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33739 Likewise.
33740 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33741 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33742 Likewise.
33743 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33744 (__ieee754_remainderl): Likewise.
33745 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33746 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33747 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33748 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33749 Likewise.
33750 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33751 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33752 Likewise.
33753 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33754 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33755 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33756 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33757 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33758 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33759 Likewise.
33760 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33761 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33762 (__ieee754_y0l): Likewise.
33763 (pzero): Likewise.
33764 (qzero): Likewise.
33765 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33766 (__ieee754_y1l): Likewise.
33767 (pone): Likewise.
33768 (qone): Likewise.
33769 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33770 (__ieee754_ynl): Likewise.
33771 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33772 (__ieee754_lgammal_r): Likewise.
33773 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33774 Likewise.
33775 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33776 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33777 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33778 (__erfcl): Likewise.
33779 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33780 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33781 Likewise.
33782 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33783 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33784 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33785 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33786 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33787 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33788 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33789 Likewise.
33790 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33791 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33792 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33793 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33794 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33795 Likewise.
33796 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33797 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33798 Likewise.
33799 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33800 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33801 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33802 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33803 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33804
33805 2017-08-03 Florian Weimer <fweimer@redhat.com>
33806
33807 [BZ #21885]
33808 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33809 on memory allocation failure.
33810
33811 2017-08-03 Alan Modra <amodra@gmail.com>
33812
33813 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33814 tst-tlsopt-powerpc.c with function name change and no test harness.
33815 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33816 Call tls_get_addr_opt_test.
33817 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33818 (modules-names): Add mod-tlsopt-powerpc.
33819 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33820 (tst-tlsopt-powerpc): Depend on .so.
33821 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33822 define. Expand use in TLS_GD and TLS_LD.
33823
33824 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33825
33826 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33827 function.
33828 * sysdeps/posix/shm_open.c: Include <pthread.h>.
33829
33830 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33831
33832 [BZ #21686]
33833 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33834 comparing size with that of double.
33835 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33836 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33837 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33838 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33839 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33840 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33841 unsigned __int128 types.
33842
33843 2017-08-02 Steve Ellcey <sellcey@cavium.com>
33844
33845 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33846 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33847 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33848 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33849 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33850
33851 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33852
33853 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33854
33855 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33856
33857 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33858 of SHARED.
33859 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33860 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33861 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33862 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33863 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33864 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33865 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33866
33867 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33868
33869 [BZ #21685]
33870 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33871 bit-field expressions passed to sizeof or typeof.
33872 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33873 (__TGMATH_F128): Likewise.
33874 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33875 (__TGMATH_CF128): Likewise.
33876 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33877 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33878 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33879 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33880 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33881 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33882 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33883 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33884 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33885 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33886 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33887 (__TGMATH_UNARY_IMAG): Likewise.
33888 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33889 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33890 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33891 type.
33892 (define_vars_for_type): Handle bit_field type specially.
33893 (Tests.__init__): Declare structure with bit-field element.
33894
33895 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33896
33897 [BZ #21791]
33898 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33899 (MEMCPY_CHK): Define only if SHARED is defined.
33900 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33901 Likewise.
33902 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33903 Likewise.
33904
33905 See ChangeLog.18 for earlier changes.