]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
<semaphore.h>: Add nonnull attributes
[thirdparty/glibc.git] / ChangeLog
1 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
2
3 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
5 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
6 (sem_getvalue): Likewise.
7
8 2019-04-26 Florian Weimer <fweimer@redhat.com>
9
10 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
11 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
12
13 2019-04-26 Florian Weimer <fweimer@redhat.com>
14
15 Makeconfig: Move -Wl,-rpath-link options before library references.
16 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
17 (link-libc): Remove $(link-libc-rpath-link).
18
19 2019-04-25 Florian Weimer <fweimer@redhat.com>
20
21 * Makeconfig (+link-pie-before-libc): Remove $(CC).
22 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
23 (+link-static-before-libc): Remove $(CC).
24 (+link-static, +link-static-tests): Add $(CC).
25 (+link-before-libc): Remove $(CC).
26 (+link, +link-pie, +link-pie-printers): Add $(CC).
27
28 2019-04-26 Florian Weimer <fweimer@redhat.com>
29
30 * Makeconfig (+link-pie-before-libc): Remove $(CC).
31 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
32 (+link-static-before-libc): Remove $(CC).
33 (+link-static, +link-static-tests): Add $(CC).
34 (+link-before-libc): Remove $(CC).
35 (+link, +link-pie, +link-pie-printers): Add $(CC).
36
37 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
38
39 [BZ#24484]
40 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
41
42 2019-04-25 Florian Weimer <fweimer@redhat.com>
43
44 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
45 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
46 (bench-link-targets): New variable.
47 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
48
49 2019-04-25 Florian Weimer <fweimer@redhat.com>
50
51 Also enable BIND_NOW for programs if --enable-bind-now.
52 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
53 (+link-pie): Use $(link-extra-flags).
54 (+link-static): Likewise.
55 [! $(build-pie-default)] (+link): Likewise.
56 * manual/install.texi (Configuring and compiling): Update
57 --enable-bind-now description.
58 * INSTALL: Regenerated.
59
60 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
61
62 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
63 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
64
65 2019-04-24 Mike Frysinger <vapier@gentoo.org>
66
67 [BZ #18465]
68 * malloc/Makefile (others): Add memusagestat.
69 ($(objpfx)memusagestat): Delete rule.
70 (LDLIBS-memusagestat): New variable.
71
72 2019-04-24 Florian Weimer <fweimer@redhat.com>
73
74 * locale/Makefile (tests-special): Guard setting by
75 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
76 to run while cross-compiling.
77
78 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
79
80 [BZ #18035]
81 * elf/Makefile (tests-container): Add tst-pldd.
82 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
83 (E(find_maps)): Avoid use alloca, use default read file operations
84 instead of explicit LFS names, and fix infinite loop.
85 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
86 (get_process_info): Use _Static_assert instead of assert, use default
87 directory operations instead of explicit LFS names, and free some
88 leadek pointers.
89 * elf/tst-pldd.c: New file.
90
91 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
92
93 * malloc/arena.c (do_set_mallopt_check): Removed.
94
95 2019-04-23 Florian Weimer <fweimer@redhat.com>
96
97 locale: Add LOCPATH diagnostics to the locale program.
98 * locale/programs/locale.c (setlocale_failed): New variable.
99 (try_setlocale): New function.
100 (quote_string): Likewise.
101 (setlocale_diagnostics): Likewise.
102 (main): Call try_setlocale instead of setlocale. Call
103 setlocale_diagnostics.
104 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
105 (tst-locale-locpath.out): New target.
106 * locale/tst-locale-locpath.sh: New file.
107
108 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
109
110 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
111 to 2.30 notes.
112
113 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
114
115 [BZ #23741]
116 * malloc/hooks.c (malloc_check, realloc_check): Use
117 __builtin_add_overflow on overflow check and adapt to
118 checked_request2size change.
119 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
120 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
121 allocation size to PTRDIFF_MAX.
122 (REQUEST_OUT_OF_RANGE): Remove macro.
123 (checked_request2size): Change to inline function and limit maximum
124 requested size to PTRDIFF_MAX.
125 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
126 maximum allocation size to PTRDIFF_MAX.
127 (_mid_memalign): Use _int_memalign call for overflow check.
128 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
129 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
130 limit maximum requested size to PTRDIFF_MAX.
131 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
132 valloc, pvalloc): Add __attribute_alloc_size__.
133 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
134 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
135 larger than PTRDIFF_MAX.
136 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
137 around tests of malloc with negative sizes.
138 * malloc/tst-posix_memalign.c (do_test): Likewise.
139 * malloc/tst-pvalloc.c (do_test): Likewise.
140 * malloc/tst-valloc.c (do_test): Likewise.
141 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
142 with resulting size allocation larger than PTRDIFF_MAX with
143 reallocarray_nowarn.
144 (reallocarray_nowarn): New function.
145 * NEWS: Mention the malloc function semantic change.
146
147 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
148
149 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
150 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
151
152 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
153 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
154 * sysdeps/powerpc/fpu/s_fma.c: New file.
155 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
156
157 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
158 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
159
160 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
161 the magic flag store.
162 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
163 Likewise.
164 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
165 Likewise.
166 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
167 Remove rt_sigreturn call.
168
169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
170 Remove rt_sigreturn call.
171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
172 Likewise.
173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
175
176 * support/Makefile (libsupport-routines): Add support_subprocess,
177 xposix_spawn, xposix_spawn_file_actions_addclose, and
178 xposix_spawn_file_actions_adddup2.
179 (tst-support_capture_subprocess-ARGS): New rule.
180 * support/capture_subprocess.h (support_capture_subprogram): New
181 prototype.
182 * support/support_capture_subprocess.c (support_capture_subprocess):
183 Refactor to use support_subprocess and support_capture_poll.
184 (support_capture_subprogram): New function.
185 * support/tst-support_capture_subprocess.c (write_mode_to_str,
186 str_to_write_mode, test_common, parse_int, handle_restart,
187 do_subprocess, do_subprogram, do_multiple_tests): New functions.
188 (do_test): Add support_capture_subprogram tests.
189 * support/subprocess.h: New file.
190 * support/support_subprocess.c: Likewise.
191 * support/xposix_spawn.c: Likewise.
192 * support/xposix_spawn_file_actions_addclose.c: Likewise.
193 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
194 * support/xspawn.h: Likewise.
195
196 2019-04-17 Mike Gerow <gerow@google.com>
197
198 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
199 groups limit.
200
201 2019-04-11 Florian Weimer <fweimer@redhat.com>
202
203 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
204 domain with empty string.
205 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
206
207 2019-04-11 Florian Weimer <fweimer@redhat.com>
208
209 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
210 comment.
211 (alloc_buffer_next): Change return type to non-const. Update
212 comment.
213
214 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
215
216 * manual/time.texi (Formatting Calendar Time): Add missing percent
217 sign to conversion specifier.
218
219 2019-04-09 Carlos O'Donell <carlos@redhat.com>
220 Kwok Cheung Yeung <kcy@codesourcery.com>
221
222 [BZ #16573]
223 * malloc/mtrace.c: Define prototypes for all hooks.
224 (set_default_hooks): New function.
225 (set_trace_hooks): Likewise.
226 (save_default_hooks): Likewise.
227 (tr_freehook): Use new s*_hooks functions.
228 (tr_mallochook): Likewise.
229 (tr_reallochook): Likewise.
230 (tr_memalignhook): Likewise.
231 (mtrace): Likewise.
232 (muntrace): Likewise.
233
234 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
235
236 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
237 (generic_stpcpy): New function.
238 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
239 (generic_stpncpy): New function.
240 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
241 (generic_strcat): New function.
242 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
243 (generic_strcpy): New function.
244 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
245 (STUPID_STRNCAT): Remove function.
246 (generic_strncat): New function.
247 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
248 (STUPID_STRNCPY): Remove function.
249 (generic_strncpy): New function.
250 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
251 (generic_strnlen): New function.
252 (memchr_strnlen): New function.
253 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
254 (memchr_strlen): Likewise.
255
256 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
257
258 * benchtests/bench-strstr.c (input): Add realistic input text.
259 (stupid_strstr): Remove function.
260 (basic_strstr): Add function.
261 (twoway_strstr): Add function.
262 (do_one_test): Add result checking.
263 (do_test): Use new input text. Remove accidental early matches.
264 (test_main): Improve range of tests, reduce unaligned cases.
265
266 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
267
268 * benchtests/bench-memmem.c (simple_memmem): Remove function.
269 (basic_memmem): Add function.
270 (twoway_memmem): Add function.
271
272 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
273
274 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
275 * benchtests/bench-malloc-thread.c: Likewise.
276 * benchtests/bench-skeleton.c: Likewise.
277 * benchtests/bench-strtod.c: Likewise.
278 * benchtests/bench-timing.h: Likewise.
279
280 2019-04-08 Florian Weimer <fweimer@redhat.com>
281
282 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
283 definitions.
284 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
285 RES_INSECURE2 security checks.
286 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
287 RES_INSECURE2 handling.
288
289 2019-04-08 Florian Weimer <fweimer@redhat.com>
290
291 resolv: Remove support for RES_USE_INET6 and the inet6 option.
292 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
293 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
294 GETHOSTBYNAME.
295 * resolv/Makefile (tests): Remove tst-res_use_inet6.
296 (tests-internal): Update justification for tst-resolv-res_init,
297 tst-resolv-res_init-thread.
298 (tst-res_use_inet6): Remove target.
299 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
300 * resolv/res_debug.c (p_option): Remove "inet6" support.
301 * resolv/res_init.c (res_setoptions): Likewise.
302 * resolv/res_use_inet6.h: Remove file.
303 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
304 definition.
305 (res_use_inet6): Always return false.
306 * resolv/resolv.h (RES_USE_INET6): Remove definition.
307 * resolv/resolv_context.h: Adjust file comment.
308 (struct resolv_context): Update comment on __next field.
309 (__resolv_context_put): Update comment.
310 * resolv/tst-res_use_inet6.c: Remove file.
311 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
312 "inet6" support.
313 (test_cases): Adjust test case.
314 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
315 (thread_byname2_af_inet6): Use old byname_inet6 code.
316 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
317 (gai): Remove do_inet6 argument.
318 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
319 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
320 (thread_gai_unspec_inet6): Remove functions.
321 (do_test): Adjust thread_funcs.
322 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
323 RES_USE_INET6 flag.
324 (gaih_inet): Do not disable RES_USE_INET6 flag.
325
326 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
327
328 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
329 and remove redundant code.
330
331 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
332
333 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
334 New rule.
335 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
336 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
337 Likewise.
338 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
339 Likewise.
340 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
341 Likewise.
342 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
343 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
344 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
345 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
346 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
347 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
348 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
349 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
350 wcsrchr-power7.
351 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
354 Remove wcsrchr optimizations.
355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
356
357 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
358 the loop unroll.
359
360 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
361 New rule.
362 * sysdeps/powerpc/power6/wcschr.c: Remove file.
363 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
364 Likewise.
365 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
366 Likewise.
367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
368 Likewise.
369 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
370 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
371 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
372 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
373 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
374 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
376 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
377 wcschr-power7.
378 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
380 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
381 Remove wcschr optimizations.
382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
383
384 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
385 the loop unroll.
386
387 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
388 New rule.
389 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
390 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
391 Likewise.
392 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
393 Likewise.
394 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
395 Likewise.
396 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
397 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
398 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
399 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
400 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
401 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
403 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
404 wcscpy-power7.
405 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
407 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
408 Remove wcscpy optimizations.
409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
410
411 * include/loop_unroll.h: New file.
412 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
413 besides generic implementation.
414
415 2019-04-03 DJ Delorie <dj@redhat.com>
416
417 * time/tst-strftime3.c (tm_to_printed): Disable warning about
418 snprintf truncating output.
419
420 2019-04-02 DJ Delorie <dj@redhat.com>
421
422 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
423 warning.
424
425 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
426
427 [BZ #22964]
428 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
429 era.
430 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
431 (mkreftable): Add rules for the new Japanese era and the new dates.
432
433 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
434 Rafal Luzynski <digitalfreak@lingonborough.com>
435
436 * time/tst-strftime2.c (date_t): Explicitly define the type.
437 (dates): Use natural month and year numbers to express a date.
438 (is_before): New function to compare dates.
439 (mkreftable): Minor improvements to simplify maintenance.
440 (do_test): Reflect the changes in dates array.
441
442 [BZ #24293]
443 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
444 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
445 * time/tst-strftime2.c (locales): Likewise.
446 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
447 2010-04-01, and 2011-04-01.
448 (mkreftable): Add rules for the new locales and the new dates.
449
450 2019-04-01 Carlos O'Donell <carlos@redhat.com>
451
452 * localedata/locales/ja_JP: Add comments to era entries.
453
454 2019-04-01 DJ Delorie <dj@redhat.com>
455
456 [BZ #24394]
457 * time/strptime_l.c (%Ey): Fix fencepost error.
458 * time/tst-strftime3.c: New.
459 * time/Makefile (tests): Add tst-strftime3.
460
461 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
462
463 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
464 conditional branch to DIVBYZERO. Fix unwind info.
465 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
466 excb after conditional branch to $powerof2. Add missing unop
467 instructions and .align directives and reorder instructions to
468 match __divqu.
469
470 2019-04-01 Richard Henderson <rth@twiddle.net>
471
472 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
473 Do not redefine.
474 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
475 Do not redefine.
476
477 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
478
479 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
480 $libc_cv_riscv_float_abi in `test' invocation.
481 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
482
483 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
484
485 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
486 asm with builtin.
487 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
488 Likewise.
489 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
490 (_GET_SI_FPSCR): Likewise.
491 (_SET_SI_FPSCR): Likewise.
492
493 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
494
495 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
496 clang 2.8.
497 (signbit): Use builtin for clang 3.3.
498 (isinf): Use builtin for clang 3.7.
499
500 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
501
502 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
503
504 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
505
506 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
507 quote in printf.
508
509 2019-03-25 Mike Crowe <mac@mcrowe.com>
510
511 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
512 pthread_rwlock_timedrdlock with calls to
513 pthread_rwlock_timedwrlock to ensure that the latter is tested
514 too. Use new function name in diagnostic messages too.
515
516 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
517 (do_test) Use libsupport test macros rather than hand-coded
518 conditionals and error messages. Ensure that sem_init returns zero
519 rather than not -1. Use <support/test-driver.c> rather than
520 test-skeleton.c.
521
522 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
523 test macros rather than hand-coded conditionals and error messages.
524 Use <support/test-driver.c> rather than test-skeleton.c.
525
526 2019-03-25 Joseph Myers <joseph@codesourcery.com>
527
528 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
529
530 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
531 (NT_MIPS_MSA): Likewise.
532
533 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
534
535 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
536 * benchtests/README: Update description.
537 * benchtests/bench-timing.h: Default to hp-timing.
538 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
539 HP_TIMING_PRINT): Remove.
540 (HP_TIMING_NOW): Add generic implementation.
541 (hp_timing_t): Change to uint64_t.
542
543 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
544 HP_TIMING_INLINE.
545 * nptl/descr.h: Likewise.
546 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
547 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
548 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
549 Abstract hp-timing usage with RTLD_* macros.
550 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
551 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
552 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
553 HP_TIMING_NONAVAIL): Likewise.
554 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
555 Likewise.
556 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
557 HP_SMALL_TIMING_AVAIL): Likewise.
558 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
559 HP_SMALL_TIMING_AVAIL): Likewise.
560 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
561 HP_SMALL_TIMING_AVAIL): Likewise.
562 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
563 HP_SMALL_TIMING_AVAIL): Likewise.
564 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
565 Likewise.
566 * sysdeps/generic/hp-timing-common.h: Update comment with
567 HP_TIMING_AVAIL removal.
568
569 * include/random-bits.h: New file.
570 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
571 (__res_context_mkquery): Remove usage hp-timing usage and replace with
572 random_bits.
573 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
574 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
575 Likewise.
576
577 * include/libc-internal.h (__get_clockfreq): Remove prototype.
578 * rt/Makefile (clock-routines): Remove get_clockfreq.
579 * rt/get_clockfreq.c: Remove file.
580 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
581 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
582 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
583 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
584 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
585
586 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
587 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
588 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
589 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
590 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
591
592 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
593 pthread_clock_settime.
594 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
595 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
596 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
597 * elf/rtld.c (_dl_start_final): Likewise.
598 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
599 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
600 Remove.
601 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
602 (_dl_cpuclock_offset): Remove.
603 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
604 cpuclock_offset_ununsed.
605 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
606 cpuclock_offset set.
607 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
608 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
609 * nptl/pthread_clock_gettime.c: Remove file.
610 * nptl/pthread_clock_settime.c: Likewise.
611 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
612 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
613 and CLOCK_PROCESS_CPUTIME_ID support.
614 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
615 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
616 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
617 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
618 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
619 Likewise.
620 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
621
622 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
623
624 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
625 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
626 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
627 New defines.
628 * sysdeps/s390/memmem-arch13.S: New file.
629 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
630 if it is only used as fallback.
631 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
632 * sysdeps/s390/multiarch/ifunc-impl-list.c
633 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
634
635 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
636
637 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
638 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
639 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
640 New defines.
641 * sysdeps/s390/multiarch/ifunc-impl-list.c
642 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
643 * sysdeps/s390/strstr-arch13.S: New file.
644 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
645 if it is only used as fallback.
646 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
647
648 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
649
650 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
651 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
652 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
653 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
654 ifunc selector.
655 * sysdeps/s390/multiarch/ifunc-impl-list.c
656 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
657 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
658 S390_IS_ARCH13_MIE3): New defines.
659
660 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
661
662 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
663 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
664 * sysdeps/s390/configure.ac: Add checks for arch13 support.
665 * sysdeps/s390/configure: Regenerated.
666
667 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
668
669 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
670 Add vxe2, vxp, dflt, sort flags.
671 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
672 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
673 capabilities.
674 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
675 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
676 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
677 HWCAP_S390_DFLT): Define.
678
679 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
680
681 [BZ #24372]
682 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
683 of compiler warning.
684 * locale/programs/ld-collate.c (collate_output): Likewise.
685
686 2019-03-21 DJ Delorie <dj@redhat.com>
687
688 [BZ #24372]
689 * iconv/iconvconfig.c (write_output): Replace floating point math
690 with integer math to avoid imprecise results.
691 * locale/programs/ld-collate.c (collate_output): Likewise.
692
693 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
694
695 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
696 Add HWCAP_S390_VX and HWCAP_S390_VXE.
697
698 2019-03-20 mansayk <6688000@gmail.com>
699
700 [BZ #24296]
701 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
702 (abday): Likewise, but remove the trailing dots.
703
704 2019-03-19 Joseph Myers <joseph@codesourcery.com>
705
706 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
707 macro.
708 (HWCAP_PACA): Likewise.
709 (HWCAP_PACG): Likewise.
710 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
711 Increase to 32.
712 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
713
714 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
715
716 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
717 should be handled.
718
719 2019-03-15 Joseph Myers <joseph@codesourcery.com>
720
721 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
722 version to 5.0.
723 (old_getpagesize): New syscall.
724
725 2019-03-15 Felix Yan <felixonmars@archlinux.org>
726
727 [BZ #24293]
728 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
729 * localedata/locales/cmn_TW (era): Likewise.
730 * localedata/locales/hak_TW (era): Likewise.
731 * localedata/locales/lzh_TW (era): Likewise.
732 * localedata/locales/nan_TW (era): Likewise.
733
734 2019-03-14 Florian Weimer <fweimer@redhat.com>
735
736 Remove obsolete, never-implemented XSI STREAMS declarations.
737 * manual/terminal.texi (Allocation): Remove portability note and
738 adjust example.
739 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
740 _SC_STREAMS.
741 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
742 * sysdeps/unix/inet/Subdirs (streams): Remove.
743 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
744 (conformtest-headers-UNIX98): Likewise.
745 (conformtest-headers-XOPEN2K): Likewise.
746 (conformtest-headers-POSIX2008): Likewise.
747 * posix/compat-streams.c: New file.
748 * posix/Makefile (routines): Add it.
749 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
750 getpmsg, isastream, putmsg, putpmsg.
751 (GLIBC_2.30): New section.
752 * bits/stropts.h: Remove file.
753 * bits/xtitypes.h: Likewise.
754 * conform/data/stropts.h-data: Likewise.
755 * include/stropts.h: Likewise.
756 * include/sys/stropts.h: Likewise.
757 * include/xtitypes.h: Likewise.
758 * streams/Makefile: Likewise.
759 * streams/fattach.c: Likewise.
760 * streams/fdetach.c: Likewise.
761 * streams/getmsg.c: Likewise.
762 * streams/getpmsg.c: Likewise.
763 * streams/isastream.c: Likewise.
764 * streams/putmsg.c: Likewise.
765 * streams/putpmsg.c: Likewise.
766 * streams/stropts.h: Likewise.
767 * streams/sys/stropts.h: Likewise.
768 * sysdeps/ia64/bits/xtitypes.h: Likewise.
769 * sysdeps/s390/bits/xtitypes.h: Likewise.
770 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
771 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
772 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
773 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
774 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
775 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
776 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
777 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
778 * sysdeps/x86/bits/xtitypes.h: Likewise.
779
780 2019-03-14 Florian Weimer <fweimer@redhat.com>
781
782 * nss/tst-nss-files-alias-truncated.c (do_test): Load
783 libnss_files.
784 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
785 but not with libnss_files.
786 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
787
788 2019-03-14 Zack Weinberg <zackw@panix.com>
789
790 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
791 Specify encoding="utf-8" when opening headers to check.
792
793 2019-03-13 Joseph Myers <joseph@codesourcery.com>
794
795 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
796 version to 5.0.
797 (Context.checkout_tar): Handle variable major version for Linux
798 kernel.
799
800 2019-03-13 Florian Weimer <fweimer@redhat.com>
801
802 [BZ #24047]
803 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
804
805 2019-03-13 Zack Weinberg <zackw@panix.com>
806
807 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
808 Move to stdlib.
809 * include/inttypes.h: Adjust to match.
810 * include/stdint.h: New wrapper.
811
812 2019-03-13 Zack Weinberg <zackw@panix.com>
813
814 * scripts/check-obsolete-constructs.py: New test script.
815 * scripts/check-installed-headers.sh: Remove tests for
816 obsolete typedefs, superseded by check-obsolete-constructs.py.
817 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
818 as a special test. Update commentary.
819 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
820 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
821 Update commentary.
822 * posix/sys/types.h (__u_intN_t): Remove.
823 (u_int8_t): Typedef using __uint8_t.
824 (u_int16_t): Typedef using __uint16_t.
825 (u_int32_t): Typedef using __uint32_t.
826 (u_int64_t): Typedef using __uint64_t.
827
828 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
829
830 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
831 call _dl_procinfo.
832 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
833 Ignore types other than AT_HWCAP.
834 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
835 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
836 Likewise.
837 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
838 in the case of falling back to generic output mechanism.
839 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
840 Likewise.
841
842 2019-03-12 Florian Weimer <fweimer@redhat.com>
843
844 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
845
846 2019-03-12 Florian Weimer <fweimer@redhat.com>
847
848 [BZ #24047]
849 resolv: Enable full ICMP errors for UDP DNS sockets
850 * resolv/res_enable_icmp.c: New file.
851 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
852 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
853 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
854 socket.
855
856 2019-03-11 Mao Han <han_mao@c-sky.com>
857
858 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
859 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
860
861 2019-03-11 Mao Han <han_mao@c-sky.com>
862
863 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
864 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
865 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
866
867 2019-03-11 Mao Han <han_mao@c-sky.com>
868
869 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
870 directly.
871 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
872 definition.
873
874 2019-03-11 Mao Han <han_mao@c-sky.com>
875
876 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
877 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
878 in mcontext_t
879
880 2019-03-08 Mike FABIAN <mfabian@redhat.com>
881
882 [BZ #24307]
883 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
884 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
885 Unicode 12.0.0.
886 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
887 * localedata/unicode-gen/PropList.txt: Likewise.
888 * localedata/unicode-gen/UnicodeData.txt: Likewise.
889 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
890 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
891 * localedata/charmaps/UTF-8: Regenerate.
892 * localedata/locales/i18n_ctype: Likewise.
893 * localedata/locales/tr_TR: Likewise.
894 * localedata/locales/translit_circle: Likewise.
895 * localedata/locales/translit_cjk_compat: Likewise.
896 * localedata/locales/translit_combining: Likewise.
897 * localedata/locales/translit_compat: Likewise.
898 * localedata/locales/translit_font: Likewise.
899 * localedata/locales/translit_fraction: Likewise.
900
901 2019-03-07 Joseph Myers <joseph@codesourcery.com>
902
903 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
904 than after operators.
905 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
906 (setitimer_locked): Likewise.
907 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
908 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
909 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
910 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
911 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
912 (PPC_CPU_SUPPORTED): Likewise.
913 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
914 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
915 (stat_overflow): Likewise.
916 (statfs_overflow): Likewise.
917 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
918 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
919 (eq_ttyname_r): Likewise.
920 (run_chroot_tests): Likewise.
921
922 2019-03-07 Florian Weimer <fweimer@redhat.com>
923
924 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
925 header check.
926
927 2019-03-07 Martin Liska <mliska@suse.cz>
928
929 * math/Makefile: Change location where math-vector-fortran.h is
930 installed.
931 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
932 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
933 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
934 * scripts/check-installed-headers.sh: Skip Fortran header files.
935 * scripts/check-wrapper-headers.py: Likewise.
936
937 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
938
939 * nptl/nptl-init.c (__have_futex_clock_realtime,
940 __have_futex_clock_realtime): Remove definition.
941 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
942 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
943 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
944 __ASSUME_FUTEX_CLOCK_REALTIME support.
945 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
946 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
947 * sysdeps/unix/sysv/linux/kernel-features.h
948 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
949 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
950 Adjust comment.
951
952 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
953
954 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
955 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
956 __GI___wcscpy and wcscpy.
957
958 2019-03-04 Florian Weimer <fweimer@redhat.com>
959
960 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
961 declaration.
962 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
963 defined.
964
965 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
966
967 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
968 * sysdeps/s390/s390-32/sysdep.h: Likewise.
969
970 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
971
972 [BZ #24162]
973 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
974 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
975
976 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
977
978 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
979 tests.
980 (do_test): Likewise.
981 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
982 (do_test_call_varg): Likewise.
983 (do_test_call_rarg): Likewise.
984 * sysdeps/ieee754/ldbl-opt/Makefile
985 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
986 tst-nldbl-error.
987 ($(objpfx)tst-nldbl-warn.c): New rule.
988 ($(objpfx)tst-nldbl-error.c): Likewise.
989 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
990 New variables.
991
992 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
993
994 [BZ #23984]
995 * include/bits/error-ldbl.h: New file.
996 * include/error.h: Include stdarg.h. Declare internal functions
997 __error_internal and __error_at_line_internal.
998 * misc/Makefile (headers): Add bits/error-ldbl.h.
999 * misc/bits/error-ldbl.h: New file.
1000 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1001 avoid the inclusion of bits/error.h.
1002 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1003 and __nldbl_error_at_line.
1004 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1005 (__nldbl_error, __ndlbl_error_at_line): New functions.
1006 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1007 Redirect error and error_at_line.
1008 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1010 Likewise.
1011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1012 Likewise.
1013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1014 Likewise.
1015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1016 Likewise.
1017 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1018 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1019 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1020
1021 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1022
1023 [BZ #23984]
1024 * include/bits/err-ldbl.h: New file.
1025 * include/err.h: Add prototypes for the internal functions:
1026 __vwarnx_internal and __vwarn_internal.
1027 * misc/Makefile (headers): Add bits/err-ldbl.h.
1028 * misc/bits/err-ldbl.h: New file.
1029 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1030 defined, i.e.: when -mlong-double-64 is in use.
1031 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1032 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1033 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1034 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1035 (VA_CALL): New macro.
1036 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1037 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1038 functions.
1039 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1040 declare prototypes for the new functions.
1041 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1043 Likewise.
1044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1045 Likewise.
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1047 Likewise.
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1049 Likewise.
1050 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1051 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1052 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1053
1054 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1055
1056 * sysdeps/ieee754/ldbl-opt/Makefile
1057 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1058 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1059 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1060
1061 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1062
1063 [BZ #23983]
1064 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1065 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1066 * argp/bits/argp-ldbl.h: New file.
1067 * include/argp.h: Include stdarg.h. Add prototypes for internal
1068 functions: __argp_error_internal and __argp_failure_internal.
1069 * include/bits/argp-ldbl.h: New file.
1070 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1071 __nldbl_argp_error and __nldbl_argp_failure.
1072 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1073 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1074 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1075 Redirect argp_error and argp_failure calls.
1076 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1078 Likewise.
1079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1080 Likewise.
1081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1082 Likewise.
1083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1084 Likewise.
1085 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1086 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1087 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1088
1089 2019-03-01 Florian Weimer <fweimer@redhat.com>
1090
1091 [BZ #20419]
1092 * elf/tst-big-note-lib.S: Create a syntactically valid note.
1093 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
1094 code, to avoid creating an ABI tag note.
1095 (modules-names-nobuild): Add tst-big-note-lib.
1096
1097 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
1098
1099 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
1100 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
1101
1102 2019-03-01 Florian Weimer <fweimer@redhat.com>
1103
1104 [BZ #20271]
1105 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1106 (__netlink_assert_response): Add additional missing newlines.
1107
1108 2019-02-28 Joseph Myers <joseph@codesourcery.com>
1109
1110 * sysdeps/powerpc/powerpc32/dl-machine.c
1111 (__elf_machine_fixup_plt): Use space before '('.
1112 (__process_machine_rela): Likewise.
1113 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
1114 Likewise.
1115 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
1116 Likewise.
1117 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
1118 Likewise.
1119 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
1120 (pattern): Likewise.
1121 (delta): Likewise.
1122 (check_result): Likewise.
1123 (check_excepts): Likewise.
1124 (check_op): Likewise.
1125 (fail_xr): Likewise.
1126 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
1127 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
1128 (SCNHSZ): Likewise.
1129 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
1130 Likewise.
1131 (ARGS): Likewise.
1132 (__makecontext): Likewise.
1133 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
1134 Likewise.
1135
1136 2019-02-28 Florian Weimer <fweimer@redhat.com>
1137
1138 [BZ #23937]
1139 elf: Add test with a local IFUNC resolver.
1140 * elf/ifuncmain9.c: New file.
1141 * elf/ifuncmain9pic.c: Likewise.
1142 * elf/ifuncmain9picstatic.c: Likewise.
1143 * elf/ifuncmain9pie.c: Likewise.
1144 * elf/ifuncmain9static.c: Likewise.
1145 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
1146 ifuncmain9static, ifuncmain9picstatic.
1147 * elf/Makefile [multi-arch && build-shared] (tests-internal):
1148 Add ifuncmain9, ifuncmain9pic.
1149 * elf/Makefile [multi-arch && build-shared && have-fpie]
1150 (ifunc-pie-tests): Add ifuncmain9pie.
1151 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
1152 (CFLAGS-ifuncmain9picstatic.c): Likewise.
1153 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
1154
1155 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1156
1157 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
1158 * configure: Regenerated.
1159 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
1160
1161 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1162
1163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
1164 symbol as __wcspcy instead of wcscpy.
1165
1166 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1167
1168 * include/stdio.h (__renameat2): New hidden prototype.
1169 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
1170 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
1171 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
1172 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1173
1174 2019-02-27 Joseph Myers <joseph@codesourcery.com>
1175
1176 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1177 if statement.
1178
1179 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1180 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1181 * benchtests/bench-strlen.c (do_test): Likewise.
1182 (test_main): Likewise.
1183 * catgets/gencat.c (read_old): Likewise.
1184 * elf/cache.c (load_aux_cache): Likewise.
1185 * iconvdata/bug-iconv8.c (do_test): Likewise.
1186 * math/test-tgmath-ret.c (do_test): Likewise.
1187 * nis/nis_call.c (rec_dirsearch): Likewise.
1188 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1189 * nptl/tst-audit-threads.c (do_test): Likewise.
1190 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1191 * nss/nss_test1.c (init): Likewise.
1192 * nss/test-netdb.c (test_hosts): Likewise.
1193 * posix/execvpe.c (maybe_script_execute): Likewise.
1194 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1195 * stdio-common/tst-printf.c (do_test): Likewise.
1196 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1197 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1198 * stdlib/qsort.c (STACK_SIZE): Likewise.
1199 * stdlib/test-canon.c (do_test): Likewise.
1200 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1201 * string/memcmp.c (OPSIZ): Likewise.
1202 * string/test-strcpy.c (do_test): Likewise.
1203 (do_random_tests): Likewise.
1204 * string/test-strlen.c (do_test): Likewise.
1205 (test_main): Likewise.
1206 * string/test-strrchr.c (do_test): Likewise.
1207 (do_random_tests): Likewise.
1208 * string/tester.c (test_memrchr): Likewise.
1209 (test_memchr): Likewise.
1210 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1211 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1212 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1213 (read_encoded_value_with_base): Likewise.
1214 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1215 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1216 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1217 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1218 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1219 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1220 Likewise.
1221 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1222 Likewise.
1223 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1224 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1225 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1226 Likewise.
1227 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1228 Likewise.
1229 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1230 Likewise.
1231 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1232 Likewise.
1233 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1234 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1235 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1236 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1237 * time/test_time.c (main): Likewise.
1238
1239 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1240
1241 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1242
1243 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1244 wmemcpy.
1245
1246 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1247 wmemcpy.
1248
1249 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1250
1251 * include/wchar.h (__wcscpy): New prototype.
1252 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1253 (__wcscpy): Route internal symbol to generic implementation.
1254 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1255 Add internal __wcscpy alias.
1256 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1257 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1258 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1259 * wcsmbs/wcscpy.c (wcscpy): Add
1260 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1261 use generic implementation.
1262 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1263
1264 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1265 wmemset.
1266
1267 * sysdeps/m68k/wcpcpy.c: Remove file.
1268 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1269
1270 2019-02-26 Joseph Myers <joseph@codesourcery.com>
1271
1272 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1273 than after operators.
1274 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1275 * sysdeps/mach/hurd/getcwd.c
1276 (__hurd_canonicalize_directory_name_internal): Likewise.
1277 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1278 (pthread_mutex_consistent): Likewise.
1279 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1280 Likewise.
1281 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1282 (__pthread_mutex_transfer_np): Likewise.
1283 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1284 (__pthread_mutex_unlock): Likewise.
1285 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1286 (mtx_owned_p): Likewise.
1287 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1288 (pthread_mutexattr_getrobust): Likewise.
1289 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1290 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1291 Likewise.
1292 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1293 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1294 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1295 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1296 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1297 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1298 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1299 Likewise.
1300 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1301 Likewise.
1302 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1303 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1304 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1305 (____longjmp_chk): Likewise.
1306 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1307 Likewise.
1308 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1309 (INTERNAL_SYSCALL): Likewise.
1310 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1311 (INTERNAL_SYSCALL): Likewise.
1312 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1313 (__get_clockfreq_via_cpuinfo): Likewise.
1314
1315 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
1316 comments.
1317 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
1318 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
1319 (WORD_COPY_BWD): Likewise.
1320 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1321 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1322 Likewise.
1323 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
1324 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1325 comment.
1326 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1327
1328 2019-02-25 Joseph Myers <joseph@codesourcery.com>
1329
1330 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1331 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
1332 rather than after operators.
1333 * elf/cache.c (print_cache): Likewise.
1334 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
1335 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
1336 * hurd/hurdinit.c (_hurd_setproc): Likewise.
1337 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1338 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
1339 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1340 (reauth_proc): Likewise.
1341 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
1342 (__file_name_split_at): Likewise.
1343 (__directory_name_split_at): Likewise.
1344 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1345 * hurd/port2fd.c (_hurd_port2fd): Likewise.
1346 * iconv/gconv_dl.c (do_print): Likewise.
1347 * inet/netinet/in.h (struct sockaddr_in): Likewise.
1348 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
1349 * locale/setlocale.c (new_composite_name): Likewise.
1350 * malloc/memusagestat.c (main): Likewise.
1351 * misc/fstab.c (fstab_convert): Likewise.
1352 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1353 Likewise.
1354 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
1355 (getgrent_next_file): Likewise.
1356 (internal_getgrnam_r): Likewise.
1357 (internal_getgrgid_r): Likewise.
1358 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
1359 Likewise.
1360 (internal_getgrent_r): Likewise.
1361 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1362 (getpwent_next_nss): Likewise.
1363 (getpwent_next_file): Likewise.
1364 (internal_getpwnam_r): Likewise.
1365 (internal_getpwuid_r): Likewise.
1366 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
1367 Likewise.
1368 (getspent_next_nss): Likewise.
1369 (internal_getspnam_r): Likewise.
1370 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1371 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1372 * string/strchr.c (STRCHR): Likewise.
1373 * string/strchrnul.c (STRCHRNUL): Likewise.
1374 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
1375 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1376 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
1377 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
1378 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
1379 Likewise.
1380 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
1381 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1382 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1383 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
1384 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
1385 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1386 (open_file): Likewise.
1387 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
1388 (pthread_mutexattr_setprotocol): Likewise.
1389 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1390 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1391 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1392 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1393 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1394 Likewise.
1395 (elf_machine_rela): Likewise.
1396 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1397 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1398 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
1399 * sysdeps/posix/rename.c (rename): Likewise.
1400 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
1401 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
1402 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
1403 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
1404 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1405 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
1406 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
1407 Likewise.
1408 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
1409 Likewise.
1410 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
1411 * time/tzfile.c (__tzfile_compute): Likewise.
1412
1413 2019-02-22 Joseph Myers <joseph@codesourcery.com>
1414
1415 * benchtests/bench-memmem.c (simple_memmem): Break lines before
1416 rather than after operators.
1417 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
1418 * crypt/md5.c (md5_finish_ctx): Likewise.
1419 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
1420 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
1421 * elf/cache.c (load_aux_cache): Likewise.
1422 * elf/dl-load.c (open_verify): Likewise.
1423 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1424 * elf/readelflib.c (process_elf_file): Likewise.
1425 * elf/rtld.c (dl_main): Likewise.
1426 * elf/sprof.c (generate_call_graph): Likewise.
1427 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
1428 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1429 * hurd/dtable.c (reauth_dtable): Likewise.
1430 * hurd/getdport.c (__getdport): Likewise.
1431 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
1432 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
1433 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1434 Likewise.
1435 * hurd/hurdioctl.c (fioctl): Likewise.
1436 * hurd/hurdselect.c (_hurd_select): Likewise.
1437 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
1438 (STOPSIGS): Likewise.
1439 * hurd/hurdstartup.c (_hurd_startup): Likewise.
1440 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
1441 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1442 * hurd/msgportdemux.c (msgport_server): Likewise.
1443 * hurd/setauth.c (_hurd_setauth): Likewise.
1444 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
1445 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
1446 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1447 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
1448 * login/tst-utmp.c (do_check): Likewise.
1449 (simulate_login): Likewise.
1450 * mach/lowlevellock.h (lll_lock): Likewise.
1451 (lll_trylock): Likewise.
1452 * math/test-fenv.c (ALL_EXC): Likewise.
1453 * math/test-fenvinline.c (ALL_EXC): Likewise.
1454 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
1455 * nis/nis_call.c (__do_niscall3): Likewise.
1456 * nis/nis_callback.c (cb_prog_1): Likewise.
1457 * nis/nis_defaults.c (searchaccess): Likewise.
1458 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1459 * nis/nis_ismember.c (internal_ismember): Likewise.
1460 * nis/nis_local_names.c (nis_local_principal): Likewise.
1461 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
1462 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
1463 Likewise.
1464 * nis/ypclnt.c (yp_match): Likewise.
1465 (yp_first): Likewise.
1466 (yp_next): Likewise.
1467 (yp_master): Likewise.
1468 (yp_order): Likewise.
1469 * nscd/hstcache.c (cache_addhst): Likewise.
1470 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1471 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
1472 (internal_getpwuid_r): Likewise.
1473 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
1474 * posix/glob.h (__GLOB_FLAGS): Likewise.
1475 * posix/regcomp.c (peek_token): Likewise.
1476 (peek_token_bracket): Likewise.
1477 (parse_expression): Likewise.
1478 * posix/regexec.c (sift_states_iter_mb): Likewise.
1479 (check_node_accept_bytes): Likewise.
1480 * posix/tst-spawn3.c (do_test): Likewise.
1481 * posix/wordexp-test.c (testit): Likewise.
1482 * posix/wordexp.c (parse_tilde): Likewise.
1483 (exec_comm): Likewise.
1484 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
1485 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
1486 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
1487 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
1488 * stdio-common/tst-fileno.c (do_test): Likewise.
1489 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
1490 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
1491 * stdlib/strtod_l.c (round_and_return): Likewise.
1492 (____STRTOF_INTERNAL): Likewise.
1493 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
1494 * string/strcspn.c (STRCSPN): Likewise.
1495 * string/test-memmem.c (simple_memmem): Likewise.
1496 * termios/tcsetattr.c (tcsetattr): Likewise.
1497 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
1498 * time/asctime.c (asctime_internal): Likewise.
1499 * time/strptime_l.c (__strptime_internal): Likewise.
1500 * time/sys/time.h (timercmp): Likewise.
1501 * time/tzfile.c (__tzfile_compute): Likewise.
1502
1503 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
1504
1505 [BZ #21915]
1506 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
1507
1508 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1509
1510 * argp/argp-help.c (__argp_error_internal): New function,
1511 renamed from __argp_error, but that takes a 'mode_flags'
1512 parameter to control the format of long double parameters.
1513 (__argp_error): Converted into a call __argp_error_internal.
1514 (__argp_failure_internal): New function, renamed from
1515 __argp_failure, but that takes a 'mode_flags' parameter.
1516 (__argp_failure): Converted into a call __argp_failure_internal.
1517 * misc/err.c (__vwarnx_internal): New function, renamed from
1518 vwarnx, but that takes a 'mode_flags' parameter.
1519 (vwarnx): Converted into a call to __vwarnx_internal.
1520 (__vwarn_internal): New function, renamed from vwarn, but that
1521 takes a 'mode_flags' parameter.
1522 (vwarn): Converted into a call to __vwarn_internal.
1523 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
1524 call to __vfxprintf with 'mode_flags'.
1525 (__error_internal): New function, renamed from error, but that
1526 takes a 'mode_flags' parameter.
1527 (error): Converted into a call to __error_internal.
1528 (__error_at_line_internal): New function, renamed from
1529 error_at_line, but that takes a 'mode_flags' parameter.
1530 (error_at_line): Converted into a call to
1531 __error_at_line_internal.
1532 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
1533 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
1534 Likewise.
1535
1536 2019-02-20 Martin Liska <mliska@suse.cz>
1537
1538 * math/Makefile: Install math-vector-fortran.h.
1539 * bits/math-vector-fortran.h: New file.
1540 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
1541
1542 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1543
1544 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
1545 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
1546
1547 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
1548
1549 * nptl/pthread_mutex_trylock.c: Fix comment.
1550
1551 2019-02-19 Carlos O'Donell <carlos@redhat.com>
1552
1553 * nptl/pthread_tryjoin.c: Fix comment.
1554
1555 2019-02-18 Joseph Myers <joseph@codesourcery.com>
1556
1557 [BZ #24231]
1558 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
1559 after R_SPARC_H34 case.
1560
1561 2019-02-18 Florian Weimer <fweimer@redhat.com>
1562
1563 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
1564 (getanswer): Do not call Dprintf.
1565 (res_gethostbyname2_context): Likewise.
1566 (res_gethostbyaddr_context): Likewise.
1567
1568 2019-02-18 Florian Weimer <fweimer@redhat.com>
1569
1570 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
1571 declaration.
1572 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
1573 Remove definitions.
1574 * libio/stdfiles.c: Update comment.
1575 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
1576 set _IO_stdin, _IO_stdout, _IO_stderr.
1577 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
1578 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
1579 inline function.
1580 (_IO_deallocate_file): New inline function.
1581 * libio/iolibio.h (_IO_vprintf): Remove definition.
1582 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
1583 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1584 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
1585 _IO_legacy_file.
1586 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
1587 __builtin_expect. Use _IO_legacy_file.
1588
1589 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
1590
1591 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
1592 Initialize ctid with a known value and remove update of ctid
1593 after clone.
1594 (wait_tid): Adjust arguments and call futex_wait with ctid_val
1595 as assumed current value of ctid_ptr.
1596
1597 2019-02-16 Florian Weimer <fweimer@redhat.com>
1598
1599 Check that non-sysdeps headers have wrapper headers.
1600 * scripts/check-wrapper-headers.py: New file.
1601 * Makefile (tests-special): Add check-wrapper-headers.out.
1602 (check-wrapper-headers.out): New target.
1603 * Rules (tests-special): Add check-wrapper-headers.out.
1604 (check-wrapper-headers.out): New target.
1605
1606 2019-02-16 Florian Weimer <fweimer@redhat.com>
1607
1608 Add missing header wrappers under include/.
1609 * include/ar.h: New file.
1610 * include/bits/mqueue2.h: Likewise.
1611 * include/bits/stdio.h: Likewise.
1612 * include/bits/stdio2.h: Likewise.
1613 * include/fstab.h: Likewise.
1614 * include/fts.h: Likewise.
1615 * include/lastlog.h: Likewise.
1616 * include/netinet/icmp6.h: Likewise.
1617 * include/netinet/igmp.h: Likewise.
1618 * include/netinet/ip6.h: Likewise.
1619 * include/re_comp.h: Likewise.
1620 * include/regexp.h: Likewise.
1621 * include/rpcsvc/bootparam.h: Likewise.
1622 * include/rpcsvc/yp_prot.h: Likewise.
1623 * include/sys/random.h: Likewise.
1624 * include/sys/stropts.h: Likewise.
1625 * include/sys/ttychars.h: Likewise.
1626 * include/sys/vfs.h: Likewise.
1627 * include/wait.h: Likewise.
1628
1629 2019-02-16 Florian Weimer <fweimer@redhat.com>
1630
1631 * nptl_db/proc_service.h: Move to ...
1632 * sysdeps/nptl/proc_service.h: ... here.
1633 * nptl_db/thread_db.h: Move to ...
1634 * sysdeps/nptl/thread_db.h: ... here.
1635 * nptl/descr.h: Include <thread_db.h>.
1636
1637 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1638
1639 * io/Makefile (tests): Add tst-lockf.
1640 * io/lockf.c (lockf): Use __fcntl and only define for
1641 !__OFF_T_MATCHES_OFF64_T.
1642 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
1643 __OFF_T_MATCHES_OFF64_T case.
1644 * io/tst-lockf.c: New file.
1645 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
1646 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
1647 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
1648 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
1649 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
1650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
1651 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
1652 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
1653 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
1654
1655 2019-02-15 Florian Weimer <fweimer@redhat.com>
1656
1657 [BZ #24211]
1658 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
1659 pd->result after the thread descriptor has been freed.
1660
1661 2019-02-15 Joseph Myers <joseph@codesourcery.com>
1662
1663 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
1664 from function return type.
1665
1666 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
1667
1668 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1669
1670 * scripts/test_printers_common.py: Set TERM to a known harmless
1671 value.
1672
1673 2019-02-14 Joseph Myers <joseph@codesourcery.com>
1674
1675 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
1676 (xdr_u_int): Likewise.
1677 (xdr_enum): Likewise.
1678 (xdr_bytes): Reword fall-through comment.
1679 (xdr_string): Likewise.
1680
1681 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1682
1683 [BZ #2421]
1684 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
1685 (tests): Add tst-join8 tst-join9.
1686 * nptl/lll_timedwait_tid.c: Remove file.
1687 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
1688 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
1689 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
1690 * nptl/pthread_join_common.c (timedwait_tid): New function.
1691 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
1692 is set.
1693 * nptl/tst-join5.c (thread_join): New function.
1694 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
1695 check.
1696 * nptl/tst-join8.c: New file.
1697 * nptl/tst-join9.c: Likewise.
1698 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
1699 lll_futex_timed_wait_cancel): Add generic macros.
1700 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
1701 Remove definitions.
1702 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1703 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1704 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1705 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
1706 Remove function.
1707 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
1708 Likewise.
1709 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1710 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
1711 (lll_futex_timed_wait_cancel): New macro.
1712
1713 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
1714
1715 * benchtests/Makefile: Add malloc-simple benchmark.
1716 * benchtests/bench-malloc-simple.c: New benchmark.
1717
1718 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1719
1720 * benchtests/bench-memmove.c (do_one_test): Remove unused
1721 ORIG_SRC.
1722 (do_test): Adjust.
1723 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
1724 ORIG_SRC.
1725 (do_test): Adjust.
1726
1727 2019-01-13 Jim Wilson <jimw@sifive.com>
1728
1729 [BZ #24040]
1730 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
1731 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
1732 (func): New.
1733 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
1734 call func directly.
1735 * nptl/Makefile (tests): Add tst-unwind-thread.
1736 (CFLAGS-tst-unwind-thread.c): Define.
1737 * nptl/tst-unwind-thread.c: New file.
1738 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
1739 as undefined.
1740
1741 2019-02-13 Joseph Myers <joseph@codesourcery.com>
1742
1743 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
1744 comment wording.
1745 * nis/nis_call.c (__do_niscall3): Likewise.
1746
1747 * catgets/gencat.c (normalize_line): Use braces around empty
1748 'else' body.
1749 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1750 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
1751 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
1752 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
1753 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
1754 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
1755 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
1756 definition.
1757
1758 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
1759 execlp returns.
1760
1761 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
1762
1763 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
1764 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
1765 * benchtests/bench-strchr.c (stupid_strchr): Remove.
1766 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
1767 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
1768 * benchtests/bench-strlen.c (builtin_strlen): Remove.
1769 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
1770 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
1771 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
1772 * benchtests/bench-strspn.c (stupid_strspn): Remove.
1773 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
1774 * benchtests/bench-bcopy.c: Delete file.
1775 * benchtests/bench-bzero.c: Likewise.
1776 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
1777 (simple_memccpy): Remove.
1778 (generic_memccpy): Add function.
1779 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
1780 * benchtests/bench-memmove.c (simple_bcopy): Remove.
1781 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
1782 (generic_mempcpy): Add new function.
1783 * benchtests/bench-memset.c (simple_bzero): Remove.
1784 (builtin_bzero): Remove.
1785 (builtin_memset): Remove.
1786 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
1787 (generic_rawmemchr): Add new function.
1788
1789 2019-02-12 Florian Weimer <fweimer@redhat.com>
1790
1791 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
1792
1793 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1794
1795 [BZ #24122]
1796 * elf/Makefile (tests): Add tst-audit13.
1797 (modules-names): Add tst-audit13mod1.
1798 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
1799 rule.
1800 * elf/tst-audit13.c: New file.
1801 * elf/tst-audit13mod1.c: Likewise.
1802
1803 2019-02-12 Florian Weimer <fweimer@redhat.com>
1804
1805 [BZ #24122]
1806 * elf/rtld.c (unload_audit_module): New function.
1807 (report_audit_module_load_error): Likewise.
1808 (load_audit_module): Likewise. Extracted from dl_main. Call
1809 _dl_close if the laversion symbol cannot be found. Use early
1810 returns for error handling. Add malloc error check. Check for a
1811 zero return value from la_version. Remove spurious comment about
1812 static TLS initialization. Remove useless casts.
1813 (notify_audit_modules_of_loaded_object): New function. Extracted
1814 from dl_main.
1815 (load_audit_module): Likewise.
1816 (dl_main): Call load_audit_modules.
1817
1818 2019-02-12 Joseph Myers <joseph@codesourcery.com>
1819
1820 * elf/dl-exception.c (_dl_exception_create_format): Add
1821 fall-through comments.
1822 * elf/ldconfig.c (parse_conf_include): Likewise.
1823 * elf/rtld.c (print_statistics): Likewise.
1824 * locale/programs/charmap.c (parse_charmap): Likewise.
1825 * misc/mntent_r.c (__getmntent_r): Likewise.
1826 * posix/wordexp.c (parse_arith): Likewise.
1827 (parse_backtick): Likewise.
1828 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
1829 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1830 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1831
1832 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
1833
1834 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
1835 Use float instead of double.
1836
1837 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
1838
1839 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
1840
1841 2019-02-08 Joseph Myers <joseph@codesourcery.com>
1842
1843 * sysdeps/powerpc/bits/mathinline.h: Remove.
1844
1845 2019-02-08 Florian Weimer <fweimer@redhat.com>
1846
1847 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
1848 * math/bits/math-finite.h: Move to ...
1849 * bits/math-finite.h: ... here.
1850
1851 2019-02-08 Florian Weimer <fweimer@redhat.com>
1852
1853 * sysdeps/generic/bits/unistd_ext.h: Move to ...
1854 * bits/unistd_ext.h: here.
1855
1856 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
1857
1858 [BZ #21915]
1859 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
1860 * nss/tst-nss-files-hosts-long.c: New file.
1861 * nss/tst-nss-files-hosts-long.root: New directory.
1862 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
1863 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
1864
1865 2019-02-08 Florian Weimer <fweimer@redhat.com>
1866
1867 * include/bits/unistd_ext.h: Remove file.
1868 * posix/bits/unistd_ext.h: Move to ...
1869 * sysdeps/generic/bits/unistd_ext.h: ... here.
1870
1871 2019-02-08 Florian Weimer <fweimer@redhat.com>
1872
1873 * include/bits/unistd_ext.h: New file.
1874
1875 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
1876
1877 * time/tst-strftime2.c: Use array_length macros instead of magic
1878 numbers.
1879
1880 2019-02-08 Florian Weimer <fweimer@redhat.com>
1881
1882 [BZ #24161]
1883 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
1884 argument.
1885 * nptl/register-atfork.c (__run_fork_handlers): Only perform
1886 locking if the new do_locking argument is true.
1887 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
1888 __run_fork_handlers.
1889
1890 2019-02-08 Florian Weimer <fweimer@redhat.com>
1891
1892 [BZ #6399]
1893 Linux: Add gettid system call wrapper.
1894 * posix/Makefile (headers): Add bits/unistd_ext.h.
1895 * posix/bits/unistd_ext.h: New file.
1896 * posix/unistd.h: Include it.
1897 * manual/process.texi (Process Identification): Document gettid.
1898 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
1899 tst-gettid, tst-gettid-kill.
1900 (tst-gettid): Link with $(shared-thread-library).
1901 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
1902 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
1903 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
1904 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
1905 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
1906 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1907 Add gettid.
1908 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1909 Likewise.
1910 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1911 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
1912 Likewise.
1913 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
1914 Likewise.
1915 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
1916 Likewise.
1917 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
1918 Likewise.
1919 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1920 Likewise.
1921 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1922 Likewise.
1923 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1924 Likewise.
1925 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1926 (GLIBC_2.30): Likewise.
1927 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1928 (GLIBC_2.30): Likewise.
1929 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1930 (GLIBC_2.30): Likewise.
1931 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1932 (GLIBC_2.30): Likewise.
1933 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1934 Likewise.
1935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1936 (GLIBC_2.30): Likewise.
1937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1938 (GLIBC_2.30): Likewise.
1939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1940 (GLIBC_2.30): Likewise.
1941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1942 (GLIBC_2.30): Likewise.
1943 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1944 Likewise.
1945 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1946 Likewise.
1947 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1948 Likewise.
1949 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1950 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1951 Likewise.
1952 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1953 Likewise.
1954 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1955 Likewise.
1956 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1957 Likewise.
1958 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
1959
1960 2019-02-08 Florian Weimer <fweimer@redhat.com>
1961
1962 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
1963 compatibility symbols.
1964
1965 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
1966
1967 [BZ #24180]
1968 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1969 Add compiler barriers and comments.
1970
1971 2019-02-07 Florian Weimer <fweimer@redhat.com>
1972
1973 * include/array_length.h (array_length): Do not use a statement
1974 expression and _Static_assert, so that array_length can be used at
1975 file scope and as a constant expression.
1976
1977 2019-02-07 Florian Weimer <fweimer@redhat.com>
1978
1979 * support/xdlfcn.h (xdlmopen): Declare.
1980 * support/xdlmopen.c: New file.
1981 * support/Makefile (libsupport-routines): Add xdlmopen.
1982
1983 2019-02-06 Joseph Myers <joseph@codesourcery.com>
1984
1985 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
1986 before return type, without separate inline.
1987 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
1988 * elf/dl-tunables.h (tunable_is_name): Likewise.
1989 * malloc/malloc.c (do_set_trim_threshold): Likewise.
1990 (do_set_top_pad): Likewise.
1991 (do_set_mmap_threshold): Likewise.
1992 (do_set_mmaps_max): Likewise.
1993 (do_set_mallopt_check): Likewise.
1994 (do_set_perturb_byte): Likewise.
1995 (do_set_arena_test): Likewise.
1996 (do_set_arena_max): Likewise.
1997 (do_set_tcache_max): Likewise.
1998 (do_set_tcache_count): Likewise.
1999 (do_set_tcache_unsorted_limit): Likewise.
2000 * nis/nis_subr.c (count_dots): Likewise.
2001 * nptl/allocatestack.c (advise_stack_range): Likewise.
2002 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2003 (do_sin): Likewise.
2004 (reduce_sincos): Likewise.
2005 (do_sincos): Likewise.
2006 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2007 (do_set_elision_enable): Likewise.
2008 (TUNABLE_CALLBACK_FNDECL): Likewise.
2009
2010 2019-02-06 Florian Weimer <fweimer@redhat.com>
2011
2012 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2013 (xdlsym): Use dlerror to detect a NULL symbol.
2014
2015 2019-02-06 Florian Weimer <fweimer@redhat.com>
2016
2017 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2018 <stap-probe.h>.
2019 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2020
2021 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2022
2023 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2024
2025 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2026
2027 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2028 __wmemcmp and weak alias to wmemcmp.
2029
2030 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
2031
2032 [BZ #23403]
2033 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2034 TLS_TCB_AT_TP tls variant.
2035 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2036 Add alignment checks.
2037 * support/Makefile (libsupport-routines): Add xposix_memalign and
2038 xpthread_setstack.
2039 * support/support.h: Add xposix_memalign.
2040 * support/xthread.h: Add xpthread_attr_setstack.
2041 * support/xposix_memalign.c: New File.
2042 * support/xpthread_attr_setstack.c: Likewise.
2043
2044 2019-02-05 Florian Weimer <fweimer@redhat.com>
2045
2046 [BZ #24164]
2047 arm: Use "nr" constraint for Systemtap probes, to avoid the
2048 compiler using memory operands for constants, due to the "o"
2049 alternative in the default "nor" constraint.
2050 * include/stap-probe.h [USE_STAP_PROBE]: Include
2051 <stap-probe-machine.h>
2052 * sysdeps/generic/stap-probe-machine.h: New file.
2053 * sysdeps/arm/stap-probe-machine.h: Likewise.
2054
2055 2019-02-04 Joseph Myers <joseph@codesourcery.com>
2056
2057 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2058 with 0, not tcache->entries[tc_idx].
2059
2060 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2061 once.
2062
2063 2019-02-04 Andreas Schwab <schwab@suse.de>
2064
2065 [BZ #16976]
2066 [BZ #17396]
2067 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2068 looking up collating elements match against (wide) character
2069 sequence instead of name. Correct alignment adjustment.
2070 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2071 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2072 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2073 (LOCALES): Add cs_CZ.ISO-8859-2.
2074 * posix/tst-fnmatch4.c: New file.
2075 * posix/tst-fnmatch5.c: New file.
2076 * include/wchar.h (__wmemcmp): Declare.
2077 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2078 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2079 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2080 * sysdeps/s390/wmemcmp.c: Likewise.
2081
2082 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2083
2084 [BZ #24155]
2085 CVE-2019-7309
2086 * NEWS: Updated for CVE-2019-7309.
2087 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2088 upper 32 bits of RDX register for x32. Use unsigned Jcc
2089 instructions, instead of signed.
2090 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
2091 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
2092
2093 2019-02-04 Florian Weimer <fweimer@redhat.com>
2094
2095 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
2096 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
2097 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
2098 Likewise.
2099 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
2100 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
2101 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
2102 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
2103 Likewise.
2104 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
2105 Likewise.
2106 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
2107 Likewise.
2108 (posix_spawn_file_actions_addopen): Likewise.
2109 (posix_spawn_file_actions_addclose): Likewise.
2110 (posix_spawn_file_actions_adddup2): Likewise.
2111 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
2112 qualifiers.
2113 (posix_spawn_file_actions_addfchdir_np): Likewise.
2114
2115 2019-02-04 David Newall <glibc@davidnewall.com>
2116
2117 elf: Implement --preload option for the dynamic linker.
2118 * elf/rtld.c (preloadarg): New variable.
2119 (handle_preload_list): Pass through “where” argument to
2120 do_preload.
2121 (dl_main): Handle "--preload" and add second call to
2122 handle_preload_list.
2123 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
2124 (tst-rtld-preload-OBJS): Set variable.
2125 (tst-rtld-preload.out): New target.
2126 * elf/tst-rtld-preload.sh: New file.
2127
2128 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
2129
2130 * Makefile (testrun.sh): Exit in case of incorrect argument.
2131
2132 2019-02-04 Florian Weimer <fweimer@redhat.com>
2133
2134 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
2135 alignment gaps.
2136
2137 2019-02-03 Florian Weimer <fweimer@redhat.com>
2138
2139 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
2140 implicit overflow checks.
2141
2142 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2143
2144 * stdlib/isomac.c: Include <unistd.h>.
2145
2146 2019-02-03 Florian Weimer <fweimer@redhat.com>
2147
2148 * include/time.h (__tzfile_default): Use int, not long int, for
2149 the GMT offsets.
2150 * time/tzfile.c (struct ttinfo): Change type of the offset member
2151 to int.
2152 (__tzfile_read): Remove useless cast.
2153 (__tzfile_default): Adjust prototype.
2154 * time/tzset.c (tz_rule): Change type of the offset member to int.
2155 (parse_offset): Change the type of the sign variable to int.
2156
2157 2019-02-03 Florian Weimer <fweimer@redhat.com>
2158
2159 [BZ #24153]
2160 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
2161 * libio/getchar.c (getchar): Likewise.
2162 * libio/getchar_u.c (getchar_unlocked): Likewise.
2163 * libio/getwchar.c (getwchar): Likewise.
2164 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2165 * libio/iogets.c (_IO_gets): Likewise.
2166 * libio/vscanf.c (_IO_vscanf): Likewise.
2167 * libio/vwscanf.c (__vwscanf): Likewise.
2168 * libio/tst-bz24153.c: New file.
2169 * libio/Makefile (tests): Add it.
2170
2171 2019-02-02 Florian Weimer <fweimer@redhat.com>
2172
2173 [BZ #14829]
2174 * manual/resource.texi (Basic Scheduling Functions): Add
2175 portability note. Change process to task throughout the section.
2176 Remove incorrect comment about sched_yield as it affects
2177 tasks/threads, not entire processes.
2178 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2179 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2180
2181 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2182
2183 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2184 * configure: Regenerated.
2185 * manual/install.texi (Tools for Compilation): Update minimum GCC
2186 version.
2187 * INSTALL: Regenerated.
2188
2189 2019-02-01 Florian Weimer <fweimer@redhat.com>
2190
2191 * support/support_test_compare_string.c
2192 (support_test_compare_string): Use "string" in error message.
2193 * support/tst-test_compare_string.c (do_test): Adjust.
2194
2195 2019-02-01 Florian Weimer <fweimer@redhat.com>
2196
2197 * support/support_format_address_family.c
2198 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2199
2200 2019-02-01 Florian Weimer <fweimer@redhat.com>
2201
2202 * manual/socket.texi (Internet Address Formats): Clarify the byte
2203 order of struct sockaddr_in, struct sockaddr_in6. Document
2204 sin6_flowinfo and sin6_scope_id.
2205
2206 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2207
2208 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2209 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2210 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2211 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2212 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2213 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2214
2215 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2216
2217 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2218 [!MEMCHR](MEMCHR): Set to __memchr.
2219 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2220 Add memchr_generic and memchr_nosimd.
2221 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2222 (__libc_ifunc_impl_list): Add memchr ifuncs.
2223 * sysdeps/aarch64/multiarch/memchr.c: New file.
2224 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2225 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2226
2227 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2228
2229 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2230 Add memset_emag.
2231 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2232 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2233 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2234 Add IS_EMAG check for ifunc dispatch.
2235 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2236 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2237
2238 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2239
2240 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2241 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2242 Add emag.
2243 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2244 New macro.
2245
2246 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
2247
2248 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2249
2250 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
2251
2252 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2253 syscall-template file.
2254
2255 2019-01-31 Carlos O'Donell <carlos@redhat.com>
2256 Torvald Riegel <triegel@redhat.com>
2257 Rik Prohaska <prohaska7@gmail.com>
2258
2259 [BZ# 23844]
2260 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2261 tst-rwlock-trywrlock-stall.
2262 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2263 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2264 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2265 Set __wrphase_fute to 1 only if we started the write phase.
2266 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2267 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2268 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2269 * support/xpthread_rwlock_destroy.c: New file.
2270 * support/xthread.h: Declare xpthread_rwlock_destroy.
2271
2272 2019-02-01 Joseph Myers <joseph@codesourcery.com>
2273
2274 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2275 version to 4.0.2.
2276
2277 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2278
2279 [BZ #24051]
2280 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2281 * libio/fileops.c (_IO_new_file_underflow): Likewise
2282 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2283 * libio/putchar.c (putchar): Likewise.
2284 * libio/putchar_u.c (putchar_unlocked): Likewise.
2285 * libio/putwchar.c (putchar): Likewise.
2286 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2287 * libio/tst-bz24051.c: New test.
2288 * libio/Makefile (tests): Add tst-bz24051
2289
2290 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2291
2292 CVE-2019-9169
2293 regex: fix read overrun [BZ #24114]
2294 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2295 https://debbugs.gnu.org/34140
2296 * posix/regexec.c (proceed_next_node):
2297 Do not read past end of input buffer.
2298
2299 2019-01-31 Florian Weimer <fweimer@redhat.com>
2300
2301 [BZ #24059]
2302 * nss/nss_files/files-alias.c (get_next_alias): Handle
2303 continuation line without newline at the end.
2304 * nss/tst-nss-files-alias-truncated.c: New file.
2305 * nss/Makefile [$(build-shared)] (tests): Add
2306 tst-nss-files-alias-truncated.
2307 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2308 * support/namespace.h (struct support_chroot_configuration): Add
2309 aliases member.
2310 (struct support_chroot): Add path_aliases member.
2311 * support/support_chroot.c (support_chroot_create): Handle
2312 aliases.
2313 (support_chroot_free): Free path_aliases.
2314
2315 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2316
2317 * version.h (RELEASE): Set to "development".
2318 (VERSION): Set to "2.29.9000".
2319 * NEWS: Add section for 2.30.
2320
2321 * version.h (RELEASE): Set to "stable".
2322 (VERSION): Set to "2.29".
2323 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
2324
2325 * NEWS: Add the list of bugs fixed in 2.29.
2326 * manual/contrib.texi: Update contributors list with some more
2327 names.
2328 * manual/install.texi: Update latest versions of packages
2329 tested.
2330 * INSTALL: Regenerated.
2331
2332 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2333
2334 * po/be.po: Update translations.
2335 * po/bg.po: Likewise.
2336 * po/ca.po: Likewise.
2337 * po/cs.po: Likewise.
2338 * po/da.po: Likewise.
2339 * po/de.po: Likewise.
2340 * po/el.po: Likewise.
2341 * po/eo.po: Likewise.
2342 * po/es.po: Likewise.
2343 * po/fi.po: Likewise.
2344 * po/fr.po: Likewise.
2345 * po/gl.po: Likewise.
2346 * po/hr.po: Likewise.
2347 * po/hu.po: Likewise.
2348 * po/ia.po: Likewise.
2349 * po/id.po: Likewise.
2350 * po/it.po: Likewise.
2351 * po/ja.po: Likewise.
2352 * po/ko.po: Likewise.
2353 * po/lt.po: Likewise.
2354 * po/nb.po: Likewise.
2355 * po/nl.po: Likewise.
2356 * po/pl.po: Likewise.
2357 * po/pt_BR.po: Likewise.
2358 * po/ru.po: Likewise.
2359 * po/rw.po: Likewise.
2360 * po/sk.po: Likewise.
2361 * po/sl.po: Likewise.
2362 * po/sv.po: Likewise.
2363 * po/tr.po: Likewise.
2364 * po/uk.po: Likewise.
2365 * po/vi.po: Likewise.
2366 * po/zh_CN.po: Likewise.
2367 * po/zh_TW.po: Likewise.
2368
2369 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
2370
2371 [BZ #24130]
2372 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
2373 of $f3 register on $y_is_neg path.
2374
2375 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2376
2377 [BZ #24110]
2378 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
2379 sigaltstack.ss_flags.
2380
2381 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
2382
2383 [BZ #23758]
2384 * manual/time.texi (strftime): Document "%Ey".
2385 * time/strftime_l.c (__strftime_internal): Set the default width
2386 padding with zero of "%Ey" to 2.
2387
2388 [BZ #24096]
2389 * manual/time.texi (strftime): Document "%EC" and "%EY".
2390 * time/Makefile (tests): Add tst-strftime2.
2391 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
2392 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
2393 override padding for "%Ey".
2394 If an optional flag ('_' or '-') is specified to "%EY", interpret the
2395 "%Ey" in the subformat as if decorated with that flag.
2396 * time/tst-strftime2.c: New file.
2397
2398 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2399
2400 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
2401 are not defined.
2402
2403 [BZ #24122]
2404 * elf/Makefile (tests): Add tst-audit13.
2405 (modules-names): Add tst-audit13mod1.
2406 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2407 rule.
2408 * elf/rtld.c (dl_main): Handle invalid audit module version.
2409 * elf/tst-audit13.c: New file.
2410 * elf/tst-audit13mod1.c: Likewise.
2411
2412 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2413
2414 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
2415 returned by __hurd_at_flags.
2416 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
2417 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
2418 directly instead of __hurd_file_name_lookup.
2419
2420 2019-01-21 Joseph Myers <joseph@codesourcery.com>
2421
2422 * scripts/build-many-glibcs.py (Context.checkout): Default
2423 binutils version to 2.32 branch.
2424
2425 2019-01-21 Florian Weimer <fweimer@redhat.com>
2426
2427 [BZ #20018]
2428 CVE-2016-10739
2429 resolv: Reject trailing characters in host names
2430 * include/arpa/inet.h (__inet_aton_exact): Declare.
2431 (inet_aton): Remove hidden prototype. No longer used internally.
2432 * nscd/gai.c (__inet_aton): Do not define.
2433 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
2434 * nss/digits_dots.c (__inet_aton): Likewise.
2435 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
2436 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
2437 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
2438 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
2439 (tst-resolv-trailing): Likewise.
2440 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
2441 libc.
2442 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
2443 Make static. Add endp parameter.
2444 (__inet_aton_exact): New function.
2445 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
2446 (__inet_addr): Call inet_aton_end.
2447 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
2448 not just IPv6. Call __inet_aton_exact.
2449 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
2450 (tests): Make const. Add additional test cases with trailing
2451 characters.
2452 (do_test): Use array_length.
2453 * resolv/tst-inet_aton_exact.c: New file.
2454 * resolv/tst-resolv-trailing.c: Likewise.
2455 * resolv/tst-resolv-nondecimal.c: Likewise.
2456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
2457
2458 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2459
2460 [BZ# 24097]
2461 CVE-2019-6488
2462 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
2463 Clear the upper 32 bits of RSI register.
2464 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
2465 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
2466 and tst-size_t-wcsnlen.
2467 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
2468 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
2469
2470 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2471
2472 [BZ# 24097]
2473 CVE-2019-6488
2474 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
2475 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2476 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2477 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
2478 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
2479
2480 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2481
2482 [BZ# 24097]
2483 CVE-2019-6488
2484 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
2485 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2486 * sysdeps/x86_64/strcmp.S: Likewise.
2487 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
2488 tst-size_t-strncmp and tst-size_t-wcsncmp.
2489 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
2490 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
2491 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
2492
2493 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2494
2495 [BZ# 24097]
2496 CVE-2019-6488
2497 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
2498 RDX_LP for length. Clear the upper 32 bits of RDX register.
2499 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
2500 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
2501 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
2502 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
2503
2504 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2505
2506 [BZ# 24097]
2507 CVE-2019-6488
2508 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
2509 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
2510 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
2511 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
2512
2513 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2514
2515 [BZ# 24097]
2516 CVE-2019-6488
2517 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
2518 length. Clear the upper 32 bits of RDX register.
2519 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2520 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2521 Likewise.
2522 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2523 Likewise.
2524 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
2525 tst-size_t-wmemchr.
2526 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
2527
2528 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2529
2530 [BZ# 24097]
2531 CVE-2019-6488
2532 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
2533 length. Clear the upper 32 bits of RDX register.
2534 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2535 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2536 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
2537 tst-size_t-wmemcmp.
2538 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
2539 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
2540
2541 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2542
2543 [BZ# 24097]
2544 CVE-2019-6488
2545 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
2546 upper 32 bits of RDX register.
2547 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2548 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
2549 tst-size_t-wmemchr.
2550 * sysdeps/x86_64/x32/test-size_t.h: New file.
2551 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
2552 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
2553
2554 2019-01-18 Florian Weimer <fweimer@redhat.com>
2555
2556 [BZ #24112]
2557 resolv: Do not send queries for non-host-names in nss_dns.
2558 * resolv/nss_dns/dns-host.c (check_name): New function.
2559 (_nss_dns_gethostbyname2_r): Use it.
2560 (_nss_dns_gethostbyname_r): Likewise.
2561 (_nss_dns_gethostbyname4_r): Likewise.
2562
2563 2019-01-21 Florian Weimer <fweimer@redhat.com>
2564
2565 * resolv/inet_addr.c: Reformat to GNU style.
2566 (__inet_addr, __inet_aton): Update comment.
2567
2568 2019-01-18 Florian Weimer <fweimer@redhat.com>
2569
2570 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
2571 ("malloc: Use current (C11-style) atomics for fastbin access").
2572 This commit introduces a substantial performance regression on
2573 POWER and Aarch64.
2574 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
2575 (REMOVE_FB): Define.
2576 (_int_malloc): Use it and reindent.
2577 (_int_free): Use CAS loop with
2578 catomic_compare_and_exchange_val_rel.
2579 (malloc_consolidate): Use atomic_exchange_acq.
2580
2581
2582 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
2583
2584 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
2585 -Wl,-z,now.
2586 (LDFLAGS-tst-minsigstksz-2): Likewise.
2587 (LDFLAGS-tst-minsigstksz-3): Likewise.
2588 (LDFLAGS-tst-minsigstksz-3a): Likewise.
2589 (LDFLAGS-tst-minsigstksz-4): Likewise.
2590
2591 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
2592
2593 * manual/time.texi (strftime): Fix the wording to "alternative" rather
2594 than "alternate".
2595
2596 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
2597
2598 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
2599
2600 2019-01-16 Zack Weinberg <zackw@panix.com>
2601
2602 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
2603 (xget_sigstack_location): New test support functions.
2604 * support/xsigstack.c: New file, implementing them.
2605 * support/tst-xsigstack.c: New test for them.
2606 * support/Makefile: Update.
2607
2608 * signal/tst-minsigstksz-1.c
2609 * signal/tst-minsigstksz-2.c
2610 * signal/tst-minsigstksz-3.c
2611 * signal/tst-minsigstksz-3a.c
2612 * signal/tst-minsigstksz-4.c: New tests.
2613 * signal/Makefile: Run them.
2614
2615 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
2616
2617 * po/libc.pot: Regenerate.
2618
2619 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2620
2621 * math/libm-test-fma.inc (fma_test_data): Set
2622 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
2623
2624 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2625
2626 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
2627 (do_test): Changed __vector __int128_t to __vector unsigned int.
2628
2629 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2630
2631 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2632 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
2633 stpcpy-avx2 and stpncpy-avx2.
2634 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
2635 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
2636 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
2637 and __stpncpy_avx2.
2638 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
2639 ifunc-strcpy.h}: rename header for a more generic name.
2640 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
2641 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
2642 AVX unaligned load is fast and vzeroupper is preferred.
2643 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
2644 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
2645 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
2646 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
2647 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
2648 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
2649
2650 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
2651
2652 * argp/argp-help.c: Fix typo in comment.
2653 * misc/sys/cdefs.h: Likewise.
2654 * posix/regexec.c (sift_states_iter_mb): Likewise.
2655 * socket/sockatmark.c: Likewise.
2656 * socket/sys/socket.h: Likewise.
2657 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2658 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2659 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2660 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2661 * sysdeps/unix/sockatmark.c: Likewise.
2662 * time/strptime_l.c: Likewise.
2663
2664 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2665
2666 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
2667 missing space after the cast of "_NL_CURRENT".
2668
2669 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2670
2671 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
2672 ifdef to fix read of VSCR.
2673 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
2674 tst-ucontext-ppc64-vscr.c to test list.
2675 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
2676
2677 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
2678
2679 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
2680 fall-through.
2681
2682 2019-01-09 Jim Wilson <jimw@sifive.com>
2683
2684 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
2685
2686 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
2687
2688 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
2689 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
2690 __memcpy_falkor for ares.
2691 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
2692 Add new define.
2693 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2694 Add ares cpu.
2695
2696 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
2697
2698 [BZ #24066]
2699 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2700 4_FP_W_TYPEs are used for IEEE quad precision.
2701 * soft-fp/extendhftf2.c: Likewise.
2702 * soft-fp/extendsftf2.c: Likewise.
2703 * soft-fp/extendxftf2.c: Likewise.
2704 * soft-fp/trunctfdf2.c: Likewise.
2705 * soft-fp/trunctfhf2.c: Likewise.
2706 * soft-fp/trunctfsf2.c: Likewise.
2707 * soft-fp/trunctfxf2.c: Likewise.
2708 * sysdeps/alpha/ots_cvttx.c: Likewise.
2709 * sysdeps/alpha/ots_cvtxt.c: Likewise.
2710 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
2711 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
2712 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
2713 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
2714 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
2715 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
2716 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
2717 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
2718 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
2719 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
2720 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
2721 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
2722 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
2723 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
2724 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
2725 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
2726
2727 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2728
2729 [BZ #24024]
2730 * Makeconfig: Build libm with -fno-math-errno but build the remaining
2731 code with -fmath-errno.
2732 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
2733 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
2734 * string/test-strerror-errno.c: New file.
2735
2736 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
2737
2738 [BZ #24046]
2739 * localedata/locales/en_US (date_fmt): Add, set to
2740 "%a %d %b %Y %r %Z".
2741
2742 2019-01-07 Florian Weimer <fweimer@redhat.com>
2743
2744 [BZ #24063]
2745 * manual/arith.texi (Math Error Reporting): Use @code{errno}
2746 instead of @var{errno}.
2747 (Parsing of Integers): Likewise.
2748 (Parsing of Floats): Likewise.
2749 * manual/filesys.texi (Working with Directory Trees): Likewise.
2750 (Temporary Files): Likewise.
2751 * manual/job.texi (Terminal Access Functions): Likewise.
2752 * manual/llio.texi (Synchronizing I/O): Likewise.
2753 * manual/math.texi (SVID Random): Likewise.
2754 * manual/message.texi (The catgets Functions): Likewise.
2755 (Translation with gettext): Likewise.
2756 (Locating gettext catalog): Likewise.
2757 (Charset conversion in gettext): Likewise.
2758 * manual/nss.texi (NSS Module Function Internals): Likewise.
2759 * manual/search.texi (Hash Search Function): Likewise.
2760 * manual/setjmp.texi (System V contexts): Likewise.
2761 * manual/time.texi (Sleeping): Likewise.
2762 * manual/users.texi (Lookup User): Likewise.
2763 (Lookup Group): Likewise.
2764
2765 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2766
2767 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
2768 fix typo.
2769
2770 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
2771
2772 [BZ #19444]
2773 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
2774 __builtin_unreachable for default case in switch.
2775 (__ieee754_yn): Likewise.
2776 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2777 (__ieee754_ynl): Likewise.
2778 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2779 (__ieee754_ynl): Likewise.
2780 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2781 (__ieee754_ynl): Likewise.
2782
2783 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2784
2785 * manual/maint.texi: Use @{ and @}.
2786
2787 2019-01-04 Florian Weimer <fweimer@redhat.com>
2788
2789 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
2790 function.
2791 (do_in_chroot_1): Call it.
2792 (run_chroot_tests):
2793 Improve error reporting in case it is not possible to create a
2794 collision for the PTY name required by the test.
2795
2796 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2797
2798 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
2799 lll_wait_tid with timeout.
2800 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
2801 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
2802 futex_reltimed_wait_cancelable for cancelabla mode.
2803 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
2804 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
2805 macros.
2806 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
2807 * sysdeps/posix/waitid.c (__sigwait): Likewise.
2808 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
2809 SYSCALL_CANCEL_NCS): New macro.
2810 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
2811 (lll_timedwait_tid): Remove macro.
2812 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
2813 Likewise.
2814 (lll_timedwait_tid): Likewise.
2815 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
2816 Likewise.
2817 (lll_timedwait_tid): Likewise.
2818 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
2819 Likewise.
2820 (lll_timedwait_tid): Likewise.
2821 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
2822 Use INTERNAL_SYSCALL_CANCEL.
2823 * sysdeps/unix/sysv/linux/futex-internal.h
2824 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
2825 instead of __pthread_{enable,disable}_asynccancel.
2826 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2827 (lll_futex_wait_cancel): New macro.
2828
2829 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2830 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2831
2832 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
2833 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
2834
2835 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
2836 in backtrace analysis.
2837 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
2838 side-effects.
2839 (tf_send): Likewise.
2840
2841 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
2842 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
2843 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
2844 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
2845 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2846 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
2847 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
2848 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
2849 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
2850 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
2851 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
2852 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
2853 Likewise.
2854 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
2855 tst-cancel-wrappers.sh.
2856 (generated): Remove tst-cancel-wrappers.out.
2857 (tst-cancel-wrappers.out): Remove rule.
2858 * nptl/tst-cancel-wrappers.sh: Remove file.
2859
2860 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
2861
2862 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
2863 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2864 Update.
2865
2866 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2867
2868 [BZ #23640]
2869 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
2870 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
2871 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
2872 close-on-exec reset for adddup2 file action.
2873 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
2874
2875 2019-01-03 Zack Weinberg <zackw@panix.com>
2876
2877 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
2878 parameter. Only use deprecated scanf when __USE_GNU is defined
2879 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
2880 than 201103L, whichever is relevant for the language being compiled.
2881
2882 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
2883 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
2884 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
2885 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
2886 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
2887
2888 * libio/iovsscanf.c
2889 * libio/fwscanf.c
2890 * libio/iovswscanf.c
2891 * libio/swscanf.c
2892 * libio/vscanf.c
2893 * libio/vwscanf.c
2894 * libio/wscanf.c
2895 * stdio-common/fscanf.c
2896 * stdio-common/scanf.c
2897 * stdio-common/vfscanf.c
2898 * stdio-common/vfwscanf.c
2899 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2900 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
2901 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
2902 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
2903 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
2904 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
2905 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
2906 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
2907 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
2908 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
2909 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
2910 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
2911 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
2912 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
2913 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
2914
2915 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
2916 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
2917 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
2918 not sscanf.
2919 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
2920 with a preprocessor macro.
2921
2922 * stdio-common/bug21.c, stdio-common/scanf14.c:
2923 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
2924 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2925 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
2926 to xscanf, xfscanf, xsscanf.
2927
2928 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
2929 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
2930 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
2931 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
2932 xfscanf, xsscanf.
2933 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
2934 override feature selection macros or provide definitions of u_char etc.
2935 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
2936 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
2937 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
2938 with -std=gnu89.
2939
2940 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2941
2942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2943 bits/termios-misc.h.
2944 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
2945 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2946 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2947 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2948 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
2949 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
2950
2951 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
2952 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
2953 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
2954 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
2955 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
2956 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
2957 termios-misc.h.
2958 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
2959 (sysdep_headers): Add termios-misc.h.
2960
2961 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
2962 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2963 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2964
2965 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2966 termios-tcflow.h.
2967 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
2968 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
2969 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
2970 TCSAFLUSH): Move to termios-tcflow.h.
2971 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2972 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2973 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2974 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2975
2976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2977 termios-c_lflag.h.
2978 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
2979 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
2980 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
2981 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
2982 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
2983 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
2984 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
2985 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
2986 Likewise.
2987 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
2988 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2989 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2990 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
2991
2992 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2993 termios-c_cflag.h.
2994 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
2995 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
2996 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
2997 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
2998 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
2999 termios-c_cflag.h.
3000 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3001 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3002 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3003 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3004
3005 [BZ #23783]
3006 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3007 termios-baud.h.
3008 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3009 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3010 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3011 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3012 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3013 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3014 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3015 __MAX_BAUD): Move to termios-baud.h.
3016 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3017 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3018 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3019 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3020 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3021
3022 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3023 termios-c_oflag.h.
3024 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3025 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3026 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3027 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3028 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3029 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3030 termios-c_oflag.h.
3031 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3032 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3033 FFR1): Likewise.
3034 [USE_MISC] (XTABS): Likewise.
3035 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3036 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3037 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3038 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3039
3040 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3041 termios-c_iflag.h.
3042 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3043 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3044 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3045 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3046 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3047 IUTF8): Move to termios-c_iflag.h.
3048 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3049 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3050 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3051 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3052
3053 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3054 termios-cc.h.
3055 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3056 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3057 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3058 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3059 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3060 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3061 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3062 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3063 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3064 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3065 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3066 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3067
3068 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3069 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3070 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3071 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3072 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3073 termios-struct.h.
3074 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3075 termios-struct.h.
3076 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3077 Likewise.
3078 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3079 Likewise.
3080 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3081 Likewise.
3082 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3083 Likewise.
3084 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3085 _HAVE_C_OSPEED): Define.
3086 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3087 _HAVE_C_OSPEED): Likewise.
3088 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3089 _HAVE_C_OSPEED): Likewise.
3090 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
3091 (cfsetospeed): Check for define value instead of existence.
3092 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
3093 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3094 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
3095 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3096 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
3097
3098 [BZ #17783]
3099 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
3100 Define.
3101 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3102 (TIOCSER_TEMT): Likewise.
3103 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
3104 (TEOCSER_TEMT): Likewise.
3105
3106 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
3107
3108 [BZ #24011]
3109 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
3110
3111 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3112
3113 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3114
3115 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3116
3117 * sysdeps/htl/pt-barrierattr-setpshared.c
3118 (pthread_barrierattr_setpshared): Add stub warning.
3119 * sysdeps/htl/pt-condattr-setpshared.c
3120 (pthread_condattr_setpshared): Likewise.
3121 * sysdeps/htl/pt-mutexattr-setpshared.c
3122 (pthread_mutexattr_setpshared): Likewise.
3123 * sysdeps/htl/pt-rwlockattr-setpshared.c
3124 (pthread_rwlockattr_setpshared): Likewise.
3125 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
3126 (pthread_mutexattr_setpshared): Likewise.
3127
3128 2019-01-02 Joseph Myers <joseph@codesourcery.com>
3129
3130 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
3131 constants to match with Linux 4.20.
3132
3133 * sysdeps/mips/mips32/libm-test-ulps: Update.
3134 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3135
3136 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
3137
3138 [BZ #24034]
3139 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
3140 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
3141 than __typeof (...) for the a_ptr variable.
3142
3143 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3144
3145 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
3146 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
3147 * libio/Makefile (tests): Add tst-sprintf-ub and
3148 tst-sprintf-chk-ub.
3149 (CFLAGS-tst-sprintf-ub.c): New variable.
3150 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
3151 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
3152 destination buffer and check for overflows in fortified mode.
3153 * libio/libioP.h (PRINTF_CHK): New macro.
3154 * libio/tst-sprintf-chk-ub.c: New file.
3155 * libio/tst-sprintf-ub.c: Likewise.
3156
3157 2019-01-02 Florian Weimer <fweimer@redhat.com>
3158
3159 [BZ #24018]
3160 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
3161 failure.
3162
3163 2019-01-02 Florian Weimer <fweimer@redhat.com>
3164
3165 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
3166
3167 2019-01-01 Joseph Myers <joseph@codesourcery.com>
3168
3169 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
3170 macro.
3171
3172 * sysdeps/unix/sysv/linux/netpacket/packet.h
3173 (PACKET_IGNORE_OUTGOING): New macro.
3174
3175 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3176 macro.
3177
3178 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3179 version to 4.20.
3180 (riscv_flush_icache): New syscall.
3181
3182 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3183 trailing whitespace removed.
3184 * scripts/config.guess: Update to version 2019-01-01.
3185 * scripts/config.sub: Update to version 2019-01-01.
3186 * scripts/move-if-change: Update from gnulib.
3187
3188 * NEWS: Update copyright dates.
3189 * catgets/gencat.c (print_version): Likewise.
3190 * csu/version.c (banner): Likewise.
3191 * debug/catchsegv.sh: Likewise.
3192 * debug/pcprofiledump.c (print_version): Likewise.
3193 * debug/xtrace.sh (do_version): Likewise.
3194 * elf/ldconfig.c (print_version): Likewise.
3195 * elf/ldd.bash.in: Likewise.
3196 * elf/pldd.c (print_version): Likewise.
3197 * elf/sotruss.sh: Likewise.
3198 * elf/sprof.c (print_version): Likewise.
3199 * iconv/iconv_prog.c (print_version): Likewise.
3200 * iconv/iconvconfig.c (print_version): Likewise.
3201 * locale/programs/locale.c (print_version): Likewise.
3202 * locale/programs/localedef.c (print_version): Likewise.
3203 * login/programs/pt_chown.c (print_version): Likewise.
3204 * malloc/memusage.sh (do_version): Likewise.
3205 * malloc/memusagestat.c (print_version): Likewise.
3206 * malloc/mtrace.pl: Likewise.
3207 * manual/libc.texinfo: Likewise.
3208 * nptl/version.c (banner): Likewise.
3209 * nscd/nscd.c (print_version): Likewise.
3210 * nss/getent.c (print_version): Likewise.
3211 * nss/makedb.c (print_version): Likewise.
3212 * posix/getconf.c (main): Likewise.
3213 * scripts/test-installation.pl: Likewise.
3214 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3215
3216 * All files with FSF copyright notices: Update copyright dates
3217 using scripts/update-copyrights.
3218 * locale/programs/charmap-kw.h: Regenerated.
3219 * locale/programs/locfile-kw.h: Likewise.
3220
3221 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3222
3223 * timezone/zdump.c: Update from tzcode 2018i.
3224 * timezone/zic.c: Likewise.
3225
3226 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3227
3228 regex: improve Gnulib port to AIX
3229 From the glibc point of view, this removes duplicate macro
3230 definitions and is obviously safe.
3231 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3232 * posix/regex_internal.h:
3233 (__attribute__, __attribute_warn_unused_result__):
3234 Remove; already defined elsewhere.
3235
3236 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
3237
3238 [BZ #24027]
3239 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3240 copying operation. (ncopies had the wrong type, resulting in an
3241 integer wraparound and too few elements being copied.)
3242
3243 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3244
3245 [BZ #24022]
3246 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3247 <asm/syscalls.h> exists with __has_include__ before including it.
3248
3249 2018-12-31 Joseph Myers <joseph@codesourcery.com>
3250
3251 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3252 version to 4.20.
3253
3254 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
3255
3256 * hurd/lookup-retry: Include <unistd.h>.
3257 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3258 Release it on return. Handle "pid" magical lookup retry.
3259
3260 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3261
3262 [BZ #10496]
3263 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3264 (t_fmt_ampm): Likewise.
3265 * localedata/locales/aa_ER (t_fmt): Likewise.
3266 (t_fmt_ampm): Likewise.
3267 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3268 (t_fmt_ampm): Likewise.
3269 * localedata/locales/aa_ET (t_fmt): Likewise.
3270 (t_fmt_ampm): Likewise.
3271 * localedata/locales/am_ET (t_fmt): Likewise.
3272 (t_fmt_ampm): Likewise.
3273 * localedata/locales/byn_ER (t_fmt): Likewise.
3274 (t_fmt_ampm): Likewise.
3275 * localedata/locales/om_ET (t_fmt): Likewise.
3276 (t_fmt_ampm): Likewise.
3277 * localedata/locales/sid_ET (t_fmt): Likewise.
3278 (t_fmt_ampm): Likewise.
3279 * localedata/locales/so_DJ (t_fmt): Likewise.
3280 (t_fmt_ampm): Likewise.
3281 * localedata/locales/so_ET (t_fmt): Likewise.
3282 (t_fmt_ampm): Likewise.
3283 * localedata/locales/so_SO (t_fmt): Likewise.
3284 (t_fmt_ampm): Likewise.
3285 * localedata/locales/ti_ER (t_fmt): Likewise.
3286 (t_fmt_ampm): Likewise.
3287 * localedata/locales/ti_ET (t_fmt): Likewise.
3288 (t_fmt_ampm): Likewise.
3289 * localedata/locales/tig_ER (t_fmt): Likewise.
3290 (t_fmt_ampm): Likewise.
3291 * localedata/locales/wal_ET (t_fmt): Likewise.
3292 (t_fmt_ampm): Likewise.
3293
3294 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3295 * localedata/locales/ar_IN (t_fmt): Likewise.
3296 * localedata/locales/bhb_IN (t_fmt): Likewise.
3297 * localedata/locales/bho_IN (t_fmt): Likewise.
3298 * localedata/locales/bi_VU (t_fmt): Likewise.
3299 * localedata/locales/bn_BD (t_fmt): Likewise.
3300 * localedata/locales/bn_IN (t_fmt): Likewise.
3301 * localedata/locales/brx_IN (t_fmt): Likewise.
3302 * localedata/locales/doi_IN (t_fmt): Likewise.
3303 * localedata/locales/en_HK (t_fmt): Likewise.
3304 (t_fmt_ampm): Likewise.
3305 * localedata/locales/en_IN (t_fmt): Likewise.
3306 * localedata/locales/en_PH (t_fmt): Likewise.
3307 * localedata/locales/gu_IN (t_fmt): Likewise.
3308 * localedata/locales/hi_IN (t_fmt): Likewise.
3309 * localedata/locales/hif_FJ (t_fmt): Likewise.
3310 * localedata/locales/hne_IN (t_fmt): Likewise.
3311 * localedata/locales/kn_IN (t_fmt): Likewise.
3312 * localedata/locales/kok_IN (t_fmt): Likewise.
3313 * localedata/locales/ks_IN (t_fmt): Likewise.
3314 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
3315 * localedata/locales/mag_IN (t_fmt): Likewise.
3316 * localedata/locales/mai_IN (t_fmt): Likewise.
3317 * localedata/locales/mjw_IN (t_fmt): Likewise.
3318 * localedata/locales/ml_IN (t_fmt): Likewise.
3319 * localedata/locales/mni_IN (t_fmt): Likewise.
3320 * localedata/locales/mr_IN (t_fmt): Likewise.
3321 * localedata/locales/ms_MY (t_fmt): Likewise.
3322 * localedata/locales/pa_IN (t_fmt): Likewise.
3323 * localedata/locales/raj_IN (t_fmt): Likewise.
3324 * localedata/locales/sa_IN (t_fmt): Likewise.
3325 * localedata/locales/sat_IN (t_fmt): Likewise.
3326 * localedata/locales/sd_IN (t_fmt): Likewise.
3327 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3328 * localedata/locales/tcy_IN (t_fmt): Likewise.
3329 * localedata/locales/the_NP (t_fmt): Likewise.
3330 * localedata/locales/to_TO (t_fmt): Likewise.
3331 * localedata/locales/ur_IN (t_fmt): Likewise.
3332
3333 * localedata/locales/hif_FJ (d_t_fmt): Set to
3334 "%A %d %b %Y %I:%M:%S %p".
3335 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
3336
3337 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
3338 * localedata/locales/ar_BH (t_fmt): Likewise.
3339 * localedata/locales/ar_DZ (t_fmt): Likewise.
3340 * localedata/locales/ar_EG (t_fmt): Likewise.
3341 * localedata/locales/ar_IQ (t_fmt): Likewise.
3342 * localedata/locales/ar_JO (t_fmt): Likewise.
3343 * localedata/locales/ar_KW (t_fmt): Likewise.
3344 * localedata/locales/ar_LB (t_fmt): Likewise.
3345 * localedata/locales/ar_LY (t_fmt): Likewise.
3346 * localedata/locales/ar_OM (t_fmt): Likewise.
3347 * localedata/locales/ar_QA (t_fmt): Likewise.
3348 * localedata/locales/ar_SD (t_fmt): Likewise.
3349 * localedata/locales/ar_SS (t_fmt): Likewise.
3350 * localedata/locales/ar_SY (t_fmt): Likewise.
3351 * localedata/locales/ar_TN (t_fmt): Likewise.
3352 * localedata/locales/ar_YE (t_fmt): Likewise.
3353
3354 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
3355 (t_fmt_ampm): Likewise.
3356 * localedata/locales/gez_ET (t_fmt): Likewise.
3357 (t_fmt_ampm): Likewise.
3358
3359 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
3360 (t_fmt_ampm): Likewise.
3361 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
3362
3363 * localedata/locales/zh_HK (t_fmt):
3364 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
3365
3366 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
3367 because this locale does not use the 12-hour clock.
3368 (t_fmt): Set to "%Z %H:%M:%S".
3369 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
3370
3371 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
3372 because this locale does not use the 12-hour clock.
3373 (t_fmt): Set to "%H:%M:%S %Z".
3374 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
3375
3376 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
3377 because this locale does not use the 12-hour clock.
3378 (t_fmt): Set to "%T".
3379 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
3380 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
3381
3382 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
3383 because this locale does not use the 12-hour clock.
3384 (t_fmt): Set to "%H:%M:%S %Z".
3385 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
3386
3387 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
3388 because this locale does not use the 12-hour clock.
3389 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
3390 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
3391
3392 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3393
3394 [BZ #10496]
3395 [BZ #23724]
3396 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
3397 (t_fmt_ampm): Likewise.
3398 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
3399 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
3400 (d_fmt): Set to "%-d.%-m.%y".
3401
3402 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3403
3404 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
3405 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
3406 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
3407 Likewise.
3408 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3409 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
3410 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
3411 function.
3412 * support/blob_repeat.c (check_mul_overflow_size_t,
3413 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
3414
3415 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
3416
3417 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
3418
3419 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
3420
3421 regex: simplify Gnulib port
3422 This simplifies the code, by removing stuff intended for porting
3423 to Gnulib but no longer needed there.
3424 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
3425 uses of libc_hidden_def, weak_alias.
3426 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
3427 _Restrict_ except for public-facing headers.
3428 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
3429 Remove; already defined elsewhere.
3430 * posix/regex.c, posix/regex_internal.h:
3431 Use __GNUC_PREREQ instead of rolling our own.
3432 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
3433
3434 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
3435
3436 * benchtests/bench-strlen.c (generic_strlen): New function.
3437 (memchr_strlen): New function.
3438
3439 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3440
3441 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
3442 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3443 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
3444
3445 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3446
3447 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3448
3449 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3450
3451 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
3452 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
3453 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
3454 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
3455 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
3456 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
3457 <sysdeps/ieee754/flt-32/s_sincosf.c>.
3458
3459 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3460
3461 [BZ #24023]
3462 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
3463 PLT reference in libc.so.
3464 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
3465 _Q_lltoq and _Q_qtod PLT references in libc.so.
3466
3467 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
3468
3469 * benchtests/bench-memchr.c: Cleanup defines.
3470 * benchtests/bench-memcmp.c: Likewise.
3471 * benchtests/bench-memset.c: Likewise.
3472 * benchtests/bench-memset-large.c: Likewise.
3473 * benchtests/bench-memset-walk.c: Likewise.
3474 * benchtests/bench-stpcpy.c: Likewise.
3475 * benchtests/bench-stpncpy.c: Likewise.
3476 * benchtests/bench-strcat.c: Likewise.
3477 * benchtests/bench-strchr.c: Likewise.
3478 * benchtests/bench-strcmp.c: Likewise.
3479 * benchtests/bench-strcpy.c: Likewise.
3480 * benchtests/bench-strcspn.c: Likewise.
3481 * benchtests/bench-string.h: Likewise.
3482 * benchtests/bench-strlen.c: Likewise.
3483 * benchtests/bench-strncat.c: Likewise.
3484 * benchtests/bench-strncmp.c: Likewise.
3485 * benchtests/bench-strncpy.c: Likewise.
3486 * benchtests/bench-strnlen.c: Likewise.
3487 * benchtests/bench-strpbrk.c: Likewise.
3488 * benchtests/bench-strrchr.c: Likewise.
3489 * benchtests/bench-strspn.c: Likewise.
3490
3491 2018-12-21 Joseph Myers <joseph@codesourcery.com>
3492
3493 * stdlib/longlong.h: Update from GCC.
3494
3495 [BZ #23993]
3496 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
3497 * configure: Regenerated.
3498 * manual/install.texi (Tools for Compilation): Update minimum GCC
3499 version.
3500 * INSTALL: Regenerated.
3501
3502 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
3503
3504 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
3505
3506 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
3507
3508 * malloc/malloc.c (mremap_chunk): Additional checks.
3509
3510 2018-12-21 Mao Han <han_mao@c-sky.com>
3511
3512 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
3513 * scripts/build-many-glibcs.py: Add C-SKY targets.
3514 * sysdeps/csky/Implies: New file.
3515 * sysdeps/csky/Makefile: Likewise.
3516 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
3517 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
3518 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
3519 * sysdeps/csky/abiv2/memcmp.S: Likewise.
3520 * sysdeps/csky/abiv2/memcpy.S: Likewise.
3521 * sysdeps/csky/abiv2/memmove.S: Likewise.
3522 * sysdeps/csky/abiv2/memset.S: Likewise.
3523 * sysdeps/csky/abiv2/setjmp.S: Likewise.
3524 * sysdeps/csky/abiv2/start.S: Likewise.
3525 * sysdeps/csky/abiv2/strcmp.S: Likewise.
3526 * sysdeps/csky/abiv2/strcpy.S: Likewise.
3527 * sysdeps/csky/abiv2/strlen.S: Likewise.
3528 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
3529 * sysdeps/csky/abort-instr.h: Likewise.
3530 * sysdeps/csky/atomic-machine.h: Likewise.
3531 * sysdeps/csky/bits/endian.h: Likewise.
3532 * sysdeps/csky/bits/fenv.h: Likewise.
3533 * sysdeps/csky/bits/link.h: Likewise.
3534 * sysdeps/csky/bits/setjmp.h: Likewise.
3535 * sysdeps/csky/bsd-_setjmp.S: Likewise.
3536 * sysdeps/csky/bsd-setjmp.S: Likewise.
3537 * sysdeps/csky/configure: Likewise.
3538 * sysdeps/csky/configure.ac: Likewise.
3539 * sysdeps/csky/dl-machine.h: Likewise.
3540 * sysdeps/csky/dl-procinfo.c: Likewise.
3541 * sysdeps/csky/dl-procinfo.h: Likewise.
3542 * sysdeps/csky/dl-sysdep.h: Likewise.
3543 * sysdeps/csky/dl-tls.h: Likewise.
3544 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
3545 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
3546 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
3547 * sysdeps/csky/fpu/fegetenv.c: Likewise.
3548 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
3549 * sysdeps/csky/fpu/fegetmode.c: Likewise.
3550 * sysdeps/csky/fpu/fegetround.c: Likewise.
3551 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
3552 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
3553 * sysdeps/csky/fpu/fenv_private.h: Likewise.
3554 * sysdeps/csky/fpu/fesetenv.c: Likewise.
3555 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
3556 * sysdeps/csky/fpu/fesetmode.c: Likewise.
3557 * sysdeps/csky/fpu/fesetround.c: Likewise.
3558 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
3559 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
3560 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
3561 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
3562 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
3563 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
3564 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
3565 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
3566 * sysdeps/csky/fpu_control.h: Likewise.
3567 * sysdeps/csky/gccframe.h: Likewise.
3568 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
3569 * sysdeps/csky/ldsodefs.h: Likewise.
3570 * sysdeps/csky/libc-tls.c: Likewise.
3571 * sysdeps/csky/linkmap.h: Likewise.
3572 * sysdeps/csky/machine-gmon.h: Likewise.
3573 * sysdeps/csky/memusage.h: Likewise.
3574 * sysdeps/csky/nofpu/Implies: Likewise.
3575 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
3576 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
3577 * sysdeps/csky/nptl/Makefile: Likewise.
3578 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
3579 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
3580 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
3581 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
3582 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
3583 * sysdeps/csky/nptl/tls.h: Likewise.
3584 * sysdeps/csky/preconfigure: Likewise.
3585 * sysdeps/csky/sfp-machine.h: Likewise.
3586 * sysdeps/csky/sotruss-lib.c: Likewise.
3587 * sysdeps/csky/stackinfo.h: Likewise.
3588 * sysdeps/csky/sysdep.h: Likewise.
3589 * sysdeps/csky/tininess.h: Likewise.
3590 * sysdeps/csky/tst-audit.h: Likewise.
3591 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
3592 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
3593 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
3594 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
3595 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
3596 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
3597 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
3598 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
3599 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
3600 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
3601 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
3602 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
3603 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
3604 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
3605 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
3606 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
3607 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
3608 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
3609 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
3610 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
3611 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
3612 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
3613 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
3614 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3615 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
3616 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
3617 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
3618 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
3619 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
3620 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
3621 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
3622 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
3623 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
3624 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
3625 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
3626 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
3627 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
3628 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
3629 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
3630 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
3631 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
3632 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
3633 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
3634 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
3635
3636 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3637
3638 * include/time.h (__difftime64): Add.
3639 * time/difftime.c (subtract): convert to 64-bit time.
3640 * time/difftime.c (__difftime64): Add.
3641 * time/difftime.c (__difftime): Wrap around __difftime64.
3642
3643 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3644
3645 * manual/examples/add.c: Remove redundant "if not".
3646 * manual/examples/argp-ex1.c: Likewise.
3647 * manual/examples/argp-ex2.c: Likewise.
3648 * manual/examples/argp-ex3.c: Likewise.
3649 * manual/examples/argp-ex4.c: Likewise.
3650 * manual/examples/atexit.c: Likewise.
3651 * manual/examples/db.c: Likewise.
3652 * manual/examples/dir.c: Likewise.
3653 * manual/examples/dir2.c: Likewise.
3654 * manual/examples/execinfo.c: Likewise.
3655 * manual/examples/filecli.c: Likewise.
3656 * manual/examples/filesrv.c: Likewise.
3657 * manual/examples/fmtmsgexpl.c: Likewise.
3658 * manual/examples/genpass.c: Likewise.
3659 * manual/examples/inetcli.c: Likewise.
3660 * manual/examples/inetsrv.c: Likewise.
3661 * manual/examples/isockad.c: Likewise.
3662 * manual/examples/longopt.c: Likewise.
3663 * manual/examples/memopen.c: Likewise.
3664 * manual/examples/memstrm.c: Likewise.
3665 * manual/examples/mkdirent.c: Likewise.
3666 * manual/examples/mkfsock.c: Likewise.
3667 * manual/examples/mkisock.c: Likewise.
3668 * manual/examples/mygetpass.c: Likewise.
3669 * manual/examples/pipe.c: Likewise.
3670 * manual/examples/popen.c: Likewise.
3671 * manual/examples/rprintf.c: Likewise.
3672 * manual/examples/search.c: Likewise.
3673 * manual/examples/select.c: Likewise.
3674 * manual/examples/setjmp.c: Likewise.
3675 * manual/examples/sigh1.c: Likewise.
3676 * manual/examples/sigusr.c: Likewise.
3677 * manual/examples/stpcpy.c: Likewise.
3678 * manual/examples/strdupa.c: Likewise.
3679 * manual/examples/strftim.c: Likewise.
3680 * manual/examples/subopt.c: Likewise.
3681 * manual/examples/swapcontext.c: Likewise.
3682 * manual/examples/termios.c: Likewise.
3683 * manual/examples/testopt.c: Likewise.
3684 * manual/examples/testpass.c: Likewise.
3685 * manual/examples/timeval_subtract.c: Likewise.
3686
3687 2018-12-19 Joseph Myers <joseph@codesourcery.com>
3688
3689 * sysdeps/x86/fpu/math_private.h: New file.
3690 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
3691
3692 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
3693 definition.
3694 (cosh): Likewise.
3695 (tanh): Likewise.
3696
3697 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3698
3699 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
3700 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
3701 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
3702 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
3703 fields.
3704 (_dl_show_auxv): Give a special treatment to
3705 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
3706 and AT_L3_CACHEGEOMETRY.
3707 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
3708 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
3709 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
3710 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
3711
3712 2018-12-19 Andreas Schwab <schwab@suse.de>
3713
3714 * nscd/connections.c (check_use): Don't abort on invalid len.
3715
3716 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
3717
3718 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
3719 values in the 64bit value cases.
3720
3721 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
3722
3723 * include/time.h
3724 (__ctime64_r): Add.
3725 * time/ctime_r.c
3726 (__ctime64_r): Add.
3727 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
3728
3729 * include/time.h
3730 (__ctime64): Add.
3731 * time/gmtime.c
3732 (__ctime64): Add.
3733 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
3734
3735 * include/time.h
3736 (__gmtime64_r): Add.
3737 * time/gmtime.c
3738 (__gmtime64_r): Add.
3739 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3740
3741 * include/time.h
3742 (__gmtime64): Add.
3743 * time/gmtime.c
3744 (__gmtime64): Add.
3745 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
3746
3747 * include/time.h
3748 (__localtime64_r): Add.
3749 * time/localtime.c
3750 (__localtime64_r): Add.
3751 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
3752
3753 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3754
3755 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
3756 kernel_sigction definition.
3757
3758 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
3759
3760 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
3761
3762 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
3763 __syscall_rt_sigaction.
3764 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
3765 (kernel_sigaction): Use Linux generic defintion.
3766 (STUB): Define.
3767 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
3768 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
3769 (__syscall_rt_sigaction): Remove implementation.
3770 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
3771 hidden.
3772 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
3773 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
3774 INTERNAL_SYSCALL): Remove definitions.
3775 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
3776 action and signal set size.
3777 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
3778 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
3779
3780 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3781 James Clarke <jrtc27@jrtc27.com>
3782
3783 [BZ #23967]
3784 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
3785 Define if SA_RESTORER is defined.
3786 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
3787 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
3788 already defined.
3789 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
3790 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
3791 definitions.
3792 (HAS_SA_RESTORER): Define.
3793 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
3794 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
3795 (HAS_SA_RESTORER): Define.
3796 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
3797 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
3798 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
3799 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
3800 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3801
3802 2018-12-18 Joseph Myers <joseph@codesourcery.com>
3803
3804 * sysdeps/unix/sysv/linux/kernel-features.h
3805 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
3806 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3807 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
3808 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3809 (__ASSUME_ST_INO_64_BIT): Likewise.
3810 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3811 <kernel-features.h>.
3812 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3813 Remove conditional code.
3814 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3815 <kernel-features.h>.
3816 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3817 Remove conditional code.
3818 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
3819 <kernel-features.h>.
3820 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
3821 Remove conditional code.
3822 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
3823 <kernel-features.h>.
3824 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
3825 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
3826
3827 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3828
3829 * sysdeps/s390/multiarch/ifunc-resolve.h
3830 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
3831 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
3832 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
3833 Delete macro definition.
3834 (s390_libc_ifunc_init): Rename to
3835 s390_libc_ifunc_expr_stfle_init.
3836 * sysdeps/s390/bzero: Use
3837 s390_libc_ifunc_expr_stfle_init instead of
3838 s390_libc_ifunc_init.
3839 * sysdeps/s390/memcmp.c: Likewise.
3840 * sysdeps/s390/memcpy.c: Likewise.
3841 * sysdeps/s390/mempcpy.c: Likewise.
3842 * sysdeps/s390/memset.c: Likewise.
3843
3844 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3845
3846 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
3847 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
3848
3849 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3850
3851 * sysdeps/s390/multiarch/Makefile
3852 (sysdep_routines): Remove wmemcmp variants.
3853 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
3854 * sysdeps/s390/multiarch/ifunc-impl-list.c
3855 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
3856 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
3857 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
3858 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
3859 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
3860 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
3861 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
3862 * sysdeps/s390/ifunc-wmemcmp.h: New file.
3863
3864 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3865
3866 * sysdeps/s390/multiarch/Makefile
3867 (sysdep_routines): Remove wmemset variants.
3868 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
3869 * sysdeps/s390/multiarch/ifunc-impl-list.c
3870 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
3871 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
3872 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
3873 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
3874 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
3875 * sysdeps/s390/multiarch/wmemset.c: Move to ...
3876 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
3877 * sysdeps/s390/ifunc-wmemset.h: New file.
3878
3879 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3880
3881 * sysdeps/s390/multiarch/Makefile
3882 (sysdep_routines): Remove wmemchr variants.
3883 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
3884 * sysdeps/s390/multiarch/ifunc-impl-list.c
3885 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
3886 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
3887 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
3888 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
3889 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
3890 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
3891 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
3892 * sysdeps/s390/ifunc-wmemchr.h: New file.
3893
3894 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3895
3896 * sysdeps/s390/multiarch/Makefile
3897 (sysdep_routines): Remove wcscspn variants.
3898 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
3899 * sysdeps/s390/multiarch/ifunc-impl-list.c
3900 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
3901 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
3902 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
3903 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
3904 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
3905 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
3906 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
3907 * sysdeps/s390/ifunc-wcscspn.h: New file.
3908
3909 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3910
3911 * sysdeps/s390/multiarch/Makefile
3912 (sysdep_routines): Remove wcspbrk variants.
3913 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
3914 * sysdeps/s390/multiarch/ifunc-impl-list.c
3915 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
3916 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
3917 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
3918 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
3919 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
3920 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
3921 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
3922 * sysdeps/s390/ifunc-wcspbrk.h: New file.
3923
3924 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3925
3926 * sysdeps/s390/multiarch/Makefile
3927 (sysdep_routines): Remove wcsspn variants.
3928 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
3929 * sysdeps/s390/multiarch/ifunc-impl-list.c
3930 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
3931 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
3932 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
3933 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
3934 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
3935 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
3936 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
3937 * sysdeps/s390/ifunc-wcsspn.h: New file.
3938
3939 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3940
3941 * sysdeps/s390/multiarch/Makefile
3942 (sysdep_routines): Remove wcsrchr variants.
3943 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
3944 * sysdeps/s390/multiarch/ifunc-impl-list.c
3945 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
3946 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
3947 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
3948 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
3949 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
3950 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
3951 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
3952 * sysdeps/s390/ifunc-wcsrchr.h: New file.
3953
3954 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3955
3956 * sysdeps/s390/multiarch/Makefile
3957 (sysdep_routines): Remove wcschrnul variants.
3958 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
3959 * sysdeps/s390/multiarch/ifunc-impl-list.c
3960 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
3961 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
3962 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
3963 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
3964 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
3965 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
3966 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
3967 * sysdeps/s390/ifunc-wcschrnul.h: New file.
3968
3969 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3970
3971 * sysdeps/s390/multiarch/Makefile
3972 (sysdep_routines): Remove wcschr variants.
3973 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
3974 * sysdeps/s390/multiarch/ifunc-impl-list.c
3975 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
3976 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
3977 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
3978 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
3979 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
3980 * sysdeps/s390/multiarch/wcschr.c: Move to ...
3981 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
3982 * sysdeps/s390/ifunc-wcschr.h: New file.
3983
3984 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3985
3986 * sysdeps/s390/multiarch/Makefile
3987 (sysdep_routines): Remove wcsncmp variants.
3988 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
3989 * sysdeps/s390/multiarch/ifunc-impl-list.c
3990 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
3991 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
3992 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
3993 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
3994 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
3995 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
3996 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
3997 * sysdeps/s390/ifunc-wcsncmp.h: New file.
3998
3999 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4000
4001 * sysdeps/s390/multiarch/Makefile
4002 (sysdep_routines): Remove wcscmp variants.
4003 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4004 * sysdeps/s390/multiarch/ifunc-impl-list.c
4005 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4006 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4007 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4008 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4009 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4010 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4011 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4012 * sysdeps/s390/ifunc-wcscmp.h: New file.
4013
4014 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4015
4016 * sysdeps/s390/multiarch/Makefile
4017 (sysdep_routines): Remove wcsncat variants.
4018 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4019 * sysdeps/s390/multiarch/ifunc-impl-list.c
4020 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4021 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4022 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4023 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4024 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4025 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4026 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4027 * sysdeps/s390/ifunc-wcsncat.h: New file.
4028
4029 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4030
4031 * sysdeps/s390/multiarch/Makefile
4032 (sysdep_routines): Remove wcscat variants.
4033 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4034 * sysdeps/s390/multiarch/ifunc-impl-list.c
4035 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4036 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4037 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4038 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4039 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4040 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4041 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4042 * sysdeps/s390/ifunc-wcscat.h: New file.
4043
4044 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4045
4046 * sysdeps/s390/multiarch/Makefile
4047 (sysdep_routines): Remove wcpncpy variants.
4048 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4049 * sysdeps/s390/multiarch/ifunc-impl-list.c
4050 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4051 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4052 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4053 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4054 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4055 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4056 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4057 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4058
4059 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4060
4061 * sysdeps/s390/multiarch/Makefile
4062 (sysdep_routines): Remove wcsncpy variants.
4063 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4064 * sysdeps/s390/multiarch/ifunc-impl-list.c
4065 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4066 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4067 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4068 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4069 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4070 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4071 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4072 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4073
4074 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4075
4076 * sysdeps/s390/multiarch/Makefile
4077 (sysdep_routines): Remove wcpcpy variants.
4078 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4079 * sysdeps/s390/multiarch/ifunc-impl-list.c
4080 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4081 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4082 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4083 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4084 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4085 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4086 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4087 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4088
4089 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4090
4091 * sysdeps/s390/multiarch/Makefile
4092 (sysdep_routines): Remove wcscpy variants.
4093 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
4094 * sysdeps/s390/multiarch/ifunc-impl-list.c
4095 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
4096 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
4097 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
4098 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
4099 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
4100 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
4101 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
4102 * sysdeps/s390/ifunc-wcscpy.h: New file.
4103
4104 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4105
4106 * sysdeps/s390/multiarch/Makefile
4107 (sysdep_routines): Remove wcsnlen variants.
4108 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
4109 * sysdeps/s390/multiarch/ifunc-impl-list.c
4110 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
4111 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
4112 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
4113 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
4114 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
4115 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
4116 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
4117 * sysdeps/s390/ifunc-wcsnlen.h: New file.
4118
4119 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4120
4121 * sysdeps/s390/multiarch/Makefile
4122 (sysdep_routines): Remove wcslen variants.
4123 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
4124 * sysdeps/s390/multiarch/ifunc-impl-list.c
4125 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
4126 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
4127 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
4128 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
4129 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
4130 * sysdeps/s390/multiarch/wcslen.c: Move to ...
4131 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
4132 * sysdeps/s390/ifunc-wcslen.h: New file.
4133
4134 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4135
4136 * sysdeps/s390/multiarch/Makefile
4137 (sysdep_routines): Remove memrchr variants.
4138 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
4139 * sysdeps/s390/multiarch/ifunc-impl-list.c
4140 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
4141 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
4142 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
4143 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
4144 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
4145 * sysdeps/s390/multiarch/memrchr.c: Move to ...
4146 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
4147 * sysdeps/s390/ifunc-memrchr.h: New file.
4148
4149 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4150
4151 * sysdeps/s390/multiarch/Makefile
4152 (sysdep_routines): Remove memccpy variants.
4153 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
4154 * sysdeps/s390/multiarch/ifunc-impl-list.c
4155 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
4156 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
4157 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
4158 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
4159 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
4160 * sysdeps/s390/multiarch/memccpy.c: Move to ...
4161 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
4162 * sysdeps/s390/ifunc-memccpy.h: New file.
4163
4164 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4165
4166 * sysdeps/s390/multiarch/Makefile
4167 (sysdep_routines): Remove rawmemchr variants.
4168 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
4169 * sysdeps/s390/multiarch/ifunc-impl-list.c
4170 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
4171 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
4172 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4173 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4174 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4175 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4176 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4177 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4178
4179 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4180
4181 * sysdeps/s390/multiarch/Makefile
4182 (sysdep_routines): Remove memchr variants.
4183 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4184 * sysdeps/s390/multiarch/ifunc-impl-list.c
4185 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4186 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4187 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4188 * sysdeps/s390/multiarch/memchr.c: Move to ...
4189 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4190 * sysdeps/s390/ifunc-memchr.h: New file.
4191 * sysdeps/s390/s390-64/memchr.S: Move to ...
4192 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4193 for 31/64bit and ifunc handling.
4194 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4195 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4196 * sysdeps/s390/s390-32/memchr.S: Likewise.
4197
4198 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4199
4200 * sysdeps/s390/multiarch/Makefile
4201 (sysdep_routines): Remove strcspn variants.
4202 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4203 * sysdeps/s390/multiarch/ifunc-impl-list.c
4204 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4205 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4206 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4207 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4208 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4209 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4210 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4211 * sysdeps/s390/ifunc-strcspn.h: New file.
4212
4213 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4214
4215 * sysdeps/s390/multiarch/Makefile
4216 (sysdep_routines): Remove strpbrk variants.
4217 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4218 * sysdeps/s390/multiarch/ifunc-impl-list.c
4219 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4220 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4221 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4222 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4223 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4224 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4225 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4226 * sysdeps/s390/ifunc-strpbrk.h: New file.
4227
4228 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4229
4230 * sysdeps/s390/multiarch/Makefile
4231 (sysdep_routines): Remove strspn variants.
4232 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4233 * sysdeps/s390/multiarch/ifunc-impl-list.c
4234 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4235 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4236 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4237 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4238 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4239 * sysdeps/s390/multiarch/strspn.c: Move to ...
4240 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4241 * sysdeps/s390/ifunc-strspn.h: New file.
4242
4243 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4244
4245 * sysdeps/s390/multiarch/Makefile
4246 (sysdep_routines): Remove strrchr variants.
4247 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4248 * sysdeps/s390/multiarch/ifunc-impl-list.c
4249 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4250 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4251 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4252 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4253 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4254 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4255 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4256 * sysdeps/s390/ifunc-strrchr.h: New file.
4257
4258 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4259
4260 * sysdeps/s390/multiarch/Makefile
4261 (sysdep_routines): Remove strchrnul variants.
4262 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4263 * sysdeps/s390/multiarch/ifunc-impl-list.c
4264 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4265 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4266 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4267 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4268 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4269 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4270 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4271 * sysdeps/s390/ifunc-strchrnul.h: New file.
4272
4273 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4274
4275 * sysdeps/s390/multiarch/Makefile
4276 (sysdep_routines): Remove strchr variants.
4277 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4278 * sysdeps/s390/multiarch/ifunc-impl-list.c
4279 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4280 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4281 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4282 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4283 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4284 * sysdeps/s390/multiarch/strchr.c: Move to ...
4285 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4286 * sysdeps/s390/ifunc-strchr.h: New file.
4287
4288 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4289
4290 * sysdeps/s390/multiarch/Makefile
4291 (sysdep_routines): Remove strncmp variants.
4292 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4293 * sysdeps/s390/multiarch/ifunc-impl-list.c
4294 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4295 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4296 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4297 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4298 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4299 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4300 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4301 * sysdeps/s390/ifunc-strncmp.h: New file.
4302
4303 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4304
4305 * sysdeps/s390/multiarch/Makefile
4306 (sysdep_routines): Remove strcmp variants.
4307 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4308 * sysdeps/s390/multiarch/ifunc-impl-list.c
4309 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4310 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4311 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4312 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4313 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
4314 * sysdeps/s390/ifunc-strcmp.h: New file.
4315 * sysdeps/s390/s390-64/strcmp.S: Move to ...
4316 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
4317 for 31/64bit and ifunc handling.
4318 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
4319 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4320 * sysdeps/s390/s390-32/strcmp.S: Likewise.
4321
4322 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4323
4324 * sysdeps/s390/multiarch/Makefile
4325 (sysdep_routines): Remove strncat variants.
4326 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4327 * sysdeps/s390/multiarch/ifunc-impl-list.c
4328 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4329 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4330 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4331 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
4332 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
4333 * sysdeps/s390/multiarch/strncat.c: Move to ...
4334 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
4335 * sysdeps/s390/ifunc-strncat.h: New file.
4336
4337 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4338
4339 * sysdeps/s390/multiarch/Makefile
4340 (sysdep_routines): Remove strcat variants.
4341 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
4342 * sysdeps/s390/multiarch/ifunc-impl-list.c
4343 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
4344 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
4345 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
4346 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
4347 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
4348 * sysdeps/s390/multiarch/strcat.c: Move to ...
4349 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
4350 * sysdeps/s390/ifunc-strcat.h: New file.
4351
4352 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4353
4354 * sysdeps/s390/multiarch/Makefile
4355 (sysdep_routines): Remove stpncpy variants.
4356 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
4357 * sysdeps/s390/multiarch/ifunc-impl-list.c
4358 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
4359 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
4360 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
4361 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
4362 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
4363 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
4364 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
4365 * sysdeps/s390/ifunc-stpncpy.h: New file.
4366
4367 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4368
4369 * sysdeps/s390/multiarch/Makefile
4370 (sysdep_routines): Remove strncpy variants.
4371 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
4372 * sysdeps/s390/multiarch/ifunc-impl-list.c
4373 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
4374 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
4375 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
4376 * sysdeps/s390/multiarch/strncpy.c: Move to ...
4377 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
4378 * sysdeps/s390/ifunc-strncpy.h: New file.
4379 * sysdeps/s390/s390-64/strncpy.S: Move to ...
4380 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
4381 and adjust ifunc handling.
4382 * sysdeps/s390/s390-32/strncpy.S: Move to ...
4383 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
4384 and adjust ifunc handling.
4385 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
4386 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4387
4388 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4389
4390 * sysdeps/s390/multiarch/Makefile
4391 (sysdep_routines): Remove stpcpy variants.
4392 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
4393 * sysdeps/s390/multiarch/ifunc-impl-list.c
4394 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
4395 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
4396 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
4397 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
4398 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
4399 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
4400 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
4401 * sysdeps/s390/ifunc-stpcpy.h: New file.
4402
4403 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4404
4405 * sysdeps/s390/multiarch/Makefile
4406 (sysdep_routines): Remove strcpy variants.
4407 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
4408 * sysdeps/s390/multiarch/ifunc-impl-list.c
4409 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
4410 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
4411 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
4412 * sysdeps/s390/multiarch/strcpy.c: Move to ...
4413 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
4414 * sysdeps/s390/ifunc-strcpy.h: New file.
4415 * sysdeps/s390/s390-64/strcpy.S: Move to ...
4416 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
4417 for 31/64bit and ifunc handling.
4418 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
4419 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4420 * sysdeps/s390/s390-32/strcpy.S: Likewise.
4421
4422 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4423
4424 * sysdeps/s390/multiarch/Makefile
4425 (sysdep_routines): Remove strnlen variants.
4426 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
4427 * sysdeps/s390/multiarch/ifunc-impl-list.c
4428 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
4429 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
4430 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
4431 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
4432 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
4433 * sysdeps/s390/multiarch/strnlen.c: Move to ...
4434 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
4435 * sysdeps/s390/ifunc-strnlen.h: New file.
4436
4437 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4438
4439 * sysdeps/s390/multiarch/Makefile
4440 (sysdep_routines): Remove strlen variants.
4441 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
4442 * sysdeps/s390/multiarch/ifunc-impl-list.c
4443 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
4444 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
4445 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
4446 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
4447 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
4448 * sysdeps/s390/multiarch/strlen.c: Move to ...
4449 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
4450 * sysdeps/s390/ifunc-strlen.h: New file.
4451
4452 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4453
4454 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
4455 * sysdeps/s390/multiarch/ifunc-impl-list.c
4456 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
4457 * sysdeps/s390/ifunc-memmem.h: New file.
4458 * sysdeps/s390/memmem.c: Likewise.
4459 * sysdeps/s390/memmem-c.c: Likewise.
4460 * sysdeps/s390/memmem-vx.c: Likewise.
4461
4462 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4463
4464 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
4465 * sysdeps/s390/multiarch/ifunc-impl-list.c
4466 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
4467 * sysdeps/s390/ifunc-strstr.h: New file.
4468 * sysdeps/s390/strstr.c: Likewise.
4469 * sysdeps/s390/strstr-c.c: Likewise.
4470 * sysdeps/s390/strstr-vx.c: Likewise.
4471
4472 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4473
4474 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
4475 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
4476 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
4477 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
4478 New defines.
4479 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
4480 * sysdeps/s390/memmove-c.c: New file.
4481 * sysdeps/s390/memmove.c: Likewise.
4482 * sysdeps/s390/multiarch/ifunc-impl-list.c
4483 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
4484
4485 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4486
4487 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
4488 * sysdeps/s390/configure.ac: Add check for z13 support.
4489 * sysdeps/s390/configure: Regenerated.
4490
4491 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4492
4493 * sysdeps/s390/memcopy.h: New file.
4494
4495 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4496
4497 * sysdeps/s390/s390-32/bcopy.S: Remove.
4498 * sysdeps/s390/s390-64/bcopy.S: Likewise.
4499
4500 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4501
4502 * sysdeps/s390/ifunc-memcpy.h: New File.
4503 * sysdeps/s390/memcpy.S: Move to ...
4504 * sysdeps/s390/memcpy-z900.S ... here.
4505 Move implementations from memcpy-s390x.s to here.
4506 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
4507 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4508 Remove memcpy/mempcpy variants.
4509 * sysdeps/s390/Makefile (sysdep_routines):
4510 Add memcpy/mempcpy variants.
4511 * sysdeps/s390/multiarch/ifunc-impl-list.c
4512 (__libc_ifunc_impl_list): Adjust ifunc variants for
4513 memcpy and mempcpy.
4514 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
4515 to ...
4516 * sysdeps/s390/memcpy.c: ... here.
4517 Adjust ifunc variants for memcpy.
4518 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
4519 * sysdeps/s390/mempcpy.c: ... here.
4520 Adjust ifunc variants for mempcpy.
4521 * sysdeps/s390/mempcpy.S: Delete file.
4522
4523 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4524
4525 * sysdeps/s390/s390-64/memcpy.S: Move to ...
4526 * sysdeps/s390/memcpy.S: ... here.
4527 Adjust to be usable for 31/64bit.
4528 * sysdeps/s390/s390-32/memcpy.S: Delete File.
4529 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
4530 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
4531 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4532 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
4533 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
4534 Adjust to be usable for 31/64bit.
4535 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
4536 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
4537 * sysdeps/s390/multiarch/memcpy.c: ... here.
4538 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
4539
4540 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4541
4542 * sysdeps/s390/ifunc-memcmp.h: New File.
4543 * sysdeps/s390/memcmp.S: Move to ...
4544 * sysdeps/s390/memcmp-z900.S ... here.
4545 Move implementations from memcmp-s390x.s to here.
4546 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
4547 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4548 Remove memcmp variants.
4549 * sysdeps/s390/Makefile (sysdep_routines):
4550 Add memcmp variants.
4551 * sysdeps/s390/multiarch/ifunc-impl-list.c
4552 (__libc_ifunc_impl_list): Adjust ifunc variants for
4553 memcmp.
4554 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
4555 to ...
4556 * sysdeps/s390/memcmp.c: ... here.
4557 Adjust ifunc variants for memcmp.
4558
4559 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4560
4561 * sysdeps/s390/s390-64/memcmp.S: Move to ...
4562 * sysdeps/s390/memcmp.S: ... here.
4563 Adjust to be usable for 31/64bit.
4564 * sysdeps/s390/s390-32/memcmp.S: Delete File.
4565 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
4566 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4567 Remove memcmp.
4568 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4569 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
4570 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
4571 Adjust to be usable for 31/64bit.
4572 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
4573 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
4574 * sysdeps/s390/multiarch/memcmp.c: ... here.
4575 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
4576
4577 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4578
4579 * sysdeps/s390/s390-32/bzero.S: Delete file.
4580 * sysdeps/s390/s390-64/bzero.S: Likewise.
4581 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
4582 * sysdeps/s390/bzero.c: New file.
4583 * sysdeps/s390/memset-z900.S: Add bzero entry points.
4584 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
4585 * sysdeps/s390/multiarch/ifunc-impl-list.c
4586 (__libc_ifunc_impl_list): Add bzero ifunc variants.
4587
4588 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4589
4590 * sysdeps/s390/ifunc-memset.h: New File.
4591 * sysdeps/s390/memset.S: Move to ...
4592 * sysdeps/s390/memset-z900.S ... here.
4593 Move implementations from memset-s390x.s to here.
4594 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
4595 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4596 Remove memset variants.
4597 * sysdeps/s390/Makefile (sysdep_routines):
4598 Add memset variants.
4599 * sysdeps/s390/multiarch/ifunc-impl-list.c
4600 (__libc_ifunc_impl_list): Adjust ifunc variants for
4601 memset.
4602 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
4603 to ...
4604 * sysdeps/s390/memset.c: ... here.
4605 Adjust ifunc variants for memset.
4606
4607 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4608
4609 * sysdeps/s390/s390-64/memset.S: Move to ...
4610 * sysdeps/s390/memset.S: ... here.
4611 Adjust to be usable for 31/64bit.
4612 * sysdeps/s390/s390-32/memset.S: Delete File.
4613 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
4614 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4615 Remove memset.
4616 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4617 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
4618 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
4619 Adjust to be usable for 31/64bit.
4620 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
4621 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
4622 * sysdeps/s390/multiarch/memset.c: ... here.
4623 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
4624
4625 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4626
4627 * sysdeps/s390/multiarch/ifunc-resolve.h
4628 (s390_libc_ifunc_init, s390_libc_ifunc,
4629 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
4630
4631 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
4632
4633 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
4634 * sysdeps/s390/configure.ac: Add check for z10 support.
4635 * sysdeps/s390/configure: Regenerated.
4636
4637 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
4638
4639 * sysdeps/i386/atomic-machine.h: Merged with ...
4640 * sysdeps/x86_64/atomic-machine.h: To ...
4641 * sysdeps/x86/atomic-machine.h: This. New file.
4642
4643 2018-12-18 Florian Weimer <fweimer@redhat.com>
4644
4645 Rewrite locale/gen-translit.pl in Python.
4646 * locale/Makefile (generated): Add C-translit.h.
4647 (before-compile): Add $(objpfx)C-translit.h.
4648 (C-translit.h): Move to $(objpfx). Create target directory.
4649 Build using Python script.
4650 * locale/gen-translit.py: New file.
4651 * locale/gen-translit.pl: Remove file.
4652 * locale/C-translit.h.in: Change comment character to '#' for
4653 easier parsing without a C preprocessor.
4654 * locale/C-translit.h: Remove generated file.
4655 * manual/install.texi (Tools for Compilation): Do not mention
4656 C-translit.h.
4657 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
4658 Remove locale/C-translit.h.
4659 * scripts/update-copyrights: Likewise.
4660 * INSTALL: Regenerate.
4661
4662 2018-12-18 Florian Weimer <fweimer@redhat.com>
4663
4664 [BZ #23995]
4665 * localedata/locales/bi_VU: Remove executable bit from file.
4666
4667 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
4668
4669 * include/time.h
4670 (__localtime64): Add.
4671 * manual/maint.texi: Document Y2038 symbol handling.
4672 * time/localtime.c
4673 (__localtime64): Add.
4674 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
4675
4676 2018-12-17 Joseph Myers <joseph@codesourcery.com>
4677
4678 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
4679 Do not clobber r12.
4680
4681 * scripts/glibcextract.py (compare_macro_consts): Take parameters
4682 to allow extra macros from first or second sources.
4683 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
4684 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4685 (tests-special): Add $(objpfx)tst-mman-consts.out.
4686 ($(objpfx)tst-mman-consts.out): New makefile target.
4687
4688 2018-12-17 Mao Han <han_mao@c-sky.com>
4689
4690 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
4691 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
4692 without stat64 system call support.
4693 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
4694 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
4695 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4696 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
4697 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
4698 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
4699 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
4700 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
4701 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
4702 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
4703 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
4704
4705 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
4706
4707 regex: fix storage-exhaustion error
4708 [BZ #18040]
4709 * posix/regexec.c (get_subexp):
4710 Do not continue if storage is exhausted.
4711
4712 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
4713
4714 regex: fix heap-use-after-free error
4715 [BZ #18040]
4716 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
4717 https://debbugs.gnu.org/32592
4718 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
4719 call extend_buffers which reallocates the re_string_t internal buffer.
4720 Local variable 'buf' was not updated in such case, resulting in
4721 use-after-free.
4722 * posix/regexec.c (get_subexp): Update 'buf' after call to
4723 get_subexp_sub.
4724
4725 2018-12-15 Florian Weimer <fweimer@redhat.com>
4726
4727 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
4728 (minimum_stride_size): Use it.
4729 (support_blob_repeat_allocate): Likewise.
4730
4731 2018-12-14 Joseph Myers <joseph@codesourcery.com>
4732
4733 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
4734 definition.
4735 (acosh): Likewise.
4736 (atanh): Likewise.
4737
4738 2018-12-14 Florian Weimer <fweimer@redhat.com>
4739
4740 * manual/process.texi (Process Creation Concepts): Remove
4741 documentation of process (ID) lifetime. List more process
4742 creation functions. Reference Process Identification section.
4743 (Process Identification): Add information about process ID
4744 lifetime. Describe Linux thread/task IDs.
4745 * manual/signal.texi (Signaling Another Process): Mention that the
4746 signal is always sent to the process.
4747
4748 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4749
4750 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
4751 and tst-ldbl-efgcvt.
4752 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
4753 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
4754 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
4755 (fcvt_tests, output_error, output_r_error, do_test): Use the
4756 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
4757 select the type of floating-point variables and arguments; to
4758 produce extra tests for double and conversion specifiers for
4759 printf; and to set the names of called functions.
4760 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
4761 in tst-efgcvt-template.c.
4762 * misc/tst-ldbl-efgcvt.c: Likewise.
4763
4764 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
4765
4766 * nss/Makefile (tst-nss-test3.out): New rule.
4767
4768 2018-12-13 Joseph Myers <joseph@codesourcery.com>
4769
4770 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
4771 clobber sp.
4772
4773 2018-12-13 fanjinke <fanjinke@hygon.cn>
4774
4775 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
4776 "HygonGenuine".
4777
4778 2018-12-13 Andreas Schwab <schwab@suse.de>
4779
4780 [BZ #23861]
4781 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
4782 (__pthread_rwlock_rdlock_full): Update expected value for
4783 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
4784 * nptl/tst-rwlock-pwn.c: New file.
4785 * nptl/Makefile (tests): Add tst-rwlock-pwn.
4786
4787 2018-12-12 Joseph Myers <joseph@codesourcery.com>
4788
4789 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
4790 definition.
4791
4792 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4793
4794 * benchtests/scripts/compare_bench.py (do_compare): write to
4795 stderr in casestat is not present.
4796 * benchtests/scripts/compare_bench.py (plot_graphs): write to
4797 stderr in case timings field is not present. Also string showing
4798 the output filename goes into the stderr.
4799
4800 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4801
4802 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
4803 and ZeroDivisorError exceptions.
4804 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
4805 argument to loop through user provided statistics.
4806 * benchtests/scripts/compare_bench.py (main): Include the --stats
4807 argument.
4808
4809 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4810
4811 * benchtests/scripts/compare_bench.py (compare_runs): Continue
4812 instead of return.
4813
4814 2018-12-12 Florian Weimer <fweimer@redhat.com>
4815
4816 * sysdeps/posix/timespec_get.c: Add missing “any later version”
4817 clause to copyright header.
4818
4819 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4820
4821 [BZ #23614]
4822 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
4823 registers saved in the stack frame.
4824 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
4825 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
4826
4827 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4828
4829 * include/bits/monetary-ldbl.h: New file.
4830 * include/bits/printf-ldbl.h: Likewise.
4831 * include/bits/stdio-ldbl.h: Likewise.
4832 * include/bits/stdlib-ldbl.h: Likewise.
4833 * include/bits/syslog-ldbl.h: Likewise.
4834 * include/bits/wchar-ldbl.h: Likewise.
4835
4836 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4837
4838 * libio/libio.h: Remove redirection for _IO_vfprintf.
4839
4840 2018-12-11 Andreas Schwab <schwab@suse.de>
4841
4842 * Makerules: Remove all references to abilist-pattern.
4843 (update-all-abi): Simplify find expression.
4844
4845 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4846
4847 [BZ #23961]
4848 * math/auto-libm-test-in: Add new test case.
4849 * math/auto-libm-test-out-pow: Regenerated.
4850 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
4851
4852 2018-12-10 DJ Delorie <dj@redhat.com>
4853
4854 [BZ #23948]
4855 * support/test-container.c: Move postclean step to before we
4856 change namespaces.
4857
4858 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4859
4860 * scripts/gen-as-const.py (main): Handle --python option.
4861 * scripts/gen-py-const.awk: Remove.
4862 * Makerules (py-const-script): Use gen-as-const.py.
4863 ($(py-const)): Likewise.
4864 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
4865 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
4866 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
4867 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
4868 ~PTHREAD_MUTEX_NO_ELISION_NP.
4869 * manual/README.pretty-printers: Update reference to
4870 gen-py-const.awk.
4871
4872 * scripts/glibcextract.py: New file.
4873 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
4874 or tempfile. Import glibcexctract.
4875 (compute_c_consts): Remove. Moved to glibcextract.py.
4876 (gen_test): Update reference to compute_c_consts.
4877 (main): Likewise.
4878 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
4879 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
4880 * sysdeps/unix/sysv/linux/Makefile
4881 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
4882 Redirect stderr as well as stdout.
4883
4884 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
4885
4886 [BZ #19767]
4887 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
4888 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
4889 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
4890 ALWAYS_USE_VSYSCALL.
4891 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
4892 ALWAYS_USE_VSYSCALL.
4893 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
4894 ALWAYS_USE_VSYSCALL.
4895
4896 2018-12-10 Florian Weimer <fweimer@redhat.com>
4897
4898 [BZ #23972]
4899 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
4900 offset instead of count for clarity. Fix typo in comment.
4901 (__old_getdents64): Keep track of previous offset. Use it to call
4902 handle_overflow.
4903 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
4904 that d_off is never zero.
4905
4906 2018-12-10 Andreas Schwab <schwab@suse.de>
4907
4908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
4909 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
4911 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
4912 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
4913
4914 2018-12-10 Joseph Myers <joseph@codesourcery.com>
4915
4916 * timezone/private.h: Update from tzcode 2018g.
4917 * timezone/tzfile.h: Likewise.
4918 * timezone/tzselect.ksh: Likewise.
4919 * timezone/zdump.c: Likewise.
4920 * timezone/zic.c: Likewise.
4921
4922 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4923
4924 [BZ #23490]
4925 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
4926 (do_test): Adjust buffer size and fix format.
4927
4928 2018-12-07 DJ Delorie <dj@redhat.com>
4929
4930 [BZ #23907]
4931 * malloc/tst-tcfree3.c: New.
4932 * malloc/Makefile: Add it.
4933
4934 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4935
4936 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
4937
4938 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4939
4940 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
4941 used as a mask for the mode argument of __vfscanf_internal and
4942 __vfwscanf_internal.
4943 * stdio-common/vfscanf-internal.c
4944 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
4945 (__strtof128_internal): Define to __wcstof128_internal.
4946 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
4947 __strtof128_internal or __wcstof128_internal when the format of
4948 long double is the same as _Float128.
4949
4950 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
4951
4952 * include/unistd.h (__confstr): Add prototype and hidden prototype.
4953 * posix/confstr.c (confstr): Rename to __confstr.
4954 (__confstr): Add hidden def.
4955 (confstr): Add weak alias for __confstr.
4956 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
4957 confstr.
4958
4959 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
4960
4961 * NEWS: Mention getcpu.
4962 * include/sched.h (__getcpu): New libc_hidden_proto.
4963 * manual/resource.texi: Document getcpu.
4964 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
4965 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
4966 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
4967 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4968 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4969 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4970 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4971 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4972 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4973 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4974 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4975 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4976 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
4977 Likewise.
4978 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4979 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4980 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4982 Likewise.
4983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4984 Likewise.
4985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4986 Likewise.
4987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
4988 Likewise.
4989 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4990 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4991 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4992 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4993 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4994 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4995 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4996 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4997 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
4998 * sysdeps/unix/sysv/linux/getcpu.c: New file.
4999 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5000 Also check getcpu.
5001
5002 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5003
5004 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5005 functions.
5006 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5007
5008 2018-12-07 Florian Weimer <fweimer@redhat.com>
5009
5010 [BZ #17405]
5011 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5012 * posix/Versions (GLIBC_2.29): Export
5013 posix_spawn_file_actions_addfchdir_np.
5014 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5015 * posix/spawn_faction_destroy.c
5016 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5017 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5018 and the field action.fchdir_action.
5019 * posix/tst-spawn-chdir.c (add_chdir): New function.
5020 (do_test): Add do_fchdir loop. Call add_chdir.
5021 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5022 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5023 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5024 posix_spawn_file_actions_addfchdir_np.
5025 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5026 Likewise.
5027 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5028 Likewise.
5029 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5030 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5031 Likewise.
5032 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5033 Likewise.
5034 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5035 Likewise.
5036 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5037 Likewise.
5038 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5039 Likewise.
5040 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5041 Likewise.
5042 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5043 (GLIBC_2.29): Likewise.
5044 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5045 (GLIBC_2.29): Likewise.
5046 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5047 (GLIBC_2.29): Likewise.
5048 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5049 (GLIBC_2.29): Likewise.
5050 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5051 Likewise.
5052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5053 (GLIBC_2.29): Likewise.
5054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5055 (GLIBC_2.29): Likewise.
5056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5057 (GLIBC_2.29): Likewise.
5058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5059 (GLIBC_2.29): Likewise.
5060 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5061 Likewise.
5062 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5063 Likewise.
5064 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5065 Likewise.
5066 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5067 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5068 Likewise.
5069 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5070 Likewise.
5071 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5072 Likewise.
5073 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5074 Likewise.
5075
5076 2018-12-06 Joseph Myers <joseph@codesourcery.com>
5077
5078 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5079 trailing whitespace removed.
5080 * scripts/config.guess: Update to version 2018-11-28.
5081 * scripts/config.sub: Update to version 2018-11-28.
5082 * scripts/install-sh: Update to version 2018-03-11.20.
5083 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5084 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5085
5086 2018-12-07 Florian Weimer <fweimer@redhat.com>
5087
5088 [BZ #23927]
5089 CVE-2018-19591
5090 * inet/tst-if_index-long.c: New file.
5091 * inet/Makefile (tests): Add tst-if_index-long.
5092
5093 2018-12-07 Florian Weimer <fweimer@redhat.com>
5094
5095 * support/check.h (support_record_failure_is_failed): Declare.
5096 * support/descriptors.h: New file.
5097 * support/support_descriptors.c: Likewise.
5098 * support/tst-support_descriptors.c: Likewise.
5099 * support/support_record_failure.c
5100 (support_record_failure_is_failed): New function.
5101 * support/Makefile (libsupport-routines): Add support_descriptors.
5102 (tests): Add tst-support_descriptors.
5103
5104 2018-12-05 Zack Weinberg <zackw@panix.com>
5105 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5106
5107 * stdio-common/vfprintf-internal.c
5108 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
5109 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
5110 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
5111 and __no_long_double.
5112 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
5113 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
5114 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
5115 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
5116 and __nldbl_*syslog* functions.
5117 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
5118 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
5119 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
5120 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
5121 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
5122 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
5123 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
5124 (__nldbl_vwprintf, __nldbl_wprintf):
5125 Directly call the appropriate __v*printf_internal routine, passing
5126 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
5127 variable names.
5128 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
5129 (__nldbl___printf_chk, __nldbl___snprintf_chk)
5130 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
5131 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
5132 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
5133 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5134 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
5135 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
5136 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
5137 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
5138 Likewise, and also pass PRINTF_FORTIFY when appropriate.
5139 (__nldbl_syslog, __nldbl_vsyslog):
5140 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
5141 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5142 appropriate.
5143 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5144 appropriate.
5145
5146 2018-12-05 Zack Weinberg <zackw@panix.com>
5147 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5148
5149 [BZ #11319]
5150 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
5151 Moved here from debug/vsprintf_chk.c.
5152 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
5153 and completion logic for the strfile to match exactly what
5154 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
5155 _IO_str_init_static_internal instead of maxlen-1.
5156 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5157 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
5158 __vsprintf_internal.
5159
5160 * debug/vsprintf_chk.c (__vsprintf_chk)
5161 * debug/sprintf_chk.c (__sprintf_chk):
5162 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
5163 'flags' argument is positive, and slen as maxlen. No need to lock
5164 the FILE and/or construct a temporary FILE. Minimize and normalize
5165 header inclusions and variable names. Do not libc_hidden_def anything.
5166
5167 * debug/asprintf_chk.c (__asprintf_chk)
5168 * debug/dprintf_chk.c (__dprintf_chk)
5169 * debug/fprintf_chk.c (__fprintf_chk)
5170 * debug/fwprintf_chk.c (__fwprintf_chk)
5171 * debug/printf_chk.c (__printf_chk)
5172 * debug/snprintf_chk.c (__snprintf_chk)
5173 * debug/swprintf_chk.c (__swprintf_chk)
5174 * debug/vasprintf_chk.c (__vasprintf_chk)
5175 * debug/vdprintf_chk.c (__vdprintf_chk)
5176 * debug/vfprintf_chk.c (__vfprintf_chk)
5177 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5178 * debug/vprintf_chk.c (__vprintf_chk)
5179 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5180 * debug/vswprintf_chk.c (__vswprintf_chk)
5181 * debug/vwprintf_chk.c (__vwprintf_chk)
5182 * debug/wprintf_chk.c (__wprintf_chk):
5183 Directly call the corresponding vxxprintf_internal function, passing
5184 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5185 the FILE and/or construct a temporary FILE. Minimize and normalize
5186 header inclusions and variable names. Do not libc_hidden_def anything.
5187
5188 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5189 __obstack_vprintf_internal.
5190 (__obstack_vprintf_chk): Convert into a wrapper that calls
5191 __obstack_vprintf_internal (these two functions already had the
5192 same code) and move to new file...
5193 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5194 file.
5195 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5196 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5197 * debug/Makefile (routines): Add vobprintf_chk.
5198
5199 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5200 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5201 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5202 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5203 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5204 (__nldbl___obstack_vfprintf_chk):
5205 Directly call the corresponding vxxprintf_internal function,
5206 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5207 duplicate comparison of slen with 0 or maxlen from the corresponding
5208 non-__nldbl function.
5209
5210 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5211 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5212 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5213 Remove libc_hidden_proto.
5214
5215 * stdio-common/vfprintf-internal.c
5216 (__vfprintf_internal, __vfwprintf_internal):
5217 Do not check _IO_FLAGS2_FORTIFY.
5218 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5219 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5220 a comment explaining why it has the maxlen argument.
5221 (_IO_acquire_lock_clear_flags2_fct): Remove.
5222 (_IO_acquire_lock_clear_flags2): Remove.
5223 (_IO_release_lock): Remove conditional statement which will
5224 now never execute.
5225 (_IO_acquire_lock): Remove variable which is now unused.
5226 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5227 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5228
5229 * stdio-common/Makefile (tests): Add tst-bz11319 and
5230 tst-bz11319-fortify2.
5231 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5232 * stdio-common/tst-bz11319-fortify2.c: New file.
5233 * stdio-common/tst-bz11319.c: Likewise.
5234
5235 2018-12-05 Zack Weinberg <zackw@panix.com>
5236 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5237
5238 * misc/syslog.c: Include libioP.h, not iolibio.h.
5239 (__vsyslog_internal): New function with the former body of
5240 __vsyslog_chk; takes mode_flags argument same as
5241 __v*printf_internal. Call __vfprintf_internal directly.
5242
5243 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5244 Remove libc_hidden_def.
5245 (__syslog, __syslog_chk): Use __vsyslog_internal.
5246 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5247
5248 * include/sys/syslog.h: Add multiple inclusion guard.
5249 Add prototype for __vsyslog_internal.
5250 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5251
5252 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5253 Use __vsyslog_internal.
5254
5255 2018-12-05 Zack Weinberg <zackw@panix.com>
5256 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5257
5258 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5259 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5260 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5261 New functions.
5262 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5263 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5264
5265 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5266 Include wctype.h here if COMPILE_WPRINTF is defined.
5267 Define __vfprintf_internal or __vfwprintf_internal, depending
5268 on COMPILE_WPRINTF.
5269 Temporarily, on entry to this function, update mode_flags
5270 according to the environmental settings corresponding to
5271 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5272 Throughout, check mode_flags instead of __ldbl_is_dbl and
5273 _IO_FLAGS2_FORTIFY on the destination FILE.
5274 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5275 Include vfprintf-internal.c. Don't include wctype.h.
5276 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5277 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5278 and vfprintf.
5279 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5280 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5281 and vfwprintf.
5282 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5283
5284 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5285 and add mode_flags argument; use __vfprintf_internal.
5286 (__vdprintf): New function. Alias vdprintf to this.
5287 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5288 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5289 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5290 (__obstack_printf): Use __obstack_printf_internal.
5291 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5292 public aliases __vsnprintf and vsnprintf.
5293 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5294 called internally.
5295 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5296 public aliases _IO_vsprintf and vsprintf.
5297 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5298 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5299 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5300 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5301 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5302
5303 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5304 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5305 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5306 * stdio-common/printf.c: Use __vfprintf_internal.
5307
5308 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5309 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5310 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5311
5312 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5313 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
5314 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
5315 __vfwprintf_internal.
5316
5317 * libio/libio.h: Remove libc_hidden_proto and declaration for
5318 _IO_vfprintf.
5319 Remove declaration of _IO_vfwprintf.
5320 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
5321 _IO_vsprintf.
5322 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
5323 _IO_obstack_printf.
5324 * include/stdio.h: Add prototype for __vasprintf.
5325 (__vsnprintf): Remove declaration, because there are no more
5326 internal calls.
5327 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5328 declaration, because there are no more internal calls.
5329
5330 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5331 __vsnprintf_internal, instead of _IO_vsnprintf.
5332 * argp/argp-help.c (__argp_error, __argp_failure): Use
5333 __vasprintf_internal, instead of _IO_vasprintf.
5334 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
5335 redefine, because there are no more internal calls.
5336
5337 2018-12-05 Zack Weinberg <zackw@panix.com>
5338 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5339
5340 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
5341 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
5342 Include libio/strfile.h instead of libioP.h.
5343 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
5344 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
5345 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
5346 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
5347 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
5348 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
5349 necessary. Do not set __no_long_double. Normalize variable names.
5350 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
5351 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
5352 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
5353 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
5354 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
5355 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
5356 Call __vfscanf_internal / __vfwscanf_internal directly, passing
5357 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
5358 Do not set __no_long_double. Normalize variable names.
5359
5360 2018-12-05 Zack Weinberg <zackw@panix.com>
5361 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5362
5363 * stdio-common/isoc99_scanf.c
5364 * stdio-common/isoc99_fscanf.c
5365 * stdio-common/isoc99_sscanf.c
5366 * stdio-common/isoc99_vscanf.c
5367 * stdio-common/isoc99_vfscanf.c
5368 * stdio-common/isoc99_vsscanf.c
5369 * wcsmbs/isoc99_wscanf.c
5370 * wcsmbs/isoc99_fwscanf.c
5371 * wcsmbs/isoc99_swscanf.c
5372 * wcsmbs/isoc99_vwscanf.c
5373 * wcsmbs/isoc99_vfwscanf.c
5374 * wcsmbs/isoc99_vswscanf.c:
5375 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
5376 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
5377 No need to lock and unlock the FILE passed to that function.
5378
5379 * stdio-common/vfscanf-internal.c
5380 (__vfscanf_internal, __vfwscanf_internal):
5381 Don't look at _IO_FLAGS2_SCANF_STD.
5382 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
5383 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
5384 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
5385
5386 2018-12-05 Zack Weinberg <zackw@panix.com>
5387 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5388
5389 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
5390 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
5391 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
5392 * libio/strfile.h: Add multiple inclusion guard.
5393 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
5394
5395 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
5396 consistency with the other version of this file.
5397 (ldbl_compat_symbol): New macro.
5398 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
5399 New macro.
5400
5401 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
5402 Define __vfscanf_internal or __vfwscanf_internal, depending on
5403 COMPILE_WSCANF; don't define any other public symbols.
5404 Remove errval and code to set errp.
5405 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
5406 as the mode_flags argument.
5407 (encode_error, conv_error, input_error): Don't set errval.
5408 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
5409 Include vfscanf-internal.c.
5410 * stdio-common/vfscanf.c: New file defining the public entry
5411 point vfscanf, which calls __vfscanf_internal.
5412 * stdio-common/vfwscanf.c: New file defining the public entry
5413 point vfwscanf, which calls __vfwscanf_internal.
5414
5415 * stdio-common/iovfscanf.c: New file.
5416 * stdio-common/iovfwscanf.c: Likewise.
5417
5418 * stdio-common/Makefile (routines): Add vfscanf-internal,
5419 vfwscanf-internal, iovfscanf, iovfwscanf.
5420 * stdio-common/Versions: Mention GLIBC_2.29, so that
5421 it can be used in SHLIB_COMPAT expressions.
5422 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
5423 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
5424 Call __vfscanf_internal, instead of _IO_vfscanf.
5425 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
5426 _IO_vfscanf.
5427 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
5428 _IO_vfwscanf.
5429
5430 * libio/iovsscanf.c: Clean up includes, when possible. Use
5431 _IO_strfile_read or _IO_strfile_readw, when needed. Call
5432 __vfscanf_internal or __vfwscanf_internal directly.
5433 * libio/iovswscanf.c: Likewise.
5434 * libio/swscanf.c: Likewise.
5435 * libio/vscanf.c: Likewise.
5436 * libio/vwscanf.c: Likewise.
5437 * libio/wscanf.c: Likewise.
5438 * stdio-common/isoc99_fscanf.c: Likewise.
5439 * stdio-common/isoc99_scanf.c: Likewise.
5440 * stdio-common/isoc99_sscanf.c: Likewise.
5441 * stdio-common/isoc99_vfscanf.c: Likewise.
5442 * stdio-common/isoc99_vscanf.c: Likewise.
5443 * stdio-common/isoc99_vsscanf.c: Likewise.
5444 * stdio-common/scanf.c: Likewise.
5445 * stdio-common/sscanf.c: Likewise.
5446 * wcsmbs/isoc99_fwscanf.c: Likewise.
5447 * wcsmbs/isoc99_swscanf.c: Likewise.
5448 * wcsmbs/isoc99_vfwscanf.c: Likewise.
5449 * wcsmbs/isoc99_vswscanf.c: Likewise.
5450 * wcsmbs/isoc99_vwscanf.c: Likewise.
5451 * wcsmbs/isoc99_wscanf.c: Likewise.
5452
5453 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
5454
5455 * include/time.h
5456 (__tz_compute): Replace time_t with __time64_t.
5457 (__tz_convert): Replace time_t* with __time64_t.
5458 (__offtime): Replace time_t* with __time64_t.
5459 * time/gmtime.c
5460 (__gmtime_r): Adjust call to __tz_convert.
5461 (gmtime): Likewise.
5462 * time/localtime.c
5463 (__localtime_r): Likewise.
5464 (localtime): Likewise.
5465 * time/offtime.c: Replace time_t with __time64_t.
5466 * time/tzset.c: Likewise.
5467
5468 2018-12-04 Joseph Myers <joseph@codesourcery.com>
5469
5470 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
5471 dynamic linker unless [$(run-built-tests) = yes].
5472
5473 2018-12-03 DJ Delorie <dj@delorie.com>
5474
5475 * support/test-container.c (check_for_unshare_hints): New.
5476 (main): Call it if unshare fails. Add support for "su" scriptlet
5477 command.
5478
5479 2018-12-03 Joseph Myers <joseph@codesourcery.com>
5480
5481 * scripts/gen-as-const.py (compute_c_consts): Take an argument
5482 'START' to indicate that start text should be output.
5483 (gen_test): Likewise.
5484 (main): Generate 'START' for first symbol or '--' line, or at end
5485 of input if not previously generated.
5486
5487 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
5488
5489 [BZ #19767]
5490 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
5491 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
5492 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
5493 ALWAYS_USE_VSYSCALL.
5494
5495 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5496
5497 [BZ #23913]
5498 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
5499 new_argv by one.
5500
5501 2018-12-03 Carlos O'Donell <carlos@redhat.com>
5502
5503 [BZ #23923]
5504 * locale/programs/localedef.c: Declare boolean hard_links default true.
5505 (options): Add --no-hard-links option.
5506 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
5507 * locale/programs/localedef.h: Declare prototype for hard_links.
5508 * locale/programs/locfile.c (write_locale_data): Don't use hard
5509 links if hard_links is false.
5510
5511 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
5512
5513 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
5514 cpu_features_basic.
5515 (__cache_sysconf): Likewise.
5516 (init_cacheinfo): Likewise.
5517 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
5518 populate COMMON_CPUID_INDEX_80000007 and
5519 COMMON_CPUID_INDEX_80000008.
5520 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
5521 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
5522 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
5523 (init_cpu_features): Use _Static_assert on
5524 index_arch_Fast_Unaligned_Load.
5525 __get_cpuid_registers and __get_arch_feature. Updated for
5526 cpu_features_basic. Set stepping in cpu_features.
5527 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
5528 (FEATURE_INDEX_2): New.
5529 (FEATURE_INDEX_MAX): Changed to enum.
5530 (COMMON_CPUID_INDEX_D_ECX_1): New.
5531 (COMMON_CPUID_INDEX_80000007): Likewise.
5532 (COMMON_CPUID_INDEX_80000008): Likewise.
5533 (cpuid_registers): Likewise.
5534 (cpu_features_basic): Likewise.
5535 (CPU_FEATURE_USABLE): Likewise.
5536 (bit_arch_XXX_Usable): Likewise.
5537 (cpu_features): Use cpuid_registers and cpu_features_basic.
5538 (bit_arch_XXX): Reweritten.
5539 (bit_cpu_XXX): Likewise.
5540 (index_cpu_XXX): Likewise.
5541 (reg_XXX): Likewise.
5542 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
5543 <support/check.h>.
5544 (CHECK_CPU_FEATURE): New.
5545 (CHECK_CPU_FEATURE_USABLE): Likewise.
5546 (cpu_kinds): Likewise.
5547 (do_test): Print vendor, family, model and stepping. Check
5548 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
5549 (TEST_FUNCTION): Removed.
5550 Include <support/test-driver.c> instead of
5551 "../../test-skeleton.c".
5552 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
5553 Check POPCNT instead of POPCOUNT.
5554 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
5555
5556 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5557
5558 * scripts/gen-as-const.py (main): Avoid emitting empty line when
5559 there is no element in `consts'.
5560
5561 2018-12-01 Florian Weimer <fweimer@redhat.com>
5562
5563 * support/support_capture_subprocess.c
5564 (support_capture_subprocess): Check that pipe descriptors have
5565 expected values. Close original pipe descriptors in subprocess.
5566
5567 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5568
5569 [BZ #23032]
5570 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
5571 attr with __pthread_default_barrierattr.
5572 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
5573 attr with __pthread_default_condattr.
5574 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
5575 attr with __pthread_default_mutexattr.
5576 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
5577 attr with __pthread_default_rwlockattr.
5578
5579 2018-12-01 Kemi Wang <kemi.wang@intel.com>
5580
5581 * manual/tunables.texi (POSIX Thread Tunables): New node.
5582 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
5583 * nptl/nptl-init.c: Include pthread_mutex_conf.h
5584 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
5585 __pthread_tunables_init.
5586 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
5587 (max_adaptive_count): Define.
5588 * nptl/pthread_mutex_conf.c: New file.
5589 * nptl/pthread_mutex_conf.h: New file.
5590 * sysdeps/generic/adaptive_spin_count.h: New file.
5591 * sysdeps/nptl/dl-tunables.list: New file.
5592 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5593 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
5594 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
5595 Likewise.
5596
5597 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
5598
5599 [BZ #20544]
5600 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
5601 * stdlib/on_exit.c (__on_exit): Likewise.
5602 * stdlib/Makefile (tests): Add tst-bz20544.
5603 * stdlib/tst-bz20544.c: New test.
5604
5605 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
5606
5607 [BZ #19767]
5608 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
5609 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
5610 New.
5611
5612 2018-11-30 Florian Weimer <fweimer@redhat.com>
5613
5614 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
5615 Extend error logging.
5616 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
5617 symbol.
5618
5619 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5620
5621 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
5622 __sigismember instead of sigismember.
5623 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
5624 cancel_handler): New definitions.
5625 (do_system): Use posix_spawn instead of fork and execl and remove
5626 reentracy code.
5627 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
5628 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
5629 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
5630 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5631 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5632 * sysdeps/unix/sysv/linux/system.c: Likewise.
5633
5634 [BZ #22834]
5635 [BZ #17490]
5636 * NEWS: Add new semantic for atfork with popen and system.
5637 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
5638 fork and execl.
5639
5640 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5641
5642 [BZ #23690]
5643 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
5644 modification order when accessing reloc_result->addr.
5645 * include/link.h (reloc_result): Add field init.
5646 * nptl/Makefile (tests): Add tst-audit-threads.
5647 (modules-names): Add tst-audit-threads-mod1 and
5648 tst-audit-threads-mod2.
5649 Add rules to build tst-audit-threads.
5650 * nptl/tst-audit-threads-mod1.c: New file.
5651 * nptl/tst-audit-threads-mod2.c: Likewise.
5652 * nptl/tst-audit-threads.c: Likewise.
5653 * nptl/tst-audit-threads.h: Likewise.
5654
5655 2018-11-30 Joseph Myers <joseph@codesourcery.com>
5656
5657 * scripts/gen-as-const.py: New file.
5658 * scripts/gen-as-const.awk: Remove.
5659 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
5660 gen-as-const.py.
5661 ($(objpfx)test-as-const-%.c): Likewise.
5662
5663 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5664
5665 * elf/dl-exception.c: Include <_itoa.h>.
5666
5667 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5668
5669 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
5670 returned by __f_setlk.
5671
5672 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
5673 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5674
5675 * elf/Makefile (tests-internal): Add tst-create_format1.
5676 * elf/dl-exception.c (_dl_exception_create_format): Support
5677 %x, %lx and %zx.
5678 * elf/tst-create_format1.c: New file.
5679
5680 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
5681
5682 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
5683 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
5684 gnulib.)
5685 * argp/argp-help.c (__argp_failure): Likewise.
5686
5687 2018-11-29 Mao Han <han_mao@c-sky.com>
5688
5689 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
5690 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
5691 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
5692 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
5693 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
5694 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
5695 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
5696 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
5697 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
5698 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
5699 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
5700 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
5701 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
5702 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
5703 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
5704 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
5705 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
5706 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
5707 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
5708 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
5709 (R_CKCORE_TLS_TPOFF32): New defines.
5710
5711 2018-11-29 Florian Weimer <fweimer@redhat.com>
5712
5713 * posix/Makefile (before-compile): Remove testcases.h and
5714 ptestcases.h.
5715 (generated): Add testcases.h and ptestcases.h.
5716 (testcases.h, ptestcases.h): Move to $(objpfx).
5717 (runtests.o): Add dependency on testcases.h.
5718 (runptests.o): Add dependency on ptestcases.h.
5719 * posix/testcases.h, posix/ptestcases.h: Remove files.
5720 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
5721 not touch posix/testcases.h and posix/ptestcases.h.
5722
5723 2018-11-28 Florian Weimer <fweimer@redhat.com>
5724
5725 support: Add signal support to support_capture_subprocess_check.
5726 * support/capture_subprocess.h (support_capture_subprocess_check):
5727 Adjust comment and rename parameter.
5728 * support/support_capture_subprocess_check.c
5729 (print_actual_status): New function.
5730 (support_capture_subprocess_check): Support negative
5731 status_or_signal. Call print_actual_status.
5732 * support/tst-support_capture_subprocess.c (do_test): Call
5733 support_capture_subprocess_check.
5734 * libio/tst-vtables-common.c (termination_status)
5735 (init_termination_status): Remove.
5736 (check_for_termination): Adjust support_capture_subprocess_check
5737 call.
5738 (do_test): Remove call to init_termination_status.
5739
5740 2018-11-28 Joseph Myers <joseph@codesourcery.com>
5741
5742 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
5743 source directory instead of a copy.
5744 (CommandList.create_copy_dir): Remove.
5745
5746 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
5747
5748 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5749
5750 2018-11-28 Florian Weimer <fweimer@redhat.com>
5751
5752 * support/support.h (support_quote_string): Do not use str
5753 parameter name.
5754
5755 2018-11-27 Joseph Myers <joseph@codesourcery.com>
5756
5757 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
5758 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
5759
5760 2018-11-27 Florian Weimer <fweimer@redhat.com>
5761
5762 * support/support.h (support_quote_string): Declare.
5763 * support/support_quote_string.c: New file.
5764 * support/tst-support_quote_string.c: Likewise.
5765 * support/Makefile (libsupport-routines): Add
5766 support_quote_string.
5767 (tests): Add tst-support_quote_string.
5768
5769 2018-11-27 Florian Weimer <fweimer@redhat.com>
5770
5771 [BZ #23927]
5772 CVE-2018-19591
5773 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
5774 descriptor leak in case of ENODEV error.
5775
5776 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
5777
5778 [BZ #19767]
5779 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
5780 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
5781 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
5782
5783 2018-11-26 Carlos O'Donell <carlos@redhat.com>
5784
5785 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
5786 Error for unknown lines.
5787
5788 2018-11-26 Joseph Myers <joseph@codesourcery.com>
5789
5790 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5791 Touch additional files.
5792
5793 2018-11-26 Florian Weimer <fweimer@redhat.com>
5794
5795 [BZ #23907]
5796 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
5797 double-frees.
5798
5799 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
5800
5801 [BZ #19767]
5802 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
5803 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
5804 SHARED. Include sysdep.h.
5805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
5806 ALWAYS_USE_VSYSCALL.
5807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
5808 ALWAYS_USE_VSYSCALL.
5809
5810 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
5811
5812 [BZ #19767]
5813 * nptl/Makefile (tests-static): Add tst-cond11-static.
5814 (tests): Likewise.
5815 * nptl/tst-cond11-static.c: New File.
5816 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
5817 tst-affinity-static.
5818 (tests): Likewise.
5819 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
5820 instead of SHARED.
5821 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
5822 (USE_VSYSCALL): Likewise.
5823 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
5824 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
5825 instead of SHARED.
5826 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
5827 SHARED.
5828 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
5829 New.
5830
5831 2018-11-23 Joseph Myers <joseph@codesourcery.com>
5832
5833 [BZ #23915]
5834 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5835 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
5836 Undefine.
5837
5838 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
5839
5840 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
5841 (tst-cet-legacy-1a-ARGS): New.
5842 ($(objpfx)tst-cet-legacy-1a): New target.
5843 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
5844
5845 2018-11-22 Joseph Myers <joseph@codesourcery.com>
5846
5847 * conform/conformtest.py (CompileSubTest.__init__): Set
5848 self.run_early to False.
5849 (ExecuteSubTest.__init__): Likewise.
5850 (HeaderTests.run): Try running all non-optional, non-XFAILed
5851 compilation tests in a single execution of the compiler.
5852
5853 * conform/conformtest.py (CompileSubTest): New class.
5854 (ExecuteSubTest): Likewise.
5855 (ElementTest.run): Rename to gen_subtests. Append tests to
5856 self.subtests instead of running them.
5857 (ConstantTest.run): Likewise.
5858 (SymbolTest.run): Likewise.
5859 (TypeTest.run): Likewise.
5860 (TagTest.run): Likewise.
5861 (FunctionTest.run): Likewise.
5862 (VariableTest.run): Likewise.
5863 (MacroFunctionTest.run): Likewise.
5864 (MacroStrTest.run): Likewise.
5865 (HeaderTests.handle_test_line): Generate subtests for tests.
5866 (HeaderTests.run): Run subtests for tests.
5867
5868 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5869
5870 * math/Versions (GLIBC_2.29): Add pow.
5871 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
5872 symbol.
5873 * math/w_pow.c: New file.
5874 * sysdeps/i386/fpu/w_pow.c: New file.
5875 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
5876 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
5877 and add necessary aliases.
5878 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
5879 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
5880 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5881 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5882 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5883 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5884 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5885 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5886 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5887 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5888 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5889 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5890 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5891 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5892 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5897 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5898 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5899 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5900 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5901 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5902 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5903 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5904 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
5905 __pow.
5906 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
5907 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
5908 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
5909
5910 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5911
5912 * math/Versions (GLIBC_2.29): Add log2.
5913 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
5914 symbol.
5915 * math/w_log2.c: New file.
5916 * sysdeps/i386/fpu/w_log2.c: New file.
5917 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
5918 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
5919 and add necessary aliases.
5920 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
5921 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
5922 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5923 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5924 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5925 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5926 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5927 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5928 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5929 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5930 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5931 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5932 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5933 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5934 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5939 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5940 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5941 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5942 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5943 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5944 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5945 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5946
5947 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5948
5949 * math/Versions (GLIBC_2.29): Add log.
5950 * math/w_log_compat.c (__log_compat): Change to versioned compat
5951 symbol.
5952 * math/w_log.c: New file.
5953 * sysdeps/i386/fpu/w_log.c: New file.
5954 * sysdeps/ia64/fpu/e_log.S: Update.
5955 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
5956 and add necessary aliases.
5957 * sysdeps/ieee754/dbl-64/w_log.c: New file.
5958 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
5959 * sysdeps/mach/hurd/i386/libm.abilist: Update.
5960 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
5961 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
5962 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
5963 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
5964 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5965 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
5966 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
5967 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
5968 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
5969 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
5970 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
5971 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
5972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
5973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
5974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
5975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
5976 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
5977 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
5978 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
5979 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
5980 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
5981 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
5982 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
5983 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
5984 __log.
5985 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
5986 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
5987 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
5988 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
5989
5990 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5991
5992 * math/Versions (GLIBC_2.29): Add exp and exp2.
5993 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
5994 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
5995 * math/w_exp_compat.c (__exp_compat): Likewise.
5996 * math/w_exp.c: New file.
5997 * math/w_exp2.c: New file.
5998 * sysdeps/i386/fpu/w_exp.c: New file.
5999 * sysdeps/i386/fpu/w_exp2.c: New file.
6000 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6001 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6002 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6003 and add necessary aliases.
6004 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6005 and add necessary aliases.
6006 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6007 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6008 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6009 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6010 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6011 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6012 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6013 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6014 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6015 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6016 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6017 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6018 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6019 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6020 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6021 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6022 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6027 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6028 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6029 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6030 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6031 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6032 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6033 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6034 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6035 (__ieee754_exp): Rename to __exp.
6036 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6037 (__ieee754_exp): Rename to __exp.
6038 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6039 (__ieee754_exp): Rename to __exp.
6040 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6041 __exp.
6042 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6043
6044 2018-11-20 DJ Delorie <dj@redhat.com>
6045
6046 * malloc/malloc.c (tcache_entry): Add key field.
6047 (tcache_put): Set it.
6048 (tcache_get): Likewise.
6049 (_int_free): Check for double free in tcache.
6050 * malloc/tst-tcfree1.c: New.
6051 * malloc/tst-tcfree2.c: New.
6052 * malloc/Makefile: Run the new tests.
6053 * manual/probes.texi: Document memory_tcache_double_free probe.
6054
6055 * dlfcn/dlerror.c (check_free): Prevent double frees.
6056
6057 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6058
6059 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6060
6061 2018-11-20 Joseph Myers <joseph@codesourcery.com>
6062
6063 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6064 in tests. Use names for format arguments.
6065 (ConstantTest.run): Likewise.
6066 (SymbolTest.run): Likewise.
6067 (TypeTest.run): Likewise.
6068 (TagTest.run): Likewise.
6069 (FunctionTest.run): Likewise.
6070 (VariableTest.run): Likewise.
6071 (MacroFunctionTest.run): Likewise.
6072 (MacroStrTest.run): Likewise.
6073 (HeaderTests.__init__): Set self.num_tests.
6074 (HeaderTests.handle_test_line): Set test.num. Increment
6075 self.num_tests.
6076
6077 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6078
6079 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6080 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6081 SEEK_SET.
6082
6083 2018-11-19 Mao Han <han_mao@c-sky.com>
6084
6085 * scripts/config.guess: Update to version 2018-08-29.
6086 * scripts/config.sub: Update to version 2018-08-29.
6087
6088 2018-11-19 Florian Weimer <fweimer@redhat.com>
6089
6090 support: Print timestamps in timeout handler.
6091 * support/support_test_main.c (print_timestamp): New function.
6092 (signal_handler): Use it to print the termination time and the
6093 time of the last write to standard output.
6094
6095 2018-11-16 Zack Weinberg <zackw@panix.com>
6096 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6097
6098 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
6099 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
6100 argument.
6101 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
6102 and add flags argument. Check flags instead of __ldbl_is_dbl when
6103 deciding whether to set is_long_double.
6104 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
6105 passing zero for flags argument.
6106 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
6107
6108 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6109 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
6110 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
6111 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
6112 variable names. Remove libc_hidden_def/libc_hidden_proto from
6113 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
6114 longer called from within the library.
6115 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
6116 for __nldbl___vstrfmon_l, declare it explicitly.
6117
6118 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
6119
6120 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6121
6122 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
6123 macros
6124 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
6125 F_SETLK64, F_SETLKW64, respectively.
6126 * sysdeps/mach/hurd/f_setlk.c: New file.
6127 * sysdeps/mach/hurd/f_setlk.h: New file.
6128 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
6129 f_setlk.
6130 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
6131 (__libc_fcntl): Move non-flock operations to...
6132 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
6133 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
6134
6135 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
6136
6137 mktime: DEBUG_MKTIME cleanup
6138 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
6139 And it’s no longer needed now that glibc and Gnulib both have
6140 their own testing mechanisms for mktime.
6141 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
6142
6143 mktime: fix non-EOVERFLOW errno handling
6144 [BZ#23789]
6145 mktime was not properly reporting failures when the underlying
6146 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
6147 them like EOVERFLOW failures, and set errno to EOVERFLOW.
6148 The problem could happen on non-glibc platforms, with Gnulib.
6149 * time/mktime.c (guess_time_tm): Remove, replacing with ...
6150 (tm_diff): ... this simpler function, which does not change errno.
6151 All callers changed to deal with errno themselves.
6152 (ranged_convert, __mktime_internal): Return failure immediately if
6153 the underlying function reports any failure other than EOVERFLOW.
6154 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
6155 gap code fails.
6156
6157 mktime: fix bug with Y2038 DST transition
6158 [BZ#23789]
6159 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
6160 mishandle a DST transition that jumps over the Y2038 boundary.
6161 No such DST transitions are known so this is only a theoretical
6162 bug, but we might as well do things right.
6163
6164 mktime: make more room for overflow
6165 [BZ#23789]
6166 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
6167 This is so that we can add tm_diff results to a previous guess,
6168 which will be useful in a later patch.
6169
6170 mktime: simplify offset guess
6171 [BZ#23789]
6172 * time/mktime.c (__mktime_internal): Omit excess precision.
6173
6174 mktime: new test for mktime failure
6175 [BZ#23789]
6176 Based on a test suggested by Albert Aribaud in:
6177 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6178 * time/Makefile (tests): Add bug-mktime4.
6179 * time/bug-mktime4.c: New file.
6180
6181 mktime: fix EOVERFLOW bug
6182 [BZ#23789]
6183 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6184 Include libc-config.h, not config.h, for __set_errno.
6185 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6186
6187 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6188
6189 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6190 __attribute_copy__ to copy attributes from name. Drop static qualifier
6191 to avoid warnings about leaf attribute not having effect on static
6192 functions.
6193
6194 2018-11-13 Florian Weimer <fweimer@redhat.com>
6195
6196 * malloc/malloc.c (fastbin_push_entry): New function.
6197 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6198 (REMOVE_FB): Remove macro.
6199 (_int_malloc): Use fastbin_pop_entry and reindent.
6200 (_int_free): Use fastbin_push_entry.
6201 (malloc_consolidate): Use atomic_exchange_acquire.
6202
6203 2018-11-13 Joseph Myers <joseph@codesourcery.com>
6204
6205 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6206 alias attribute, not with strong_alias.
6207
6208 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6209 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6210 with additional parameter thread.
6211 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6212 in terms of __hidden_ver2.
6213 (hidden_tls_def): New macro.
6214 (libc_hidden_tls_def): Likewise.
6215 (rtld_hidden_tls_def): Likewise.
6216 (libm_hidden_tls_def): Likewise.
6217 (libmvec_hidden_tls_def): Likewise.
6218 (libresolv_hidden_tls_def): Likewise.
6219 (librt_hidden_tls_def): Likewise.
6220 (libdl_hidden_tls_def): Likewise.
6221 (libnss_files_hidden_tls_def): Likewise.
6222 (libnsl_hidden_tls_def): Likewise.
6223 (libnss_nisplus_hidden_tls_def): Likewise.
6224 (libutil_hidden_tls_def): Likewise.
6225 (libutil_hidden_tls_def): Likweise.
6226 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6227 libc_hidden_tls_def.
6228 (__sim_disabled_exceptions_thread): Likewise.
6229 (__sim_round_mode_thread): Likewise.
6230
6231 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6232 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6233 copy attributes from name.
6234
6235 2018-11-12 Joseph Myers <joseph@codesourcery.com>
6236
6237 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6238 Use __attribute_copy__ to copy attributes from name.
6239
6240 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6241 with __hidden_ver1 call.
6242 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6243 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6244 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6245 (__cosf): Do not declare here.
6246 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6247 (__sincosf): Do not declare here.
6248 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6249 (__sinf): Do not declare here.
6250
6251 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6252 (__BIG_ENDIAN): Likewise.
6253 (__BYTE_ORDER): Likewise.
6254 (strong_alias): Likewise.
6255 (_strong_alias): Likewise.
6256
6257 2018-11-12 Florian Weimer <fweimer@redhat.com>
6258
6259 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6260 function. Move after the definition of in_smallbin_range. Do not
6261 use __builtin_expect for paths that lead to a noreturn function.
6262 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6263 because it is unclear whether this is in fact an unlikely
6264 condition.
6265 (_int_malloc, _int_free): Adjust.
6266 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6267 variables.
6268 * malloc/arena.c (heap_trim): Likewise.
6269
6270 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6271
6272 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6273 it, free it if needed.
6274 (reauthenticate): Test and use ccwdir.
6275 (child_init_port): In non-resetids case, test and use ccwdir.
6276 (child_chdir): New nested function to set ccwdir.
6277 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6278 * hurd/hurd/port.h (_hurd_port_move): New function.
6279 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6280 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
6281 * hurd/Versions (_hurd_port_move): Export function.
6282 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6283 symbol.
6284 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6285 of dtablesize for allocating dtable_cloexec.
6286
6287 2018-11-09 Martin Sebor <msebor@redhat.com>
6288
6289 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6290 it's already defined.
6291 (_strong_alias): Use __attribute_copy__.
6292 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6293 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6294 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6295 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6296 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6297 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6298 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6299 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6300 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6301 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6302 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6303 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6304 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6305 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6306 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6307 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6308 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6309 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6310 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6311
6312 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6313
6314 * misc/tst-efgcvt.c: Include support/check.h and
6315 support/test-driver.c. Do not include test-skeleton.c.
6316 (error_count): Remove.
6317 (output_error): Replace increments to error_count with calls to
6318 support_record_failure.
6319 (output_r_error): Likewise.
6320 (special): Likewise.
6321 (do_test): Unconditionally return zero.
6322 (TEST_FUNCTION): Remove.
6323
6324 2018-11-09 Joseph Myers <joseph@codesourcery.com>
6325
6326 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6327 not $(@D)/scratch.
6328 ($(linknamespace-header-tests)): Likewise.
6329
6330 * conform/conformtest.py: New file.
6331 * conform/conformtest.pl: Remove.
6332 * conform/GlibcConform.pm: Likewise.
6333 * conform/glibcconform.py (KEYWORDS_C90): New constant.
6334 (KEYWORDS_C99): Likewise.
6335 (KEYWORDS): Likewise.
6336 * conform/Makefile ($(conformtest-header-tests)): Use
6337 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
6338 option. Use --header instead of --headers.
6339 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
6340 function entries.
6341 * conform/data/spawn.h-data: Likewise.
6342 * conform/data/fcntl.h-data (openat): Add space after function
6343 name.
6344 * conform/data/wchar.h-data (wcscasecmp): Likewise.
6345 (wcscasecmp_l): Likewise.
6346 * conform/data/termios.h-data (c_cc): Add space after element
6347 name.
6348
6349 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6350
6351 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
6352 instead of manually comparing and reporting mismatching strings.
6353 * misc/tst-ldbl-error.c (do_one_test): Likewise.
6354 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6355
6356 2018-11-08 Joseph Myers <joseph@codesourcery.com>
6357
6358 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
6359 __ASSUME_SOCKETCALL.
6360 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6361 (__ASSUME_SOCKETCALL): Remove.
6362 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6363 (__ASSUME_SOCKETCALL): Likewise.
6364 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6365 (__ASSUME_SOCKETCALL): Likewise.
6366 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6367 (__ASSUME_SOCKETCALL): Likewise.
6368 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6369 (__ASSUME_SOCKETCALL): Likewise.
6370 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6371 (__ASSUME_SOCKETCALL): Likewise.
6372 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6373 (__ASSUME_SOCKETCALL): Likewise.
6374
6375 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
6376
6377 [BZ #23509]
6378 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
6379 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
6380 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
6381 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
6382 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
6383 lc_unknown.
6384
6385 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
6386
6387 [BZ #17630]
6388 * resolv/tst-resolv-network.c: Add test for getnetbyname.
6389
6390 2018-11-07 Joseph Myers <joseph@codesourcery.com>
6391
6392 [BZ #23867]
6393 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6394 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6395 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6396 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6397
6398 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6399
6400 * support/support_test_compare_string.c
6401 (support_test_compare_string): Fix printf format.
6402
6403 2018-11-07 Florian Weimer <fweimer@redhat.com>
6404
6405 Implement TEST_COMPARE_STRING.
6406 * support/check.h (TEST_COMPARE_STRING): Define.
6407 (support_test_compare_string): Declare.
6408 * support/Makefile (libsupport-routines): Add
6409 support_test_compare_string.
6410 (tests): Add tst-test_compare_string.
6411 * support/support_test_compare_string.c: New file.
6412 * support/tst-test_compare_string.c: Likewise.
6413
6414 2018-11-07 Andreas Schwab <schwab@suse.de>
6415
6416 [BZ #23864]
6417 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
6418 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
6419 Undef.
6420
6421 2018-11-06 Joseph Myers <joseph@codesourcery.com>
6422
6423 [BZ #23862]
6424 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6425 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
6426 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
6427 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
6428 Likewise.
6429
6430 2018-11-06 Florian Weimer <fweimer@redhat.com>
6431
6432 [BZ #17405]
6433 * posix/Makefile (routines): Add spawn_faction_addchdir.
6434 (tests): Add tst-spawn-chdir.
6435 * posix/Versions (GLIBC_2.29): Add
6436 posix_spawn_file_actions_addchdir_np.
6437 * posix/spawn_faction_addchdir.c: New file.
6438 * posix/spawn_faction_destroy.c
6439 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
6440 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
6441 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
6442 chdir_action.
6443 * posix/tst-spawn-chdir.c: New file.
6444 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
6445 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6446 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6447 posix_spawn_file_actions_addchdir_np.
6448 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6449 Likewise.
6450 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6451 Likewise.
6452 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6453 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6454 Likewise.
6455 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6456 Likewise.
6457 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6458 Likewise.
6459 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6460 Likewise.
6461 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6462 Likewise.
6463 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6464 Likewise.
6465 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6466 (GLIBC_2.29): Likewise.
6467 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6468 (GLIBC_2.29): Likewise.
6469 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6470 (GLIBC_2.29): Likewise.
6471 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6472 (GLIBC_2.29): Likewise.
6473 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6474 Likewise.
6475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6476 (GLIBC_2.29): Likewise.
6477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6478 (GLIBC_2.29): Likewise.
6479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6480 (GLIBC_2.29): Likewise.
6481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6482 (GLIBC_2.29): Likewise.
6483 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6484 Likewise.
6485 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6486 Likewise.
6487 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6488 Likewise.
6489 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6490 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6491 Likewise.
6492 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6493 Likewise.
6494 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6495 Likewise.
6496 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6497 Likewise.
6498
6499 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6500
6501 * misc/Makefile (tests): Add tst-ldbl-error.
6502 * misc/tst-ldbl-error.c: New file.
6503
6504 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6505
6506 * misc/Makefile (tests): Add tst-ldbl-warn.
6507 * misc/tst-ldbl-warn.c: New file.
6508
6509 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6510
6511 * argp/Makefile (tests): Add tst-ldbl-argp.
6512 * argp/tst-ldbl-argp.c: New file.
6513
6514 2018-11-05 Arjun Shankar <arjun@redhat.com>
6515
6516 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
6517 __gconv_path_elem and call __gconv_get_path unconditionally.
6518
6519 2018-11-05 Andreas Schwab <schwab@suse.de>
6520
6521 [BZ #22927]
6522 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
6523 creating the first helper thread failed.
6524
6525 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6526
6527 * sysdeps/mach/hurd/msync.c: New file.
6528
6529 2018-11-02 Florian Weimer <fweimer@redhat.com>
6530
6531 * support/shell-container.c (copy_func): Call
6532 support_copy_file_range instead of copy_file_range to support
6533 cross-device copies.
6534
6535 2018-11-02 Florian Weimer <fweimer@redhat.com>
6536
6537 * support/test-container.c: Include <libc-pointer-arith.h> for
6538 ALIGN_UP.
6539
6540 2018-11-01 Zong Li <zong@andestech.com>
6541
6542 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
6543 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
6544 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
6545 (__FP_FRAC_SET_8): Add implementation for RV32 use.
6546
6547 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
6548 variable to avoid overlap arguments.
6549
6550 2018-11-01 Joseph Myers <joseph@codesourcery.com>
6551
6552 * posix/bug-regex22.c (main): Use puts with distinct error
6553 messages for unexpected success of re_compile_pattern, not printf
6554 with NULL argument to %s.
6555
6556 * stdio-common/bug22.c: Include <libc-diag.h>.
6557 (do_test): Disable -Wformat-overflow= warnings around fprintf
6558 calls outputting more than INT_MAX characters.
6559 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
6560 around printf call with NULL %s argument.
6561
6562 [BZ #23848]
6563 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
6564 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
6565 Undefine.
6566 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6567 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6568 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6569 (__ASSUME_SENDTO_SYSCALL): Likewise.
6570 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6571 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
6572 [!__arch64__].
6573 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6574 (__ASSUME_CONNECT_SYSCALL): Likewise.
6575 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
6576 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6577 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
6578 Define.
6579 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
6580 Likewise.
6581 [__LINUX_KERNEL_VERSION >= 0x040400]
6582 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6583 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
6584 Remove.
6585 (listen): Likewise.
6586 (setsockopt): Likewise.
6587
6588 2018-11-01 Fredrik Noring <noring@nocrew.org>
6589
6590 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
6591 with the ISA override.
6592
6593 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
6594
6595 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
6596 #endif.
6597
6598 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6599
6600 * manual/errno.texi (EIEIO): Document how translators should
6601 translate the error message.
6602 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
6603 printing trailing whitespaces refused by git.
6604 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
6605 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6606 * hurd/Makefile (user-interfaces): Add pci.
6607
6608 2018-10-30 Joseph Myers <joseph@codesourcery.com>
6609
6610 * conform/linknamespace.py: New file.
6611 * conform/linknamespace.pl: Remove file.
6612 * conform/Makefile ($(linknamespace-header-tests)): Use
6613 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
6614 option.
6615
6616 2018-10-30 Florian Weimer <fweimer@redhat.com>
6617
6618 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
6619 memory leaks.
6620
6621 2018-10-30 Florian Weimer <fweimer@redhat.com>
6622
6623 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
6624
6625 2018-10-30 Florian Weimer <fweimer@redhat.com>
6626
6627 * stdlib/tst-strtod-overflow.c (do_test): Switch to
6628 support_blob_repeat.
6629
6630 2018-10-30 Florian Weimer <fweimer@redhat.com>
6631
6632 Avoid spurious test failures in stdlib/test-bz22786.
6633 * support/Makefile (libsupport-routines): Add blob_repeat.
6634 (tests): Add tst-support_blob_repeat.
6635 * support/blob_repeat.h: New file.
6636 * support/blob_repeat.c: Likewise.
6637 * support/tst-support_blob_repeat.c: Likewise.
6638 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
6639 support_blob_repeat_allocate.
6640
6641 2018-10-30 Andreas Schwab <schwab@suse.de>
6642
6643 [BZ #23125]
6644 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
6645 Don't use tail call.
6646 * elf/tst-unwind-main.c: New file.
6647 * elf/Makefile (tests): Add tst-unwind-main.
6648 (CFLAGS-tst-unwind-main.c): Define.
6649
6650 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
6651
6652 [BZ #23791]
6653 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
6654 n_cs_precedes to 0.
6655 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
6656
6657 2018-10-29 Joseph Myers <joseph@codesourcery.com>
6658
6659 * conform/glibcconform.py: Do not import shutil.
6660 (list_exported_functions): Use tempfile.TemporaryDirectory instead
6661 of mkdtemp.
6662
6663 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
6664 critic_missing for versions before 3.4.
6665 * configure: Regenerated.
6666 * manual/install.texi (Tools for Compilation): Document
6667 requirement for Python to build glibc.
6668 * INSTALL: Regenerated.
6669 * Rules [PYTHON]: Make code unconditional.
6670 * benchtests/Makefile [PYTHON]: Likewise.
6671 * conform/Makefile [PYTHON]: Likewise.
6672 * manual/Makefile [PYTHON]: Likewise.
6673 * math/Makefile [PYTHON]: Likewise.
6674
6675 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6676
6677 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
6678 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
6679 answer to interrupt_operation, return EIEIO instead of EINTR.
6680 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
6681 _hurd_intr_rpc_msg_about_to global point to start of controlled
6682 assembly snippet. Make it check canceled flag.
6683 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
6684 the _hurd_intr_rpc_msg_about_to point.
6685 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
6686 issue, remove cancel flag check.
6687
6688 2018-10-26 Joseph Myers <joseph@codesourcery.com>
6689
6690 * scripts/build-many-glibcs.py: Remove compatibility for missing
6691 os.cpu_count and re.fullmatch.
6692
6693 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
6694
6695 [BZ #23822]
6696 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
6697 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
6698 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
6699
6700 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6701
6702 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
6703 macro.
6704
6705 2018-10-25 Florian Weimer <fweimer@redhat.com>
6706
6707 [BZ #23562]
6708 [BZ #23821]
6709 XFAIL siginfo_t si_band conform test on sparc64.
6710 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
6711 (__SI_BAND_TYPE): Only override long int default type on sparc64.
6712 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6713 (conformtest-xfail-conds): Add sparc64-linux.
6714 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
6715 sparc64.
6716 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
6717
6718 2018-10-25 Joseph Myers <joseph@codesourcery.com>
6719
6720 * elf/elf.h (NT_MIPS_DSP): New macro.
6721 (NT_MIPS_FP_MODE): Likewise.
6722
6723 2018-10-25 Zong Li <zong@andestech.com>
6724
6725 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
6726 name by adding the file extension (.so).
6727
6728 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6729
6730 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
6731 (test-xfail-ISO11/threads.h/linknamespace,
6732 test-xfail-ISO11/threads.h/conform): Add.
6733
6734 2018-10-24 Joseph Myers <joseph@codesourcery.com>
6735
6736 * math/gen-libm-test.py: Import os.
6737 (ALL_FLOATS_MANUAL): New constant.
6738 (ALL_FLOATS_SUFFIX): Likewise.
6739 (Ulps.all_functions): New function.
6740 (real_all_ulps): Likewise.
6741 (generate_err_table_sub): Likewise.
6742 (generate_err_table): Likewise.
6743 (main): Handle -s and -m options.
6744 * manual/libm-err-tab.pl: Remove.
6745 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
6746 instead of libm-err-tab.pl.
6747 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
6748 != no].
6749 * manual/install.texi (Tools for Compilation): Document
6750 requirement for Python to build manual.
6751 * INSTALL: Regenerated.
6752
6753 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6754
6755 * bits/time64.h: New file.
6756 * include/time.h: Replace internal_time_t with __time64_t.
6757 * posix/bits/types (__time64_t): Add.
6758 * stdlib/Makefile: Add bits/time64.h to includes.
6759 * time/tzfile.c: Replace internal_time_t with __time64_t.
6760
6761 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6762
6763 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
6764 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
6765 __posix_spawn_file_actions_init, __posix_spawnattr_init,
6766 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
6767 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
6768 prototype.
6769 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
6770 * posix/spawn_faction_addclose.c
6771 (__posix_spawn_file_actions_addclose): Add hidden definition.
6772 * posix/spawn_faction_adddup2.c
6773 (__posix_spawn_file_actions_adddup2): Likewise.
6774 * posix/spawn_faction_destroy.c
6775 (__posix_spawn_file_actions_destroy): Likewise.
6776 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
6777 Likewise.
6778 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
6779 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
6780 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
6781 Likewise.
6782 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
6783 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
6784 Likewise.
6785
6786 2018-10-24 Andreas Schwab <schwab@suse.de>
6787
6788 [BZ #18093]
6789 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
6790 format cache.
6791 * elf/cache.c (print_cache): Likewise.
6792
6793 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
6794
6795 * bits/timesize.h: New file.
6796 * stdlib/Makefile (headers): Add bits/timesize.h.
6797 * sysdeps/unix/sysv/linux/bits/msq-pad.h
6798 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
6799 * sysdeps/unix/sysv/linux/bits/sem-pad.h
6800 (__SEM_PAD_AFTER_TIME): Likewise.
6801 * sysdeps/unix/sysv/linux/bits/shm-pad.h
6802 (__SHM_PAD_AFTER_TIME): Likewise.
6803 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
6804 (__MSQ_PAD_BEFORE_TIME): Likewise.
6805 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
6806 (__SEM_PAD_BEFORE_TIME): Likewise.
6807 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
6808 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6809 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
6810 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
6811 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
6812 (__MSQ_PAD_BEFORE_TIME): Likewise.
6813 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
6814 (__SEM_PAD_BEFORE_TIME): Likewise.
6815 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
6816 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
6817 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
6818 (__MSQ_PAD_BEFORE_TIME): Likewise.
6819 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
6820 (__SEM_PAD_BEFORE_TIME): Likewise.
6821 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
6822 (__SHM_PAD_BEFORE_TIME): Likewise.
6823 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
6824 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6825 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
6826
6827 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
6828
6829 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
6830 USE_RDTSCP is defined.
6831 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
6832 USE_RDTSCP is defined.
6833
6834 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6835
6836 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
6837 defined.
6838
6839 [BZ #23709]
6840 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
6841 independently of other flags.
6842
6843 2018-10-23 Florian Weimer <fweimer@redhat.com>
6844
6845 * time/tst-mktime2.c (N_STRINGS): Remove.
6846 (set_timezone): New function.
6847 (spring_forward_gap): Call it. Use FAIL_EXIT1.
6848 (mktime_test1): Report localtime failure and check errno value.
6849 Use TEST_COMPARE.
6850 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
6851 (do_test): Remove alarm call. Use set_timezone and array_length.
6852
6853 2018-10-23 Andreas Schwab <schwab@suse.de>
6854
6855 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
6856 (__start_context): Use END instead of PSEUDO_END.
6857
6858 2018-10-22 Joseph Myers <joseph@codesourcery.com>
6859
6860 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6861 version to 4.19.
6862
6863 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6864 version to 4.19.
6865
6866 [BZ #23793]
6867 * wcsmbs/c32rtomb.c: New file.
6868 * wcsmbs/mbrtoc32.c: Likewise.
6869 * wcsmbs/tst-c32-state.c: Likewise.
6870 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
6871 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
6872 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
6873 (tests): Add tst-c32-state.
6874 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
6875 $(gen-locales).
6876
6877 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
6878
6879 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
6880 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
6881
6882 2018-10-19 Joseph Myers <joseph@codesourcery.com>
6883
6884 [BZ #23794]
6885 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
6886 pair and return 0 in that case, and use saved character to
6887 interpret following character.
6888 * wcsmbs/tst-c16-surrogate.c: New file.
6889 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
6890 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
6891 Depend on $(gen-locales)
6892
6893 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
6894
6895 [BZ #23562]
6896 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
6897 (struct siginfo_t): Use correct type for si_band.
6898
6899 2018-10-19 Florian Weimer <fweimer@redhat.com>
6900
6901 [BZ #23689]
6902 * resource/bits/types/struct_rusage.h (struct rusage): Update
6903 comment on struct. Remove extraneous field comment.
6904
6905 2018-10-18 David S. Miller <davem@davemloft.net>
6906
6907 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
6908 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
6909 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
6910 sysdep_routines in subdir elf.
6911 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
6912 version for __vdso_clock_gettime.
6913 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
6914 Define.
6915 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6916 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6917
6918 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6919
6920 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
6921
6922 * sysdeps/i386/init-arch.h: Removed.
6923 * sysdeps/i386/i586/init-arch.h: Likewise.
6924 * sysdeps/i386/i686/init-arch.h: Likewise.
6925 * sysdeps/i386/i686/hp-timing.h: Likewise.
6926 * sysdeps/x86_64/hp-timing.h: Likewise.
6927 * sysdeps/i386/isa.h: New file.
6928 * sysdeps/i386/i586/isa.h: Likewise.
6929 * sysdeps/i386/i686/isa.h: Likewise.
6930 * sysdeps/x86_64/isa.h: Likewise.
6931 * sysdeps/x86/hp-timing.h: New file.
6932 * sysdeps/x86/init-arch.h: Include <isa.h>.
6933
6934 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6935
6936 * math/libm-test-pow.inc (pow_test_data): Do not allow
6937 divide-by-zero exception for pow(+/- 0, -Inf).
6938
6939 2018-10-17 Zack Weinberg <zackw@panix.com>
6940
6941 * manual/job.texi (Job Control is Optional): Remove node, as
6942 job control has not been optional in quite some time.
6943 (Job Control): Mention briefly that systems older than
6944 POSIX.1-2001 might not support job control.
6945 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
6946 defined on systems conforming to POSIX.1-2001.
6947
6948 2018-10-17 Arjun Shankar <arjun@redhat.com>
6949
6950 [BZ #22062]
6951 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
6952 indentation.
6953 * (__gconv_read_conf): Mark function static.
6954 * (once): New static variable.
6955 * (__gconv_load_conf): New function.
6956 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
6957 * iconv/gconv_db.c (once): Remove static variable.
6958 * (__gconv_compare_alias): Use __gconv_load_conf instead of
6959 __gconv_read_conf.
6960 * (__gconv_find_transform): Likewise.
6961 * iconv/tst-iconv-mt.c: New test.
6962 * iconv/Makefile: Add tst-iconv_mt.
6963
6964 2018-10-17 Joseph Myers <joseph@codesourcery.com>
6965
6966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6967 bits/shm-pad.h.
6968 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
6969 (shmatt_t): Define as __syscall_ulong_t.
6970 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
6971 and [__SHM_PAD_AFTER_TIME].
6972 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
6973 Define shm_segsz and associated padding based on
6974 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
6975 Use __syscall_ulong_t instead of unsigned long int.
6976 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
6977 unsigned long int.
6978 [__USE_MISC] (struct shm_info): Likewise.
6979 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
6980 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
6981 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
6982 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
6983 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
6984 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
6985 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
6986 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
6987 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6988 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6989 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6990
6991 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6992 bits/shmlba.h.
6993 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
6994 (SHMLBA): Remove macro.
6995 (__getpagesize): Remove function declaration.
6996 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
6997 <bits/shmlba.h>.
6998 (SHMLBA): Remove macro.
6999 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7000 <bits/shmlba.h>.
7001 (SHMLBA): Remove macro.
7002 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7003 <bits/shmlba.h>.
7004 (SHMLBA): Remove macro.
7005 (__getpagesize): Remove function declaration.
7006 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7007 <bits/shmlba.h>.
7008 (SHMLBA): Remove macro.
7009 (__getshmlba): Remove function declaration.
7010 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7011 (SHMLBA): Remove macro.
7012 (__getpagesize): Remove function declaration.
7013 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7014 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7015 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7016 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7017 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7018 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7019 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7020 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7021 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7022 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7023
7024 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
7025
7026 [BZ #23275]
7027 * nptl/tst-mutex10.c: New File.
7028 * nptl/Makefile (tests): Add tst-mutex10.
7029 (tst-mutex10-ENV): New variable.
7030 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7031 Ensure that elision path is used if elision is available.
7032 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7033 Likewise.
7034 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7035 Likewise.
7036 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7037 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7038 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7039 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7040 Likewise.
7041 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7042 (__pthread_mutex_cond_lock_adjust): Likewise.
7043 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7044 Likewise.
7045 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7046 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7047 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7048 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7049 Add comments.
7050 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7051 Use atomic_load_relaxed and atomic_store_relaxed.
7052 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7053 Use atomic_store_relaxed.
7054
7055 2018-10-17 Andreas Schwab <schwab@suse.de>
7056
7057 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7058 * crypt/badsalttest.c (TIMEOUT): Likewise.
7059 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7060 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7061 * io/test-lfs.c (TIMEOUT): Likewise.
7062 * libio/tst-atime.c (TIMEOUT): Likewise.
7063 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7064 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7065 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7066 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7067 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7068 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7069 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7070 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7071 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7072 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7073 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7074 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7075 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7076 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7077 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7078 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7079 * nptl/tst-once2.c (TIMEOUT): Likewise.
7080 * nptl/tst-once3.c (TIMEOUT): Likewise.
7081 * nptl/tst-once4.c (TIMEOUT): Likewise.
7082 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7083 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7084 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7085 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7086 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7087 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7088 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7089 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7090 * nptl/tst-tls4.c (TIMEOUT): Likewise.
7091 * posix/tst-chmod.c (TIMEOUT): Likewise.
7092 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
7093 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
7094 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
7095 * posix/tst-regex2.c (TIMEOUT): Likewise.
7096 * posix/tst-waitid.c (TIMEOUT): Likewise.
7097 * rt/tst-aio.c (TIMEOUT): Likewise.
7098 * rt/tst-aio10.c (TIMEOUT): Likewise.
7099 * rt/tst-aio4.c (TIMEOUT): Likewise.
7100 * rt/tst-aio5.c (TIMEOUT): Likewise.
7101 * rt/tst-aio6.c (TIMEOUT): Likewise.
7102 * rt/tst-aio64.c (TIMEOUT): Likewise.
7103 * rt/tst-aio7.c (TIMEOUT): Likewise.
7104 * rt/tst-aio9.c (TIMEOUT): Likewise.
7105 * rt/tst-clock.c (TIMEOUT): Likewise.
7106 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
7107 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
7108 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
7109 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
7110 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
7111 * rt/tst-timer4.c (TIMEOUT): Likewise.
7112 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
7113 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
7114 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
7115 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
7116 * time/tst-ftime.c (TIMEOUT): Likewise.
7117 * timezone/tst-tzset.c (TIMEOUT): Likewise.
7118
7119 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
7120
7121 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
7122 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
7123 for thunderX2.
7124
7125 2018-10-15 Joseph Myers <joseph@codesourcery.com>
7126
7127 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7128 bits/sem-pad.h.
7129 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
7130 instead of <bits/wordsize.h>.
7131 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
7132 and [__SEM_PAD_AFTER_TIME].
7133 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
7134 __syscall_ulong_t instead of unsigned long int.
7135 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
7136 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
7137 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
7138 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
7139 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
7140 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
7141 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
7142 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
7143 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7144 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7145 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7146
7147 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
7148
7149 regex: simplify by using intprops.h
7150 [BZ#23744]
7151 * posix/regex_internal.h [_LIBC]: Include intprops.h.
7152 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
7153 intprops.h defines them.
7154
7155 regex: __builtin_expect → __glibc_unlikely
7156 [BZ#23744]
7157 This refactoring was prompted by a problem when the regex code is
7158 used as part of Gnulib and when the builder’s compiler does not grok
7159 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
7160 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
7161 Although this refactoring does not fix the problem directly,
7162 we might as well have Gawk use the now-preferred glibc style for when
7163 __builtin_expect is unavailable.
7164 * posix/regex_internal.h (BE): Remove.
7165 All uses replaced by __glibc_unlikely or __glibc_likely.
7166
7167 2018-10-11 Joseph Myers <joseph@codesourcery.com>
7168
7169 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7170 bits/msq-pad.h.
7171 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
7172 instead of <bits/wordsize.h>.
7173 (msgqnum_t): Define as __syscall_ulong_t.
7174 (msglen_t): Likewise.
7175 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7176 and [__MSQ_PAD_AFTER_TIME].
7177 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7178 __syscall_ulong_t instead of unsigned long int.
7179 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7180 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7181 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7182 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7183 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7184 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7185 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7186 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7187 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7188 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7189 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7190
7191 2018-10-10 Joseph Myers <joseph@codesourcery.com>
7192
7193 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7194 (struct shmid_ds): Condition padding after time fields on
7195 [__WORDSIZE == 32].
7196 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7197 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7198 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7199
7200 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7201 (struct semid_ds): Condition padding after time fields on
7202 [__WORDSIZE == 32].
7203 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7204 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7205 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7206 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7207
7208 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7209 (struct msqid_ds): Condition padding after time fields on
7210 [__WORDSIZE == 32].
7211 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7212 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7213 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7214 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7215
7216 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7217
7218 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7219
7220 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7221
7222 * libio/tst-readline.c (TIMEOUT): Define.
7223
7224 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7225
7226 mktime fix for Gnulib + coreutils
7227 [BZ#23745]
7228 This fix affects only Gnulib. Problem discovered when
7229 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7230 * time/mktime.c:
7231 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7232 Do not define since it is not used. Defining an unused static
7233 function prompts a warning from GCC when Coreutils is configured
7234 with --enable-gcc-warnings.
7235
7236 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7237
7238 * benchtests/scripts/compare_bench.py (main): set float type on
7239 threshold argument.
7240
7241 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7242
7243 [BZ #23740]
7244 * localedata/locales/kl_GL (mon): Update, the relative case.
7245 (alt_mon): Add, fill with month names in the nominative case.
7246 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7247 (d_fmt): Set to "%b %d %Y".
7248
7249 2018-10-04 Joseph Myers <joseph@codesourcery.com>
7250
7251 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7252 <bits/mman-linux.h>.
7253 (PROT_READ): Don't define here.
7254 (PROT_WRITE): Likewise.
7255 (PROT_EXEC): Likewise.
7256 (PROT_NONE): Likewise.
7257 (PROT_GROWSDOWN): Likewise.
7258 (PROT_GROWSUP): Likewise.
7259 (MAP_SHARED): Likewise.
7260 (MAP_PRIVATE): Likewise.
7261 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7262 [__USE_MISC] (MAP_FILE): Likewise.
7263 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7264 [__USE_MISC] (MAP_ANON): Likewise.
7265 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7266 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7267 (MCL_CURRENT): Likewise.
7268 (MCL_FUTURE): Likewise.
7269 (MCL_ONFAULT): Likewise.
7270 [__USE_MISC] (MADV_NORMAL): Likewise.
7271 [__USE_MISC] (MADV_RANDOM): Likewise.
7272 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7273 [__USE_MISC] (MADV_WILLNEED): Likewise.
7274 [__USE_MISC] (MADV_DONTNEED): Likewise.
7275 [__USE_MISC] (MADV_FREE): Likewise.
7276 [__USE_MISC] (MADV_REMOVE): Likewise.
7277 [__USE_MISC] (MADV_DONTFORK): Likewise.
7278 [__USE_MISC] (MADV_DOFORK): Likewise.
7279 [__USE_MISC] (MADV_HWPOISON): Likewise.
7280 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7281 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7282 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7283 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7284 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7285 (__MAP_ANONYMOUS): New macro.
7286 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7287 <bits/mman-linux.h> inclusion.
7288 (MAP_FIXED): Likewise.
7289 (MS_SYNC): Likewise.
7290 (MS_ASYNC): Likewise.
7291 (MS_INVALIDATE): Likewise.
7292 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7293 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7294 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7295 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7296 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7297 [__USE_MISC] (MADV_DODUMP): Likewise.
7298 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7299 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7300
7301 [BZ #23735]
7302 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7303 Define.
7304 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7305 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7306 Add test-nldbl-redirect.
7307 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7308 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7309 $(objpfx)libnldbl_nonshared.a.
7310
7311 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
7312
7313 * support/support.h (support_objdir_elf_ldso): New variable.
7314 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
7315 * support/Makefile (CFLAGS-support_paths.c): Add definition
7316 for OBJDIR_ELF_LDSO_PATH.
7317 * support/test-container.c (main): Search for the ld.so
7318 which is also used by the testsuite.
7319
7320 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
7321
7322 [BZ #20209]
7323 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
7324 should be "sap" rather than "sab".
7325 (day): Fix spelling of Sunday, should be "sapaat" rather than
7326 "sabaat".
7327
7328 2018-10-02 Joseph Myers <joseph@codesourcery.com>
7329
7330 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7331
7332 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
7333
7334 [BZ #19444]
7335 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
7336 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
7337 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
7338
7339 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7340
7341 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
7342
7343 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
7344
7345 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
7346 Add -mrtm.
7347 (CFLAGS-elision-unlock.c): Likewise.
7348 (CFLAGS-elision-timed.c): Likewise.
7349 (CFLAGS-elision-trylock.c): Likewise.
7350 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
7351
7352 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7353
7354 [BZ #21037]
7355 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
7356 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
7357 new fd_to_filename interface.
7358 * libio/freopen64.c (freopen64): Likewise.
7359 * libio/tst-memstream.h: New file.
7360 * libio/tst-memstream4.c: Likewise.
7361 * libio/tst-wmemstream4.c: Likewise.
7362 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
7363 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
7364 and remove internal dynamic allocation.
7365
7366 2018-10-01 Joseph Myers <joseph@codesourcery.com>
7367
7368 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7369 (MREMAP_MAYMOVE): Do not define here.
7370 [__USE_GNU] (MREMAP_FIXED): Likewise.
7371 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
7372 (MREMAP_MAYMOVE): Define here instead.
7373 [__USE_GNU] (MREMAP_FIXED): Likewise.
7374 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
7375 (MREMAP_MAYMOVE): Remove.
7376 [__USE_GNU] (MREMAP_FIXED): Likewise.
7377
7378 2018-09-28 Joseph Myers <joseph@codesourcery.com>
7379
7380 * math/fromfp.h: Do not include <math_private.h>.
7381 * math/s_cacosh_template.c: Likewise.
7382 * math/s_casin_template.c: Likewise.
7383 * math/s_casinh_template.c: Likewise.
7384 * math/s_ccos_template.c: Likewise.
7385 * math/s_cproj_template.c: Likewise.
7386 * math/s_fdim_template.c: Likewise.
7387 * math/s_fmaxmag_template.c: Likewise.
7388 * math/s_fminmag_template.c: Likewise.
7389 * math/s_iseqsig_template.c: Likewise.
7390 * math/s_ldexp_template.c: Likewise.
7391 * math/s_nextdown_template.c: Likewise.
7392 * math/w_log1p_template.c: Likewise.
7393 * math/w_scalbln_template.c: Likewise.
7394 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7395 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7396 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7397 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7398 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7399 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7400 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7401 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7402 * sysdeps/i386/fpu/s_atanl.c: Likewise.
7403 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7404 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7405 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7406 * sysdeps/i386/fpu/s_logbl.c: Likewise.
7407 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7408 * sysdeps/i386/fpu/s_significandl.c: Likewise.
7409 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
7410 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
7411 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7412 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7413 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7414 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7415 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7416 * sysdeps/ieee754/k_standardf.c: Likewise.
7417 * sysdeps/ieee754/k_standardl.c: Likewise.
7418 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7419 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7420 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
7421 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7422 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7423 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7424 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7425 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7426 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7427 * sysdeps/ieee754/s_signgam.c: Likewise.
7428 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7429 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
7430 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
7431 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7432 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7433 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7434 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7435 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7436 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7437 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7438 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7439 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7440 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7441 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7442 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7443 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7444 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7445 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7446 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7447 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7448 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7449 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7450 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7451 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7452 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7453 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7454 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7455 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7456 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7457 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7458 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7459 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7460 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7461 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7462 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7463 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7464 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
7465 <math_private.h>.
7466 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7467
7468 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
7469
7470 [BZ #23716]
7471 * sysdeps/i386/dl-cet.c: Removed.
7472 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
7473 prototype.
7474 (_dl_runtime_profile_shstk): Likewise.
7475 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
7476 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
7477
7478 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7479
7480 [BZ #23579]
7481 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
7482 do_test_with_invalid_iov): New tests.
7483 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
7484 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
7485 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
7486 errno is ENOSYS.
7487 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7488 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7489 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7490
7491 2018-09-27 Joseph Myers <joseph@codesourcery.com>
7492
7493 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7494 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
7495 (MATH_REDIRECT_BINARY_ARGS): New macro.
7496 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7497 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
7498 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
7499 header inclusion.
7500 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
7501 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7502 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
7503 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7504 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7505 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7506 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7508 Likewise.
7509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
7510 Likewise.
7511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
7513 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
7514 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
7515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
7516 Likewise.
7517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
7518 Likewise.
7519 * sysdeps/generic/math_private_calls.h
7520 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
7521 Do not declare and define as an inline function.
7522 * math/divtc3.c (__divtc3): Use copysign functions instead of
7523 __copysign variants.
7524 * math/multc3.c (__multc3): Likewise.
7525 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
7526 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
7527 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7528 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7529 Likewise.
7530 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7531 (__ieee754_yn): Likewise.
7532 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7533 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
7534 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7535 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7536 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
7537 (__sin): Likewise.
7538 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
7539 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7540 Likewise.
7541 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7542 Likewise.
7543 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7544 Likewise.
7545 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7546 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7547 Likewise.
7548 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7549 (__ieee754_ynf): Likewise.
7550 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7551 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7552 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
7553 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7554 Likewise.
7555 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7556 (__ieee754_ynl): Likewise.
7557 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7558 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7559 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7560 Likewise.
7561 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7562 (__ieee754_ynl): Likewise.
7563 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
7564 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7565 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7566 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7567 Likewise.
7568 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7569 (__ieee754_ynl)
7570 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
7571 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7572 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
7573 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
7574 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7575
7576 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7577 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
7578 using MATH_REDIRECT.
7579 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
7580 header inclusion.
7581 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
7582 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7583 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7584 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
7585 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7586 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7587 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
7589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
7590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
7591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
7592 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7593 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7594 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7595 (round): Redirect to __round.
7596 (__roundl): Call round instead of __round.
7597 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
7598 Remove macro.
7599 [_ARCH_PWR5X] (__roundf): Likewise.
7600 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
7601 functions instead of __round variants.
7602 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7603 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
7604 Likewise.
7605 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
7606 Likewise.
7607 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
7608 Likewise.
7609 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
7610 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
7611 __lroundl.
7612 (__ieee754_expl): Call roundl instead of __roundl.
7613
7614 2018-09-27 Andreas Schwab <schwab@suse.de>
7615
7616 [BZ #23717]
7617 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
7618 (do_test): Make st1 static.
7619
7620 2018-09-26 Andreas Schwab <schwab@suse.de>
7621
7622 [BZ #23707]
7623 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
7624 * elf/Makefile (tests): Add tst-unwind-ctor.
7625 (modules-names): Add tst-unwind-ctor-lib.
7626 ($(objpfx)tst-unwind-ctor): Depend on
7627 $(objpfx)tst-unwind-ctor-lib.so.
7628
7629 2018-09-26 Joseph Myers <joseph@codesourcery.com>
7630
7631 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
7632 file. Most contents moved from ....
7633 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
7634 and include <bits/mman-map-flags-generic.h>.
7635 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7636 (sysdep_headers): Add bits/mman-map-flags-generic.h.
7637 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
7638 <bits/mman-map-flags-generic.h>.
7639 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
7640 macros defined in <bits/mman-map-flags-generic.h>.
7641 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
7642 <bits/mman-map-flags-generic.h>.
7643 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
7644 defined in <bits/mman-map-flags-generic.h>.
7645
7646 2018-09-26 Andreas Schwab <schwab@suse.de>
7647
7648 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
7649 output.
7650
7651 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
7652 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7653 Fangrui Song <maskray@google.com>
7654
7655 [BZ #20480]
7656 * config.make.in (have-textrel_ifunc): New define.
7657 * configure.ac: Add check if linker supports textrel relocation with
7658 ifunc.
7659 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
7660 tst-ifunc-textrel.
7661 (CFLAGS-tst-ifunc-textrel.c): New rule.
7662 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
7663 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
7664 * elf/tst-ifunc-textrel.c: New file.
7665
7666 2018-09-25 Joseph Myers <joseph@codesourcery.com>
7667
7668 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7669 <bits/procfs-prregset.h>.
7670 (prgregset_t): Define using __prgregset_t.
7671 (prfpregset_t): Define using __prfpregset_t.
7672 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7673 (sysdep_headers): Add bits/procfs-prregset.h.
7674 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
7675 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
7676 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
7677 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
7678
7679 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
7680 <bits/procfs-id.h> and <bits/procfs-extra.h>.
7681 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
7682 pr_uid and pr_gid.
7683 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7684 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
7685 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
7686 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
7687 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
7688 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
7689 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
7690 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
7691 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
7692 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
7693 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
7694 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
7695 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
7696 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
7697 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
7698 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
7699 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
7700 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
7701 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
7702 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
7703 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
7704 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
7705 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7706 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
7707
7708 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
7709 AArch64 version. Include <bits/procfs.h>.
7710 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
7711 (sysdep_headers): Add bits/procfs.h.
7712 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
7713 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
7714 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
7715 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
7716 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
7717 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
7718 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
7719 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
7720 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
7721 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
7722 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
7723 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
7724 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
7725 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
7726 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
7727 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7728 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
7729
7730 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7731
7732 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
7733 Use libsupport.
7734
7735 2018-09-25 Arjun Shankar <arjun@redhat.com>
7736
7737 * iconv/gconv_int.h (__gconv_path_elem): Remove.
7738 (__gconv_max_path_elem_len): Likewise.
7739 (__gconv_nmodules): Likewise.
7740 (__gconv_get_path): Likewise.
7741 (path_elem): Move to ...
7742 * iconv/gconv_conf.c: ... here.
7743 (__gconv_get_path): Mark function static.
7744 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
7745 * iconv/gconv_open.c: ... here.
7746
7747 2018-09-24 Andreas Schwab <schwab@suse.de>
7748
7749 * scripts/haveversions.awk: New file.
7750 * Makerules ($(common-objpfx)Versions.def)
7751 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7752 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7753 Move rules ...
7754 * Makeconfig ($(common-objpfx)Versions.def)
7755 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
7756 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
7757 ... here.
7758 ($(common-objpfx)Versions.mk): New rule. Include it.
7759 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
7760 Emit error if build-obsolete-nsl = yes.
7761 * manual/install.texi (Configuring and compiling): Describe
7762 --enable-obsolete-nsl as unavaiable after version 2.28.
7763 * INSTALL: Regenerate.
7764
7765 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7766
7767 * NEWS: Add note about new TLE support on powerpc64le.
7768 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
7769 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
7770 __ununsed1.
7771 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
7772 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
7773 * sysdeps/powerpc/powerpc32/sysdep.h,
7774 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
7775 ABORT_TRANSACTION): Remove macros.
7776 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
7777 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
7778 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
7779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
7780 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7781 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
7782 usage.
7783 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
7784
7785 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
7786
7787 [BZ #10425]
7788 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
7789 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
7790 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
7791 which is the same as in it_IT.
7792 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
7793 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
7794
7795 2018-09-20 Joseph Myers <joseph@codesourcery.com>
7796
7797 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7798 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
7799 using MATH_REDIRECT.
7800 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
7801 header inclusion.
7802 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
7803 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7804 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
7805 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7806 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7807 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
7809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
7810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
7811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
7812 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7813 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7814 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7815 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7816 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
7817 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
7818 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
7819 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7820 (ceil): Redirect to __ceil.
7821 (floor): Redirect to __floor.
7822 (trunc): Redirect to __trunc.
7823 (__truncl): Call trunc instead of __trunc.
7824 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
7825 Remove macro.
7826 [_ARCH_PWR5X] (__truncf): Likewise.
7827 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
7828 trunc functions instead of __trunc variants.
7829 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7830 Likewise.
7831 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7832 Likewise.
7833 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7834 Likewise.
7835 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7836 Likewise.
7837
7838 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
7839 [__i586__ || __pentium__].
7840 [__i486__]: Handle explicitly.
7841 (HAS_CPUID): Define to 1 if above macros are undefined.
7842 (HAS_I586): Likewise.
7843 (HAS_I686): Likewise.
7844
7845 2018-09-20 Florian Weimer <fweimer@redhat.com>
7846
7847 * misc/tst-gethostid.c: New file.
7848 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
7849 (tst-gethostid): Link with -ldl.
7850
7851 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
7852
7853 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
7854 value from gethostbyname_r.
7855
7856 2018-09-19 Carlos O'Donell <carlos@redhat.com>
7857
7858 * stdlib/tst-setcontext9.c (f1): Rename to...
7859 (f1a): ... this.
7860 (f1b): New function implementing lower half of f1 in alternate stack.
7861
7862 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
7863
7864 Fix mktime localtime offset confusion
7865 [BZ #23603]
7866 * include/time.h (__mktime_internal): The localtime offset is now
7867 of type long int instead of time_t. This is the longstanding type
7868 in glibc, and it is more than enough to represent difference
7869 between localtime and gmtime even if it is 32 bits and time_t is
7870 64. Changing it now will let us avoid an unnecessary change when
7871 time_t is widened to 64 bits on 32-bit platforms.
7872 * time/mktime-internal.h (mktime_offset_t): Now long int.
7873
7874 Merge mktime, timegm from upstream Gnulib
7875 [BZ #23603][BZ #16346]
7876 This fixes some obscure problems with integer overflow.
7877 Although it looks scary, it is almost all a byte-for-byte copy
7878 from Gnulib, and the Gnulib code has been tested reasonably well.
7879 * include/intprops.h: New file, copied from Gnulib.
7880 * include/verify.h, time/mktime-internal.h:
7881 New tiny files, simplified from Gnulib.
7882 * time/mktime.c: Copy from Gnulib. This has the following changes:
7883 Do not include config.h if DEBUG_MKTIME is nonzero.
7884 Include stdbool.h, intprops.h, verify.h.
7885 Include string.h only if needed.
7886 Include stdlib.h on MS-Windows.
7887 Include mktime-internal.h.
7888 (DEBUG_MKTIME): Default to 0, and simplify later uses.
7889 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
7890 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
7891 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
7892 simplify later conditionals; default the others to zero. Use
7893 these conditionals to express only the code needed on the current
7894 platform. In uses of these conditionals, explicitly spell out how
7895 _LIBC affects things, so it’s easier to review from a glibc
7896 viewpoint.
7897 (WRAPV): Remove; no longer needed now that we have
7898 systematic overflow checking.
7899 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
7900 compartmentalize tzset issues. Move system-dependent tzsettish
7901 code here from mktime.
7902 (verify): Remove; now done by verify.h. All uses changed.
7903 (long_int): Use a more-conservative definition, to avoid
7904 integer overflow.
7905 (SHR): Remove, replacing with ...
7906 (shr): New function, which means we needn’t worry about side
7907 effects in args, and conversion analysis is simpler.
7908 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
7909 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
7910 (time_t_avg, time_t_add_ok): Remove.
7911 (mktime_min, mktime_max): New constants.
7912 (leapyear, isdst_differ): Use bool for booleans.
7913 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
7914 Use long_int, not time_t, for mktime differences.
7915 (long_int_avg): New function, replacing time_t_avg.
7916 INT_ADD_WRAPV replaces time_t_add_ok.
7917 (guess_time_tm): 6th arg is now long_int, not time_t const *.
7918 All uses changed.
7919 (convert_time): New function.
7920 (ranged_convert): Use it.
7921 (__mktime_internal): Last arg now points to mktime_offset_t, not
7922 time_t. All uses changed. This is a no-op on glibc, where
7923 mktime_offset_t is always time_t. Use int, not time_t, for UTC
7924 offset guess. Directly check for integer overflow instead of
7925 using a heuristic that works only 99.9...% of the time.
7926 Access *OFFSET only once, to avoid an unlikely race if the
7927 compiler delays a load and if this cascades into a signed integer
7928 overflow.
7929 (mktime): Move tzsettish code to my_tzset, and move
7930 localtime_offset to within mktime so that it doesn’t
7931 need a separate ifdef.
7932 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
7933 instead of localtime.
7934 * time/timegm.c: Copy from Gnulib. This has the following changes:
7935 Include mktime-internal.h.
7936 [!_LIBC]: Include config.h and time.h. Do not include
7937 timegm.h or time_r.h. Make __mktime_internal a macro,
7938 and include mktime-internal.h to get its declaration.
7939 (timegm): Temporary is now mktime_offset_t, not time_t.
7940 This affects only Gnulib.
7941
7942 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
7943
7944 [BZ #23637]
7945 * string/test-strstr.c (pr23637): New function.
7946 (test_main): Add tests with longer needles.
7947 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
7948 * string/strstr.c (AVAILABLE): Likewise.
7949
7950 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7951
7952 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
7953
7954 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
7955
7956 * NEWS: Mention pow improvements.
7957 * math/Makefile (type-double-routines): Add e_pow_log_data.
7958 * sysdeps/generic/math_private.h (__exp1): Remove.
7959 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
7960 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
7961 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
7962 contraction.
7963 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
7964 (exp_inline): Remove.
7965 (__ieee754_exp): Only single double input is handled.
7966 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
7967 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
7968 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
7969 (__pow_log_data): Define.
7970 * sysdeps/ieee754/dbl-64/upow.h: Remove.
7971 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
7972 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
7973 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
7974 contraction.
7975 (CFLAGS-e_pow-fma4.c): Likewise.
7976
7977 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
7978
7979 Simplify tzfile fstat failure code
7980 [BZ #21716]
7981 * time/tzfile.c (__tzfile_read): Simplify slightly.
7982
7983 Fix tzfile low-memory assertion failure
7984 [BZ #21716]
7985 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
7986 when registering time zone abbreviations.
7987
7988 2018-09-18 Joseph Myers <joseph@codesourcery.com>
7989
7990 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
7991 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
7992 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
7993 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
7994 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
7995 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
7996 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
7997 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7998 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7999
8000 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8001 __ceil.
8002 (__ceill): Call ceil instead of __ceil.
8003 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8004 __floor.
8005 (__floorl): Call floor instead of __floor.
8006
8007 2018-09-17 Joseph Myers <joseph@codesourcery.com>
8008
8009 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8010 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8011 using MATH_REDIRECT.
8012 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8013 header inclusion.
8014 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8015 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8016 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8017 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8018 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8019 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8020 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8021 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8026 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8027 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8028 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8029 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8030 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8031 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8032 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8033 Remove macro.
8034 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8035 functions instead of __ceil variants.
8036 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8037 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8038 Likewise.
8039 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8040 Likewise.
8041 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8042 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8043 Likewise.
8044 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8045 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8046
8047 [BZ #21286]
8048 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8049 constant.
8050 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8051 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8052 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8053 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8054 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8055 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8056 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8057 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8058 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8059 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8060 (ILL_BADIADDR): Remove constant.
8061 (TRAP_BRANCH): Likewise.
8062 (TRAP_HWBKPT): Likewise.
8063
8064 2018-09-14 Joseph Myers <joseph@codesourcery.com>
8065
8066 [BZ #23656]
8067 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8068 Remove [_MIPS_SIM = _ABIN32] conditional case.
8069 (struct elf_prpsinfo): Likewise.
8070
8071 [BZ #23649]
8072 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8073 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8074 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8075 Likewise.
8076 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8077 elf_prpsinfo): Likewise.
8078 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8079 elf_prpsinfo): Likewise.
8080 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8081 Likewise.
8082
8083 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8084 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8085 using MATH_REDIRECT.
8086 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8087 header inclusion.
8088 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8089 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8090 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
8091 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8092 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8093 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8094 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
8095 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8096 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8097 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8098 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
8099 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
8100 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
8101 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8102 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8103 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8104 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8105 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
8106 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8109 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8110 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8111 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8112 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8113 * sysdeps/x86_64/fpu/math_private.h: Remove file.
8114 * math/e_scalb.c (invalid_fn): Use rint functions instead of
8115 __rint variants.
8116 * math/e_scalbf.c (invalid_fn): Likewise.
8117 * math/e_scalbl.c (invalid_fn): Likewise.
8118 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8119 Likewise.
8120 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8121 Likewise.
8122 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8123 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
8124 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8125 Likewise.
8126 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8127 Likewise.
8128 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8129 Likewise.
8130 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
8131 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
8132
8133 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8134 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
8135 New macro.
8136 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8137 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
8138 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8139 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
8140 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8141 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
8142 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8143 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
8144 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8145 && !NO_MATH_REDIRECT] (floor): Likewise.
8146 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
8147 header inclusion.
8148 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
8149 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8150 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8151 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
8152 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8153 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8154 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8155 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
8157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
8158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
8159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
8160 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8161 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8163 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8164 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8165 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8166 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
8167 Remove macro.
8168 [_ARCH_PWR5X] (__floorf): Likewise.
8169 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
8170 inline function.
8171 [__SSE4_1__] (__floorf): Likewise.
8172 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8173 instead of __floor variants.
8174 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8175 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8176 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8177 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8178 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8179 * math/w_tgamma_compat.c (__tgamma): Likewise.
8180 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8181 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8182 * math/w_tgammal_compat.c (__tgammal): Likewise.
8183 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8184 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8185 Likewise.
8186 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8187 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8188 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8189 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8190 Likewise.
8191 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8192 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8193 Likewise.
8194 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8195 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8196 Likewise.
8197 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8198 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8199 Likewise.
8200 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8201 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8202 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8203 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8204 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8205 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8206
8207 2018-09-12 Joseph Myers <joseph@codesourcery.com>
8208
8209 * elf/Makefile (modules-names-tests): New variable.
8210
8211 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8212
8213 * NEWS: Mention log2 improvements.
8214 * math/Makefile (type-double-routines): Add e_log2_data.
8215 * sysdeps/i386/fpu/e_log2_data.c: New file.
8216 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8217 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8218 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8219 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8220 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8221 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8222
8223 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8224
8225 * NEWS: Mention log improvement.
8226 * math/Makefile (type-double-routines): Add e_log_data.
8227 * sysdeps/i386/fpu/e_log_data.c: New file.
8228 * sysdeps/ia64/fpu/e_log_data.c: New file.
8229 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8230 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8231 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8232 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8233 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8234 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8235
8236 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8237 Xuepeng Guo <xuepeng.guo@intel.com>
8238
8239 [BZ #23606]
8240 * sysdeps/i386/start.S: Include <sysdep.h>
8241 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8242 enabled. Add cfi_undefined (eip).
8243
8244 2018-09-11 Joseph Myers <joseph@codesourcery.com>
8245
8246 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8247 (MOVQ): Likewise.
8248 (EXTRACT_WORDS64): Likewise.
8249 (INSERT_WORDS64): Likewise.
8250 (GET_FLOAT_WORD): Likewise.
8251 (SET_FLOAT_WORD): Likewise.
8252
8253 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8254 argument.
8255 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8256 build, but not for second build if --full-gcc. Use
8257 --enable-languages=all for second build if --full-gcc.
8258 (get_parser): Add --full-gcc option.
8259 (main): Update call to Context.
8260
8261 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8262
8263 [BZ #10797]
8264 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8265 Single Quotation Mark).
8266 (thousands_sep): Likewise.
8267 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8268 * localedata/locales/it_IT (thousands_sep): Use ".".
8269 (grouping): Use "3;3".
8270
8271 2018-09-10 Joseph Myers <joseph@codesourcery.com>
8272
8273 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8274 x86_64 and i686 configs using --enable-obsolete-rpc
8275 --enable-obsolete-nsl.
8276
8277 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8278
8279 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8280
8281 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
8282
8283 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8284 Increment size of new_argv by one.
8285
8286 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8287
8288 [BZ #17426]
8289 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8290 * localedata/locales/ar_IN (d_fmt): Likewise.
8291 * localedata/locales/bhb_IN (d_fmt): Likewise.
8292 * localedata/locales/bho_IN (d_fmt): Likewise.
8293 * localedata/locales/bn_BD (d_fmt): Likewise.
8294 * localedata/locales/bn_IN (d_fmt): Likewise.
8295 * localedata/locales/doi_IN (d_fmt): Likewise.
8296 * localedata/locales/gu_IN (d_fmt): Likewise.
8297 * localedata/locales/hi_IN (d_fmt): Likewise.
8298 * localedata/locales/hne_IN (d_fmt): Likewise.
8299 * localedata/locales/kn_IN (d_fmt): Likewise.
8300 * localedata/locales/mag_IN (d_fmt): Likewise.
8301 * localedata/locales/mai_IN (d_fmt): Likewise.
8302 * localedata/locales/mjw_IN (d_fmt): Likewise.
8303 * localedata/locales/ml_IN (d_fmt): Likewise.
8304 * localedata/locales/mni_IN (d_fmt): Likewise.
8305 * localedata/locales/mr_IN (d_fmt): Likewise.
8306 * localedata/locales/pa_IN (d_fmt): Likewise.
8307 * localedata/locales/raj_IN (d_fmt): Likewise.
8308 * localedata/locales/sat_IN (d_fmt): Likewise.
8309 * localedata/locales/sd_IN (d_fmt): Likewise.
8310 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8311 * localedata/locales/ta_IN (d_fmt): Likewise.
8312 * localedata/locales/ta_LK (d_fmt): Likewise.
8313 * localedata/locales/tcy_IN (d_fmt): Likewise.
8314 * localedata/locales/ur_IN (d_fmt): Likewise.
8315
8316 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
8317 * localedata/locales/ks_IN (d_fmt): Likewise.
8318 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
8319
8320 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
8321 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
8322 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
8323 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
8324
8325 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8326
8327 * NEWS: Mention exp and exp2 improvements.
8328 * math/Makefile (libm-support): Remove t_exp.
8329 (type-double-routines): Add math_err and e_exp_data.
8330 * sysdeps/aarch64/libm-test-ulps: Update.
8331 * sysdeps/arm/libm-test-ulps: Update.
8332 * sysdeps/i386/fpu/e_exp_data.c: New file.
8333 * sysdeps/i386/fpu/math_err.c: New file.
8334 * sysdeps/i386/fpu/t_exp.c: Remove.
8335 * sysdeps/ia64/fpu/e_exp_data.c: New file.
8336 * sysdeps/ia64/fpu/math_err.c: New file.
8337 * sysdeps/ia64/fpu/t_exp.c: Remove.
8338 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
8339 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
8340 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
8341 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
8342 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
8343 * sysdeps/ieee754/dbl-64/math_config.h: New file.
8344 * sysdeps/ieee754/dbl-64/math_err.c: New file.
8345 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
8346 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
8347 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
8348 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
8349 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
8350 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
8351 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
8352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8354
8355 2018-09-05 Joseph Myers <joseph@codesourcery.com>
8356
8357 * sysdeps/alpha/fpu/math_private.h: Remove.
8358
8359 * sysdeps/generic/math_private.h
8360 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
8361 Move this inline function ....
8362 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
8363 * include/math.h [!_ISOMAC]: To here....
8364
8365 2018-09-04 Joseph Myers <joseph@codesourcery.com>
8366
8367 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
8368 code ....
8369 [!FE_HAVE_ROUNDING_MODES]: And this code ....
8370 * include/fenv.h [!_ISOMAC]: ... to here.
8371 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
8372 (feraiseexcept): Likewise.
8373 * math/fromfp.h: Do not include <fenv_private.h>.
8374 * math/s_cexp_template.c: Likewise.
8375 * math/s_csin_template.c: Likewise.
8376 * math/s_csinh_template.c: Likewise.
8377 * math/s_ctan_template.c: Likewise.
8378 * math/s_ctanh_template.c: Likewise.
8379 * math/s_iseqsig_template.c: Likewise.
8380 * math/w_acos_compat.c: Likewise.
8381 * math/w_acosf_compat.c: Likewise.
8382 * math/w_acosl_compat.c: Likewise.
8383 * math/w_asin_compat.c: Likewise.
8384 * math/w_asinf_compat.c: Likewise.
8385 * math/w_asinl_compat.c: Likewise.
8386 * math/w_j0_compat.c: Likewise.
8387 * math/w_j0f_compat.c: Likewise.
8388 * math/w_j0l_compat.c: Likewise.
8389 * math/w_j1_compat.c: Likewise.
8390 * math/w_j1f_compat.c: Likewise.
8391 * math/w_j1l_compat.c: Likewise.
8392 * math/w_jn_compat.c: Likewise.
8393 * math/w_jnf_compat.c: Likewise.
8394 * math/w_log10_compat.c: Likewise.
8395 * math/w_log10f_compat.c: Likewise.
8396 * math/w_log10l_compat.c: Likewise.
8397 * math/w_log2_compat.c: Likewise.
8398 * math/w_log2f_compat.c: Likewise.
8399 * math/w_log2l_compat.c: Likewise.
8400 * math/w_log_compat.c: Likewise.
8401 * math/w_logf_compat.c: Likewise.
8402 * math/w_logl_compat.c: Likewise.
8403 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8404 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8405 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8406 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8407 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8408 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8409 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8410 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8411 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8412 * sysdeps/ieee754/k_standardl.c: Likewise.
8413 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8414 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8415 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8416 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8417 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8418 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8419 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8420 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8421 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8422 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8423 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8424 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8425 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8426 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8427 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8428 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8429 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8430 * math/w_ilogb_template.c: Include <fenv.h> instead of
8431 <fenv_private.h>.
8432 * math/w_llogb_template.c: Likewise.
8433 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8434 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8435
8436 2018-09-03 Joseph Myers <joseph@codesourcery.com>
8437
8438 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
8439 * math/fromfp.h: Include <fenv_private.h>.
8440 * math/math-narrow.h: Likewise.
8441 * math/s_cexp_template.c: Likewise.
8442 * math/s_csin_template.c: Likewise.
8443 * math/s_csinh_template.c: Likewise.
8444 * math/s_ctan_template.c: Likewise.
8445 * math/s_ctanh_template.c: Likewise.
8446 * math/s_iseqsig_template.c: Likewise.
8447 * math/w_acos_compat.c: Likewise.
8448 * math/w_acosf_compat.c: Likewise.
8449 * math/w_acosl_compat.c: Likewise.
8450 * math/w_asin_compat.c: Likewise.
8451 * math/w_asinf_compat.c: Likewise.
8452 * math/w_asinl_compat.c: Likewise.
8453 * math/w_ilogb_template.c: Likewise.
8454 * math/w_j0_compat.c: Likewise.
8455 * math/w_j0f_compat.c: Likewise.
8456 * math/w_j0l_compat.c: Likewise.
8457 * math/w_j1_compat.c: Likewise.
8458 * math/w_j1f_compat.c: Likewise.
8459 * math/w_j1l_compat.c: Likewise.
8460 * math/w_jn_compat.c: Likewise.
8461 * math/w_jnf_compat.c: Likewise.
8462 * math/w_llogb_template.c: Likewise.
8463 * math/w_log10_compat.c: Likewise.
8464 * math/w_log10f_compat.c: Likewise.
8465 * math/w_log10l_compat.c: Likewise.
8466 * math/w_log2_compat.c: Likewise.
8467 * math/w_log2f_compat.c: Likewise.
8468 * math/w_log2l_compat.c: Likewise.
8469 * math/w_log_compat.c: Likewise.
8470 * math/w_logf_compat.c: Likewise.
8471 * math/w_logl_compat.c: Likewise.
8472 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8473 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8474 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8475 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8476 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8477 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8478 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8479 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8480 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8481 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8482 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8483 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8484 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
8485 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8486 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8487 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8488 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8489 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8490 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8491 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8492 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8493 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8494 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8495 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8496 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8497 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8498 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8499 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8500 * sysdeps/ieee754/float128/float128_private.h: Likewise.
8501 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8502 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8503 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8504 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8505 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8506 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8507 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8508 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8509 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8510 * sysdeps/ieee754/k_standardl.c: Likewise.
8511 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8512 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8513 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8514 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8515 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8516 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8517 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8518 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8519 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8520 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8521 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8522 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8523 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8524 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8525 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8526 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8527 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8528 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8529 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8530 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8531 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8532 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8533 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8534 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8535 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8536 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8537 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8538 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8539 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8540 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8541 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8542 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8543 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8544 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8545 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8546 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8547 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8548 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8549 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8550 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8551 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8552 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8553 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8554 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8555 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8556 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8557 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8558 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8559 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8560 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8561 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8562 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8563 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8564 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8565 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8566 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8567 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8568 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8569 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8570 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8571 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8572 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8573 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8574 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8575 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8576 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8577 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8578 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8579 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8580 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8581 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8582
8583 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8584
8585 [BZ #20271]
8586 * include/stdio.h (__libc_fatal): Mention newline in comment.
8587 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
8588 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
8589 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8590 * nss/nsswitch.c (__nss_next2): Likewise.
8591 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
8592 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
8593 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
8594 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8595 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
8596 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
8597 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
8598 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
8599 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
8600 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
8601 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
8602 * sysdeps/unix/sysv/linux/netlink_assert_response.c
8603 (__netlink_assert_response): Likewise.
8604
8605 2018-08-31 Joseph Myers <joseph@codesourcery.com>
8606
8607 * conform/glibcconform.py: New file.
8608 * conform/list-header-symbols.py: Likewise.
8609 * conform/list-header-symbols.pl: Remove.
8610 * conform/Makefile (tests-special): Only add linknamespace tests
8611 if [PYTHON].
8612 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
8613
8614 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
8615
8616 [BZ #23597]
8617 * support/Makefile (libsupport-routines): Add
8618 support_copy_file_range and xcopy_file_range.
8619 * support/support.h: Include <sys/types.h>.
8620 (support_copy_file_range): New prototype.
8621 * support/support_copy_file_range.c: New file. Copied and
8622 modified from io/copy_file_range-compat.c.
8623 * support/test-container.c (copy_one_file): Call xcopy_file_rang
8624 instead of copy_file_range.
8625 * support/xcopy_file_range.c: New file.
8626 * support/xunistd.h (xcopy_file_range): New prototype.
8627
8628 2018-08-30 Carlos O'Donell <carlos@redhat.com>
8629
8630 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
8631 xpthread_create and xpthread_join.
8632
8633 2018-08-30 Florian Weimer <fweimer@redhat.com>
8634
8635 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
8636
8637 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
8638
8639 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
8640 if malloc fails.
8641
8642 2018-08-29 Joseph Myers <joseph@codesourcery.com>
8643
8644 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
8645 and minus_oflow as non-finite.
8646
8647 2018-08-28 Joseph Myers <joseph@codesourcery.com>
8648
8649 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
8650 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
8651 moved to fenv_private.h except for ...
8652 (TOINT_INTRINSICS): Kept in math_private.h.
8653 (roundtoint): Likewise.
8654 (converttoint): Likewise.
8655 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
8656 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8657 * sysdeps/arm/math_private.h: Remove.
8658 * sysdeps/generic/fenv_private.h: New file. Contents moved from
8659 ....
8660 * sysdeps/generic/math_private.h: ... this file. Include
8661 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
8662 Include <fenv_private.h>. Remove functions and macros moved to
8663 fenv_private.h.
8664 * sysdeps/i386/fpu/math_private.h: Remove.
8665 * sysdeps/mips/math_private.h: Move to ....
8666 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
8667 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
8668 [__mips_hard_float] conditional. Include next <fenv_private.h>.
8669 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
8670 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8671 * sysdeps/powerpc/fpu/math_private.h: Do not include
8672 <fenv_private.h>.
8673 * sysdeps/riscv/rvf/math_private.h: Move to ....
8674 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
8675 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
8676 <fenv_private.h>.
8677 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
8678 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
8679 * sysdeps/sparc/fpu/math_private.h: Remove.
8680 * sysdeps/i386/fpu/fenv_private.h: Move to ....
8681 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
8682 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
8683 <fenv_private.h>.
8684 * sysdeps/x86_64/fpu/math_private.h: Do not include
8685 <sysdeps/i386/fpu/fenv_private.h>.
8686
8687 2018-08-28 Florian Weimer <fweimer@redhat.com>
8688
8689 [BZ #23578]
8690 * posix/tst-regcomp-truncated.c: New file.
8691 * posix/Makefile (tests): Add it.
8692 (tst-regcomp-truncated.out): Depend on generated locales.
8693
8694 2018-08-28 Florian Weimer <fweimer@redhat.com>
8695
8696 * support/test-container.c (main): Treat unshare failure with
8697 EPERM as an unsupported test.
8698
8699 2018-08-28 Florian Weimer <fweimer@redhat.com>
8700
8701 [BZ #23520]
8702 nscd: Fix use-after-free in addgetnetgrentX and its callers.
8703 * nscd/netgroupcache.c
8704 (addgetnetgrentX): Add tofreep parameter. Do not free
8705 heap-allocated buffer.
8706 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
8707 (addgetnetgrentX_ignore): New function.
8708 (addgetnetgrent): Call it.
8709 (readdgetnetgrent): Likewise.
8710
8711 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8712
8713 * string/memmem.c: Use memcmp for first match.
8714
8715 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
8716
8717 [BZ #17426]
8718 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
8719
8720 2018-08-27 DJ Delorie <dj@redhat.com>
8721
8722 * support/Makefile (others): Don't list programs explicitly as a
8723 dependency of "others".
8724
8725 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8726
8727 * sysdeps/generic/math-tests-trap-force.h: New file.
8728 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
8729 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
8730 * sysdeps/powerpc/math-tests.h: Remove file.
8731 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
8732
8733 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
8734 Torvald Riegel <triegel@redhat.com>
8735
8736 [BZ #23538]
8737 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
8738 Update r to include the set wake-request flag if waiters are
8739 remaining after spinning.
8740
8741 2018-08-27 Joseph Myers <joseph@codesourcery.com>
8742
8743 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
8744
8745 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
8746
8747 [BZ #23578]
8748 regex: fix uninitialized memory access
8749 I introduced this bug into gnulib in commit
8750 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
8751 eventually it was merged into glibc. The bug was found by
8752 project-repo <bugs@feusi.co> and reported here:
8753 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
8754 Diagnosis and draft fix reported by Assaf Gordon here:
8755 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
8756 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
8757 * posix/regex_internal.c (build_wcs_upper_buffer):
8758 Fix bug when mbrtowc returns 0.
8759
8760 2018-08-24 Carlos O'Donell <carlos@redhat.com>
8761
8762 * po/be.po: Update translation.
8763
8764 2018-08-24 DJ Delorie <dj@delorie.com>
8765
8766 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
8767 $(libunwind).
8768
8769 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8770
8771 [BZ #23400]
8772 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
8773 create temporary files in source tree.
8774
8775 2018-08-24 Joseph Myers <joseph@codesourcery.com>
8776
8777 * sysdeps/generic/math-tests-trap.h: New file.
8778 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
8779 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
8780 * sysdeps/aarch64/math-tests.h: Remove file.
8781 * sysdeps/arm/math-tests.h: Likewise.
8782 * sysdeps/riscv/math-tests.h: Likewise.
8783 * sysdeps/aarch64/math-tests-trap.h: New file.
8784 * sysdeps/arm/math-tests-trap.h: Likewise.
8785 * sysdeps/riscv/math-tests-trap.h: Likewise.
8786
8787 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8788
8789 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
8790 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
8791 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
8792 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
8793 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
8794 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
8795 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8796 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
8797 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
8798 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8799 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8800 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8801 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8802 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
8803 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
8804 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
8805 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8806 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8807
8808 2018-08-23 Joseph Myers <joseph@codesourcery.com>
8809
8810 * sysdeps/generic/math-tests-exceptions.h: New file.
8811 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
8812 (EXCEPTION_TESTS_float): Do not define here.
8813 (EXCEPTION_TESTS_double): Likewise.
8814 (EXCEPTION_TESTS_long_double): Likewise.
8815 (EXCEPTION_TESTS_float128): Likewise.
8816 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
8817 Likewise.
8818 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
8819 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
8820 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
8821 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
8822 * sysdeps/mips/math-tests.h: Likewise.
8823 * sysdeps/nios2/math-tests.h: Likewise.
8824 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8825 (EXCEPTION_TESTS_float): Do not define here.
8826 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
8827 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
8828 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
8829
8830 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8831
8832 * NEWS: Move optimized sinf entry to 2.29.
8833
8834 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
8835
8836 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
8837
8838 2018-08-22 DJ Delorie <dj@redhat.com>
8839
8840 * Makefile (testroot.pristine): New rules to initialize the
8841 test-in-container "testroot".
8842 * Makerules (all-testsuite): Add tests-container.
8843 * Rules (tests-expected): Add tests-container.
8844 (binaries-all-tests): Likewise.
8845 (tests-container): New, run these tests in the testroot container.
8846 * support/Makefile (others): Add *-container, support_paths.c,
8847 xmkdirp, and links-dso-program.
8848 * support/links-dso-program-c.c: New.
8849 * support/links-dso-program.cc: New.
8850 * support/test-container.c: New.
8851 * support/shell-container.c: New.
8852 * support/echo-container.c: New.
8853 * support/true-container.c: New.
8854 * support/xmkdirp.c: New.
8855 * support/xsymlink.c: New.
8856 * support/support_paths.c: New.
8857 * support/support.h: Add support paths prototypes.
8858 * support/xunistd.h: Add xmkdirp () and xsymlink ().
8859
8860 * nss/tst-nss-test3.c: Convert to test-in-container.
8861 * nss/tst-nss-test3.root/: New.
8862
8863 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
8864
8865 regex: port Gnulib code to z/OS POSIX environment
8866 Problem reported by Arnold Robbins in:
8867 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
8868 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
8869 Undef.
8870
8871 2018-08-22 Joseph Myers <joseph@codesourcery.com>
8872
8873 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
8874 (ROUNDING_TESTS_double): Remove.
8875 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
8876 (ROUNDING_TESTS_double): Remove.
8877 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
8878 (ROUNDING_TESTS_double): Remove.
8879 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
8880 (ROUNDING_TESTS_float): Remove.
8881 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
8882 (ROUNDING_TESTS_float): Remove.
8883 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
8884 (ROUNDING_TESTS_float): Remove.
8885 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
8886 !TEST_MATHVEC here.
8887 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8888 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8889
8890 * sysdeps/generic/math-tests-rounding.h: New file.
8891 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
8892 (ROUNDING_TESTS_float): Do not define here.
8893 (ROUNDING_TESTS_double): Likewise.
8894 (ROUNDING_TESTS_long_double): Likewise.
8895 (ROUNDING_TESTS_float128): Likewise.
8896 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
8897 (ROUNDING_TESTS_double): Undefine before defining.
8898 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
8899 (ROUNDING_TESTS_double): Undefine before defining.
8900 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
8901 (ROUNDING_TESTS_double): Undefine before defining.
8902 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
8903 (ROUNDING_TESTS_float): Undefine before defining.
8904 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
8905 (ROUNDING_TESTS_float): Undefine before defining.
8906 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
8907 (ROUNDING_TESTS_float): Undefine before defining.
8908 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
8909 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
8910 not define here.
8911 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
8912 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
8913 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
8914 * sysdeps/riscv/math-tests.h [!__riscv_flen]
8915 (ROUNDING_TESTS_float): Do not define here.
8916 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
8917 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
8918 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
8919 (ROUNDING_TESTS_float): Likewise.
8920 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
8921 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
8922 * sysdeps/mips/math-tests.h [__mips_soft_float]
8923 (ROUNDING_TESTS_float): Likewise.
8924 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
8925 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
8926 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
8927 (ROUNDING_TESTS_double): Likewise.
8928 (ROUNDING_TESTS_long_double): Likewise.
8929
8930 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
8931
8932 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
8933 (PF_XDP): New macro.
8934 (AF_XDP): New macro.
8935 (SOL_XDP): New macro.
8936
8937 2018-08-21 Joseph Myers <joseph@codesourcery.com>
8938
8939 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
8940 (TCP_INQ): Likewise.
8941 (TCP_CM_INQ): Likewise.
8942 (TCP_REPAIR_ON): Likewise.
8943 (TCP_REPAIR_OFF): Likewise.
8944 (TCP_REPAIR_OFF_NO_WP): Likewise.
8945 (struct tcp_zerocopy_receive): New type.
8946
8947 2018-08-21 Florian Weimer <fweimer@redhat.com>
8948
8949 * support/support.h (support_descriptor_supports_holes): Declare.
8950 * support/Makefile (libsupport-routines): Add
8951 support_descriptor_supports_holes.
8952 * support/support_descriptor_supports_holes.c: New file.
8953 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
8954 and stop testing if holes are not supported.
8955 * io/test-lfs.c (do_prepare): Likewise.
8956 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
8957 Likewise.
8958 * timezone/tst-tzset.c (create_tz_file): Likewise.
8959 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
8960 variable.
8961 (do_prepare): Set it.
8962 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
8963
8964 2018-08-21 Florian Weimer <fweimer@redhat.com>
8965
8966 [BZ #17248]
8967 * Makeconfig (+cflags): Do not sort (and deduplicate).
8968
8969 2018-08-21 Florian Weimer <fweimer@redhat.com>
8970
8971 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
8972 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
8973
8974 2018-08-20 Florian Weimer <fweimer@redhat.com>
8975
8976 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
8977 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
8978
8979 2018-08-20 Joseph Myers <joseph@codesourcery.com>
8980
8981 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
8982 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
8983 and ssi_arch members.
8984
8985 * elf/elf.c (NT_VMCOREDD): New macro.
8986 (AT_MINSIGSTKSZ): Likewise.
8987
8988 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8989
8990 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8991 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
8992 s_cosf-ppc64 and s_cosf-power8.
8993 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
8994 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8995 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8996 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
8998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
8999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9003 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9004 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9005
9006 2018-08-17 Florian Weimer <fweimer@redhat.com>
9007
9008 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9009
9010 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9011
9012 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9013
9014 2018-08-16 Florian Weimer <fweimer@redhat.com>
9015
9016 * configure.ac: Add --with-nonshared-cflags option.
9017 * config.make.in (extra-nonshared-cflags): Set variable.
9018 * Makeconfig (CFLAGS-.oS): Use it.
9019 * manual/install.texi (Configuring and compiling): Document
9020 --with-nonshared-cflags.
9021 * configure: Regenerate.
9022 * INSTALL: Likewise.
9023
9024 2018-08-16 Florian Weimer <fweimer@redhat.com>
9025
9026 * Makeconfig (ASFLAGS): Always append required assembler flags.
9027
9028 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
9029
9030 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9031 (malloc_consolidate): Likewise.
9032
9033 2018-08-16 Pochang Chen <johnchen902@gmail.com>
9034
9035 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9036
9037 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9038
9039 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9040 every strlen call.
9041
9042 * benchtests/bench-strlen.c: Print performance numbers in json.
9043
9044 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9045
9046 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9047 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9048 only for little endian.
9049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9050 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9051 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9052 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9053 Add check for little endian.
9054 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9055 (__strcmp_power9): Add check for little endian.
9056 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9057 Add check for little endian.
9058 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9059 (__strncmp_power9): Add check for little endian.
9060 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9061 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9062 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9063 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9064 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9065
9066 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9067
9068 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9069 [!STRLEN](STRLEN): Set to __strlen.
9070 * sysdeps/aarch64/multiarch/strlen.c: New file.
9071 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9072 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9073 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9074 (__libc_ifunc_impl_list): Add strlen.
9075 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9076 strlen_generic and strlen_asimd.
9077
9078 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9079
9080 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9081 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9082 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9083
9084 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9085
9086 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9087
9088 2018-08-14 Florian Weimer <fweimer@redhat.com>
9089
9090 [BZ #23519]
9091 * include/stdio.h (__vfxprintf): Declare.
9092 * stdio-common/fxprintf.c (__vfxprintf): New function.
9093 (__fxprintf): Call it.
9094 * misc/err.c (convert_and_print): Remove function.
9095 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
9096 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
9097 * misc/Makefile (tests): Add tst-warn-wide.
9098 * misc/tst-warn-wide.c: New file.
9099
9100 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
9101 Szabolcs Nagy <szabolcs.nagy@arm.com>
9102
9103 * NEWS: Mention sinf, cosf, sincosf.
9104 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
9105 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
9106 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
9107 constants rather than including generic sincosf.h.
9108 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
9109 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
9110 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
9111 (reduced_cos): Remove.
9112 (sinf_poly): New function.
9113 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
9114
9115 2018-08-14 Florian Weimer <fweimer@redhat.com>
9116
9117 [BZ #23521]
9118 [BZ #23522]
9119 * nss/nss_files/files-alias.c (get_next_alias): During :include:
9120 processing, bail out if no room, and close the stream before
9121 returning ERANGE.
9122 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
9123 (tst-nss-files-alias-leak): Link with libdl.
9124 (tst-nss-files-alias-leak.out): Depend on nss_files.
9125
9126 * nss/tst-nss-files-alias-leak.c: New file.
9127
9128 2018-08-14 Florian Weimer <fweimer@redhat.com>
9129
9130 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
9131 server_user, stat_user.
9132
9133 2018-08-13 Joseph Myers <joseph@codesourcery.com>
9134
9135 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9136 version to 4.18.
9137 (io_pgetevents): New syscall.
9138 (rseq): Likewise.
9139
9140 * manual/install.texi (Configuring and compiling): Do not list
9141 tools used for testing pretty printers here.
9142 (Tools for Compilation): List Python, PExpect and GDB here.
9143 Update descriptions of uses of Perl and Python.
9144 * INSTALL: Regenerate.
9145
9146 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9147 version to 4.18.
9148
9149 2018-08-13 Florian Weimer <fweimer@redhat.com>
9150
9151 * misc/error.c (error): Add missing va_end call.
9152 (error_at_line): Likewise.
9153
9154 2018-08-13 Florian Weimer <fweimer@redhat.com>
9155
9156 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
9157
9158 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9159
9160 * benchtests/scripts/benchout.schema.json (properties): Add
9161 new properties.
9162
9163 * benchtests/bench-skeleton.c (main): Add duration and
9164 iterations attributes.
9165
9166 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
9167
9168 regex: Gnulib unibyte RRI uses bytes not chars
9169 Adjust the non-glibc code to agree with what Gawk needs for
9170 rational range interpretation (RRI) for regular expression ranges.
9171 In unibyte locales, Gawk wants ranges to use the underlying byte
9172 rather than the character code point. This change does not affect
9173 glibc proper.
9174 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9175 In unibyte locales, use the byte value rather than
9176 running it through btowc.
9177
9178 2018-08-10 Joseph Myers <joseph@codesourcery.com>
9179
9180 * sysdeps/generic/math-tests-snan.h: New file.
9181 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9182 (SNAN_TESTS_float): Do not define here.
9183 (SNAN_TESTS_double): Likewise.
9184 (SNAN_TESTS_long_double): Likewise.
9185 (SNAN_TESTS_float128): Likewise.
9186 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9187 * sysdeps/i386/fpu/math-tests.h: Remove file.
9188 * sysdeps/ia64/math-tests-snan.h: New file.
9189 * sysdeps/ia64/math-tests.h: Remove file.
9190 * sysdeps/x86/math-tests.h: Likewise.
9191 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9192
9193 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9194 Szabolcs Nagy <szabolcs.nagy@arm.com>
9195
9196 * math/Makefile: Add s_sincosf_data.c.
9197 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9198 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9199 (sincosf_poly): Likewise.
9200 (reduce_small): Likewise.
9201 (reduce_large): Likewise.
9202 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9203 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9204 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9205 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9206
9207 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9208 Szabolcs Nagy <szabolcs.nagy@arm.com>
9209
9210 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9211 (converttoint): Use lround.
9212 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9213 document the semantics when TOINT_INTRINSICS is set.
9214 (converttoint): Likewise.
9215 (TOINT_RINT): Remove.
9216 (TOINT_SHIFT): Remove.
9217 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9218 path.
9219
9220 2018-08-10 Florian Weimer <fweimer@redhat.com>
9221
9222 [BZ #23497]
9223 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9224 function.
9225 (__old_getdents64): Use getdents64. Convert entries without
9226 moving them.
9227 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9228 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9229 tst-readdir64-compat.
9230
9231 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9232
9233 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9234 Fix unwind.
9235
9236 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9237
9238 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9239 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9240 code to s390x-mcount.h and #include it.
9241 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9242 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9243 (__fentry__): Add.
9244
9245 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9246
9247 * stdlib/Versions: Remove __fentry__.
9248 * sysdeps/i386/Versions: Add __fentry__.
9249 * sysdeps/x86_64/Versions: Add __fentry__.
9250
9251 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9252
9253 * sysdeps/s390/Makefile: Register the new tests.
9254 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9255 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9256 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9257 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9258 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9259 * sysdeps/s390/tst-dl-runtime.c: New file.
9260
9261 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9262
9263 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9264 Do not clobber R0.
9265
9266 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9267
9268 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9269 Do not clobber R0.
9270
9271 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9272
9273 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9274 Do not clobber R0.
9275
9276 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9277
9278 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9279 Do not clobber R0.
9280
9281 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9282
9283 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9284 Use symbolic offsets for stack variables.
9285
9286 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9287
9288 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9289 Use symbolic offsets for stack variables.
9290
9291 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9292
9293 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9294 Use symbolic offsets for stack variables.
9295
9296 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9297
9298 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9299 Use symbolic offsets for stack variables.
9300
9301 2018-08-09 Joseph Myers <joseph@codesourcery.com>
9302
9303 * math/gen-libm-test.py: New file.
9304 * math/gen-libm-test.pl: Remove.
9305 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9306 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9307 gen-libm-test.pl.
9308 ($(libm-test-c-noauto-obj)): Likewise.
9309 ($(libm-test-c-auto-obj)): Likewise.
9310 ($(libm-test-c-narrow-obj)): Likewise.
9311 (regen-ulps): Likewise.
9312 * math/README.libm-test: Update references to gen-libm-test.pl.
9313 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
9314 referencing gen-libm-test.pl.
9315 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
9316 * math/libm-test-support.c: Likewise.
9317 * math/libm-test-support.h: Likewise.
9318 * sysdeps/generic/libm-test-ulps: Likewise.
9319
9320 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9321
9322 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
9323 Fix value.
9324
9325 2018-08-08 Joseph Myers <joseph@codesourcery.com>
9326
9327 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9328 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9329
9330 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9331
9332 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
9333 symbols.
9334 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
9335 __pthread_setspecific): Add hidden proto.
9336 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
9337 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
9338
9339 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9340
9341 * benchtests/bench-string.h (buf1_size, buf2_size): New
9342 variables.
9343 (init_sizes): New function.
9344 (test_init): Use it.
9345 (alloc_buf, exit_error): New functions.
9346 (alloc_bufs): Use ALLOC_BUF.
9347 (realloc_bufs): Remove.
9348 * benchtests/bench-memcmp.c (do_test): Adjust.
9349 * benchtests/bench-memset-large.c (do_test): Likewise.
9350 * benchtests/bench-memset-walk.c (do_test): Likewise.
9351 * benchtests/bench-memset.c (do_test): Likewise.
9352 * benchtests/bench-strncmp.c (do_test): Likewise.
9353
9354 2018-08-06 Andreas Schwab <schwab@suse.de>
9355
9356 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
9357 of CONST_THREAD_AREA.
9358
9359 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
9360
9361 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
9362 (STATE_SAVE_MASK): Likewise.
9363 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
9364 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
9365 (STATE_SAVE_MASK): Likewise.
9366 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
9367 instead of <cpu-features.h>.
9368
9369 2018-08-03 DJ Delorie <dj@redhat.com>
9370
9371 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
9372 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
9373
9374 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
9375
9376 2018-08-03 Joseph Myers <joseph@codesourcery.com>
9377
9378 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
9379 after TEST_* calls.
9380 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
9381 * math/libm-test-logb.inc (logb_test_data): Likewise.
9382
9383 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
9384
9385 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
9386 * string/strstr.c (AVAILABLE): Likewise.
9387
9388 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9389
9390 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
9391 <init-arch.h>.
9392 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
9393 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
9394 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
9395
9396 2018-08-03 Carlos O'Donell <carlos@redhat.com>
9397
9398 * po/be.po: Update translation.
9399
9400 * po/be.po: Update translation.
9401
9402 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9403
9404 * sysdeps/x86/cpu-features-offsets.sym
9405 (rtld_global_ro_offsetof): Removed.
9406 (CPU_FEATURES_SIZE): Likewise.
9407 (CPUID_OFFSET): Likewise.
9408 (CPUID_SIZE): Likewise.
9409 (CPUID_EAX_OFFSET): Likewise.
9410 (CPUID_EBX_OFFSET): Likewise.
9411 (CPUID_ECX_OFFSET): Likewise.
9412 (CPUID_EDX_OFFSET): Likewise.
9413 (FAMILY_OFFSET): Likewise.
9414 (MODEL_OFFSET): Likewise.
9415 (FEATURE_OFFSET): Likewise.
9416 (FEATURE_SIZ): Likewise.
9417 (COMMON_CPUID_INDEX_1): Likewise.
9418 (COMMON_CPUID_INDEX_7): Likewise.
9419 (FEATURE_INDEX_1): Likewise.
9420 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
9421
9422 2018-08-02 Carlos O'Donell <carlos@redhat.com>
9423
9424 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
9425 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
9426 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
9427 (install-locales): Depend on install-locale-archive.
9428 (install-locale-archive): Define.
9429 (install-locale-files): Define.
9430 (build-one-locale): Define macro.
9431 * manual/install.texi (Running make install): Document.
9432 * manual/INSTALL: Regenerate.
9433
9434 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9435
9436 * benchtests/scripts/compare_strings.py: Import traceback.
9437 (parse_file): Pretty-print error.
9438
9439 * NEWS: Mention the change.
9440 * elf/dl-tunables.list: Rename tune namespace to cpu.
9441 * sysdeps/powerpc/dl-tunables.list: Likewise.
9442 * sysdeps/x86/dl-tunables.list: Likewise.
9443 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
9444 cpu.name.
9445 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
9446 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
9447 * manual/README.tunables: Likewise.
9448 * manual/tunables.texi: Likewise.
9449 * sysdeps/powerpc/cpu-features.c: Likewise.
9450 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
9451 (init_cpu_features): Likewise.
9452 * sysdeps/x86/cpu-features.c: Likewise.
9453 * sysdeps/x86/cpu-features.h: Likewise.
9454 * sysdeps/x86/cpu-tunables.c: Likewise.
9455 * sysdeps/x86_64/Makefile: Likewise.
9456 * sysdeps/x86/dl-cet.c: Likewise.
9457
9458 2018-08-02 Joseph Myers <joseph@codesourcery.com>
9459
9460 [BZ #23479]
9461 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
9462 [__mips_hard_float].
9463 (FE_UNDERFLOW): Likewise.
9464 (FE_OVERFLOW): Likewise.
9465 (FE_DIVBYZERO): Likewise.
9466 (FE_INVALID): Likewise.
9467 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
9468 (FE_TOWARDZERO): Define only if [__mips_hard_float].
9469 (FE_UPWARD): Likewise.
9470 (FE_DOWNWARD): Likewise.
9471 (__FE_UNDEFINED): Define if [!__mips_hard_float]
9472 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
9473 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
9474 [__mips_hard_float].
9475 (FP_ROUNDMODE): Likewise.
9476 (FP_RND_NEAREST): Likewise.
9477 (FP_RND_ZERO): Likewise.
9478 (FP_RND_PINF): Likewise.
9479 (FP_RND_MINF): Likewise.
9480 (FP_EX_INVALID): Likewise.
9481 (FP_EX_OVERFLOW): Likewise.
9482 (FP_EX_UNDERFLOW): Likewise.
9483 (FP_EX_DIVZERO): Likewise.
9484 (FP_EX_INEXACT): Likewise.
9485 (FP_INIT_ROUNDMODE): Likewise.
9486 * sysdeps/mips/nofpu/fesetenv.c: New file.
9487 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
9488
9489 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9490
9491 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
9492 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
9493 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
9494 conditional on [FE_UPWARD].
9495
9496 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
9497
9498 regex: fix memory leak in Gnulib
9499 Problem and fix reported by Assaf Gordon in:
9500 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
9501 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
9502 range_ends members too, as they are defined in 'struct
9503 re_charset_t' even if not _LIBC. This affects only Gnulib.
9504
9505 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
9506
9507 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
9508 ...
9509 (get_common_indices): This.
9510 (init_cpu_features): Updated.
9511
9512 2018-08-01 Joseph Myers <joseph@codesourcery.com>
9513
9514 * sysdeps/generic/math-tests-snan-payload.h: New file.
9515 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
9516 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
9517 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
9518 * sysdeps/generic/math-tests.h: Include
9519 <math-tests-snan-payload.h>.
9520 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9521 * sysdeps/hppa/math-tests.h: Remove file.
9522 * sysdeps/mips/math-tests.h [!__mips_nan2008]
9523 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9524 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
9525 Likewise.
9526
9527 * sysdeps/generic/math-tests-snan-cast.h: New file.
9528 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
9529 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
9530 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
9531 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
9532
9533 2018-08-01 Carlos O'Donel <carlos@redhat.com>
9534
9535 * version.h (RELEASE): Set to "development".
9536 (VERSION): Set to "2.28.9000".
9537 * NEWS (2.29): New section.
9538
9539 * version.h (RELEASE): Set to "stable".
9540 (VERSION): Set to "2.28".
9541 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
9542 * NEWS: Add the list of bugs fixed in 2.28.
9543
9544 * po/ca.po: Update to latest version.
9545 * po/cs.po: Likewise
9546 * po/da.po: Likewise
9547 * po/el.po: Likewise
9548 * po/eo.po: Likewise
9549 * po/es.po: Likewise
9550 * po/fi.po: Likewise
9551 * po/fr.po: Likewise
9552 * po/gl.po: Likewise
9553 * po/hu.po: Likewise
9554 * po/ia.po: Likewise
9555 * po/id.po: Likewise
9556 * po/it.po: Likewise
9557 * po/ja.po: Likewise
9558 * po/ko.po: Likewise
9559 * po/lt.po: Likewise
9560 * po/nb.po: Likewise
9561 * po/nl.po: Likewise
9562 * po/pt_BR.po: Likewise
9563 * po/ru.po: Likewise
9564 * po/rw.po: Likewise
9565 * po/sk.po: Likewise
9566 * po/sl.po: Likewise
9567 * po/tr.po: Likewise
9568 * po/zh_CN.po: Likewise
9569 * po/zh_TW.po: Likewise
9570
9571 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9572
9573 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
9574 initialization...
9575 (init): ... before initializing libpthread.
9576
9577 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
9578 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
9579 (__mach_setup_tls): ... new function.
9580 (mach_setup_tls): New alias.
9581 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
9582 __mach_setup_thread.
9583 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
9584 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
9585 * mach/Versions [libc] (mach_setup_tls): Add symbol.
9586 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
9587
9588 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9589
9590 * manual/install.texi: Update versions.
9591 * INSTALL: Regenerate.
9592
9593 * manual/contrib.texi (Contributors): Update contributions.
9594
9595 2018-07-31 Carlos O'Donell <carlos@redhat.com>
9596
9597 * po/be.po: Update translations.
9598
9599 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9600
9601 * sysdeps/sh/libm-test-ulps: Update.
9602
9603 2018-07-30 Carlos O'Donell <carlos@redhat.com>
9604
9605 * po/bg.po: Update translations.
9606 * po/de.po: Likewise.
9607 * po/hr.po: Likewise.
9608 * po/pt_BR.po: Likewise.
9609 * po/sv.po: Likewise.
9610 * po/vi.po: Likewise.
9611
9612 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9613
9614 [BZ #23467]
9615 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9616 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
9617 (CFLAGS-tst-cet-property-1.o): New.
9618 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
9619 ($(objpfx)tst-cet-property-2): Likewise.
9620 ($(objpfx)tst-cet-property-2.out): Likewise.
9621 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
9622 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
9623 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
9624 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
9625 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
9626
9627 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
9628
9629 [BZ #23458]
9630 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
9631
9632 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9633
9634 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
9635 __sbrk): Do not set attribute_hidden.
9636 * sysdeps/mach/hurd/not-errno.h: New file.
9637 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9638 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
9639
9640 2018-07-27 Carlos O'Donell <carlos@redhat.com>
9641
9642 * po/uk.po: Update translations.
9643 * po/cs.po: Likewise.
9644 * po/pl.po: Likewise.
9645
9646 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
9647
9648 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
9649 parse beyond the note end.
9650
9651 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9652
9653 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
9654 kernel does not support OFD locks.
9655 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
9656
9657 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9658
9659 * sysdeps/mach/hurd/Versions (libc): Make __access and
9660 __access_noerrno external so they can override the ld symbols.
9661 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
9662 __writev, __open64, __access_noerrno extern so they can be overrided.
9663 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
9664 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
9665
9666 2018-07-26 Carlos O'Donell <carlos@redhat.com>
9667
9668 * po/libc.pot: Regenerate.
9669
9670 2018-07-26 Joseph Myers <joseph@codesourcery.com>
9671
9672 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
9673
9674 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9675
9676 [BZ #23459]
9677 * sysdeps/x86/cpu-features.c (get_extended_indices): New
9678 function.
9679 (init_cpu_features): Call get_extended_indices for both Intel
9680 and AMD CPUs.
9681 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
9682 Remove "for AMD" comment.
9683
9684 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
9685
9686 [BZ # 23456]
9687 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
9688 COMMON_CPUID_INDEX_80000001.
9689
9690 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
9691
9692 * string/tst-xbzero-opt.c (use_test_buffer): New function.
9693 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
9694
9695 2018-07-26 Florian Weimer <fweimer@redhat.com>
9696
9697 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
9698 aliases for symbols not in the implementation namespace.
9699
9700 2018-07-25 Carlos O'Donell <carlos@redhat.com>
9701
9702 [BZ #23393]
9703 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
9704 lowercase in LATIN script.
9705 * localedata/Makefile (test-input): Add en_US.UTF-8.
9706 * localedata/en_US.UTF-8.in: New file.
9707 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
9708 and restore old tests.
9709 * posix/tst-regexloc.c (do_test): Add back range expression test.
9710
9711 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9712
9713 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
9714
9715 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9716
9717 * nptl/threads.h: Move to ...
9718 * sysdeps/nptl/threads.h: ... here.
9719 * sysdeps/hurd/stdc-predef.h: New file.
9720
9721 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9722
9723 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
9724 tst-cet-setcontext-1 if CET is enabled.
9725 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
9726 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
9727
9728 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9729
9730 * include/threads.h: Move to ...
9731 * sysdeps/nptl/threads.h: ... here.
9732 * sysdeps/htl/threads.h: New file.
9733 * conform/Makefile (linknamespace-libs-ISO11): Use
9734 static-thread-library instead of linking libpthread.
9735 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
9736
9737 2018-07-25 Florian Weimer <fweimer@redhat.com>
9738
9739 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
9740 nanoseconds into seconds.
9741 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
9742 (do_test): Likewise.
9743 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
9744 (do_test): Likewise. Avoid nanosecond overflow and spurious
9745 timeouts due to system load.
9746 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
9747 (child_wait): Increment it.
9748 (do_test): Wait as long as necessary until all expected threads
9749 have arrived.
9750
9751 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
9752 H.J. Lu <hongjiu.lu@intel.com>
9753
9754 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
9755 __ssp.
9756 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
9757 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
9758 (__push___start_context): New.
9759 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
9760 <asm/prctl.h>.
9761 (__getcontext): Record the current shadow stack base. Save the
9762 caller's shadow stack pointer and base.
9763 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
9764 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
9765 (__push___start_context): New prototype.
9766 (__makecontext): Call __push___start_context to allocate a new
9767 shadow stack, push __start_context onto the new stack as well
9768 as the new shadow stack.
9769 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
9770 <asm/prctl.h>.
9771 (__setcontext): Restore the target shadow stack.
9772 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
9773 <asm/prctl.h>.
9774 (__swapcontext): Record the current shadow stack base. Save
9775 the caller's shadow stack pointer and base. Restore the target
9776 shadow stack.
9777 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9778 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
9779 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
9780
9781 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9782
9783 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
9784 tst-setcontext8 and tst-setcontext9.
9785 * stdlib/tst-setcontext6.c: New file.
9786 * stdlib/tst-setcontext7.c: Likewise.
9787 * stdlib/tst-setcontext8.c: Likewise.
9788 * stdlib/tst-setcontext9.c: Likewise.
9789
9790 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9791
9792 * stdlib/Makefile ((tests): Add tst-setcontext5.
9793 * stdlib/tst-setcontext5.c: New file.
9794
9795 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9796
9797 * stdlib/Makefile (tests): Add tst-setcontext4.
9798 * stdlib/tst-setcontext4.c: New file.
9799
9800 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9801
9802 * stdlib/Makefile (tests): Add tst-swapcontext1.
9803 * stdlib/tst-swapcontext1.c: New test.
9804
9805 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9806
9807 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
9808 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
9809 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
9810 and tst-cet-legacy-4c.
9811 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
9812 and tst-cet-legacy-mod-4.
9813 (CFLAGS-tst-cet-legacy-2.c): New.
9814 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
9815 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
9816 (CFLAGS-tst-cet-legacy-3.c): Likewise.
9817 (CFLAGS-tst-cet-legacy-4.c): Likewise.
9818 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
9819 ($(objpfx)tst-cet-legacy-1): Likewise.
9820 ($(objpfx)tst-cet-legacy-2): Likewise.
9821 ($(objpfx)tst-cet-legacy-2.out): Likewise.
9822 ($(objpfx)tst-cet-legacy-2a): Likewise.
9823 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
9824 ($(objpfx)tst-cet-legacy-4): Likewise.
9825 ($(objpfx)tst-cet-legacy-4.out): Likewise.
9826 ($(objpfx)tst-cet-legacy-4a): Likewise.
9827 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
9828 (tst-cet-legacy-4a-ENV): Likewise.
9829 ($(objpfx)tst-cet-legacy-4b): Likewise.
9830 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
9831 (tst-cet-legacy-4b-ENV): Likewise.
9832 ($(objpfx)tst-cet-legacy-4c): Likewise.
9833 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
9834 (tst-cet-legacy-4c-ENV): Likewise.
9835 * sysdeps/x86/tst-cet-legacy-1.c: New file.
9836 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
9837 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
9838 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
9839 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
9840 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
9841 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
9842 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
9843 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
9844 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
9845 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
9846
9847 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
9848
9849 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9850 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9851 with ssp_base.
9852 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
9853 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
9854 with ssp_base.
9855
9856 2018-07-25 Andreas Schwab <schwab@suse.de>
9857
9858 [BZ #23442]
9859 * locale/weightwc.h (findidx): Handle the case where usrc is a
9860 prefix of cp but one character too short.
9861
9862 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9863
9864 * NEWS: Add ISO C threads addition.
9865
9866 2018-07-24 Florian Weimer <fweimer@redhat.com>
9867
9868 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9869 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
9870 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
9871 4.13.
9872
9873 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
9874
9875 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
9876 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
9877 <sys/prctl.h> and <asm/prctl.h>.
9878 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
9879 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
9880 and <asm/prctl.h>.
9881 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
9882 ARCH_CET_LEGACY_BITMAP.
9883 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
9884 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
9885 * sysdeps/x86/libc-start.c: Include <startup.h>.
9886
9887 2018-07-24 Florian Weimer <fweimer@redhat.com>
9888
9889 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
9890 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
9891
9892 2018-07-24 Rical Jasan <rj@2c3t.io>
9893 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9894 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9895
9896 [BZ #14092]
9897 * manual/debug.texi: Update adjacent chapter name.
9898 * manual/probes.texi: Likewise.
9899 * manual/threads.texi (ISO C Threads): New section.
9900 (POSIX Threads): Convert to a section.
9901
9902 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9903 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
9904
9905 [BZ# 14092]
9906 * nptl/Makefile (tests): Add new test files.
9907 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
9908 * nptl/tst-cnd-basic.c: Likewise.
9909 * nptl/tst-cnd-broadcast.c: Likewise.
9910 * nptl/tst-cnd-timedwait.c: Likewise.
9911 * nptl/tst-mtx-basic.c: Likewise.
9912 * nptl/tst-mtx-recursive.c: Likewise.
9913 * nptl/tst-mtx-timedlock.c: Likewise.
9914 * nptl/tst-mtx-trylock.c: Likewise.
9915 * nptl/tst-thrd-basic.c: Likewise.
9916 * nptl/tst-thrd-detach.c: Likewise.
9917 * nptl/tst-thrd-sleep.c: Likewise.
9918 * nptl/tst-tss-basic.c: Likewise.
9919
9920 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9921
9922 [BZ #14092]
9923 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9924 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
9925 symbols.
9926 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9927 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9928 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9929 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9930 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9931 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9932 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9933 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9934 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9935 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9936 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9937 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9939 Likewise.
9940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9941 Likewise.
9942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9943 Likewise.
9944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9945 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9946 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9947 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9948 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9949 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9950 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9951 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9952 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9953 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
9954 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
9955 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
9956 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
9957 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
9958 Likewise.
9959 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9960 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9961 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9962 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9963 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9964 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9965 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9966 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9967 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9968 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9969 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9970 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9971 ikewise.
9972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9974 Likewise.
9975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9976 Likewise.
9977 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9978 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9979 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9980 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9981 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9982 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9983 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9984 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9985
9986 [BZ #14092]
9987 * conform/data/threads.h-data (thread_local): New macro.
9988 (TSS_DTOR_ITERATIONS): Likewise.
9989 (tss_t): New type.
9990 (tss_dtor_t): Likewise.
9991 (tss_create): New function.
9992 (tss_get): Likewise.
9993 (tss_set): Likewise.
9994 (tss_delete): Likewise.
9995 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
9996 tss_get, and tss_set objects.
9997 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
9998 * nptl/tss_create.c: New file.
9999 * nptl/tss_delete.c: Likewise.
10000 * nptl/tss_get.c: Likewise.
10001 * nptl/tss_set.c: Likewise.
10002 * sysdeps/nptl/threads.h (thread_local): New define.
10003 (TSS_DTOR_ITERATIONS): Likewise.
10004 (tss_t): New typedef.
10005 (tss_dtor_t): Likewise.
10006 (tss_create): New prototype.
10007 (tss_get): Likewise.
10008 (tss_set): Likewise.
10009 (tss_delete): Likewise.
10010
10011 [BZ #14092]
10012 * conform/data/threads.h-data (cnd_t): New type.
10013 (cnd_init): New function.
10014 (cnd_signal): Likewise.
10015 (cnd_broadcast): Likewise.
10016 (cnd_wait): Likewise.
10017 (cnd_timedwait): Likewise.
10018 (cnd_destroy): Likewise.
10019 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10020 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10021 object.
10022 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10023 * nptl/cnd_broadcast.c: New file.
10024 * nptl/cnd_destroy.c: Likewise.
10025 * nptl/cnd_init.c: Likewise.
10026 * nptl/cnd_signal.c: Likewise.
10027 * nptl/cnd_timedwait.c: Likewise.
10028 * nptl/cnd_wait.c: Likewise.
10029 * sysdeps/nptl/threads.h (cnd_t): New type.
10030 (cnd_init): New prototype.
10031 (cnd_signa): Likewise.
10032 (cnd_broadcast): Likewise.
10033 (cnd_wait): Likewise.
10034 (cnd_timedwait): Likewise.
10035 (cnd_destroy): Likewise.
10036
10037 [BZ #14092]
10038 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10039 (once_flag): New type.
10040 (call_once): New function.
10041 * nptl/Makefile (libpthread-routines): Add call_once object.
10042 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10043 * nptl/call_once.c: New file.
10044 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10045 (once_flag): New type.
10046 (call_once): New prototype.
10047
10048 [BZ #14092]
10049 * conform/data/threads.h-data (mtx_plain): New constant.
10050 (mtx_recursive): Likewise.
10051 (mtx_timed): Likewise.
10052 (mtx_t): New type.
10053 (mtx_init): New function.
10054 (mtx_lock): Likewise.
10055 (mtx_timedlock): Likewise.
10056 (mtx_trylock): Likewise.
10057 (mtx_unlock): Likewise.
10058 (mtx_destroy): Likewise.
10059 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10060 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10061 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10062 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10063 * nptl/mtx_destroy.c: New file.
10064 * nptl/mtx_init.c: Likewise.
10065 * nptl/mtx_lock.c: Likewise.
10066 * nptl/mtx_timedlock.c: Likewise.
10067 * nptl/mtx_trylock.c: Likewise.
10068 * nptl/mtx_unlock.c: Likewise.
10069 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10070 (mtx_recursive): Likewise.
10071 (mtx_timed): Likewise.
10072 (mtx_t): New type.
10073 (mtx_init): New prototype.
10074 (mtx_lock): Likewise.
10075 (mtx_timedlock): Likewise.
10076 (mtx_trylock): Likewise.
10077 (mtx_unlock): Likewise.
10078 (mtx_destroy): Likewise.
10079
10080 [BZ #14092]
10081 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10082 (linknamespace-libs-ISO11): Add libpthread.a.
10083 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10084 functions.
10085 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10086 * nptl/Makefile (headers): Add threads.h.
10087 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10088 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10089 thrd_yield.
10090 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
10091 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
10092 thrd_join, thrd_sleep, and thrd_yield symbols.
10093 * nptl/descr.h (struct pthread): Add c11 field.
10094 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
10095 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
10096 routine with expected function prototype.
10097 (__pthread_create_2_1): Add C11 threads check based on attribute
10098 value.
10099 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
10100 * nptl/thrd_create.c: New file.
10101 * nptl/thrd_current.c: Likewise.
10102 * nptl/thrd_detach.c: Likewise.
10103 * nptl/thrd_equal.c: Likewise.
10104 * nptl/thrd_exit.c: Likewise.
10105 * nptl/thrd_join.c: Likewise.
10106 * nptl/thrd_priv.h: Likewise.
10107 * nptl/thrd_sleep.c: Likewise.
10108 * nptl/thrd_yield.c: Likewise.
10109 * include/threads.h: Likewise.
10110
10111 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10112
10113 * bits/indirect-return.h: New file.
10114 * misc/sys/cdefs.h (__glibc_has_attribute): New.
10115 * sysdeps/x86/bits/indirect-return.h: Likewise.
10116 * stdlib/Makefile (headers): Add bits/indirect-return.h.
10117 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
10118 (swapcontext): Add __INDIRECT_RETURN.
10119 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
10120 (prepare_test_buffer): Use it.
10121
10122 2018-07-24 Andreas Schwab <schwab@suse.de>
10123
10124 [BZ #23448]
10125 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
10126 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
10127
10128 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10129
10130 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
10131 Redefine if shadow stack is enabled.
10132 (SYSCALL_ERROR_LABEL): Likewise.
10133 (__vfork): Pop shadow stack and jump back to to caller directly
10134 when shadow stack is in use.
10135 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
10136 Redefine if shadow stack is enabled.
10137 (SYSCALL_ERROR_LABEL): Likewise.
10138 (__vfork): Pop shadow stack and jump back to to caller directly
10139 when shadow stack is in use.
10140
10141 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10142
10143 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
10144 enabled.
10145 (foo): Likewise.
10146 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
10147 (foo): Likewise.
10148
10149 2018-07-20 Joseph Myers <joseph@codesourcery.com>
10150
10151 * scripts/build-many-glibcs.py (Context.checkout): Default
10152 binutils version to 2.31 branch.
10153
10154 2018-07-20 Zong Li <zong@andestech.com>
10155
10156 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
10157 URL of gcc's tarball.
10158
10159 2018-07-20 Florian Weimer <fweimer@redhat.com>
10160
10161 [BZ #23396]
10162 * posix/regcomp.c (build_equiv_class): When comparing weights, do
10163 not compare an extra byte after the end of the weights.
10164
10165 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10166
10167 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
10168 to 1.
10169 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
10170 hidden prototypes.
10171 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
10172 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
10173 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10174 list of libraries whose stack executability is expected.
10175 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10176 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10177 variable.
10178 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10179 libc.so libpthread.so.
10180
10181 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10182
10183 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10184 SOCK_NONBLOCK.
10185 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10186 and SOCK_NONBLOCK.
10187 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10188 implement __pipe2.
10189 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
10190
10191 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10192
10193 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10194 library to improve command line parsing.
10195 (__main__): make schema file as optional parameter (--schema),
10196 defaulting to benchtests/scripts/benchout.schema.json.
10197 (main): move out of the parsing stuff to __main_  and leave it
10198 only as caller of main comparison functions.
10199
10200 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10201
10202 * NEWS: Add a note for Intel CET status.
10203 * manual/install.texi: Likewise.
10204 * INSTALL: Regenerated.
10205
10206 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10207
10208 [BZ #23140]
10209 * localedata/locales/oc_FR (mon): Rename to...
10210 (alt_mon): This, then update October (typo fix).
10211 (mon): New content (genitive case, month names preceded by
10212 "de" or "d’").
10213
10214 [BZ #23422]
10215 * localedata/locales/oc_FR (abday): Update all items.
10216 (day): Update Wednesday and Saturday (typo fixes).
10217 (abmon): Update all items, except May.
10218 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10219 (LC_IDENTIFICATION): Bump the revision number and date.
10220 Keep the "category" entries in alphabetic order.
10221 (LC_ADDRESS): Remove no longer needed comment.
10222 (LC_COLLATE): Use “copy "ca_ES"”.
10223 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10224 "name_mrs".
10225
10226 2018-07-18 Joseph Myers <joseph@codesourcery.com>
10227
10228 * grp/tst_fgetgrent.c: Include <unistd.h>.
10229 (main): Use mkstemp instead of tmpnam.
10230 * io/test-utime.c (main): Likewise.
10231 * posix/annexc.c (macrofile): Change to modifiable array.
10232 (main): Remove macrofile here.
10233 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10234 macrofile here.
10235 (check_header): Do not remove macrofile here.
10236 * posix/bug-getopt1.c: Include <stdlib.h>.
10237 (do_test): Use mkstemp instead of tmpnam.
10238 * posix/bug-getopt2.c: Include <stdlib.h>.
10239 (do_test): Use mkstemp instead of tmpnam.
10240 * posix/bug-getopt3.c: Include <stdlib.h>.
10241 (do_test): Use mkstemp instead of tmpnam.
10242 * posix/bug-getopt4.c: Include <stdlib.h>.
10243 (do_test): Use mkstemp instead of tmpnam.
10244 * posix/bug-getopt5.c: Include <stdlib.h>.
10245 (do_test): Use mkstemp instead of tmpnam.
10246 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10247 (main): Use mkstemp instead of tmpnam.
10248 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10249 (main): Use mkstemp instead of tmpnam.
10250 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10251 (main): use mkstemp instead of tmpnam.
10252 * stdlib/isomac.c (macrofile): Change to modifiable array.
10253 (main): Remove macrofile here.
10254 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10255 macrofile here.
10256 (check_header): Do not remove macrofile here.
10257
10258 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10259
10260 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10261 glibc.tune.x86_shstk.
10262
10263 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10264
10265 * NEWS: Mention --enable-cet.
10266 * manual/install.texi: Document --enable-cet.
10267 * INSTALL: Regenerated.
10268
10269 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10270
10271 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10272 Add _CET_NOTRACK before indirect jump to jump table.
10273
10274 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10275
10276 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10277 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10278 to jump table.
10279
10280 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10281
10282 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10283 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10284 to jump table.
10285
10286 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10287
10288 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
10289 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10290 to jump table.
10291
10292 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10293
10294 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
10295 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10296 to jump table.
10297
10298 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10299
10300 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
10301 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10302 to jump table.
10303 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10304
10305 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10306
10307 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10308 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10309 to jump table.
10310
10311 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10312
10313 * sysdeps/i386/i686/multiarch/memset-sse2.S
10314 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10315 to jump table.
10316
10317 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10318
10319 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
10320 indirect jump to jump table.
10321
10322 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10323
10324 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10325 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10326 to jump table.
10327 (MEMCPY): Likewise.
10328
10329 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10330
10331 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
10332 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10333 to jump table.
10334 (MEMCPY): Likewise.
10335
10336 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10337
10338 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10339 _CET_NOTRACK before indirect jump to jump table.
10340
10341 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10342
10343 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
10344 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10345 to jump table.
10346
10347 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10348
10349 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
10350 indirect jump to jump table.
10351
10352 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
10353
10354 [BZ #22241]
10355 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
10356 (LOCALES): Likewise.
10357 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
10358 * localedata/locales/sah_RU: New file.
10359 * localedata/sah_RU.UTF-8.in: New file.
10360
10361 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10362
10363 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
10364 "sysdep.h".
10365 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10366 _CET_ENDBR to indirect jump targets and adjust jump destination
10367 for _CET_ENDBR.
10368 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
10369 "sysdep.h".
10370 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10371 _CET_ENDBR to indirect jump targets and adjust jump destination
10372 for _CET_ENDBR.
10373 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
10374 "sysdep.h".
10375 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
10376 _CET_ENDBR to indirect jump targets and adjust jump destination
10377 for _CET_ENDBR.
10378
10379 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10380
10381 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10382 _CET_ENDBR.
10383
10384 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10385
10386 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
10387 _CET_ENDBR.
10388 (_dl_tlsdesc_undefweak): Likewise.
10389 (_dl_tlsdesc_dynamic): Likewise.
10390 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
10391 (_dl_tlsdesc_resolve_rel): Likewise.
10392 (_dl_tlsdesc_resolve_rela): Likewise.
10393 (_dl_tlsdesc_resolve_hold): Likewise.
10394 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
10395 (_dl_tlsdesc_undefweak): Likewise.
10396 (_dl_tlsdesc_dynamic): Likewise.
10397 (_dl_tlsdesc_resolve_rela): Likewise.
10398 (_dl_tlsdesc_resolve_hold): Likewise.
10399
10400 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10401
10402 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
10403 (_fini): Likewise.
10404 * sysdeps/x86_64/crti.S (_init): Likewise.
10405 (_fini): Likewise.
10406
10407 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
10408
10409 [BZ #23140]
10410 * localedata/locales/os_RU (mon): Rename to...
10411 (alt_mon): This.
10412 (mon): Import from CLDR (genitive case).
10413
10414 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10415
10416 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
10417 cet-tunables.h> when CET is enabled.
10418
10419 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
10420
10421 [BZ #21598]
10422 * configure.ac: Add --enable-cet.
10423 * configure: Regenerated.
10424 * elf/Makefille (all-built-dso): Add a comment.
10425 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
10426 Include <dl-prop.h>.
10427 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
10428 segment.
10429 * elf/dl-open.c: Include <dl-prop.h>.
10430 (dl_open_worker): Call _dl_open_check.
10431 * elf/rtld.c: Include <dl-prop.h>.
10432 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
10433 _rtld_main_check.
10434 * sysdeps/generic/dl-prop.h: New file.
10435 * sysdeps/i386/dl-cet.c: Likewise.
10436 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
10437 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
10438 * sysdeps/x86/cet-tunables.h: Likewise.
10439 * sysdeps/x86/check-cet.awk: Likewise.
10440 * sysdeps/x86/configure: Likewise.
10441 * sysdeps/x86/configure.ac: Likewise.
10442 * sysdeps/x86/dl-cet.c: Likewise.
10443 * sysdeps/x86/dl-procruntime.c: Likewise.
10444 * sysdeps/x86/dl-prop.h: Likewise.
10445 * sysdeps/x86/libc-start.h: Likewise.
10446 * sysdeps/x86/link_map.h: Likewise.
10447 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
10448 _CET_ENDBR.
10449 (_dl_runtime_profile): Likewise.
10450 (_dl_runtime_resolve_shstk): New.
10451 (_dl_runtime_profile_shstk): Likewise.
10452 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
10453 if CET is enabled.
10454 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
10455 (CFLAGS-.os): Likewise.
10456 (CFLAGS-.op): Likewise.
10457 (CFLAGS-.oS): Likewise.
10458 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
10459 is enabled.
10460 (tests-special): Add $(objpfx)check-cet.out.
10461 (cet-built-dso): New.
10462 (+$(cet-built-dso:=.note)): Likewise.
10463 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
10464 ($(objpfx)check-cet.out): New.
10465 (generated): Add check-cet.out.
10466 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
10467 <cet-tunables.h>.
10468 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
10469 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10470 (init_cpu_features): Call get_cet_status to check CET status
10471 and update dl_x86_feature_1 with CET status. Call
10472 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
10473 (set_x86_shstk). Disable and lock CET in libc.a.
10474 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
10475 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
10476 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10477 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
10478 (_CET_ENDBR): Define if not defined.
10479 (ENTRY): Add _CET_ENDBR.
10480 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
10481 x86_shstk.
10482 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
10483 _CET_ENDBR.
10484 (_dl_runtime_profile): Likewise.
10485
10486 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10487
10488 [BZ #21895]
10489 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
10490 restore r2 on longjmp.
10491 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
10492 test list.
10493 Added rules to build test tst-setjmp-bug21895-static.
10494 Added module setjmp-bug21895 and rules to build a shared object from it.
10495 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
10496 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
10497
10498 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
10499
10500 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
10501 * benchtests/bench-strstr.c: Likewise.
10502 * string/memmem.c (FASTSEARCH): Define.
10503 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
10504 Add support for FASTSEARCH.
10505 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
10506 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
10507 (FASTSEARCH): Define.
10508 * string/test-strcasestr.c: Rename __strnlen to strnlen.
10509 * string/test-strstr.c: Likewise.
10510
10511 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
10512
10513 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
10514 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
10515
10516 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
10517 H.J. Lu <hongjiu.lu@intel.com>
10518
10519 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
10520 (__longjmp): Restore shadow stack pointer if shadow stack is
10521 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10522 isn't defined for __longjmp_cancel.
10523 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
10524 (_setjmp): Save shadow stack pointer if shadow stack is enabled
10525 and SHADOW_STACK_POINTER_OFFSET is defined.
10526 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
10527 (setjmp): Save shadow stack pointer if shadow stack is enabled
10528 and SHADOW_STACK_POINTER_OFFSET is defined.
10529 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
10530 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10531 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10532 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
10533 <jmp_buf-ssp.h>.
10534 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10535 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10536 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
10537 Remove jmp_buf-ssp.sym.
10538 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10539 <jmp_buf-ssp.h>.
10540 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10541 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10542 * sysdeps/x86/Makefile (gen-as-const-headers): Add
10543 jmp_buf-ssp.sym.
10544 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
10545 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
10546 (__longjmp): Restore shadow stack pointer if shadow stack is
10547 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10548 isn't defined for __longjmp_cancel.
10549 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
10550 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10551 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10552
10553 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
10554
10555 [BZ #22563]
10556 * nptl/pthread_create.c: Include <tls-setup.h>.
10557 (__pthread_create_2_1): Call tls_setup_tcbhead.
10558 * sysdeps/generic/tls-setup.h: New file.
10559 * sysdeps/x86/nptl/tls-setup.h: Likewise.
10560 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
10561 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
10562 Likewise.
10563 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
10564 to feature_1.
10565 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10566 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
10567 (X86_FEATURE_1_SHSTK): Likewise.
10568 (CET_ENABLED): Likewise.
10569 (IBT_ENABLED): Likewise.
10570 (SHSTK_ENABLED): Likewise.
10571
10572 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
10573
10574 [BZ #23208]
10575 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
10576 (LOCALES): Likewise.
10577 * localedata/dsb_DE.UTF-8.in: New file.
10578 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
10579
10580 2018-07-12 Florian Weimer <fweimer@redhat.com>
10581
10582 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
10583 __mprotect, not mprotect.
10584
10585 2018-07-11 Florian Weimer <fweimer@redhat.com>
10586
10587 * io/Makefile (headers): Add bits/statx.h.
10588
10589 2018-07-10 Mike FABIAN <mfabian@redhat.com>
10590
10591 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
10592 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
10593 and headers.
10594 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
10595 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
10596 for utf8_gen.py
10597
10598 2018-07-10 Florian Weimer <fweimer@redhat.com>
10599
10600 * io/Makefile (routines): Add statx.
10601 (tests-internal): Add tst-statx.
10602 * io/Versions (GLIBC_2.28): Export statx.
10603 * io/bits/statx.h: New file.
10604 * io/sys/stat.h [__USE_GNU]: Include it.
10605 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
10606 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
10607 Define.
10608 * io/statx.c: New file.
10609 * io/statx_generic.: Likewise.
10610 * io/tst-statx.: Likewise.
10611 * include/bits/statx.h: Likewise.
10612 * sysdeps/unix/sysv/linux/kernel-features.h
10613 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
10614 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10615 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
10616 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
10617 Undefine.
10618 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10619 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
10620 * sysdeps/unix/sysv/linux/statx.c: New file.
10621 * manual/filesys.texi: Note that statx is undocumented.
10622 * sysdeps/**/libc*.abilist: Update.
10623
10624 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10625
10626 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
10627 a kernel issue which lead to test failure in some cases.
10628
10629 2018-07-10 Florian Weimer <fweimer@redhat.com>
10630
10631 [BZ #23036]
10632 * posix/regexec.c (check_node_accept_bytes): When comparing
10633 weights, do not compare an extra byte after the end of the
10634 weights.
10635
10636 2018-07-10 Florian Weimer <fweimer@redhat.com>
10637
10638 * libio/readline.c: Fix copyright year.
10639 * libio/tst-readline.c Likewise.
10640 * nss/tst-nss-files-hosts-getent.c: Likewise.
10641
10642 2018-07-06 Florian Weimer <fweimer@redhat.com>
10643
10644 [BZ #18991]
10645 * nss/nss_files/files-XXX.c (internal_getent): Use
10646 __libc_readline_unlocked. Seek back to the start of the line if
10647 parsing failes with ERANGE.
10648 (get_contents_ret, get_contents): Remove.
10649 * nss/tst-nss-files-hosts-getent.c: New file.
10650 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
10651 (tst-nss-files-hosts-getent): Link with -ldl.
10652
10653 2018-07-06 Florian Weimer <fweimer@redhat.com>
10654
10655 * include/stdio.h (__libc_readline_unlocked): Declare.
10656 (__ftello64, __fseeko64): Declare aliases.
10657 * libio/readline.c: New file.
10658 * libio/tst-readline.c: Likewise.
10659 (routines): Add readline.
10660 (tests-internal): Add tst-readlime.
10661 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
10662 __libc_readline_unlocked.
10663 * libio/fseeko.c (__fseeko): Rename from fseeko.
10664 (fseeko): Add alias.
10665 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
10666 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
10667 (fseeko64): Add alias.
10668 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
10669 * libio/ftello64.c (__ftello64): Rename from ftello64.
10670 (ftello64): Add alias.
10671
10672 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10673
10674 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
10675 HWCAP_ATOMICS.
10676
10677 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10678
10679 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
10680 Use dl_hwcap without masking.
10681 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
10682 Remove HWCAP_CPUID.
10683
10684 2018-07-06 Florian Weimer <fweimer@redhat.com>
10685
10686 * conform/conformtest.pl (checknamespace): Escape literal braces
10687 in regular expressions.
10688
10689 2018-07-06 Amit Pawar <amit.pawar@amd.com>
10690
10691 * sysdeps/x86/cpu-features.c (get_common_indeces):
10692 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
10693 * sysdeps/x86/cpu-features.c (init_cpu_features):
10694 AVX_Fast_Unaligned_Load is disabled for Excavator core.
10695
10696 2018-07-05 Florian Weimer <fweimer@redhat.com>
10697
10698 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
10699 protector.
10700 (CFLAGS-elf-init.oS): Likewise.
10701
10702 2018-07-05 Florian Weimer <fweimer@redhat.com>
10703 Carlos O'Donell <carlos@redhat.com>
10704
10705 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
10706 $(no-stack-protector). stack_chk_fail_local.c can be compiled
10707 with stack protector enabled because there is no risk of infinite
10708 recursion.
10709
10710 2018-07-05 Maciej W. Rozycki <macro@mips.com>
10711
10712 [BZ #19818]
10713 [BZ #23307]
10714 * libc-abis (ABSOLUTE): New ABI.
10715 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
10716 * NEWS: Mention the new ABI.
10717
10718 2018-07-05 Florian Weimer <fweimer@redhat.com>
10719
10720 [BZ # 17662]
10721 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
10722 (RENAME_WHITEOUT): Define.
10723 [__USE_GNU] (renameat2): Declare.
10724 * stdio-common/Makefile (routines): Add renameat2.
10725 (tests): Add tst-renameat2.
10726 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
10727 * stdio-common/renameat2.c: New file.
10728 * stdio-common/tst-renameat2.c: Likewise.
10729 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
10730 * manual/filesys.texi (Temporary Files): Note that renameat2 is
10731 undocumented.
10732 * sysdeps/unix/sysv/linux/kernel-features.h
10733 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
10734 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10735 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10736 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10737 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
10738 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10739 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
10740 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10741 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
10742 * include/stdio.h (__renameat): Add alias for renameat.
10743 * stdio-common/renameat.c (__renameat): Rename from renameat.
10744 Add hidden definition and alias.
10745 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10746 * sysdeps/mach/hurd/renameat.c: Likewise.
10747 * sysdeps/**/libc*.abilist: Add renameat2.
10748
10749 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10750
10751 * posix/bug-regex33.c: Fix build after regex sync.
10752
10753 2018-07-04 Carlos O'Donell <carlos@redhat.com>
10754
10755 [BZ #23164]
10756 * localedata/tst-langinfo-setlocale.c: New file.
10757 * localedata/tst-langinfo-setlocale-static.c: New file.
10758 * localedata/tst-langinfo-newlocale.c: New file.
10759 * localedata/tst-langinfo-newlocale-static.c: New file.
10760 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
10761 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
10762 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
10763 (tests-static): Remove tst-langinfo-static. Add
10764 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
10765 (tests-special): Remove $(objpfx)tst-langinfo.out,
10766 $(objpfx)tst-langinfo-static.out. Add
10767 $(objpfx)tst-langinfo-setlocale.out,
10768 $(objpfx)tst-langinfo-newlocale.out,
10769 $(objpfx)tst-langinfo-setlocale-static.out,
10770 $(objpfx)tst-langinfo-newlocale-static.out.
10771 ($(objpfx)tst-langinfo.out): Remove.
10772 ($(objpfx)tst-langinfo-static.out): Remove.
10773 ($(objpfx)tst-langinfo-newlocale.out): New target.
10774 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
10775 (test-xfail-tst-langinfo-newlocale-static): Add.
10776 ($(objpfx)tst-langinfo-setlocale.out): New target.
10777 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
10778 * localedata/tst-langinfo.c: Call test_locale.
10779 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
10780 data.
10781
10782 2018-07-04 Florian Weimer <fweimer@redhat.com>
10783
10784 testrun.sh: Implement --tool=strace, --tool=valgrind
10785 * Makefile (testrun-script): Define variable.
10786 (testrun.sh): Use variable.
10787 * manual/install.texi (Tools for Compilation): make 4.0 or later
10788 is required.
10789 * configure.ac: Check for make 4.0 or later.
10790 * INSTALL: Regenerate.
10791 * configure: Likewise.
10792
10793 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10794
10795 [BZ #23233]
10796 [BZ #21163]
10797 [BZ #18986]
10798 [BZ #13762]
10799 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
10800 * posix/PCRE.tests: Remove invalid test.
10801 * posix/bug-regex28.c: Fix expected values for used syntax.
10802 * posix/bug-regex37.c: New file.
10803 * posix/bug-regex38.c: Likewise.
10804 * posix/regcomp.c: Sync with gnulib.
10805 * posix/regex.c: Likewise.
10806 * posix/regex.h: Likewise.
10807 * posix/regex_internal.c: Likewise.
10808 * posix/regex_internal.h: Likewise.
10809 * posix/regexec.c: Likewise.
10810
10811 2018-06-26 Mike FABIAN <mfabian@redhat.com>
10812
10813 [BZ #23308]
10814 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
10815 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
10816 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
10817 * localedata/unicode-gen/PropList.txt: likewise.
10818 * localedata/unicode-gen/UnicodeData.txt: likewise.
10819 * localedata/charmaps/UTF-8: Regenerate.
10820 * localedata/locales/i18n_ctype: likewise.
10821 * localedata/locales/tr_TR: likewise.
10822 * localedata/locales/translit_circle: likewise.
10823 * localedata/locales/translit_cjk_compat: likewise.
10824 * localedata/locales/translit_combining: likewise.
10825 * localedata/locales/translit_compat: likewise.
10826 * localedata/locales/translit_font: likewise.
10827 * localedata/locales/translit_fraction: likewise.
10828
10829 2018-07-03 Florian Weimer <fweimer@redhat.com>
10830
10831 [BZ #23363]
10832 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
10833 * stdio-common/tst-printf.sh: Adjust expected output.
10834 * LICENSES: Update.
10835
10836 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10837
10838 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
10839 symbol.
10840
10841 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10842
10843 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
10844 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
10845 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
10846 * stdio-common/tst-printfsz-islongdouble.c: New file.
10847 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
10848 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
10849 [subdir == stdio-common] (routines): Add ieee128-printf_size.
10850 [subdir == stdio-common] (tests-internal): Add
10851 test-printf-size-ieee128, and test-printf-size-ibm128.
10852 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
10853 (CFLAGS-test-printf-size-ibm128.c): New variables.
10854 [subdir == stdio-common] (tests-special): Add
10855 $(objpfx)test-printf-size-ieee128.out and
10856 $(objpfx)test-printf-size-ibm128.out.
10857 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
10858 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
10859 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
10860 __printf_sizeieee128.
10861 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
10862 New file.
10863 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
10864 Likewise.
10865 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
10866 Likewise.
10867
10868 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10869
10870 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
10871 (exp2f_inline): Likewise.
10872 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
10873 (__math_uflowf): Likewise.
10874 (__math_may_uflowf): Likewise.
10875 (__math_divzerof): Likewise.
10876 (__math_invalidf): Likewise.
10877 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
10878 (__math_oflowf): Likewise.
10879 (__math_uflowf): Likewise.
10880 (__math_may_uflowf): Likewise.
10881 (__math_divzerof): Likewise.
10882 (__math_invalidf): Likewise.
10883
10884 2018-06-29 DJ Delorie <dj@redhat.com>
10885 Carlos O'Donell <carlos@redhat.com>
10886
10887 [BZ #23329]
10888 * include/libc-symbols.h: Comment the freeres framework.
10889 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
10890 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
10891 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
10892 * dlfcn/dlerror.c: Include libc-symbols.h
10893 (__dlerror_main_freeres): New function.
10894 * dlfcn/dlfreeres.c: New file.
10895 * dlfcn/sdlfreeres.c: New file.
10896 * include/dlfcn.h: Declare __dlerror_main_freeres.
10897 * malloc/set-freeres.c: Declare __libdl_freeres, and
10898 __libpthread_freeres.
10899 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
10900 the releavant libraries are loaded.
10901 * malloc/thread-freeres.c: Add comments.
10902 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
10903 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
10904 * nptl/allocatestack.c (__nptl_free_stacks): New function.
10905 (__free_stacks): Rename to...
10906 (free_stacks): ...this. Mark static.
10907 (queue_stack): Call free_stacks.
10908 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
10909 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
10910 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
10911 ptr_freeres element from struct.
10912 (pthread_functions): Remove .ptr_freeres from struct initializer.
10913 [SHARED] (nptl_freeres): Remove.
10914 * nptl/nptlfreeres.c: New file.
10915 * nptl/pthreadP.h
10916 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
10917 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
10918 attribute_hidden.
10919 (__free_stacks): Rename to...
10920 (__nptl_stacks_freeres): ...this.
10921 (__shm_directory_freeres): Declare.
10922 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
10923 (__nptl_unwind_freeres): ...this.
10924 * resolv/res-close.c: Add comment.
10925 * resolv/resolv_conf.c: Include libc-symbols.h.
10926 * string/strerror_l.c: Include libc-symbols.h.
10927 * sunrpc/rpc_thread.c: Include libc-symbols.h.
10928 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
10929 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
10930 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
10931
10932 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10933
10934 * stdlib/tst-strfmon_l.c: Add tests for long double.
10935
10936 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
10937
10938 [BZ #23208]
10939 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
10940 * localedata/locales/dsb_DE: New file.
10941
10942 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
10943
10944 [BZ #23140]
10945 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
10946 genitive case).
10947 (alt_mon): New entry, import from CLDR (nominative case).
10948
10949 2018-06-29 Sylvain Lesage <severo@rednegra.net>
10950
10951 [BZ #22996]
10952 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
10953
10954 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
10955
10956 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10957 Use vector registers.
10958
10959 * sysdeps/aarch64/multiarch/memmove_falkor.S
10960 (__memcpy_falkor): Use vector registers.
10961
10962 2018-06-29 Martin Sebor <msebor@redhat.com>
10963
10964 * manual/stdio.texi (Customizing Printf): Mention interaction
10965 with GCC built-ins.
10966
10967 2018-06-29 Maciej W. Rozycki <macro@mips.com>
10968
10969 [BZ #23307]
10970 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
10971 `st_value' is 0 if `st_shndx' is SHN_ABS.
10972 * elf/tst-absolute-zero.c: New file.
10973 * elf/tst-absolute-zero-lib.c: New file.
10974 * elf/tst-absolute-zero-lib.lds: New file.
10975 * elf/Makefile (tests): Add `tst-absolute-zero'.
10976 (modules-names): Add `tst-absolute-zero-lib'.
10977 (LDLIBS-tst-absolute-zero-lib.so): New variable.
10978 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
10979 ($(objpfx)tst-absolute-zero: New dependency.
10980
10981 2018-06-29 Zack Weinberg <zackw@panix.com>
10982
10983 * configure.ac: New command-line option --disable-crypt.
10984 Force --disable-nss-crypt when --disable-crypt is given, with a
10985 warning if it was explicitly enabled.
10986 * configure: Regenerate.
10987 * config.make.in: New boolean substitution variable $(build-crypt).
10988 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
10989 when $(build-crypt).
10990 * manual/install.texi: Document --disable-crypt.
10991 * INSTALL: Regenerate.
10992
10993 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
10994 which is never set.
10995 * conform/Makefile: Only include libcrypt.a in
10996 linknamespace-libs-xsi and linknamespace-libs-XPG4
10997 when $(build-crypt).
10998 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
10999 USE_CRYPT to 1 when $(build-crypt).
11000 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11001 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11002 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11003
11004 2018-06-29 Zack Weinberg <zackw@panix.com>
11005
11006 * crypt/crypt.h, posix/unistd.h: Update comments and
11007 prototypes for crypt and crypt_r.
11008
11009 * manual/crypt.texi (Cryptographic Functions): New initial
11010 exposition.
11011 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11012 (Unpredictable Bytes): Improve initial exposition. Clarify error
11013 behavior of getentropy and getrandom.
11014 * manual/examples/genpass.c: Generate a salt using getentropy
11015 instead of the current time. Use hash $5$ (SHA-2-256).
11016 * manual/examples/testpass.c: Demonstrate validation against
11017 hashes generated with three different one-way functions.
11018
11019 * manual/intro.texi: crypt.texi does not need an overview
11020 anymore.
11021
11022 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11023 * manual/terminal.texi: Consistently refer to "passphrases"
11024 * instead of "passwords", and to the "user database" instead
11025 * of the "password database".
11026 * manual/users.texi: Similarly. Add notes about how actual
11027 passphrase hashes are now stored in the shadow database.
11028 Remove 20-year-old junk todo note.
11029
11030 2018-06-29 Zack Weinberg <zackw@panix.com>
11031
11032 * manual/crypt.texi: Use a normal top-level @node declaration.
11033 Move most of the introductory text to the 'crypt' section.
11034 Move the example programs below the @deftypefun for 'crypt_r'.
11035 Move the 'getpass' section...
11036 * manual/terminal.texi: ...here.
11037
11038 2018-06-29 Zack Weinberg <zackw@panix.com>
11039 Florian Weimer <fweimer@redhat.com>
11040
11041 * posix/unistd.h: Do not declare encrypt.
11042 (_XOPEN_CRYPT): Remove macro definition.
11043 (crypt): Declare only for _USE_MISC.
11044 * stdlib/stdlib.h: Do not declare setkey.
11045 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11046 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11047
11048 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11049 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11050 into compat symbols. Don't define initial_perm if it's not
11051 going to be used.
11052 * crypt/cert.c: Link explicitly with the expected versions for
11053 setkey and encrypt. If they are not available at all, mark
11054 the test as unsupported.
11055
11056 * sunrpc/des_crypt.c: Unconditionally block linkage with
11057 cbc_crypt and ecb_crypt for new binaries.
11058 * sunrpc/des_soft.c: Unconditionally block linkage with
11059 des_setparity for new binaries.
11060
11061 * manual/crypt.texi: Remove the entire "DES Encryption"
11062 section. Also remove the paragraph talking about FIPS 140-2
11063 from the introduction.
11064 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11065 of libgcrypt for "real" encryption, not DES.
11066 * manual/conf.texi (Constants for Sysconf): Mention that
11067 _XOPEN_CRYPT is no longer impelemented.
11068
11069 * conform/data/unistd.h-data: Remove crypt function declaration.
11070
11071 2018-06-29 Florian Weimer <fweimer@redhat.com>
11072
11073 [BZ #23351]
11074 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11075 (disallow_malloc_check): Remove variable.
11076 (__malloc_check_init): Adjust.
11077 (malloc_set_state): Update comment.
11078 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11079 declarations.
11080
11081 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11082
11083 [BZ #23140]
11084 * localedata/locales/ast_ES (mon): Rename to...
11085 (alt_mon): This.
11086 (mon): Import from CLDR (genitive case).
11087
11088 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11089 Jakub Sitnicki <jkbs@redhat.com>
11090
11091 [BZ #21812]
11092 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
11093 on NLM_F_DUMP_INTR.
11094
11095 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11096
11097 * manual/llio.texi: Remove spurious space.
11098
11099 2018-06-28 Florian Weimer <fweimer@redhat.com>
11100
11101 [BZ #23349]
11102 * time/bits/types/struct_timespec.h: Change header inclusion guard to
11103 _STRUCT_TIMESPEC.
11104
11105 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11106
11107 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
11108 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
11109 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
11110 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
11111 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
11112 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
11113 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
11114
11115 2018-06-27 Maciej W. Rozycki <macro@mips.com>
11116
11117 [BZ #23266]
11118 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
11119 Copy and null-terminate entries that are not terminated, in
11120 addition to empty ones.
11121
11122 2018-06-27 Florian Weimer <fweimer@redhat.com>
11123
11124 [BZ #18023]
11125 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
11126 (extend_alloca_account): Remove.
11127 * manual/stdio.texi (Variable Arguments Output): Update comment.
11128
11129 2018-06-27 Joseph Myers <joseph@codesourcery.com>
11130
11131 * nptl/sockperf.c: Remove file.
11132
11133 2018-06-27 Florian Weimer <fweimer@redhat.com>
11134
11135 [BZ #18023]
11136 * elf/dl-deps.c (_dl_map_object_deps): Use struct
11137 scratch_buffer instead of extend_alloca.
11138
11139 2018-06-27 Florian Weimer <fweimer@redhat.com>
11140
11141 [BZ #18023]
11142 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
11143 scratch_buffer instead of extend_alloca. Update comments.
11144
11145 2018-06-27 Florian Weimer <fweimer@redhat.com>
11146
11147 [BZ #18023]
11148 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
11149 instead of extend_alloca.
11150
11151 2018-06-26 Joseph Myers <joseph@codesourcery.com>
11152
11153 [BZ #13888]
11154 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
11155 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
11156 /tmp.
11157 * scripts/test-installation.pl: Put temporary files in build
11158 directory, not /tmp.
11159 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
11160 (CFLAGS-bug4.c): Likewise.
11161 (CFLAGS-bug5.c): Likewise.
11162 (CFLAGS-test-fseek.c): Likewise.
11163 (CFLAGS-test-popen.c): Likewise.
11164 (CFLAGS-test_rdwr.c): Likewise.
11165 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
11166 /tmp.
11167 * stdio-common/bug4.c (main): Likewise.
11168 * stdio-common/bug5.c (main): Likewise.
11169 * stdio-common/test-fseek.c (TESTFILE): Likewise.
11170 * stdio-common/test-popen.c (do_test): Likewise.
11171 * stdio-common/test_rdwr.c (main): Likewise.
11172
11173 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
11174
11175 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11176 (sem_open): Set sem.newsem.pad to zero for valgrind.
11177
11178 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11179
11180 [BZ #20251]
11181 * NEWS: Mention fcntl64 addition.
11182 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11183 * login/utmp_file.c: Likewise.
11184 * sysdeps/posix/fdopendir.c: Likewise.
11185 * sysdeps/posix/opendir.c: Likewise.
11186 * sysdeps/unix/pt-fcntl.c: Likewise.
11187 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11188 __fcntl64_nocancel_adjusted): New prototype.
11189 (__fcntl_nocancel_adjusted): Remove prototype.
11190 * io/Makefile (routines): Add fcntl64.
11191 (CFLAGS-fcntl64.c): New rule.
11192 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11193 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11194 * io/fcntl.h (fcntl64): Add prototype and redirect if
11195 __USE_FILE_OFFSET64 is defined.
11196 * io/fcntl64.c: New file.
11197 * manual/llio.text: Add a note for which commands fcntl acts a
11198 cancellation point.
11199 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11200 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11201 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11202 New symbols.
11203 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11204 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11205 non-LFS case.
11206 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11207 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11208 to __fcntl64_nocancel.
11209 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11210 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11211 to __fcntl64_nocancel.
11212 * sysdeps/generic/not-cancel.h: Likewise.
11213 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11214 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11215 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11216 (fcntl64): New symbol.
11217 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11218 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11219 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11222 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11223 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11224 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11225 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11226 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11227 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11228 fcntl64): Likewise.
11229 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11230 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11231 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11232 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11233 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11234 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11235 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11236 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11237 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11239 Likewise.
11240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11241 Likewise.
11242 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11243 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11244 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11245
11246 2018-06-26 Florian Weimer <fweimer@redhat.com>
11247
11248 Run thread shutdown functions in an explicit order.
11249 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11250 definition.
11251 (__libc_thread_freeres): Call thread shutdown functions
11252 explicitly.
11253 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11254 * include/string.h (__strerror_thread_freeres): Declare.
11255 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11256 arena_thread_freeres. No longer static. Remove thread shutdown
11257 hook registration.
11258 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11259 Declare.
11260 * resolv/res-close.c (__res_thread_freeres): Renamed from
11261 res_thread_freeres. No longer static. Remove thread shutdown
11262 hook registration.
11263 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11264 * resolv/resolv_conf.c (freeres): Remove incorrect section
11265 attribute and use libc_freeres_fn.
11266 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11267 strerror_thread_freeres. No longer static. Remove thread
11268 shutdown hook registration.
11269 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11270 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11271 shutdown hook registration.
11272 * Makerules (shlib.lds): Do not provide section boundary symbols
11273 for __libc_thread_subfreeres.
11274 * manual/memory.texi (Basic Allocation): Update comment.
11275
11276 2018-06-26 Florian Weimer <fweimer@redhat.com>
11277
11278 Remove always-defined _RPC_THREAD_SAFE_ macro.
11279 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11280 Do not define _RPC_THREAD_SAFE_.
11281 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11282 conditional.
11283 * sunrpc/clnt_perr.c: Likewise.
11284 * sunrpc/clnt_raw.c: Likewise.
11285 * sunrpc/clnt_simp.c: Likewise.
11286 * sunrpc/key_call.c: Likewise.
11287 * sunrpc/rpc_common.c: Likewise.
11288 * sunrpc/rpc_main.c: Likewise.
11289 * sunrpc/rpc_thread.c: Likewise.
11290 * sunrpc/svc.c: Likewise.
11291 * sunrpc/svc_raw.c: Likewise.
11292 * sunrpc/svc_simple.c: Likewise.
11293 * sumrpc/svcauth_des.c: Likewise.
11294
11295 2018-06-26 Florian Weimer <fweimer@redhat.com>
11296
11297 * libio/Makefile (tests-internal): Add tst-vtables,
11298 tst-vtables-interposed.
11299 * libio/tst-vtables.c: New file.
11300 * libio/tst-vtables-common.c: Likewise.
11301 * libio/tst-vtables-interposed.c: Likewise.
11302
11303 2018-06-26 Florian Weimer <fweimer@redhat.com>
11304
11305 * support/support_test_main.c (support_test_main): Only call
11306 setvbuf if not disables.
11307 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11308 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11309
11310 2018-06-26 Florian Weimer <fweimer@redhat.com>
11311
11312 [BZ #23313]
11313 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
11314
11315 2018-06-25 Florian Weimer <fweimer@redhat.com>
11316
11317 [BZ #18023]
11318 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11319 Use struct scratch_buffer instead of extend_alloca.
11320
11321 2018-06-25 Florian Weimer <fweimer@redhat.com>
11322
11323 [BZ #18023]
11324 * nss/getent.c (initgroups_keys): Use dynarray instead of
11325 extend_alloca.
11326
11327 2018-06-25 Florian Weimer <fweimer@redhat.com>
11328
11329 [BZ #18023]
11330 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11331 Use struct scratch_buffer instead of extend_alloca.
11332
11333 2018-06-25 Florian Weimer <fweimer@redhat.com>
11334
11335 [BZ #18023]
11336 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
11337 back to malloc directly, without stack allocations.
11338
11339 2018-06-25 Florian Weimer <fweimer@redhat.com>
11340
11341 [BZ #18023]
11342 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
11343 of extend_alloca.
11344
11345 2018-06-25 Florian Weimer <fweimer@redhat.com>
11346
11347 [BZ #18023]
11348 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
11349 of extend_alloca.
11350 * nscd/hstcache.c (addhstbyX): Likewise.
11351 * nscd/pwdcache.c (addpwbyX): Likewise.
11352 * nscd/servicescache.c (addservbyX): Likewise.
11353
11354 2018-06-25 Florian Weimer <fweimer@redhat.com>
11355
11356 [BZ #18023]
11357 * nscd/connections.c (read_cmdline): New function.
11358 (restart): Use it. Update comment.
11359
11360 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11361
11362 [BZ #23140]
11363 * localedata/locales/csb_PL (mon): Rename to...
11364 (alt_mon): This.
11365 (abmon): Rename to...
11366 (ab_alt_mon): This.
11367 (mon): Add with proper genitive forms, copy from Wikipedia.
11368 (abmon): Likewise.
11369
11370 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11371
11372 [BZ #19485]
11373 * localedata/locales/csb_PL (mon): Fix typos:
11374 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
11375 (yesstr): Add, value is "jo".
11376 (nostr): Add, value is "nié".
11377
11378 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11379
11380 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
11381 all log1p and significand functions on m680x0.
11382 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
11383 of s_significand.c..
11384 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11385 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
11386 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
11387 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
11388 s_log1p.c and include it..
11389
11390 2018-06-21 Vincent Chen <vincentc@andestech.com>
11391
11392 * elf/elf.h (R_NDS32_NONE): New define.
11393 (R_NDS32_32_RELA): Likewise.
11394 (R_NDS32_COPY): Likewise.
11395 (R_NDS32_GLOB_DAT): Likewise.
11396 (R_NDS32_JUMP_SLOT): Likewise.
11397 (R_NDS32_RELATIVE): Likewise.
11398 (R_NDS32_TLS_TPOFF): Likewise.
11399 (R_NDS32_TLS_DESC): Likewise.
11400
11401 2018-06-21 Mark Wielaard <mark@klomp.org>
11402
11403 * elf/elf.h (R_BPF_MAP_FD): Removed.
11404 (R_BPF_64_64, R_BPF_64_32): New.
11405
11406 2018-06-21 Florian Weimer <fweimer@redhat.com>
11407
11408 [BZ #23253]
11409 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
11410 Renamed from libc_feholdsetround_ctx.
11411 (default_libc_feresetround_ctx): Renamed from
11412 libc_feresetround_ctx.
11413 (default_libc_feholdsetround_noex_ctx): Renamed from
11414 libc_feholdsetround_noex_ctx.
11415 (default_libc_feresetround_noex_ctx): Renamed from
11416 libc_feresetround_noex_ctx.
11417 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
11418 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
11419 forwardning to the old implementations under the new names.
11420 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
11421 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
11422 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
11423 (libc_feresetround_ctx): Forward to default implements for i386
11424 and MATH_SET_BOTH_ROUNDING_MODES.
11425 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
11426 Add -DMATH_SET_BOTH_ROUNDING_MODES.
11427
11428 2018-06-20 Joseph Myers <joseph@codesourcery.com>
11429
11430 * string/tst-cmp.c: Include <libc-diag.h>.
11431 (strncmp_max): Disable -Wstringop-overflow= around call to
11432 strncmp.
11433 (strncasecmp_max): Disable -Wstringop-overflow= around call to
11434 strncasecmp.
11435
11436 * string/bug-strpbrk1.c: Include <libc-diag.h>.
11437 (main): Disable -Wunused-value around call to strpbrk.
11438 * string/bug-strspn1.c: Include <libc-diag.h>.
11439 (main): Disable -Wunused-value around call to strspn.
11440
11441 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11442 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11443
11444 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
11445 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
11446
11447 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11448
11449 * math/Makefile (libm-calls): Move s_significandF to...
11450 (gen-libm-calls): ... here.
11451 * math/s_significand_template.c: New file.
11452 * math/s_significand.c: Removed.
11453 * math/s_significandf.c: Removed.
11454 * math/s_significandl.c: Removed.
11455 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
11456 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
11457
11458 * math/e_exp2_template.c (declare_mgen_finite_alias,
11459 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
11460 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
11461 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
11462
11463 2018-06-20 Florian Weimer <fweimer@redhat.com>
11464
11465 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
11466
11467 2018-06-19 Joseph Myers <joseph@codesourcery.com>
11468
11469 [BZ #23280]
11470 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
11471 floating-point number to strtod functions rather than possibly
11472 negating result of those functions.
11473 * stdio-common/tst-scanf-round.c: New file.
11474 * stdio-common/Makefile (tests): Add tst-scanf-round.
11475 ($(objpfx)tst-scanf-round): Depend on $(libm).
11476
11477 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11478
11479 * sysdeps/mach/hurd/localplt.data: Move to...
11480 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
11481 R_386_GLOB_DAT like on Linux i386.
11482
11483 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11484
11485 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
11486 (SHM_STAT_ANY): New macro.
11487 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
11488 (SHM_STAT_ANY): Likewise.
11489 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
11490 (SHM_STAT_ANY): Likewise.
11491 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
11492 (SHM_STAT_ANY): Likewise.
11493 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
11494 (SHM_STAT_ANY): Likewise.
11495 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
11496 (SHM_STAT_ANY): Likewise.
11497 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
11498 (SHM_STAT_ANY): Likewise.
11499 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
11500 (SHM_STAT_ANY): Likewise.
11501 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
11502 (SHM_STAT_ANY): Likewise.
11503 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
11504 (SHM_STAT_ANY): Likewise.
11505 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
11506 (SHM_STAT_ANY): Likewise.
11507 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
11508 (SHM_STAT_ANY): Likewise.
11509
11510 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
11511 (SEM_STAT_ANY): New macro.
11512 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
11513 (SEM_STAT_ANY): Likewise.
11514 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
11515 (SEM_STAT_ANY): Likewise.
11516 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
11517 (SEM_STAT_ANY): Likewise.
11518 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
11519 (SEM_STAT_ANY): Likewise.
11520 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
11521 (SEM_STAT_ANY): Likewise.
11522 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
11523 (SEM_STAT_ANY): Likewise.
11524 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
11525 (SEM_STAT_ANY): Likewise.
11526 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
11527 (SEM_STAT_ANY): Likewise.
11528 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
11529 (SEM_STAT_ANY): Likewise.
11530
11531 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
11532 (MSG_STAT_ANY): New macro.
11533 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
11534 (MSG_STAT_ANY): Likewise.
11535 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
11536 (MSG_STAT_ANY): Likewise.
11537 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
11538 (MSG_STAT_ANY): Likewise.
11539 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
11540 (MSG_STAT_ANY): Likewise.
11541 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
11542 (MSG_STAT_ANY): Likewise.
11543 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
11544 (MSG_STAT_ANY): Likewise.
11545 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
11546 (MSG_STAT_ANY): Likewise.
11547 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
11548 (MSG_STAT_ANY): Likewise.
11549 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
11550 (MSG_STAT_ANY): Likewise.
11551
11552 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11553 (MAP_TYPE): Change value to 0x2b.
11554
11555 2018-06-18 Florian Weimer <fweimer@redhat.com>
11556
11557 [BZ #15722]
11558 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
11559 socket with SOCK_CLOEXEC.
11560
11561 2018-06-18 Joseph Myers <joseph@codesourcery.com>
11562
11563 [BZ #23303]
11564 * sysdeps/powerpc/powerpc64/le/Makefile
11565 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
11566 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
11567 (gnulib-tests): Also add $(f128-loader-link) for
11568 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
11569
11570 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
11571
11572 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
11573 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
11574 of sendfile.
11575 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
11576 (sendfile64): New strong alias.
11577 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
11578 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
11579 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
11580 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
11581 attribute.
11582 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
11583 ___pthread_get_cleanup_stack.
11584 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
11585 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
11586 * mach/shortcut.awk: Make syscall stubs include
11587 <mach-shortcuts-hidden.h> and add hidden definition.
11588 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
11589 (__mach_msg): Add hidden prototype.
11590 * mach/msg.c: Include <mach.h>.
11591 (__mach_msg): Add hidden definition.
11592 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
11593 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
11594 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
11595 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
11596 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
11597 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
11598 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
11599 prototype and definition.
11600 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
11601 hidden target for _hurd_self_sigstate.
11602
11603 2018-06-15 Joseph Myers <joseph@codesourcery.com>
11604
11605 [BZ #23007]
11606 * stdlib/tst-strtod-nan-sign-main.c: New file.
11607 * stdlib/tst-strtod-nan-sign.c: Likewise.
11608 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
11609 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
11610 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
11611 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
11612 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
11613
11614 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
11615
11616 [BZ #23007]
11617 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
11618 appropriate sign.
11619
11620 2018-06-14 Florian Weimer <fweimer@redhat.com>
11621
11622 [BZ #23290]
11623 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
11624 that the result stays within the ISO-8859-1 range.
11625 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
11626 characters are defined in IBM273.
11627
11628 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
11629
11630 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
11631 __mach_task_self): Remove attribute_hidden.
11632
11633 2018-06-14 Joseph Myers <joseph@codesourcery.com>
11634
11635 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
11636 ignore -Wrestrict for one test.
11637
11638 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
11639 Szabolcs Nagy <szabolcs.nagy@arm.com>
11640
11641 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
11642
11643 2018-06-14 Florian Weimer <fweimer@redhat.com>
11644
11645 * scripts/update-abilist.sh: Accept empty list of files to patch.
11646
11647 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
11648
11649 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
11650 test-xfail-check-abi-libmachuser): Add.
11651 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
11652 __libc_read and __libc_write to __read and __write.
11653 * sysdeps/hurd/include/hurd/port.h: New file.
11654 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
11655 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
11656 __thread_switch, __evc_wait): Move declarations to...
11657 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
11658 attribute_hidden.
11659 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
11660 use PLT to call _hurd_self_sigstate.
11661
11662 2018-06-13 Joseph Myers <joseph@codesourcery.com>
11663
11664 [BZ #23279]
11665 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
11666 MAX_EXP as overflowing.
11667 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
11668 overflow flag.
11669 (round_str): Output also whether result overflows in each rounding
11670 mode.
11671 * stdlib/tst-strtod-round-data: Add more tests.
11672 * stdlib/tst-strtod-round-data.h: Regenerated.
11673 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
11674 (TEST): Handle extra arguments for overflow flags.
11675 (struct test_overflow): New type.
11676 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
11677 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
11678 (test_in_one_mode): Take argument with overflow information.
11679 (do_test): Update calls to test_in_one_mode.
11680
11681 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11682
11683 * elf/dl-load (_dl_dst_substitute): Correct comment.
11684 (_dl_dst_count): Likewise.
11685
11686 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
11687 lll_futex_timed_wait.
11688
11689 2018-06-12 Joseph Myers <joseph@codesourcery.com>
11690
11691 [BZ #23277]
11692 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
11693 attribute.
11694 * math/test-nan-const.c: New file.
11695 * math/Makefile (tests): Add test-nan-const.
11696 (CFLAGS-test-nan-const.c): New variable.
11697
11698 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11699
11700 * benchtests/scripts/compare_strings.py (process_results): Add
11701 funcs argument. Compare only functions which are selected.
11702 (main): Check if base function is among selected functions.
11703 Pass selected functions to process_results.
11704 (__main__): Add -f/--functions argument.
11705
11706 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
11707 Hongbo Zhang <hongbo.zhang@linaro.org>
11708
11709 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
11710 __memcpy_falkor for phecda core.
11711 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
11712 __memmove_falkor for phecda core.
11713 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
11714 __memset_falkor for phecda core.
11715 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
11716 for phecda core.
11717 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
11718 macro to identify phecda core.
11719
11720 2018-06-12 Carlos O'Donell <carlos@redhat.com>
11721 Andreas Schwab <schwab@suse.de>
11722 Dmitry V. Levin <ldv@altlinux.org>
11723 Florian Weimer <fweimer@redhat.com>
11724
11725 [BZ #23102]
11726 [BZ #21942]
11727 [BZ #18018]
11728 [BZ #23259]
11729 CVE-2011-0536
11730 * elf/dl-dst.h: Remove DL_DST_COUNT.
11731 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
11732 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
11733 (is_dst): Comment. Support ELF gABI.
11734 (_dl_dst_count): Comment. Simplify and count DSTs.
11735 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
11736 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
11737 locals.
11738
11739 2018-06-12 Zack Weinberg <zackw@panix.com>
11740
11741 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
11742 * sysdeps/unix/sysv/linux/dl-sysdep.c
11743 Include not-cancel.h. Use __close_nocancel instead of __close,
11744 __open64_nocancel instead of __open, __read_nocancel instead of
11745 __libc_read, and __write_nocancel instead of __libc_write.
11746
11747 * csu/check_fds.c (check_one_fd)
11748 * sysdeps/posix/fdopendir.c (__fdopendir)
11749 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
11750 instead of __fcntl and/or __libc_fcntl.
11751
11752 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
11753 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
11754 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
11755 Use __open64_nocancel instead of __open_nocancel.
11756
11757 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
11758 hidden_proto declarations to the end and issue them if either
11759 IS_IN(libc) or IS_IN(rtld).
11760 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
11761 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
11762 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
11763 read_nocancel, waitpid_nocancel, write_nocancel.
11764
11765 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
11766 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
11767 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
11768
11769 * nptl/pt-fcntl.c: New file.
11770 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
11771 (libpthread-routines): Add pt-fcntl.
11772 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
11773 (__libc_fcntl): Remove attribute_hidden.
11774 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
11775 __fcntl_nocancel_adjusted, not fcntl_common.
11776 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
11777 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
11778 to fcntl_nocancel.c.
11779 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
11780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
11781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11782 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
11783
11784 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
11785 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
11786 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
11787 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
11788 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
11789 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
11790 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
11791 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
11792 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
11793 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
11794 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
11795 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
11796 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
11797 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
11798 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
11799 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
11800 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
11801 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
11802 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
11803 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
11804
11805 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
11806 libpthread-routines.
11807 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
11808 defines nothing.
11809
11810 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
11811 __libc_read, and __write instead of __libc_write. Define
11812 __open64 in addition to __open.
11813
11814 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
11815
11816 [BZ #23250]
11817 [BZ #10686]
11818 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
11819 to _private_tm[3] and add __glibc_reserved2.
11820 Add _Static_assert of offset of __private_ss == 0x30.
11821 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
11822 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
11823
11824 2018-06-12 Florian Weimer <fweimer@redhat.com>
11825
11826 x86: Make strncmp usable from rtld.
11827 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
11828 __strncmp_ia32 if in libc (and not in rtld).
11829 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
11830 strncmp if not in libc (and not to __strncmp_sse2).
11831
11832 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
11833
11834 [BZ #23140]
11835 * localedata/locales/gd_GB (mon): Rename to...
11836 (alt_mon): This.
11837 (mon): Import from CLDR (genitive case).
11838 * localedata/locales/hsb_DE (mon): Rename to...
11839 (alt_mon): This.
11840 (mon): Import from CLDR (genitive case).
11841 * localedata/locales/wa_BE (mon): Rename to...
11842 (alt_mon): This.
11843 (mon): Add, fill with the proper genitive forms, but CLDR data
11844 is incomplete; completed according to the comments in this file.
11845 (d_t_fmt): Do not use "di" before the month name, no longer needed.
11846
11847 * localedata/locales/wa_BE (country_name): Reword
11848 "Beljike" -> "Beldjike".
11849
11850 2018-06-11 Joseph Myers <joseph@codesourcery.com>
11851
11852 [BZ #23272]
11853 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
11854 cases of non-finite arguments.
11855 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11856
11857 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
11858
11859 [BZ #23174]
11860 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
11861
11862 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11863
11864 [BZ #23264]
11865 * include/unistd.h (__execvpex): New prototype.
11866 * posix/Makefile (tests): Add tst-spawn4.
11867 (tests-internal): Add tst-spawn4-compat.
11868 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
11869 * posix/tst-spawn4-compat.c: New file.
11870 * posix/tst-spawn4.c: Likewise.
11871 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
11872 binaries as shell scripts.
11873 * sysdeps/posix/spawni.c (__spawni): Likewise.
11874
11875 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
11876
11877 [BZ #23145]
11878 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
11879 ($(all-built-dso:=.dynsym): New target.
11880 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
11881 ($(objpfx)check-initfini.out): New target.
11882 (generated): Add check-initfini.out.
11883 * scripts/check-initfini.awk: New file.
11884 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
11885 (_fini): Likewise.
11886 * sysdeps/alpha/crti.S (_init): Mark as hidden.
11887 (_fini): Likewise.
11888 * sysdeps/arm/crti.S (_init): Mark as hidden.
11889 (_fini): Likewise.
11890 * sysdeps/hppa/crti.S (_init): Mark as hidden.
11891 (_fini): Likewise.
11892 * sysdeps/i386/crti.S (_init): Mark as hidden.
11893 (_fini): Likewise.
11894 * sysdeps/ia64/crti.S (_init): Mark as hidden.
11895 (_fini): Likewise.
11896 * sysdeps/m68k/crti.S (_init): Mark as hidden.
11897 (_fini): Likewise.
11898 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
11899 (_fini): Likewise.
11900 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
11901 (_fini): Likewise.
11902 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
11903 (_fini): Likewise.
11904 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
11905 (_fini): Likewise.
11906 * sysdeps/nios2/crti.S (_init): Mark as hidden.
11907 (_fini): Likewise.
11908 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
11909 (_fini): Likewise.
11910 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
11911 (_fini): Likewise.
11912 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
11913 (_fini): Likewise.
11914 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
11915 (_fini): Likewise.
11916 * sysdeps/sh/crti.S (_init): Mark as hidden.
11917 (_fini): Likewise.
11918 * sysdeps/sparc/crti.S (_init): Mark as hidden.
11919 (_fini): Likewise.
11920 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
11921 (_fini): Likewise.
11922
11923 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11924
11925 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
11926 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
11927 and TF redirection to KFtype and KF only when the default
11928 long double type is not the IEEE 128-bit floating point type.
11929
11930 2018-06-05 Joseph Myers <joseph@codesourcery.com>
11931
11932 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
11933 macro.
11934 (HWCAP_USCAT): Likewise.
11935 (HWCAP_ILRCPC): Likewise.
11936 (HWCAP_FLAGM): Likewise.
11937 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11938 Increase to 28.
11939 (_dl_aarch64_cap_flags): Add new flag names.
11940
11941 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
11942 (MAP_FIXED_NOREPLACE): New macro.
11943 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
11944 (MAP_FIXED_NOREPLACE): Likewise.
11945 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
11946 (MAP_FIXED_NOREPLACE): Likewise.
11947 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
11948 (MAP_FIXED_NOREPLACE): Likewise.
11949 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
11950 (MAP_FIXED_NOREPLACE): Likewise.
11951 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
11952 (MAP_FIXED_NOREPLACE): Likewise.
11953 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
11954 (MAP_FIXED_NOREPLACE): Likewise.
11955 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
11956 (MAP_FIXED_NOREPLACE): Likewise.
11957 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
11958 (MAP_FIXED_NOREPLACE): Likewise.
11959 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
11960 (MAP_FIXED_NOREPLACE): Likewise.
11961 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
11962 (MAP_FIXED_NOREPLACE): Likewise.
11963 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
11964 (MAP_FIXED_NOREPLACE): Likewise.
11965 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
11966 (MAP_FIXED_NOREPLACE): Likewise.
11967 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
11968 (MAP_FIXED_NOREPLACE): Likewise.
11969 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
11970 (MAP_FIXED_NOREPLACE): Likewise.
11971
11972 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11973 version to 4.17.
11974
11975 2018-06-04 Joseph Myers <joseph@codesourcery.com>
11976
11977 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11978 version to 4.17
11979
11980 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11981
11982 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
11983 int.
11984 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
11985
11986 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11987
11988 * benchtests/scripts/compare_string.py: (process_results) Catch
11989 exception in non-existent base_func and catch exception in
11990 non-existent attribute.
11991 (parse_file) Catch exception if input file does not exist.
11992
11993 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11994
11995 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
11996 options to avoid diff calculation and omit header, respectively.
11997 (main): process --no-diff and --no-header
11998
11999 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12000 H.J. Lu <hongjiu.lu@intel.com>
12001
12002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12003 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12004 wcsncmp-sse2.
12005 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12006 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12007 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12008 and __wcsncmp_sse2.
12009 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12010 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12011 AVX unaligned load is fast and vzeroupper is preferred.
12012 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12013 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12014 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12015 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12016 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12017 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12018 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12019 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12020 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12021 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12022 is undefined.
12023
12024 2018-06-01 Florian Weimer <fweimer@redhat.com>
12025
12026 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12027 configuring with --disable-multi-arch, building with
12028 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12029 Haswell-era CPU.
12030
12031 2018-06-01 Florian Weimer <fweimer@redhat.com>
12032
12033 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12034 results from building with “-march=x86-64 -mtune=generic
12035 -mfpmath=sse” and running on a Haswell-era CPU.
12036
12037 2018-06-01 Joseph Myers <joseph@codesourcery.com>
12038
12039 [BZ #18473]
12040 * soft-fp/sqrttf2.c: Remove file.
12041 * soft-fp/sqrtdf2.c: Move to ....
12042 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12043 <shlib-compat.h>.
12044 (__sqrtdf2): Make conditional on
12045 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12046 symbol.
12047 * soft-fp/sqrtsf2.c: Move to ....
12048 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12049 <shlib-compat.h>.
12050 (__sqrtsf2): Make conditional on
12051 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12052 symbol.
12053 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12054 (gcc-double-routines): Remove sqrtdf2.
12055 (gcc-quad-routines): Remove sqrttf2.
12056 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12057 Do not filter out sqrtsf2 and sqrtdf2.
12058 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12059 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12060
12061 2018-06-01 Florian Weimer <fweimer@redhat.com>
12062
12063 * sysdeps/generic/libcidn.abilist: Remove file.
12064
12065 2018-06-01 Florian Weimer <fweimer@redhat.com>
12066
12067 [BZ #23236]
12068 * libio/strfile.h (struct _IO_str_fields): Rename members to
12069 discourage their use and add comment.
12070 (_IO_STR_DYNAMIC): Remove unused macro.
12071 * libio/strops.c (_IO_str_init_static_internal): Do not use
12072 callback pointers. Call malloc and free.
12073 (_IO_str_overflow): Do not use callback pointers. Call malloc
12074 and free.
12075 (enlarge_userbuf): Likewise.
12076 (_IO_str_finish): Call free.
12077 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12078 _allocate_buffer_unused.
12079 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12080 and free.
12081 (enlarge_userbuf): Likewise.
12082 (_IO_wstr_finish): Call free.
12083 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12084 _allocate_buffer_unused, _free_buffer_unused.
12085 * libio/memstream.c (__open_memstream): Likewise.
12086 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12087 * libio/wmemstream.c (open_wmemstream): Likewise.
12088
12089 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12090
12091 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
12092 AMD Ryzen 7 1800X.
12093
12094 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12095
12096 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
12097 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
12098 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
12099 New file.
12100 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
12101 Likewise.
12102 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
12103
12104 2018-05-29 Florian Weimer <fweimer@redhat.com>
12105
12106 * support/Makefile (libsupport-routines): Add
12107 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
12108 xpthread_barrierattr_setpshared.
12109 * support/xpthread_barrierattr_destroy.c: New file.
12110 * support/xpthread_barrierattr_init.c: Likewise.
12111 * support/xpthread_barrierattr_setpshared.c: Likewise.
12112
12113 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
12114
12115 [BZ #23206]
12116 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
12117 _r_debug and update DT_DEBUG for debugger.
12118
12119 2018-05-29 Florian Weimer <fweimer@redhat.com>
12120
12121 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
12122 (tst-strtod5i.out): Likewise.
12123
12124 2018-05-25 Joseph Myers <joseph@codesourcery.com>
12125
12126 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
12127 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
12128 (sparc64-quad-routines): New variable. Moved from ....
12129 [$(subdir) = soft-fp] (sysdep_routines): Add
12130 $(sparc64-quad-routines). Moved from ....
12131 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
12132 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
12133 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
12134 moved from ....
12135 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
12136 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
12137 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
12138 * sysdeps/sparc/sparc64/qp_add.c: ... here.
12139 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
12140 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
12141 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
12142 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
12143 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
12144 * sysdeps/sparc/sparc64/qp_div.c: ... here.
12145 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
12146 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
12147 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
12148 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
12149 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
12150 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
12151 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
12152 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
12153 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
12154 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
12155 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
12156 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
12157 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
12158 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
12159 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
12160 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
12161 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
12162 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
12163 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
12164 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
12165 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
12166 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
12167 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
12168 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
12169 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
12170 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
12171 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
12172 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12173 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12174 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12175 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12176 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12177 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12178 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12179 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12180 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12181 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12182 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12183 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12184 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12185 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12186 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12187 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12188 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12189 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12190 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12191 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12192 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12193
12194 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12195 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12196 (sparc32-quad-routines): New variable. Moved from ....
12197 [$(subdir) = soft-fp] (sysdep_routines): Add
12198 $(sparc32-quad-routines). Moved from ....
12199 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12200 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12201 moved from ....
12202 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12203 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12204 * sysdeps/sparc/sparc32/q_add.c: ... here.
12205 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12206 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12207 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12208 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12209 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12210 * sysdeps/sparc/sparc32/q_div.c: ... here.
12211 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12212 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12213 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12214 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12215 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12216 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12217 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12218 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12219 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12220 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12221 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12222 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12223 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12224 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12225 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12226 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12227 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12228 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12229 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12230 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12231 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12232 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12233 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12234 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12235 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12236 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12237 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12238 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12239 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12240 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12241 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12242 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12243 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12244 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12245 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12246 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12247 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12248 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12249 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12250 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12251 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12252 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12253 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12254 * sysdeps/sparc/sparc32/q_util.c: ... here.
12255 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12256 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12257 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12258 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12259
12260 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12261 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12262
12263 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12264 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12265 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12266 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12267
12268 2018-05-24 Joseph Myers <joseph@codesourcery.com>
12269
12270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12271 powerpc/soft-fp.
12272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12273 Likewise.
12274 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12275 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12276
12277 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12278
12279 [BZ #23171]
12280 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12281 double version.
12282
12283 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12284
12285 * sysdeps/sh/Implies: Remove sh/soft-fp.
12286 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12287 * sysdeps/sh/sfp-machine.h: ... here.
12288
12289 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12290
12291 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12292 (__mempcpy_erms): Skip zero length.
12293 (__memmove_erms): Likewise.
12294 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12295 (__memset_erms): Likewise.
12296
12297 2018-05-23 Joseph Myers <joseph@codesourcery.com>
12298
12299 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12300 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12301 Add functions moved from ....
12302 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12303 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12304 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12305 from ....
12306 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12307 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12308 * sysdeps/alpha/e_sqrtl.c: ... here.
12309 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12310 * sysdeps/alpha/local-soft-fp.h: ... here.
12311 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12312 * sysdeps/alpha/ots_add.c: ... here.
12313 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
12314 * sysdeps/alpha/ots_cmp.c: ... here.
12315 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
12316 * sysdeps/alpha/ots_cmpe.c: ... here.
12317 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
12318 * sysdeps/alpha/ots_cvtqux.c: ... here.
12319 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
12320 * sysdeps/alpha/ots_cvtqx.c: ... here.
12321 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
12322 * sysdeps/alpha/ots_cvttx.c: ... here.
12323 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
12324 * sysdeps/alpha/ots_cvtxq.c: ... here.
12325 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12326 * sysdeps/alpha/ots_cvtxt.c: ... here.
12327 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12328 * sysdeps/alpha/ots_div.c: ... here.
12329 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12330 * sysdeps/alpha/ots_mul.c: ... here.
12331 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
12332 * sysdeps/alpha/ots_nintxq.c: ... here.
12333 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
12334 * sysdeps/alpha/ots_sub.c: ... here.
12335 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
12336 * sysdeps/alpha/sfp-machine.h: ... here.
12337
12338 2018-05-23 Florian Weimer <fweimer@redhat.com>
12339
12340 [BZ #19728]
12341 [BZ #19729]
12342 [BZ #22247]
12343 CVE-2016-6261
12344 CVE-2016-6263
12345 CVE-2017-14062
12346 Switch to extern IDNA implementation (libidn2).
12347 * libidn: Remove subdirectory.
12348 * LICENSES: Do not mention licensing conditions for the removed
12349 libidn code.
12350 * config.h.in (HAVE_LIBIDN): Remove.
12351 * include/dlfcn.h (__libc_dlopen): Update comment.
12352 * include/idna.h: Remove file.
12353 * inet/Makefile (routines): Add idna.
12354 (tests-static, tests-internal): Add tst-idna_name_classify.
12355 (LOCALES): Generate locales for tests.
12356 (tst-idna_name_classify.out): Depend on generated locales.
12357 * inet/idna_name_classify.c: New file.
12358 * inet/tst-idna_name_classify.c: Likewise.
12359 * inet/net-internal.h (__idna_to_dns_encoding)
12360 (__idna_from_dns_encoding): Declare.
12361 * inet/net-internal.h (enum idna_name_classification): Define.
12362 (__idna_name_classify): Declare.
12363 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
12364 __idna_from_dns_encoding.
12365 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
12366 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
12367 name as a fallback in case of encoding errors.
12368 (getnameinfo): Use DEPRECATED_NI_IDN.
12369 * inet/idna.c: New file.
12370 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
12371 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
12372 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
12373 (modules-names): Add tst-no-libidn2.
12374 (extra-test-objs): Add tst-no-libidn2.os.
12375 (LDFLAGS-tst-no-libidn2.so): Set soname.
12376 (LOCALES): Set, and generate locales.
12377 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
12378 (tst-resolv-ai_idn-latin1): Likewise.
12379 (tst-resolv-ai_idn-nolibidn2): Likewise.
12380 (tst-resolv-ai_idn.out): Depend on locales.
12381 (tst-resolv-ai_idn-latin1.out): Depend on locales.
12382 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
12383 tst-no-libidn2.so.
12384 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
12385 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
12386 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
12387 * resolv/tst-resolv-ai_idn.c: New file.
12388 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
12389 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
12390 * resolv/tst-no-libidn2.c: Likewise.
12391 * support/support_format_addrinfo.c (format_ai_flags): Do not
12392 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
12393 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
12394 (gaih_inet): Call __idna_to_dns_encoding and
12395 __idna_from_dns_encoding, and use the original (punycode) name if
12396 __idna_from_dns_encoding fails due to an encoding error.
12397 (getaddrinfo): Use DEPRECATED_AI_IDN.
12398 * sysdeps/unix/inet/Subdirs (libidn): Remove.
12399 * sysdeps/unix/inet/configure: Remove file.
12400 * sysdeps/unix/inet/configure.ac: Likewise.
12401
12402 2018-05-23 Florian Weimer <fweimer@redhat.com>
12403
12404 Implement allocate_once.
12405 * include/allocate_once.h: New file.
12406 * misc/allocate_once.c: Likewise.
12407 * misc/tst-allocate_once.c: Likewise.
12408 * misc/Makefile (routines): Add allocate_once.
12409 (tests-internal): Add tst-allocate_once.
12410 (generated): Add tst-allocate_once.mtrace,
12411 tst-allocate_once-mem.out.
12412 (tests-special): Add tst-allocate_once-mem.out.
12413 (tst-allocate_once-ENV): Set MALLOC_TRACE.
12414 (tst-allocate_once-mem.out): Call mtrace.
12415 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
12416
12417 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12418
12419 [BZ #23196]
12420 * string/test-memcpy.c (do_test1): New function.
12421 (test_main): Call it.
12422
12423 2018-05-23 Andreas Schwab <schwab@suse.de>
12424
12425 [BZ #23196]
12426 CVE-2018-11237
12427 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
12428 (L(preloop_large)): Save initial destination pointer in %r11 and
12429 use it instead of %rax after the loop.
12430 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
12431
12432 2018-05-22 Joseph Myers <joseph@codesourcery.com>
12433
12434 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
12435 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
12436 -I../soft-fp. Moved from ....
12437 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
12438 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
12439 * sysdeps/aarch64/e_sqrtl.c: ... here.
12440 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
12441 * sysdeps/aarch64/sfp-machine.h: ... here.
12442
12443 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
12444 -Wmaybe-uninitialized around access to fq[0].
12445 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12446 Likewise.
12447
12448 [BZ #18471]
12449 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
12450 aliases for non-libc case of versioned symbols.
12451 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
12452 (llseek): Define as compat symbol if
12453 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
12454 with link warning.
12455 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
12456 Make into a compat symbol, disabled for minimum symbol version
12457 GLIBC_2.28 and later.
12458 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
12459
12460 2018-05-22 Florian Weimer <fweimer@redhat.com>
12461
12462 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
12463 not add -mpreferred-stack-boundary=4.
12464 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
12465 (stack-align-test-flags): Likewise.
12466 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
12467 Likewise.
12468 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
12469 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
12470 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
12471 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
12472 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
12473 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
12474 (CFLAGS-tst-align2.c): Likewise.
12475
12476 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12477
12478 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
12479 (index_arch_Prefer_FSRM): Likewise.
12480 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12481 Also check Prefer_FSRM.
12482 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
12483 Also return OPTIMIZE (erms) for Prefer_FSRM.
12484
12485 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12486
12487 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
12488 (index_cpu_FSRM): Likewise.
12489 (reg_FSRM): Likewise.
12490
12491 2018-05-18 Joseph Myers <joseph@codesourcery.com>
12492
12493 * math/gen-tgmath-tests.py: Import sys.
12494 (Tests.__init__): Initialize macros_seen.
12495 (Tests.add_tests): Add macro to macros_seen. Only generate tests
12496 if requested to do so for this macro.
12497 (Tests.add_all_tests): Take argument for macro for which to
12498 generate tests.
12499 (Tests.check_macro_list): New function.
12500 (main): Handle check-list argument and argument specifying macro
12501 for which to generate tests.
12502 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
12503 [PYTHON] (tgmath3-macro-tests): Likewise.
12504 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
12505 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
12506 not test-tgmath3.c.
12507 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
12508 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
12509 to CFLAGS.
12510 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
12511 [PYTHON] ($(foreach
12512 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
12513 rule.
12514 [PYTHON] (tests-special): Add
12515 $(objpfx)test-tgmath3-macro-list.out.
12516 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
12517
12518 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
12519 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
12520 later.
12521
12522 [BZ #22639]
12523 * time/tzset.c (SECSPERDAY): Cast to time_t.
12524 * time/tst-y2039.c: New file.
12525 * time/Makefile (tests): Add tst-y2039.
12526
12527 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12528
12529 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12530 (PREFETCH_ONE_SET): Remove duplicate line.
12531
12532 2018-05-17 Florian Weimer <fweimer@redhat.com>
12533
12534 * sysdeps/generic/math-type-macros-double.h: Include
12535 <math-nan-payload-double.h> after <libm-alias-double.h>.
12536 * sysdeps/generic/math-type-macros-float.h: Include
12537 <math-nan-payload-float.h> after <libm-alias-float.h>.
12538 * sysdeps/generic/math-type-macros-float128.h: Include
12539 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
12540 * sysdeps/generic/math-type-macros-ldouble.h: Include
12541 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
12542
12543 2018-05-17 Andreas Schwab <schwab@suse.de>
12544
12545 * resolv/res_send.c (__res_context_send): Don't set errno when
12546 returing error after malloc failure.
12547
12548 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
12549
12550 * nptl/allocatestack.c (allocate_stack): Remove the
12551 !__ASSUME_PRIVATE_FUTEX paths.
12552 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
12553 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12554 Likewise.
12555 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
12556 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12557 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12558 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
12559 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
12560 !__ASSUME_PRIVATE_FUTEX path.
12561 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
12562 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
12563 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12564 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
12565 !__ASSUME_PRIVATE_FUTEX macros.
12566 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12567 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12568 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12569 * sysdeps/unix/sysv/linux/kernel-features.h
12570 (__ASSUME_PRIVATE_FUTEX): Removed.
12571
12572 2018-05-17 Joseph Myers <joseph@codesourcery.com>
12573
12574 * math/Makefile (libm-narrow-fns): Add div.
12575 (libm-test-funcs-narrow): Likewise.
12576 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
12577 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
12578 * math/gen-auto-libm-tests.c (test_functions): Add div.
12579 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
12580 (NARROW_DIV_ROUND_TO_ODD): Likewise.
12581 (NARROW_DIV_TRIVIAL): Likewise.
12582 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
12583 macro.
12584 (__ddivl): Likewise.
12585 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
12586 ddiv.
12587 (CFLAGS-nldbl-ddiv.c): New variable.
12588 (CFLAGS-nldbl-fdiv.c): Likewise.
12589 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12590 __nldbl_ddivl.
12591 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
12592 prototype.
12593 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
12594 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
12595 * math/auto-libm-test-in: Add tests of div.
12596 * math/auto-libm-test-out-narrow-div: New generated file.
12597 * math/libm-test-narrow-div.inc: New file.
12598 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
12599 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
12600 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
12601 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
12602 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
12603 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
12604 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
12605 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
12606 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
12607 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
12608 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
12609 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
12610 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
12611 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
12612 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
12613 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
12614 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
12615 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
12616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12617 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12618 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12619 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12620 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12621 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12622 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12623 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12624 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12625 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12626 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12627 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12628 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12629 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12634 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12635 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12636 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12637 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12638 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12639 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12640 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12641 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12642
12643 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12644
12645 [BZ #23178]
12646 * nscd/nscd-client.h (sendfileall): Remove prototype.
12647 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
12648 (handle_request): Use writeall instead of sendfileall.
12649 * nscd/aicache.c (addhstaiX): Likewise.
12650 * nscd/grpcache.c (cache_addgr): Likewise.
12651 * nscd/hstcache.c (cache_addhst): Likewise.
12652 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12653 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
12654 * nscd/pwdcache.c (cache_addpw): Likewise.
12655 * nscd/servicescache.c (cache_addserv): Likewise.
12656 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
12657 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
12658 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
12659 Remove define.
12660
12661 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
12662
12663 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
12664 Include <string/strncat.c>.
12665 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
12666 alias.
12667 (__GI___strncat): New hidden alias.
12668
12669 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12670
12671 * sysdeps/mips/mips32/libm-test-ulps: Update.
12672 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12673
12674 2018-05-16 Florian Weimer <fweimer@redhat.com>
12675
12676 * support/Makefile (libsupport-routines): Add support_quote_blob,
12677 support_test_compare_blob.
12678 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
12679 * support/check.h (TEST_COMPARE_BLOB): Define.
12680 (support_test_compare_blob): Declare.
12681 * support/support.h (support_quote_blob): Declare.
12682 * support/support_quote_blob.c: New file.
12683 * support/support_test_compare_blob.c: Likewise.
12684 * support/tst-support_quote_blob.c: Likewise.
12685 * support/tst-test_compare_blob.c: Likewise.
12686
12687 2018-05-16 Florian Weimer <fweimer@redhat.com>
12688
12689 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
12690 of <strtod_nan_double.h>.
12691 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
12692 instead of SET_MANTISSA.
12693 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
12694 of include <strtod_nan_float.h>.
12695 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
12696 instead of <strtod_nan_ldouble.h>.
12697 * stdlib/strtod_nan_double.h: Move to ...
12698 * sysdeps/generic/math-nan-payload-double.h: ... here.
12699 (FLOAT): Remove definition.
12700 (SET_MANTISSA): Rename to ...
12701 (SET_NAN_PAYLOAD): ... this.
12702 * stdlib/strtod_nan_float.h: Move to ...
12703 * sysdeps/generic/math-nan-payload-float.h: ... here.
12704 (FLOAT): Remove definition.
12705 (SET_MANTISSA): Rename to ...
12706 (SET_NAN_PAYLOAD): ... this.
12707 * sysdeps/generic/math-type-macros-double.h: Include
12708 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
12709 instead of <math-svid-compat.h>.
12710 * sysdeps/generic/math-type-macros-float.h: Include
12711 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
12712 instead of <math-svid-compat.h>.
12713 * sysdeps/generic/math-type-macros-float128.h: Include
12714 <math-nan-payload-float128.h>.
12715 * sysdeps/generic/math-type-macros-ldouble.h: Include
12716 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
12717 instead of <math-svid-compat.h>.
12718 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
12719 check for definition.
12720 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
12721 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
12722 Include <ieee754_float128.h>.
12723 (FLOAT): Remove definition.
12724 (SET_MANTISSA): Rename to ...
12725 (SET_NAN_PAYLOAD): ... this.
12726 * sysdeps/ieee754/float128/strtof128_nan.c: Include
12727 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
12728 Do not include <float128_private.h>.
12729 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
12730 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
12731 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
12732 (FLOAT): Remove definition.
12733 (SET_MANTISSA): Rename to ...
12734 (SET_NAN_PAYLOAD): ... this.
12735 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
12736 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
12737 (FLOAT): Remove definition.
12738 (SET_MANTISSA): Rename to ...
12739 (SET_NAN_PAYLOAD): ... this.
12740 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
12741 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
12742 (FLOAT): Remove definition.
12743 (SET_MANTISSA): Rename to ...
12744 (SET_NAN_PAYLOAD): ... this.
12745 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
12746 of "../stdlib/strtod_nan_double.h".
12747 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
12748 of "../stdlib/strtod_nan_float.h".
12749 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
12750 instead of "../stdlib/strtod_nan_ldouble.h".
12751 * manual/arith.texi (Parsing of Floats): Adjust comment.
12752
12753 2018-05-16 Joseph Myers <joseph@codesourcery.com>
12754
12755 * math/Makefile (libm-narrow-fns): Add mul.
12756 (libm-test-funcs-narrow): Likewise.
12757 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
12758 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
12759 * math/gen-auto-libm-tests.c (test_functions): Add mul.
12760 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
12761 (NARROW_MUL_ROUND_TO_ODD): Likewise.
12762 (NARROW_MUL_TRIVIAL): Likewise.
12763 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
12764 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
12765 macro.
12766 (__dmull): Likewise.
12767 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
12768 dmul.
12769 (CFLAGS-nldbl-dmul.c): New variable.
12770 (CFLAGS-nldbl-fmul.c): Likewise.
12771 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12772 __nldbl_dmull.
12773 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
12774 prototype.
12775 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
12776 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
12777 * math/auto-libm-test-in: Add tests of mul.
12778 * math/auto-libm-test-out-narrow-mul: New generated file.
12779 * math/libm-test-narrow-mul.inc: New file.
12780 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
12781 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
12782 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
12783 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
12784 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
12785 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
12786 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
12787 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
12788 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
12789 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
12790 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
12791 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
12792 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
12793 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
12794 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
12795 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
12796 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
12797 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
12798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12799 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12800 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12801 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12802 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12803 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12804 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12805 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12806 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12807 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12808 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12809 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12810 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12811 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12816 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12817 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12818 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12819 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12820 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12821 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12822 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12823 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12824
12825 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12826
12827 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12828 with *%eax in call.
12829
12830 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12831
12832 * sysdeps/i386/ldsodefs.h: Removed.
12833 * sysdeps/x86_64/ldsodefs.h: Moved to ...
12834 * sysdeps/x86/ldsodefs.h: This.
12835 (La_i86_regs): New.
12836 (La_i86_retval): Likewise.
12837 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
12838 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
12839
12840 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
12841
12842 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
12843 unnecessary testl.
12844
12845 2018-05-13 Alan Modra <amodra@gmail.com>
12846
12847 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
12848 R_PARISC_TLS_DTPOFF32 reloc addend.
12849
12850 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12851
12852 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
12853 * math/math.h: Restrict the prototype definition for the functions
12854 issignaling(_Float128) and iszero(_Float128); and template
12855 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
12856 __HAVE_FLOAT128_UNLIKE_LDBL.
12857 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
12858 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
12859 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
12860 __f128() constants; define the type _Float128 as long double;
12861 and reuse long double in __CFLOAT128.
12862
12863 2018-05-11 Joseph Myers <joseph@codesourcery.com>
12864
12865 * sysdeps/generic/math_private.h: Do not include
12866 <math-barriers.h>.
12867 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
12868 <math_private.h>.
12869 * math/fromfp.h: Include <math-barriers.h>.
12870 * math/math-narrow.h: Likewise.
12871 * math/s_nextafter.c: Likewise.
12872 * math/s_nexttowardf.c: Likewise.
12873 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
12874 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
12875 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
12876 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
12877 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12878 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12879 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12880 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12881 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12882 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12883 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12884 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12885 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12886 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12887 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12888 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12889 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12890 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12891 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12892 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12893 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12894 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12895 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12896 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12897 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12898 * sysdeps/ieee754/k_standardl.c: Likewise.
12899 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12900 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12901 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12902 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12903 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12904 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12905 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12906 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12907 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12908 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12909 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12910 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12911 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12912 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12913 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12914 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12915 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12916 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12917 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12918 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12919 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
12920 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
12921
12922 2018-05-11 Florian Weimer <fweimer@redhat.com>
12923
12924 Use 64-bit epoch values in the time zone file parser.
12925 * include/time.h (internal_time_t): Define.
12926 (__tzfile_compute): Use it.
12927 * time/tzfile.c (struct leap): Use internal_time_t for epoch
12928 member.
12929 (transitions): Switch to internal_time_t.
12930 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
12931 types.
12932 (__tzfile_compute): Use internal_time_t for timer argument. Check
12933 for truncation before calling __offtime.
12934
12935 2018-05-11 Florian Weimer <fweimer@redhat.com>
12936
12937 [BZ #23166]
12938 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
12939 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
12940 Likewise.
12941 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
12942 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
12943 export without --enable-obsolete-rpc.
12944 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
12945 symbol. This should not have been exported, ever.
12946
12947 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
12948
12949 [BZ #23152]
12950 * localedata/locales/gd_GB (abmon): Fix typo in May:
12951 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
12952
12953 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
12954
12955 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12956 Use multiple registers to copy data in loop tail.
12957
12958 * sysdeps/aarch64/multiarch/memmove_falkor.S
12959 (__memmove_falkor): Use multiple registers to move data in
12960 loop tail.
12961
12962 2018-05-10 Joseph Myers <joseph@codesourcery.com>
12963
12964 * math/math-underflow.h: New file.
12965 * sysdeps/generic/math_private.h: Do not include <float.h>.
12966 (fabs_tg): Remove macro. Moved to math-underflow.h.
12967 (min_of_type_f): Likewise.
12968 (min_of_type_): Likewise.
12969 (min_of_type_l): Likewise.
12970 (min_of_type_f128): Likewise.
12971 (min_of_type): Likewise.
12972 (math_check_force_underflow): Likewise.
12973 (math_check_force_underflow_nonneg): Likewise.
12974 (math_check_force_underflow_complex): Likewise.
12975 * math/e_exp2_template.c: Include <math-underflow.h>.
12976 * math/k_casinh_template.c: Likewise.
12977 * math/s_catan_template.c: Likewise.
12978 * math/s_catanh_template.c: Likewise.
12979 * math/s_ccosh_template.c: Likewise.
12980 * math/s_cexp_template.c: Likewise.
12981 * math/s_clog10_template.c: Likewise.
12982 * math/s_clog_template.c: Likewise.
12983 * math/s_csin_template.c: Likewise.
12984 * math/s_csinh_template.c: Likewise.
12985 * math/s_csqrt_template.c: Likewise.
12986 * math/s_ctan_template.c: Likewise.
12987 * math/s_ctanh_template.c: Likewise.
12988 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12989 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12990 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12991 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12992 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12993 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12994 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12995 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12996 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12997 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12998 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12999 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13000 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13001 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13002 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13003 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13004 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13005 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13006 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13007 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13008 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13009 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13010 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13011 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13012 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13013 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13014 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13015 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13016 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13017 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13018 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13019 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13020 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13021 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13022 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13023 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13024 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13025 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13026 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13027 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13028 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13029 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13030 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13031 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13032 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13033 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13034 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13035 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13036 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13037 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13038 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13039 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13040 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13041 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13042 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13043 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13044 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13045 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13046 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13047 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13048 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13049 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13050 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13051 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13052 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13053 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13054 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13055 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13056 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13057 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13058 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13059 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13060 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13061 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13062 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13063 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13064 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13065 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13066 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13067 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13068 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13069 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13070 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13071 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13072
13073 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13074
13075 * sysdeps/generic/math-barriers.h: New file.
13076 * sysdeps/generic/math_private.h [!math_opt_barrier]
13077 (math_opt_barrier): Move to math-barriers.h.
13078 [!math_opt_barrier] (math_force_eval): Likewise.
13079 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13080 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13081 math-barriers.h.
13082 (math_force_eval): Likewise.
13083 * sysdeps/alpha/fpu/math-barriers.h: New file.
13084 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13085 math-barriers.h.
13086 (math_force_eval): Likewise.
13087 * sysdeps/x86/fpu/math-barriers.h: New file.
13088 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13089 math-barriers.h.
13090 (math_force_eval): Likewise.
13091 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
13092 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
13093 multiple-include guard for rename.
13094 * sysdeps/powerpc/fpu/math-barriers.h: New file.
13095 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
13096 math-barriers.h.
13097 (math_force_eval): Likewise.
13098
13099 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13100
13101 [BZ #22786]
13102 CVE-2018-11236
13103 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
13104 computation.
13105 * stdlib/Makefile (test-bz22786): New test.
13106 * stdlib/test-bz22786.c: New test.
13107
13108 2018-05-09 Joseph Myers <joseph@codesourcery.com>
13109
13110 * include/math-narrow-eval.h: New file. Contents moved from ....
13111 * sysdeps/generic/math_private.h: ... here.
13112 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
13113 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13114 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
13115 * stdlib/strtod_l.c: Likewise.
13116 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13117 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13118 * sysdeps/i386/fpu/s_fdim.c: Likewise.
13119 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13120 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13121 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13122 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13123 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13124 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13125 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13126 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13127 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13128 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13129 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13130 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13131 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13132 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13133 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13134 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13135 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13136 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13137 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13138 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13139 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13140 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13141 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13142 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13143 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13144 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13145
13146 2018-05-08 Andreas Schwab <schwab@suse.de>
13147
13148 * sysdeps/nptl/internaltypes.h: Fix comment.
13149
13150 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
13151
13152 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13153 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
13154 hidden.
13155
13156 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13157
13158 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
13159 of I into loop header.
13160 * benchtests/bench-memmove-walk.c
13161 (test_main): Likewise.
13162
13163 2018-05-07 Alexandre Oliva <oliva@gnu.org>
13164
13165 Revert:
13166 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13167 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13168
13169 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13170
13171 [BZ #20419]
13172 * elf/dl-load.c (open_verify): Fix stack overflow.
13173 * elf/Makefile (tst-big-note): New test.
13174 * elf/tst-big-note-lib.S: New.
13175 * elf/tst-big-note.c: New.
13176
13177 2018-05-04 Joseph Myers <joseph@codesourcery.com>
13178
13179 * scripts/abilist.awk: Ignore absolute symbols.
13180 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13181 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13182 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13183 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13184 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13185 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13186 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13187 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13188 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13189 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13190 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13191 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13192 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13193 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13194 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13195 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13196 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13197 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13198 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13199 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13200 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13201 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13202 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13203 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13204 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13205 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13206 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13207 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13208 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13209 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13210 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13211 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13212 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13213 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13214 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13215 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13216 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13217 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13218 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13219 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13220 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13221 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13222 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13223 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13224 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13225 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13226 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13227 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13228 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13229 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13230 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13231 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13232 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13233 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13234 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13235 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13236 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13237 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13238 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13239 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13240 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13241 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13242 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13243 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13244 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13245 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13246 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13247 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13248 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13249 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13250 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13251 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13252 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13253 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13254 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13255 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13256 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13257 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13258 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13259 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13260 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13261 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13262 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13263 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13264 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13265 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13266 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13267 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13268 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13269 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13270 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13271 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13272 Likewise.
13273 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13274 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13275 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13276 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13277 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13278 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13279 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13280 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13281 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13282 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13283 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13284 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13285 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13286 Likewise.
13287 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13288 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13289 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13290 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13291 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13292 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13293 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13294 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13295 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13296 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13297 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13298 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13299 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13300 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13301 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13302 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13303 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13304 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13305 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13306 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13307 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13308 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13309 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13310 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13311 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13312 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13313 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13314 Likewise.
13315 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
13316 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
13317 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
13318 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
13319 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13320 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
13321 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
13322 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
13323 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
13324 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13325 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13326 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13327 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13328 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13329 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13330 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13331 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
13332 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
13333 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13334 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13335 Likewise.
13336 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
13337 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
13338 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
13339 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13340 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
13341 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13342 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
13343 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
13344 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
13345 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13346 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13347 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
13348 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13349 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13350 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
13351 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13352 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
13353 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
13354 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13355 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
13356 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
13357 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13358 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
13359 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13360 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
13361 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
13362 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
13363 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
13364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13368 Likewise.
13369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
13370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
13371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
13372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
13373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13374 Likewise.
13375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
13376 Likewise.
13377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
13378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13379 Likewise.
13380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
13381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13382 Likewise.
13383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13384 Likewise.
13385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13388 Likewise.
13389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13390 Likewise.
13391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
13392 Likewise.
13393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
13394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13397 Likewise.
13398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
13399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
13400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
13401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
13404 Likewise.
13405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
13406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13407 Likewise.
13408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13409 Likewise.
13410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13411 Likewise.
13412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
13413 Likewise.
13414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
13415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
13416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13417 Likewise.
13418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13419 Likewise.
13420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13421 Likewise.
13422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
13423 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13424 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
13425 Likewise.
13426 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13427 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13428 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
13429 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13430 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13431 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13432 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13433 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
13434 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13435 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
13436 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13437 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
13438 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13439 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13440 Likewise.
13441 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13442 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
13443 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
13444 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13445 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
13446 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13447 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
13448 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
13449 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
13450 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
13451 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13452 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13453 Likewise.
13454 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13455 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
13456 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
13457 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13458 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
13459 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13460 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
13461 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
13462 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
13463 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
13464 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13465 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
13466 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
13467 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13468 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
13469 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
13470 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13471 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
13472 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13473 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
13474 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
13475 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
13476 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
13477 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13478 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13479 Likewise.
13480 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
13481 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13482 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
13483 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
13484 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13485 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
13486 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13487 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
13488 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
13489 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
13490 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
13491 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13492 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13493 Likewise.
13494 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
13495 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13496 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
13497 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
13498 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13499 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
13500 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13501 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
13502 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
13503 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
13504 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
13505 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13506 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
13507 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
13508 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13509 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
13510 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
13511 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13512 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
13513 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13514 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
13515 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
13516 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
13517 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
13518 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13519 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13520 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
13521 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
13522 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13523 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
13524 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
13525 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13526 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
13527 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13528 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
13529 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
13530 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
13531 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
13532
13533 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
13534
13535 [BZ #23137]
13536 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
13537 Use atomic_load_acquire to load __tid.
13538
13539 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13540
13541 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
13542 Restore the pointer into %rdx, after syscall and use %rdx,
13543 instead of %rsi, to restore context.
13544
13545 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13546
13547 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
13548 Pop the pointer into %rdx after syscall and use %rdx, instead
13549 of %rsi, to restore context.
13550
13551 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13552
13553 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
13554 handlers after setjmp.
13555 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
13556 defined.
13557 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
13558 <libc-pointer-arith.h>.
13559 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
13560 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
13561 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
13562 _JUMP_BUF_SIGSET_BITS_PER_WORD.
13563 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
13564 * sysdeps/x86/__longjmp_cancel.S: New file.
13565 * sysdeps/x86/longjmp.c: Likewise.
13566 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
13567
13568 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13569
13570 * NEWS: Add ustat.h deprecation entry.
13571 * bits/ustat.h: Remove file.
13572 * misc/sys/ustat.h: Likewise.
13573 * misc/ustat.h: Likewise.
13574 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
13575 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
13576 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
13577 compatibility mode.
13578 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
13579 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
13580 generic Linux implementation.
13581
13582 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13583
13584 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
13585 * math/w_expl_compat.c: Likewise.
13586 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
13587
13588 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13589
13590 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13591
13592 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13593
13594 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
13595 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
13596 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
13597 Remove.
13598 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
13599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13600 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13601 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
13602 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
13603 and SYSCALL_LL64.
13604
13605 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13606
13607 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
13608
13609 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
13610 * math/w_asin_template.c: Likewise.
13611 * math/w_atanh_template.c: Likewise.
13612
13613 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13614
13615 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
13616 to powerpc/powerpc64/be for big-endian.
13617 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
13618 little-endian.
13619
13620 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
13621 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
13622 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
13623 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
13624 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13625 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
13626 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
13627 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
13628 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
13629 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13630 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
13631 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
13632 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
13633 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
13634 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
13635 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
13636 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
13637 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
13638 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
13639 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
13640 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
13641 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13642 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
13643 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
13644 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
13645 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13646 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
13647 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
13648 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
13649 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13650 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13651 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13652
13653 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
13654 adjusted to imply powerpc64 and older processors on powerpc64/be.
13655 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
13656 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
13657 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
13658 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
13659 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
13660 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
13661 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
13662 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
13663 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
13664 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
13665 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
13666 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
13667 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
13668 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
13669 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
13670 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
13671 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
13672 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
13673 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
13674 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
13675 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
13676 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
13677 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
13678 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
13679 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
13680 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
13681 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
13682 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
13683 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
13684 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
13685 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
13686
13687 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
13688 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
13689 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
13690 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
13691
13692 * sysdeps/powerpc/powerpc64/be/Implies: New file.
13693 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
13694 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
13695 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
13696
13697 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
13698 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
13699 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
13700 * sysdeps/powerpc/powerpc64le/configure: Likewise.
13701 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
13702 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
13703 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
13704 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
13705 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
13706 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
13707 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
13708
13709 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
13710 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
13711 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
13712 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
13713 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
13714 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
13715 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
13716 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
13717 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
13718 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
13719 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
13720
13721 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
13722 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
13723 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
13724 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
13725 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
13726 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
13727 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
13728 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
13729 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
13730 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
13731 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
13732 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
13733
13734 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
13735 and adjusted to imply olders processors.
13736 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
13737 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
13738 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
13739 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
13740 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
13741 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
13742 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
13743 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
13744 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
13745 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
13746 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
13747
13748 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
13749 powerpc64/le.
13750 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
13751 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
13752
13753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
13754 powerpc64le.
13755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
13756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
13757
13758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
13759 powerpc64/be.
13760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
13762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
13763
13764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
13765 powerpc64 and adjusted.
13766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
13767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
13768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
13769 Likewise.
13770
13771 2018-04-27 Joseph Myers <joseph@codesourcery.com>
13772
13773 * sysdeps/tile: Remove.
13774 * sysdeps/unix/sysv/linux/tile: Likewise.
13775 * README (tilegx-*-linux-gnu): Remove from list of supported
13776 configurations.
13777 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
13778 contribution of support for generic Linux kernel syscall
13779 interface.
13780 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
13781 tilegx configurations.
13782 (Config.install_linux_headers): Do not handle tile.
13783 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
13784 in comment.
13785 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
13786 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
13787 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13788 conditional undefine and redefine.
13789 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
13790 in comment.
13791 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
13792 conditional undefine and redefine.
13793
13794 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
13795
13796 * signal/tst-sigaction.c: New file to test BZ #23069.
13797 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
13798
13799 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13800
13801 [BZ #22766]
13802 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
13803 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
13804 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
13805 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13806
13807 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13808
13809 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
13810 _DIRENT_MATCHES_DIRENT64 is not defined.
13811 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
13812 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
13813 is defined.
13814 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
13815 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
13816
13817 2018-04-25 Joseph Myers <joseph@codesourcery.com>
13818
13819 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
13820 version to GCC 8 branch.
13821
13822 2018-04-24 Joseph Myers <joseph@codesourcery.com>
13823
13824 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
13825 (check_no_hidden): Use type of original function when declaring
13826 alias.
13827
13828 * sysdeps/unix/sysv/linux/sys/ptrace.h
13829 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
13830 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
13831 (struct __ptrace_seccomp_metadata): New type.
13832 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13833 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13834 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
13835 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13836 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
13837 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13838 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13839 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13840 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13841 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13842 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13843 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13844 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
13845 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13846 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
13847 (PTRACE_SECCOMP_GET_METADATA): Likewise.
13848
13849 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13850
13851 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
13852 defined.
13853 * dirent/versionsort.c (versionsort): Likewise.
13854 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
13855 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
13856 * dirent/versionsort64.c (versionsort64): Likewise.
13857 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
13858 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
13859 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
13860 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
13861 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
13862 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
13863 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
13864 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
13865 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
13866 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
13868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
13869 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
13870 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
13871
13872 2018-04-23 Joseph Myers <joseph@codesourcery.com>
13873
13874 * elf/elf.h (NT_PPC_PKEY): New macro.
13875
13876 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
13877
13878 [BZ #23094]
13879 * localedata/locales/hr_HR: fix thousands_sep and
13880 mon_thousands_sep
13881
13882 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13883
13884 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
13885 (XTABS): Define to TAB3.
13886
13887 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13888
13889 * sysdeps/hppa/fpu/libm-test-ulps: Update.
13890
13891 * dirent/scandir-tail-common.c: New file.
13892 * dirent/scandir-tail.c: Use scandir-tail-common.c.
13893 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
13894 * dirent/scandir.c: Use scandir-tail-common.c.
13895 * dirent/scandirat.c: Likewise.
13896 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
13897 * dirent/scandir64.c (scandir64): Always build and alias to scandir
13898 if _DIRENT_MATCHES_DIRENT64 is defined.
13899 * dirent/scandirat64.c (scandirat64): Likewise.
13900 * include/dirent.h (__scandir_tail): Only define iff
13901 _DIRENT_MATCHES_DIRENT64 is not defined.
13902 (__scandir64_tail): Define regardless.
13903 (__scandirat, scandirat64): Remove libc_hidden_proto.
13904 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
13905 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
13906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
13907 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
13908 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13909 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
13910 * sysdeps/unix/sysv/linux/scandir64.c: New file.
13911
13912 2018-04-20 Joseph Myers <joseph@codesourcery.com>
13913
13914 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
13915 New macro.
13916 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13917 Increase to 24.
13918 (_dl_aarch64_cap_flags): Add asimdfhm.
13919
13920 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
13921
13922 * sysdeps/nios2/libm-test-ulps: Update.
13923
13924 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13925
13926 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
13927 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
13928
13929 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
13930 requirements.
13931 (_DIRENT_MATCHES_DIRENT64): Undef
13932 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
13933 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
13934 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
13935 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
13936 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
13937 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
13938 use getdents64 syscalls as base.
13939 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
13940 symbol if required.
13941 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
13942 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
13943 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
13944 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
13945 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
13946 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
13947 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
13948 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
13949 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13950 (__get_clockfreq_via_proc_openprom): Use __getdents64.
13951 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
13952
13953 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13954
13955 * scripts/test_printers_common.py (init_test): Disable lock elision.
13956
13957 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13958
13959 * math/test-tgmath.c (count_double, count_float,
13960 count_ldouble, count_cdouble, count_cfloat,
13961 count_cldouble): Use volatile int.
13962
13963 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
13964
13965 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
13966 (conformtest-xfail-conds): Add i386-gnu.
13967 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
13968 i386-gnu.
13969 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
13970 ipc_perm.cuid, ipc_perm.cgid): Likewise.
13971 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
13972 msqid_ds.msg_lrpid): Likewise.
13973 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
13974 Likewise.
13975 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
13976 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
13977 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
13978 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
13979 unsigned int.
13980 (struct statvfs64): Likewise.
13981 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
13982 Likewise.
13983 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
13984 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
13985 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
13986 instead of wait_queue.
13987 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
13988 instead of vm_area_struct.
13989 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
13990 struct sched_param definition to it.
13991 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13992 * bits/types/struct_sched_param.h: New file.
13993 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
13994 <bits/types/struct_sched_param.h> instead of <sched.h>.
13995 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
13996 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
13997 generic version but include <bits/pthreadtypes.h> to make struct
13998 sigevent's sigev_notify_attributes field a pthread_attr_t*.
13999 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14000 non-compliant.
14001 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14002 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14003 [__USE_XOPEN] (OFDEL): New macro.
14004 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
14005 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
14006 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14007 prototypes.
14008 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14009 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
14010 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14011 non-compliant.
14012 * sysdeps/i386/sys/ucontext.h: Likewise.
14013 * sysdeps/m68k/sys/ucontext.h: Likewise.
14014 * sysdeps/mips/sys/ucontext.h: Likewise.
14015 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
14016 * sysdeps/mach/hurd/i386/Makefile
14017 (test-xfail-POSIX/fcntl.h/conform): Add.
14018 (test-xfail-POSIX/signal.h/conform): Add.
14019 (test-xfail-POSIX/semaphore.h/conform): Add.
14020 (test-xfail-POSIX/regex.h/conform): Add.
14021 (test-xfail-POSIX/aio.h/conform): Add.
14022 (test-xfail-POSIX/mqueue.h/conform): Add.
14023 (test-xfail-POSIX/sys/types.h/conform): Add.
14024 (test-xfail-UNIX98/fcntl.h/conform): Add.
14025 (test-xfail-UNIX98/netdb.h/conform): Add.
14026 (test-xfail-UNIX98/signal.h/conform): Add.
14027 (test-xfail-UNIX98/semaphore.h/conform): Add.
14028 (test-xfail-UNIX98/regex.h/conform): Add.
14029 (test-xfail-UNIX98/aio.h/conform): Add.
14030 (test-xfail-UNIX98/ftw.h/conform): Add.
14031 (test-xfail-UNIX98/mqueue.h/conform): Add.
14032 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14033 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14034 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14035 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14036 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14037 (test-xfail-UNIX98/sys/types.h/conform): Add.
14038 (test-xfail-UNIX98/stdlib.h/conform): Add.
14039 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14040 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14041 (test-xfail-POSIX2008/netdb.h/conform): Add.
14042 (test-xfail-POSIX2008/signal.h/conform): Add.
14043 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14044 (test-xfail-POSIX2008/regex.h/conform): Add.
14045 (test-xfail-POSIX2008/aio.h/conform): Add.
14046 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14047 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14048 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14049 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14050 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14051 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14052 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14053 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14054 (test-xfail-XOPEN2K/signal.h/conform): Add.
14055 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14056 (test-xfail-XOPEN2K/regex.h/conform): Add.
14057 (test-xfail-XOPEN2K/aio.h/conform): Add.
14058 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14059 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14060 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14061 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14062 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14063 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14064 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14065 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14066 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14067 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14068 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14069 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14070 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14071 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14072 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14073 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14074 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14075 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14076 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14077 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14078 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14079 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14080 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14081 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14082 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14083 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
14084 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14085 i386-gnu.
14086 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14087 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
14088
14089 2018-04-18 Joseph Myers <joseph@codesourcery.com>
14090
14091 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14092 --enable-obsolete for powerpc-linux-gnuspe.
14093
14094 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14095
14096 * conform/data/sys/un.h-data: Allow sun_ prefix.
14097 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
14098 prototypes.
14099 * sysdeps/mach/include/mach.h: Likewise.
14100 * sysdeps/mach/include/mach/mig_support.h: Likewise.
14101 * sysdeps/mach/include/mach_error.h: Likewise.
14102
14103 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14104
14105 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
14106 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
14107 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
14108 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
14109
14110 2018-04-16 Andreas Schwab <schwab@suse.de>
14111
14112 [BZ #19527]
14113 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
14114
14115 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14116
14117 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
14118 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
14119
14120 2018-04-12 DJ Delorie <dj@redhat.com>
14121
14122 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14123 version to 4.16.
14124
14125 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14126
14127 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
14128 (struct kernel_sigaction): Use the same definition on 31bit as is used
14129 on 64bit.
14130
14131 2018-04-09 Florian Weimer <fweimer@redhat.com>
14132
14133 [BZ #23037]
14134 * resolv/res_send.c (send_dg): Use designated initializers instead
14135 of assignment to zero-initialize other fields of struct mmsghdr.
14136
14137 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14138
14139 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
14140 __READDIR_ALIAS): Undefine after usage.
14141 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
14142 __READDIR_R_ALIAS): Likewise.
14143 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
14144 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
14145 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
14146 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
14147 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
14148 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
14149 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14150 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14151 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
14152 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
14153 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
14154 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
14155 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14156 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
14157 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
14158 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
14159 * sysdeps/unix/sysv/linux/readdir.c: New file.
14160 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
14161 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
14162 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
14163
14164 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14165
14166 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
14167
14168 * manual/charset.texi (Converting a Character): Fix typo.
14169
14170 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14171
14172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14173
14174 * sysdeps/arm/libm-test-ulps: Update.
14175
14176 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14177 as base implementation.
14178 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14179 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14180 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14181 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14182 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14183 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14184 remove unrequired definitions and update comments.
14185 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14186 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14187 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14188 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14189 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14190 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14191 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14192 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14193 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14194 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14195 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14196 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14197 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14198 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14199 and RESET_SA_RESTORER hooks.
14200
14201 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14202
14203 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14204
14205 2018-04-05 Florian Weimer <fweimer@redhat.com>
14206
14207 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14208 integer overflow, memory leak on error, and indeterminate errno
14209 value. Add a null wide character to terminate the result string.
14210 * manual/charset.texi (Converting a Character): Mention embedded
14211 null bytes in the mbrtowc input string. Explain what happens in
14212 the -2 result case. Do not claim that mbrtowc is simple or
14213 obvious to use. Adjust the description of the code example. Use
14214 @code, not @var, for concrete variables.
14215
14216 2018-04-05 Florian Weimer <fweimer@redhat.com>
14217
14218 * manual/examples/mbstouwcs.c: New file.
14219 * manual/charset.texi (Converting a Character): Include it.
14220
14221 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14222
14223 * include/dirent.h (dirfd): Add hidden proto.
14224 * dirent/dirfd.c (dirfd): Add hidden def.
14225 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14226 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
14227
14228 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14229
14230 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14231 sin, cos and sincos to 1 ULP.
14232
14233 2018-04-04 Maciej W. Rozycki <macro@mips.com>
14234
14235 [BZ #19818]
14236 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14237 symbols.
14238 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14239 * elf/tst-absolute-sym.c: New file.
14240 * elf/tst-absolute-sym-lib.c: New file.
14241 * elf/tst-absolute-sym-lib.lds: New file.
14242 * elf/Makefile (tests): Add `tst-absolute-sym'.
14243 (modules-names): Add `tst-absolute-sym-lib'.
14244 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14245 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14246 ($(objpfx)tst-absolute-sym): New dependency.
14247
14248 [BZ #19818]
14249 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14250 parameter.
14251 (SYMBOL_ADDRESS): New macro.
14252 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14253 SYMBOL_ADDRESS for symbol address calculation.
14254 * elf/dl-runtime.c (_dl_fixup): Likewise.
14255 (_dl_profile_fixup): Likewise.
14256 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14257 * elf/rtld.c (dl_main): Likewise.
14258 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14259 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14260 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14261 (elf_machine_rela): Likewise.
14262 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14263 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14264 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14265 (elf_machine_rela): Likewise.
14266 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14267 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14268 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14269 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14270 Likewise.
14271 (elf_machine_reloc): Likewise.
14272 (elf_machine_got_rel): Likewise.
14273 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14274 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14275 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14276 Likewise.
14277 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14278 Likewise.
14279 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14280 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14281 Likewise.
14282 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14283 Likewise.
14284 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14285 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14286 Likewise.
14287 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14288 Likewise.
14289 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14290 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14291
14292 2018-04-04 Zack Weinberg <zackw@panix.com>
14293
14294 * sysdeps/generic/internal-signals.h: Include signal.h,
14295 sigsetops.h, and stdbool.h.
14296 (__libc_signal_block_all): Actually block all signals.
14297 (__libc_signal_block_app): Likewise.
14298 (__libc_signal_restore_set): Actually restore the signal mask.
14299
14300 2018-04-04 Florian Weimer <fweimer@redhat.com>
14301
14302 inet: Actually build and run tst-deadline.
14303 * inet/Makefile (tests-internal): Add tst-deadline and do not
14304 overwrite the variable.
14305 (tests-static-internal): Remove variable.
14306
14307 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14308
14309 [BZ #22947]
14310 * bits/uio-ext.h (RWF_APPEND): New.
14311 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14312 * manual/llio.texi: Document RWF_APPEND.
14313 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
14314 (RWF_SUPPORTED): Add RWF_APPEND.
14315
14316 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14317
14318 [BZ #22391]
14319 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
14320 check for internal nptl signals.
14321 * nptl/sigaction.c (__sigaction): Likewise.
14322 * signal/sigaddset.c (sigaddset): Likewise.
14323 * signal/sigdelset.c (sigdelset): Likewise.
14324 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14325 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14326 value.
14327 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14328 to filter out internal nptl signals.
14329 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14330 also check realtime signals using standard macros.
14331 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
14332 __is_internal_signal, __libc_signal_block_all,
14333 __libc_signal_block_app, __libc_signal_restore_set): New functions.
14334 * sysdeps/nptl/sigfillset.c: Remove file.
14335 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
14336 Change return to bool.
14337 (__clear_internal_signals): Remove SIGTIMER clean since it is
14338 equal to SIGCANEL on Linux.
14339 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
14340 signal set was constructed using standard functions.
14341
14342 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14343
14344 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
14345 ifname is too long.
14346 * hurd/hurdsig.c (interrupted_reply_port_location): Use
14347 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
14348 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
14349 hidden def.
14350 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
14351 * signal/sigaddset.c: Include <sigsetopts.h>.
14352 * signal/sigdelset.c: Likewise.
14353
14354 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14355
14356 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
14357 (__cos): Likewise.
14358 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
14359 logic as sin and cos.
14360
14361 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14362
14363 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
14364 inputs. Return correct sign.
14365 (do_sincos): Remove small input check before do_sin, let do_sin set
14366 the sign.
14367 (__sin): Likewise.
14368 (__cos): Likewise.
14369
14370 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14371
14372 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
14373 (do_cos_slow): Likewise.
14374 (do_sin_slow): Likewise.
14375 (reduce_and_compute): Likewise.
14376 (slow): Likewise.
14377 (slow1): Likewise.
14378 (slow2): Likewise.
14379 (sloww): Likewise.
14380 (sloww1): Likewise.
14381 (sloww2): Likewise.
14382 (bslow): Likewise.
14383 (bslow1): Likewise.
14384 (bslow2): Likewise.
14385 (cslow2): Likewise.
14386
14387 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14388
14389 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
14390 (do_cos): Remove corp parameter and calculations.
14391 (do_sin): Likewise.
14392 (do_sincos): Remove cor variable.
14393 (__sin): Use do_sincos for huge inputs.
14394 (__cos): Likewise.
14395 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14396 (reduce_and_compute_sincos): Remove unused function.
14397
14398 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14399
14400 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
14401 reduce_sincos, improve accuracy to 136 bits.
14402 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
14403 (__sin): Use improved reduction and simplified do_sincos calculation.
14404 (__cos): Likewise.
14405 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14406
14407 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14408
14409 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
14410 (do_sincos_2): Likewise.
14411 (__sin): Remove middle range reduction case.
14412 (__cos): Likewise.
14413 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
14414 reduction case.
14415
14416 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14417
14418 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
14419 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
14420 inputs.
14421 (__cos): Likewise.
14422 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
14423
14424 2018-04-03 Joseph Myers <joseph@codesourcery.com>
14425
14426 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14427 version to 4.16
14428
14429 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14430
14431 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
14432 Remove definitions.
14433 (opendir_oflags): Use O_DIRECTORY regardless.
14434 (__opendir, __opendirat): Remove need_isdir_precheck usage.
14435 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
14436
14437 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14438
14439 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
14440 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
14441 macros.
14442 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
14443 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
14444 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
14445 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
14446 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
14447 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
14448
14449 * htl/Makefile: Bump licence to LGPL 2.1+.
14450 * htl/alloca_cutoff.c: Likewise.
14451 * htl/cthreads-compat.c: Likewise.
14452 * htl/lockfile.c: Likewise.
14453 * htl/pt-alloc.c: Likewise.
14454 * htl/pt-cancel.c: Likewise.
14455 * htl/pt-cleanup.c: Likewise.
14456 * htl/pt-create.c: Likewise.
14457 * htl/pt-dealloc.c: Likewise.
14458 * htl/pt-detach.c: Likewise.
14459 * htl/pt-exit.c: Likewise.
14460 * htl/pt-getattr.c: Likewise.
14461 * htl/pt-initialize.c: Likewise.
14462 * htl/pt-internal.h: Likewise.
14463 * htl/pt-join.c: Likewise.
14464 * htl/pt-self.c: Likewise.
14465 * htl/pt-setcancelstate.c: Likewise.
14466 * htl/pt-setcanceltype.c: Likewise.
14467 * htl/pt-sigmask.c: Likewise.
14468 * htl/pt-spin-inlines.c: Likewise.
14469 * htl/pt-testcancel.c: Likewise.
14470 * htl/pt-yield.c: Likewise.
14471 * htl/tests/test-1.c: Likewise.
14472 * htl/tests/test-10.c: Likewise.
14473 * htl/tests/test-11.c: Likewise.
14474 * htl/tests/test-12.c: Likewise.
14475 * htl/tests/test-13.c: Likewise.
14476 * htl/tests/test-14.c: Likewise.
14477 * htl/tests/test-15.c: Likewise.
14478 * htl/tests/test-16.c: Likewise.
14479 * htl/tests/test-17.c: Likewise.
14480 * htl/tests/test-2.c: Likewise.
14481 * htl/tests/test-3.c: Likewise.
14482 * htl/tests/test-4.c: Likewise.
14483 * htl/tests/test-5.c: Likewise.
14484 * htl/tests/test-6.c: Likewise.
14485 * htl/tests/test-7.c: Likewise.
14486 * htl/tests/test-8.c: Likewise.
14487 * htl/tests/test-9.c: Likewise.
14488 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
14489 * sysdeps/htl/bits/cancelation.h: Likewise.
14490 * sysdeps/htl/bits/pthread-np.h: Likewise.
14491 * sysdeps/htl/bits/pthread.h: Likewise.
14492 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
14493 * sysdeps/htl/bits/semaphore.h: Likewise.
14494 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
14495 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
14496 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
14497 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
14498 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
14499 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
14500 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
14501 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
14502 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
14503 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
14504 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
14505 * sysdeps/htl/old_pt-atfork.c: Likewise.
14506 * sysdeps/htl/pt-atfork.c: Likewise.
14507 * sysdeps/htl/pt-attr-destroy.c: Likewise.
14508 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
14509 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
14510 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
14511 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
14512 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
14513 * sysdeps/htl/pt-attr-getscope.c: Likewise.
14514 * sysdeps/htl/pt-attr-getstack.c: Likewise.
14515 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
14516 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
14517 * sysdeps/htl/pt-attr-init.c: Likewise.
14518 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
14519 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
14520 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
14521 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
14522 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
14523 * sysdeps/htl/pt-attr-setscope.c: Likewise.
14524 * sysdeps/htl/pt-attr-setstack.c: Likewise.
14525 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
14526 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
14527 * sysdeps/htl/pt-attr.c: Likewise.
14528 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
14529 * sysdeps/htl/pt-barrier-init.c: Likewise.
14530 * sysdeps/htl/pt-barrier-wait.c: Likewise.
14531 * sysdeps/htl/pt-barrier.c: Likewise.
14532 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
14533 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
14534 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
14535 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
14536 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
14537 * sysdeps/htl/pt-cond-destroy.c: Likewise.
14538 * sysdeps/htl/pt-cond-init.c: Likewise.
14539 * sysdeps/htl/pt-cond-signal.c: Likewise.
14540 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
14541 * sysdeps/htl/pt-cond-wait.c: Likewise.
14542 * sysdeps/htl/pt-cond.c: Likewise.
14543 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
14544 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
14545 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
14546 * sysdeps/htl/pt-condattr-init.c: Likewise.
14547 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
14548 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
14549 * sysdeps/htl/pt-destroy-specific.c: Likewise.
14550 * sysdeps/htl/pt-equal.c: Likewise.
14551 * sysdeps/htl/pt-getconcurrency.c: Likewise.
14552 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
14553 * sysdeps/htl/pt-getschedparam.c: Likewise.
14554 * sysdeps/htl/pt-getspecific.c: Likewise.
14555 * sysdeps/htl/pt-init-specific.c: Likewise.
14556 * sysdeps/htl/pt-key-create.c: Likewise.
14557 * sysdeps/htl/pt-key-delete.c: Likewise.
14558 * sysdeps/htl/pt-key.h: Likewise.
14559 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
14560 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
14561 * sysdeps/htl/pt-mutex-init.c: Likewise.
14562 * sysdeps/htl/pt-mutex-lock.c: Likewise.
14563 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
14564 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
14565 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
14566 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
14567 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
14568 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
14569 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
14570 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
14571 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
14572 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
14573 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
14574 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
14575 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
14576 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
14577 * sysdeps/htl/pt-mutexattr.c: Likewise.
14578 * sysdeps/htl/pt-once.c: Likewise.
14579 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
14580 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
14581 * sysdeps/htl/pt-rwlock-init.c: Likewise.
14582 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
14583 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
14584 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
14585 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
14586 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
14587 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
14588 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
14589 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
14590 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
14591 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
14592 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
14593 * sysdeps/htl/pt-setconcurrency.c: Likewise.
14594 * sysdeps/htl/pt-setschedparam.c: Likewise.
14595 * sysdeps/htl/pt-setschedprio.c: Likewise.
14596 * sysdeps/htl/pt-setspecific.c: Likewise.
14597 * sysdeps/htl/pt-spin.c: Likewise.
14598 * sysdeps/htl/pt-startup.c: Likewise.
14599 * sysdeps/htl/pthread.h: Likewise.
14600 * sysdeps/htl/sem-close.c: Likewise.
14601 * sysdeps/htl/sem-destroy.c: Likewise.
14602 * sysdeps/htl/sem-getvalue.c: Likewise.
14603 * sysdeps/htl/sem-init.c: Likewise.
14604 * sysdeps/htl/sem-open.c: Likewise.
14605 * sysdeps/htl/sem-post.c: Likewise.
14606 * sysdeps/htl/sem-timedwait.c: Likewise.
14607 * sysdeps/htl/sem-trywait.c: Likewise.
14608 * sysdeps/htl/sem-unlink.c: Likewise.
14609 * sysdeps/htl/sem-wait.c: Likewise.
14610 * sysdeps/hurd/htl/pt-kill.c: Likewise.
14611 * sysdeps/i386/htl/pt-machdep.h: Likewise.
14612 * sysdeps/mach/htl/pt-block.c: Likewise.
14613 * sysdeps/mach/htl/pt-spin.c: Likewise.
14614 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
14615 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
14616 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
14617 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
14618 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
14619 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
14620 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
14621 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
14622 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
14623 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
14624 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
14625 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
14626 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
14627 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
14628 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
14629 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
14630 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
14631 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
14632 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
14633 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
14634 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
14635 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
14636 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
14637 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
14638 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
14639 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
14640 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
14641 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
14642 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
14643 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
14644 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
14645 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
14646 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
14647 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
14648 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
14649 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
14650 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
14651 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
14652 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
14653 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
14654 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
14655 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
14656 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
14657
14658 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
14659 * README: Remove the mention of out-of-tree patches needed for
14660 GNU/Hurd.
14661
14662 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
14663 (UTIME_NOW, UTIME_OMIT): Define macros.
14664
14665 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
14666 instead of pthread_detach.
14667 (__cthread_fork): Call __pthread_create instead of pthread_create.
14668 (__cthread_keycreate): Call __pthread_key_create instead of
14669 pthread_key_create.
14670 (__cthread_getspecific): Call __pthread_getspecific instead of
14671 pthread_getspecific.
14672 (__cthread_setspecific): Call __pthread_setspecific instead of
14673 pthread_setspecific.
14674 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
14675 __pthread_mutex_unlock instead of pthread_mutex_lock and
14676 pthread_mutex_unlock.
14677 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
14678 ___pthread_get_cleanup_stack.
14679 (__pthread_get_cleanup_stack): New strong alias.
14680 * htl/pt-create.c: Include <pthreadP.h>.
14681 (entry_point): Call __pthread_exit instead of pthread_exit.
14682 (pthread_create): Rename to __pthread_create.
14683 (pthread_create): New strong alias.
14684 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
14685 (pthread_detach): New strong alias.
14686 (__pthread_detach): Call __pthread_cond_broadcast instead of
14687 pthread_cond_broadcast.
14688 * htl/pt-exit.c: Include <pthreadP.h>.
14689 (__pthread_exit): Call __pthread_setcancelstate and
14690 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
14691 __pthread_get_cleanup_stack.
14692 * htl/pt-testcancel.c: Include <pthreadP.h>.
14693 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
14694 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
14695 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
14696 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
14697 pthread_attr_getstacksize.
14698 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
14699 Rename to __pthread_attr_getstackaddr.
14700 (pthread_attr_getstackaddr): New strong alias.
14701 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
14702 Rename to __pthread_attr_getstacksize.
14703 (pthread_attr_getstacksize): New strong alias.
14704 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
14705 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
14706 (pthread_attr_setstack): New strong alias.
14707 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
14708 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
14709 pthread_attr_getstacksize, pthread_attr_setstacksize and
14710 pthread_attr_setstackaddr.
14711 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
14712 Rename to __pthread_attr_setstackaddr.
14713 (pthread_attr_setstackaddr): New strong alias.
14714 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
14715 Rename to __pthread_attr_setstacksize.
14716 (pthread_attr_setstacksize): New strong alias.
14717 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
14718 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
14719 pthread_exit.
14720 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
14721 (__pthread_key_create): New hidden def.
14722 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
14723 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
14724 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
14725 __pthread_exit, __pthread_key_create, __pthread_getspecific,
14726 __pthread_setspecific, __pthread_setcancelstate,
14727 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
14728 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
14729 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
14730 declarations.
14731 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
14732 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
14733 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
14734 (pthread_attr_setstackaddr): New strong alias.
14735 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
14736 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
14737 (pthread_attr_setstacksize): New strong alias.
14738 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
14739 (call_exit): Call __pthread_exit instead of pthread_exit.
14740 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
14741 (_pthread_mutex_init): New hidden definition.
14742 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
14743 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
14744 instead of pthread_attr_init and pthread_attr_setstack.
14745
14746 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
14747 __vm_deallocate instead of vm_allocate and vm_deallocate.
14748 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
14749 setenv.
14750 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
14751 of geteuid.
14752 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
14753 strdup.
14754 * hurd/siginfo.c: Include <libioP.h>.
14755 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
14756 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
14757 munmap.
14758 * mach/devstream.c: Include <libioP.h>.
14759 (dealloc_ref): Call __mach_port_deallocate instead of
14760 mach_port_deallocate.
14761 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
14762 Call __mach_port_deallocate instead of mach_port_deallocate.
14763 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
14764 pathconf.
14765 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
14766 munmap.
14767 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
14768 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
14769 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
14770 of munmap.
14771 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
14772 of close.
14773 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
14774 instead of sysconf.
14775 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
14776 __clock_gettime instead of clock_gettime.
14777 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
14778 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14779 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
14780 * sysdeps/unix/bsd/stty.c (stty): Likewise.
14781 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
14782 tcgetattr.
14783 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
14784 __clock_gettime and __nanosleep instead of clock_gettime and
14785 nanosleep.
14786 * hurd/catch-signal.c (hurd_catch_signal): Rename to
14787 __hurd_catch_signal.
14788 (hurd_catch_signal): New strong alias.
14789 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
14790 __hurd_catch_signal instead of hurd_catch_signal.
14791 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
14792 * hurd/hurdexec.c (_hurd_init): Add hidden def.
14793 * hurd/hurdinit.c (_hurd_init): Add hidden def.
14794 * hurd/hurdsig.c: Include <mach/mig_support.h>.
14795 (_hurd_thread_sigstate): Add hidden def.
14796 (_hurd_internal_post_signal): Use __mutex_unlock instead of
14797 mutex_unlock.
14798 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
14799 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
14800 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
14801 __hurd_file_name_path_lookup.
14802 (hurd_file_name_path_lookup): New strong alias.
14803 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
14804 hurd_file_name_path_lookup.
14805 * mach/errstring.c (mach_error_type): Add hidden def.
14806 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
14807 * mach/mutex-init.c (__mutex_init): Add hidden def.
14808 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
14809 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
14810 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
14811 * sysdeps/mach/hurd/getcwd.c
14812 (_hurd_canonicalize_directory_name_internal): Rename to
14813 __hurd_canonicalize_directory_name_internal.
14814 (_hurd_canonicalize_directory_name_internal): New strong alias.
14815 (__canonicalize_directory_name_internal, __getcwd): Call
14816 __hurd_canonicalize_directory_name_internal instead of
14817 _hurd_canonicalize_directory_name_internal.
14818 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
14819 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
14820 hidden defs.
14821 * sysdeps/hurd/include/hurd.h: New file.
14822 * sysdeps/hurd/include/hurd/fd.h: New file.
14823 * sysdeps/hurd/include/hurd/signal.h: New file.
14824 * sysdeps/mach/include/lock-intern.h: New file.
14825 * sysdeps/mach/include/mach.h: New file.
14826 * sysdeps/mach/include/mach/mig_support.h: New file.
14827 * sysdeps/mach/include/mach_error.h: New file.
14828 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
14829 prototype.
14830 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
14831 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
14832 _HEADER_H_HIDDEN_DEF macro.
14833 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
14834 _hurd_fd_error_signal): Add hidden prototype.
14835 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
14836 hidden def.
14837 * libio/iolibio.h (_IO_puts): New hidden prototype.
14838 * libio/ioputs.c (_IO_puts): New hidden def.
14839 * sysdeps/mach/hurd/localplt.data: New file.
14840
14841 2018-04-02 Agustina Arzille <avarzille@riseup.net>
14842 Amos Jeffries <squid3@treenet.co.nz>
14843 David Michael <fedora.dm0@gmail.com>
14844 Marco Gerards <marco@gnu.org>
14845 Marcus Brinkmann <marcus@gnu.org>
14846 Neal H. Walfield <neal@gnu.org>
14847 Pino Toscano <toscano.pino@tiscali.it>
14848 Richard Braun <rbraun@sceen.net>
14849 Roland McGrath <roland@gnu.org>
14850 Samuel Thibault <samuel.thibault@ens-lyon.org>
14851 Thomas DiModica <ricinwich@yahoo.com>
14852 Thomas Schwinge <tschwinge@gnu.org>
14853
14854 * htl: New directory.
14855 * sysdeps/htl: New directory.
14856 * sysdeps/hurd/htl: New directory.
14857 * sysdeps/i386/htl: New directory.
14858 * sysdeps/mach/htl: New directory.
14859 * sysdeps/mach/hurd/htl: New directory.
14860 * sysdeps/mach/hurd/i386/htl: New directory.
14861 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
14862 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
14863 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
14864
14865 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14866
14867 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
14868 signals in thread created for runing timers.
14869
14870 2018-04-01 Florian Weimer <fweimer@redhat.com>
14871
14872 * support/support_format_addrinfo.c (support_format_addrinfo):
14873 Include unknown error number in formatted result.
14874
14875 2018-03-29 Florian Weimer <fweimer@redhat.com>
14876
14877 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
14878 capture SIGBUS.
14879
14880 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14881
14882 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
14883 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
14884 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14885 (__ASSUME_CLONE_BACKWARDS): Define.
14886
14887 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
14888
14889 [BZ #23024]
14890 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
14891 early when linux sentinel value is set.
14892
14893 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14894
14895 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
14896
14897 2018-03-27 Andreas Schwab <schwab@suse.de>
14898
14899 [BZ #23005]
14900 * resolv/res_send.c (__res_context_send): Return ENOMEM if
14901 allocation of private copy of nsaddr_list fails.
14902
14903 2018-03-26 Joseph Myers <joseph@codesourcery.com>
14904
14905 [BZ #16552]
14906 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
14907 * sysdeps/unix/sysv/linux/umount.c: ... here.
14908 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
14909 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
14910 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
14911 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
14912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
14913 * sysdeps/unix/sysv/linux/umount.S: Likewise.
14914 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
14915
14916 2018-03-26 Andreas Schwab <schwab@suse.de>
14917
14918 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
14919 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
14920 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
14921 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
14922 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
14923 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
14924 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
14925 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
14926 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
14927 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
14928 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
14929 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
14930 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
14931 (R_RISCV_NUM): Define.
14932
14933 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14934
14935 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
14936 TLS declaration of errno.
14937 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
14938 __libc_setup_tls.
14939 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
14940 (ARCH_SETUP_TLS): Likewise.
14941 * sysdeps/mach/hurd/libc-start.h: New file copied from
14942 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
14943 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
14944 instead of __libc_setup_tls.
14945 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
14946 __libc_setup_tls before initializing libpthread and running _hurd_init
14947 which starts the signal thread.
14948 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
14949 Declare function.
14950 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14951
14952 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
14953
14954 [BZ #22998]
14955 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
14956 after it is defined.
14957
14958 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
14959 Max Horn <max@quendi.de>
14960
14961 [BZ #22644]
14962 CVE-2017-18269
14963 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
14964 branch conditions.
14965 * string/test-memmove.c (do_test2): New testcase.
14966
14967 2018-03-22 Joseph Myers <joseph@codesourcery.com>
14968
14969 * sysdeps/generic/frame.h: Remove file.
14970 * sysdeps/arm/frame.h: Likewise.
14971 * sysdeps/hppa/frame.h: Likewise.
14972 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
14973 macro.
14974 (GET_FRAME): Likewise.
14975 (GET_STACK): Likewise.
14976 (CALL_SIGHANDLER): Likewise.
14977 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
14978 Likewise.
14979 (GET_FRAME): Likewise.
14980 (GET_STACK): Likewise.
14981 (CALL_SIGHANDLER): Likewise.
14982 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
14983 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14984 (GET_FRAME): Likewise.
14985 (GET_STACK): Likewise.
14986 (CALL_SIGHANDLER): Likewise.
14987 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
14988 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14989 (GET_FRAME): Likewise.
14990 (GET_STACK): Likewise.
14991 (ADVANCE_STACK_FRAME): Likewise.
14992 (CALL_SIGHANDLER): Likewise.
14993 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
14994 (SIGCONTEXT_EXTRA_ARGS): Likewise.
14995 (GET_FRAME): Likewise.
14996 (GET_STACK): Likewise.
14997 (CALL_SIGHANDLER): Likewise.
14998 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
14999 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15000 (GET_FRAME): Likewise.
15001 (GET_STACK): Likewise.
15002 (CALL_SIGHANDLER): Likewise.
15003 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15004 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15005 (GET_FRAME): Likewise.
15006 (GET_STACK): Likewise.
15007 (CALL_SIGHANDLER): Likewise.
15008 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15009 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15010 (GET_FRAME): Likewise.
15011 (GET_STACK): Likewise.
15012 (CALL_SIGHANDLER): Likewise.
15013 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15014 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15015 (GET_FRAME): Likewise.
15016 (GET_STACK): Likewise.
15017 (CALL_SIGHANDLER): Likewise.
15018 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15019 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15020 (GET_FRAME): Likewise.
15021 (GET_STACK): Likewise.
15022 (CALL_SIGHANDLER): Likewise.
15023 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15024 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15025 (GET_FRAME): Likewise.
15026 (GET_STACK): Likewise.
15027 (CALL_SIGHANDLER): Likewise.
15028 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15029 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15030 (GET_FRAME): Likewise.
15031 (GET_STACK): Likewise.
15032 (CALL_SIGHANDLER): Likewise.
15033 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15034 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15035 (GET_FRAME): Likewise.
15036 (GET_STACK): Likewise.
15037 (CALL_SIGHANDLER): Likewise.
15038 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15039 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15040 (FIRST_FRAME_POINTER): Likewise.
15041 (ADVANCE_STACK_FRAME): Likewise.
15042 (GET_STACK): Likewise.
15043 (GET_FRAME): Likewise.
15044 (CALL_SIGHANDLER): Likewise.
15045 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15046 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15047 (ADVANCE_STACK_FRAME): Likewise.
15048 (GET_STACK): Likewise.
15049 (GET_FRAME): Likewise.
15050 (CALL_SIGHANDLER): Likewise.
15051 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15052 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15053 (GET_FRAME): Likewise.
15054 (GET_STACK): Likewise.
15055 (CALL_SIGHANDLER): Likewise.
15056 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15057 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15058 (GET_FRAME): Likewise.
15059 (GET_STACK): Likewise.
15060 (CALL_SIGHANDLER): Likewise.
15061
15062 2018-03-21 Joseph Myers <joseph@codesourcery.com>
15063
15064 * sysdeps/x86_64/backtrace.c: Move to ....
15065 * debug/backtrace.c: ... here.
15066 * sysdeps/aarch64/backtrace.c: Remove file.
15067 * sysdeps/alpha/backtrace.c: Likewise.
15068 * sysdeps/hppa/backtrace.c: Likewise.
15069 * sysdeps/ia64/backtrace.c: Likewise.
15070 * sysdeps/mips/backtrace.c: Likewise.
15071 * sysdeps/nios2/backtrace.c: Likewise.
15072 * sysdeps/riscv/backtrace.c: Likewise.
15073 * sysdeps/sh/backtrace.c: Likewise.
15074 * sysdeps/tile/backtrace.c: Likewise.
15075
15076 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15077
15078 [BZ #22987]
15079 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15080 function.
15081 (fdimf): Likewise.
15082 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15083
15084 [BZ #17343]
15085 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15086 possibly overflowing computations.
15087
15088 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15089
15090 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
15091 values from Linux-specific section now that it is in the GNU section.
15092 * sysdeps/gnu/errlist.c: Regenerate.
15093
15094 2018-03-20 Joseph Myers <joseph@codesourcery.com>
15095
15096 * math/Makefile (libm-narrow-fns): Add sub.
15097 (libm-test-funcs-narrow): Likewise.
15098 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
15099 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
15100 * math/gen-auto-libm-tests.c (test_functions): Add sub.
15101 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
15102 (NARROW_SUB_ROUND_TO_ODD): Likewise.
15103 (NARROW_SUB_TRIVIAL): Likewise.
15104 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
15105 macro.
15106 (__dsubl): Likewise.
15107 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
15108 dsub.
15109 (CFLAGS-nldbl-dsub.c): New variable.
15110 (CFLAGS-nldbl-fsub.c): Likewise.
15111 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15112 __nldbl_dsubl.
15113 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
15114 prototype.
15115 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
15116 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
15117 * math/auto-libm-test-in: Add tests of sub.
15118 * math/auto-libm-test-out-narrow-sub: New generated file.
15119 * math/libm-test-narrow-sub.inc: New file.
15120 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15121 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
15122 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
15123 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
15124 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
15125 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
15126 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
15127 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
15128 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
15129 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
15130 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
15131 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
15132 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
15133 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
15134 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
15135 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
15136 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
15137 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
15138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15139 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15140 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15141 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15142 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15143 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15144 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15145 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15146 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15147 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15148 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15149 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15150 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15151 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15156 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15157 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15158 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15159 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15160 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15161 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15162 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15163 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15164 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15165 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15166
15167 2018-03-19 Joseph Myers <joseph@codesourcery.com>
15168
15169 [BZ #20079]
15170 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
15171
15172 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15173
15174 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15175
15176 2018-03-18 Richard Braun <rbraun@sceen.net>
15177
15178 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15179 thread reference.
15180
15181 2018-03-18 Agustina Arzille <avarzille@riseup.net>
15182
15183 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15184 (__libc_cleanup_fct): Define function.
15185 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15186 __libc_cleanup_end): Rewrite implementation using
15187 __attribute__ ((__cleanup__)).
15188 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
15189 * hurd/Makefile (routines): Add hurdlock.
15190 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15191 interface.
15192 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15193 * hurd/hurdpid.c: Include <lowlevellock.h>
15194 (_S_msg_proc_newids): Use lll_wait to synchronize.
15195 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15196 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15197 * mach/Makefile (lock-headers): Remove machine-lock.h.
15198 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15199 <machine-lock.h>.
15200 (__spin_lock_t): New type.
15201 (__SPIN_LOCK_INITIALIZER): New macro.
15202 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15203 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15204 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15205 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15206 (__mutex_init): Initialize with lll.
15207 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15208 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15209 needing lll.
15210 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15211 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15212 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15213 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15214 (__setpgid): Use lll for synchronization.
15215 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15216 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15217 instead of <cthreads.h>.
15218 (_IO_lock_inexpensive): New macro
15219 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15220 (__libc_lock_self0): New declaration.
15221 (__libc_lock_owner_self): New macro.
15222 (__libc_key_t): Remove type.
15223 (_LIBC_LOCK_INITIALIZER): New macro.
15224 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15225 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15226 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15227 __libc_lock_define_initialized_recursive,
15228 __rtld_lock_define_initialized_recursive,
15229 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15230 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15231 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15232 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15233 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15234 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15235 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15236 New macros.
15237 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15238 * hurd/hurdlock.c: New file.
15239 * hurd/hurdlock.h: New file.
15240 * mach/lowlevellock.h: New file
15241
15242 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15243
15244 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
15245 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15246 when opening a symlink with O_NOFOLLOW.
15247 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15248 path when flags contains O_NOFOLLOW.
15249 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15250 if flags contains O_DIRECTORY and the result is a directory.
15251 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15252 oneself when the pointer given in D is nul (as set by ext2fs).
15253 * sysdeps/mach/hurd/mlockall.c: New file.
15254 * sysdeps/mach/hurd/munlockall.c: New file.
15255
15256 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15257
15258 * hurd/hurdsig.c: Include <pthread.h>.
15259 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15260 get the signal thread stack layout.
15261 * hurd/Makefile (headers): Remove threadvar.h.
15262 (inline-headers): Remove threadvar.h.
15263 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15264 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15265 __hurd_threadvar_max, __hurd_errno_location.
15266 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15267 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15268 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15269 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15270 unless TLS is not initialized yet, in which case we do not need a
15271 critical section yet anyway.
15272 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15273 <machine-sp.h>.
15274 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15275 declarations.
15276 (__hurd_threadvar_index): Remove enum.
15277 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15278 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15279 inlines.
15280 (__hurd_reply_port0): New variable declaration.
15281 (__hurd_local_reply_port): New macro.
15282 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15283 (interrupted_reply_port_location): Add thread_t parameter. Use it
15284 with THREAD_TCB to access thread-local variables.
15285 (_hurdsig_abort_rpcs): Pass ss->thread to
15286 interrupted_reply_port_location.
15287 (_hurd_internal_post_signal): Likewise.
15288 (_hurdsig_init): Use presence of cthread_fork instead of
15289 __hurd_threadvar_stack_mask to start signal thread by hand.
15290 Remove signal thread threadvar initialization.
15291 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15292 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15293 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15294 of threadvar.
15295 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15296 __libc_lock_self0.
15297 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15298 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15299 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15300 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15301 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15302 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15303 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15304 define variables.
15305 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15306 <hurd/threadvar.h>.
15307 [IS_IN(rtld)] (rtld_errno): New variable.
15308 [IS_IN(rtld)] (__errno_location): New weak function.
15309 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15310 * sysdeps/mach/hurd/errno.c: Remove file.
15311 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15312 (__fork): Remove THREADVAR_SPACE macro and its use.
15313 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
15314 variable.
15315 (init): Do not initialize threadvar.
15316 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
15317 symbol.
15318 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
15319 __hurd_local_reply_port instead of threadvar.
15320 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
15321 _hurd_sigstate fields.
15322 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
15323 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
15324 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15325 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15326 instead of threadvar.
15327 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15328 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15329 (use_threadvar, global_reply_port): Remove variables.
15330 (__hurd_reply_port0): New variable.
15331 (__mig_get_reply_port): Use __hurd_local_reply_port and
15332 __hurd_reply_port0 instead of threadvar.
15333 (__mig_dealloc_reply_port): Likewise.
15334 (__mig_init): Do not initialize threadvar.
15335 * sysdeps/mach/hurd/profil.c: Fix comment.
15336 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
15337 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
15338 cthread_keycreate, cthread_getspecific, cthread_setspecific to
15339 __cthread_fork, __cthread_detach, __pthread_getattr_np,
15340 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
15341 __cthread_setspecific.
15342 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
15343 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
15344 __cthread_t instead of cthread_fork, cthread_detach,
15345 pthread_getattr_np, pthread_attr_getstack.
15346 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
15347 __cthread_keycreate.
15348 (cthread_getspecific): Rename to __cthread_getspecific.
15349 (cthread_setspecific): Rename to __cthread_setspecific.
15350 (__libc_getspecific): Use __cthread_getspecific instead of
15351 cthread_getspecific.
15352 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
15353 __cthread_keycreate instead of cthread_keycreate.
15354 (__libc_setspecific): Use __cthread_setspecific instead of
15355 cthread_setspecific.
15356 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
15357 Likewise.
15358 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
15359 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
15360 testing whether it is defined.
15361
15362 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15363
15364 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
15365 Define macro.
15366 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
15367 * sysdeps/mach/i386/thread_state.h
15368 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
15369 i386_THREAD_STATE.
15370 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
15371 i386_THREAD_STATE.
15372 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
15373
15374 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
15375 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
15376
15377 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
15378 macros.
15379 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
15380 descriptor instead of creating a new one.
15381 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
15382
15383 * mach/setup-thread.c: Include <ldsodefs.h>.
15384 (__mach_setup_thread): Call _dl_allocate_tls, pass
15385 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
15386 MACHINE_THREAD_STATE_FLAVOR, before getting
15387 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
15388 MACHINE_THREAD_STATE_FLAVOR with the result.
15389 * hurd/hurdfault.c (_hurdsig_fault_init): Call
15390 MACHINE_THREAD_STATE_FIX_NEW.
15391 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
15392 too. Add original thread parameter.
15393
15394 2018-03-16 Joseph Myers <joseph@codesourcery.com>
15395
15396 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
15397 Remove inline function.
15398
15399 * sysdeps/i386/fpu/libm-test-ulps: Update.
15400 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15401
15402 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
15403
15404 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
15405 commit.
15406
15407 2018-03-15 Joseph Myers <joseph@codesourcery.com>
15408
15409 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
15410 (__sincos_code): Remove define and undefine.
15411 [__FAST_MATH__] (__sincos): Remove inline function.
15412 [__FAST_MATH__] (__sincosf): Remove inline function.
15413 [__FAST_MATH__] (__sincosl): Remove inline function.
15414 (__atan2l): Remove inline functions.
15415 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
15416 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
15417 function.
15418 (floor): Remove inline function.
15419 (ceil): Likewise.
15420 [__FAST_MATH__] (__ldexp_code): Remove macro.
15421 [__FAST_MATH__] (ldexp): Remove inline function.
15422 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
15423 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
15424 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
15425 [__USE_ISOC99] (__lrint_code): Remove macro.
15426 [__USE_ISOC99] (__llrint_code): Likewise.
15427 [__USE_ISOC99] (lrintf): Remove inline function.
15428 [__USE_ISOC99] (lrint): Likewise.
15429 [__USE_ISOC99] (lrintl): Likewise.
15430 [__USE_ISOC99] (llrint): Likewise.
15431 [__USE_ISOC99] (llrintf): Likewise.
15432 [__USE_ISOC99] (llrintl): Likewise.
15433
15434 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15435
15436 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
15437 (__ieee754_sqrtf): Remove.
15438 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
15439 (__ieee754_sqrtf): Remove.
15440 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
15441 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15442 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
15443 (__ieee754_sqrtf): Remove.
15444 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
15445 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
15446 (sqrtf): Remove.
15447 (sqrtl): Remove.
15448 (__ieee754_sqrt): Remove.
15449 (__ieee754_sqrtf): Remove.
15450 (__ieee754_sqrtl): Remove.
15451 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15452 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
15453 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
15454 (__ieee754_sqrtf): Remove.
15455 (__ieee754_sqrtl): Remove.
15456
15457 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15458
15459 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
15460 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15461 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15462 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
15463 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
15464 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15465 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15466 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15467 Likewise.
15468 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
15469 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
15470 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15471 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15472 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
15473 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
15474 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15475 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15476 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15477 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15478 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
15479 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15480 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
15481 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
15482 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
15483 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15484 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15485 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15486 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
15487 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
15488 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15489 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15490 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
15491 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
15492 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
15493 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
15494 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15495 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15496 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
15497 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15498 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15499 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
15500 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15501 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15502 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15503 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15504 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
15505 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
15506 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15507 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
15508
15509 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15510
15511 * include/math.h (sqrt): Declare with asm redirect.
15512 (sqrtf): Likewise.
15513 (sqrtl): Likewise.
15514 (sqrtf128): Likewise.
15515 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
15516 nonlib and libnldbl with -fmath-errno.
15517 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
15518 * math/w_sqrt_template.c: Likewise.
15519 * math/w_sqrtf_compat.c: Likewise.
15520 * math/w_sqrtl_compat.c: Likewise.
15521 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
15522 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
15523 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
15524 complex.h.
15525
15526 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15527
15528 * benchtests/Makefile: Define _ISOMAC.
15529 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
15530 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
15531 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
15532 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
15533 * benchtests/bench-timing.h: Define attribute_hidden.
15534
15535 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
15536
15537 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
15538 mov + lsr.
15539
15540 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15541
15542 [BZ #22963]
15543 * localedata/locales/cs_CZ (mon): Rename to...
15544 (alt_mon): This.
15545 (mon): Import from CLDR (genitive case).
15546
15547 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15548
15549 [BZ #22937]
15550 * localedata/locales/el_CY (abmon): Rename to...
15551 (ab_alt_mon): This.
15552 (abmon): Import from CLDR (abbreviated genitive case).
15553 * localedata/locales/el_GR (abmon): Rename to...
15554 (ab_alt_mon): This.
15555 (abmon): Import from CLDR (abbreviated genitive case).
15556
15557 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15558
15559 [BZ #22932]
15560 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
15561
15562 2018-03-15 Robert Buj <robert.buj@gmail.com>
15563
15564 [BZ #22848]
15565 * localedata/locales/ca_ES (abmon): Rename to...
15566 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15567 (mon): Rename to...
15568 (alt_mon): This.
15569 (abmon): Import from CLDR (genitive case, month names preceded by
15570 "de" or "d’").
15571 (mon): Likewise.
15572 (abday): Synchronize with CLDR.
15573 (d_t_fmt): Likewise.
15574 (d_fmt): Likewise.
15575 (am_pm): Likewise.
15576
15577 (LC_TIME): Improve indentation.
15578 (LC_TELEPHONE): Likewise.
15579 (LC_NAME): Likewise.
15580 (LC_ADDRESS): Likewise.
15581
15582 2018-03-14 Joseph Myers <joseph@codesourcery.com>
15583
15584 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
15585 (lrintf): Remove definitions used only with old GCC.
15586 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
15587 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
15588 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
15589 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
15590 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
15591 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
15592 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
15593 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
15594 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
15595 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
15596 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
15597 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
15598 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
15599 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
15600 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
15601 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
15602 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
15603 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
15604 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
15605 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
15606 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
15607 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
15608 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
15609 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
15610 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
15611 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
15612 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
15613 [__FAST_MATH__] (__M_SQRT2): Remove macro.
15614
15615 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15616
15617 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
15618 instruction to unbreak builds with binutils 2.26 and older.
15619
15620 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15621
15622 * sysdeps/aarch64/strncmp.S (count): New macro.
15623 (strncmp): Store misaligned length in SRC1 in COUNT.
15624 (mutual_align): Adjust.
15625 (misaligned8): Load dword at a time when it is safe.
15626
15627 2018-03-12 Zack Weinberg <zackw@panix.com>
15628
15629 [BZ #1190]
15630 [BZ #19476]
15631 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
15632 if the _IO_EOF_SEEN bit is already set; update commentary.
15633 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
15634 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15635
15636 * support/support_openpty.c, support/tty.h: New files.
15637 * support/Makefile (libsupport-routines): Add support_openpty.
15638
15639 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
15640 New test cases.
15641 * libio/Makefile (tests): Add tst-fgetc-after-eof.
15642 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
15643
15644 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
15645
15646 * po/pt_BR.po: Update translations.
15647
15648 2018-03-12 David Michael <fedora.dm0@gmail.com>
15649
15650 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
15651 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
15652 get a port to the startup server.
15653
15654 2018-03-11 Zack Weinberg <zackw@panix.com>
15655
15656 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
15657 before nldbl-compat.h.
15658
15659 2018-03-10 Zack Weinberg <zackw@panix.com>
15660
15661 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
15662 math.h or math_private.h.
15663
15664 * sysdeps/alpha/fpu/s_isnan.c
15665 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
15666 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
15667 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
15668 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
15669 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
15670 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
15671 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
15672 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
15673 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
15674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
15675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
15676 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
15677 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
15678 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
15679 Include math_private.h.
15680
15681 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
15682 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
15683 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
15684 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
15685 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
15686 * sysdeps/powerpc/power7/fpu/s_logb.c:
15687 Include math.h and math_private.h.
15688
15689 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
15690 uses of $at in .set noat / .set at.
15691
15692 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
15693
15694 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
15695 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
15696 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
15697 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
15698 Likewise.
15699
15700 2018-03-09 Florian Weimer <fweimer@redhat.com>
15701
15702 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
15703 in comment.
15704
15705 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
15706
15707 [BZ #22919]
15708 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
15709 Add nop before __startcontext, add explaining comments.
15710
15711 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15712
15713 [BZ #22926]
15714 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
15715 empty for __SPE__.
15716 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
15717 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
15718 Do not build hardware transactional code for __SPE__.
15719 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15720 (__lll_trylock_elision): Likewise.
15721 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15722 (__lll_unlock_elision): Likewise.
15723
15724 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
15725 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
15726 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15727 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
15728 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
15729 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
15730 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
15731 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
15732 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
15733 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
15734 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
15735 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
15736 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
15737 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
15738 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
15739 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
15740 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
15741 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
15742 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
15743 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
15744 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
15745 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15746 (__ASSUME_CLONE_BACKWARDS): Define.
15747 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
15748 __clone2 if __NR_clone2 is defined.
15749 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15750 (__ASSUME_CLONE_BACKWARDS): Likewise.
15751 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15752 (__ASSUME_CLONE_BACKWARDS): Likewise.
15753 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15754 (__ASSUME_CLONE2): Likewise.
15755 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15756 (__ASSUME_CLONE_BACKWARDS3): Likewise.
15757 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
15758 variants and the define architecture can use.
15759 (__ASSUME_CLONE_DEFAULT): Define as default.
15760 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15761 (__ASSUME_CLONE_BACKWARDS): Likewise.
15762 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15763 (__ASSUME_CLONE_BACKWARDS): Likewise.
15764 * sysdeps/unix/sysv/linux/s390/kernel-features.h
15765 (__ASSUME_CLONE_BACKWARDS2): Likewise.
15766
15767 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15768
15769 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
15770
15771 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
15772 time.
15773
15774 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
15775 (do_test_limit): Likewise.
15776
15777 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
15778 for every implementation.
15779 (do_test): Likewise.
15780
15781 * benchtests/bench-strncmp.c: Convert output to json.
15782
15783 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15784
15785 * io/futimens.c: Add missing start-of-file descriptive comment.
15786 * io/utime.c: Likewise.
15787 * misc/futimesat.c: Likewise.
15788 * misc/utimes.c: Likewise.
15789 * sysdeps/mach/hurd/futimesat.c: Likewise.
15790 * sysdeps/mach/hurd/utimes.c: Likewise.
15791 * sysdeps/posix/utime.c: Likewise.
15792 * sysdeps/posix/utimes.c: Likewise.
15793 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
15794 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15795 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
15796 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
15797
15798 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15799
15800 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
15801 hurd_futimes.
15802 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
15803 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
15804 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
15805 (__futimens): Move implementation to...
15806 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
15807 utime_tvalue_from_tspec): ... new helper functions.
15808 (hurd_futimens): New function.
15809 * sysdeps/mach/hurd/futimesat.c: New file.
15810 * sysdeps/mach/hurd/utimensat.c: New file.
15811
15812 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
15813
15814 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
15815 UTIME_OMIT): New macros.
15816 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
15817 before reverting to converting time spec to time value and calling
15818 __file_utimes.
15819 * sysdeps/mach/hurd/utime-helper.c: New file.
15820 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
15821 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
15822 reverting to utime_tvalue_from_tval and __file_utimes.
15823 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
15824 (__lutimes): Just call hurd_futimens after lookup.
15825 * sysdeps/mach/hurd/utimes.c: Likewise.
15826
15827 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15828
15829 * bits/sigaction.h: Add include guard.
15830 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
15831 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
15832 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
15833 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
15834 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
15835 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
15836 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
15837 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
15838 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
15839
15840 2018-03-05 Joseph Myers <joseph@codesourcery.com>
15841
15842 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
15843 -Wmaybe-uninitialized for -Os.
15844 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
15845 this disabling.
15846
15847 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15848
15849 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
15850 __INO_T_MATCHES_INO64_T is defined.
15851 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
15852 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
15853 of definition.
15854 * dirent/alphasort64.c: Likewise.
15855 * dirent/scandir.c: Likewise.
15856 * dirent/scandir64-tail.c: Likewise.
15857 * dirent/scandir64.c: Likewise.
15858 * dirent/scandirat.c: Likewise.
15859 * dirent/scandirat64.c: Likewise.
15860 * dirent/versionsort.c: Likewise.
15861 * dirent/versionsort64.c: Likewise.
15862 * include/dirent.h: Likewise.
15863
15864 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
15865 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
15866 for socketpair endpoint.
15867 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
15868 WRITE_BUFFER_SIZE as buffer size for sending socket.
15869 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
15870 issue on system where send is implemented with sendto syscall.
15871 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
15872 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
15873 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
15874 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
15875
15876 [BZ #21269]
15877 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
15878 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
15879 sa_restorer for vDSO case.
15880 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
15881
15882 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15883
15884 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
15885 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
15886 * hurd/hurd/ioctl.h: Include <mach/port.h>
15887 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
15888 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
15889 <mach/mach_types.h> and <mach/message.h>.
15890 (headers): Move mach/param.h to bits/mach/param.h.
15891 * sysdeps/mach/i386/mach/param.h: Move file to ...
15892 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
15893 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
15894 of <mach/param.h>.
15895 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
15896 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
15897 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
15898 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
15899 trivial, for C++ conformity.
15900 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
15901 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
15902 Process mig output through $(migheadersed).
15903 * hurd/Makefile (migheadersed): Define variable.
15904 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
15905 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
15906 headers.
15907 * hurd/hurd.h: Include <bits/types/sigset_t.h>
15908 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
15909 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
15910 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
15911 <bits/types/sigset_t.h>.
15912 [!defined __USE_GNU]: Do not #error out.
15913 (struct hurd_sigstate): Use _NSIG instead of NSIG.
15914 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
15915 Include <stddef.h> and <bits/types/sigset_t.h>
15916 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
15917 instead of sighandler_t.
15918 * stdlib/errno.h (error_t): Move definition to...
15919 * bits/types/error_t.h: ... new header.
15920 * stdlib/Makefile (headers): Add bits/types/error_t.h.
15921 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
15922 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
15923 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
15924 * hurd/hurd.h: Include <bits/types/error_t.h>
15925 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
15926 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
15927 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
15928 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
15929 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
15930 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
15931 * sysdeps/mach/hurd/futimens.c: New file.
15932
15933 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
15934
15935 [BZ #22918]
15936 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
15937 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
15938 * nscd/gai.c (__nss_hosts_database): Readd definition.
15939 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
15940 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
15941 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
15942
15943 2018-03-02 Joseph Myers <joseph@codesourcery.com>
15944
15945 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
15946 (ifunc_one): Likewise.
15947
15948 2018-03-01 DJ Delorie <dj@delorie.com>
15949
15950 [BZ #22342]
15951 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
15952 key value.
15953
15954 2018-03-01 Maciej W. Rozycki <macro@mips.com>
15955
15956 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
15957 `match_pid' parameter.
15958 (td_ta_thr_iter): Update accordingly.
15959
15960 2018-03-01 Florian Weimer <fweimer@redhat.com>
15961
15962 * nptl/Makefile (install-lib-ldscripts): Remove.
15963 (install): Remove rule.
15964 ($(inst_libdir)/libpthread.so): Likewise.
15965
15966 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15967
15968 [BZ #22896]
15969 * localedata/locales/an_ES: update month and day names,
15970 improve d_fmt, improve postal_fmt, add country_post,
15971 add country_isbn
15972
15973 2018-03-01 Mike FABIAN <mfabian@redhat.com>
15974
15975 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
15976 Ukrainian instead of Bulgarian.
15977
15978 2018-03-01 Florian Weimer <fweimer@redhat.com>
15979
15980 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
15981 reference.
15982
15983 2018-03-01 Florian Weimer <fweimer@redhat.com>
15984
15985 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
15986 * nptl/Makefile (routines): Add pthread_atfork.
15987 (static-only-routines): Set to pthread_atfork.
15988 (libpthread-routines): Remove pthread_atfork.
15989 (libpthread-static-only-routines): Remove.
15990 (install): Update comment.
15991 (libpthread.so): Do not install libpthread_nonshared.a.
15992 (tests): Do not link with libpthread_nonshared.a.
15993 (generated): Remove libpthread_nonshared.a.
15994 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
15995 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
15996 with libpthread_nonshared.a.
15997
15998 2018-02-28 Joseph Myers <joseph@codesourcery.com>
15999
16000 [BZ #22902]
16001 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16002 (libc_feholdexcept_setroundf128): New macro.
16003 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16004
16005 [BZ #15105]
16006 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16007 libc_hidden_def.
16008 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16009 * include/inttypes.h: New file.
16010
16011 2018-02-27 Joseph Myers <joseph@codesourcery.com>
16012
16013 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16014 -Os in two more places.
16015
16016 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16017
16018 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16019 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16020 be sorted correctly at the moment because of a bug.
16021
16022 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16023
16024 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16025 treat ñ as a primary different character, sync the collation
16026 for Spanish with CLDR.
16027 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16028 * localedata/Makefile: Add new test files.
16029 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16030 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16031 collation order.
16032 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16033 * localedata/am_ET.UTF-8.in: New test file.
16034 * localedata/az_AZ.UTF-8.in: Likewise.
16035 * localedata/be_BY.UTF-8.in: Likewise.
16036 * localedata/ber_DZ.UTF-8.in: Likewise.
16037 * localedata/ber_MA.UTF-8.in: Likewise.
16038 * localedata/bg_BG.UTF-8.in: Likewise.
16039 * localedata/br_FR.UTF-8.in: Likewise.
16040 * localedata/cmn_TW.UTF-8.in: Likewise.
16041 * localedata/crh_UA.UTF-8.in: Likewise.
16042 * localedata/csb_PL.UTF-8.in: Likewise.
16043 * localedata/cv_RU.UTF-8.in: Likewise.
16044 * localedata/cy_GB.UTF-8.in: Likewise.
16045 * localedata/dz_BT.UTF-8.in: Likewise.
16046 * localedata/eo.UTF-8.in: Likewise.
16047 * localedata/es_ES.UTF-8.in: Likewise.
16048 * localedata/fa_IR.UTF-8.in: Likewise.
16049 * localedata/fi_FI.UTF-8.in: Likewise.
16050 * localedata/fil_PH.UTF-8.in: Likewise.
16051 * localedata/fur_IT.UTF-8.in: Likewise.
16052 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16053 * localedata/ha_NG.UTF-8.in: Likewise.
16054 * localedata/ig_NG.UTF-8.in: Likewise.
16055 * localedata/ik_CA.UTF-8.in: Likewise.
16056 * localedata/kk_KZ.UTF-8.in: Likewise.
16057 * localedata/ku_TR.UTF-8.in: Likewise.
16058 * localedata/ky_KG.UTF-8.in: Likewise.
16059 * localedata/ln_CD.UTF-8.in: Likewise.
16060 * localedata/mi_NZ.UTF-8.in: Likewise.
16061 * localedata/ml_IN.UTF-8.in: Likewise.
16062 * localedata/mn_MN.UTF-8.in: Likewise.
16063 * localedata/mr_IN.UTF-8.in: Likewise.
16064 * localedata/mt_MT.UTF-8.in: Likewise.
16065 * localedata/nb_NO.UTF-8.in: Likewise.
16066 * localedata/om_KE.UTF-8.in: Likewise.
16067 * localedata/os_RU.UTF-8.in: Likewise.
16068 * localedata/ps_AF.UTF-8.in: Likewise.
16069 * localedata/ro_RO.UTF-8.in: Likewise.
16070 * localedata/ru_RU.UTF-8.in: Likewise.
16071 * localedata/sc_IT.UTF-8.in: Likewise.
16072 * localedata/se_NO.UTF-8.in: Likewise.
16073 * localedata/sq_AL.UTF-8.in: Likewise.
16074 * localedata/sv_SE.UTF-8.in: Likewise.
16075 * localedata/szl_PL.UTF-8.in: Likewise.
16076 * localedata/tg_TJ.UTF-8.in: Likewise.
16077 * localedata/tk_TM.UTF-8.in: Likewise.
16078 * localedata/tt_RU.UTF-8.in: Likewise.
16079 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16080 * localedata/ug_CN.UTF-8.in: Likewise.
16081 * localedata/uz_UZ.UTF-8.in: Likewise.
16082 * localedata/vi_VN.UTF-8.in: Likewise.
16083 * localedata/yi_US.UTF-8.in: Likewise.
16084 * localedata/yo_NG.UTF-8.in: Likewise.
16085 * localedata/zh_CN.UTF-8.in: Likewise.
16086 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16087 file and fix bugs in the collation.
16088 * localedata/locales/az_AZ: Likewise.
16089 * localedata/locales/be_BY: Likewise.
16090 * localedata/locales/ber_DZ: Likewise.
16091 * localedata/locales/ber_MA: Likewise.
16092 * localedata/locales/bg_BG: Likewise.
16093 * localedata/locales/br_FR: Likewise.
16094 * localedata/locales/br_FR@euro: Likewise.
16095 * localedata/locales/ca_ES: Likewise.
16096 * localedata/locales/cns11643_stroke: Likewise.
16097 * localedata/locales/crh_UA: Likewise.
16098 * localedata/locales/cs_CZ: Likewise.
16099 * localedata/locales/csb_PL: Likewise.
16100 * localedata/locales/cv_RU: Likewise.
16101 * localedata/locales/cy_GB: Likewise.
16102 * localedata/locales/da_DK: Likewise.
16103 * localedata/locales/dz_BT: Likewise.
16104 * localedata/locales/en_CA: Likewise.
16105 * localedata/locales/eo: Likewise.
16106 * localedata/locales/es_CU: Likewise.
16107 * localedata/locales/es_EC: Likewise.
16108 * localedata/locales/es_ES: Likewise.
16109 * localedata/locales/es_US: Likewise.
16110 * localedata/locales/et_EE: Likewise.
16111 * localedata/locales/fa_IR: Likewise.
16112 * localedata/locales/fi_FI: Likewise.
16113 * localedata/locales/fil_PH: Likewise.
16114 * localedata/locales/fur_IT: Likewise.
16115 * localedata/locales/gez_ER@abegede: Likewise.
16116 * localedata/locales/ha_NG: Likewise.
16117 * localedata/locales/hr_HR: Likewise.
16118 * localedata/locales/hsb_DE: Likewise.
16119 * localedata/locales/hu_HU: Likewise.
16120 * localedata/locales/ig_NG: Likewise.
16121 * localedata/locales/ik_CA: Likewise.
16122 * localedata/locales/is_IS: Likewise.
16123 * localedata/locales/iso14651_t1_pinyin: Likewise.
16124 * localedata/locales/kk_KZ: Likewise.
16125 * localedata/locales/ku_TR: Likewise.
16126 * localedata/locales/ky_KG: Likewise.
16127 * localedata/locales/ln_CD: Likewise.
16128 * localedata/locales/lt_LT: Likewise.
16129 * localedata/locales/lv_LV: Likewise.
16130 * localedata/locales/mi_NZ: Likewise.
16131 * localedata/locales/ml_IN: Likewise.
16132 * localedata/locales/mn_MN: Likewise.
16133 * localedata/locales/mr_IN: Likewise.
16134 * localedata/locales/mt_MT: Likewise.
16135 * localedata/locales/nb_NO: Likewise.
16136 * localedata/locales/om_KE: Likewise.
16137 * localedata/locales/os_RU: Likewise.
16138 * localedata/locales/pl_PL: Likewise.
16139 * localedata/locales/ps_AF: Likewise.
16140 * localedata/locales/ro_RO: Likewise.
16141 * localedata/locales/ru_RU: Likewise.
16142 * localedata/locales/ru_UA: Likewise.
16143 * localedata/locales/sc_IT: Likewise.
16144 * localedata/locales/se_NO: Likewise.
16145 * localedata/locales/si_LK: Likewise.
16146 * localedata/locales/sq_AL: Likewise.
16147 * localedata/locales/sv_FI: Likewise.
16148 * localedata/locales/sv_FI@euro: Likewise.
16149 * localedata/locales/sv_SE: Likewise.
16150 * localedata/locales/szl_PL: Likewise.
16151 * localedata/locales/tg_TJ: Likewise.
16152 * localedata/locales/ti_ER: Likewise.
16153 * localedata/locales/tk_TM: Likewise.
16154 * localedata/locales/tl_PH: Likewise.
16155 * localedata/locales/tr_TR: Likewise.
16156 * localedata/locales/tt_RU: Likewise.
16157 * localedata/locales/tt_RU@iqtelif: Likewise.
16158 * localedata/locales/ug_CN: Likewise.
16159 * localedata/locales/uk_UA: Likewise.
16160 * localedata/locales/uz_UZ: Likewise.
16161 * localedata/locales/uz_UZ@cyrillic: Likewise.
16162 * localedata/locales/vi_VN: Likewise.
16163 * localedata/locales/yi_US: Likewise.
16164 * localedata/locales/yo_NG: Likewise.
16165
16166 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16167
16168 * gen-locales.mk: Make test files which contain @ modifiers in their
16169 name work.
16170 * localedata/gen-locale.sh: Likewise.
16171
16172 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16173
16174 * posix/tst-fnmatch.input: Fix results for range expressions
16175 for non C locales.
16176 * posix/tst-regexloc.c: Do not use a range expression for
16177 de_DE.ISO-8859-1 locale.
16178
16179 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16180
16181 * posix/bug-regex5.c: Fix test case because with the new
16182 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16183 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16184 file.
16185
16186 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16187
16188 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16189 downloaded from ISO, the collation order of @-. and space has changed.
16190 Therefore, this test file needed to be adapted.
16191 * localedata/fr_CA.UTF-8.in: Likewise.
16192 * localedata/fr_FR.UTF-8.in: Likewise.
16193 * localedata/uk_UA.UTF-8.in: Likewise.
16194
16195 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16196
16197 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16198 order of ȥ in the new iso14651_t1_common file.
16199 * localedata/pl_PL.UTF-8.in: Likewise.
16200
16201 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16202
16203 * localedata/locales/iso14651_t1_common: Add sections for various
16204 scripts to the iso14651_t1_common file.
16205
16206 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16207
16208 * localedata/locales/iso14651_t1_common: Use the code point of a
16209 character in the fourth collation level instead of IGNORE for all
16210 entries which have IGNORE on all 4 levels.
16211
16212 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16213
16214 * localedata/locales/iso14651_t1_common: Add some convenient collation
16215 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16216 rules similar to those in CLDR.
16217
16218 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16219
16220 * localedata/locales/iso14651_t1_common: The new version of this
16221 file downloaded from ISO contained several syntax errors which
16222 are fixed by this patch.
16223
16224 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16225
16226 * localedata/locales/iso14651_t1_common: replace all <U.....>
16227 with <U000.....> because glibc understands only 4 digit or 8 digit
16228
16229 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16230
16231 * localedata/locales/iso14651_t1_common: Necessary changes
16232 to make the file downloaded from ISO usable by glibc.
16233
16234 2018-02-27 Mike FABIAN <mfabian@redhat.com>
16235
16236 [BZ #14095]
16237 * localedata/locales/iso14651_t1_common: Update file to
16238 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16239
16240 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16241
16242 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16243 of <nptl/pthreadP.h>
16244 (thread_attr_compare): Move function to...
16245 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
16246 * sysdeps/nptl/timer_routines.h: ... new header.
16247 * sysdeps/mach/hurd/gai_misc.h: New file.
16248
16249 2018-02-26 Joseph Myers <joseph@codesourcery.com>
16250
16251 * string/strcoll_l.c: Include <libc-diag.h>.
16252 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16253 declarations of seq1 and seq2.
16254
16255 [BZ #15105]
16256 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16257 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16258
16259 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16260
16261 [BZ #22433]
16262 [BZ #22807]
16263 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16264 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16265 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16266 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16267 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16268 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16269
16270 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16271
16272 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16273 macros used in __ptrace_request.
16274
16275 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16276
16277 [BZ #22792]
16278 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16279 to $(CC).
16280 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16281 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16282 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16283 <tcb-offsets.h>.
16284
16285 2018-02-23 Joseph Myers <joseph@codesourcery.com>
16286
16287 [BZ #15105]
16288 * ctype/ctype.c (tolower): Use libc_hidden_def.
16289 (toupper): Likewise.
16290 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16291 [!_ISOMAC] (toupper): Likewise.
16292
16293 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16294
16295 * localedata/Makefile: Remove --quiet argument when
16296 installing locales
16297
16298 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16299
16300 [BZ #17438]
16301 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16302 in d_fmt.
16303 * localedata/locales/pt_PT (LC_TIME): likewise
16304
16305 2018-02-23 Mike FABIAN <mfabian@redhat.com>
16306
16307 [BZ #22646]
16308 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16309 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16310 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16311
16312 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16313
16314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16315
16316 * nptl/Makefile (routines): Remove unregister-atfork.
16317 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
16318 (fork_handler_alloc): Remove function.
16319 (fork_handlers, fork_handler_init): New variables.
16320 (__fork_lock): Rename to atfork_lock.
16321 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
16322 to use a dynamic array to add/remove atfork handlers.
16323 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16324 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16325 Remove declaration.
16326 (fork_handler): Remove next, refcntr, and need_signal member.
16327 (__run_fork_handler_type): New enum.
16328 (__run_fork_handlers): New prototype.
16329 * nptl/register-atfork.c: Remove file.
16330 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
16331
16332 * sysdeps/nptl/nptl-signals.h: Move to ...
16333 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
16334 comments.
16335 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
16336 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
16337 unnecessary check for SIGTIMER.
16338 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
16339 remove unnecessary removal of SIGTIMER.
16340 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
16341 include-signals.h rename.
16342 * nptl/pthreadP.h: Likewise.
16343 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
16344 __is_internal_signal instead of __nptl_is_internal_signal.
16345
16346 2018-02-22 Andrew Waterman <andrew@sifive.com>
16347
16348 [BZ # 22884]
16349 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
16350 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
16351 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
16352 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
16353
16354 2018-02-22 DJ Delorie <dj@delorie.com>
16355
16356 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
16357
16358 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
16359
16360 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
16361 do_misaligned, not misaligned8.
16362
16363 2018-02-22 Steve Ellcey <sellcey@cavium.com>
16364
16365 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
16366 Add memcpy_thunderx2.
16367 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16368 Increment to 4.
16369 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
16370 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
16371 and IS_THUNDERX2PA checks.
16372 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
16373 Use macro to set name appropriately.
16374 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
16375 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
16376 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
16377 New macro.
16378 (IS_THUNDERX2): New macro.
16379
16380 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16381
16382 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16383
16384 2018-02-21 Zack Weinberg <zackw@panix.com>
16385
16386 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
16387 Define here, unconditionally.
16388 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
16389 * libio/libioP.h: Remove #if 0 blocks.
16390 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
16391 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
16392 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
16393
16394 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
16395 Assume weak_alias is always defined.
16396
16397 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
16398 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
16399 Remove #if 0 and #ifdef TODO blocks.
16400 Assume text_set_element is always defined.
16401
16402 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
16403 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
16404 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
16405
16406 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
16407 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
16408 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
16409 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
16410 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
16411 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
16412 Reformat bit flags for _flags field to make occupancy clearer.
16413 Update commentary.
16414 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
16415 Keep definitions consistent with those in libio/libio.h.
16416
16417 * libio/libio.h (_IO_file_flags): Remove macro.
16418 All uses changed to _flags.
16419
16420 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
16421 (__HAVE_COLUMN, _IO_BE): Don't define.
16422 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
16423 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
16424 * libio/libioP.h (EOF): Don't define.
16425 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
16426 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
16427 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
16428 testing _IO_UNIFIED_JUMPTABLES.
16429
16430 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
16431 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
16432 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
16433 (_IO_size_t): Delete; all uses changed to size_t.
16434 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
16435 (_IO_off_t): Delete; all uses changed to off_t.
16436 (_IO_off64_t): Delete; all uses changed to off64_t.
16437 (_IO_pid_t): Delete; all uses changed to pid_t.
16438 (_IO_uid_t): Delete; all uses changed to uid_t.
16439 (_IO_wint_t): Delete; all uses changed to wint_t.
16440 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
16441 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
16442 (_IO_cookie_io_functions_t): Delete; all uses changed to
16443 cookie_io_functions_t.
16444 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
16445 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
16446 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
16447 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
16448
16449 * libio/iofopncook.c: Remove unnecessary forward declarations.
16450 * libio/iolibio.h: Correct outdated commentary.
16451 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
16452 * stdio-common/fxprintf.c (__fxprintf_nocancel):
16453 Remove unnecessary casts.
16454 * stdio-common/getline.c: Use _IO_getdelim directly.
16455 Don't redefine ssize_t.
16456 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
16457 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
16458 Remove outdated comments.
16459 * stdio-common/vfscanf.c: Don't redefine va_list.
16460
16461 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
16462 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
16463 Remove preprocessor conditionals on _LIBC and __USE_GNU,
16464 which are always true, and __cplusplus, which is always false.
16465
16466 2018-02-21 Joseph Myers <joseph@codesourcery.com>
16467
16468 [BZ #15105]
16469 [BZ #19463]
16470 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
16471 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
16472 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
16473 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
16474 libc_hidden_proto.
16475 [!_ISOMAC] (putc_unlocked): Likewise.
16476 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
16477 define inline if [__USE_EXTERN_INLINES].
16478 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
16479 putc_unlocked.
16480
16481 [BZ #15105]
16482 [BZ #19463]
16483 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
16484 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
16485 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
16486 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
16487 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
16488 getc_unlocked.
16489 * time/tzfile.c (__tzfile_read): Likewise.
16490
16491 2018-02-21 Mike FABIAN <mfabian@redhat.com>
16492
16493 [BZ #22517]
16494 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
16495
16496 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16497
16498 * io/fcntl.h: Fix a typo in a comment.
16499
16500 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
16501
16502 [BZ #22862]
16503 * include/features.h: Add _ISOC11_SOURCE to test for whether to
16504 define _DEFAULT_SOURCE.
16505 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
16506
16507 2018-02-21 Florian Weimer <fweimer@redhat.com>
16508
16509 [BZ #20890]
16510 * elf/cache.c (save_cache): Call fsync on temporary file before
16511 renaming it.
16512 (save_aux_cache): Call fdatasync on temporary file before renaming
16513 it.
16514
16515 2018-02-21 Florian Weimer <fweimer@redhat.com>
16516
16517 [BZ #22787]
16518 * include/caller.h: Remove file.
16519 * elf/dl-caller.c: Likewise.
16520 * elf/Makefile (dl-routines): Remove dl-caller.
16521 (shared-only-routines): Do not add dl-caller.
16522 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
16523 __check_caller.
16524 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
16525 member.
16526 (dl_open_worker): Do not call __check_caller.
16527 (_dl_open): Do not set caller_dl_open member.
16528 * elf/rtld.c (_rtld_global_ro): Do not initialize
16529 _dl_check_caller member.
16530 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
16531 _dl_check_caller member.
16532 (_dl_check_caller): Remove declaration.
16533 * sysdeps/unix/sysv/linux/dl-execstack.c
16534 (_dl_make_stack_executable): Do not call __check_caller.
16535
16536 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
16537
16538 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
16539 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
16540
16541 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16542
16543 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
16544 description.
16545
16546 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
16547
16548 [BZ #16335]
16549 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
16550 of 199606L, 200112L, and 200809L.
16551 (_XOPEN_SOURCE): Document special values of 600 and 700.
16552 (_ISOC11_SOURCE): Document macro.
16553 (_ATFILE_SOURCE): Likewise.
16554 (_FORTIFY_SOURCE): Likewise.
16555
16556 2018-02-19 Joseph Myers <joseph@codesourcery.com>
16557
16558 [BZ #15105]
16559 [BZ #19463]
16560 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
16561 and define as weak alias of __ferror_unlocked. Use
16562 libc_hidden_weak.
16563 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
16564 libc_hidden_proto.
16565 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
16566 function if [__USE_EXTERN_INLINES].
16567 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
16568 ferror_unlocked.
16569
16570 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
16571
16572 [BZ #6889]
16573 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
16574
16575 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16576
16577 [BZ #22818]
16578 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
16579 the GLIBC_2.1 version.
16580
16581 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
16582
16583 [BZ #21508]
16584 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
16585 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
16586 intl/tst-gettext-de.po from po/de.po by removing the
16587 POT-Creation-Date line.
16588 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
16589 ../po/de.po.
16590 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
16591 ../po/de.po.
16592
16593 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16594
16595 * mach/Makefile (headers): Add mach/param.h.
16596 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
16597 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
16598 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
16599 (__ptsname_r): Move implementation to...
16600 (__ptsname_internal): ... new function. Add filling the STP
16601 structure.
16602
16603 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
16604
16605 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
16606 idouble to 1 ULP.
16607
16608 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
16609
16610 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
16611 syntax.
16612
16613 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16614
16615 * nptl/Makefile (tst-mutex8-ENV): Delete.
16616 * nptl/tst-mutex8.c (check_type):
16617 Add runtime check if mutex will be elided.
16618
16619 2018-02-15 Joseph Myers <joseph@codesourcery.com>
16620
16621 [BZ #20980]
16622 [BZ #21234]
16623 * manual/install.texi (Configuring and compiling): Describe
16624 passing CC and CFLAGS on configure command line, not as
16625 environment variables. Use @code markup on those variables.
16626 Specify what options go in CC and what go in CFLAGS. Note the
16627 requirement to compile with optimization.
16628 * INSTALL: Regenerated.
16629
16630 [BZ #18124]
16631 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
16632 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
16633 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
16634 __sigprocmask instead of sigprocmask.
16635 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
16636 Likewise.
16637 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
16638 __sigsetjmp and sigprocmask.
16639
16640 [BZ #15105]
16641 * include/argz.h (argz_next): Use libc_hidden_proto.
16642 (__argz_next): Likewise.
16643 * string-argz-next.c (__argz_next): Use libc_hidden_def.
16644 (argz_next): Use libc_hidden_weak.
16645
16646 [BZ #15105]
16647 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
16648 libc_hidden_proto.
16649 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
16650 libc_hidden_def.
16651
16652 [BZ #15105]
16653 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
16654 libc_hidden_proto.
16655 * libio/iofputs.c (fputs): Use libc_hidden_weak.
16656
16657 [BZ #15105]
16658 [BZ #19463]
16659 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
16660 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
16661 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
16662 (__feof_unlocked): New declaration, and inline function if
16663 [__USE_EXTERN_INLINES].
16664 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
16665 instead of feof_unlocked.
16666 * intl/localealias.c [_LIBC] (FEOF): Likewise.
16667 * nss/nsswitch.c (nss_parse_file): Likewise.
16668 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
16669 Likewise.
16670 * time/getdate.c (__getdate_r): Likewise.
16671 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
16672 Define as macro to call __feof_unlocked.
16673
16674 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16675
16676 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
16677
16678 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
16679
16680 * math/Makefile: Remove mpexp.c and mplog.c
16681 * sysdeps/i386/fpu/mpexp.c: Delete file.
16682 * sysdeps/i386/fpu/mplog.c: Likewise.
16683 * sysdeps/ia64/fpu/mpexp.c: Likewise.
16684 * sysdeps/ia64/fpu/mplog.c: Likewise.
16685 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
16686 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
16687 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
16688 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16689 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
16690 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
16691 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
16692 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
16693 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
16694 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16695 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
16696 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
16697 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16698 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
16699 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
16700 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16701
16702 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
16703
16704 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16705
16706 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16707
16708 * sysdeps/sh/libm-test-ulps: Update.
16709
16710 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16711
16712 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
16713 idouble to 1 ULP.
16714
16715 2018-02-12 Zack Weinberg <zackw@panix.com>
16716
16717 [BZ #19239]
16718 * posix/sys/types.h: Don't include sys/sysmacros.h.
16719 * misc/sys/sysmacros.h: Remove the conditional deprecation
16720 warnings for the macros defined by this header.
16721
16722 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16723
16724 * manual/probes.texi: Remove slowexp probes.
16725 * math/Makefile: Remove slowexp.
16726 * sysdeps/generic/math_private.h (__slowexp): Remove.
16727 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
16728 document error bounds.
16729 * sysdeps/i386/fpu/slowexp.c: Remove.
16730 * sysdeps/ia64/fpu/slowexp.c: Remove.
16731 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
16732 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
16733 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
16734 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
16735 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
16736 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
16737 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
16738 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
16739 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
16740 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
16741 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
16742
16743 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
16744
16745 [BZ #13932]
16746 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
16747 * benchtests/pow-inputs: Update comment for slow path cases.
16748 * manual/probes.texi (slowpow_p10): Delete removed probe.
16749 (slowpow_p10): Likewise.
16750 * math/Makefile: Remove halfulp.c and slowpow.c.
16751 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
16752 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
16753 (__halfulp): Remove.
16754 (__slowpow): Remove.
16755 * sysdeps/i386/fpu/halfulp.c: Delete file.
16756 * sysdeps/i386/fpu/slowpow.c: Likewise.
16757 * sysdeps/ia64/fpu/halfulp.c: Likewise.
16758 * sysdeps/ia64/fpu/slowpow.c: Likewise.
16759 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
16760 improve comments and add error analysis.
16761 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
16762 (power1): Remove function:
16763 (log1): Remove error argument, add error analysis.
16764 (my_log2): Remove function.
16765 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
16766 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16767 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
16768 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
16769 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
16770 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
16771 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
16772 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
16773 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
16774 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
16775 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
16776 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16777 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
16778 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16779
16780 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
16781
16782 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
16783 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
16784
16785 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
16786
16787 [BZ #22433]
16788 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
16789 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
16790 and PTRACE_SETHBPREGS.
16791
16792 2018-02-10 Zack Weinberg <zackw@panix.com>
16793
16794 [BZ #22830]
16795 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
16796 correctly.
16797 * malloc/tst-malloc-stats-cancellation.c: New test case.
16798 * malloc/Makefile: Add new test case.
16799
16800 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
16801
16802 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
16803
16804 2018-02-10 Joseph Myers <joseph@codesourcery.com>
16805
16806 * math/Makefile (libm-narrow-fns): Add add.
16807 (libm-test-funcs-narrow): Likewise.
16808 * math/Versions (GLIBC_2.28): Add narrowing add functions.
16809 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
16810 * math/gen-auto-libm-tests.c (test_functions): Add add.
16811 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
16812 (NARROW_ADD_ROUND_TO_ODD): Likewise.
16813 (NARROW_ADD_TRIVIAL): Likewise.
16814 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
16815 macro.
16816 (__daddl): Likewise.
16817 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
16818 dadd.
16819 (CFLAGS-nldbl-dadd.c): New variable.
16820 (CFLAGS-nldbl-fadd.c): Likewise.
16821 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16822 __nldbl_daddl.
16823 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
16824 prototype.
16825 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
16826 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
16827 * math/auto-libm-test-in: Add tests of add.
16828 * math/auto-libm-test-out-narrow-add: New generated file.
16829 * math/libm-test-narrow-add.inc: New file.
16830 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
16831 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
16832 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
16833 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
16834 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
16835 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
16836 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
16837 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
16838 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
16839 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
16840 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
16841 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
16842 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
16843 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
16844 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
16845 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
16846 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
16847 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
16848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16849 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16850 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16851 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16852 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16853 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16854 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16855 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16856 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16857 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16858 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16859 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16860 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16861 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16866 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16867 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16868 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16869 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16870 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16871 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16872 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16873 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16874 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16875 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16876
16877 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
16878 (f128-pairs): New variable.
16879 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
16880 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
16881 to CFLAGS.
16882 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
16883 Also make tests add $(f128-loader-link) to gnulib-tests.
16884
16885 2018-02-09 DJ Delorie <dj@redhat.com>
16886
16887 [BZ #22827]
16888 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
16889 64-bit ELF type for 64-bit ELF objects.
16890
16891 2018-02-09 Joseph Myers <joseph@codesourcery.com>
16892
16893 * math/libm-test-driver.c (snan_tests_arg): New variable.
16894 * math/libm-test-support.h (snan_tests_arg): New declaration.
16895 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
16896
16897 * math/Makefile (test-type-pairs): New variable.
16898 (test-type-pairs-f64xf128-yes): Likewise.
16899 (tests): Add test-narrow-macros.
16900 (libm-test-funcs-narrow): New variable.
16901 (libm-test-c-narrow): Likewise.
16902 (generated): Add $(libm-test-c-narrow).
16903 (libm-tests-base-narrow): New variable.
16904 (libm-tests-narrow): Likewise.
16905 (libm-tests): Add $(libm-tests-narrow).
16906 (libm-tests-for-type): Handle $(libm-tests-narrow).
16907 (libm-test-c-narrow-obj): New variable.
16908 ($(libm-test-c-narrow-obj)): New rule.
16909 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
16910 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
16911 $(o-iterator) to set dependencies and CFLAGS.
16912 * math/gen-auto-libm-tests.c: Document use for narrowing
16913 functions.
16914 (output_for_one_input_case): Take argument NARROW.
16915 (generate_output): Likewise. Update call to
16916 output_for_one_input_case.
16917 (main): Take --narrow option. Update call to generate_output.
16918 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
16919 (apply_lit): Update call to _apply_lit.
16920 (apply_arglit): New function.
16921 (parse_args): Handle "a" arguments.
16922 (parse_auto_input): Handle format names using ":".
16923 * math/README.libm-test: Document "a" parameter type.
16924 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
16925 (ARG_TYPE_TRUE_MIN): Likewise.
16926 (ARG_TYPE_MAX): Likwise.
16927 (ARG_MIN_EXP): Likewise.
16928 (ARG_MAX_EXP): Likewise.
16929 (ARG_MANT_DIG): Likewise.
16930 (TEST_COND_arg_ibm128): Likewise.
16931 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
16932 (TEST_COND_arg_fmt): New macro.
16933 (init_max_error): Update prototype.
16934 * math/libm-test-support.c (test_ibm128): New variable.
16935 (init_max_error): Take argument testing_ibm128 and set test_ibm128
16936 instead of using [TEST_COND_ibm128] conditional.
16937 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
16938 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
16939 [TEST_NARROW] (TEST_MSG): New definition.
16940 (arg_plus_zero): New macro.
16941 (arg_minus_zero): Likewise.
16942 (arg_plus_infty): Likewise.
16943 (arg_minus_infty): Likewise.
16944 (arg_qnan_value_pl): Likewise.
16945 (arg_qnan_value): Likewise.
16946 (arg_snan_value_pl): Likewise.
16947 (arg_snan_value): Likewise.
16948 (arg_max_value): Likewise.
16949 (arg_min_value): Likewise.
16950 (arg_min_subnorm_value): Likewise.
16951 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
16952 (RUN_TEST_LOOP_aa_f): New macro.
16953 (TEST_SUFF): New macro.
16954 (TEST_SUFF_STR): Likewise.
16955 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
16956 (TEST_COND_any_ibm128): New macro.
16957 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
16958 this_func. Update call to init_max_error.
16959 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
16960 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
16961 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
16962 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
16963 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
16964 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
16965 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
16966 * math/test-math-scalar.h (TEST_NARROW): Likewise.
16967 * math/test-math-vector.h (TEST_NARROW): Likewise.
16968 * math/test-arg-double.h: New file.
16969 * math/test-arg-float128.h: Likewise.
16970 * math/test-arg-float32x.h: Likewise.
16971 * math/test-arg-float64.h: Likewise.
16972 * math/test-arg-float64x.h: Likewise.
16973 * math/test-arg-ldouble.h: Likewise.
16974 * math/test-math-narrow.h: Likewise.
16975 * math/test-narrow-macros.c: Likewise.
16976 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
16977 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
16978 test-narrow-macros-ldbl-64.
16979 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
16980
16981 * math/bits/mathcalls-narrow.h: New file.
16982 * include/bits/mathcalls-narrow.h: Likewise.
16983 * math/math-narrow.h: Likewise.
16984 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
16985 (__MATHCALL_NARROW_ARGS_2): Likewise.
16986 (__MATHCALL_NARROW_ARGS_3): Likewise.
16987 (__MATHCALL_NARROW_NORMAL): Likewise.
16988 (__MATHCALL_NARROW_REDIR): Likewise.
16989 (__MATHCALL_NARROW): Likewise.
16990 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
16991 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
16992 defined.
16993 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
16994 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
16995 (libm-narrow-fns): New variable.
16996 (libm-narrow-types-basic): Likewise.
16997 (libm-narrow-types-ldouble-yes): Likewise.
16998 (libm-narrow-types-float128-yes): Likewise.
16999 (libm-narrow-types-float128-alias-yes): Likewise.
17000 (libm-narrow-types): Likewise.
17001 (libm-routines): Add narrowing functions.
17002 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17003 (libc_feholdexcept_setroundf128): New macro.
17004 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17005 * sysdeps/ieee754/float128/float128_private.h: Include
17006 <math/math-narrow.h>.
17007 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17008 Undefine and redefine.
17009 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17010 (libm_alias_float_ldouble): Undefine and redefine.
17011 (libm_alias_double_ldouble): Likewise.
17012
17013 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17014
17015 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17016
17017 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17018 FPCR/FPSR.
17019
17020 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
17021
17022 * manual/creature.texi: Convert references to gcc.info to gcc.
17023 * manual/stdio.texi: Likewise.
17024 * manual/string.texi: Likewise.
17025
17026 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17027
17028 [BZ #17979]
17029 * posix/bits/types.h (__int_least8_t): New typedef.
17030 (__uint_least8_t): Likewise.
17031 (__int_least16_t): Likewise.
17032 (__uint_least16_t): Likewise.
17033 (__int_least32_t): Likewise.
17034 (__uint_least32_t): Likewise.
17035 (__int_least64_t): Likewise.
17036 (__uint_least64_t): Likewise.
17037 * sysdeps/generic/stdint.h (int_least8_t): Define using
17038 __int_least8_t.
17039 (int_least16_t): Define using __int_least16_t.
17040 (int_least32_t): Define using __int_least32_t.
17041 (int_least64_t): Define using __int_least64_t.
17042 (uint_least8_t): Define using __uint_least8_t.
17043 (uint_least16_t): Define using __uint_least16_t.
17044 (uint_least32_t): Define using __uint_least32_t.
17045 (uint_least64_t): Define using __uint_least64_t.
17046 * wcsmbs/uchar.h: Include <bits/types.h>.
17047 (char16_t): Define using __uint_least16_t conditional only on
17048 [!__USE_ISOCXX11].
17049 (char32_t): Define using __uint_least32_t conditional only on
17050 [!__USE_ISOCXX11].
17051 * wcsmbs/test-char-types.c: New file.
17052 * wcsmbs/Makefile (tests): Add test-char-types.
17053
17054 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17055 version to 4.0.1.
17056
17057 2018-02-07 Zack Weinberg <zackw@panix.com>
17058
17059 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17060 Delete all contents except for definitions of _G_HAVE_MMAP and
17061 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17062 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17063 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17064 change as above.
17065
17066 * libio/libio.h: Don't include bits/_G_config.h here.
17067 Include stddef.h with __need_wchar_t defined. Include
17068 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17069 Define _IO_iconv_t here, directly.
17070 Don't define _IO_HAVE_ST_BLKSIZE.
17071 * libio/libioP.h: Include _G_config.h here. Move include of
17072 shlib-compat.h up with rest of includes. Simplify conditionals
17073 controlling definition of _IO_JUMPS_OFFSET.
17074
17075 * csu/init.c: Remove always-true #if around entire file.
17076 Don't include stdio.h. Set _IO_stdin_used to hardwired
17077 constant 0x20001, and update commentary.
17078 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17079 Replace all uses of _G_va_list with __gnuc_va_list.
17080 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17081 instead of #if _IO_HAVE_ST_BLKSIZE.
17082 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17083 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17084 not #ifdef.
17085
17086 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17087 multiple-include guard to match.
17088 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17089 into this file.
17090 Remove preprocessor conditionals that are always true and/or
17091 redundant to other preprocessor conditionals in the same nest.
17092 Include shlib-compat.h unconditionally.
17093 Error out if _LIBC is not defined, or if _ISOMAC is defined,
17094 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
17095 defined after including stdio.h.
17096 Use __BEGIN_DECLS/__END_DECLS.
17097
17098 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
17099 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
17100 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
17101
17102 2018-02-07 Zack Weinberg <zackw@panix.com>
17103
17104 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
17105 New single-type headers split from _G_config.h.
17106 * libio/bits/types/cookie_io_functions_t.h
17107 * libio/bits/types/struct_FILE.h
17108 New single-type headers split from libio.h.
17109
17110 * libio/Makefile: Install the above new headers. Don't install
17111 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
17112 bits/libio-ldbl.h.
17113 * libio/_G_config.h, libio/libio.h: Delete file.
17114
17115 * libio/bits/libio.h: Remove improper-inclusion guard.
17116 Include stdio.h and don't repeat anything that it does.
17117 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
17118 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
17119 __io_read_fn as cookie_read_function_t,
17120 __io_write_fn as cookie_write_function_t,
17121 __io_seek_fn as cookie_seek_function_t,
17122 __io_close_fn as cookie_close_function_t,
17123 and _IO_cookie_io_functions_t as cookie_io_functions_t.
17124 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
17125 here, in the "compatibility defines" section. Remove an #if 0
17126 block. Use the "body" macros from bits/types/struct_FILE.h to
17127 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
17128 and _IO_ferror_unlocked.
17129 Move prototypes of __uflow and __overflow...
17130
17131 * libio/stdio.h: ...here. Don't include bits/libio.h.
17132 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
17133 directly from stdarg.h. Include bits/types/__fpos_t.h,
17134 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
17135 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
17136 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
17137 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
17138 cookie_io_functions_t, not _IO_cookie_io_functions_t;
17139 __ssize_t, not _IO_ssize_t. Unconditionally define
17140 BUFSIZ as 8192 and EOF as (-1).
17141
17142 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
17143 macros from bits/types/struct_FILE.h instead of _IO_* macros
17144 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
17145 instead of _IO_ssize_t.
17146 * libio/bits/stdio2.h: Similarly.
17147
17148 * libio/iolibio.h: Add multiple-include guard.
17149 Include bits/libio.h after stdio.h.
17150 * libio/libioP.h: Add multiple-include guard.
17151 Include stdio.h and bits/libio.h before iolibio.h.
17152
17153 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
17154 * include/bits/types/cookie_io_functions_t.h
17155 * include/bits/types/struct_FILE.h: New wrappers.
17156
17157 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
17158 Get definitions of _G_fpos_t and _G_fpos64_t from
17159 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
17160 respectively. Remove improper-inclusion guards.
17161
17162 * conform/data/stdio.h-data: Update expectations of va_list.
17163 * scripts/check-installed-headers.sh: Remove special case for
17164 libio.h and _G_config.h.
17165
17166 2018-02-07 Joseph Myers <joseph@codesourcery.com>
17167
17168 [BZ #15105]
17169 [BZ #19463]
17170 * include/sys/sysmacros.h [!_ISOMAC]
17171 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
17172 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17173 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17174 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17175 libc_hidden_proto.
17176 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17177 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17178 Likewise.
17179 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17180 Undefine and redefine to add use __gnu_dev_ prefix.
17181 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17182 Likewise.
17183 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17184 and define as hidden inline function.
17185 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17186 Likewise.
17187 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17188 Likewise.
17189 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17190 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17191 (gnu_dev_minor): Likewise.
17192 (gnu_dev_makedev): Likewise.
17193 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17194 makedev.
17195 * posix/wordexp.c (exec_comm_child): Likewise.
17196 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17197 instead of minor and __gnu_dev_major instead of major.
17198 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17199 __gnu_dev_major instead of major.
17200 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17201 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17202 instead of gnu_dev_minor.
17203 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17204 (SLAVE_P): Likewise.
17205 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17206 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17207 instead of major.
17208
17209 [BZ #21313]
17210 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17211 in another place.
17212 * locale/weightwc.h (findidx): Likewise.
17213
17214 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17215
17216 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17217 (slowlog_inexact): Likewise
17218 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17219 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17220
17221 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17222
17223 [BZ #22797]
17224 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17225 missing second underscore to parameter name.
17226
17227 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17228
17229 [BZ #14508]
17230 [BZ #15512]
17231 [BZ #17082]
17232 [BZ #20530]
17233 * bits/byteswap.h: Update file comment. Do not include
17234 <bits/byteswap-16.h>.
17235 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17236 constant.
17237 (__bswap_16): Define as inline function.
17238 (__bswap_constant_32): Reformat definition.
17239 (__bswap_32): Always define as inline function, not macro, using
17240 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17241 otherwise __bswap_constant_32.
17242 (__bswap_constant_64): Reformat definition. Do not use
17243 __extension__ here.
17244 (__bswap_64): Always define as inline function, not macro. Use
17245 __extension__ on function definition. Use __builtin_bswap64 if
17246 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17247 * string/test-endian-file-scope.c: New file.
17248 * string/test-endian-sign-conversion.c: Likewise.
17249 * string/Makefile (headers): Remove bits/byteswap-16.h.
17250 (tests): Add test-endian-file-scope and
17251 test-endian-sign-conversion.
17252 (CFLAGS-test-endian-sign-conversion.c): New variable.
17253 * bits/byteswap-16.h: Remove file.
17254 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17255 * sysdeps/ia64/bits/byteswap.h: Likewise.
17256 * sysdeps/m68k/bits/byteswap.h: Likewise.
17257 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17258 * sysdeps/s390/bits/byteswap.h: Likewise.
17259 * sysdeps/tile/bits/byteswap.h: Likewise.
17260 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17261 * sysdeps/x86/bits/byteswap.h: Likewise.
17262
17263 [BZ #17721]
17264 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17265 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17266 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17267 199901L] (__restrict): Define to restrict.
17268
17269 [BZ #19667]
17270 * string/testcopy.c: Include <support/support.h>. Do not include
17271 <malloc.h>. Use <support/test-driver.c>.
17272 (main): Rename to do_test. Make static. Use xmalloc instead of
17273 malloc.
17274
17275 [BZ #13575]
17276 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17277 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17278 (SSIZE_MAX): Define to INT_MAX.
17279 * posix/test-ssize-max.c: New file.
17280 * posix/Makefile (tests): Add test-ssize-max.
17281
17282 [BZ #19668]
17283 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17284 <support/support.h>. Do not include <malloc.h>.
17285 (query_auxv): Use xmalloc instead of malloc.
17286
17287 [BZ #14553]
17288 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17289 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17290 instead of loff_t.
17291
17292 2018-02-06 Florian Weimer <fweimer@redhat.com>
17293
17294 [BZ #18023]
17295 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17296 Use scratch_buffer instead of extend_alloca.
17297
17298 2018-02-06 Zack Weinberg <zackw@panix.com>
17299
17300 * libio/stdio.h: Don't define getc or putc as macros.
17301 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17302 not _IO_getc and _IO_putc.
17303
17304 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17305 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17306
17307 2018-02-06 Joseph Myers <joseph@codesourcery.com>
17308
17309 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17310 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17311
17312 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17313
17314 [BZ #14890]
17315 * elf/elf.h (NT_PRFPREG): New macro.
17316 (NT_S390_VXRS_LOW): Likewise.
17317 (NT_S390_VXRS_HIGH): Likewise.
17318 (NT_S390_GS_CB): Likewise.
17319 (NT_S390_GS_BC): Likewise.
17320 (NT_S390_RI_CB): Likewise.
17321
17322 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17323 (MAP_SYNC): New macro.
17324 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17325 Likewise.
17326 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17327 (MAP_SYNC): Likewise.
17328 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17329 (MAP_SYNC): Likewise.
17330 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17331 (MAP_SYNC): Likewise.
17332 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17333 (MAP_SYNC): Likewise.
17334 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17335 (MAP_SYNC): Likewise.
17336 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17337 (MAP_SYNC): Likewise.
17338 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
17339 Likewise.
17340 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
17341 Likewise.
17342
17343 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
17344 (MAP_SHARED_VALIDATE): New macro.
17345 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17346 (MAP_SHARED_VALIDATE): Likewise.
17347
17348 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17349
17350 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
17351 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
17352 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17353
17354 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17355
17356 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
17357 (DT_NUM): Updated to 35.
17358
17359 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17360
17361 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
17362 __builtin_expect with __glibc_likely and __glibc_unlikely.
17363 (elf_machine_rela): Likewise.
17364 (elf_machine_lazy_rel): Likewise.
17365
17366 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17367
17368 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
17369 __builtin_expect with __glibc_likely and __glibc_unlikely.
17370 (elf_machine_lazy_rel): Likewise.
17371
17372 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17373
17374 [BZ #22638]
17375 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
17376 SHARED.
17377 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
17378
17379 2018-02-05 Andreas Schwab <schwab@suse.de>
17380
17381 [BZ #22761]
17382 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
17383 string.
17384
17385 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17386
17387 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
17388 not check against PTHREAD_STACK_MIN.
17389
17390 2018-02-02 Sean McKean <smckean83@gmail.com>
17391
17392 [BZ #22735]
17393 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
17394
17395 2018-02-02 Florian Weimer <fweimer@redhat.com>
17396
17397 [BZ #22753]
17398 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
17399 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17400 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17401 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
17402 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17403 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17404 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17405 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
17406 * manual/llio.texi (Scatter-Gather): Mention offset -1.
17407 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
17408 * misc/tst-preadvwritev2.c (do_test): Call it.
17409 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
17410
17411 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17412
17413 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
17414
17415 * benchtests/bench-memcmp.c: Print json instead of plain text.
17416
17417 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
17418 every test run.
17419
17420 2018-02-01 Joseph Myers <joseph@codesourcery.com>
17421
17422 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17423 version to 4.15.
17424 (s390_sthyi): New syscall.
17425
17426 * sysdeps/generic/ldbl-classify-compat.h: New file.
17427 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
17428 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
17429 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
17430 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
17431 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
17432 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
17433 * sysdeps/ieee754/dbl-64/s_finite.c: Include
17434 <ldbl-classify-compat.h>.
17435 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17436 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
17437 <ldbl-classify-compat.h>.
17438 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17439 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
17440 <ldbl-classify-compat.h>.
17441 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17442 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
17443 <ldbl-classify-compat.h>.
17444 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17445 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
17446 <ldbl-classify-compat.h>.
17447 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17448 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
17449 <ldbl-classify-compat.h>.
17450 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17451 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
17452 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17453 * sysdeps/m68k/coldfire/math_private.h: Remove file.
17454 * sysdeps/microblaze/math_private.h: Likewise.
17455 * sysdeps/nios2/math_private.h: Likewise.
17456 * sysdeps/sh/math_private.h: Likewise.
17457
17458 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
17459 * sysdeps/m68k/coldfire/math_private.h: ... here.
17460 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
17461 * sysdeps/tile/math_private.h: Likewise.
17462 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
17463 Remove macro.
17464 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
17465 Likewise.
17466
17467 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
17468 Remove macro.
17469 (libc_fetestexcept): Likewise.
17470 (libc_feupdateenv_test): Likewise.
17471 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
17472 (libc_fetestexcept): Likewise.
17473 (libc_feupdateenv_test): Likewise.
17474 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
17475 (libc_fetestexcept): Likewise.
17476 (libc_feupdateenv_test): Likewise.
17477 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
17478 (libc_fetestexcept): Likewise.
17479 (libc_feupdateenv_test): Likewise.
17480
17481 * sysdeps/generic/math_private.h
17482 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
17483 New inline function.
17484 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
17485 Likewise.
17486
17487 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
17488 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
17489 * sysdeps/generic/math_private.h
17490 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
17491 inline function.
17492 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
17493 Likewise.
17494 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
17495 Likewise.
17496 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
17497 Likewise.
17498 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
17499 Likewise.
17500 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
17501 Likewise.
17502 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
17503 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
17504 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
17505 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
17506 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
17507 (__fegetenv): Likewise.
17508 (fesetenv): Likewise.
17509 (__fesetenv): Likewise.
17510 (feupdateenv): Likewise.
17511 (__feupdateenv): Likewise.
17512 (fegetround): Likewise.
17513 (__fegetround): Likewise.
17514 (fesetround): Likewise.
17515 (__fesetround): Likewise.
17516
17517 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
17518 (feraiseexcept): New macro.
17519 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
17520 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
17521 Remove macro.
17522 (__feraiseexcept): Likewise.
17523 (feclearexcept): Likewise.
17524 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
17525 (__feraiseexcept): Likewise.
17526 (feclearexcept): Likewise.
17527 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
17528 (__feraiseexcept): Likewise.
17529 (feclearexcept): Likewise.
17530 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
17531 (__feraiseexcept): Likewise.
17532 (feclearexcept): Likewise.
17533 (fetestexcept): Likewise.
17534
17535 * sysdeps/m68k/coldfire/math-tests.h: New file.
17536
17537 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
17538 * sysdeps/m68k/bits/fenv.h: ... here.
17539 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
17540 not define.
17541 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
17542 Likewise.
17543 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
17544 Likewise.
17545 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
17546 Likewise.
17547 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
17548 Likewise.
17549 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
17550 Define to 0.
17551 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
17552 (__FE_UNDEFINED): New enum constant.
17553 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
17554 Do not define.
17555 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
17556 Likewise.
17557 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
17558 Likewise.
17559 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
17560 to match generic bits/fenv.h.
17561 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
17562 Do not define.
17563
17564 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
17565 packed on bits.
17566 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
17567 * soft-fp/half.h (union _FP_UNION_H): Likewise.
17568 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
17569 * soft-fp/single.h (union _FP_UNION_S): Likewise.
17570
17571 2018-02-01 Carlos O'Donell <carlos@redhat.com>
17572 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
17573 Joseph Myers <joseph@codesourcery.com>
17574
17575 [BZ #21314]
17576 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
17577 (__log1p): Disable -Wmaybe-uninitialized for -Os around
17578 computation using c.
17579 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
17580 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
17581 computation using c.
17582
17583 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17584
17585 * version.h (RELEASE): Set to "development".
17586 (VERSION): Set to "2.27.9000".
17587 * NEWS (2.28): New section.
17588
17589 * version.h (RELEASE): Set to "stable".
17590 (VERSION): Set to "2.27".
17591 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
17592
17593 * NEWS: Add the list of bugs fixed in 2.27.
17594
17595 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17596
17597 * stdlib/test-atexit-race-common.c (do_test): Check stack size
17598 against PTHREAD_STACK_MIN.
17599
17600 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
17601
17602 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
17603 New entries.
17604 (Rafal Luzynski, Andreas Schwab): Update.
17605
17606 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
17607
17608 [BZ #10871]
17609 * NEWS: List the languages which actually use the alternative
17610 months feature in this release. Also explain that "alt_mon" and
17611 "ab_alt_mon" are optional.
17612
17613 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
17614
17615 [BZ #22765]
17616 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
17617
17618 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
17619
17620 * manual/install.texi (Tools for Compilation): Update the newest
17621 versions of gcc, binutils, texinfo, gawk, bison, and sed.
17622 * INSTALL: Regenerated.
17623
17624 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17625
17626 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
17627 instead of __builtin_expect.
17628
17629 2018-01-30 Florian Weimer <fweimer@redhat.com>
17630
17631 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
17632 data.
17633 * nss/tst-nss-getpwent.c (do_test): Likewise.
17634
17635 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
17636
17637 [BZ #10871]
17638 * localedata/locales/hr_HR (mon): Rename to...
17639 (alt_mon): This.
17640 (mon): Import from CLDR (genitive case).
17641 (d_t_fmt): Update the comment.
17642
17643 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
17644
17645 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
17646 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
17647 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
17648
17649 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17650
17651 * mach/Versions: Fix version when __mach_host_self_ was added.
17652 * hurd/Versions: Fix version when _hurd_exec_paths was added.
17653 * sysdeps/mach/hurd/i386/ld.abilist: New file.
17654 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
17655 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
17656 * sysdeps/mach/hurd/i386/libc.abilist: New file.
17657 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
17658 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17659 * sysdeps/mach/hurd/i386/libm.abilist: New file.
17660 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
17661 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
17662 * sysdeps/mach/hurd/i386/librt.abilist: New file.
17663 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
17664 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
17665 || to respect codestyle.
17666 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
17667 (do_test_bz20181): Rename accordingly.
17668 * malloc/malloc.c: Include <assert.h>.
17669 (assert): Do not define.
17670 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
17671 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
17672 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
17673 * sysdeps/mach/hurd/hp-timing.h: New file.
17674 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
17675
17676 2018-01-29 Darius Rad <darius@bluespec.com>
17677
17678 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
17679
17680 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
17681
17682 * sysdeps/init_array/crti.S (.section .init_array): Add
17683 PREINIT_FUNCTION when defined.
17684 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
17685 * config.h.in: Regenerate.
17686 * manual/platform.texi: Add RISC-V documenation for
17687 __riscv_flush_icache.
17688 * sysdeps/riscv/__longjmp.S: New file.
17689 * sysdeps/riscv/backtrace.c: Likewise.
17690 * sysdeps/riscv/bits/endian.h: Likewise.
17691 * sysdeps/riscv/bits/setjmp.h: Likewise.
17692 * sysdeps/riscv/bits/wordsize.h: Likewise.
17693 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
17694 * sysdeps/riscv/bsd-setjmp.c: Likewise.
17695 * sysdeps/riscv/dl-trampoline.S: Likewise.
17696 * sysdeps/riscv/gccframe.h: Likewise.
17697 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
17698 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
17699 * sysdeps/riscv/machine-gmon.h: Likewise.
17700 * sysdeps/riscv/memusage.h: Likewise.
17701 * sysdeps/riscv/setjmp.S: Likewise.
17702 * sysdeps/riscv/sys/asm.h: Likewise.
17703 * sysdeps/riscv/tls-macros.h: Likewise.
17704 * sysdeps/riscv/dl-tls.h: New file.
17705 * sysdeps/riscv/libc-tls.c: Likewise.
17706 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
17707 * sysdeps/riscv/nptl/tls.h: Likewise.
17708 * sysdeps/riscv/stackinfo.h: Likewise.
17709 * sysdeps/riscv/bits/fenv.h: New file.
17710 * sysdeps/riscv/e_sqrtl.c: Likewise.
17711 * sysdeps/riscv/fpu_control.h: Likewise.
17712 * sysdeps/riscv/math-tests.h: Likewise.
17713 * sysdeps/riscv/nofpu/Implies: Likewise.
17714 * sysdeps/riscv/sfp-machine.h: Likewise.
17715 * sysdeps/riscv/tininess.h: Likewise.
17716 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
17717 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
17718 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
17719 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
17720 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
17721 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
17722 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
17723 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
17724 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
17725 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
17726 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
17727 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
17728 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
17729 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
17730 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
17731 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
17732 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
17733 * sysdeps/riscv/rvd/s_finite.c: Likewise.
17734 * sysdeps/riscv/rvd/s_fma.c: Likewise.
17735 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
17736 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
17737 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
17738 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
17739 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
17740 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
17741 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
17742 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
17743 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
17744 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
17745 * sysdeps/riscv/rvf/fegetround.c: Likewise.
17746 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
17747 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
17748 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
17749 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
17750 * sysdeps/riscv/rvf/fesetround.c: Likewise.
17751 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
17752 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
17753 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
17754 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
17755 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
17756 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
17757 * sysdeps/riscv/rvf/math_private.h: Likewise.
17758 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
17759 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
17760 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
17761 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
17762 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
17763 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
17764 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
17765 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
17766 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
17767 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
17768 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
17769 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
17770 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
17771 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
17772 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
17773 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
17774 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
17775 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
17776 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
17777 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
17778 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
17779 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17780 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
17781 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
17782 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
17783 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
17784 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
17785 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
17786 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
17787 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
17788 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
17789 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
17790 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
17791 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
17792 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
17793 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
17794 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
17795 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
17796 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
17797 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
17798 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
17799 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
17800 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
17801 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
17802 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
17803 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
17804 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
17805 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
17806 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
17807 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
17808 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
17809 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
17810 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
17811 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
17812 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
17813 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
17814 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
17815 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
17816 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
17817 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
17818 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17819 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17820 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17821 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17822 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17823 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17824 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17825 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17826 * sysdeps/riscv/Implies: New file.
17827 * sysdeps/riscv/Makefile: Likewise.
17828 * sysdeps/riscv/configure: Likewise.
17829 * sysdeps/riscv/configure.ac: Likewise.
17830 * sysdeps/riscv/nptl/Makefile: Likewise.
17831 * sysdeps/riscv/preconfigure: Likewise.
17832 * sysdeps/riscv/rv64/Implies-after: Likewise.
17833 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
17834 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
17835 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
17836 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
17837 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
17838 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
17839 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
17840 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
17841 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
17842 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
17843 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
17844 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
17845 (Config): Likewise.
17846
17847 2018-01-29 Florian Weimer <fweimer@redhat.com>
17848
17849 [BZ #22701]
17850 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
17851 libnsl_hidden_proto.
17852 * include/rpcsvc/yp.h (yp_xdrall): Declare with
17853 libnsl_hidden_proto.
17854 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
17855 * nis/Makefile (libnsl-routines): Add nss-default only for
17856 build-obsolete-nsl.
17857 * nis/nis_defaults.c (__nis_default_ttl): Add
17858 libnsl_hidden_nolink_def.
17859 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
17860 declaration.
17861 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
17862 * nis/ypclnt.c (yp_maplist): Likewise.
17863
17864 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
17865
17866 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17867 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
17868
17869 2018-01-29 Joseph Myers <joseph@codesourcery.com>
17870
17871 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
17872 clean -dxfq for git updates when replacing sources.
17873
17874 * scripts/build-many-glibcs.py (Config.build_gcc): Use
17875 --disable-libcilkrts unconditionally, not just for the final GCC
17876 build for Hurd.
17877
17878 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
17879 version to 4.15.
17880
17881 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17882
17883 [BZ #10871]
17884 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
17885 case).
17886
17887 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17888
17889 [BZ #10871]
17890 * localedata/locales/be_BY (mon): Rename to...
17891 (alt_mon): This, then synchronize with CLDR (nominative case).
17892 (abmon): Rename to...
17893 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17894 (mon): Import from CLDR (genitive case).
17895 (abmon): Likewise.
17896 * localedata/locales/be_BY@latin (mon): Rename to...
17897 (alt_mon): This.
17898 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
17899
17900 * localedata/locales/be_BY@latin (lang_name): Reworded to
17901 "biełaruskaja mova".
17902
17903 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17904
17905 [BZ #10871]
17906 * localedata/locales/el_CY (mon): Renamed to...
17907 (alt_mon): This.
17908 (mon): Import from CLDR (genitive case).
17909 * localedata/locales/el_GR: Likewise.
17910
17911 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
17912
17913 [BZ #10871]
17914 * localedata/locales/ru_RU (mon): Rename to...
17915 (alt_mon): This.
17916 (abmon): Rename to...
17917 (ab_alt_mon): This.
17918 (mon): Import from CLDR (genitive case).
17919 (abmon): Copy from the old content except the 5th month which is
17920 now in the genitive case, even when abbreviated.
17921 * localedata/locales/ru_UA: Likewise.
17922 * time/tst-strptime.c (day_tests): Add an actual example of
17923 a difference between %b and %Ob in Russian.
17924
17925 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17926
17927 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
17928 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
17929 a `c' variable.
17930 * resolv/res-close.c: Include <stdlib.h>.
17931 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
17932 <sys/wait.h>, <time.h>, <sys/uio.h>.
17933 (NOT_CANCEL_H): Add inclusion guard.
17934 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
17935 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
17936 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
17937 return 0.
17938 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
17939 vm_address_t * to ElfW(Addr) * for dl_main parameter.
17940 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
17941 instead of void *.
17942 * sysdeps/pthread/timer_create.c (timer_create): Do not use
17943 timer_ptr2id to cast struct timer_node * to void *.
17944 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
17945 --disable-libcilkrts to gcc configure.
17946 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
17947 and make them the default for now.
17948 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
17949 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
17950 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
17951 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
17952 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
17953 MACH_IPC_COMPAT.
17954 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
17955 __task_terminate would ever return successfully.
17956 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
17957 to global scope.
17958 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
17959 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
17960 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
17961 critical section to make code simpler and avoid warning.
17962 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
17963 critical section to make code simpler and avoid warning.
17964 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
17965 const char * instead of char *.
17966 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
17967 __hurd_file_name_split, hurd_file_name_split,
17968 __hurd_directory_name_split, hurd_directory_name_split,
17969 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
17970 hurd_file_name_path_lookup): Make lookup function parameter take a
17971 const char *name instead of char *name.
17972 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
17973 __hurd_directory_name_split): Likewise.
17974 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
17975 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
17976 * sysdeps/mach/hurd/check_native.c: New file.
17977 * sysdeps/mach/hurd/check_pf.c: New file.
17978 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
17979 (__freeifaddrs): Define macro to freeifaddrs.
17980 * sysdeps/mach/hurd/libhurduser.abilist: New file.
17981 * sysdeps/mach/libmachuser.abilist: New file.
17982 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
17983 (do_test_bz20181): Rename accordingly.
17984 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
17985 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
17986 <sys/mount.h>.
17987 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
17988 version only if __USE_EXTERN_INLINES is defined.
17989 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
17990 __hurd_sockfail): Likewise.
17991 (_hurd_fd_get): Always declare functions, and provide inline versions
17992 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
17993 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
17994 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
17995 _hurd_port_set): Always declare functions, and provide inline versions
17996 only if __USE_EXTERN_INLINES and _LIBC are defined and
17997 IS_IN(libc).
17998 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
17999 _hurd_critical_section_unlock): Likewise.
18000 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18001 * __hurd_threadvar_location): Likewise.
18002 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18003 _hurd_userlink_clear): Likewise.
18004 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18005 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18006 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18007 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18008 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18009 __spin_lock_locked): Likewise.
18010 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18011 __spin_lock_locked): Likewise.
18012 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18013 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18014 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18015 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18016 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
18017 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18018 _POSIX_NO_TRUNC): Define to 0.
18019 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18020 check size against PTHREAD_STACK_MIN.
18021 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18022 IS_IN(libpthread)]: Include <sigsetops.h>.
18023 * mach/Makefile (user-interfaces): Add mach/gnumach.
18024 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18025 * sysdeps/mach/configure (mach_interface_list): Regenerate.
18026 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18027 instead of invalid -1.
18028 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18029 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18030 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18031 <net/ppp_defs.h>.
18032
18033 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
18034
18035 * hurd/fcntl-internal.h: New file.
18036
18037 2018-01-27 James Clarke <jrtc27@jrtc27.com>
18038
18039 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18040
18041 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18042
18043 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18044
18045 [BZ #22701]
18046 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18047 Build only shared objects.
18048
18049 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18050
18051 * README: Update for hppa.
18052
18053 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18054
18055 * sysdeps/sparc/fpu/libm-test-ulps: Update
18056 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
18057
18058 2018-01-26 Carlos O'Donell <carlos@redhat.com>
18059
18060 Revert:
18061
18062 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18063
18064 [BZ #22563]
18065 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18066 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18067 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18068 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18069 to feature_1.
18070
18071 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18072
18073 [BZ #22563]
18074 * bits/types/__cancel_jmp_buf_tag.h: New file.
18075 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18076 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18077 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18078 * nptl/Makefile (headers): Add
18079 bits/types/__cancel_jmp_buf_tag.h.
18080 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18081 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18082 * sysdeps/nptl/pthread.h: Include
18083 <bits/types/__cancel_jmp_buf_tag.h>.
18084 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18085 __cancel_jmp_buf.
18086 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18087
18088 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18089
18090 [BZ #10871]
18091 * localedata/locales/uk_UA (mon): Renamed to...
18092 (alt_mon): This.
18093 (alt_digits): "0" removed and then renamed to...
18094 (mon): This.
18095 (date_fmt): Definition changed not to use the alternative
18096 digits hack.
18097
18098 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
18099
18100 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
18101 FLAG_RISCV_FLOAT_ABI_DOUBLE.
18102 * elf/elf.h (EF_RISCV_RVC): New define.
18103 (EF_RISCV_FLOAT_ABI): Likewise.
18104 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18105 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
18106 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18107 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
18108 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
18109 define.
18110 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18111
18112 2018-01-25 Andreas Schwab <schwab@suse.de>
18113
18114 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
18115 single quotes.
18116 * sysdeps/gnu/configure: Regenerate.
18117 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18118 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18120 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18121 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18122 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
18123 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18124 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18125
18126 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18127
18128 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
18129 URL, and run autoconf, make it the default for now.
18130
18131 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18132
18133 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18134 soft-float ColdFire configuration.
18135
18136 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
18137 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
18138 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
18139
18140 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
18141 MicroBlaze file.
18142
18143 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
18144 ....
18145 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
18146 ... here.
18147 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
18148 New file.
18149
18150 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
18151 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
18152 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
18153 file.
18154
18155 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18156
18157 [BZ #22742]
18158 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
18159 Rename to __reserved and add comment.
18160 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
18161 Rename to __reserved.
18162
18163 2018-01-24 Joseph Myers <joseph@codesourcery.com>
18164
18165 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18166 i686-gnu configurations.
18167 (Context.run_builds): Include mig, gnumach and hurd in components
18168 considered.
18169 (Context.checkout): Add mig, gnumach and hurd to components.
18170 (Context.checkout_tar): Add URL mappings for mig, gnumach and
18171 hurd.
18172 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18173 (Config.build): Install gnumach headers, build mig and install
18174 hurd headers for 'gnu' OS.
18175 (Config.install_gnumach_headers): New function.
18176 (Config.install_hurd_headers): Likewise.
18177 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18178 when building for 'gnu' OS.
18179
18180 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
18181
18182 * manual/tunables.texi (Hardware Capability Tunables): Fix
18183 spelling.
18184
18185 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
18186
18187 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18188 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18189 (ALTMON_11, ALTMON_12): Improve documentation.
18190 * manual/time.texi (strftime): Likewise.
18191
18192 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18193
18194 [BZ #10871]
18195 * localedata/locales/pl_PL: Alternative month names added,
18196 primary month names are genitive now.
18197 * time/tst-strptime.c (day_tests): Actually use a genitive case
18198 of a month name in Polish language.
18199
18200 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18201
18202 [BZ #10871]
18203 * manual/locale.texi: Document ALTMON_1..12 constants for
18204 nl_langinfo. Specify when to use ALTMON instead of MON.
18205 * manual/time.texi (strftime, strptime): Document GNU extension
18206 permitting O modifier with %B and %b. Specify when to use
18207 %OB instead of %B.
18208
18209 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18210
18211 [BZ #10871]
18212 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18213 names, define them as the same as abbreviated month names explicitly.
18214 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18215 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18216 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18217 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18218 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18219 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18220 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18221 _NL_WABALTMON_12): New enum constants.
18222 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18223 wab_alt_mon, and ab_alt_mon_defined members.
18224 (time_output): Output ab_alt_mon and wab_alt_mon members.
18225 (time_read): Read them, initialize them as copies of abmon and wabmon
18226 respectively if they are missing, initialize ab_alt_mon_defined.
18227 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18228 * locale/programs/locfile-kw.h: Regenerate.
18229 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18230 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18231 and ru_RU.UTF-8.
18232 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18233 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18234 (__strftime_internal): Handle %Ob and %Oh formats.
18235 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18236 (__strptime_internal): Handle %Ob and %Oh formats.
18237 * time/tst-strptime.c (day_tests): Add more tests to parse different
18238 forms of month names including the new %Ob format specifier.
18239
18240 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18241
18242 [BZ #10871]
18243 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18244 define them as the same as primary full month names explicitly.
18245 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18246 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18247 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18248 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18249 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18250 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18251 _NL_WALTMON_12): New enum constants.
18252 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18253 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18254 macros.
18255 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18256 walt_mon, and alt_mon_defined members.
18257 (time_output): Output alt_mon and walt_mon members.
18258 (time_read): Read them, initialize them as copies of mon and wmon
18259 respectively if they are missing, initialize alt_mon_defined.
18260 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18261 * locale/programs/locfile-kw.h: Regenerate.
18262 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18263 * localedata/tst-langinfo.c (map): Add tests for the new constants
18264 ALTMON_1 .. ALTMON_12.
18265 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18266 and pl_PL.UTF-8.
18267 * time/strftime_l.c (f_altmonth): New macro.
18268 (__strftime_internal): Handle %OB format.
18269 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18270 (__strptime_internal): Handle %OB format.
18271 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18272 of month names including the new %OB format specifier.
18273
18274 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18275
18276 [BZ #22685]
18277 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18278 from ABORT_TRANSACTION.
18279 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18280 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18281 ABORT_TRANSACTION_IMPL): Likewise.
18282 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18283 Linux code, but remove the code that aborts transactions.
18284
18285 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18286
18287 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18288
18289 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18290
18291 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18292 in date: "2004-14-09" should be "2004-09-14".
18293 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18294 "2003-15-09" should be "2003-09-15".
18295
18296 2018-01-18 Arjun Shankar <arjun@redhat.com>
18297
18298 [BZ #22343]
18299 [BZ #22774]
18300 CVE-2018-6485
18301 CVE-2018-6551
18302 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18303 after padding.
18304 (_int_memalign): check for integer overflow before calling
18305 _int_malloc.
18306 * malloc/tst-malloc-too-large.c: New test.
18307 * malloc/Makefile: Add tst-malloc-too-large.
18308
18309 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18310
18311 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18312 in date: "2017-24-07" should be "2017-07-24".
18313 * localedata/locales/mai_IN: Likewise.
18314 * localedata/locales/mai_NP: Likewise.
18315
18316 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
18317
18318 * po/ru.po: Update translations.
18319
18320 2018-01-17 Joseph Myers <joseph@codesourcery.com>
18321
18322 [BZ #22719]
18323 * sysdeps/hppa/backtrace.c: New file.
18324
18325 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18326
18327 [BZ #22715]
18328 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18329 align La_x86_64_retval to VEC_SIZE.
18330
18331 2018-01-16 Joseph Myers <joseph@codesourcery.com>
18332
18333 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
18334 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
18335
18336 2018-01-16 Florian Weimer <fweimer@redhat.com>
18337
18338 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
18339 Move tst-thread-exit-clobber ...
18340 [$(CXX)] (tests-unsupported): ... to here.
18341
18342 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18343
18344 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
18345 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
18346 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18347 (_dl_aarch64_cap_flags): Update.
18348 (_DL_HWCAP_COUNT): Update.
18349
18350 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18351
18352 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
18353 (_DL_HWCAP_LAST): Remove.
18354 (_DL_HWCAP_COUNT): Move to ...
18355 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18356 (_DL_HWCAP_COUNT): ... here.
18357
18358 2018-01-16 Florian Weimer <fweimer@redhat.com>
18359
18360 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
18361 mode with GNU extensions.
18362
18363 2018-01-15 Alan Hayward <alan.hayward@arm.com>
18364
18365 * elf/elf.h (NT_ARM_SVE): Define.
18366
18367 2018-01-15 Florian Weimer <fweimer@redhat.com>
18368
18369 [BZ #22636]
18370 * nptl/tst-minstack-throw.cc: New file.
18371 * nptl/Makefile (tests): Add tst-minstack-throw.
18372 (LDLIBS-tst-minstack-throw): Link with libstdc++.
18373 [!CXX] (tests-unsupported): Add tst-minstack-throw.
18374
18375 2018-01-15 Joseph Myers <joseph@codesourcery.com>
18376
18377 * scripts/build-many-glibcs.py (Context.checkout): Default
18378 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
18379 version to 1.1.0.
18380
18381 2018-01-13 Carlos O'Donell <carlos@redhat.com>
18382
18383 [BZ #22707]
18384 * elf/elf.h (DF_1_STUB): Define.
18385 (DF_1_PIE): Define.
18386
18387 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18388
18389 [BZ #22697]
18390 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
18391 Do not add 0.5 to integer or out-of-range arguments.
18392
18393 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18394
18395 * po/bg.po: Update translations.
18396 * po/cs.po: Likewise.
18397 * po/de.po: Likewise.
18398 * po/ko.po: Likewise.
18399 * po/pl.po: Likewise.
18400 * po/sv.po: Likewise.
18401 * po/uk.po: Likewise.
18402 * po/vi.po: Likewise.
18403
18404 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18405
18406 * aarch64/start.S (_start): Use __wrap_main.
18407 (__wrap_main): New local symbol.
18408
18409 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18410
18411 [BZ #22679]
18412 CVE-2018-1000001
18413 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
18414 generic_getcwd if the path returned by getcwd syscall is not absolute.
18415 * io/tst-getcwd-abspath.c: New test.
18416 * io/Makefile (tests): Add tst-getcwd-abspath.
18417
18418 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
18419
18420 * malloc/malloc.c (malloc_consolidate): Add size check.
18421
18422 2018-01-12 Florian Weimer <fweimer@redhat.com>
18423
18424 * support/write_message.c (write_message): Preserve errno.
18425 * support/check.c (print_failure): Likewise.
18426 * support/support_test_verify_impl.c (support_test_verify_impl):
18427 Likewise.
18428 * support/support_test_compare_failure.c
18429 (support_test_compare_failure): Likewise.
18430
18431 2018-01-12 Florian Weimer <fweimer@redhat.com>
18432
18433 [BZ #22701]
18434 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
18435 Prevent installation of libnsl.so.
18436 (libnsl-inhibit-o): Do not build (or install) static libraries.
18437
18438 2018-01-12 Egmont Koblinger <egmont@gmail.com>
18439
18440 [BZ #22657]
18441 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
18442 before the day number which may produce a double space.
18443 (date_fmt): Likewise.
18444
18445 2018-01-12 Joseph Myers <joseph@codesourcery.com>
18446
18447 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
18448 instead of fegetenv.
18449
18450 2018-01-11 Joseph Myers <joseph@codesourcery.com>
18451
18452 [BZ #22702]
18453 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
18454 comment to say exceptions are discarded.
18455 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
18456 __fegetenv.
18457 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
18458 be enabled.
18459
18460 2018-01-11 Florian Weimer <fweimer@redhat.com>
18461
18462 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
18463 and error message.
18464
18465 2018-01-11 Florian Weimer <fweimer@redhat.com>
18466
18467 [BZ #22636]
18468 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
18469 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
18470
18471 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18472
18473 [BZ #22693]
18474 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
18475 negative arguments in test for NaN or infinity argument.
18476
18477 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
18478
18479 * po/libc.pot: Regenerate.
18480
18481 2018-01-10 Florian Weimer <fweimer@redhat.com>
18482
18483 [BZ #22636]
18484 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
18485 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
18486
18487 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18488
18489 * hurd/hurd/fd.h: Include <fcntl.h>
18490 (__hurd_at_flags): New function.
18491 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
18492 with call to __hurd_at_flags.
18493 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
18494 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
18495 __faccessat
18496 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
18497 (__access_noerrno): Use __faccessat_common instead of access_common.
18498 (__access): Likewise.
18499 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
18500 with a call to __faccessat.
18501 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
18502 (__faccessat_common): ... this. Move implementation of __access into it when
18503 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
18504 reauthenticate_cwdir_at helper to implement AT mechanism.
18505 (__faccessat_noerrno): New function, just calls __faccessat_common.
18506 (__faccessat): New function, just calls __faccessat_common.
18507 (faccessat): Define weak alias.
18508
18509 2018-01-10 Joseph Myers <joseph@codesourcery.com>
18510
18511 [BZ #22691]
18512 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18513 (CFLAGS-s_fmaxmagl.c): New variable.
18514 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
18515
18516 [BZ #22690]
18517 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
18518 long int for arguments of possibly overflowing addition or
18519 subtraction.
18520 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18521
18522 2018-01-09 Joseph Myers <joseph@codesourcery.com>
18523
18524 [BZ #22688]
18525 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18526 (CFLAGS-e_remainderl.c): New variable.
18527
18528 [BZ #22687]
18529 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
18530 variable.
18531 (CFLAGS-s_cacoshl.c): Likewise.
18532 (CFLAGS-s_casinhl.c): Likewise.
18533 (CFLAGS-s_catanl.c): Likewise.
18534 (CFLAGS-s_catanhl.c): Likewise.
18535 (CFLAGS-s_cexpl.c): Likewise.
18536 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
18537 (CFLAGS-s_csinhl.c): Likewise.
18538 (CFLAGS-s_clogl.c): Likewise.
18539 (CFLAGS-s_clog10l.c): Likewise.
18540 (CFLAGS-s_csinl.c): Likewise.
18541 (CFLAGS-s_csqrtl.c): Likewise.
18542
18543 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
18544 2017-01-09 Svante Signell <svante.signell@gmail.com>
18545
18546 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
18547 (_hurd_exec_paths): New function.
18548 * hurd/hurd.h (_hurd_exec): Deprecate function.
18549 (_hurd_exec_paths): Declare function.
18550 * hurd/Versions: Export _hurd_exec_paths.
18551 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
18552 (__execve): Use __getcwd to build absolute path, and use
18553 _hurd_exec_paths instead of _hurd_exec.
18554 * sysdeps/mach/hurd/spawni.c: Likewise.
18555 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
18556 _hurd_exec.
18557
18558 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
18559
18560 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
18561 test instead of failing in case of ENOENT returned by posix_openpt.
18562
18563 2018-01-08 Florian Weimer <fweimer@redhat.com>
18564
18565 resolv: Support binary labels in test framework.
18566 * support/resolv_test.c (struct to_be_freed): Remove.
18567 (struct compressed_name): New.
18568 (allocate_compressed_name, ascii_tolower)
18569 (compare_compressed_name): New functions.
18570 (struct resolv_response_builder): Update type of
18571 compression_offsets for use with tsearch. Rempve to_be_freed.
18572 (response_push_pointer_to_free): Remove function.
18573 (resolv_response_add_name): Rewrite using struct compressed_name
18574 and tsearch instead of hsearch_r.
18575 (response_builder_allocate): Remove initialization of
18576 compression_offsets.
18577 (response_builder_free): Update for removal of to_be_freed. Use
18578 tdestroy instead of hdestroy_r.
18579 * resolv/Makefile (tests): Add tst-resolv-binary.
18580 (tst-resolv-binary): Link with -lresolv -lpthread.
18581
18582 2018-01-08 Florian Weimer <fweimer@redhat.com>
18583
18584 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
18585 time. Pass positive flag instead of negative flag to
18586 support_test_compare_failure.
18587 (support_test_compare_failure): Change negative parameter to
18588 positive.
18589 * support/support_test_compare_failure.c (report)
18590 (support_test_compare_failure): Likewise.
18591 * support/tst-test_compare.c (return_ssize_t, return_int): New.
18592 (do_test): Check int/size_t, ssize_t/size_t comparisons.
18593
18594 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
18595
18596 [BZ #22637]
18597 * nptl/descr.h (stackblock, stackblock_size): Update comments.
18598 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
18599 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
18600 stacksize.
18601 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18602
18603 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
18604
18605 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18606 Add s_sincosf-sse2 and s_sincosf-fma.
18607 (CFLAGS-s_sincosf-fma.c): New.
18608 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
18609 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
18610 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
18611 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
18612 __sincosf is defined.
18613
18614 2018-01-08 Florian Weimer <fweimer@redhat.com>
18615
18616 * nptl/tst-thread-exit-clobber.cc: New file.
18617 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
18618 C++11 mode.
18619 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
18620 (tests): Add tst-thread-exit-clobber.
18621 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
18622
18623 2018-01-08 Florian Weimer <fweimer@redhat.com>
18624
18625 * support/check.h (support_static_assert): Define.
18626 (TEST_COMPARE): Use it.
18627
18628 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
18629
18630 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
18631 [!__RLIM_T_MATCHES_RLIM64_T]
18632 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
18633 __getrlimit64. Add libc_hidden_weak.
18634
18635 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
18636
18637 * elf/elf.h (R_RISCV_NONE): New define.
18638 (R_RISCV_32): Likewise.
18639 (R_RISCV_64): Likewise.
18640 (R_RISCV_RELATIVE): Likewise.
18641 (R_RISCV_COPY): Likewise.
18642 (R_RISCV_JUMP_SLOT): Likewise.
18643 (R_RISCV_TLS_DTPMOD32): Likewise.
18644 (R_RISCV_TLS_DTPMOD64): Likewise.
18645 (R_RISCV_TLS_DTPREL32): Likewise.
18646 (R_RISCV_TLS_DTPREL64): Likewise.
18647 (R_RISCV_TLS_TPREL32): Likewise.
18648 (R_RISCV_TLS_TPREL64): Likewise.
18649 * Makerules (make-link-multidir): Make directories before linking into
18650 them.
18651 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
18652 define.
18653 (VDSO_HASH_LINUX_4_15): Likewise.
18654 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
18655 in subdirectories of lib.
18656 * nptl/Makefile (/librt.so): Always depend on
18657 "$(shared-thread-library)".
18658
18659 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18660
18661 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
18662 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
18663 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
18664 (___tls_get_addr).
18665 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
18666 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
18667 "-O2 -march=i686".
18668 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
18669 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
18670 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
18671 * sysdeps/gnu/glob-lstat-compat.c: New file.
18672 * sysdeps/gnu/glob64-lstat-compat.c: New file.
18673 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
18674
18675 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18676
18677 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
18678 Reserve 16 chars to reloc_addr before calling _itoa_word.
18679
18680 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18681
18682 [BZ #22678]
18683 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
18684 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
18685
18686 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
18687 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
18688
18689 * resource/tst-getrlimit.c: Add copyright header.
18690
18691 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18692 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18693
18694 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18695 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
18696 Define __GI_getrlimit64 as weak alias of __getrlimit64.
18697 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
18698 instead.
18699 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
18700 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
18701 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
18702 RLIM64_INFINITY): Fix values to match the kernel ones.
18703 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
18704 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
18705 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
18706 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
18707 getrlimit64@@GLIBC_2_27.
18708 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
18709 and setrlimit64.
18710 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
18711 getrlimit, setrlimit, getrlimit64 and setrlimit64.
18712 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
18713 setrlimit, getrlimit64 and setrlimit64.
18714
18715 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
18716
18717 [BZ #22648]
18718 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
18719 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
18720
18721 2018-01-04 Joseph Myers <joseph@codesourcery.com>
18722
18723 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
18724 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
18725 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
18726
18727 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18728
18729 [BZ #15479]
18730 [BZ #22666]
18731 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
18732 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
18733
18734 [BZ #15479]
18735 [BZ #22665]
18736 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
18737 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
18738 * sysdeps/alpha/fpu/s_floor.c: Likewise.
18739 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
18740
18741 2018-01-04 Florian Weimer <fweimer@redhat.com>
18742
18743 [BZ #22667]
18744 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18745 Align the stack before calling exit.
18746 * stdlib/tst-makecontext-align.c: New file.
18747 * stdlib/Makefile (tests): Add tst-makecontext-align.
18748
18749 2018-01-04 Florian Weimer <fweimer@redhat.com>
18750
18751 Add support for calling dlvsym from libc.so.
18752 * include/dlfcn.h (__libc_dlvsym): Declare.
18753 * elf/Makefile (tests-static-internal): Add
18754 tst-libc_dlvsym-static.
18755 (tests-internal): Add tst-libc_dlvsym.
18756 (modules-names): Add tst-libc_dlvsym-dso.
18757 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
18758 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
18759 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
18760 object tst-libc_dlvsym-dso.so needs to be built before running
18761 these tests.
18762 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
18763 * elf/Versions: Export __libc_dlvsym.
18764 * elf/dl-libc.c (struct do_dlvsym_args): New.
18765 (do_dlvsym, __libc_dlvsym): New functions.
18766 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
18767 (_dl_open_hook2): New variable.
18768 (__libc_register_dl_open_hook): Set it.
18769 * elf/tst-libc_dlvsym-dso.c: New file.
18770 * elf/tst-libc_dlvsym-static.c: Likewise.
18771 * elf/tst-libc_dlvsym.c: Likewise.
18772 * elf/tst-libc_dlvsym.h: Likewise.
18773
18774 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18775
18776 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
18777 include <sys/mount.h>.
18778
18779 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
18780
18781 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
18782 Add __NO_MATH_ERRNO__ check.
18783
18784 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18785
18786 * sysdeps/mips/mips32/libm-test-ulps: Update.
18787 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18788
18789 2018-01-02 Florian Weimer <fweimer@redhat.com>
18790
18791 * misc/tst-pselect.c: Add copyright header.
18792
18793 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18794
18795 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
18796 comment.
18797 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
18798 comment.
18799 (settrlimit): Rename into setrlimit.
18800 (__sttrlimit): Rename into __setrlimit.
18801
18802 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
18803 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
18804 never defined in that case.
18805
18806 2018-01-02 Joseph Myers <joseph@codesourcery.com>
18807
18808 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
18809
18810 * sysdeps/arm/libm-test-ulps: Update.
18811
18812 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
18813 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
18814
18815 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18816
18817 * NEWS: Add cosf and sincosf to list of optimized functions.
18818
18819 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
18820
18821 [BZ #22660]
18822 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
18823 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
18824 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
18825 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
18826
18827 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
18828
18829 [BZ #22433]
18830 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
18831
18832 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
18833 making a copy of it.
18834
18835 2018-01-01 Joseph Myers <joseph@codesourcery.com>
18836
18837 * manual/texinfo.tex: Update to version 2017-12-26.21 with
18838 trailing whitespace removed.
18839 * scripts/config.guess: Update to version 2018-01-01.
18840 * scripts/config.sub: Update to version 2018-01-01.
18841 * scripts/move-if-change: Update from gnulib.
18842
18843 * NEWS: Update copyright dates.
18844 * catgets/gencat.c (print_version): Likewise.
18845 * csu/version.c (banner): Likewise.
18846 * debug/catchsegv.sh: Likewise.
18847 * debug/pcprofiledump.c (print_version): Likewise.
18848 * debug/xtrace.sh (do_version): Likewise.
18849 * elf/ldconfig.c (print_version): Likewise.
18850 * elf/ldd.bash.in: Likewise.
18851 * elf/pldd.c (print_version): Likewise.
18852 * elf/sotruss.sh: Likewise.
18853 * elf/sprof.c (print_version): Likewise.
18854 * iconv/iconv_prog.c (print_version): Likewise.
18855 * iconv/iconvconfig.c (print_version): Likewise.
18856 * locale/programs/locale.c (print_version): Likewise.
18857 * locale/programs/localedef.c (print_version): Likewise.
18858 * login/programs/pt_chown.c (print_version): Likewise.
18859 * malloc/memusage.sh (do_version): Likewise.
18860 * malloc/memusagestat.c (print_version): Likewise.
18861 * malloc/mtrace.pl: Likewise.
18862 * manual/libc.texinfo: Likewise.
18863 * nptl/version.c (banner): Likewise.
18864 * nscd/nscd.c (print_version): Likewise.
18865 * nss/getent.c (print_version): Likewise.
18866 * nss/makedb.c (print_version): Likewise.
18867 * posix/getconf.c (main): Likewise.
18868 * scripts/test-installation.pl: Likewise.
18869 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18870
18871 * All files with FSF copyright notices: Update copyright dates
18872 using scripts/update-copyrights.
18873 * locale/programs/charmap-kw.h: Regenerated.
18874 * locale/programs/locfile-kw.h: Likewise.
18875
18876 2017-12-31 Zack Weinberg <zackw@panix.com>
18877
18878 * libio/bits/libio-ldbl.h: Correct check for improper
18879 inclusion. Add own multiple include guard.
18880
18881 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
18882 Dmitry V. Levin <ldv@altlinux.org>
18883
18884 [BZ #22625]
18885 CVE-2017-16997
18886 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
18887 string token expansion. Check for NULL pointer or empty string possibly
18888 returned by expand_dynamic_string_token.
18889 (decompose_rpath): Check for empty path after dynamic string
18890 token expansion.
18891
18892 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
18893
18894 [BZ #22433]
18895 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
18896
18897 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
18898 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
18899 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
18900 and PTRACE_SYSCALL.
18901 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
18902 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18903 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18904 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18905 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18906 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18907
18908 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
18909 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18910 __ptrace_peeksiginfo_flags, ptrace): Move to ...
18911 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
18912 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18913 bits/ptrace-shared.h.
18914 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
18915 <bits/ptrace-shared.h>.
18916 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
18917 __ptrace_peeksiginfo_flags, ptrace): Remove.
18918 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18919 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18920 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18921 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18922 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
18923
18924 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18925
18926 [BZ #17804]
18927 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
18928 end of the loop. Improve comments.
18929
18930 2017-12-29 Zack Weinberg <zackw@panix.com>
18931
18932 [BZ #22615]
18933 * manual/errno.texi (Checking for Errors): Explicitly say that errno
18934 might be set on success.
18935
18936 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
18937
18938 [BZ #22611]
18939 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
18940 is unchanged on success.
18941
18942 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
18943
18944 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
18945 updated.
18946 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
18947 expand_dynamic_string_token): Likewise.
18948 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
18949 is_path argument.
18950
18951 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
18952 contains ':'.
18953
18954 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
18955 is set and name contains ':', and all code depending on these checks.
18956
18957 2017-12-24 Zack Weinberg <zackw@panix.com>
18958
18959 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
18960 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
18961 respectively.
18962 * libio/libio.h: Rename the original version of this file to
18963 libio/bits/libio.h. Error out if not included by stdio.h or the
18964 stub libio.h.
18965 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
18966 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
18967 if not included by bits/libio.h or the stub _G_config.h.
18968 * sysdeps/unix/sysv/linux/_G_config.h: Move to
18969 sysdeps/unix/sysv/linux/bits. Error out if not included by
18970 bits/libio.h or the stub _G_config.h.
18971 * libio/stdio.h: Include bits/libio.h, not libio.h.
18972 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
18973 well as libio.h and _G_config.h.
18974
18975 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
18976 * libio/strfile.h, stdio-common/vfscanf.c
18977 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
18978 Include stdio.h, not _G_config.h nor libio.h.
18979 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
18980 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
18981
18982 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
18983
18984 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
18985
18986 [BZ #22347]
18987 * stdlib/getrandom.c (getrandom): Fix comment.
18988 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
18989
18990 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
18991
18992 [BZ #21161]
18993 * manual/arith.texi (strtoul): Fix a typo.
18994
18995 [BZ #22596]
18996 * manual/arith.texi (finite): Fix the description of the return
18997 value.
18998
18999 2017-12-22 Eric Blake <ebb9@byu.net>
19000
19001 Avoid gcc warnings on cygwin
19002 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19003 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19004 Avoid unused variable.
19005
19006 2017-12-22 Florian Weimer <fweimer@redhat.com>
19007
19008 * io/Makefile (routines): Add copy_file_range.
19009 (tests): Add tst-copy_file_range.
19010 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19011 * io/Versions (GLIBC_2.27): Export copy_file_range.
19012 * io/copy_file_range-compat.c: New file.
19013 * io/copy_file_range.c: Likewise.
19014 * io/tst-copy_file_range-compat.c: Likewise.
19015 * io/tst-copy_file_range.c: Likewise.
19016 * manual/llio.texi (Copying File Data): New section.
19017 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19018 * support/Makefile (libsupport-routines): Add support-xfstat,
19019 xftruncate, xlseek.
19020 * support/support-xfstat.c: New file.
19021 * support/xftruncate.c: Likewise.
19022 * support/xlseek.c: Likewise.
19023 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19024 * sysdeps/unix/sysv/linux/**.abilist: Update.
19025 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19026
19027 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19028
19029 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19030 disable-multi-arch variant to aarch64-linux-gnu.
19031
19032 2017-12-20 Joseph Myers <joseph@codesourcery.com>
19033
19034 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19035 trailing whitespace removed.
19036 * scripts/config.guess: Update to version 2017-12-17.
19037 * scripts/config.sub: Update to version 2017-11-23.
19038 * scripts/install-sh: Update to version 2017-09-23.17.
19039 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19040
19041 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19042
19043 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19044 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19045 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19046 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19047 * sysdeps/tile/crtn.S: Likewise.
19048 * sysdeps/tile/dl-start.S (_start): Likewise.
19049 * sysdeps/tile/dl-trampoline.S: Likewise.
19050 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19051 * sysdeps/tile/start.S (_start): Likewise.
19052 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19053 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19054 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19055 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19056 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19057 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19058 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19059
19060 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19061 comment.
19062 * sysdeps/tile/preconfigure: Remove tilegx folder.
19063 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19064 * sysdeps/tile/Implies: ... here.
19065 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19066 * sysdeps/tile/Makefile: ... here.
19067 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19068 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19069 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19070 * sysdeps/tile/bits/wordsize.h: ... here.
19071 * sysdeps/tile/tilegx/*: Move to ...
19072 * sysdeps/tile/*: ... here.
19073 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19074 * sysdeps/tile/tilegx32/Implies: ... here.
19075 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19076 * sysdeps/tile/tilegx64/Implies: ... here.
19077 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19078 to ...
19079 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19080 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19081 * sysdeps/unix/sysv/linux/tile/*: ... here.
19082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19083 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19085 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19086
19087 * README: Remove tilepro-*-linux-gnu from supported architecture.
19088 * scripts/build-many-glibcs.py: Likewise.
19089 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19090 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
19091 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
19092 elf_machine_matches_host, elf_machine_dynamic,
19093 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
19094 howto, elf_machine_rela): Likewise.
19095 * sysdeps/tile/dl-start.S (_start): Likewise.
19096 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
19097 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
19098 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
19099 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
19100 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
19101 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19102 Likewise.
19103 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
19104 * sysdeps/tile/preconfigure: Likewise.
19105 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
19106 POINTER_CHK_GUARD): Likewise.
19107 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
19108 * sysdeps/tile/start.S (_start): Likewise.
19109 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
19110 Likewise.
19111 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
19112 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
19113 CMOVNEZ): Remove.
19114 * sysdeps/unix/sysv/linux/tile/bits/environments.h
19115 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
19116 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
19117 Likewise.
19118 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
19119 * sysdeps/tile/tilepro/Implies: Remove file.
19120 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
19121 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
19122 * sysdeps/tile/tilepro/memchr.c: Likewise.
19123 * sysdeps/tile/tilepro/memcpy.S: Likewise.
19124 * sysdeps/tile/tilepro/memset.c: Likewise.
19125 * sysdeps/tile/tilepro/memusage.h: Likewise.
19126 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
19127 * sysdeps/tile/tilepro/strchr.c: Likewise.
19128 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
19129 * sysdeps/tile/tilepro/strlen.c: Likewise.
19130 * sysdeps/tile/tilepro/strrchr.c: Likewise.
19131 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
19132 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
19133 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19134 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
19135 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
19136 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19137 Likewise.
19138 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
19139 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19140 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
19141 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
19142 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19143 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
19144 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
19145 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
19146 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
19147 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
19148 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
19149 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
19150 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
19151 tilepro mention in comment.
19152
19153 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
19154 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
19155 * nptl/pthread_join_common.c: New file: common function used on
19156 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
19157 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
19158 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
19159 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19160 (cleanup): Move definition to pthread_join_common.c.
19161 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
19162 Remove superflous checks.
19163 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
19164 Likewise.
19165
19166 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
19167
19168 * sysdeps/aarch64/libm-test-ulps: Update.
19169
19170 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19171
19172 * sysdeps/aarch64/memset.S (MEMSET): Define.
19173
19174 2017-12-20 Florian Weimer <fweimer@redhat.com>
19175
19176 [BZ #22635]
19177 nptl: Provide full implementation of pthread_self in libc.so.
19178 * nptl/Makefile (routines): Add pthread_self.
19179 (libpthread-routines): Replace pthread_self with
19180 compat-pthread_self.
19181 * nptl/forward.c (pthread_self): Remove.
19182 * nptl/nptl-init.c (pthread_functions): Do not initialize
19183 ptr_pthread_self.
19184 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19185 * nptl/compat-pthread_self.c: New file.
19186 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19187 Remove ptr_pthread_self.
19188
19189 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19190
19191 * posix/regcomp.c: Fix spelling in comments.
19192 * posix/regex.h: Likewise.
19193 * posix/regex_internal.c: Likewise.
19194 * posix/regexec.c: Likewise.
19195
19196 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19197
19198 [BZ #22377]
19199 * math/Makefile [C++] (tests): Add test for iseqsig.
19200 * math/math.h [C++] (iseqsig): New implementation, which does
19201 not rely on __MATH_TG/__builtin_types_compatible_p.
19202 * math/test-math-iseqsig.cc: New file.
19203 * sysdeps/powerpc/powerpc64le/Makefile
19204 (CFLAGS-test-math-iseqsig.cc): New variable.
19205
19206 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19207
19208 * elf/dl-load.c (is_trusted_path): Remove.
19209 (fillin_rpath): Remove check_trusted argument and its use,
19210 all callers changed.
19211
19212 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19213
19214 [BZ #22630]
19215 * Makeconfig (link-pie-before-libc): Replace -pie with
19216 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19217 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19218 (tst-dlopen-aout-no-pie): New.
19219 (LDFLAGS-tst-prelink): Removed.
19220 (tst-prelink-no-pie): New.
19221 (LDFLAGS-tst-main1): Removed.
19222 (tst-main1-no-pie): New.
19223 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19224 (tst-gmon-no-pie): New.
19225
19226 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19227
19228 * manual/install.texi: Document that --enable-static-pie
19229 implies PIE.
19230 * INSTALL: Regenerated.
19231
19232 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19233
19234 [BZ #21309]
19235 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19236 unsigned.
19237
19238 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19239
19240 Revert:
19241
19242 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19243
19244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19245
19246 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19247
19248 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19249 <errno.h>. Include "eexp.tbl".
19250 (half): New constant.
19251 (one): Likewise.
19252 (__ieee754_exp): Rewrite.
19253 (__slowexp): Remove prototype.
19254 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19255 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19256 * sysdeps/i386/fpu/slowexp.c: Likewise.
19257 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19258 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19259 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19260 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19261 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19262 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19263 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19264 comment.
19265 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19266 (CPPFLAGS-slowexp.c): Remove variable.
19267 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19268 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19269 (CFLAGS-slowexp-fma.c): Remove variable.
19270 (CFLAGS-slowexp-fma4.c): Likewise.
19271 (CFLAGS-slowexp-avx.c): Likewise.
19272 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19273 define as macro.
19274 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19275 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19276 * math/Makefile (type-double-routines): Remove slowexp.
19277 * manual/probes.texi (slowexp_p6): Remove.
19278 (slowexp_p32): Likewise.
19279
19280 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19281
19282 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19283 arithmetic.
19284
19285 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19286
19287 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19288
19289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19290
19291 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19292
19293 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19294 <errno.h>. Include "eexp.tbl".
19295 (half): New constant.
19296 (one): Likewise.
19297 (__ieee754_exp): Rewrite.
19298 (__slowexp): Remove prototype.
19299 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19300 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19301 * sysdeps/i386/fpu/slowexp.c: Likewise.
19302 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19303 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19304 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19305 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19306 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19307 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19308 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19309 comment.
19310 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19311 (CPPFLAGS-slowexp.c): Remove variable.
19312 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19313 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19314 (CFLAGS-slowexp-fma.c): Remove variable.
19315 (CFLAGS-slowexp-fma4.c): Likewise.
19316 (CFLAGS-slowexp-avx.c): Likewise.
19317 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19318 define as macro.
19319 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19320 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19321 * math/Makefile (type-double-routines): Remove slowexp.
19322 * manual/probes.texi (slowexp_p6): Remove.
19323 (slowexp_p32): Likewise.
19324
19325 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19326 James Clarke <jrtc27@jrtc27.com>
19327
19328 [BZ #22603]
19329 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
19330 addition.
19331
19332 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19333
19334 [BZ #22605]
19335 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
19336 code.
19337
19338 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19339
19340 [BZ #22563]
19341 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19342 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19343 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19344 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19345 to feature_1.
19346
19347 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19348
19349 [BZ #22563]
19350 * bits/types/__cancel_jmp_buf_tag.h: New file.
19351 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19352 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19353 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19354 * nptl/Makefile (headers): Add
19355 bits/types/__cancel_jmp_buf_tag.h.
19356 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19357 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19358 * sysdeps/nptl/pthread.h: Include
19359 <bits/types/__cancel_jmp_buf_tag.h>.
19360 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19361 __cancel_jmp_buf.
19362 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19363
19364 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19365
19366 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19367 --enable-static-pie variants to x86_64, x32 and i686.
19368
19369 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19370
19371 [BZ #22631]
19372 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
19373 argument for attrubutes. All callers changed.
19374 (__inline_mathop1): Likewise. All callers changed.
19375 (__inline_mathop): Likewise. All callers changed.
19376 [__USE_MISC] (scalbn): Use __inline_forward instead of
19377 __inline_forward_c.
19378 [__USE_ISOC99] (scalbln): Likewise.
19379 [__USE_ISOC99] (nearbyint): Likewise.
19380 [__USE_ISOC99] (lrint): Likewise.
19381 [__USE_MISC] (scalbnf): Likewise.
19382 [__USE_ISOC99] (scalblnf): Likewise.
19383 [__USE_ISOC99] (nearbyintf): Likewise.
19384 [__USE_ISOC99] (lrintf): Likewise.
19385 [__USE_MISC] (scalbnl): Likewise.
19386 [__USE_ISOC99] (scalblnl): Likewise.
19387 [__USE_ISOC99] (nearbyintl): Likewise.
19388 [__USE_ISOC99] (lrintl): Likewise.
19389 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
19390 __inline_mathop and __m81_defun changed.
19391
19392 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
19393 CPU or FPU for ARM hard-float configurations.
19394
19395 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19396
19397 * nptl/tst-attr3.c: Include <libc-diag.h>.
19398 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
19399
19400 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
19401
19402 * string/tester.c (test_strncat): Also disable -Warray-bounds
19403 warnings for two tests.
19404
19405 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19406
19407 [BZ #22614]
19408 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
19409 $(cc-pie-default) == yes.
19410 * config.make.in (cc-pie-default): New.
19411 * configure.ac (libc_cv_pie_default): Renamed to ...
19412 (libc_cv_cc_pie_default): This.
19413 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
19414 * configure: Regenerated.
19415
19416 2017-12-18 Florian Weimer <fweimer@redhat.com>
19417
19418 [BZ #20204]
19419 ld.so: Harden dl-libc/libdl hooks.
19420 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
19421 (rtld_active): New function.
19422 * dlfcn/dladdr.c (__dladdr): Call it.
19423 * dlfcn/dladdr1.c (__dladdr1): Likewise.
19424 * dlfcn/dlclose.c (__dlcose): Likewise.
19425 * dlfcn/dlerror.c (__dlerror): Likewise.
19426 * dlfcn/dlinfo.c (__dlinfo): Likewise.
19427 * dlfcn/dlmopen.c (__dlmopen): Likewise.
19428 * dlfcn/dlopen.c (__dlopen): Likewise.
19429 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19430 * dlfcn/dlsym.c (__dlsym): Likewise.
19431 * dlfcn/dlvsym.c (__dlvsym): Likewise.
19432 * libio/vtables.c (_IO_vtable_check): Likewise.
19433 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
19434 (__libc_dlclose): Likewise.
19435 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
19436 assignment.
19437
19438 2017-12-18 Joseph Myers <joseph@codesourcery.com>
19439
19440 [BZ #22446]
19441 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
19442 buffers for readlink input and output.
19443
19444 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
19445
19446 [BZ #22624]
19447 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
19448 inhibit_stack_protector.
19449
19450 [BZ #22624]
19451 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
19452 inhibit_stack_protector.
19453
19454 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
19455
19456 [BZ #22627]
19457 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
19458 code and invocation.
19459
19460 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19461
19462 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
19463
19464 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
19465
19466 [BZ #22505]
19467 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
19468
19469 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19470
19471 * sysdeps/s390/fpu/libm-test-ulps: Update.
19472
19473 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19474
19475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19476
19477 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19478
19479 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
19480 constants to s_sincosf.h file.
19481 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19482 * sysdeps/ieee754/flt-32/s_sincosf.c: New
19483 implementation.
19484 * sysdeps/ieee754/flt-32/s_sincosf.h:
19485 New file.
19486
19487 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19488
19489 [BZ #14681]
19490 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
19491 before mtrace.
19492
19493 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
19494
19495 [BZ #19574]
19496 * INSTALL: Regenerated.
19497 * Makeconfig (real-static-start-installed-name): New.
19498 (pic-default): Updated for --enable-static-pie.
19499 (pie-default): New for --enable-static-pie.
19500 (default-pie-ldflag): Likewise.
19501 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
19502 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
19503 Replace $(static-start-installed-name) with
19504 $(real-static-start-installed-name).
19505 (+prectorT): Updated for --enable-static-pie.
19506 (+postctorT): Likewise.
19507 (CFLAGS-.o): Add $(pie-default).
19508 (CFLAGS-.op): Likewise.
19509 * NEWS: Mention --enable-static-pie.
19510 * config.h.in (ENABLE_STATIC_PIE): New.
19511 * configure.ac (--enable-static-pie): New configure option.
19512 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
19513 (have-static-pie): Likewise.
19514 Enable static PIE if linker supports --no-dynamic-linker.
19515 (ENABLE_STATIC_PIE): New AC_DEFINE.
19516 (enable-static-pie): New LIBC_CONFIG_VAR.
19517 * configure: Regenerated.
19518 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
19519 gr$(start-installed-name) for --enable-static-pie.
19520 (extra-objs): Likewise.
19521 (install-lib): Likewise.
19522 (extra-objs): Add static-reloc.o and static-reloc.os
19523 ($(objpfx)$(start-installed-name)): Also depend on
19524 $(objpfx)static-reloc.o.
19525 ($(objpfx)r$(start-installed-name)): New.
19526 ($(objpfx)g$(start-installed-name)): Also depend on
19527 $(objpfx)static-reloc.os.
19528 ($(objpfx)gr$(start-installed-name)): New.
19529 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
19530 in libc.a.
19531 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
19532 initimage.
19533 * csu/static-reloc.c: New file.
19534 * elf/Makefile (routines): Add dl-reloc-static-pie.
19535 (elide-routines.os): Likewise.
19536 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
19537 (tst-tls1-static-non-pie-no-pie): New.
19538 * elf/dl-reloc-static-pie.c: New file.
19539 * elf/dl-support.c (_dl_get_dl_main_map): New function.
19540 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
19541 STATIC_PIE_BOOTSTRAP.
19542 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19543 * gmon/Makefile (tests): Add tst-gmon-static-pie.
19544 (tests-static): Likewise.
19545 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
19546 (tst-gmon-static-no-pie): New.
19547 (CFLAGS-tst-gmon-static-pie.c): Likewise.
19548 (CRT-tst-gmon-static-pie): Likewise.
19549 (tst-gmon-static-pie-ENV): Likewise.
19550 (tests-special): Likewise.
19551 ($(objpfx)tst-gmon-static-pie.out): Likewise.
19552 (clean-tst-gmon-static-pie-data): Likewise.
19553 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
19554 * gmon/tst-gmon-static-pie.c: New file.
19555 * manual/install.texi: Document --enable-static-pie.
19556 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
19557 (_dl_get_dl_main_map): Likewise.
19558 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
19559 * sysdeps/x86_64/configure.ac: Likewise.
19560 * sysdeps/i386/configure: Regenerated.
19561 * sysdeps/x86_64/configure: Likewise.
19562 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
19563 (ASFLAGS-.op): Likewise.
19564
19565 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19566
19567 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
19568 * posix/tst-mmap-offset.c (fname): Use /tmp.
19569 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
19570
19571 2017-12-15 Steve Ellcey <sellcey@cavium.com>
19572
19573 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
19574
19575 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
19576
19577 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
19578 errno.
19579
19580 2017-12-15 Joseph Myers <joseph@codesourcery.com>
19581
19582 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
19583 --with-float=hard for arm-linux-gnueabihf configurations.
19584
19585 [BZ #14121]
19586 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
19587 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
19588 ($(mo-installed)): Use $(objpfx)%.mo.
19589 (realclean): Remove rule.
19590
19591 * po/Makefile (linguas): Remove rule and dependencies.
19592 (linguas.mo): Likewise.
19593 (.PHONY): Do not depend on linguas and linguas.mo.
19594 (podir): Remove variable.
19595 (pofiles): Likewise.
19596 [$(pofiles)] (%.po): Remove rule.
19597
19598 * sysdeps/sparc/sparc32/Makefile
19599 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
19600 start-of-line whitespace in argument of echo.
19601 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
19602 with whitespace. Generate __wrap_.udiv alias.
19603 * sysdeps/sparc/sparc32/rem.S: Regenerated.
19604 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19605 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19606 * sysdeps/sparc/sparc32/urem.S: Likewise.
19607
19608 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19609
19610 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
19611 for aligned inputs.
19612
19613 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19614
19615 * benchtests/bench-strcmp.c: Print output in JSON format.
19616
19617 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
19618
19619 2017-12-14 Florian Weimer <fweimer@redhat.com>
19620
19621 [BZ #22607]
19622 CVE-2017-1000409
19623 * elf/dl-load.c (_dl_init_paths): Compute number of components in
19624 the expanded path string.
19625
19626 2017-12-14 Florian Weimer <fweimer@redhat.com>
19627
19628 [BZ #22606]
19629 CVE-2017-1000408
19630 * elf/dl-load.c (system_dirs): Update comment.
19631 (nsystem_dirs_len): Use array_length.
19632 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
19633
19634 2017-12-14 Florian Weimer <fweimer@redhat.com>
19635
19636 Simplify compiling most of support/ outside of glibc.
19637 * support/check_addrinfo.c: Include <string.h>.
19638 * support/check_dns_packet.c: Likewise.
19639 * support/check_hostent.c: Likewise.
19640 * support/support_can_chroot.c: Include <support/xunistd.h>.
19641 * support/support_format_addrinfo.c: Include <stdlib.h>
19642 * support/support_format_dns_packet.c: Include <stdbool.h>.
19643 * support/support_format_hostent.c: Include <stdlib.h>.
19644 * support/support_format_netent.c: Likewise.
19645 * support/support_write_string.c: Include <support/xunistd.h>.
19646 * support/xdlfcn.c: Include <stddef.h>.
19647
19648 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
19649
19650 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
19651
19652 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19653 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19654
19655 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19656 (sysdeps_routines): Add memset-niagara7.
19657 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
19658 Likewise.
19659 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
19660 file.
19661 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
19662 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19663 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
19664 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
19665 Add niagara7 option.
19666 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
19667 memset.
19668
19669 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19670 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
19671 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
19672 Likewise.
19673 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
19674 New file.
19675 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
19676 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
19677 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
19678 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
19679 and __memmove_niagara7.
19680 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
19681 Add niagara7 option.
19682 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
19683 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
19684 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
19685 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
19686 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
19687
19688 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
19689
19690 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
19691 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
19692 * sysdeps/sparc/sparc64/memmove.S: Likewise.
19693 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
19694
19695 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
19696 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
19697 _dl_sparc_cap_flags array.
19698 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
19699
19700 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19701
19702 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
19703 time whenever possible.
19704
19705 2017-12-12 Carlos O'Donell <carlos@redhat.com>
19706
19707 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
19708 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
19709
19710 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19711
19712 * soft-fp/fmadf4.c: Move to ....
19713 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
19714 * soft-fp/fmasf4.c: Move to ....
19715 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
19716 * soft-fp/fmatf4.c: Move to ....
19717 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
19718 * sysdeps/ieee754/soft-fp/Makefile: New file.
19719 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
19720 * sysdeps/arm/preconfigure: Regenerated.
19721 * sysdeps/arm/nofpu/Implies: New file.
19722 * sysdeps/arm/s_fma.c: Remove file.
19723 * sysdeps/arm/s_fmaf.c: Likewise.
19724 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
19725 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
19726 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19727 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
19728 * sysdeps/microblaze/s_fma.c: Remove file.
19729 * sysdeps/microblaze/s_fmaf.c: Likewise.
19730 * sysdeps/mips/mips32/nofpu/Implies: New file.
19731 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
19732 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
19733 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
19734 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
19735 * sysdeps/mips/ieee754/s_fma.c: Remove file.
19736 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
19737 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
19738 implementation.
19739 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
19740 * sysdeps/nios2/s_fma.c: Remove file.
19741 * sysdeps/nios2/s_fmaf.c: Likewise.
19742 * sysdeps/sh/nofpu/Implies: New file.
19743 * sysdeps/sh/s_fma.c: Remove file.
19744 * sysdeps/sh/s_fmaf.c: Likewise.
19745 * sysdeps/tile/Implies: Add ieee754/soft-fp.
19746 * sysdeps/tile/s_fma.c: Remove file.
19747 * sysdeps/tile/s_fmaf.c: Likewise.
19748
19749 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
19750
19751 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19752 Add s_cosf-sse2 and s_cosf-fma.
19753 (CFLAGS-s_cosf-fma.c): New.
19754 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
19755 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
19756 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
19757
19758 2017-12-12 Steve Ellcey <sellcey@cavium.com>
19759
19760 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
19761
19762 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19763
19764 * libio/Makefile (tests): Add tst-bz22415.
19765 (tst-bz22415-ENV): New rule.
19766 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
19767 (tests-special): Add tst-bz22415-mem.out.
19768 ($(objpfx)tst-bz22415-mem.out): New rule.
19769 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
19770 in case of a successful seek operation.
19771 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19772 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
19773 buffer is required.
19774 * libio/tst-bz22415.c: New test.
19775
19776 * sysdeps/ia64/fpu/libm-test-ulps: Update.
19777
19778 2017-12-12 James Clarke <jrtc27@jrtc27.com>
19779
19780 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
19781 __IPC_64 to 0 to avoid IPC_64 being set.
19782
19783 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19784
19785 [BZ #22593]
19786 * math/bits/mathcalls.h (nextafter): Remove const.
19787 (nexttoward): Likewise.
19788
19789 2017-12-12 Joseph Myers <joseph@codesourcery.com>
19790
19791 * configure.ac (--with-fp): Remove configure option.
19792 (with_fp_cond): New variable.
19793 (libc_cv_with_fp): New configure test. Use this variable instead
19794 of with_fp.
19795 * configure: Regenerated.
19796 * config.make.in (with-fp): Use @libc_cv_with_fp@.
19797 * manual/install.texi (Configuring and compiling): Remove
19798 --without-fp.
19799 * INSTALL: Regenerated.
19800 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
19801 * sysdeps/mips/preconfigure (with_fp_cond): Define.
19802 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
19803 * sysdeps/sh/preconfigure (with_fp_cond): Define.
19804 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
19805 use --without-fp to configure glibc.
19806
19807 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
19808
19809 * manual/locale.texi (nl_langinfo): Fix a typo.
19810
19811 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
19812
19813 [BZ #22588]
19814 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
19815
19816 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
19817
19818 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
19819 (CFLAGS-argp-parse.c): Likewise.
19820 (CFLAGS-argp-fmtstream.c): Likewise.
19821 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
19822 (CPPFLAGS-sha512-crypt.c): Likewise.
19823 (CPPFLAGS-md5-crypt.c): Likewise.
19824 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
19825 (CFLAGS-stack_chk_fail_local.c): Likewise.
19826 (CFLAGS-backtrace.c): Likewise.
19827 (CFLAGS-sprintf_chk.c): Likewise.
19828 (CFLAGS-snprintf_chk.c): Likewise.
19829 (CFLAGS-vsprintf_chk.c): Likewise.
19830 (CFLAGS-vsnprintf_chk.c): Likewise.
19831 (CFLAGS-asprintf_chk.c): Likewise.
19832 (CFLAGS-vasprintf_chk.c): Likewise.
19833 (CFLAGS-obprintf_chk.c): Likewise.
19834 (CFLAGS-dprintf_chk.c): Likewise.
19835 (CFLAGS-vdprintf_chk.c): Likewise.
19836 (CFLAGS-printf_chk.c): Likewise.
19837 (CFLAGS-fprintf_chk.c): Likewise.
19838 (CFLAGS-vprintf_chk.c): Likewise.
19839 (CFLAGS-vfprintf_chk.c): Likewise.
19840 (CFLAGS-gets_chk.c): Likewise.
19841 (CFLAGS-fgets_chk.c): Likewise.
19842 (CFLAGS-fgets_u_chk.c): Likewise.
19843 (CFLAGS-fread_chk.c): Likewise.
19844 (CFLAGS-fread_u_chk.c): Likewise.
19845 (CFLAGS-swprintf_chk.c): Likewise.
19846 (CFLAGS-vswprintf_chk.c): Likewise.
19847 (CFLAGS-wprintf_chk.c): Likewise.
19848 (CFLAGS-fwprintf_chk.c): Likewise.
19849 (CFLAGS-vwprintf_chk.c): Likewise.
19850 (CFLAGS-vfwprintf_chk.c): Likewise.
19851 (CFLAGS-fgetws_chk.c): Likewise.
19852 (CFLAGS-fgetws_u_chk.c): Likewise.
19853 (CFLAGS-read_chk.c): Likewise.
19854 (CFLAGS-pread_chk.c): Likewise.
19855 (CFLAGS-pread64_chk.c): Likewise.
19856 (CFLAGS-recv_chk.c): Likewise.
19857 (CFLAGS-recvfrom_chk.c): Likewise.
19858 (CFLAGS-tst-longjmp_chk.c): Likewise.
19859 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
19860 (CFLAGS-tst-longjmp_chk2.c): Likewise.
19861 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
19862 (CFLAGS-tst-longjmp_chk3.c): Likewise.
19863 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19864 (CFLAGS-tst-chk1.c): Likewise.
19865 (CFLAGS-tst-chk2.c): Likewise.
19866 (CFLAGS-tst-chk3.c): Likewise.
19867 (CFLAGS-tst-chk4.cc): Likewise.
19868 (CFLAGS-tst-chk5.cc): Likewise.
19869 (CFLAGS-tst-chk6.cc): Likewise.
19870 (CFLAGS-tst-lfschk1.c): Likewise.
19871 (CFLAGS-tst-lfschk2.c): Likewise.
19872 (CFLAGS-tst-lfschk3.c): Likewise.
19873 (CFLAGS-tst-lfschk4.cc): Likewise.
19874 (CFLAGS-tst-lfschk5.cc): Likewise.
19875 (CFLAGS-tst-lfschk6.cc): Likewise.
19876 (CFLAGS-tst-ssp-1.c): Likewise.
19877 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
19878 (CFLAGS-scandir64.c): Likewise.
19879 (CFLAGS-scandir-tail.c): Likewise.
19880 (CFLAGS-scandir64-tail.c): Likewise.
19881 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
19882 (CFLAGS-dl-tunables.c): Likewise.
19883 (CFLAGS-dl-runtime.c): Likewise.
19884 (CFLAGS-dl-lookup.c): Likewise.
19885 (CFLAGS-dl-iterate-phdr.c): Likewise.
19886 (CFLAGS-vismain.c): Likewise.
19887 (CFLAGS-tst-linkall-static.c): Likewise.
19888 (CFLAGS-tst-linkall-static.c): Likewise.
19889 (CPPFLAGS-dl-load.c): Likewise.
19890 (CFLAGS-ldconfig.c): Likewise.
19891 (CFLAGS-dl-cache.c): Likewise.
19892 (CFLAGS-cache.c): Likewise.
19893 (CFLAGS-rtld.c): Likewise.
19894 (CFLAGS-multiload.c): Likewise.
19895 (CFLAGS-filtmod1.c): Likewise.
19896 (CFLAGS-tst-align.c): Likewise.
19897 (CFLAGS-tst-align2.c): Likewise.
19898 (CFLAGS-tst-alignmod.c): Likewise.
19899 (CFLAGS-tst-alignmod2.c): Likewise.
19900 (CPPFLAGS-tst-execstack.c): Likewise.
19901 (CFLAGS-tst-ptrguard1-static.c): Likewise.
19902 (CFLAGS-tst-latepthreadmod.c): Likewise.
19903 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
19904 (CFLAGS-getgrnam_r.c): Likewise.
19905 (CFLAGS-getgrent_r.c): Likewise.
19906 (CFLAGS-getgrent.c): Likewise.
19907 (CFLAGS-fgetgrent.c): Likewise.
19908 (CFLAGS-fgetgrent_r.c): Likewise.
19909 (CFLAGS-putgrent.c): Likewise.
19910 (CFLAGS-initgroups.c): Likewise.
19911 (CFLAGS-getgrgid.c): Likewise.
19912 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
19913 (CFLAGS-getsgent.c): Likewise.
19914 (CFLAGS-fgetsgent.c): Likewise.
19915 (CFLAGS-fgetsgent_r.c): Likewise.
19916 (CFLAGS-putsgent.c): Likewise.
19917 (CFLAGS-getsgnam.c): Likewise.
19918 (CFLAGS-getsgnam_r.c): Likewise.
19919 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
19920 (CFLAGS-iconv_charmap.c): Likewise.
19921 (CFLAGS-dummy-repertoire.c): Likewise.
19922 (CFLAGS-charmap.c): Likewise.
19923 (CFLAGS-linereader.c): Likewise.
19924 (CFLAGS-simple-hash.c): Likewise.
19925 (CFLAGS-gconv_conf.c): Likewise.
19926 (CFLAGS-iconvconfig.c): Likewise.
19927 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19928 (CFLAGS-gethstbyad.c): Likewise.
19929 (CFLAGS-gethstbynm_r.c): Likewise.
19930 (CFLAGS-gethstbynm.c): Likewise.
19931 (CFLAGS-gethstbynm2_r.c): Likewise.
19932 (CFLAGS-gethstbynm2.c): Likewise.
19933 (CFLAGS-gethstent_r.c): Likewise.
19934 (CFLAGS-gethstent.c): Likewise.
19935 (CFLAGS-rcmd.c): Likewise.
19936 (CFLAGS-getnetbynm_r.c): Likewise.
19937 (CFLAGS-getnetbynm.c): Likewise.
19938 (CFLAGS-getnetbyad_r.c): Likewise.
19939 (CFLAGS-getnetbyad.c): Likewise.
19940 (CFLAGS-getnetent_r.c): Likewise.
19941 (CFLAGS-getnetent.c): Likewise.
19942 (CFLAGS-getaliasent_r.c): Likewise.
19943 (CFLAGS-getaliasent.c): Likewise.
19944 (CFLAGS-getrpcent_r.c): Likewise.
19945 (CFLAGS-getrpcent.c): Likewise.
19946 (CFLAGS-getservent_r.c): Likewise.
19947 (CFLAGS-getservent.c): Likewise.
19948 (CFLAGS-getprtent_r.c): Likewise.
19949 (CFLAGS-getprtent.c): Likewise.
19950 (CFLAGS-either_ntoh.c): Likewise.
19951 (CFLAGS-either_hton.c): Likewise.
19952 (CFLAGS-getnetgrent.c): Likewise.
19953 (CFLAGS-getnetgrent_r.c): Likewise.
19954 (CFLAGS-tst-checks-posix.c): Likewise.
19955 (CFLAGS-tst-sockaddr.c): Likewise.
19956 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
19957 (CFLAGS-tst-translit.c): Likewise.
19958 (CFLAGS-tst-gettext2.c): Likewise.
19959 (CFLAGS-tst-codeset.c): Likewise.
19960 (CFLAGS-tst-gettext3.c): Likewise.
19961 (CFLAGS-tst-gettext4.c): Likewise.
19962 (CFLAGS-tst-gettext5.c): Likewise.
19963 (CFLAGS-tst-gettext6.c): Likewise.
19964 * io/Makefile (CFLAGS-open.c): Likewise.
19965 (CFLAGS-open64.c): Likewise.
19966 (CFLAGS-creat.c): Likewise.
19967 (CFLAGS-creat64.c): Likewise.
19968 (CFLAGS-fcntl.c): Likewise.
19969 (CFLAGS-poll.c): Likewise.
19970 (CFLAGS-ppoll.c): Likewise.
19971 (CFLAGS-lockf.c): Likewise.
19972 (CFLAGS-statfs.c): Likewise.
19973 (CFLAGS-fstatfs.c): Likewise.
19974 (CFLAGS-statvfs.c): Likewise.
19975 (CFLAGS-fstatvfs.c): Likewise.
19976 (CFLAGS-fts.c): Likewise.
19977 (CFLAGS-fts64.c): Likewise.
19978 (CFLAGS-ftw.c): Likewise.
19979 (CFLAGS-ftw64.c): Likewise.
19980 (CFLAGS-lockf.c): Likewise.
19981 (CFLAGS-posix_fallocate.c): Likewise.
19982 (CFLAGS-posix_fallocate64.c): Likewise.
19983 (CFLAGS-fallocate.c): Likewise.
19984 (CFLAGS-fallocate64.c): Likewise.
19985 (CFLAGS-read.c): Likewise.
19986 (CFLAGS-write.c): Likewise.
19987 (CFLAGS-test-stat.c): Likewise.
19988 (CFLAGS-test-lfs.c): Likewise.
19989 * libio/Makefile (CFLAGS-fileops.c): Likewise.
19990 (CFLAGS-fputc.c): Likewise.
19991 (CFLAGS-fputwc.c): Likewise.
19992 (CFLAGS-freopen64.c): Likewise.
19993 (CFLAGS-freopen.c): Likewise.
19994 (CFLAGS-fseek.c): Likewise.
19995 (CFLAGS-fseeko64.c): Likewise.
19996 (CFLAGS-fseeko.c): Likewise.
19997 (CFLAGS-ftello64.c): Likewise.
19998 (CFLAGS-ftello.c): Likewise.
19999 (CFLAGS-fwide.c): Likewise.
20000 (CFLAGS-genops.c): Likewise.
20001 (CFLAGS-getc.c): Likewise.
20002 (CFLAGS-getchar.c): Likewise.
20003 (CFLAGS-getwc.c): Likewise.
20004 (CFLAGS-getwchar.c): Likewise.
20005 (CFLAGS-iofclose.c): Likewise.
20006 (CFLAGS-iofflush.c): Likewise.
20007 (CFLAGS-iofgetpos64.c): Likewise.
20008 (CFLAGS-iofgetpos.c): Likewise.
20009 (CFLAGS-iofgets.c): Likewise.
20010 (CFLAGS-iofgetws.c): Likewise.
20011 (CFLAGS-iofputs.c): Likewise.
20012 (CFLAGS-iofputws.c): Likewise.
20013 (CFLAGS-iofread.c): Likewise.
20014 (CFLAGS-iofsetpos64.c): Likewise.
20015 (CFLAGS-iofsetpos.c): Likewise.
20016 (CFLAGS-ioftell.c): Likewise.
20017 (CFLAGS-iofwrite.c): Likewise.
20018 (CFLAGS-iogetdelim.c): Likewise.
20019 (CFLAGS-iogetline.c): Likewise.
20020 (CFLAGS-iogets.c): Likewise.
20021 (CFLAGS-iogetwline.c): Likewise.
20022 (CFLAGS-ioputs.c): Likewise.
20023 (CFLAGS-ioseekoff.c): Likewise.
20024 (CFLAGS-ioseekpos.c): Likewise.
20025 (CFLAGS-iosetbuffer.c): Likewise.
20026 (CFLAGS-iosetvbuf.c): Likewise.
20027 (CFLAGS-ioungetc.c): Likewise.
20028 (CFLAGS-ioungetwc.c): Likewise.
20029 (CFLAGS-oldfileops.c): Likewise.
20030 (CFLAGS-oldiofclose.c): Likewise.
20031 (CFLAGS-oldiofgetpos64.c): Likewise.
20032 (CFLAGS-oldiofgetpos.c): Likewise.
20033 (CFLAGS-oldiofsetpos64.c): Likewise.
20034 (CFLAGS-oldiofsetpos.c): Likewise.
20035 (CFLAGS-peekc.c): Likewise.
20036 (CFLAGS-putc.c): Likewise.
20037 (CFLAGS-putchar.c): Likewise.
20038 (CFLAGS-putwc.c): Likewise.
20039 (CFLAGS-putwchar.c): Likewise.
20040 (CFLAGS-rewind.c): Likewise.
20041 (CFLAGS-wfileops.c): Likewise.
20042 (CFLAGS-wgenops.c): Likewise.
20043 (CFLAGS-oldiofopen.c): Likewise.
20044 (CFLAGS-iofopen.c): Likewise.
20045 (CFLAGS-iofopen64.c): Likewise.
20046 (CFLAGS-oldtmpfile.c): Likewise.
20047 (CFLAGS-tst_putwc.c): Likewise.
20048 * locale/Makefile (CFLAGS-md5.c): Likewise.
20049 (CFLAGS-charmap.c): Likewise.
20050 (CFLAGS-locfile.c): Likewise.
20051 (CFLAGS-charmap-dir.c): Likewise.
20052 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20053 (CFLAGS-getpt.c): Likewise.
20054 (CFLAGS-pt_chown.c): Likewise.
20055 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20056 (CFLAGS-obstack.c): Likewise.
20057 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20058 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20059 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20060 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20061 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20062 (CFLAGS-test-tgmath.c): Likewise.
20063 (CFLAGS-test-tgmath2.c): Likewise.
20064 (CFLAGS-test-tgmath-ret.c): Likewise.
20065 (CFLAGS-test-powl.c): Likewise.
20066 (CFLAGS-test-snan.c): Likewise.
20067 (CFLAGS-test-signgam-finite.c): Likewise.
20068 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20069 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20070 (CFLAGS-test-signgam-uchar.c): Likewise.
20071 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20072 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20073 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20074 (CFLAGS-test-signgam-uint.c): Likewise.
20075 (CFLAGS-test-signgam-uint-init.c): Likewise.
20076 (CFLAGS-test-signgam-uint-static.c): Likewise.
20077 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20078 (CFLAGS-test-signgam-ullong.c): Likewise.
20079 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20080 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20081 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20082 (CFLAGS-test-math-cxx11.cc): Likewise.
20083 (CFLAGS-test-math-isinff.cc): Likewise.
20084 (CFLAGS-test-math-iszero.cc): Likewise.
20085 (CFLAGS-test-math-issignaling.cc): Likewise.
20086 (CFLAGS-test-math-iscanonical.cc): Likewise.
20087 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20088 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20089 (CFLAGS-test-flt-eval-method.c): Likewise.
20090 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
20091 (CFLAGS-test-finite-macros.c): Likewise.
20092 * misc/Makefile (CFLAGS-select.c): Likewise.
20093 (CFLAGS-tsearch.c): Likewise.
20094 (CFLAGS-lsearch.c): Likewise.
20095 (CFLAGS-pselect.c): Likewise.
20096 (CFLAGS-readv.c): Likewise.
20097 (CFLAGS-writev.c): Likewise.
20098 (CFLAGS-preadv.c): Likewise.
20099 (CFLAGS-preadv64.c): Likewise.
20100 (CFLAGS-pwritev.c): Likewise.
20101 (CFLAGS-pwritev64.c): Likewise.
20102 (CFLAGS-preadv2.c): Likewise.
20103 (CFLAGS-preadv64v2.c): Likewise.
20104 (CFLAGS-pwritev2.c): Likewise.
20105 (CFLAGS-pwritev64v2.c): Likewise.
20106 (CFLAGS-usleep.c): Likewise.
20107 (CFLAGS-syslog.c): Likewise.
20108 (CFLAGS-error.c): Likewise.
20109 (CFLAGS-getpass.c): Likewise.
20110 (CFLAGS-mkstemp.c): Likewise.
20111 (CFLAGS-mkstemp64.c): Likewise.
20112 (CFLAGS-getsysstats.c): Likewise.
20113 (CFLAGS-getusershell.c): Likewise.
20114 (CFLAGS-err.c): Likewise.
20115 (CFLAGS-tst-tsearch.c): Likewise.
20116 (CFLAGS-msync.c): Likewise.
20117 (CFLAGS-fdatasync.c): Likewise.
20118 (CFLAGS-fsync.c): Likewise.
20119 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
20120 (CFLAGS-unwind.c): Likewise.
20121 (CFLAGS-unwind-forcedunwind.c): Likewise.
20122 (CFLAGS-pthread_cancel.c): Likewise.
20123 (CFLAGS-pthread_setcancelstate.c): Likewise.
20124 (CFLAGS-pthread_setcanceltype.c): Likewise.
20125 (CFLAGS-cancellation.c): Likewise.
20126 (CFLAGS-libc-cancellation.c): Likewise.
20127 (CFLAGS-pthread_exit.c): Likewise.
20128 (CFLAGS-forward.c): Likewise.
20129 (CFLAGS-pthread_testcancel.c): Likewise.
20130 (CFLAGS-pthread_join.c): Likewise.
20131 (CFLAGS-pthread_timedjoin.c): Likewise.
20132 (CFLAGS-pthread_once.c): Likewise.
20133 (CFLAGS-pthread_cond_wait.c): Likewise.
20134 (CFLAGS-sem_wait.c): Likewise.
20135 (CFLAGS-sem_timedwait.c): Likewise.
20136 (CFLAGS-fcntl.c): Likewise.
20137 (CFLAGS-lockf.c): Likewise.
20138 (CFLAGS-pread.c): Likewise.
20139 (CFLAGS-pread64.c): Likewise.
20140 (CFLAGS-pwrite.c): Likewise.
20141 (CFLAGS-pwrite64.c): Likewise.
20142 (CFLAGS-wait.c): Likewise.
20143 (CFLAGS-waitpid.c): Likewise.
20144 (CFLAGS-sigwait.c): Likewise.
20145 (CFLAGS-msgrcv.c): Likewise.
20146 (CFLAGS-msgsnd.c): Likewise.
20147 (CFLAGS-tcdrain.c): Likewise.
20148 (CFLAGS-open.c): Likewise.
20149 (CFLAGS-open64.c): Likewise.
20150 (CFLAGS-pause.c): Likewise.
20151 (CFLAGS-recv.c): Likewise.
20152 (CFLAGS-send.c): Likewise.
20153 (CFLAGS-accept.c): Likewise.
20154 (CFLAGS-sendto.c): Likewise.
20155 (CFLAGS-connect.c): Likewise.
20156 (CFLAGS-recvfrom.c): Likewise.
20157 (CFLAGS-recvmsg.c): Likewise.
20158 (CFLAGS-sendmsg.c): Likewise.
20159 (CFLAGS-close.c): Likewise.
20160 (CFLAGS-read.c): Likewise.
20161 (CFLAGS-write.c): Likewise.
20162 (CFLAGS-nanosleep.c): Likewise.
20163 (CFLAGS-sigsuspend.c): Likewise.
20164 (CFLAGS-msync.c): Likewise.
20165 (CFLAGS-fdatasync.c): Likewise.
20166 (CFLAGS-fsync.c): Likewise.
20167 (CFLAGS-pt-system.c): Likewise.
20168 (CFLAGS-tst-cleanup2.c): Likewise.
20169 (CFLAGS-tst-cleanupx2.c): Likewise.
20170 (CFLAGS-flockfile.c): Likewise.
20171 (CFLAGS-ftrylockfile.c): Likewise.
20172 (CFLAGS-funlockfile.c): Likewise.
20173 (CFLAGS-tst-initializers1.c): Likewise.
20174 (CFLAGS-tst-initializers1-c89.c): Likewise.
20175 (CFLAGS-tst-initializers1-c99.c): Likewise.
20176 (CFLAGS-tst-initializers1-c11.c): Likewise.
20177 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20178 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20179 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20180 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20181 (CFLAGS-nscd_getgr_r.c): Likewise.
20182 (CFLAGS-nscd_gethst_r.c): Likewise.
20183 (CFLAGS-nscd_getai.c): Likewise.
20184 (CFLAGS-nscd_initgroups.c): Likewise.
20185 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20186 (CFLAGS-pause.c): Likewise.
20187 (CFLAGS-pread.c): Likewise.
20188 (CFLAGS-pread64.c): Likewise.
20189 (CFLAGS-pwrite.c): Likewise.
20190 (CFLAGS-pwrite64.c): Likewise.
20191 (CFLAGS-sleep.c): Likewise.
20192 (CFLAGS-wait.c): Likewise.
20193 (CFLAGS-waitid.c): Likewise.
20194 (CFLAGS-waitpid.c): Likewise.
20195 (CFLAGS-getopt.c): Likewise.
20196 (CFLAGS-wordexp.c): Likewise.
20197 (CFLAGS-sysconf.c): Likewise.
20198 (CFLAGS-pathconf.c): Likewise.
20199 (CFLAGS-fpathconf.c): Likewise.
20200 (CFLAGS-spawn.c): Likewise.
20201 (CFLAGS-spawnp.c): Likewise.
20202 (CFLAGS-spawni.c): Likewise.
20203 (CFLAGS-glob.c): Likewise.
20204 (CFLAGS-glob64.c): Likewise.
20205 (CFLAGS-getconf.c): Likewise.
20206 (CFLAGS-nanosleep.c): Likewise.
20207 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20208 (CFLAGS-getpwent.c): Likewise.
20209 (CFLAGS-getpw.c): Likewise.
20210 (CFLAGS-fgetpwent_r.c): Likewise.
20211 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20212 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20213 (CFLAGS-mq_timedreceive.c): Likewise.
20214 (CFLAGS-mq_timedsend.c): Likewise.
20215 (CFLAGS-clock_nanosleep.c): Likewise.
20216 (CFLAGS-librt-cancellation.c): Likewise.
20217 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20218 (CFLAGS-getspent.c): Likewise.
20219 (CFLAGS-fgetspent.c): Likewise.
20220 (CFLAGS-fgetspent_r.c): Likewise.
20221 (CFLAGS-putspent.c): Likewise.
20222 (CFLAGS-getspnam.c): Likewise.
20223 (CFLAGS-getspnam_r.c): Likewise.
20224 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20225 (CFLAGS-sigsuspend.c): Likewise.
20226 (CFLAGS-sigtimedwait.c): Likewise.
20227 (CFLAGS-sigwait.c): Likewise.
20228 (CFLAGS-sigwaitinfo.c): Likewise.
20229 (CFLAGS-sigreturn.c): Likewise.
20230 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20231 (CFLAGS-vfwprintf.c): Likewise.
20232 (CFLAGS-tmpfile.c): Likewise.
20233 (CFLAGS-tmpfile64.c): Likewise.
20234 (CFLAGS-tempname.c): Likewise.
20235 (CFLAGS-psignal.c): Likewise.
20236 (CFLAGS-vprintf.c): Likewise.
20237 (CFLAGS-cuserid.c): Likewise.
20238 (CFLAGS-errlist.c): Likewise.
20239 (CFLAGS-siglist.c): Likewise.
20240 (CFLAGS-scanf15.c): Likewise.
20241 (CFLAGS-scanf17.c): Likewise.
20242 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20243 (CFLAGS-msort.c): Likewise.
20244 (CFLAGS-qsort.c): Likewise.
20245 (CFLAGS-system.c): Likewise.
20246 (CFLAGS-fmtmsg.c): Likewise.
20247 (CFLAGS-strfmon.c): Likewise.
20248 (CFLAGS-strfmon_l.c): Likewise.
20249 (CFLAGS-strfromd.c): Likewise.
20250 (CFLAGS-strfromf.c): Likewise.
20251 (CFLAGS-strfroml.c): Likewise.
20252 (CFLAGS-tst-bsearch.c): Likewise.
20253 (CFLAGS-tst-qsort.c): Likewise.
20254 (CFLAGS-tst-makecontext2.c): Likewise.
20255 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20256 (CFLAGS-xnlm_prot.c): Likewise.
20257 (CFLAGS-xrstat.c): Likewise.
20258 (CFLAGS-xyppasswd.c): Likewise.
20259 (CFLAGS-xklm_prot.c): Likewise.
20260 (CFLAGS-xrex.c): Likewise.
20261 (CFLAGS-xsm_inter.c): Likewise.
20262 (CFLAGS-xmount.c): Likewise.
20263 (CFLAGS-xrusers.c): Likewise.
20264 (CFLAGS-xspray.c): Likewise.
20265 (CFLAGS-xnfs_prot.c): Likewise.
20266 (CFLAGS-xrquota.c): Likewise.
20267 (CFLAGS-xkey_prot.c): Likewise.
20268 (CFLAGS-auth_unix.c): Likewise.
20269 (CFLAGS-key_call.c): Likewise.
20270 (CFLAGS-pmap_rmt.c): Likewise.
20271 (CFLAGS-clnt_perr.c): Likewise.
20272 (CFLAGS-openchild.c): Likewise.
20273 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20274 (CFLAGS-msgsnd.c): Likewise.
20275 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20276 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20277 (CFLAGS-tzset.c): Likewise.
20278 (CFLAGS-getdate.c): Likewise.
20279 (CFLAGS-test_time.c): Likewise.
20280 (CPPFLAGS-tst-tzname.c): Likewise.
20281 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20282 (CFLAGS-zic.c): Likewise.
20283 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20284 (CFLAGS-wcswidth.c): Likewise.
20285 (CFLAGS-wcstol.c): Likewise.
20286 (CFLAGS-wcstoul.c): Likewise.
20287 (CFLAGS-wcstoll.c): Likewise.
20288 (CFLAGS-wcstoull.c): Likewise.
20289 (CFLAGS-wcstod.c): Likewise.
20290 (CFLAGS-wcstold.c): Likewise.
20291 (CFLAGS-wcstof128.c): Likewise.
20292 (CFLAGS-wcstof.c): Likewise.
20293 (CFLAGS-wcstol_l.c): Likewise.
20294 (CFLAGS-wcstoul_l.c): Likewise.
20295 (CFLAGS-wcstoll_l.c): Likewise.
20296 (CFLAGS-wcstoull_l.c): Likewise.
20297 (CFLAGS-wcstod_l.c): Likewise.
20298 (CFLAGS-wcstold_l.c): Likewise.
20299 (CFLAGS-wcstof128_l.c): Likewise.
20300 (CFLAGS-wcstof_l.c): Likewise.
20301 (CPPFLAGS-tst-wchar-h.c): Likewise.
20302 (CPPFLAGS-wcstold_l.c): Likewise.
20303
20304 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
20305
20306 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20307
20308 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20309 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20310
20311 * manual/tunables.texi (Hardware Capability Tunables): Document
20312 glibc.tune.cached_memopt.
20313 * sysdeps/powerpc/cpu-features.c: New file.
20314 * sysdeps/powerpc/cpu-features.h: New file.
20315 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
20316 _dl_powerpc_cpu_features.
20317 * sysdeps/powerpc/dl-tunables.list: New file.
20318 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
20319 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20320 (INIT_ARCH): Initialize use_aligned_memopt.
20321 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
20322 IS_IN(rtld))]: Restrict dl_platform_init availability and
20323 initialize CPU features used by tunables.
20324 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20325 Add memcpy-power8-cached.
20326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20327 __memcpy_power8_cached.
20328 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20329 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
20330 New file.
20331
20332 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20333
20334 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
20335 (CFLAGS-noinl-tester.c): Likewise.
20336 (CFLAGS-tst-strlen.c): Likewise.
20337 (CFLAGS-stratcliff.c): Likewise.
20338 (CFLAGS-test-ffs.c): Likewise.
20339 (CFLAGS-tst-inlcall.c): Likewise.
20340 (CFLAGS-tst-xbzero-opt.c): Likewise.
20341 (CFLAGS-memcpy.c): Likewise.
20342 (CFLAGS-wordcopy.c): Likewise.
20343
20344 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20345
20346 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
20347 Store r15 on stack and add cfi rule.
20348 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20349 Likewise.
20350
20351 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
20352
20353 [BZ #22577]
20354 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
20355 call.
20356
20357 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20358
20359 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20360 Add s_sinf-sse2 and s_sinf-fma.
20361 (CFLAGS-s_sinf-fma.c): New.
20362 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
20363 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
20364 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
20365
20366 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20367
20368 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
20369
20370 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20371
20372 [BZ #22568]
20373 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
20374 part of result to imaginary part of argument if it is zero and the
20375 real part of the argument is not finite.
20376 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
20377 of result to real part of argument if it is zero and the imaginary
20378 part of the argument is not finite.
20379
20380 2017-12-07 Mike FABIAN <mfabian@redhat.com>
20381
20382 [BZ #22524]
20383 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
20384 and to the list of locales to be built for testing.
20385 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
20386 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
20387 and build the collation rules upon that.
20388
20389 2017-12-07 Joseph Myers <joseph@codesourcery.com>
20390
20391 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
20392 * manual/math.texi (Mathematics): Document support for _Float32.
20393 * math/Makefile (test-types): Add float32.
20394 * math/Versions (GLIBC_2.27): Add _Float32 functions.
20395 * stdlib/Versions (GLIBC_2.27): Likewise.
20396 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20397 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20398 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20399 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20400 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20401 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20402 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20403 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20404 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20405 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20406 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20407 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20408 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20409 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20410 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20411 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20412 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20413 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20414 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20415 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20416 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20417 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20418 Likewise.
20419 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20420 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20421 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20422 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20423 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20425 Likewise.
20426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20427 Likewise.
20428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20429 Likewise.
20430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20431 Likewise.
20432
20433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20434 Likewise.
20435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20436 Likewise.
20437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20438 Likewise.
20439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20440 Likewise.
20441 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20442 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20443 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20444 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20445 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20446 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20447 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20448 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20449 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20450 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20452 Likewise.
20453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20454 Likewise.
20455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20456 Likewise.
20457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20458 Likewise.
20459 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20460 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20461 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20462 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20463 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20464 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20465 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20466 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20467
20468 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20469
20470 * stdlib/strtof.c: Include <bits/floatn.h>
20471 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
20472 and later undefine as macro. Define as weak alias if
20473 [!USE_WIDE_CHAR].
20474 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
20475 and later undefine as macro. Define as weak alias if
20476 [USE_WIDE_CHAR].
20477 * stdlib/strtof_l.c: Include <bits/floatn.h>
20478 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
20479 and later undefine as macro. Define as weak alias if
20480 [!USE_WIDE_CHAR].
20481 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
20482 and later undefine as macro. Define as weak alias if
20483 [USE_WIDE_CHAR].
20484
20485 * stdlib/strfromf.c: Include <bits/floatn.h>.
20486 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
20487 and later undefine as macro and define as weak alias.
20488
20489 * math/test-float32.h: New file.
20490
20491 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
20492 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
20493 (libm_alias_float_other_r): Create f32 alias.
20494 (libm_alias_float_r): Use semicolon before call to
20495 libm_alias_float_other_r.
20496
20497 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
20498 second argument to libm_alias_float_other.
20499 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
20500 second argument to libm_alias_float_other.
20501 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
20502 argument to libm_alias_float_other.
20503
20504 [BZ #22561]
20505 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
20506 real part of result for argument 0 + i * NaN.
20507 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
20508 results for tests of 0 + i * NaN.
20509
20510 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20511
20512 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20513
20514 2017-12-06 David S. Miller <davem@davemloft.net>
20515
20516 * sysdeps/sparc/fpu/libm-test-ulps: Update
20517 exp_{downward,towardzero,upward} ulps.
20518
20519 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20520
20521 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
20522 variables static.
20523
20524 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
20525 (Y0_2D): Likewise.
20526 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
20527 (Y0_2D): Likewise.
20528 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
20529 (Y0_2D): Likewise.
20530 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
20531 (Y0_2D): Likewise.
20532
20533 2017-12-06 Mike FABIAN <mfabian@redhat.com>
20534
20535 [BZ #22515]
20536 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
20537 and to the list of locales to be built for testing.
20538 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
20539 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
20540 and build the collation rules upon that.
20541
20542 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20543
20544 * NEWS: Add sinf to list of optimized functions.
20545
20546 2017-12-06 Joseph Myers <joseph@codesourcery.com>
20547
20548 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
20549 (__HAVE_FLOAT32X): Likewise.
20550 * manual/math.texi (Mathematics): Document support for _Float64
20551 and _Float32x.
20552 * math/Makefile (test-types): Add float64 and float32x.
20553 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
20554 functions.
20555 * stdlib/Versions (GLIBC_2.27): Likewise.
20556 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20557 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20558 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20559 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20560 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20561 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20562 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20563 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20564 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20565 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20566 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20567 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20568 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20569 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20570 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20571 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20572 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20573 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20574 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20575 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20576 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20577 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20578 Likewise.
20579 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20580 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20581 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20582 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20583 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20585 Likewise.
20586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20587 Likewise.
20588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20589 Likewise.
20590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20591 Likewise.
20592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20593 Likewise.
20594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20595 Likewise.
20596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20597 Likewise.
20598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20599 Likewise.
20600 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20601 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20602 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20603 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20604 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20605 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20606 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20607 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20608 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20609 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20611 Likewise.
20612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20613 Likewise.
20614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20615 Likewise.
20616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20617 Likewise.
20618 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20619 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20620 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20621 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20622 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20623 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20624 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20625 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20626
20627 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20628
20629 * bits/floatn-common.h: Include <bits/long-double.h>.
20630 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20631 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
20632 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20633 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
20634 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
20635 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
20636 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20637 (__builtin_huge_valf64): Use __builtin_huge_vall.
20638 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20639 (__builtin_inff64): Use __builtin_infl.
20640 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20641 (__builtin_nanf64): Use __builtin_nanl.
20642 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
20643 (__builtin_nansf64): Use __builtin_nansl.
20644
20645 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
20646 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20647 Carlos O'Donnell <carlos@redhat.com>
20648
20649 * elf/dl-tunables.list: Add elision parameters.
20650 * manual/tunables.texi: Add entries about elision tunable.
20651 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
20652 Add callback functions to dynamically enable/disable elision.
20653 Add multiple callbacks functions to set elision parameters.
20654 Deleted __libc_enable_secure check.
20655 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
20656 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
20657 * configure: Regenerated.
20658 * configure.ac: Option enable_lock_elision was deleted.
20659 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
20660 * config.make.in: Remove references to enable_lock_elision.
20661 * manual/install.texi: Elision configure option was removed.
20662 * INSTALL: Regenerated to remove enable_lock_elision.
20663 * nptl/Makefile:
20664 Disable elision so it can verify error case for destroying a mutex.
20665 * sysdeps/powerpc/nptl/elide.h:
20666 Cleanup ENABLE_LOCK_ELISION check.
20667 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
20668 * sysdeps/s390/configure: Regenerated.
20669 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
20670 * nptl/tst-mutex8.c:
20671 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
20672 * sysdeps/powerpc/powerpc32/sysdep.h:
20673 Deleted all ENABLE_LOCK_ELISION checks.
20674 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20675 * sysdeps/powerpc/sysdep.h: Likewise.
20676 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
20677 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
20678 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20679 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20680 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20681 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
20682 enable-lock-elision.
20683
20684 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20685
20686 * stdlib/strtod.c: Include <bits/floatn.h>.
20687 (BUILD_DOUBLE): New macro.
20688 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20689 (strtof64): Define and later undefine as macro. Define as weak
20690 alias if [!USE_WIDE_CHAR].
20691 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20692 (wcstof64): Define and later undefine as macro. Define as weak
20693 alias if [USE_WIDE_CHAR].
20694 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20695 (strtof32x): Define and later undefine as macro. Define as weak
20696 alias if [!USE_WIDE_CHAR].
20697 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20698 (wcstof32x): Define and later undefine as macro. Define as weak
20699 alias if [USE_WIDE_CHAR].
20700 * stdlib/strtod_l.c: Include <bits/floatn.h>.
20701 (BUILD_DOUBLE): New macro.
20702 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20703 (strtof64_l): Define and later undefine as macro. Define as weak
20704 alias if [!USE_WIDE_CHAR].
20705 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
20706 (wcstof64_l): Define and later undefine as macro. Define as weak
20707 alias if [USE_WIDE_CHAR].
20708 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20709 (strtof32x_l): Define and later undefine as macro. Define as weak
20710 alias if [!USE_WIDE_CHAR].
20711 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
20712 (wcstof32x_l): Define and later undefine as macro. Define as weak
20713 alias if [USE_WIDE_CHAR].
20714
20715 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20716
20717 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
20718 (reduced): Use ones as double instead of integer.
20719
20720 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
20721
20722 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
20723
20724 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20725
20726 * stdlib/strfromd.c: Include <bits/floatn.h>.
20727 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
20728 and later undefine as macro and define as weak alias.
20729 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
20730 Likewise.
20731
20732 * math/test-float32x.h: New file.
20733 * math/test-float64.h: Likewise.
20734
20735 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
20736 (libm_alias_double_other_r_f64): New macro.
20737 (libm_alias_double_other_r_f32x): Likewise.
20738 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20739 libm_alias_double_other_r_f32x.
20740 (libm_alias_double_r): Use semicolon before call to
20741 libm_alias_double_other_r.
20742 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
20743 <bits/floatn.h>.
20744 (libm_alias_double_other_r_f64): New macro.
20745 (libm_alias_double_other_r_f32x): Likewise.
20746 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
20747 libm_alias_double_other_r_f32x.
20748
20749 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
20750
20751 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
20752 int.
20753 (SINF_FUNC): Likewise. Replace floor with simple casts.
20754
20755 2017-12-05 Mike FABIAN <mfabian@redhat.com>
20756
20757 [BZ #22517]
20758 * localedata/Makefile: Add et_EE.UTF-8 to test-input
20759 and to the list of locales to be built for testing.
20760 * localedata/et_EE.UTF-8.in: New file for testing the collation.
20761 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
20762 and build the collation rules upon that.
20763
20764 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
20765
20766 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
20767 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
20768 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
20769 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
20770 instead of __insn__xxx.
20771 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
20772 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
20773 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
20774 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
20775 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
20776 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
20777
20778 2017-12-05 Florian Weimer <fweimer@redhat.com>
20779
20780 Linux: Implement interfaces for memory protection keys
20781 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
20782 xsignal, xsysconf.
20783 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
20784 * support/xunistd.h (xsysconf): Declare.
20785 * support/xraise.c: New file.
20786 * support/xsigaction.c: Likewise.
20787 * support/xsignal.c: Likewise.
20788 * support/xsysconf.c: Likewise.
20789 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
20790 pkey_set, pkey_get, pkey_mprotect.
20791 [misc] (tests): Add tst-pkey.
20792 (tst-pkey): Link with -lpthread.
20793 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
20794 pkey_free, pkey_set, pkey_get, pkey_mprotect.
20795 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
20796 (PKEY_DISABLE_WRITE): Define.
20797 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
20798 Declare.
20799 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
20800 (SEGV_PKUERR): Add.
20801 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
20802 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
20803 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
20804 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
20805 Add.
20806 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
20807 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
20808 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
20809 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
20810 * sysdeps/unix/sysv/linux/**.abilist: Update.
20811
20812 2017-12-05 Florian Weimer <fweimer@redhat.com>
20813
20814 * support/tst-test_compare.c (subprocess): Use long long instead
20815 of long argument for consistent type width across 32-bit and
20816 64-bit architectures.
20817 (do_test): Adjust expected output.
20818
20819 2017-12-05 Joseph Myers <joseph@codesourcery.com>
20820
20821 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
20822 (cosf): Define using libm_alias_float.
20823 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
20824 (fabsf): Define using libm_alias_float.
20825 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
20826 (fmaf): Define using libm_alias_float.
20827 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
20828 (rintf): Define using libm_alias_float.
20829 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
20830 (sinf): Define using libm_alias_float.
20831 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
20832 <libm-alias-float.h>.
20833 (modff): Define using libm_alias_float.
20834 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
20835 <libm-alias-float.h>.
20836 (logbf): Define using libm_alias_float.
20837 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
20838 <libm-alias-float.h>.
20839 (ceilf): Define using libm_alias_float.
20840 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
20841 <libm-alias-float.h>.
20842 (copysignf): Define using libm_alias_float.
20843 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
20844 <libm-alias-float.h>.
20845 (floorf): Define using libm_alias_float.
20846 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20847 <libm-alias-float.h>.
20848 (llrintf): Define using libm_alias_float.
20849 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20850 <libm-alias-float.h>.
20851 (llroundf): Define using libm_alias_float.
20852 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
20853 <libm-alias-float.h>.
20854 (lrintf): Define using libm_alias_float.
20855 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
20856 <libm-alias-float.h>.
20857 (lroundf): Define using libm_alias_float.
20858 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
20859 <libm-alias-float.h>.
20860 (nearbyintf): Define using libm_alias_float.
20861 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
20862 <libm-alias-float.h>.
20863 (rintf): Define using libm_alias_float.
20864 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
20865 <libm-alias-float.h>.
20866 (roundf): Define using libm_alias_float.
20867 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
20868 <libm-alias-float.h>.
20869 (truncf): Define using libm_alias_float.
20870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
20871 Include <libm-alias-float.h>.
20872 (ceilf): Define using libm_alias_float.
20873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
20874 Include <libm-alias-float.h>.
20875 (copysignf): Define using libm_alias_float.
20876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
20877 Include <libm-alias-float.h>.
20878 (floorf): Define using libm_alias_float.
20879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
20880 Include <libm-alias-float.h>.
20881 (llrintf): Define using libm_alias_float.
20882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
20883 Include <libm-alias-float.h>.
20884 (llroundf): Define using libm_alias_float.
20885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
20886 Include <libm-alias-float.h>.
20887 (logbf): Define using libm_alias_float.
20888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
20889 Include <libm-alias-float.h>.
20890 (lrintf): Define using libm_alias_float.
20891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
20892 Include <libm-alias-float.h>.
20893 (lroundf): Define using libm_alias_float.
20894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
20895 Include <libm-alias-float.h>.
20896 (modff): Define using libm_alias_float.
20897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
20898 Include <libm-alias-float.h>.
20899 (roundf): Define using libm_alias_float.
20900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
20901 Include <libm-alias-float.h>.
20902 (truncf): Define using libm_alias_float.
20903 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
20904 <libm-alias-float.h>.
20905 (llrintf): Define using libm_alias_float.
20906 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
20907 <libm-alias-float.h>.
20908 (llroundf): Define using libm_alias_float.
20909 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
20910 <libm-alias-float.h>.
20911 (ceilf): Define using libm_alias_float.
20912 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
20913 <libm-alias-float.h>.
20914 (floorf): Define using libm_alias_float.
20915 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
20916 <libm-alias-float.h>.
20917 (llroundf): Define using libm_alias_float.
20918 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
20919 <libm-alias-float.h>.
20920 (lroundf): Define using libm_alias_float.
20921 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
20922 <libm-alias-float.h>.
20923 (roundf): Define using libm_alias_float.
20924 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
20925 <libm-alias-float.h>.
20926 (truncf): Define using libm_alias_float.
20927 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
20928 <libm-alias-float.h>.
20929 (copysignf): Define using libm_alias_float.
20930 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
20931 <libm-alias-float.h>.
20932 (llrintf): Define using libm_alias_float.
20933 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
20934 <libm-alias-float.h>.
20935 (llroundf): Define using libm_alias_float.
20936 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
20937 <libm-alias-float.h>.
20938 (lrintf): Define using libm_alias_float.
20939 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
20940 <libm-alias-float.h>.
20941 (lroundf): Define using libm_alias_float.
20942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
20943 <libm-alias-float.h>.
20944 (ceilf): Define using libm_alias_float.
20945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
20946 <libm-alias-float.h>.
20947 (copysignf): Define using libm_alias_float.
20948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
20949 <libm-alias-float.h>.
20950 (cosf): Define using libm_alias_float.
20951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
20952 <libm-alias-float.h>.
20953 (floorf): Define using libm_alias_float.
20954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
20955 <libm-alias-float.h>.
20956 (llrintf): Define using libm_alias_float.
20957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
20958 <libm-alias-float.h>.
20959 (llroundf): Define using libm_alias_float.
20960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
20961 <libm-alias-float.h>.
20962 (logbf): Define using libm_alias_float.
20963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
20964 <libm-alias-float.h>.
20965 (modff): Define using libm_alias_float.
20966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
20967 <libm-alias-float.h>.
20968 (roundf): Define using libm_alias_float.
20969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
20970 <libm-alias-float.h>.
20971 (sinf): Define using libm_alias_float.
20972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
20973 <libm-alias-float.h>.
20974 (truncf): Define using libm_alias_float.
20975 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
20976 <libm-alias-float.h>.
20977 (ceilf): Define using libm_alias_float.
20978 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
20979 <libm-alias-float.h>.
20980 (copysignf): Define using libm_alias_float.
20981 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
20982 <libm-alias-float.h>.
20983 (floorf): Define using libm_alias_float.
20984 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
20985 <libm-alias-float.h>.
20986 (llrintf): Define using libm_alias_float.
20987 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
20988 <libm-alias-float.h>.
20989 (llroundf): Define using libm_alias_float.
20990 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
20991 <libm-alias-float.h>.
20992 (nearbyintf): Define using libm_alias_float.
20993 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
20994 <libm-alias-float.h>.
20995 (rintf): Define using libm_alias_float.
20996 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
20997 <libm-alias-float.h>.
20998 (roundf): Define using libm_alias_float.
20999 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21000 <libm-alias-float.h>.
21001 (truncf): Define using libm_alias_float.
21002 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21003 <libm-alias-float.h>.
21004 (ceilf): Define using libm_alias_float.
21005 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21006 <libm-alias-float.h>.
21007 (floorf): Define using libm_alias_float.
21008 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21009 <libm-alias-float.h>.
21010 (llroundf): Define using libm_alias_float.
21011 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21012 <libm-alias-float.h>.
21013 (roundf): Define using libm_alias_float.
21014 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21015 <libm-alias-float.h>.
21016 (truncf): Define using libm_alias_float.
21017 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21018 <libm-alias-float.h>.
21019 (copysignf): Define using libm_alias_float.
21020 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21021 <libm-alias-float.h>.
21022 (llrintf): Define using libm_alias_float.
21023 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21024 <libm-alias-float.h>.
21025 (llroundf): Define using libm_alias_float.
21026 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21027 <libm-alias-float.h>.
21028 (cosf): Define using libm_alias_float.
21029 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21030 <libm-alias-float.h>.
21031 (llrintf): Define using libm_alias_float.
21032 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21033 <libm-alias-float.h>.
21034 (llroundf): Define using libm_alias_float.
21035 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21036 <libm-alias-float.h>.
21037 (sinf): Define using libm_alias_float.
21038
21039 2017-12-04 Florian Weimer <fweimer@redhat.com>
21040
21041 * support/check.h (TEST_COMPARE): Define.
21042 (support_test_compare_failure): Declare.
21043 * support/Makefile (libsupport-routines): Add
21044 support_test_compare_failure.
21045 (tests): Add tst-test_compare.
21046 * support /support_test_compare_failure.c: New file.
21047 * support/tst-test_compare.c: Likewise.
21048
21049 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21050
21051 [BZ #22527]
21052 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21053 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21054 available, this rewrite of the collation rules does reproduce
21055 the test file in the same order.
21056
21057 2017-12-04 Mike FABIAN <mfabian@redhat.com>
21058
21059 [BZ #10580]
21060 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21061 digraphs in the month and day names. Using single code points for
21062 digraphs is deprecated. While there are dedicated Unicode
21063 codepoints, for the digraphs, these are included for backwards
21064 compatibility and modern texts use a sequence of Basic Latin
21065 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21066 This makes the month and day names agree exactly with CLDR now,
21067 CLDR does not use the single code points for the digraphs either.
21068
21069 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21070
21071 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21072
21073 2017-12-04 Joseph Myers <joseph@codesourcery.com>
21074
21075 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21076 of floor.
21077
21078 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21079
21080 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21081 Define only for libc.so.
21082
21083 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21084
21085 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21086 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
21087 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
21088 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21089 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21090
21091 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21092
21093 [BZ #5997]
21094 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
21095
21096 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
21097
21098 [BZ libc/19170]
21099 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
21100 PREINIT_FUNCTION_WEAK is nonzero.
21101 (gmon_initializer): New function. Put procedure label for it in
21102 .init_array section.
21103 (_init): Don't call PREINIT_FUNCTION.
21104 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
21105 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
21106 value when map argument is null.
21107
21108 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
21109 depi instruction from PIC pc-relative sequence.
21110 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
21111 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
21112 (elf_machine_load_address): Likewise.
21113 (elf_machine_runtime_setup): Likewise.
21114
21115 2017-12-02 Joseph Myers <joseph@codesourcery.com>
21116
21117 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
21118 <libm-alias-double.h>.
21119 (logb): Define using libm_alias_double.
21120 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21121 <libm-alias-double.h>.
21122 (copysign): Define using libm_alias_double.
21123 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
21124 <libm-alias-double.h>.
21125 (llrint): Define using libm_alias_double.
21126 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
21127 <libm-alias-double.h>.
21128 (llround): Define using libm_alias_double.
21129 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21130 <libm-alias-double.h>.
21131 (lrint): Define using libm_alias_double.
21132 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21133 <libm-alias-double.h>.
21134 (lround): Define using libm_alias_double.
21135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21136 Include <libm-alias-double.h>.
21137 (copysign): Define using libm_alias_double.
21138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
21139 Include <libm-alias-double.h>.
21140 (llrint): Define using libm_alias_double.
21141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
21142 Include <libm-alias-double.h>.
21143 (llround): Define using libm_alias_double.
21144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
21145 <libm-alias-double.h>.
21146 (logb): Define using libm_alias_double.
21147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
21148 Include <libm-alias-double.h>.
21149 (lrint): Define using libm_alias_double.
21150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
21151 Include <libm-alias-double.h>.
21152 (lround): Define using libm_alias_double.
21153 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
21154 <libm-alias-double.h>.
21155 (llrint): Define using libm_alias_double.
21156 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21157 <libm-alias-double.h>.
21158 (llround): Define using libm_alias_double.
21159 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21160 <libm-alias-double.h>.
21161 (llround): Define using libm_alias_double.
21162 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21163 <libm-alias-double.h>.
21164 (lround): Define using libm_alias_double.
21165 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21166 <libm-alias-double.h>.
21167 (copysign): Define using libm_alias_double.
21168 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
21169 <libm-alias-double.h>.
21170 (llrint): Define using libm_alias_double.
21171 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21172 <libm-alias-double.h>.
21173 (llround): Define using libm_alias_double.
21174 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21175 <libm-alias-double.h>.
21176 (lrint): Define using libm_alias_double.
21177 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21178 <libm-alias-double.h>.
21179 (lround): Define using libm_alias_double.
21180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21181 <libm-alias-double.h>.
21182 (copysign): Define using libm_alias_double.
21183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21184 <libm-alias-double.h>.
21185 (llrint): Define using libm_alias_double.
21186 (lrint): Likewise.
21187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21188 <libm-alias-double.h>.
21189 (llround): Define using libm_alias_double.
21190 (lround): Likewise.
21191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21192 <libm-alias-double.h>.
21193 (logb): Define using libm_alias_double.
21194 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21195 <libm-alias-double.h>.
21196 (copysign): Define using libm_alias_double.
21197 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21198 <libm-alias-double.h>.
21199 (llrint): Define using libm_alias_double.
21200 (lrint): Likewise.
21201 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21202 <libm-alias-double.h>.
21203 (llround): Define using libm_alias_double.
21204 (lround): Likewise.
21205 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21206 <libm-alias-double.h>.
21207 (llround): Define using libm_alias_double.
21208 (lround): Likewise.
21209 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21210 <libm-alias-double.h>.
21211 (copysign): Define using libm_alias_double.
21212 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21213 <libm-alias-double.h>.
21214 (llrint): Define using libm_alias_double.
21215 (lrint): Likewise.
21216 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21217 <libm-alias-double.h>.
21218 (llround): Define using libm_alias_double.
21219 (lround): Likewise.
21220 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21221 <libm-alias-double.h>.
21222 (llrint): Define using libm_alias_double.
21223 (lrint): Likewise.
21224 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21225 <libm-alias-double.h>.
21226 (llround): Define using libm_alias_double.
21227 (lround): Likewise.
21228
21229 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21230
21231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21232 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21233 compat symbol based on llround.
21234
21235 * sysdeps/powerpc/power7/fpu/s_logb.c
21236 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21237 symbol based on __logb, not on logb.
21238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21239 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21241 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21242
21243 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21244 (rint): Define using libm_alias_double.
21245 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21246 <libm-alias-double.h>.
21247 (modf): Define using libm_alias_double.
21248 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21249 <libm-alias-double.h>.
21250 (ceil): Define using libm_alias_double.
21251 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21252 <libm-alias-double.h>.
21253 (floor): Define using libm_alias_double.
21254 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21255 <libm-alias-double.h>.
21256 (nearbyint): Define using libm_alias_double.
21257 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21258 <libm-alias-double.h>.
21259 (rint): Define using libm_alias_double.
21260 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21261 <libm-alias-double.h>.
21262 (round): Define using libm_alias_double.
21263 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21264 <libm-alias-double.h>.
21265 (trunc): Define using libm_alias_double.
21266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21267 <libm-alias-double.h>.
21268 (ceil): Define using libm_alias_double.
21269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21270 Include <libm-alias-double.h>.
21271 (floor): Define using libm_alias_double.
21272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21273 <libm-alias-double.h>.
21274 (modf): Define using libm_alias_double.
21275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21276 Include <libm-alias-double.h>.
21277 (round): Define using libm_alias_double.
21278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21279 Include <libm-alias-double.h>.
21280 (trunc): Define using libm_alias_double.
21281 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21282 <libm-alias-double.h>.
21283 (ceil): Define using libm_alias_double.
21284 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21285 <libm-alias-double.h>.
21286 (floor): Define using libm_alias_double.
21287 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21288 <libm-alias-double.h>.
21289 (round): Define using libm_alias_double.
21290 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21291 <libm-alias-double.h>.
21292 (trunc): Define using libm_alias_double.
21293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21294 <libm-alias-double.h>.
21295 (ceil): Define using libm_alias_double.
21296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21297 <libm-alias-double.h>.
21298 (floor): Define using libm_alias_double.
21299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21300 <libm-alias-double.h>.
21301 (modf): Define using libm_alias_double.
21302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21303 <libm-alias-double.h>.
21304 (round): Define using libm_alias_double.
21305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21306 <libm-alias-double.h>.
21307 (trunc): Define using libm_alias_double.
21308 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21309 <libm-alias-double.h>.
21310 (ceil): Define using libm_alias_double.
21311 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21312 <libm-alias-double.h>.
21313 (floor): Define using libm_alias_double.
21314 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
21315 <libm-alias-double.h>.
21316 (nearbyint): Define using libm_alias_double.
21317 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
21318 <libm-alias-double.h>.
21319 (rint): Define using libm_alias_double.
21320 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
21321 <libm-alias-double.h>.
21322 (round): Define using libm_alias_double.
21323 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
21324 <libm-alias-double.h>.
21325 (trunc): Define using libm_alias_double.
21326 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21327 <libm-alias-double.h>.
21328 (ceil): Define using libm_alias_double.
21329 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21330 <libm-alias-double.h>.
21331 (floor): Define using libm_alias_double.
21332 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
21333 <libm-alias-double.h>.
21334 (round): Define using libm_alias_double.
21335 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
21336 <libm-alias-double.h>.
21337 (trunc): Define using libm_alias_double.
21338
21339 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
21340 (fabs): Define using libm_alias_double.
21341 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
21342 (fma): Define using libm_alias_double.
21343 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
21344 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
21345 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
21346 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
21347
21348 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21349
21350 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
21351
21352 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
21353 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
21354 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21355
21356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
21357 due redirect macro.
21358
21359 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
21360
21361 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
21362
21363 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21364
21365 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
21366 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
21367 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
21368 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
21369
21370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21371 (libm-sysdep_routines): Add s_nearbyintf-generic and
21372 s_nearbyint-generic.
21373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
21374 New file.
21375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
21376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
21377 Likewise.
21378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
21379 Likewise.
21380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
21381 file.
21382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21383 Likewise.
21384
21385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21386 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
21387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
21388 file.
21389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
21390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
21391 Likewise.
21392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
21393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
21394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21395
21396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21397 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
21398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
21399 file.
21400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
21401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
21402 Likewise.
21403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
21404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
21405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
21406
21407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21408 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
21409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
21410 file.
21411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
21412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
21413 Likewise.
21414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
21415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
21416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21417
21418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21419 (sysdep_calls): New rule.
21420 (sysdep_routines): Use sysdep_calls as base.
21421 (libm-sysdep_routines): Add generic rule for symbols shared with
21422 libc. Add s_copysign-generic and s_copysign-generic objects.
21423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
21424 New file.
21425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
21426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
21427 Likewise.
21428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
21429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
21430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
21431
21432 2017-12-01 Mike FABIAN <mfabian@redhat.com>
21433
21434 [BZ #22519]
21435 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
21436 the list of locales to be built for testing.
21437 * localedata/is_IS.UTF-8.in: New file.
21438 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
21439 on iso14651_t1.
21440
21441 2017-12-01 Joseph Myers <joseph@codesourcery.com>
21442
21443 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
21444 <libm-alias-float.h>.
21445 (fabsf): Define using libm_alias_float.
21446
21447 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21448
21449 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
21450
21451 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21452
21453 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
21454 <libm-alias-float.h>.
21455 (fabsf): Define using libm_alias_float.
21456 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
21457 <libm-alias-float.h>.
21458 (lrintf): Define using libm_alias_float.
21459 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
21460 <libm-alias-float.h>.
21461 (rintf): Define using libm_alias_float.
21462
21463 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
21464 <libm-alias-double.h>.
21465 (fabs): Define using libm_alias_double.
21466 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
21467 <libm-alias-double.h>.
21468 (lrint): Define using libm_alias_double.
21469 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
21470 <libm-alias-double.h>.
21471 (rint): Define using libm_alias_double.
21472
21473 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
21474 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
21475 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
21476 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
21477 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
21478 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
21479 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
21480 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
21481 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
21482 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
21483 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
21484 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
21485 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
21486 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
21487 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
21488 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
21489 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
21490 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
21491 s_atan_template.c.
21492 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
21493 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
21494 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
21495 s_ceil_template.c.
21496 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
21497 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
21498 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
21499 s_cos_template.c.
21500 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
21501 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
21502 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
21503 s_expm1_template.c.
21504 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
21505 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
21506 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
21507 s_fabs_template.c.
21508 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
21509 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
21510 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
21511 s_floor_template.c.
21512 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
21513 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
21514 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
21515 s_frexp_template.c.
21516 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
21517 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
21518 s_lrint_template.c.
21519 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
21520 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
21521 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
21522 s_modf_template.c.
21523 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
21524 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
21525 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
21526 s_nearbyint_template.c.
21527 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
21528 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
21529 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
21530 s_remquo_template.c.
21531 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
21532 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
21533 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
21534 s_rint_template.c.
21535 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
21536 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
21537 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
21538 s_sin_template.c.
21539 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
21540 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
21541 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
21542 s_sincos_template.c.
21543 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
21544 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
21545 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
21546 s_tan_template.c.
21547 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
21548 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
21549 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
21550 s_tanh_template.c.
21551 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
21552 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
21553 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
21554 s_trunc_template.c.
21555 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
21556 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
21557 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
21558 s_atan.c instead of including s_atan.c.
21559 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
21560 s_atanf.c instead of including s_atanf.c.
21561 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
21562 s_atanl.c instead of including s_atanl.c.
21563 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
21564 instead of s_atan.c.
21565 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
21566 instead of s_atanf.c.
21567 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
21568 instead of s_atanl.c.
21569
21570 * scripts/update-copyrights: Do not handle intl/plural.c
21571 specially.
21572
21573 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
21574
21575 [BZ #22432]
21576 * configure.ac (BISON): Require to be present.
21577 * configure: Regenerated.
21578 * intl/Makefile (generated): Add plural.c.
21579 [$(BISON) != no]: Make code unconditional.
21580 (plural.c): Change rule to $(objpfx)plural.c.
21581 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
21582 * intl/plural.c: Remove.
21583 * manual/install.texi (Tools for Compilation): Document bison as
21584 required.
21585 * INSTALL: Regenerated.
21586
21587 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21588
21589 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
21590 <libm-alias-double.h>.
21591 (llrint): Define using libm_alias_double.
21592 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
21593 <libm-alias-float.h>.
21594 (llrintf): Define using libm_alias_float.
21595 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
21596 <libm-alias-ldouble.h>.
21597 (llrintl): Define using libm_alias_ldouble.
21598
21599 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
21600 declare_mgen_alias instead of weak_alias.
21601 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
21602 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
21603 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
21604
21605 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21606
21607 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21608 Add add_n-generic.
21609 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
21610 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
21611 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
21612
21613 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21614 Add submul_1-generic.
21615 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
21616 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
21617 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
21618
21619 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21620 Add addmul_1-generic.
21621 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
21622 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
21623 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
21624
21625 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21626 Add sub_n-generic.
21627 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
21628 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
21629 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
21630
21631 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
21632 Add mul_1-generic.
21633 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
21634 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
21635 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
21636
21637 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21638
21639 According to CLDR, collation rules for Serbian and Bosnian
21640 should be the same as for Croatian.
21641
21642 [BZ #22534]
21643 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
21644 and to the list of locales to be built for testing.
21645 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21646 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
21647 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
21648 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
21649
21650 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21651
21652 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
21653 to make test case pass.
21654 * localedata/hr_HR.UTF-8.in: Add more test strings.
21655
21656 2017-11-30 Mike FABIAN <mfabian@redhat.com>
21657
21658 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
21659
21660 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21661
21662 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
21663 the list of locales to built for testing.
21664 * localedata/hr_HR.UTF-8.in: New file.
21665
21666 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
21667
21668 [BZ #10580]
21669 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
21670 iso14651_t1.
21671 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
21672 CLDR (except use ligatures for the digraphs, CLDR does not use
21673 the ligatures), add first_workday, some fixes in the date and time
21674 formats.
21675 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
21676 for Đ and đ.
21677 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
21678 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
21679 Add int_p_cs_precedes and int_n_cs_precedes.
21680 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
21681 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
21682 LC_MONETARY now).
21683 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
21684 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
21685 name_miss.
21686 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
21687 and lang_lib. Change postal_fmt.
21688
21689 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21690
21691 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
21692 <setjmp.h>.
21693 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21694 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
21695 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
21696 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
21697 * sysdeps/generic/setjmpP.h: New file.
21698 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
21699 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
21700 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
21701 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
21702 Add jmp_buf-ssp.sym.
21703 (tests): Add tst-saved_mask-1.
21704
21705 2017-11-30 Arjun Shankar <arjun@redhat.com>
21706
21707 [BZ #22375]
21708 CVE-2017-17426
21709 * malloc/malloc.c (__libc_malloc): Use checked_request2size
21710 instead of request2size.
21711
21712 2017-11-30 Joseph Myers <joseph@codesourcery.com>
21713
21714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
21715 (__lllrint): Remove alias.
21716 (lllrint): Likewise.
21717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
21718 (__lllrintf): Likewise.
21719 (lllrintf): Likewise.
21720
21721 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
21722 <libm-alias-float.h>.
21723 (copysignf): Define using libm_alias_float.
21724 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
21725 <libm-alias-float.h>.
21726 (fabsf): Define using libm_alias_float.
21727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21728 Include <libm-alias-float.h>.
21729 (copysignf): Define using libm_alias_float.
21730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
21731 <libm-alias-float.h>.
21732 (fabsf): Define using libm_alias_float.
21733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
21734 <libm-alias-float.h>.
21735 (fdimf): Define using libm_alias_float.
21736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
21737 <libm-alias-float.h>.
21738 (fmaf): Define using libm_alias_float.
21739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
21740 <libm-alias-float.h>.
21741 (llrintf): Define using libm_alias_float.
21742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21743 Include <libm-alias-float.h>.
21744 (nearbyintf): Define using libm_alias_float.
21745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
21746 <libm-alias-float.h>.
21747 (rintf): Define using libm_alias_float.
21748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
21749 <libm-alias-float.h>.
21750 (llrintf): Define using libm_alias_float.
21751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
21752 <libm-alias-float.h>.
21753 (lrintf): Define using libm_alias_float.
21754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
21755 <libm-alias-float.h>.
21756 (nearbyintf): Define using libm_alias_float.
21757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
21758 <libm-alias-float.h>.
21759 (rintf): Define using libm_alias_float.
21760 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
21761 <libm-alias-float.h>.
21762 (ceilf): Define using libm_alias_float.
21763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
21764 <libm-alias-float.h>.
21765 (floorf): Define using libm_alias_float.
21766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
21767 <libm-alias-float.h>.
21768 (fmaf): Define using libm_alias_float.
21769 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
21770 <libm-alias-float.h>.
21771 (lrintf): Define using libm_alias_float.
21772 (llrintf): Likewise.
21773 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
21774 <libm-alias-float.h>.
21775 (nearbyintf): Define using libm_alias_float.
21776 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
21777 <libm-alias-float.h>.
21778 (rintf): Define using libm_alias_float.
21779 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
21780 <libm-alias-float.h>.
21781 (truncf): Define using libm_alias_float.
21782 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
21783 <libm-alias-float.h>.
21784 (copysignf): Define using libm_alias_float.
21785 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
21786 <libm-alias-float.h>.
21787 (fabsf): Define using libm_alias_float.
21788 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
21789 <libm-alias-float.h>.
21790 (lrintf): Define using libm_alias_float.
21791 (llrintf): Likewise.
21792 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
21793 <libm-alias-float.h>.
21794 (nearbyintf): Define using libm_alias_float.
21795 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
21796 <libm-alias-float.h>.
21797 (rintf): Define using libm_alias_float.
21798
21799 2017-11-29 Joseph Myers <joseph@codesourcery.com>
21800
21801 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
21802 <libm-alias-double.h>.
21803 (copysign): Define using libm_alias_double.
21804 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
21805 <libm-alias-double.h>.
21806 (fabs): Define using libm_alias_double.
21807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21808 Include <libm-alias-double.h>.
21809 (copysign): Define using libm_alias_double.
21810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
21811 <libm-alias-double.h>.
21812 (fabs): Define using libm_alias_double.
21813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
21814 <libm-alias-double.h>.
21815 (fdim): Define using libm_alias_double.
21816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
21817 <libm-alias-double.h>.
21818 (fma): Define using libm_alias_double.
21819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
21820 <libm-alias-double.h>.
21821 (llrint): Define using libm_alias_double.
21822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
21823 Include <libm-alias-double.h>.
21824 (nearbyint): Define using libm_alias_double.
21825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
21826 <libm-alias-double.h>.
21827 (rint): Define using libm_alias_double.
21828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21829 <libm-alias-double.h>.
21830 (fabs): Define using libm_alias_double.
21831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
21832 <libm-alias-double.h>.
21833 (llrint): Define using libm_alias_double.
21834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
21835 <libm-alias-double.h>.
21836 (nearbyint): Define using libm_alias_double.
21837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
21838 <libm-alias-double.h>.
21839 (rint): Define using libm_alias_double.
21840 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
21841 <libm-alias-double.h>.
21842 (ceil): Define using libm_alias_double.
21843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
21844 <libm-alias-double.h>.
21845 (floor): Define using libm_alias_double.
21846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
21847 <libm-alias-double.h>.
21848 (fma): Define using libm_alias_double.
21849 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
21850 <libm-alias-double.h>.
21851 (lrint): Define using libm_alias_double.
21852 (llrint): Likewise.
21853 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
21854 <libm-alias-double.h>.
21855 (nearbyint): Define using libm_alias_double.
21856 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
21857 <libm-alias-double.h>.
21858 (rint): Define using libm_alias_double.
21859 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
21860 <libm-alias-double.h>.
21861 (trunc): Define using libm_alias_double.
21862 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
21863 <libm-alias-double.h>.
21864 (copysign): Define using libm_alias_double.
21865 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
21866 <libm-alias-double.h>.
21867 (fabs): Define using libm_alias_double.
21868 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
21869 <libm-alias-double.h>.
21870 (lrint): Define using libm_alias_double.
21871 (llrint): Likewise.
21872 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
21873 <libm-alias-double.h>.
21874 (nearbyint): Define using libm_alias_double.
21875 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
21876 <libm-alias-double.h>.
21877 (rint): Define using libm_alias_double.
21878
21879 [BZ #22229]
21880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
21881 <math_ldbl_opt.h>.
21882 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
21883
21884 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21885 SPARC --disable-multi-arch glibc variants.
21886
21887 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
21888 <libm-alias-float.h>.
21889 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21890 if [SHARED].
21891 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
21892 <libm-alias-float.h>.
21893 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21894 if [SHARED].
21895 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
21896 <libm-alias-float.h>.
21897 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21898 if [SHARED].
21899 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
21900 <libm-alias-float.h>.
21901 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21902 if [SHARED].
21903 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
21904 <libm-alias-float.h>.
21905 (exp2f): Define using libm_alias_float, or libm_alias_float_other
21906 if [SHARED].
21907 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
21908 <libm-alias-float.h>.
21909 (ceilf): Define using libm_alias_float.
21910 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
21911 <libm-alias-float.h>.
21912 (floorf): Define using libm_alias_float.
21913 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
21914 <libm-alias-float.h>.
21915 (fmaf): Define using libm_alias_float.
21916 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
21917 <libm-alias-float.h>.
21918 (nearbyintf): Define using libm_alias_float.
21919 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
21920 <libm-alias-float.h>.
21921 (rintf): Define using libm_alias_float.
21922 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
21923 <libm-alias-float.h>.
21924 (truncf): Define using libm_alias_float.
21925 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
21926 (copysignf): Define using libm_alias_float.
21927 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
21928 (cosf): Define using libm_alias_float.
21929 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
21930 (fabsf): Define using libm_alias_float.
21931 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
21932 (fmaxf): Define using libm_alias_float.
21933 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
21934 (fminf): Define using libm_alias_float.
21935 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
21936 (llrintf): Define using libm_alias_float.
21937 [!__ILP32__] (lrintf): Likewise.
21938 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
21939 (sincosf): Define using libm_alias_float.
21940 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
21941 (sinf): Define using libm_alias_float.
21942 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
21943 (lrintf): Define using libm_alias_float.
21944
21945 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
21946 <libm-alias-double.h>.
21947 (atan): Define using libm_alias_double.
21948 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
21949 <libm-alias-double.h>.
21950 (ceil): Define using libm_alias_double.
21951 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
21952 <libm-alias-double.h>.
21953 (floor): Define using libm_alias_double.
21954 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
21955 <libm-alias-double.h>.
21956 (fma): Define using libm_alias_double.
21957 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
21958 <libm-alias-double.h>.
21959 (nearbyint): Define using libm_alias_double.
21960 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
21961 <libm-alias-double.h>.
21962 (rint): Define using libm_alias_double.
21963 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
21964 <libm-alias-double.h>.
21965 (sin): Define using libm_alias_double.
21966 (cos): Likewise.
21967 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
21968 <libm-alias-double.h>.
21969 (tan): Define using libm_alias_double.
21970 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
21971 <libm-alias-double.h>.
21972 (trunc): Define using libm_alias_double.
21973 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
21974 (copysign): Define using libm_alias_double.
21975 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
21976 (fabs): Define using libm_alias_double.
21977 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
21978 (fmax): Define using libm_alias_double.
21979 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
21980 (fmin): Define using libm_alias_double.
21981 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
21982 (llrint): Define using libm_alias_double.
21983 [!__ILP32__] (lrint): Likewise.
21984 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
21985 (lrint): Define using libm_alias_double.
21986
21987 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21988
21989 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
21990 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
21991 objects.
21992 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
21993 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
21994 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
21995 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
21996 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
21997 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21998
21999 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22000 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22001 objects.
22002 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22003 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22004 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22005 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22006 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22007 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22008
22009 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22010 (libm-sysdep_routines): Add s_nearbyint-generic and
22011 s_nearbyintf-generic objects.
22012 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22013 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22014 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22015 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22016 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22017 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22018
22019 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22020 Add s_finitef-generic and s_finite-generic objects.
22021 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22022 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22023 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22024 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22025 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22026 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22027
22028 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22029 Add s_isinff-generic and s_isinf-generic objects.
22030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22036
22037 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22038 Add s_isnanf-generic and s_isnan-generic objects.
22039 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22040 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22041 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22042 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22043 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22044 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22045
22046 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22047 macro.
22048 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22049 rule.
22050 (sysdep_routines): Use sysdep_calls as base.
22051 (libm-sysdep_routines): Add generic rule for symbols shared with
22052 libc. Add s_signbit-generic and s_signbitf-generic objects.
22053 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22054 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22055 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22056 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22057 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22058 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22059
22060 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22061
22062 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22063 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22064 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22065 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22066 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22067 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22068 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22069 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22070 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22071 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22072 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22073 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22074 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22075 libm_alias_float_r.
22076 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22077 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22078 (logf): Likewise.
22079 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22080 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22081 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22082 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22083 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22084 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22085 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22086 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22087 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22088 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22089 libm_alias_float.
22090 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
22091 (cosf): Likewise.
22092 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
22093 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
22094 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
22095 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
22096 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
22097 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
22098 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
22099 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
22100 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
22101 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
22102 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
22103 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
22104 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
22105 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
22106 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
22107 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
22108 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
22109 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
22110 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
22111 libm_alias_float.
22112 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
22113 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
22114 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
22115 * sysdeps/ia64/fpu/w_lgammaf_main.c
22116 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
22117 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
22118
22119 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22120 Alexandre Oliva <aoliva@redhat.com>
22121
22122 [BZ #17750]
22123 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
22124 * localedata/fr_CA.UTF-8.in: New file with test data for backward
22125 accents sorting.
22126 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
22127 sorting.
22128 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
22129 * localedata/locales/de_DE (LC_COLLATE): Likewise.
22130 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
22131 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
22132 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
22133 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
22134 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
22135 instead of “ifdef DIACRIT_BACKWARD”.
22136
22137 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22138
22139 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
22140 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
22141 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
22142 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
22143 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
22144 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
22145 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
22146 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
22147 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
22148 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
22149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
22150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
22151 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
22152 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
22153 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
22154 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22155 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
22156 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
22157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22158 ($(have-as-vis3) == yes): Remove conditional.
22159 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
22160 Likewise.
22161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
22162 file.
22163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
22164 file.
22165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
22166 file.
22167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
22168 file.
22169 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
22170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
22171 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
22172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22175 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22176 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22177
22178 2017-11-29 Joseph Myers <joseph@codesourcery.com>
22179
22180 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22181 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22182 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22183 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22184 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22185 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22186 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22187 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22188 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22189 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22190 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22191 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22192 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22193 libm_alias_double_r.
22194 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22195 (log): Likewise.
22196 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22197 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22198 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22199 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22200 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22201 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22202 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22203 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22204 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22205 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22206 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22207 libm_alias_double.
22208 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22209 (cos): Likewise.
22210 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22211 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22212 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22213 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22214 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22215 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22216 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22217 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22218 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22219 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22220 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22221 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22222 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22223 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22224 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22225 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22226 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22227 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22228 libm_alias_double.
22229 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22230 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22231 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22232 * sysdeps/ia64/fpu/w_lgamma_main.c
22233 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22234 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22235
22236 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
22237
22238 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22239 address of $global$ into %dp register earlier. Use pc-relative
22240 instruction sequence for PIC case.
22241
22242 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22243
22244 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22245 (asinhf): Define using libm_alias_float.
22246 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22247 (atanf): Define using libm_alias_float.
22248 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22249 (cbrtf): Define using libm_alias_float.
22250 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22251 (ceilf): Define using libm_alias_float.
22252 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22253 (copysignf): Define using libm_alias_float.
22254 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22255 (expm1f): Define using libm_alias_float.
22256 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22257 (fabsf): Define using libm_alias_float.
22258 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22259 (floorf): Define using libm_alias_float.
22260 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22261 (fmaxf): Define using libm_alias_float.
22262 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22263 (fminf): Define using libm_alias_float.
22264 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22265 (frexpf): Define using libm_alias_float.
22266 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22267 (llrintf): Define using libm_alias_float.
22268 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22269 (logbf): Define using libm_alias_float.
22270 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22271 (lrintf): Define using libm_alias_float.
22272 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22273 (nearbyintf): Define using libm_alias_float.
22274 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22275 (remquof): Define using libm_alias_float.
22276 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22277 (rintf): Define using libm_alias_float.
22278 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22279 (truncf): Define using libm_alias_float.
22280 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22281 <libm-alias-float.h>.
22282 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22283 if [SHARED].
22284 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22285 <libm-alias-float.h>.
22286 (expf): Define using libm_alias_float, or libm_alias_float_other
22287 if [SHARED].
22288 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22289 <libm-alias-float.h>.
22290 (log2f): Define using libm_alias_float, or libm_alias_float_other
22291 if [SHARED].
22292 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22293 <libm-alias-float.h>.
22294 (logf): Define using libm_alias_float, or libm_alias_float_other
22295 if [SHARED].
22296 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22297 <libm-alias-float.h>.
22298 (powf): Define using libm_alias_float, or libm_alias_float_other
22299 if [SHARED].
22300 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22301 <libm-alias-float.h>.
22302 (cosf): Define using libm_alias_float.
22303 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22304 <libm-alias-float.h>.
22305 (sincosf): Define using libm_alias_float.
22306 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22307 <libm-alias-float.h>.
22308 (sinf): Define using libm_alias_float.
22309 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22310 (fmaxf): Define using libm_alias_float.
22311 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22312 (fminf): Define using libm_alias_float.
22313 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22314 <libm-alias-float.h>.
22315 (fmaf): Define using libm_alias_float.
22316
22317 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
22318 (asinh): Define using libm_alias_double.
22319 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
22320 (atan): Define using libm_alias_double.
22321 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
22322 (cbrt): Define using libm_alias_double.
22323 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
22324 (ceil): Define using libm_alias_double.
22325 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22326 (copysign): Define using libm_alias_double.
22327 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22328 (expm1): Define using libm_alias_double.
22329 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22330 (fabs): Define using libm_alias_double.
22331 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
22332 (fdim): Define using libm_alias_double.
22333 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
22334 (floor): Define using libm_alias_double.
22335 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
22336 (fmax): Define using libm_alias_double.
22337 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
22338 (fmin): Define using libm_alias_double.
22339 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
22340 (frexp): Define using libm_alias_double.
22341 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
22342 (llrint): Define using libm_alias_double.
22343 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
22344 (logb): Define using libm_alias_double.
22345 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
22346 (lrint): Define using libm_alias_double.
22347 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
22348 (nearbyint): Define using libm_alias_double.
22349 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
22350 (remquo): Define using libm_alias_double.
22351 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
22352 (rint): Define using libm_alias_double.
22353 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
22354 (trunc): Define using libm_alias_double.
22355 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
22356 (fmax): Define using libm_alias_double.
22357 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
22358 (fmin): Define using libm_alias_double.
22359 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
22360 (fma): Define using libm_alias_double.
22361
22362 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
22363
22364 [BZ #22370]
22365 * elf/dl-hwcaps.c (ROUND): Removed.
22366 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
22367 and ELF_NOTE_NEXT_OFFSET.
22368 * elf/dl-load.c (ROUND): Removed.
22369 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22370 * elf/readelflib.c (ROUND): Removed.
22371 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22372 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
22373 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
22374 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
22375
22376 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22377
22378 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22379 [!__fmaf] (fmaf): Define using libm_alias_float.
22380
22381 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
22382 [!__fma] (fma): Define using libm_alias_double.
22383 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
22384
22385 2017-11-28 Mike FABIAN <mfabian@redhat.com>
22386
22387 [BZ #22336]
22388 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
22389 and implement the collation rules for cs from CLDR on top of that.
22390 * Makefile: Add cs_CZ.UTF-8 to test-input.
22391 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
22392
22393 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
22394
22395 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
22396
22397 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22398 Icarus Sparry <icarus.w.sparry@intel.com>
22399
22400 * benchtests/Makefile:Add BENCHSET to allow subsets of
22401 benchmarks to be run.
22402 * benchtests/README: Add documentation for: Running subsets of
22403 benchmarks.
22404
22405 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22406
22407 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
22408 range of tests names.
22409
22410 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
22411 result from property and remove "max", min" and "mean" from
22412 required properties based on benchtests/bench-skeleton.c.
22413
22414 2017-11-28 Florian Weimer <fweimer@redhat.com>
22415
22416 [BZ #20826]
22417 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
22418 due to Internet requirement.
22419 * posix/Makefile (tests): Remove tst-getaddrinfo4,
22420 tst-getaddrinfo5.
22421 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
22422
22423 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22424
22425 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22426 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
22427 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22428 (sysdep_routines): Add memset-ultra1.
22429 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
22430 file.
22431 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
22432 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
22433 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
22434 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
22435 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
22436 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
22437 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
22438 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22439
22440 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
22441 file.
22442 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
22443 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
22444 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
22445 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
22446 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
22447 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
22448 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
22449 macro.
22450 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22451 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
22452 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22453 (sysdep_routines): Add memcpy-ultra1.
22454 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
22455 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
22456
22457 2017-11-28 Joseph Myers <joseph@codesourcery.com>
22458
22459 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
22460 (cfloat_versions): Take function argument without trailing 'f'.
22461 Call libm_alias_float_other.
22462 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
22463 * sysdeps/alpha/fpu/cargf.c: Likewise.
22464 * sysdeps/alpha/fpu/cimagf.c: Likewise.
22465 * sysdeps/alpha/fpu/conjf.c: Likewise.
22466 * sysdeps/alpha/fpu/crealf.c: Likewise.
22467 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
22468 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
22469 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
22470 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
22471 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
22472 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
22473 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
22474 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
22475 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
22476 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
22477 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22478 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
22479 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
22480 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
22481 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
22482 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
22483 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
22484 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
22485 (clog10f): Use libm_alias_float_other.
22486 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22487 (ceilf): Define using libm_alias_float.
22488 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
22489 (copysignf): Define using libm_alias_float.
22490 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22491 (fabsf): Define using libm_alias_float.
22492 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
22493 (floorf): Define using libm_alias_float.
22494 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
22495 (fmaxf): Define using libm_alias_float.
22496 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
22497 (fminf): Define using libm_alias_float.
22498 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22499 (lrintf): Define using libm_alias_float.
22500 (llrintf): Likewise.
22501 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22502 (lroundf): Define using libm_alias_float.
22503 (llroundf): Likewise.
22504 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
22505 (rintf): Define using libm_alias_float.
22506 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
22507 (truncf): Define using libm_alias_float.
22508
22509 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22510 (ceilf): Define using libm_alias_float.
22511 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
22512 (floorf): Define using libm_alias_float.
22513 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22514 (fmaf): Define using libm_alias_float.
22515 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
22516 (fmaxf): Define using libm_alias_float.
22517 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
22518 (fminf): Define using libm_alias_float.
22519 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
22520 (llrintf): Define using libm_alias_float.
22521 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
22522 (llroundf): Define using libm_alias_float.
22523 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22524 (lrintf): Define using libm_alias_float.
22525 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22526 (lroundf): Define using libm_alias_float.
22527 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
22528 <libm-alias-float.h>.
22529 (nearbyintf): Define using libm_alias_float.
22530 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
22531 (rintf): Define using libm_alias_float.
22532 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
22533 (roundf): Define using libm_alias_float.
22534 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
22535 (truncf): Define using libm_alias_float.
22536
22537 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
22538 (ceil): Define using libm_alias_double.
22539 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
22540 (copysign): Define using libm_alias_double.
22541 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
22542 (fabs): Define using libm_alias_double.
22543 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
22544 (floor): Define using libm_alias_double.
22545 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
22546 (fmax): Define using libm_alias_double.
22547 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
22548 (fmin): Define using libm_alias_double.
22549 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
22550 (lrint): Define using libm_alias_double.
22551 (llrint): Likewise.
22552 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
22553 (lround): Define using libm_alias_double.
22554 (llround): Likewise.
22555 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
22556 (rint): Define using libm_alias_double.
22557 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
22558 (trunc): Define using libm_alias_double.
22559
22560 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22561 (libm_alias_double_r): Add semicolon after weak_alias call.
22562
22563 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22564
22565 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
22566 (ceil): Define using libm_alias_double.
22567 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
22568 (floor): Define using libm_alias_double.
22569 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
22570 (fma): Define using libm_alias_double.
22571 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
22572 (fmax): Define using libm_alias_double.
22573 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
22574 (fmin): Define using libm_alias_double.
22575 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
22576 (llrint): Define using libm_alias_double.
22577 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
22578 (llround): Define using libm_alias_double.
22579 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
22580 (lrint): Define using libm_alias_double.
22581 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
22582 (lround): Define using libm_alias_double.
22583 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
22584 (nearbyint): Define using libm_alias_double.
22585 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
22586 (rint): Define using libm_alias_double.
22587 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
22588 (round): Define using libm_alias_double.
22589 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
22590 (trunc): Define using libm_alias_double.
22591
22592 2017-11-27 Florian Weimer <fweimer@redhat.com>
22593
22594 * sysdeps/unix/sysv/linux/mlock2.c: New file.
22595 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
22596 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
22597 (tests): Add tst-mlock2.
22598 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
22599 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
22600 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
22601 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
22602 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
22603 for mlock. Document mlock2.
22604
22605 2017-11-27 Joseph Myers <joseph@codesourcery.com>
22606
22607 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
22608 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
22609 Likewise.
22610 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
22611 Likewise.
22612 * sysdeps/x86/Makeconfig: New file.
22613 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
22614 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22615 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
22616 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22617 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22618 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22619 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
22620 Likewise.
22621 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22622 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22623 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22624 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22625 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22626 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
22627 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
22628 * manual/math.texi (Mathematics): Document support for _Float64x.
22629 * math/Versions (GLIBC_2.27): Add _Float64x functions.
22630 * stdlib/Versions (GLIBC_2.27): Likewise.
22631 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22632 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22633 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22634 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22635 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22636 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22637 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22638 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22639 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22640 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22641 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22642 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22644 Likewise.
22645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22646 Likewise.
22647 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22648 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22649 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22650 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22651 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22652 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22653 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22654 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22655 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22656 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22657 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22658 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22659 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22660 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22661
22662 2017-11-27 Andreas Schwab <schwab@suse.de>
22663
22664 * elf/Makefile (dl-routines): Add dl-sort-maps.
22665 * elf/dl-sort-maps.c: New file.
22666 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
22667 (_dl_sort_maps): Declare.
22668 * elf/dl-fini.c (_dl_sort_fini): Remove.
22669 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
22670 * elf/dl-close.c (_dl_close_worker): Likewise.
22671 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
22672 open-coding it.
22673 * elf/dl-open.c (dl_open_worker): Likewise.
22674
22675 2017-11-24 Joseph Myers <joseph@codesourcery.com>
22676
22677 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
22678 using libm_alias_float128.
22679 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
22680 Likewise.
22681 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
22682 Likewise.
22683 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
22684 (setpayloadsigf128): Likewise.
22685 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
22686 Likewise.
22687 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
22688 Likewise.
22689
22690 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
22691 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
22692 -mfloat128 to CFLAGS.
22693 ($(foreach
22694 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
22695 Likewise.
22696 (CFLAGS-libm-test-support-float64x.c): New variable.
22697 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
22698 $(f128-loader-link) to gnulib-tests.
22699
22700 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
22701 (libm_alias_float128_other_r): If
22702 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
22703 alias.
22704 (libm_alias_float128_r): Add semicolon after weak_alias call.
22705 * sysdeps/generic/libm-alias-ldouble.h
22706 (libm_alias_ldouble_other_r_f128): New macro.
22707 (libm_alias_ldouble_other_r_f64x): Likewise.
22708 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22709 and libm_alias_ldouble_other_r_f64x.
22710 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
22711 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22712 (libm_alias_ldouble_other_r_f128): New macro.
22713 (libm_alias_ldouble_other_r_f64x): Likewise.
22714 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
22715 and libm_alias_ldouble_other_r_f64x.
22716
22717 * stdlib/strfroml.c: Always include <stdlib.h>.
22718 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
22719 undefine as macro and define as weak alias.
22720 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
22721 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
22722 <stdlib.h>.
22723 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
22724 Define and later undefine as macro and define as weak alias.
22725
22726 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22727 Define and later undefine as macro. Define as weak alias if
22728 [!USE_WIDE_CHAR].
22729 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
22730 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22731 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
22732 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
22733 Define and later undefine as macro. Define as weak alias if
22734 [!USE_WIDE_CHAR].
22735 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
22736 Define and later undefine as macro. Define as weak alias if
22737 [USE_WIDE_CHAR].
22738 * sysdeps/ieee754/float128/strtof128_l.c
22739 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
22740 Define and later undefine as macro. Define as weak alias if
22741 [!USE_WIDE_CHAR].
22742 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
22743 Define and later undefine as macro. Define as weak alias if
22744 [USE_WIDE_CHAR].
22745 * sysdeps/ieee754/ldbl-128/strtold_l.c
22746 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22747 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22748 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22749 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22750 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
22751 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22752 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22753 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22754 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22755 * sysdeps/ieee754/ldbl-96/strtold_l.c
22756 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
22757 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22758 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
22759 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
22760
22761 * math/test-float64x.h: New file.
22762 * math/Makefile (type-float64x-yes): New variable.
22763 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
22764
22765 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
22766 function-like macro.
22767 (min_of_type_): Likewise.
22768 (min_of_type_l): Likewise.
22769 (min_of_type_f128): Likewise.
22770 (min_of_type): Pass () as last argument of __MATH_TG.
22771
22772 * stdlib/tst-strtod-round-skeleton.c
22773 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
22774 headers.
22775
22776 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
22777 for combinations of long double with _Float64 and _Float64x.
22778
22779 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
22780 (__DECL_SIMD_cosf32): Likewise.
22781 (__DECL_SIMD_cosf64): Likewise.
22782 (__DECL_SIMD_cosf32x): Likewise.
22783 (__DECL_SIMD_cosf64x): Likewise.
22784 (__DECL_SIMD_cosf128x): Likewise.
22785 (__DECL_SIMD_sinf16): Likewise.
22786 (__DECL_SIMD_sinf32): Likewise.
22787 (__DECL_SIMD_sinf64): Likewise.
22788 (__DECL_SIMD_sinf32x): Likewise.
22789 (__DECL_SIMD_sinf64x): Likewise.
22790 (__DECL_SIMD_sinf128x): Likewise.
22791 (__DECL_SIMD_sincosf16): Likewise.
22792 (__DECL_SIMD_sincosf32): Likewise.
22793 (__DECL_SIMD_sincosf64): Likewise.
22794 (__DECL_SIMD_sincosf32x): Likewise.
22795 (__DECL_SIMD_sincosf64x): Likewise.
22796 (__DECL_SIMD_sincosf128x): Likewise.
22797 (__DECL_SIMD_logf16): Likewise.
22798 (__DECL_SIMD_logf32): Likewise.
22799 (__DECL_SIMD_logf64): Likewise.
22800 (__DECL_SIMD_logf32x): Likewise.
22801 (__DECL_SIMD_logf64x): Likewise.
22802 (__DECL_SIMD_logf128x): Likewise.
22803 (__DECL_SIMD_expf16): Likewise.
22804 (__DECL_SIMD_expf32): Likewise.
22805 (__DECL_SIMD_expf64): Likewise.
22806 (__DECL_SIMD_expf32x): Likewise.
22807 (__DECL_SIMD_expf64x): Likewise.
22808 (__DECL_SIMD_expf128x): Likewise.
22809 (__DECL_SIMD_powf16): Likewise.
22810 (__DECL_SIMD_powf32): Likewise.
22811 (__DECL_SIMD_powf64): Likewise.
22812 (__DECL_SIMD_powf32x): Likewise.
22813 (__DECL_SIMD_powf64x): Likewise.
22814 (__DECL_SIMD_powf128x): Likewise.
22815
22816 * stdlib/Versions (libc): Move entries for wcstof128 and
22817 wcstof128_l to ....
22818 * wcsmbs/Versions (libc): ... here.
22819 Include <float128-abi.h>.
22820
22821 2017-11-24 Florian Weimer <fweimer@redhat.com>
22822
22823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22824 bits/mman-shared.h.
22825 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
22826 <bits/mman-shared.h>.
22827 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
22828 to ...
22829 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
22830 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
22831 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
22832 <bits/mman-shared.h>.
22833
22834 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22835
22836 [BZ #22457]
22837 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
22838 posix_memalign/free.
22839 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
22840
22841 2017-11-22 Mike FABIAN <mfabian@redhat.com>
22842
22843 [BZ #22469]
22844 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
22845 and implement the collation rules for pl from CLDR on top of that.
22846 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
22847 of locales to be built for testing.
22848 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
22849
22850 2017-11-23 Joseph Myers <joseph@codesourcery.com>
22851
22852 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
22853 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
22854 libm_alias_ldouble_other.
22855 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
22856 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
22857 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
22858 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
22859 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
22860 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
22861 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
22862 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
22863 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
22864 libm_alias_ldouble_r.
22865 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
22866 libm_alias_ldouble_other.
22867 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
22868 (log10l): Likewise.
22869 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
22870 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
22871 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
22872 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
22873 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
22874 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
22875 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
22876 (atan2l): Likewise.
22877 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
22878 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
22879 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
22880 libm_alias_ldouble.
22881 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
22882 (cosl): Likewise.
22883 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
22884 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
22885 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
22886 (expl): Likewise.
22887 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
22888 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
22889 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
22890 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
22891 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
22892 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
22893 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
22894 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
22895 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
22896 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
22897 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
22898 libm_alias_ldouble.
22899 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
22900 libm_alias_ldouble_other.
22901 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
22902 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
22903 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
22904 libm_alias_ldouble.
22905 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
22906 libm_alias_ldouble_other.
22907 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
22908 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
22909 * sysdeps/ia64/fpu/w_lgammal_main.c
22910 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
22911 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
22912
22913 2017-11-23 Florian Weimer <fweimer@redhat.com>
22914
22915 * malloc/malloc.c (tcache_thread_shutdown): Rename from
22916 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
22917 alike. Remove freeres marker.
22918 * malloc/arena.c (arena_thread_freeres): Call
22919 tcache_thread_shutdown.
22920
22921 2017-11-23 Florian Weimer <fweimer@redhat.com>
22922
22923 [BZ #22459]
22924 Export nscd hash function as __nss_hash.
22925 * include/nss.h (__nss_hash): Declare.
22926 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
22927 symbol.
22928 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
22929 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
22930 of __nscd_hash.
22931 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
22932 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
22933 * nss/Makefiles (routines): Add nss_hash.
22934 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
22935 * nss/nss_hash.c: Rename from nis/nis_hash.c.
22936 (__nss_hash): Rename from __nis_hash. Define hidden alias.
22937 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
22938
22939 2017-11-23 Florian Weimer <fweimer@redhat.com>
22940
22941 [BZ #22478]
22942 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
22943 Return error code, not -1.
22944 * signal/tst-sigwait-eintr.c: New file.
22945 * signal/Makefile (tests): Add tst-sigwait-eintr.
22946
22947 2017-11-23 Florian Weimer <fweimer@redhat.com>
22948
22949 Linux: Add memfd_create system call wrapper
22950 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
22951 tst-memfd_create.
22952 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
22953 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
22954 [__USE_GNU] (memfd_create): Declare.
22955 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
22956 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
22957 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
22958 * sysdeps/unix/sysv/linux/**.abilist: Update.
22959 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
22960
22961 2017-11-22 Joseph Myers <joseph@codesourcery.com>
22962
22963 * localedata/gen-locale.sh: Fix typo in variable name.
22964
22965 * resolv/res_debug.c (p_secstodate): Condition definition on
22966 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
22967 directly as __p_secstodate, and as a compat symbol. Do not use
22968 libresolv_hidden_def.
22969 * resolv/resolv.h (p_secstodate): Remove macro and function
22970 declaration.
22971 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
22972 using p_secstodate.
22973 * include/resolv.h (__p_secstodate): Do not use
22974 libresolv_hidden_proto.
22975 * resolv/Makefile (tests): Move tst-p_secstodate to ....
22976 (tests-internal): ... here.
22977 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
22978 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
22979 and declare and use __p_secstodate and use compat_symbol_reference
22980 in that case.
22981 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
22982 implementation returning 77.
22983
22984 [BZ #22463]
22985 * resolv/res_debug.c: Include <libc-diag.h>.
22986 (p_secstodate): Assert time_t at least as wide as u_long. On
22987 overflow, use integer seconds since the epoch as output, or use
22988 "<overflow>" as output and set errno to EOVERFLOW if integer
22989 seconds since the epoch would be 14 or more characters.
22990 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
22991 for sprintf call.
22992 * resolv/tst-p_secstodate.c: New file.
22993 * resolv/Makefile (tests): Add tst-p_secstodate.
22994 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
22995
22996 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
22997 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22998 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
22999
23000 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23001
23002 * posix/regcomp.c (init_word_char): Add comments.
23003
23004 2017-11-22 Joseph Myers <joseph@codesourcery.com>
23005
23006 [BZ #22447]
23007 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23008 strlen to compute length of ut_user and set trailing NUL byte of
23009 result explicitly.
23010
23011 2017-11-21 Mike FABIAN <mfabian@redhat.com>
23012
23013 [BZ #15537]
23014 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23015 using “copy "iso14651_t1"” and then implementing the
23016 collation rules for lv from CLDR on top of that.
23017 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23018 of locales to be built for testing.
23019 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23020 sorting.
23021
23022 2017-11-21 Joseph Myers <joseph@codesourcery.com>
23023
23024 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23025 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23026 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23027 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23028 [__USE_MISC] (MADV_HWPOISON): New macro.
23029 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23030
23031 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23032
23033 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23034 -Wmissing-braces on GCC 4.9.
23035
23036 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23037
23038 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23039 * sysdeps/s390/s390-32/start.S (_start): Likewise
23040 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23041 (thread_start): Likewise.
23042 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23043 (thread_start): Likewise.
23044 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23045 (__makecontext_ret): Likewise.
23046 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23047 (__makecontext_ret): Likewise.
23048
23049 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23050
23051 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23052 __wcschrnul): Remove attribute_hidden.
23053
23054 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23055
23056 regex: don't assume uint64_t or uint32_t
23057 This avoids -Werror=overflow errors for 32-bit systems in
23058 the 64-bit case. Problem reported by Joseph Myers in:
23059 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23060 Also, when this code is used in Gnulib it ports to platforms
23061 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23062 them, and on some 32-bit compilers there is no uint64_t.
23063 Problem reported by Gianluigi Tiesi in:
23064 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23065 * posix/regcomp.c (init_word_char): Don't assume that the types
23066 uint64_t and uint32_t exist. Adapted from Gnulib patch
23067 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23068 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23069
23070 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23071
23072 * sysdeps/aarch64/memset-reg.h: New file.
23073 * sysdeps/aarch64/memset.S: Use it.
23074 (__memset): Rename to MEMSET macro.
23075 [ZVA_MACRO]: Use zva_macro.
23076 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23077 Add memset_generic and memset_falkor.
23078 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23079 (__libc_ifunc_impl_list): Add memset ifuncs.
23080 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23081 local variable zva_size.
23082 * sysdeps/aarch64/multiarch/memset.c: New file.
23083 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23084 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23085 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23086 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23087 (DCZID_DZP_MASK): New macro.
23088 (DCZID_BS_MASK): Likewise.
23089 (init_cpu_features): Read and set zva_size.
23090 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
23091 (struct cpu_features): New member zva_size.
23092
23093 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
23094 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
23095 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
23096
23097 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
23098 backwards. Fix timing computation.
23099 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
23100 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
23101 on memset by N at a time. Fix timing computation.
23102
23103 2017-11-20 Florian Weimer <fweimer@redhat.com>
23104
23105 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
23106 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
23107
23108 2017-11-19 Florian Weimer <fweimer@redhat.com>
23109
23110 manual: Document mprotect
23111 * manual/memory.texi (Memory Protection): New section.
23112 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
23113 documentation of PROT_* flags and reference the Memory Protection
23114 section instead.
23115
23116 2017-11-19 Florian Weimer <fweimer@redhat.com>
23117
23118 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
23119 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
23120 (Scatter-Gather): ... to here. Remove misleading comment.
23121
23122 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
23123
23124 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
23125 style.
23126
23127 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
23128 when /proc/<pid>/setgroups does not exist.
23129
23130 2017-11-18 Florian Weimer <fweimer@redhat.com>
23131
23132 * sysdeps/unix/sysv/linux/tst-ttyname.c
23133 (become_root_in_mount_ns): Remove.
23134 (do_in_chroot_1): Call support_enter_mount_namespace.
23135 (do_in_chroot_2): Likewise.
23136 (do_test): Call support_become_root early.
23137
23138 2017-11-18 Florian Weimer <fweimer@redhat.com>
23139
23140 * support/namespace.h (support_enter_mount_namespace): Declare.
23141 * support/support_enter_mount_namespace.c: New file.
23142 * support/Makefile (libsupport-routines): Add
23143 support_enter_mount_namespace.
23144
23145 2017-11-18 Florian Weimer <fweimer@redhat.com>
23146
23147 * support/temp_file.c (support_create_temp_directory): Use
23148 test_dir and do not rely on the presence of the XXXXXX suffix.
23149 * support/temp_file.h (support_create_temp_directory): Update
23150 comment.
23151 * support/tst-xreadlink.c (do_test): Adjust.
23152 * support/support_chroot.c (support_chroot_create): Likewise.
23153
23154 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23155
23156 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
23157 macro.
23158 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
23159 htm-no-suspend.
23160
23161 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23162
23163 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23164 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23165 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23166 (ceill): Define using libm_alias_ldouble.
23167 * sysdeps/x86_64/fpu/s_copysignl.S: Include
23168 <libm-alias-ldouble.h>.
23169 (copysignl): Define using libm_alias_ldouble.
23170 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23171 (fabsl): Define using libm_alias_ldouble.
23172 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23173 (floorl): Define using libm_alias_ldouble.
23174 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23175 (fmaxl): Define using libm_alias_ldouble.
23176 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23177 (fminl): Define using libm_alias_ldouble.
23178 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23179 (llrintl): Define using libm_alias_ldouble.
23180 (lrintl): Likewise.
23181 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23182 <libm-alias-ldouble.h>.
23183 (nearbyintl): Define using libm_alias_ldouble.
23184 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23185 (truncl): Define using libm_alias_ldouble.
23186 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23187 <libm-alias-ldouble.h>.
23188 (lrintl): Define using libm_alias_ldouble.
23189
23190 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23191 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23192 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23193 (asinhl): Define using libm_alias_ldouble.
23194 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23195 (atanl): Define using libm_alias_ldouble.
23196 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23197 (cbrtl): Define using libm_alias_ldouble.
23198 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23199 (ceill): Define using libm_alias_ldouble.
23200 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23201 (copysignl): Define using libm_alias_ldouble.
23202 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23203 (fabsl): Define using libm_alias_ldouble.
23204 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23205 (floorl): Define using libm_alias_ldouble.
23206 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23207 (fmaxl): Define using libm_alias_ldouble.
23208 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23209 (fminl): Define using libm_alias_ldouble.
23210 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23211 (frexpl): Define using libm_alias_ldouble.
23212 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23213 (llrintl): Define using libm_alias_ldouble.
23214 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23215 (logbl): Define using libm_alias_ldouble.
23216 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23217 (lrintl): Define using libm_alias_ldouble.
23218 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23219 (nearbyintl): Define using libm_alias_ldouble.
23220 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23221 (nextafterl): Define using libm_alias_ldouble.
23222 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23223 (remquol): Define using libm_alias_ldouble.
23224 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23225 (rintl): Define using libm_alias_ldouble.
23226 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23227 (truncl): Define using libm_alias_ldouble.
23228 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23229 (fmaxl): Define using libm_alias_ldouble.
23230 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23231 (fminl): Define using libm_alias_ldouble.
23232
23233 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23234 to C syntax instead of availability and properties of types.
23235 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23236 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23237 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23238 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23239 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23240 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23241
23242 2017-11-17 Florian Weimer <fweimer@redhat.com>
23243
23244 support_become_root: Enable file creation in namespaces.
23245 * support/support_become_root.c (setup_mapping): New function.
23246 (support_become_root): Call it.
23247
23248 2017-11-17 Joseph Myers <joseph@codesourcery.com>
23249
23250 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23251 macro.
23252
23253 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23254
23255 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23256 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23257
23258 2017-11-16 Joseph Myers <joseph@codesourcery.com>
23259
23260 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23261
23262 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23263 version to 4.14.
23264
23265 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23266
23267 * INSTALL: Fix botched up regeneration.
23268
23269 * NEWS: Update sourceare link to https.
23270 * configure.ac: Likewise.
23271 * crypt/md5test-giant.c: Likewise.
23272 * dlfcn/bug-atexit1.c: Likewise.
23273 * dlfcn/bug-atexit2.c: Likewise.
23274 * localedata/README: Likewise.
23275 * malloc/tst-mallocfork.c: Likewise.
23276 * manual/install.texi: Likewise.
23277 * nptl/tst-pthread-getattr.c: Likewise.
23278 * stdio-common/tst-fgets.c: Likewise.
23279 * stdio-common/tst-fwrite.c: Likewise.
23280 * sunrpc/Makefile: Likewise.
23281 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23282 * wcsmbs/tst-mbrtowc2.c: Likewise.
23283 * configure: Regenerate.
23284 * INSTALL: Regenerate.
23285
23286 2017-11-15 Martin Sebor <msebor@redhat.com>
23287
23288 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23289 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23290 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23291
23292 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23293
23294 [BZ #22145]
23295 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23296 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23297
23298 [BZ #22145]
23299 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23300 Defer is_pty check until end of the function.
23301 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23302
23303 [BZ #22145]
23304 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23305 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23306 (ttyname): Likewise.
23307 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23308 (__ttyname_r): Likewise.
23309
23310 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23311 int to bool.
23312
23313 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
23314
23315 * manual/terminal.texi (Is It a Terminal):
23316 Mention ENODEV for ttyname and ttyname_r.
23317
23318 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23319
23320 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23321 constant and macro.
23322
23323 * sysdeps/unix/sysv/linux/bits/mman-linux.h
23324 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23325 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23326 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23327 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23328 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23329
23330 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23331
23332 * signal/sigrelse.c (sigrelse): Optimize implementation.
23333
23334 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
23335 (__sigpause): Rely on __sigsuspend to implement single thread
23336 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
23337
23338 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23339
23340 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23341 kernel version to 4.14.
23342
23343 2017-11-15 Steve Ellcey <sellcey@cavium.com>
23344
23345 [BZ #22442]
23346 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
23347 Check if ifname is too long.
23348
23349 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23350
23351 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
23352
23353 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23354
23355 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
23356 was accidentally lost.
23357
23358 2017-11-15 Mike FABIAN <mfabian@redhat.com>
23359
23360 * localedata/locales/az_IR: Add standard copyright header.
23361
23362 2017-11-15 Florian Weimer <fweimer@redhat.com>
23363
23364 [BZ #22439]
23365 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
23366 not just the top one. Output a new "subheaps" statistic.
23367
23368 2017-11-15 Florian Weimer <fweimer@redhat.com>
23369
23370 [BZ #22408]
23371 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
23372 under the per-arena lock.
23373 * malloc/Makefile (tests): Add tst-malloc_info.
23374 (tst-malloc_info): Link with libpthread.
23375 * malloc/tst-malloc_info.c: New file.
23376
23377 2017-11-15 Joseph Myers <joseph@codesourcery.com>
23378
23379 [BZ #21660]
23380 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
23381 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
23382 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
23383 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
23384 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
23385 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
23386 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
23387 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
23388 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
23389 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23390 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
23391 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
23392 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
23393 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
23394 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
23395 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
23396 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
23397 (__floating_type): Likewise.
23398 (__real_integer_type): Likewise.
23399 (__complex_integer_type): Likewise.
23400 (__expr_is_real): Likewise.
23401 (__tgmath_real_type_sub): Likewise.
23402 (__tgmath_real_type): Likewise.
23403 (__tgmath_complex_type_sub): Likewise.
23404 (__tgmath_complex_type): Likewise.
23405 (__TGMATH_F128): Likewise.
23406 (__TGMATH_CF128): Likewise.
23407 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
23408 new macros.
23409 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23410 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
23411 Likewise.
23412 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
23413 Likewise.
23414 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
23415 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23416 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23417 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
23418 Likewise.
23419 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23420 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
23421 Likewise.
23422 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
23423 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
23424 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
23425 Likewise.
23426 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
23427 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
23428 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
23429 (cimag): Likewise.
23430 (creal): Likewise.
23431
23432 2017-11-14 Joseph Myers <joseph@codesourcery.com>
23433
23434 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
23435 for stpncpy calls for GCC 8.
23436 (test_strncat): Disable -Wstringop-truncation warning for strncat
23437 calls for GCC 8. Disable -Wstringop-overflow= warning for one
23438 strncat call for GCC 7.
23439 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
23440 calls for GCC 8.
23441 (test_memcmp): Use memcpy instead of strncpy for calls not copying
23442 trailing NUL.
23443
23444 * string/bug-strncat1.c: Include <libc-diag.h>.
23445 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
23446
23447 2017-11-13 Claude Paroz <claude@2xlibre.net>
23448
23449 [BZ #22387]
23450 * localedata/locales/aa_DJ: Improved readibility by replacing
23451 <Uxxxx> sequences in the ASCII printable range by their ASCII
23452 character equivalents.
23453 * localedata/locales/aa_ER: Likewise.
23454 * localedata/locales/aa_ER@saaho: Likewise.
23455 * localedata/locales/aa_ET: Likewise.
23456 * localedata/locales/af_ZA: Likewise.
23457 * localedata/locales/agr_PE: Likewise.
23458 * localedata/locales/ak_GH: Likewise.
23459 * localedata/locales/am_ET: Likewise.
23460 * localedata/locales/anp_IN: Likewise.
23461 * localedata/locales/ar_AE: Likewise.
23462 * localedata/locales/ar_BH: Likewise.
23463 * localedata/locales/ar_DZ: Likewise.
23464 * localedata/locales/ar_EG: Likewise.
23465 * localedata/locales/ar_IN: Likewise.
23466 * localedata/locales/ar_IQ: Likewise.
23467 * localedata/locales/ar_JO: Likewise.
23468 * localedata/locales/ar_KW: Likewise.
23469 * localedata/locales/ar_LB: Likewise.
23470 * localedata/locales/ar_LY: Likewise.
23471 * localedata/locales/ar_MA: Likewise.
23472 * localedata/locales/ar_OM: Likewise.
23473 * localedata/locales/ar_QA: Likewise.
23474 * localedata/locales/ar_SA: Likewise.
23475 * localedata/locales/ar_SD: Likewise.
23476 * localedata/locales/ar_SS: Likewise.
23477 * localedata/locales/ar_SY: Likewise.
23478 * localedata/locales/ar_TN: Likewise.
23479 * localedata/locales/ar_YE: Likewise.
23480 * localedata/locales/as_IN: Likewise.
23481 * localedata/locales/ast_ES: Likewise.
23482 * localedata/locales/ayc_PE: Likewise.
23483 * localedata/locales/az_AZ: Likewise.
23484 * localedata/locales/az_IR: Likewise.
23485 * localedata/locales/be_BY: Likewise.
23486 * localedata/locales/be_BY@latin: Likewise.
23487 * localedata/locales/bem_ZM: Likewise.
23488 * localedata/locales/ber_DZ: Likewise.
23489 * localedata/locales/ber_MA: Likewise.
23490 * localedata/locales/bg_BG: Likewise.
23491 * localedata/locales/bhb_IN: Likewise.
23492 * localedata/locales/bho_IN: Likewise.
23493 * localedata/locales/bi_VU: Likewise.
23494 * localedata/locales/bn_BD: Likewise.
23495 * localedata/locales/bn_IN: Likewise.
23496 * localedata/locales/bo_CN: Likewise.
23497 * localedata/locales/bo_IN: Likewise.
23498 * localedata/locales/br_FR: Likewise.
23499 * localedata/locales/brx_IN: Likewise.
23500 * localedata/locales/bs_BA: Likewise.
23501 * localedata/locales/byn_ER: Likewise.
23502 * localedata/locales/ca_AD: Likewise.
23503 * localedata/locales/ca_ES: Likewise.
23504 * localedata/locales/ca_FR: Likewise.
23505 * localedata/locales/ca_IT: Likewise.
23506 * localedata/locales/ce_RU: Likewise.
23507 * localedata/locales/chr_US: Likewise.
23508 * localedata/locales/cmn_TW: Likewise.
23509 * localedata/locales/crh_UA: Likewise.
23510 * localedata/locales/cs_CZ: Likewise.
23511 * localedata/locales/csb_PL: Likewise.
23512 * localedata/locales/cv_RU: Likewise.
23513 * localedata/locales/cy_GB: Likewise.
23514 * localedata/locales/da_DK: Likewise.
23515 * localedata/locales/de_AT: Likewise.
23516 * localedata/locales/de_BE: Likewise.
23517 * localedata/locales/de_CH: Likewise.
23518 * localedata/locales/de_DE: Likewise.
23519 * localedata/locales/de_IT: Likewise.
23520 * localedata/locales/de_LI: Likewise.
23521 * localedata/locales/de_LU: Likewise.
23522 * localedata/locales/doi_IN: Likewise.
23523 * localedata/locales/dv_MV: Likewise.
23524 * localedata/locales/dz_BT: Likewise.
23525 * localedata/locales/el_CY: Likewise.
23526 * localedata/locales/el_GR: Likewise.
23527 * localedata/locales/en_AG: Likewise.
23528 * localedata/locales/en_AU: Likewise.
23529 * localedata/locales/en_BW: Likewise.
23530 * localedata/locales/en_CA: Likewise.
23531 * localedata/locales/en_DK: Likewise.
23532 * localedata/locales/en_GB: Likewise.
23533 * localedata/locales/en_HK: Likewise.
23534 * localedata/locales/en_IE: Likewise.
23535 * localedata/locales/en_IL: Likewise.
23536 * localedata/locales/en_IN: Likewise.
23537 * localedata/locales/en_NG: Likewise.
23538 * localedata/locales/en_NZ: Likewise.
23539 * localedata/locales/en_PH: Likewise.
23540 * localedata/locales/en_SG: Likewise.
23541 * localedata/locales/en_US: Likewise.
23542 * localedata/locales/en_ZA: Likewise.
23543 * localedata/locales/en_ZM: Likewise.
23544 * localedata/locales/en_ZW: Likewise.
23545 * localedata/locales/eo: Likewise.
23546 * localedata/locales/es_AR: Likewise.
23547 * localedata/locales/es_BO: Likewise.
23548 * localedata/locales/es_CL: Likewise.
23549 * localedata/locales/es_CO: Likewise.
23550 * localedata/locales/es_CR: Likewise.
23551 * localedata/locales/es_CU: Likewise.
23552 * localedata/locales/es_DO: Likewise.
23553 * localedata/locales/es_EC: Likewise.
23554 * localedata/locales/es_ES: Likewise.
23555 * localedata/locales/es_GT: Likewise.
23556 * localedata/locales/es_HN: Likewise.
23557 * localedata/locales/es_MX: Likewise.
23558 * localedata/locales/es_NI: Likewise.
23559 * localedata/locales/es_PA: Likewise.
23560 * localedata/locales/es_PE: Likewise.
23561 * localedata/locales/es_PR: Likewise.
23562 * localedata/locales/es_PY: Likewise.
23563 * localedata/locales/es_SV: Likewise.
23564 * localedata/locales/es_US: Likewise.
23565 * localedata/locales/es_UY: Likewise.
23566 * localedata/locales/es_VE: Likewise.
23567 * localedata/locales/et_EE: Likewise.
23568 * localedata/locales/eu_ES: Likewise.
23569 * localedata/locales/eu_ES@euro: Likewise.
23570 * localedata/locales/fa_IR: Likewise.
23571 * localedata/locales/ff_SN: Likewise.
23572 * localedata/locales/fi_FI: Likewise.
23573 * localedata/locales/fil_PH: Likewise.
23574 * localedata/locales/fo_FO: Likewise.
23575 * localedata/locales/fr_BE: Likewise.
23576 * localedata/locales/fr_CA: Likewise.
23577 * localedata/locales/fr_CH: Likewise.
23578 * localedata/locales/fr_FR: Likewise.
23579 * localedata/locales/fr_LU: Likewise.
23580 * localedata/locales/fur_IT: Likewise.
23581 * localedata/locales/fy_DE: Likewise.
23582 * localedata/locales/fy_NL: Likewise.
23583 * localedata/locales/ga_IE: Likewise.
23584 * localedata/locales/gd_GB: Likewise.
23585 * localedata/locales/gez_ER: Likewise.
23586 * localedata/locales/gez_ET: Likewise.
23587 * localedata/locales/gl_ES: Likewise.
23588 * localedata/locales/gu_IN: Likewise.
23589 * localedata/locales/gv_GB: Likewise.
23590 * localedata/locales/ha_NG: Likewise.
23591 * localedata/locales/hak_TW: Likewise.
23592 * localedata/locales/he_IL: Likewise.
23593 * localedata/locales/hi_IN: Likewise.
23594 * localedata/locales/hif_FJ: Likewise.
23595 * localedata/locales/hne_IN: Likewise.
23596 * localedata/locales/hr_HR: Likewise.
23597 * localedata/locales/hsb_DE: Likewise.
23598 * localedata/locales/ht_HT: Likewise.
23599 * localedata/locales/hu_HU: Likewise.
23600 * localedata/locales/hy_AM: Likewise.
23601 * localedata/locales/i18n: Likewise.
23602 * localedata/locales/ia_FR: Likewise.
23603 * localedata/locales/id_ID: Likewise.
23604 * localedata/locales/ig_NG: Likewise.
23605 * localedata/locales/ik_CA: Likewise.
23606 * localedata/locales/is_IS: Likewise.
23607 * localedata/locales/it_CH: Likewise.
23608 * localedata/locales/it_IT: Likewise.
23609 * localedata/locales/iu_CA: Likewise.
23610 * localedata/locales/ja_JP: Likewise.
23611 * localedata/locales/ka_GE: Likewise.
23612 * localedata/locales/kk_KZ: Likewise.
23613 * localedata/locales/kl_GL: Likewise.
23614 * localedata/locales/kn_IN: Likewise.
23615 * localedata/locales/ko_KR: Likewise.
23616 * localedata/locales/kok_IN: Likewise.
23617 * localedata/locales/ks_IN: Likewise.
23618 * localedata/locales/ks_IN@devanagari: Likewise.
23619 * localedata/locales/ku_TR: Likewise.
23620 * localedata/locales/kw_GB: Likewise.
23621 * localedata/locales/ky_KG: Likewise.
23622 * localedata/locales/lb_LU: Likewise.
23623 * localedata/locales/lg_UG: Likewise.
23624 * localedata/locales/li_BE: Likewise.
23625 * localedata/locales/li_NL: Likewise.
23626 * localedata/locales/lij_IT: Likewise.
23627 * localedata/locales/ln_CD: Likewise.
23628 * localedata/locales/lo_LA: Likewise.
23629 * localedata/locales/lt_LT: Likewise.
23630 * localedata/locales/lv_LV: Likewise.
23631 * localedata/locales/lzh_TW: Likewise.
23632 * localedata/locales/mag_IN: Likewise.
23633 * localedata/locales/mai_IN: Likewise.
23634 * localedata/locales/mg_MG: Likewise.
23635 * localedata/locales/mhr_RU: Likewise.
23636 * localedata/locales/mi_NZ: Likewise.
23637 * localedata/locales/mk_MK: Likewise.
23638 * localedata/locales/ml_IN: Likewise.
23639 * localedata/locales/mn_MN: Likewise.
23640 * localedata/locales/mni_IN: Likewise.
23641 * localedata/locales/mr_IN: Likewise.
23642 * localedata/locales/ms_MY: Likewise.
23643 * localedata/locales/mt_MT: Likewise.
23644 * localedata/locales/my_MM: Likewise.
23645 * localedata/locales/nan_TW: Likewise.
23646 * localedata/locales/nan_TW@latin: Likewise.
23647 * localedata/locales/nb_NO: Likewise.
23648 * localedata/locales/nds_DE: Likewise.
23649 * localedata/locales/nds_NL: Likewise.
23650 * localedata/locales/ne_NP: Likewise.
23651 * localedata/locales/nhn_MX: Likewise.
23652 * localedata/locales/niu_NU: Likewise.
23653 * localedata/locales/niu_NZ: Likewise.
23654 * localedata/locales/nl_AW: Likewise.
23655 * localedata/locales/nl_BE: Likewise.
23656 * localedata/locales/nl_NL: Likewise.
23657 * localedata/locales/nn_NO: Likewise.
23658 * localedata/locales/nr_ZA: Likewise.
23659 * localedata/locales/nso_ZA: Likewise.
23660 * localedata/locales/oc_FR: Likewise.
23661 * localedata/locales/om_ET: Likewise.
23662 * localedata/locales/om_KE: Likewise.
23663 * localedata/locales/or_IN: Likewise.
23664 * localedata/locales/os_RU: Likewise.
23665 * localedata/locales/pa_IN: Likewise.
23666 * localedata/locales/pa_PK: Likewise.
23667 * localedata/locales/pap_AW: Likewise.
23668 * localedata/locales/pap_CW: Likewise.
23669 * localedata/locales/pl_PL: Likewise.
23670 * localedata/locales/ps_AF: Likewise.
23671 * localedata/locales/pt_BR: Likewise.
23672 * localedata/locales/pt_PT: Likewise.
23673 * localedata/locales/quz_PE: Likewise.
23674 * localedata/locales/raj_IN: Likewise.
23675 * localedata/locales/ro_RO: Likewise.
23676 * localedata/locales/ru_RU: Likewise.
23677 * localedata/locales/ru_UA: Likewise.
23678 * localedata/locales/rw_RW: Likewise.
23679 * localedata/locales/sa_IN: Likewise.
23680 * localedata/locales/sat_IN: Likewise.
23681 * localedata/locales/sc_IT: Likewise.
23682 * localedata/locales/sd_IN: Likewise.
23683 * localedata/locales/sd_IN@devanagari: Likewise.
23684 * localedata/locales/se_NO: Likewise.
23685 * localedata/locales/sgs_LT: Likewise.
23686 * localedata/locales/shs_CA: Likewise.
23687 * localedata/locales/si_LK: Likewise.
23688 * localedata/locales/sid_ET: Likewise.
23689 * localedata/locales/sk_SK: Likewise.
23690 * localedata/locales/sl_SI: Likewise.
23691 * localedata/locales/sm_WS: Likewise.
23692 * localedata/locales/so_DJ: Likewise.
23693 * localedata/locales/so_ET: Likewise.
23694 * localedata/locales/so_KE: Likewise.
23695 * localedata/locales/so_SO: Likewise.
23696 * localedata/locales/sq_AL: Likewise.
23697 * localedata/locales/sq_MK: Likewise.
23698 * localedata/locales/sr_ME: Likewise.
23699 * localedata/locales/sr_RS: Likewise.
23700 * localedata/locales/sr_RS@latin: Likewise.
23701 * localedata/locales/ss_ZA: Likewise.
23702 * localedata/locales/st_ZA: Likewise.
23703 * localedata/locales/sv_FI: Likewise.
23704 * localedata/locales/sv_SE: Likewise.
23705 * localedata/locales/sw_KE: Likewise.
23706 * localedata/locales/sw_TZ: Likewise.
23707 * localedata/locales/szl_PL: Likewise.
23708 * localedata/locales/ta_IN: Likewise.
23709 * localedata/locales/ta_LK: Likewise.
23710 * localedata/locales/tcy_IN: Likewise.
23711 * localedata/locales/te_IN: Likewise.
23712 * localedata/locales/tg_TJ: Likewise.
23713 * localedata/locales/th_TH: Likewise.
23714 * localedata/locales/the_NP: Likewise.
23715 * localedata/locales/ti_ER: Likewise.
23716 * localedata/locales/ti_ET: Likewise.
23717 * localedata/locales/tig_ER: Likewise.
23718 * localedata/locales/tk_TM: Likewise.
23719 * localedata/locales/tl_PH: Likewise.
23720 * localedata/locales/tn_ZA: Likewise.
23721 * localedata/locales/to_TO: Likewise.
23722 * localedata/locales/tpi_PG: Likewise.
23723 * localedata/locales/tr_CY: Likewise.
23724 * localedata/locales/tr_TR: Likewise.
23725 * localedata/locales/ts_ZA: Likewise.
23726 * localedata/locales/tt_RU: Likewise.
23727 * localedata/locales/tt_RU@iqtelif: Likewise.
23728 * localedata/locales/ug_CN: Likewise.
23729 * localedata/locales/uk_UA: Likewise.
23730 * localedata/locales/unm_US: Likewise.
23731 * localedata/locales/ur_IN: Likewise.
23732 * localedata/locales/ur_PK: Likewise.
23733 * localedata/locales/uz_UZ: Likewise.
23734 * localedata/locales/uz_UZ@cyrillic: Likewise.
23735 * localedata/locales/ve_ZA: Likewise.
23736 * localedata/locales/vi_VN: Likewise.
23737 * localedata/locales/wa_BE: Likewise.
23738 * localedata/locales/wae_CH: Likewise.
23739 * localedata/locales/wal_ET: Likewise.
23740 * localedata/locales/wo_SN: Likewise.
23741 * localedata/locales/xh_ZA: Likewise.
23742 * localedata/locales/yi_US: Likewise.
23743 * localedata/locales/yo_NG: Likewise.
23744 * localedata/locales/yue_HK: Likewise.
23745 * localedata/locales/yuw_PG: Likewise.
23746 * localedata/locales/zh_CN: Likewise.
23747 * localedata/locales/zh_HK: Likewise.
23748 * localedata/locales/zh_SG: Likewise.
23749 * localedata/locales/zh_TW: Likewise.
23750 * localedata/locales/zu_ZA: Likewise.
23751
23752 2017-11-13 Florian Weimer <fweimer@redhat.com>
23753
23754 * support/next_to_fault.h, support/next_to_fault.c: New files.
23755 * support/Makefile (libsupport-routines): Add next_to_fault.
23756 * resolv/tst-inet_pton.c (struct next_to_fault)
23757 (next_to_fault_allocate, next_to_fault_free): Remove.
23758 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
23759
23760 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
23761
23762 * elf/dl-support.c: Include <dl-procruntime.c>.
23763 * include/link.h: Include <link_map.h>.
23764 * sysdeps/generic/dl-procruntime.c: New file.
23765 * sysdeps/generic/link_map.h: Likewise.
23766 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
23767 the writable ld.so namespace.
23768
23769 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
23770
23771 timezone: pacify GCC -Wstringop-truncation
23772 Problem reported by Martin Sebor in:
23773 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
23774 * timezone/zic.c (writezone): Use memcpy, not strncpy.
23775
23776 2017-11-12 Florian Weimer <fweimer@redhat.com>
23777
23778 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
23779 tst-xreadlink.
23780 (tests): Add tst-xreadlink.
23781 * support/support.h (xstrndup): Declare.
23782 * support/xunistd.h (xunlink, xreadlink): Declare.
23783 * support/temp_file.h (support_create_temp_directory): Declare.
23784 * support/temp_file.c (support_create_temp_directory): New function.
23785 * support/support_chroot.c (support_chroot_create): Use it.
23786 * support/xreadlink.c: New file.
23787 * support/xstrndup.c: Likewise.
23788 * support/xunlink.c: Likewise.
23789 * support/tst-xreadlink.c: Likewise.
23790
23791 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
23792
23793 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
23794
23795 2017-11-11 Florian Weimer <fweimer@redhat.com>
23796
23797 [BZ #22409]
23798 [BZ #22412]
23799 * resolv/res_comp.c (printable_string, binary_hnok)
23800 (binary_leading_dash): New functions.
23801 (res_hnok): Reimplement using these functions and ns_name_pton.
23802 (res_ownok): Likewise.
23803 (res_mailok): Reimplement using printable_string, ns_name_pton and
23804 binary_hnok.
23805 (res_dnok): Reimplement using printable_string and ns_name_pton.
23806 * resolv/tst-res_hnok.c (tests): Add additional tests.
23807 (LETTERDIGITS, PRINTABLE): Define.
23808 (do_test): Adjust one_char results.
23809
23810 2017-11-11 Florian Weimer <fweimer@redhat.com>
23811
23812 [BZ #22413]
23813 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
23814 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
23815
23816 2017-11-11 Florian Weimer <fweimer@redhat.com>
23817
23818 * resolv/tst-ns_name_pton.c: New file.
23819 * resolv/Makefile (tests): Add tst-ns_name_pton.
23820 (tst-ns_name_pton): Link against libresolv.
23821
23822 2017-11-11 Florian Weimer <fweimer@redhat.com>
23823
23824 * resolv/tst-res_hnok.c: New file.
23825 * resolv/Makefile (tests): Add tst-res_hnok.
23826 (tst-res_hnok): Link against libresolv.
23827
23828 2017-11-11 Florian Weimer <fweimer@redhat.com>
23829
23830 * resolv/tst-resolv-network.c: Use test framework instead explicit
23831 main function.
23832
23833 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
23834
23835 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
23836 <jmp_buf-macros.h>.
23837 [!_ISOMAC] (STR_HELPER): New.
23838 [!_ISOMAC] (STR): Likewise.
23839 [!_ISOMAC] (TEST_SIZE): Likewise.
23840 [!_ISOMAC] (TEST_ALIGN): Likewise.
23841 [!_ISOMAC] (TEST_OFFSET): Likewise.
23842 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
23843 field offsets of jmp_buf as well as sigjmp_buf.
23844 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
23845 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
23846 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
23847 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
23848 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
23849 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
23850 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
23851 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
23852 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
23853 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
23854 Likewise.
23855 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
23856 Likewise.
23857 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
23858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
23859 Likewise.
23860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
23861 Likewise.
23862 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
23863 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
23864 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
23865 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
23866 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
23867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
23868 Likewise.
23869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
23870 Likewise.
23871 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23872 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
23873 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
23874
23875 2017-11-07 Joseph Myers <joseph@codesourcery.com>
23876
23877 * include/float.h
23878 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23879 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
23880 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23881 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
23882 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23883 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
23884 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23885 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
23886 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23887 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
23888 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23889 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
23890 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23891 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
23892 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23893 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
23894 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23895 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
23896 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23897 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
23898 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23899 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
23900 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23901 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
23902 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23903 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
23904 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23905 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
23906 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23907 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
23908 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23909 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
23910 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23911 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
23912 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23913 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
23914 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23915 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
23916 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23917 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
23918 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23919 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
23920 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23921 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
23922 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23923 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
23924 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23925 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
23926 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23927 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
23928 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23929 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
23930 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23931 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
23932 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23933 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
23934 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23935 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
23936 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23937 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
23938 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23939 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
23940 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23941 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
23942 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23943 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
23944 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23945 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
23946 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23947 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
23948 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23949 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
23950 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23951 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
23952 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23953 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
23954 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23955 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
23956 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23957 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
23958 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23959 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
23960 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23961 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
23962 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23963 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
23964 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
23965 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
23966
23967 * stdlib/tst-strtod.h (F16): New macro.
23968 (F32): Likewise.
23969 (F64): Likewise.
23970 (F32X): Likewise.
23971 (F64X): Likewise.
23972 (F128X): Likewise.
23973 (IF_FLOAT16): Likewise.
23974 (IF_FLOAT32): Likewise.
23975 (IF_FLOAT64): Likewise.
23976 (IF_FLOAT32X): Likewise.
23977 (IF_FLOAT64X): Likewise.
23978 (IF_FLOAT128X): Likewise.
23979 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
23980 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
23981 (STRTOD_TEST_FOREACH): Likewise.
23982 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
23983 (CHOOSE_f64): Likewise.
23984 (CHOOSE_f32x): Likewise.
23985 (CHOOSE_f64x): Likewise.
23986
23987 2017-11-07 Andreas Schwab <schwab@suse.de>
23988
23989 * nptl/Makefile (tests-internal): Remove tst-typesizes.
23990
23991 2017-11-07 Mike FABIAN <mfabian@redhat.com>
23992
23993 [BZ #22403]
23994 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
23995 to be escaped.
23996 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
23997 to be escaped.
23998
23999 2017-11-07 Claude Paroz <claude@2xlibre.net>
24000
24001 [BZ #22403]
24002 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24003 to be escaped.
24004 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24005 to be escaped.
24006 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24007 to be escaped.
24008
24009 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24010
24011 [BZ #22298]
24012 * nptl/allocatestack.c (allocate_stack): Check if
24013 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24014 __PTHREAD_MUTEX_HAVE_PREV is defined.
24015 * nptl/descr.h (pthread): Likewise.
24016 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24017 Likewise.
24018 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24019 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24020 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24021 * sysdeps/nptl/bits/thread-shared-types.h
24022 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24023 defines.
24024 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24025 of __WORDSIZE for internal layout.
24026 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24027 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24028 instead of __WORDSIZE whether to use an union for __spins and __list
24029 fields.
24030 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24031 case.
24032 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24033 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24034 defines.
24035 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24036 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24037 Likewise.
24038 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24039 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24040 Likewise.
24041 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24042 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24043 Likewise.
24044 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24045 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24046 Likewise.
24047 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24048 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24049 Likewise.
24050 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24051 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24052 Likewise.
24053 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24054 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24055 Likewise.
24056 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24057 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24058 Likewise.
24059 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24060 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24061 Likewise.
24062 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24063 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24064 Likewise.
24065 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24066 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24067 Likewise.
24068 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24069 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24070 Likewise.
24071 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24072 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24073 Likewise.
24074 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24075 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24076 Likewise.
24077
24078 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24079 New macros.
24080 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24081 checks for expected input type size.
24082 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24083 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24084 Likewise.
24085 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24086 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24087 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24088 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24089 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24090 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
24091 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
24092 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
24093 superflous runtime assert check.
24094 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
24095 Likewise.
24096 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
24097 Likewise.
24098 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24099 Likewise.
24100 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
24101 Likewise.
24102 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
24103 Likewise.
24104 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
24105 Likewise.
24106 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
24107 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
24108 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24109 Likewise.
24110 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24111 Likewise.
24112 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24113 Likewise.
24114 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
24115 Likewise.
24116 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24117 Likewise.
24118 * nptl/pthread_attr_setinheritsched.c
24119 (__pthread_attr_setinheritsched): Likewise.
24120 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
24121 Likewise.
24122 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
24123 Likewise.
24124 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
24125 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
24126 __old_pthread_attr_setstack): Likewise.
24127 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24128 Likewise.
24129 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24130 Likewise.
24131 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
24132 Likewise.
24133 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24134 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24135 Likewise.
24136 * nptl/tst-typesizes.c: Remove file.
24137
24138 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
24139 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
24140 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
24141 checks for internal pthread_mutex_t offsets.
24142 * sysdeps/aarch64/nptl/pthread-offsets.h
24143 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
24144 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
24145 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
24146 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
24147 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
24148 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
24149 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
24150 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
24151 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
24152 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
24153 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
24154 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
24155 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
24156 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
24157 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
24158 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
24159 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
24160 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
24161
24162 2017-11-07 Florian Weimer <fweimer@redhat.com>
24163
24164 * bits/mman-linux.h: Move ...
24165 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
24166 comment.
24167 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
24168 outdated comment.
24169
24170 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24171
24172 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24173 Redefine STRNLEN as __strnlen_power8.
24174
24175 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24176
24177 * signal/sighold.c (sighold): Optimize implementation.
24178
24179 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24180 __NR_rt_sigqueueinfo.
24181
24182 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24183 __sigtimedwait.
24184 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24185 assume __NR_rt_sigtimedwait.
24186 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24187 and add LIBC_CANCEL_HANDLED for cancellation marking.
24188 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24189
24190 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24191 (sysdeps_routines): Add memchr_noneon.
24192 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24193 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24194 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24195 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24196 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24197 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24198 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24199
24200 * sysdeps/arm/arm-ifunc.h: New file.
24201 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24202 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24203 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24204 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24205 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24206 (__memcpy_neon): Avoid create hidden alias.
24207 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24208 (__memcpy_vfp): Likewise.
24209 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24210 (sysdep_routines): Add memcpy_arm.
24211 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24212
24213 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24214
24215 [BZ #22362]
24216 * Makerules (make-link-multidir): New.
24217 * config.make.in (multidir): New.
24218 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24219 * configure: Regenerated.
24220 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24221 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24222 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24223 New target.
24224
24225 2017-11-06 Joseph Myers <joseph@codesourcery.com>
24226
24227 [BZ #22402]
24228 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24229 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24230
24231 2017-11-04 Mike FABIAN <mfabian@redhat.com>
24232
24233 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24234 to be escaped.
24235
24236 2017-11-04 Florian Weimer <fweimer@redhat.com>
24237
24238 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24239
24240 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24241
24242 * math/math.h [__HAVE_DISTINCT_FLOAT16
24243 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24244 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24245 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24246 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24247 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24248 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24249 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24250 (__MATH_TG_F32): New macro.
24251 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24252 (__MATH_TG_F64X): Likewise.
24253 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24254 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24255
24256 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24257
24258 * po/de.po: Update translations.
24259 * po/ru.po: Likewise.
24260
24261 2017-11-03 Florian Weimer <fweimer@redhat.com>
24262
24263 * manual/filesys.texi (Hard Links): Document linkat.
24264
24265 2017-11-03 Joseph Myers <joseph@codesourcery.com>
24266
24267 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24268 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24269 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24270 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24271 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24272 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24273 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24274 the same as _Float128.
24275 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24276 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24277 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24278
24279 * stdlib/stdlib.h
24280 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24281 Declare.
24282 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24283 Likewise.
24284 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24285 Likewise.
24286 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24287 (strtof32x): Likewise.
24288 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24289 (strtof64x): Likewise.
24290 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24291 (strtof128x): Likewise.
24292 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24293 (strfromf16): Likewise.
24294 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24295 (strfromf32): Likewise.
24296 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24297 (strfromf64): Likewise.
24298 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24299 (strfromf32x): Likewise.
24300 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24301 (strfromf64x): Likewise.
24302 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24303 (strfromf128x): Likewise.
24304 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24305 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24306 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24307 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24308 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24309 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24310
24311 2017-11-03 Richard Henderson <rth@twiddle.net>
24312
24313 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
24314
24315 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24316
24317 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
24318
24319 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24320
24321 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
24322 DT_TLSDESC_GOT initialization.
24323 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
24324 (_dl_tlsdesc_resolve_hold): Likewise.
24325 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24326 (_dl_tlsdesc_resolve_hold): Likewise.
24327 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24328 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24329
24330 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24331
24332 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
24333
24334 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24335
24336 [BZ #18572]
24337 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
24338 non-lazily for R_ARM_TLS_DESC.
24339
24340 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24341
24342 [BZ #17078]
24343 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
24344 R_ARM_TLS_DESC case.
24345 (elf_machine_lazy_rel): Remove the prelink check.
24346
24347 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24348
24349 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
24350 DT_TLSDESC_GOT initialization.
24351 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
24352 (_dl_tlsdesc_resolve_rela): Likewise.
24353 (_dl_tlsdesc_resolve_hold): Likewise.
24354 (_dl_tlsdesc_undefweak): Remove ldar.
24355 (_dl_tlsdesc_dynamic): Likewise.
24356 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
24357 (_dl_tlsdesc_resolve_rela): Likewise.
24358 (_dl_tlsdesc_resolve_hold): Likewise.
24359 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
24360 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24361 (_dl_tlsdesc_resolve_rela): Likewise.
24362 (_dl_tlsdesc_resolve_hold): Likewise.
24363
24364 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24365
24366 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
24367 binding and initialization non-lazily for R_AARCH64_TLSDESC.
24368
24369 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24370
24371 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
24372 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24373
24374 2017-11-02 Joseph Myers <joseph@codesourcery.com>
24375
24376 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
24377 Declare.
24378 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
24379 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
24380 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
24381 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
24382 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
24383 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
24384 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
24385 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
24386 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
24387 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
24388 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
24389
24390 2017-11-02 Mike FABIAN <mfabian@redhat.com>
24391
24392 [BZ #22382]
24393 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
24394 * localedata/locales/tpi_PG: Add standard header.
24395
24396 2017-11-02 Florian Weimer <fweimer@redhat.com>
24397
24398 test-errno-linux: quotactl can fail with EPERM in containers.
24399 * sysdeps/unix/sysv/linux/test-errno-linux.c
24400 (LIST, LIST_FORWARD): New macros.
24401 (check_error_in_list): New function.
24402 (test_wrp_rv): Accept list of permitted error codes.
24403 (test_wrp_rv2): Remove.
24404 (test_wrp): Call test_wrp_rv with list of error codes.
24405 (test_wrp2): Accept list of error codes.
24406 (do_test): Adjust. Allow EPERM for quotactl.
24407
24408 2017-11-02 Florian Weimer <fweimer@redhat.com>
24409
24410 * stdio-common/bug16.c (do_test): Use array_length.
24411 * stdio-common/errlist.c (_sys_nerr): Likewise.
24412 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
24413 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
24414 * stdio-common/psiginfo.c (psiginfo): Use array_length.
24415 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
24416 (do_test): Use array_length.
24417 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
24418 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
24419 * stdio-common/tst-printf-round.c (do_test): Likewise.
24420 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
24421 (CHECK): Use array_length.
24422 * stdio-common/tstdiomisc.c (t3, F): Likewise.
24423 * stdio-common/tstscanf.c (main): Likewise.
24424 * stdio-common/vfprintf.c (process_string_arg): Likewise.
24425
24426 2017-11-02 Florian Weimer <fweimer@redhat.com>
24427
24428 Add array_length and array_end macros.
24429 * include/array_length.h: New file.
24430
24431 2017-11-02 Florian Weimer <fweimer@redhat.com>
24432
24433 [BZ #22332]
24434 * posix/tst-glob-tilde.c (do_noescape): New variable.
24435 (one_test): Process it.
24436 (do_test): Set do_noescape. Add unescaping test case.
24437
24438 2017-11-01 Joseph Myers <joseph@codesourcery.com>
24439
24440 * math/complex.h
24441 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
24442 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
24443 with appropriate macros defined and undefined.
24444 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
24445 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24446 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
24447 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24448 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
24449 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24450 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
24451 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24452 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
24453 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24454
24455 * math/complex.h
24456 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
24457 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
24458 that for long double. Do not condition define and undefine of
24459 _Mdouble_complex_ on [__CFLOAT128].
24460
24461 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
24462
24463 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24464 of <sysdeps/generic/sysdep.h>.
24465 (ALIGNARG): Removed.
24466 (ASM_SIZE_DIRECTIVE): Likewise.
24467 (ENTRY): Likewise.
24468 (END): Likewise.
24469 (ENTRY_CHK): Likewise.
24470 (END_CHK): Likewise.
24471 (syscall_error): Likewise.
24472 (mcount): Likewise.
24473 (PSEUDO_END): Likewise.
24474 (L): Likewise.
24475 (atom_text_section): Likewise.
24476 * sysdeps/x86/sysdep.h: New file.
24477 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24478 of <sysdeps/generic/sysdep.h>.
24479 (ALIGNARG): Removed.
24480 (ASM_SIZE_DIRECTIVE): Likewise.
24481 (ENTRY): Likewise.
24482 (END): Likewise.
24483 (ENTRY_CHK): Likewise.
24484 (END_CHK): Likewise.
24485 (syscall_error): Likewise.
24486 (mcount): Likewise.
24487 (PSEUDO_END): Likewise.
24488 (L): Likewise.
24489 (atom_text_section): Likewise.
24490
24491 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
24492
24493 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
24494 category of LC_CTYPE set to "i18n:2012".
24495 * localedata/locales/i18n_ctype: Regenerate.
24496
24497 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
24498
24499 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
24500 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
24501 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24502 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24503
24504 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
24505 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
24506 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
24507 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
24508
24509 2017-10-31 Joseph Myers <joseph@codesourcery.com>
24510
24511 * math/complex.h
24512 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
24513 New macro.
24514 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
24515 Likewise.
24516 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
24517 Likewise.
24518 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24519 (CMPLXF32X): Likewise.
24520 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24521 (CMPLXF64X): Likewise.
24522 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24523 (CMPLXF128X): Likewise.
24524
24525 * math/math.h
24526 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
24527 (__MATH_EVAL_FMT2): Define to add 0.0f.
24528
24529 2017-10-31 Alan Modra <amodra@gmail.com>
24530
24531 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
24532 include sysdep.h.
24533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
24534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
24535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
24536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
24537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
24538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
24539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
24540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
24541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
24542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
24543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
24544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
24545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
24546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
24547 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
24548 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
24549 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
24550 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
24551 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
24552 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
24553 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
24554 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
24555 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
24556 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
24557 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24558 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
24559 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
24560 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
24561 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
24562 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
24563 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24564 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24565 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
24566 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
24567 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
24568 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
24569 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
24570 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
24571 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
24572 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24573 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
24574 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
24575 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
24576 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
24577 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
24578 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
24579 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
24580 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
24581 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24582 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24583 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
24584 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
24585 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
24586 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
24587 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24588 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
24589 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
24590 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
24591 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24592 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24593 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24594 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
24595 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
24596 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24597 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
24598 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
24599 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
24600 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
24601 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
24602
24603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
24604 include sysdep.h and math_ldbl_opt.h.
24605
24606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
24607 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
24608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
24609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
24610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
24611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
24612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
24613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
24614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
24615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
24616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
24617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
24618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
24619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
24620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
24621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
24622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
24623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
24624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
24625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
24626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
24627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
24628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
24629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
24630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
24631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
24632
24633 2017-10-31 Alan Modra <amodra@gmail.com>
24634
24635 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
24636 string/strncase_l.c, not string/strncase.c.
24637 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
24638 (libc_hidden_def): Redefine.
24639
24640 2017-10-31 Alan Modra <amodra@gmail.com>
24641
24642 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
24643 (__STRCMP, STRCMP, __strcasecmp_l): Define.
24644 (__strcasecmp): Don't define.
24645
24646 2017-10-31 Alan Modra <amodra@gmail.com>
24647
24648 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
24649 IS_IN (libc).
24650 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
24651 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
24652 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
24653
24654 2017-10-31 Alan Modra <amodra@gmail.com>
24655
24656 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
24657 USE_AS_STPNCPY.
24658
24659 2017-10-31 Alan Modra <amodra@gmail.com>
24660
24661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
24662 Redefine only when SHARED.
24663
24664 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24665
24666 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24667 Include <bits/math-finite.h> with appropriate macros defined and
24668 undefined.
24669 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24670 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24671 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24672 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24673 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24674
24675 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
24676 [!_Mlong_double_] (_Mlong_double_): Likewise.
24677 [!_Mfloat16_] (_Mfloat16_): Likewise.
24678 [!_Mfloat32_] (_Mfloat32_): Likewise.
24679 [!_Mfloat64_] (_Mfloat64_): Likewise.
24680 [!_Mfloat128_] (_Mfloat128_): Likewise.
24681 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
24682 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
24683 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
24684 (_Mdouble_): Define without indirection through those macros.
24685 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
24686 [!_Mfloat128_] (_Mfloat128_): Likewise.
24687 [_Mlong_double_] (_Mlong_double_): Likewise.
24688 (_Mdouble_): Define without indirection through those macros.
24689 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
24690 not add -D_Mlong_double_=double.
24691 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
24692 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
24693
24694 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24695
24696 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
24697
24698 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24699
24700 * sysdeps/x86/libc-start.c: Reformat.
24701
24702 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
24703
24704 [BZ #22353]
24705 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
24706 (1): Renamed to ...
24707 (L(Src0)): This.
24708 (L(Src1)): New.
24709 (L(Src2)): Likewise.
24710 (L(1)): Renamed to ...
24711 (L(Src3)): This.
24712
24713 2017-10-30 Joseph Myers <joseph@codesourcery.com>
24714
24715 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
24716 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
24717 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
24718 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
24719 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
24720 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
24721 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
24722 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
24723 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
24724 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
24725 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
24726 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
24727 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
24728 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
24729 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
24730 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
24731 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
24732 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
24733 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
24734 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
24735 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
24736 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
24737 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
24738 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
24739 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
24740 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
24741 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
24742 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
24743 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
24744 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
24745 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
24746 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
24747 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
24748 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
24749 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
24750 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
24751 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
24752 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
24753 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
24754 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
24755 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
24756 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
24757 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
24758 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
24759 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
24760 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
24761 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
24762 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
24763 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
24764 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
24765 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
24766 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
24767 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
24768 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
24769 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
24770 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
24771 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
24772 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
24773 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
24774 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
24775 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
24776 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
24777 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
24778 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
24779 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
24780 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
24781
24782 2017-10-30 Florian Weimer <fweimer@redhat.com>
24783
24784 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
24785 always defined.
24786 * io/tst-mkdirat.c (do_test): Likewise.
24787 * io/tst-mkfifoat.c (do_test): Likewise.
24788 * io/tst-mknodat.c (do_test): Likewise.
24789 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
24790 * locale/programs/locale.c (select_dirs): Likewise.
24791 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
24792 * posix/bug-glob2.c (my_readdir): Likewise.
24793 * posix/tst-dir.c (main): Likewise.
24794 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
24795 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
24796
24797 2017-10-30 Florian Weimer <fweimer@redhat.com>
24798
24799 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
24800 just __USE_GNU.
24801
24802 2017-10-30 Florian Weimer <fweimer@redhat.com>
24803
24804 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
24805 Convert to support/test-driver.c.
24806 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
24807 New macro parameters.
24808 (PRINTF): Remove macro. Use test_verbose conditionals instead.
24809 * posix/tst-gnuglob.c: New file.
24810 * posix/tst-gnuglob64.c: Likewise.
24811 * posix/Makefile (tests): Add tst-gnuglob64.
24812
24813 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
24814
24815 [BZ #19485]
24816 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
24817 and use a better translation for March in “mon”.
24818 * localedata/locales/csb_PL: Use more ASCII to improve the
24819 readability of the source.
24820
24821 2017-10-30 Mike FABIAN <mfabian@redhat.com>
24822
24823 [BZ #13953]
24824 * localedata/locales/km_KH: Use ASCII as much
24825 as possible for better readability of the source and
24826 remove useless comments.
24827 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
24828 was commented out and apparently wrong anyway because it was
24829 using Lao characters. If Buddhist era should be used
24830 for km_KH, a native speaker should write the correct formaat
24831 for Khmer.
24832 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
24833 (According to CLDR, the first weekday for Cambodia is Sunday).
24834 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
24835 (These were using Lao characters which must be wrong. If we get
24836 the correct data from a native speaker, we could add it back, until
24837 then it is better not to have name_mr and name_mrs at all than
24838 having it wrong).
24839
24840 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
24841
24842 * locale/loadlocale.c: Correct size of
24843 _nl_value_type_LC_<category> arrays.
24844
24845 2017-10-27 Joseph Myers <joseph@codesourcery.com>
24846
24847 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
24848 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
24849 with appropriate macros defined and undefined.
24850 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
24851 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
24852 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
24853 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
24854 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
24855
24856 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
24857
24858 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
24859 "-O2 -march=i586".
24860
24861 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24862
24863 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
24864 with lowercase letters to make it agree with CLDR.
24865
24866 2017-10-27 Mike FABIAN <mfabian@redhat.com>
24867
24868 [BZ #15260]
24869 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
24870 first letters of yesstr and nostr in yesexpr and noexpr,
24871 not for the full words.
24872 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
24873 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
24874 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
24875 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
24876 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
24877 first letters of yesstr and nostr in yesexpr and noexpr,
24878 until now only English was matched in yesexpr and noexpr.
24879 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
24880 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
24881 fil but not for tl. As tl and fil are very similar, using fil
24882 is probably better than using English.
24883
24884 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
24885
24886 [BZ #21706]
24887 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
24888 in yesstr and nostr.
24889
24890 2017-10-26 Joseph Myers <joseph@codesourcery.com>
24891
24892 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24893 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
24894 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
24895 Likewise.
24896 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
24897 Likewise.
24898 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
24899 Likewise.
24900 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
24901 Likewise.
24902 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24903 (SNANF128X): Likewise.
24904
24905 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
24906 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
24907 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24908 (HUGE_VAL_F32): Likewise.
24909 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24910 (HUGE_VAL_F64): Likewise.
24911 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24912 (HUGE_VAL_F32X): Likewise.
24913 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24914 (HUGE_VAL_F64X): Likewise.
24915 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24916 (HUGE_VAL_F128X): Likewise.
24917
24918 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24919
24920 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
24921 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
24922 for the br_FR locale.
24923
24924 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
24925
24926 [BZ #21706]
24927 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
24928
24929 2017-10-25 Carlos O'Donell <carlos@redhat.com>
24930
24931 * locale/programs/record-status.h: Define globals, and function
24932 prototypes. Move function bodies...
24933 * locale/programs/record-status.c: ... to here. New file.
24934 * iconv/Makefile (iconv_prog-modules): Add record-status.
24935 * locale/Makefile (lib-modules): Likewise.
24936 * iconv/iconv_prog.c: Remove verbose.
24937 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
24938 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
24939 record a warning about ASCII compatibility.
24940 * locale/programs/ld-monetary.c (monetary_finish): If
24941 warn_int_curr_symbol is true then record a warning about the symbol
24942 not being in our ISO 4217 list.
24943 * locale/programs/locale.c: Include record-status.h. Remove verbose.
24944 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
24945 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
24946 (OPT_NO_WARN): Define.
24947 (OPT_WARN): Define.
24948 (options): Add entry for --no-warnings, and --warnings.
24949 (set_warnings): New function to enable/disable warnings.
24950 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
24951 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
24952 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
24953 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
24954 Pass flags to generate_locale.
24955 (generate_locale): Accept new flag argument and pass it to localedef
24956 invocation.
24957 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
24958 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
24959
24960 * localedata/Makefile (test-input-data): Use full file name.
24961 * localedata/da_DK.in: Rename to...
24962 * localedata/da_DK.ISO-8859-1.in: ...this.
24963 * localedata/de_DE.in: Rename to...
24964 * localedata/de_DE.ISO-8859-1.in: ...this.
24965 * localedata/en_US.in: Rename to...
24966 * localedata/en_US.ISO-8859-1.in: ...this.
24967 * localedata/fr_FR.in: Rename to...
24968 * localedata/fr_FR.UTF-8.in: ... this.
24969 * localedata/hr_HR.in: Rename to...
24970 * localedata/hr_HR.ISO-8859-2.in: ...this.
24971 * localedata/hu_HU.in: Rename to...
24972 * localedata/hu_HU.UTF-8.in: ...this.
24973 * localedata/si_LK.in: Rename to...
24974 * localedata/si_LK.UTF-8.in: ...this.
24975 * localedata/sv_SE.in: Rename to...
24976 * localedata/sv_SE.ISO-8859-1.in: ...this.
24977 * localedata/tr_TR.in: Rename to...
24978 * localedata/tr_TR.UTF-8.in: ...this.
24979 * localedata/uk_UA.in: Rename to...
24980 * localedata/uk_UA.UTF-8.in: ...this.
24981 * localedata/sort-test.sh: Test file is locale name with the
24982 suffix.
24983
24984 * localedata/unicode-gen/Makefile (check_i18n): Rename to
24985 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
24986 file.
24987 * localedata/locales/i18n_ctype: Regenerate.
24988 * localedata/locales/tr_TR: Likewise.
24989 * localedata/locales/translit_circle: Likewise.
24990 * localedata/locales/translit_cjk_compat: Likewise.
24991 * localedata/locales/translit_combining: Likewise.
24992 * localedata/locales/translit_compat: Likewise.
24993 * localedata/locales/translit_font: Likewise.
24994 * localedata/locales/translit_fraction: Likewise.
24995
24996 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24997
24998 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
24999 lxvd2x/stxvd2x with lvx/stvx.
25000 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25001
25002 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25003
25004 * include/alloc_buffer.h: Replace "if if " with "if " in
25005 comments.
25006 * sysdeps/mips/memcpy.S: Likkewise.
25007 * sysdeps/mips/memset.S: Likewise.
25008 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25009 Likewise.
25010 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25011 Likewise.
25012 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25013 Likewise.
25014
25015 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25016
25017 [BZ #15261]
25018 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25019 yesexpr and noexpr.
25020 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25021 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25022 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25023 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25024 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25025 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25026 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25027
25028 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25029
25030 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25031 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25032 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25033 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25034 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25035 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25036 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25037 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25038 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25039 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25040 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25041 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25042
25043 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25044
25045 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25046 as possible for better readability of the source.
25047 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25048 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25049 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25050 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25051 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25052 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25053 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25054 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25055 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25056 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25057 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25058 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25059 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25060 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25061 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25062 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25063 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25064 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25065 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25066 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25067 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25068 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25069 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25070 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25071 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25072 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25073 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25074 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25075 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25076 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25077 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25078 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25079 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25080 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25081 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25082 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25083 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25084 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25085 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25086 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25087 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25088 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25089 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25090 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
25091 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
25092 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
25093 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
25094 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
25095 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
25096 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
25097 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
25098 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
25099 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
25100 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25101 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25102 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
25103 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
25104 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25105 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
25106 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
25107 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
25108 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
25109 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
25110 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
25111 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
25112 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
25113 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
25114 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
25115 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
25116 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
25117 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
25118 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
25119 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
25120 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
25121 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25122 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
25123 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
25124 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
25125 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
25126 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
25127 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
25128 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
25129 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
25130 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25131 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
25132 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
25133 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
25134 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25135 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
25136 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
25137 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
25138 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
25139 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25140 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
25141 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
25142 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25143 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
25144 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25145 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
25146 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
25147 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
25148 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
25149 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
25150 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
25151 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
25152 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
25153 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
25154 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
25155 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
25156 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
25157 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
25158 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
25159 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25160 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
25161 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
25162 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
25163 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
25164 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
25165 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
25166 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
25167 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
25168 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
25169 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
25170 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
25171 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
25172 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25173 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25174 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25175 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25176 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25177 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25178 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25179 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25180 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25181 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25182 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25183 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25184 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25185 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25186 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25187 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25188 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25189 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25190 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25191 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25192 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25193 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25194 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25195 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25196 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25197 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25198 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25199 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25200 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25201 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25202 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25203 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25204 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25205 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25206 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25207 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25208 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25209 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25210 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25211 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25212 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25213 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25214 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25215 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25216 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25217 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25218 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25219 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25220 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25221
25222 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25223
25224 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25225 (Use first letters of yesstr and nostr correctly instead of using
25226 full words).
25227
25228 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25229
25230 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25231 (Use first letters of yesstr and nostr correctly).
25232
25233 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25234
25235 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25236 also check for the first characters of yesstr and nostr.
25237 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25238 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25239
25240 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25241
25242 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25243 also check for Chinese characters.
25244
25245 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25246
25247 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25248 match also for the contents of yesstr and nostr. As the first letter
25249 of yesstr and nostr is equal, checking only for the first letter
25250 is not enough.
25251
25252 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25253
25254 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25255 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25256
25257 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25258
25259 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25260 of main contributor.
25261
25262 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25263
25264 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25265 instead of using English.
25266
25267 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25268
25269 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25270 by including the first letters of nostr and yesexpr in the regexp.
25271 Also make it more readable by using ASCII where possible.
25272
25273 2017-10-25 Mike FABIAN <mfabian@redhat.com>
25274
25275 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25276 the first letter of nostr in the regexp. It agrees with CLDR now.
25277 Also make it more readable by using ASCII where possible.
25278
25279 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25280
25281 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25282 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25283 these strings contain a U+17D6 (which somewhat looks like a colon)
25284 instead of a real colon to separate the full words for “yes”
25285 and “no” from the single letter responses.
25286
25287 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25288
25289 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25290 it agree with CLDR (include the first letter of yesstr).
25291 Also make it more readable by using ASCII where possible.
25292
25293 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25294
25295 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25296 and improve yesexpr and noexpr. The yesstr and nostr apparently
25297 came from CLDR. And CLDR has a bug there: these strings contain
25298 a U+0903 (which looks like a colon) instead of a real colon
25299 to separate the full words for “yes” and “no” from the single
25300 letter responses.
25301
25302 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25303
25304 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25305 letters of the full yesstr and nostr in yesexpr and noexpr.
25306
25307 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25308
25309 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25310 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25311 * localedata/locales/an_ES: Make source more readable by using ASCII
25312 where possible.
25313
25314 2017-10-24 Mike FABIAN <mfabian@redhat.com>
25315
25316 [BZ #20952]
25317 * localedata/locales/yuw_PG: New file.
25318 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
25319 * locale/iso-639.def: Add Yau (Uruwa).
25320
25321 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25322
25323 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
25324
25325 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25326
25327 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25328 (__libc_realloc): Likewise.
25329 (_mid_memalign): Likewise.
25330 (__libc_calloc): Likewise.
25331
25332 2017-10-23 Mike FABIAN <mfabian@redhat.com>
25333
25334 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
25335 by adding the generic +1 and -0 as in all other locales.
25336 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
25337 day names and make it more readable by using ASCII where possible.
25338
25339 2017-10-24 Joseph Myers <joseph@codesourcery.com>
25340
25341 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
25342 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
25343
25344 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25345
25346 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
25347 WNOHANG in waitpid call.
25348
25349 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
25350
25351 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
25352 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
25353
25354 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
25355 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25356 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
25357 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
25358 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
25359 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
25360 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
25361 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
25362 variables.
25363
25364 2017-10-23 Michael Collison <michael.collison@arm.com>
25365
25366 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
25367 with __builtin_sqrt.
25368 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
25369 with __builtin_sqrtf.
25370 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
25371 with __builtin_ceil.
25372 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
25373 with __builtin_ceilf.
25374 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
25375 with __builtin_floor.
25376 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
25377 with __builtin_floorf.
25378 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
25379 with __builtin_fma.
25380 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
25381 with __builtin_fmaf.
25382 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
25383 with __builtin_fmax.
25384 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
25385 with __builtin_fmaxf.
25386 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
25387 with __builtin_fmin.
25388 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
25389 with __builtin_fminf.
25390 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
25391 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
25392 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
25393 with builtin_rint and conversion to int.
25394 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
25395 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
25396 with builtin_llround.
25397 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
25398 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
25399 with builtin_rint and conversion to long int.
25400 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
25401 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
25402 with builtin_lround.
25403 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
25404 with builtin_lroundf.
25405 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
25406 statements with __builtin_nearbyint.
25407 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
25408 statements with __builtin_nearbyintf.
25409 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
25410 with __builtin_rint.
25411 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
25412 with __builtin_rintf.
25413 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
25414 with __builtin_round.
25415 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
25416 with __builtin_roundf.
25417 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
25418 with __builtin_trunc.
25419 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
25420 with __builtin_truncf.
25421 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
25422 and s_l[l]round[f].c too.
25423
25424 2017-10-23 Alan Modra <amodra@gmail.com>
25425
25426 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
25427 Adjust stack after restoring regs. Add missing LR cfi_restore.
25428
25429 2017-10-23 Alan Modra <amodra@gmail.com>
25430
25431 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
25432 Move LR save and frame setup/teardown and LR restore to
25433 immediately around memset call. Provide cfi.
25434
25435 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25436
25437 * sysdeps/i386/fpu/e_powf.S: Removed.
25438 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
25439 * sysdeps/i386/fpu/w_powf.c: Likewise.
25440 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
25441 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25442 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25443 Add e_powf-sse2.
25444 (CFLAGS-e_powf-sse2.c): New.
25445 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
25446 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
25447
25448 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25449
25450 * sysdeps/i386/fpu/e_log2f.S: Removed.
25451 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
25452 * sysdeps/i386/fpu/w_log2f.c: Likewise.
25453 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
25454 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25455 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25456 Add e_log2f-sse2.
25457 (CFLAGS-e_log2f-sse2.c): New.
25458 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
25459 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
25460
25461 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25462
25463 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25464 Add e_powf-fma.
25465 (CFLAGS-e_powf-fma.c): New.
25466 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
25467 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
25468
25469 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25470
25471 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25472 Add e_log2f-fma.
25473 (CFLAGS-e_log2f-fma.c): New.
25474 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
25475 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
25476
25477 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25478
25479 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25480 Add e_logf-fma.
25481 (CFLAGS-e_logf-fma.c): New.
25482 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
25483 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
25484
25485 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25486
25487 * sysdeps/i386/fpu/e_logf.S: Removed.
25488 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
25489 * sysdeps/i386/fpu/w_logf.c: Likewise.
25490 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
25491 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
25492 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25493 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25494 Add e_logf-sse2.
25495 (CFLAGS-e_logf-sse2.c): New.
25496 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
25497 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
25498
25499 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25500
25501 * sysdeps/i386/fpu/e_exp2f.S: Removed.
25502 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
25503 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
25504 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25505 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25506 Add e_exp2f-sse2.
25507 (CFLAGS-e_exp2f-sse2.c): New.
25508 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
25509 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
25510
25511 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25512
25513 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25514 Add e_exp2f-fma.
25515 (CFLAGS-e_exp2f-fma.c): New.
25516 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
25517 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
25518
25519 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25520
25521 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
25522 * sysdeps/i386/fpu/e_expf.S: Likewise.
25523 * sysdeps/i386/fpu/math_errf.c: Likewise.
25524 * sysdeps/i386/fpu/w_expf.c: Likewise.
25525 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
25526 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25527 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
25528 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
25529 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25530 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25531 Remove e_expf-ia32.
25532 (CFLAGS-e_expf-sse2.c): New.
25533 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
25534 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
25535
25536 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25537
25538 * sysdeps/x86_64/fpu/e_expf.S: Removed.
25539 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
25540 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
25541 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
25542 e_expf.c.
25543 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
25544 New.
25545 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
25546 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
25547 Renamed to ...
25548 (__redirect_expf): This.
25549 (SYMBOL_NAME): Changed to expf.
25550 (__ieee754_expf): Renamed to ...
25551 (__expf): This.
25552 (__GI___expf): This.
25553 (__ieee754_expf): Add strong_alias.
25554 (__expf_finite): Likewise.
25555 (__expf): New.
25556 Include <sysdeps/ieee754/flt-32/e_expf.c>.
25557
25558 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
25559
25560 [BZ #22332]
25561 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
25562 unescaping.
25563
25564 2017-10-21 Florian Weimer <fweimer@redhat.com>
25565
25566 * posix/Makefile (tests): Add tst-glob-tilde.
25567 (tests-special): Add tst-glob-tilde-mem.out
25568 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
25569 (tst-glob-tilde-mem.out): Add mtrace check.
25570 * posix/tst-glob-tilde.c: New file.
25571
25572 2017-10-20 Joseph Myers <joseph@codesourcery.com>
25573
25574 * bits/floatn-common.h: New file.
25575 * math/Makefile (headers): Add bits/floatn-common.h.
25576 * bits/floatn.h: Include <bits/floatn-common.h>.
25577 * sysdeps/ia64/bits/floatn.h: Likewise.
25578 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25579 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
25580 * sysdeps/powerpc/bits/floatn.h: Likewise.
25581 * sysdeps/x86/bits/floatn.h: Likewise.
25582
25583 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25584
25585 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
25586 indicates whether compiler emits an warning for alias for
25587 functions with incompatible types.
25588
25589 [BZ #22273]
25590 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
25591 the auxiliary process is terminated by a signal before calling _exit
25592 or execve.
25593
25594 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25595
25596 [BZ #21265]
25597 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
25598 New.
25599 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
25600 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
25601 and bit_arch_XSAVEC_Usable if needed.
25602 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
25603 and bit_arch_Use_dl_runtime_resolve_opt.
25604 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
25605 Removed.
25606 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
25607 (bit_arch_Prefer_No_AVX512): Updated.
25608 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
25609 (bit_arch_XSAVEC_Usable): New.
25610 (STATE_SAVE_OFFSET): Likewise.
25611 (STATE_SAVE_MASK): Likewise.
25612 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
25613 (cpu_features): Add xsave_state_size and xsave_state_full_size.
25614 (index_arch_Use_dl_runtime_resolve_opt): Removed.
25615 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
25616 (index_arch_XSAVEC_Usable): New.
25617 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25618 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
25619 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
25620 is enabled.
25621 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
25622 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
25623 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
25624 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
25625 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
25626 _dl_runtime_resolve_xsavec.
25627 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
25628 Removed.
25629 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
25630 instead of VEC_SIZE.
25631 (REGISTER_SAVE_BND0): Removed.
25632 (REGISTER_SAVE_BND1): Likewise.
25633 (REGISTER_SAVE_BND3): Likewise.
25634 (REGISTER_SAVE_RAX): Always defined to 0.
25635 (VMOV): Removed.
25636 (_dl_runtime_resolve_avx): Likewise.
25637 (_dl_runtime_resolve_avx_slow): Likewise.
25638 (_dl_runtime_resolve_avx_opt): Likewise.
25639 (_dl_runtime_resolve_avx512): Likewise.
25640 (_dl_runtime_resolve_avx512_opt): Likewise.
25641 (_dl_runtime_resolve_sse): Likewise.
25642 (_dl_runtime_resolve_sse_vex): Likewise.
25643 (USE_FXSAVE): New.
25644 (_dl_runtime_resolve_fxsave): Likewise.
25645 (USE_XSAVE): Likewise.
25646 (_dl_runtime_resolve_xsave): Likewise.
25647 (USE_XSAVEC): Likewise.
25648 (_dl_runtime_resolve_xsavec): Likewise.
25649 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
25650 Removed.
25651 (_dl_runtime_resolve_avx512_opt): Likewise.
25652 (_dl_runtime_resolve_avx): Likewise.
25653 (_dl_runtime_resolve_avx_opt): Likewise.
25654 (_dl_runtime_resolve_sse): Likewise.
25655 (_dl_runtime_resolve_sse_vex): Likewise.
25656 (_dl_runtime_resolve_fxsave): New.
25657 (_dl_runtime_resolve_xsave): Likewise.
25658 (_dl_runtime_resolve_xsavec): Likewise.
25659
25660 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
25661
25662 [BZ #22320]
25663 CVE-2017-15670
25664 * posix/glob.c (__glob): Fix one-byte overflow.
25665
25666 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25667
25668 * malloc/malloc.c (sysdep-cancel.h): Add include.
25669
25670 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
25671
25672 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
25673
25674 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
25675
25676 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
25677 (tests): Remove $(objpfx)ga_test depdendency.
25678 * resolv/ga_test.c: Remove file.
25679
25680 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25681
25682 [BZ #18812]
25683 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
25684 * localedata/locales/kab_DZ: New file.
25685
25686 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25687
25688 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
25689 _dl_relocate_static_pie instead of _dl_start to compute load
25690 address in static PIE.
25691
25692 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
25693
25694 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
25695
25696 2017-10-20 Mike FABIAN <mfabian@redhat.com>
25697
25698 [BZ #13605]
25699 * localedata/SUPPORTED: Add shn_MM/UTF-8.
25700 * localedata/locales/shn_MM: New file.
25701
25702 2017-10-20 Florian Weimer <fweimer@redhat.com>
25703
25704 [BZ #22321]
25705 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
25706 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
25707 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
25708 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
25709 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
25710 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
25711
25712 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
25713
25714 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25715
25716 2017-10-19 Joseph Myers <joseph@codesourcery.com>
25717
25718 * sysdeps/mips/ieee754/bits/floatn.h: New file.
25719
25720 [BZ #22322]
25721 * sysdeps/mips/bits/long-double.h: Move to ....
25722 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
25723
25724 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
25725
25726 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
25727
25728 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
25729 H.J. Lu <hongjiu.lu@intel.com>
25730
25731 [BZ #22299]
25732 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
25733 GLRO(dl_platform) to NULL.
25734 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
25735 (modules-names): Add tst-platformmod-1 and
25736 x86_64/tst-platformmod-2.
25737 (CFLAGS-tst-platform-1.c): New.
25738 (CFLAGS-tst-platformmod-1.c): Likewise.
25739 (CFLAGS-tst-platformmod-2.c): Likewise.
25740 (LDFLAGS-tst-platformmod-2.so): Likewise.
25741 ($(objpfx)tst-platform-1): Likewise.
25742 ($(objpfx)tst-platform-1.out): Likewise.
25743 (tst-platform-1-ENV): Likewise.
25744 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
25745 * sysdeps/x86_64/tst-platform-1.c: New file.
25746 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
25747 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
25748
25749 2017-10-19 Mike FABIAN <mfabian@redhat.com>
25750
25751 [BZ #13994]
25752 * locale/iso-639.def: Add Karbi.
25753 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
25754 * localedata/locales/mjw_IN: New file.
25755
25756 2017-10-18 Joseph Myers <joseph@codesourcery.com>
25757
25758 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
25759 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
25760 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
25761 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
25762 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25763 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25764 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
25765 <bits/floatn.h>.
25766 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
25767 (libm_alias_ldouble_other_r): Also create _Float128 alias.
25768 * manual/math.texi (Mathematics): Document additional architecture
25769 support for _Float128.
25770 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
25771 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25772 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25773 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25774 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25775 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25776 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25777 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25778 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25779 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25780 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25781 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25782 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25783 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25784 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25785
25786 2017-10-18 Renlin Li <renlin.li@arm.com>
25787
25788 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
25789 _DYNAMIC symbol to calculate load address.
25790
25791 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
25792
25793 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
25794 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
25795 summary bits.
25796 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
25797 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
25798
25799 2017-10-18 Mike FABIAN <mfabian@redhat.com>
25800
25801 [BZ #16777]
25802 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
25803 and improve readability by using more ASCII.
25804 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
25805 and improve readability by using more ASCII.
25806
25807 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
25808
25809 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
25810 not all targets support atomics on bool.
25811
25812 2017-10-17 Joseph Myers <joseph@codesourcery.com>
25813
25814 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
25815 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
25816 __f128.
25817 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25818 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
25819 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25820 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
25821 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
25822 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
25823
25824 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25825
25826 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
25827 defines.
25828
25829 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25830
25831 [BZ #22159]
25832 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
25833 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
25834 (do_check_remalloced_chunk): Fix build bug.
25835 (do_check_malloc_state): Add assert that checks arena->top.
25836 (malloc_consolidate): Remove initialization.
25837 (int_mallinfo): Remove call to malloc_consolidate.
25838 (__libc_mallopt): Clarify why malloc_consolidate is needed.
25839
25840 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25841
25842 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
25843 (have_fastchunks): Remove.
25844 (clear_fastchunks): Remove.
25845 (set_fastchunks): Remove.
25846 (malloc_state): Add have_fastchunks.
25847 (malloc_init_state): Use have_fastchunks.
25848 (do_check_malloc_state): Remove incorrect invariant checks.
25849 (_int_malloc): Use have_fastchunks.
25850 (_int_free): Likewise.
25851 (malloc_consolidate): Likewise.
25852
25853 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
25854
25855 * malloc/malloc.c (tcache_put): Inline.
25856 (tcache_get): Inline.
25857
25858 2017-10-17 Jordi Mallach <jordi@gnu.org>
25859
25860 Aurelien Jarno <aurelien@aurel32.net>
25861 [BZ #2522]
25862 * localedata/locales/ca_ES@valencia: New file.
25863 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
25864
25865 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
25866
25867 [BZ #22296]
25868 * math/math.h: Let signbit use the builtin in C++ mode with gcc
25869 < 6.x
25870
25871 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25872
25873 * scripts/build-many-glibcs.py (Context.add_all_configs):
25874 Add arm-linux-gnueabihf multiarch extra_glibcs.
25875
25876 * sysdeps/generic/ifunc-init.h: New file.
25877 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
25878
25879 2017-10-17 Mike FABIAN <mfabian@redhat.com>
25880
25881 [BZ #22019]
25882 * localedata/locales/el_GR: Set n_cs_precedes to 0.
25883 * localedata/locales/el_CY: copy "el_GR" because it is identical.
25884 * stdlib/tst-strfmon_l.c: adapt test case.
25885
25886 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25887
25888 * sysdeps/generic/float128-abi.h: New file.
25889 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
25890 non-__prefixed symbols to ....
25891 * math/Versions: ... here. Include <float128-abi.h>.
25892 * stdlib/Versions ... and here. Include <float128-abi.h>
25893
25894 2017-10-16 Florian Weimer <fweimer@redhat.com>
25895
25896 * version.h (VERSION): Switch to ".9000" as the development
25897 version suffix.
25898
25899 2017-10-16 Florian Weimer <fweimer@redhat.com>
25900
25901 [BZ #22050]
25902 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
25903 compat_symbol_reference to access non-default version.
25904
25905 2017-10-16 Florian Weimer <fweimer@redhat.com>
25906
25907 * malloc/Makefile (others-extras): Set to mcheck-init.o.
25908
25909 2017-10-16 Carlos O'Donell <carlos@redhat.com>
25910
25911 * include/shlib-compat.h (compat_symbol_reference): Update
25912 comment.
25913
25914 2017-10-16 Joseph Myers <joseph@codesourcery.com>
25915
25916 * math/Makefile (test-types): Add
25917 $(type-float128-$(float128-alias-fcts)).
25918 * math/test-float128.h (TYPE_STR): Define conditional on
25919 [FLT128_MANT_DIG == LDBL_MANT_DIG].
25920 (ULP_IDX): Likewise.
25921 (ULP_I_IDX): Likewise.
25922
25923 * stdlib/strtold.c: Include <bits/floatn.h>
25924 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
25925 and later undefine as macro. Define as weak alias if
25926 [!USE_WIDE_CHAR].
25927 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
25928 and later undefine as macro. Define as weak alias if
25929 [USE_WIDE_CHAR].
25930 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
25931 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
25932 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
25933 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25934 Define and later undefine as macro. Define as weak alias if
25935 [USE_WIDE_CHAR].
25936 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
25937 <bits/floatn.h>.
25938 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
25939 Define and later undefine as macro. Define as weak alias if
25940 [!USE_WIDE_CHAR].
25941 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
25942 Define and later undefine as macro. Define as weak alias if
25943 [USE_WIDE_CHAR].
25944
25945 2017-10-15 Carlos O'Donell <carlos@redhat.com>
25946
25947 * localedata/collate-test.c (allocate_arrays): Don't use \n in
25948 record_verbose messages.
25949
25950 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
25951
25952 [BZ #22052]
25953 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
25954 to silence -O3 -Wall warning with GCC 7.
25955
25956 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
25957
25958 * Makeconfig (+link-static-before-libc): Use the first of
25959 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
25960 * gmon/Makefile (tests): Add tst-gmon-static.
25961 (tests-static): Likewise.
25962 (CFLAGS-tst-gmon-static.c): New.
25963 (CRT-tst-gmon-static): Likewise.
25964 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
25965 (tst-gmon-static-ENV): Likewise.
25966 (tests-special): Likewise.
25967 ($(objpfx)tst-gmon-static.out): Likewise.
25968 (clean-tst-gmon-static-data): Likewise.
25969 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
25970 * gmon/tst-gmon-static-gprof.sh: New file.
25971 * gmon/tst-gmon-static.c: Likewise.
25972
25973 2017-10-13 Carlos O'Donell <carlos@redhat.com>
25974
25975 [BZ #22295]
25976 * locale/programs/linereader.c (get_string): Don't warn on
25977 non-symbolic character.
25978
25979 [BZ #22294]
25980 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
25981 int_curr_symbol.
25982
25983 [BZ #22292]
25984 * locale/programs/record-status.h: New file
25985 * locale/programs/locale.c: Add comment.
25986 * locale/programs/charmap-dir.c: Don't include error.h.
25987 (charmap_opendir): Use record_error.
25988 * locale/programs/charmap.c: Don't include error.h.
25989 (charmap_read): Use record_error, and record_warning.
25990 (parse_charmap): Likewise.
25991 * locale/programs/ld-address.c: Don't include error.h.
25992 (address_finish): Use record_error, and record_warning.
25993 * locale/programs/ld-collate.c: Don't include error.h.
25994 (collate_finish): Use record_error, and record_error_at_line.
25995 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
25996 (ctype_class_new): Likewise.
25997 (ctype_map_new): Likewise.
25998 (set_one_default): Likewise.
25999 (set_class_defaults): Likewise.
26000 (translit_flatten): Likewise.
26001 (allocate_arrays): Use record_error, and record_verbose.
26002 * locale/programs/ld-identification.c: Don't include error.h.
26003 (indentation_finish): Use record_error and record_warning.
26004 * locale/programs/ld-measurement.c: Don't include error.h.
26005 (measurement_finish): Use record_error.
26006 * locale/programs/ld-messages.c
26007 (message_finish): Likewise.
26008 * locale/programs/ld-monetary.c
26009 (monetary_finish): Likewise.
26010 * locale/programs/ld-name.c (name_finish): Use record_error
26011 and record_warning.
26012 * locale/programs/ld-numeric.c
26013 (numeric_finish): Use record_error.
26014 * locale/programs/ld-paper.c: Don't include error.h.
26015 (paper_finish): Use record_error.
26016 * locale/programs/ld-telephone.c: Don't include error.h.
26017 (telephone_finish): Use record_error.
26018 * locale/programs/ld-time.c (time_finish): Likewise.
26019 * locale/programs/linereader.h (lr_error): Make inline func.
26020 * locale/programs/localedef.c: Define recorded_warning_count,
26021 and recorded_error_count.
26022 (main): Use record_error. Use recorded_error_count and
26023 recorded_warning_count to issue correct error returns.
26024 (add_to_readlist): Use record_error.
26025 (find_locale): Likewise.
26026 (load_locale): Likewise.
26027 * locale/programs/localedef.h: Remove be_quiet
26028 and WITH_CUR_LOCALE.
26029 * locale/programs/locarchive.c (compare_from_file): Use
26030 record_error.
26031 * locale/programs/locfile.c (write_locale_data): Use
26032 record_error.
26033 * locale/programs/repertoire.c: Dont include error.h.
26034 (repertoire_complain): Use record_error.
26035 * localedata/tst-fmon.sh: Expect failures from localedef.
26036 * localedata/tst-locale.sh: Likewise.
26037 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26038
26039 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26040 (REPORTS): Likewise.
26041 (check): Likewise.
26042 (i18n): Rename to...
26043 (i18n_ctype): ...this.
26044 (i18n-report): Rename to...
26045 (i18n_ctype-report): ...this.
26046 * localedata/locales/i18n_ctype: Regenerate.
26047 * localedata/locales/i18n: copy i18n_ctype.
26048
26049 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26050
26051 * stdlib/strfroml.c: Include <bits/floatn.h>.
26052 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26053 Define before include of <stdlib.h> and undefine afterwards, then
26054 define as weak alias.
26055
26056 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26057 Undefine and restore default definition. Use
26058 libm_alias_ldouble_other.
26059
26060 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26061
26062 [BZ #22153]
26063 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26064 in coredumps.
26065
26066 2017-10-13 James Clarke <jrtc27@jrtc27.com>
26067
26068 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26069 Assign sym_map to be map for local symbols, as TLS relocations
26070 use sym_map to determine whether the symbol is defined and to
26071 extract the TLS information.
26072 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26073 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26074
26075 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26076
26077 [BZ #22189]
26078 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26079 (math_force_eval): Add powerpc version.
26080
26081 [BZ #22142]
26082 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26083 -DBL_MAX.
26084 (do_test): Likewise.
26085 * stdio-common/tst-printf.sh: Likewise.
26086 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26087 ifdef clause in order to set the carry bit right. Replace r0 by
26088 0 without changing the behavior.
26089
26090 2017-10-13 Joseph Myers <joseph@codesourcery.com>
26091
26092 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
26093 <libm-alias-ldouble.h>.
26094 (fabsl): Define using libm_alias_ldouble.
26095 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
26096 <libm-alias-ldouble.h>.
26097 (fabsl): Define using libm_alias_ldouble.
26098
26099 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
26100 Remove conditional code.
26101
26102 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
26103 Rename to __clog10_internal_l.
26104 (__clog10_internal_l): Define aliases using
26105 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
26106 with __clog10.
26107
26108 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26109
26110 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
26111 * benchtests/sincosf-inputs: New file.
26112 * benchtests/cosf-inputs: New file.
26113 * benchtests/sinf-inputs: New file.
26114
26115 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
26116
26117 * posix/tst-spawn.c (do_test): Wait for both children.
26118
26119 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
26120
26121 [BZ #22284]
26122 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
26123 tests-pie): Add tst-gmon-pie.
26124 (CFLAGS-tst-gmon-pie.c): New.
26125 (CRT-tst-gmon-pie): Likewise.
26126 (tst-gmon-pie-ENV): Likewise.
26127 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
26128 ($(objpfx)tst-gmon-pie.out): Likewise.
26129 (clean-tst-gmon-pie-data): Likewise.
26130 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
26131 * gmon/gmon.c [PIC]: Include <link.h>.
26132 [PIC] (callback): New function.
26133 (write_hist): Add an argument for load address. Subtract load
26134 address from PCs.
26135 (write_call_graph): Likewise.
26136 (write_gmon): Call __dl_iterate_phdr to get load address, pass
26137 it to write_hist and write_call_graph.
26138 * gmon/tst-gmon-pie.c: New file.
26139
26140 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26141
26142 * math/Makefile (test-types-basic): New variable.
26143 (test-types): Likewise.
26144 (libm-test-support): Use $(test-types) instead of $(types).
26145 (libm-tests-base-normal): Likewise.
26146 (libm-tests-base-finite): Likewise.
26147 (libm-tests-base-inline): Likewise.
26148 (generated): Likewise.
26149 ($(objpfx)libm-test-support-$(t).c): Likewise.
26150 (libm-tests-for-type iterator): Likewise.
26151 (libm-test-support iterator): Likewise.
26152 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
26153 (ulp_idx): Use ULP_IDX.
26154 * math/test-ldouble.h: Include <float.h>.
26155 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
26156 (ULP_IDX): New macro.
26157 (ULP_I_IDX): Likewise.
26158 * math/test-double.h (ULP_IDX): Likewise.
26159 (ULP_I_IDX): Likewise.
26160 * math/test-float.h (ULP_IDX): Likewise.
26161 (ULP_I_IDX): Likewise.
26162 * math/test-float128.h (ULP_IDX): Likewise.
26163 (ULP_I_IDX): Likewise.
26164
26165 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26166
26167 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
26168 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26169 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26170 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
26171 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26172 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26173 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26174 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26175 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26176 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26177 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26178 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26179 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26180 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26181 (SINGLE_THREAD_BY_GLOBAL): Define.
26182 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26183 Likewise.
26184 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26185 Likewise.
26186 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26187 Likewise.
26188 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26189 Likewise.
26190 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26191 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26192 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26193 Likewise.
26194
26195 2017-10-11 Andreas Schwab <schwab@suse.de>
26196
26197 * nis/Makefile (aux): Remove.
26198 * nscd/Makefile (aux): Add nscd_hash.
26199 (nscd-modules): Likewise.
26200 ($(objpfx)nscd): Don't depend on libnsl.
26201 * nscd/nscd_hash.c: New file.
26202 * nscd/nscd_hash.h: Likewise.
26203 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26204 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26205 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26206 instead of <nis/rpcsvc/nis.h>.
26207 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26208
26209 2017-10-11 Florian Weimer <fweimer@redhat.com>
26210
26211 [BZ #22078]
26212 Avoid large NSS buffers with many addresses, aliases.
26213 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26214 using dynarrays and struct alloc_buffer.
26215 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26216 (tst-nss-files-hosts-multi): Link with -ldl.
26217 * nss/tst-nss-files-hosts-multi.c: New file.
26218
26219 2017-10-11 Florian Weimer <fweimer@redhat.com>
26220
26221 [BZ #18023]
26222 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26223 scratch_buffer. Eliminate gotos.
26224
26225 2017-10-11 Joseph Myers <joseph@codesourcery.com>
26226
26227 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26228 libm_alias_ldouble_other.
26229 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26230 undefine and redefine.
26231 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26232 (exp10l): Do not define here.
26233 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26234 (weak_alias): Undefine and redefine.
26235 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26236 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26237 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26238 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26239
26240 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26241 [!__fma] (fma): Define using libm_alias_double.
26242 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26243 [!__fmaf] (fmaf): Define using libm_alias_float.
26244 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26245 (fmal): Define using libm_alias_ldouble.
26246
26247 2017-10-10 Joseph Myers <joseph@codesourcery.com>
26248
26249 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26250 New macro.
26251 (libm_alias_double_other): Likewise.
26252 (libm_alias_double_r): Use libm_alias_double_other_r.
26253 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26254 New macro.
26255 (libm_alias_float_other): Likewise.
26256 (libm_alias_float_r): Use libm_alias_float_other_r.
26257 * sysdeps/generic/libm-alias-float128.h
26258 (libm_alias_float128_other_r): New macro.
26259 (libm_alias_float128_other): Likewise.
26260 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26261 * sysdeps/generic/libm-alias-ldouble.h
26262 (libm_alias_ldouble_other_r): New macro.
26263 (libm_alias_ldouble_other): Likewise.
26264 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26265 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26266 (libm_alias_double_other_r): New macro.
26267 (libm_alias_double_other): Likewise.
26268 (libm_alias_double_r): Use libm_alias_double_other_r.
26269 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26270 (libm_alias_ldouble_other_r): New macro.
26271 (libm_alias_ldouble_other): Likewise.
26272 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26273 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26274 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26275 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26276 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26277 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26278 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26279 * math/w_exp2f.c: Use libm_alias_float_other.
26280 * math/w_expf.c: Likewise.
26281 * math/w_log2f.c: Likewise.
26282 * math/w_logf.c: Likewise.
26283 * math/w_powf.c: Likewise.
26284 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26285 [!__exp2f]: Use libm_alias_float_other.
26286 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26287 [!__expf]: Use libm_alias_float_other.
26288 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26289 [!__log2f]: Use libm_alias_float_other.
26290 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26291 [!__logf]: Use libm_alias_float_other.
26292 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26293 [!__powf]: Use libm_alias_float_other.
26294
26295 2017-10-10 Florian Weimer <fweimer@redhat.com>
26296
26297 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26298 function.
26299 (_nss_files_gethostbyname3_r): Call it.
26300
26301 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26302
26303 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26304 error. Remove default definition of declare_mgen_alias.
26305 [!declare_mgen_alias_r]: Likewise.
26306 * sysdeps/generic/math-type-macros-double.h
26307 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26308 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26309 (declare_mgen_alias_r): Likewise.
26310 * sysdeps/generic/math-type-macros-float128.h
26311 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26312 * sysdeps/generic/math-type-macros-ldouble.h
26313 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26314 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
26315 macro.
26316 (declare_mgen_alias_r_s): Likewise.
26317 (declare_mgen_alias_r): Likewise.
26318 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
26319 (lgamma_r): Define using libm_alias_double_r.
26320 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
26321 (lgammaf_r): Define using libm_alias_float_r.
26322 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
26323 (lgammal_r): Define using libm_alias_ldouble_r.
26324 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26325 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26326
26327 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26328
26329 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26330 extern declaration.
26331
26332 2017-10-09 Joseph Myers <joseph@codesourcery.com>
26333
26334 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
26335
26336 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
26337
26338 [BZ #21326]
26339 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
26340 [__cplusplus >= 201103] (__USE_ISOC99): Define.
26341 * math/Makefile (test-math-cxx11): New test.
26342 * math/test-math-cxx11.cc: New file.
26343
26344 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
26345
26346 * login/openpty.c (openpty): Close slave pty file descriptor on error.
26347
26348 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
26349 call to allocate the slave pty file descriptor.
26350
26351 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26352
26353 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
26354 [!__fma] (fma): Define using libm_alias_double.
26355 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
26356 [!__fma] (fma): Define using libm_alias_double.
26357
26358 * sysdeps/ieee754/float128/float128_private.h: Include
26359 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
26360 (libm_alias_ldouble_r): Undefine and redefine.
26361 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
26362 <libm-alias-ldouble.h>.
26363 (asinhl): Define using libm_alias_ldouble.
26364 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
26365 <libm-alias-ldouble.h>.
26366 (atanl): Define using libm_alias_ldouble.
26367 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
26368 <libm-alias-ldouble.h>.
26369 (cbrtl): Define using libm_alias_ldouble.
26370 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
26371 <libm-alias-ldouble.h>.
26372 (ceill): Define using libm_alias_ldouble.
26373 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
26374 <libm-alias-ldouble.h>.
26375 (copysignl): Define using libm_alias_ldouble.
26376 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
26377 <libm-alias-ldouble.h>.
26378 (cosl): Define using libm_alias_ldouble.
26379 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
26380 <libm-alias-ldouble.h>.
26381 (erfl): Define using libm_alias_ldouble.
26382 (erfcl): Likewise.
26383 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
26384 <libm-alias-ldouble.h>.
26385 (expm1l): Define using libm_alias_ldouble.
26386 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
26387 <libm-alias-ldouble.h>.
26388 (fabsl): Define using libm_alias_ldouble.
26389 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
26390 <libm-alias-ldouble.h>.
26391 (floorl): Define using libm_alias_ldouble.
26392 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
26393 <libm-alias-ldouble.h>.
26394 (fmal): Define using libm_alias_ldouble.
26395 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
26396 <libm-alias-ldouble.h>.
26397 (frexpl): Define using libm_alias_ldouble.
26398 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
26399 libm_alias_ldouble.
26400 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
26401 <libm-alias-ldouble.h>.
26402 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
26403 libm_alias_ldouble.
26404 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
26405 <libm-alias-ldouble.h>.
26406 (getpayloadl): Define using libm_alias_ldouble.
26407 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
26408 <libm-alias-ldouble.h>.
26409 (llrintl): Define using libm_alias_ldouble.
26410 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
26411 <libm-alias-ldouble.h>.
26412 (llroundl): Define using libm_alias_ldouble.
26413 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
26414 <libm-alias-ldouble.h>.
26415 (logbl): Define using libm_alias_ldouble.
26416 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
26417 <libm-alias-ldouble.h>.
26418 (lrintl): Define using libm_alias_ldouble.
26419 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
26420 <libm-alias-ldouble.h>.
26421 (lroundl): Define using libm_alias_ldouble.
26422 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
26423 <libm-alias-ldouble.h>.
26424 (modfl): Define using libm_alias_ldouble.
26425 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
26426 <libm-alias-ldouble.h>.
26427 (nearbyintl): Define using libm_alias_ldouble.
26428 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
26429 <libm-alias-ldouble.h>.
26430 (nextafterl): Define using libm_alias_ldouble.
26431 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
26432 <libm-alias-ldouble.h>.
26433 (nextupl): Define using libm_alias_ldouble.
26434 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
26435 <libm-alias-ldouble.h>.
26436 (remquol): Define using libm_alias_ldouble.
26437 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
26438 <libm-alias-ldouble.h>.
26439 (rintl): Define using libm_alias_ldouble.
26440 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
26441 <libm-alias-ldouble.h>.
26442 (roundevenl): Define using libm_alias_ldouble.
26443 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
26444 <libm-alias-ldouble.h>.
26445 (roundl): Define using libm_alias_ldouble.
26446 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
26447 using libm_alias_ldouble.
26448 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
26449 <libm-alias-ldouble.h>.
26450 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
26451 Define using libm_alias_ldouble.
26452 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
26453 <libm-alias-ldouble.h>.
26454 (sincosl): Define using libm_alias_ldouble.
26455 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
26456 <libm-alias-ldouble.h>.
26457 (sinl): Define using libm_alias_ldouble.
26458 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
26459 <libm-alias-ldouble.h>.
26460 (tanhl): Define using libm_alias_ldouble.
26461 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
26462 <libm-alias-ldouble.h>.
26463 (tanl): Define using libm_alias_ldouble.
26464 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
26465 <libm-alias-ldouble.h>.
26466 (totalorderl): Define using libm_alias_ldouble.
26467 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
26468 <libm-alias-ldouble.h>.
26469 (totalordermagl): Define using libm_alias_ldouble.
26470 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
26471 <libm-alias-ldouble.h>.
26472 (truncl): Define using libm_alias_ldouble.
26473 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
26474 libm_alias_ldouble.
26475 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
26476 libm_alias_ldouble.
26477 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
26478 <libm-alias-ldouble.h>.
26479 (weak_alias): Do not undefine and redefine.
26480 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26481 (copysignl): Define with long_double_symbol only if [IS_IN
26482 (libc)].
26483 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
26484 <libm-alias-ldouble.h>.
26485 (weak_alias): Do not undefine and redefine.
26486 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26487 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
26488 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
26489 <libm-alias-ldouble.h>.
26490 (weak_alias): Do not undefine and redefine.
26491 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26492 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
26493 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
26494 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
26495 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
26496 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
26497 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
26498 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
26499 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
26500 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
26501 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
26502 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
26503 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
26504 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
26505 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
26506 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
26507 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
26508 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
26509 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
26510 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
26511 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
26512 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
26513 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
26514 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
26515 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
26516 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
26517
26518 2017-10-06 Carlos O'Donell <carlos@redhat.com>
26519
26520 [BZ #22111]
26521 * malloc/malloc.c (tcache_shutting_down): Use bool type.
26522 (tcache_thread_freeres): Set tcache_shutting_down before
26523 freeing the tcache.
26524 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
26525 * malloc/tst-malloc-tcache-leak.c: New file.
26526
26527 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26528
26529 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
26530 back to powerpc32 file.
26531 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26532 (memrchr): Add __memrchr_power8 to ifunc list.
26533 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
26534 extra bytes for unaligned inputs.
26535
26536 2017-10-06 Joseph Myers <joseph@codesourcery.com>
26537
26538 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
26539 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
26540 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
26541 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26542 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26543
26544 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26545
26546 * sysdeps/arm/libm-test-ulps: Update.
26547
26548 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
26549 <libm-alias-ldouble.h>.
26550 (asinhl): Define using libm_alias_ldouble.
26551 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
26552 <libm-alias-ldouble.h>.
26553 (cbrtl): Define using libm_alias_ldouble.
26554 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
26555 <libm-alias-ldouble.h>.
26556 (copysignl): Define using libm_alias_ldouble.
26557 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
26558 <libm-alias-ldouble.h>.
26559 (cosl): Define using libm_alias_ldouble.
26560 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
26561 <libm-alias-ldouble.h>.
26562 (erfl): Define using libm_alias_ldouble.
26563 (erfcl): Likewise.
26564 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
26565 <libm-alias-ldouble.h>.
26566 (fmal): Define using libm_alias_ldouble.
26567 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
26568 <libm-alias-ldouble.h>.
26569 (frexpl): Define using libm_alias_ldouble.
26570 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
26571 libm_alias_ldouble.
26572 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
26573 <libm-alias-ldouble.h>.
26574 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
26575 libm_alias_ldouble.
26576 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
26577 <libm-alias-ldouble.h>.
26578 (getpayloadl): Define using libm_alias_ldouble.
26579 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
26580 <libm-alias-ldouble.h>.
26581 (llrintl): Define using libm_alias_ldouble.
26582 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
26583 <libm-alias-ldouble.h>.
26584 (llroundl): Define using libm_alias_ldouble.
26585 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
26586 <libm-alias-ldouble.h>.
26587 (lrintl): Define using libm_alias_ldouble.
26588 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
26589 <libm-alias-ldouble.h>.
26590 (lroundl): Define using libm_alias_ldouble.
26591 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
26592 <libm-alias-ldouble.h>.
26593 (modfl): Define using libm_alias_ldouble.
26594 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
26595 <libm-alias-ldouble.h>.
26596 (nextupl): Define using libm_alias_ldouble.
26597 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
26598 <libm-alias-ldouble.h>.
26599 (remquol): Define using libm_alias_ldouble.
26600 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
26601 <libm-alias-ldouble.h>.
26602 (roundevenl): Define using libm_alias_ldouble.
26603 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
26604 <libm-alias-ldouble.h>.
26605 (roundl): Define using libm_alias_ldouble.
26606 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
26607 using libm_alias_ldouble.
26608 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
26609 <libm-alias-ldouble.h>.
26610 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
26611 <libm-alias-ldouble.h>.
26612 (setpayloadsigl): Define using libm_alias_ldouble.
26613 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
26614 <libm-alias-ldouble.h>.
26615 (sincosl): Define using libm_alias_ldouble.
26616 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
26617 <libm-alias-ldouble.h>.
26618 (sinl): Define using libm_alias_ldouble.
26619 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
26620 <libm-alias-ldouble.h>.
26621 (tanhl): Define using libm_alias_ldouble.
26622 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
26623 <libm-alias-ldouble.h>.
26624 (tanl): Define using libm_alias_ldouble.
26625 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
26626 <libm-alias-ldouble.h>.
26627 (totalorderl): Define using libm_alias_ldouble.
26628 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
26629 <libm-alias-ldouble.h>.
26630 (totalordermagl): Define using libm_alias_ldouble.
26631 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
26632 libm_alias_ldouble.
26633 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
26634 libm_alias_ldouble.
26635
26636 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
26637
26638 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
26639 memmove_falkor.
26640 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
26641 (__libc_ifunc_impl_list): Likewise.
26642 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
26643 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
26644
26645 * benchtests/bench-memmove-walk.c: New file.
26646 * benchtests/Makefile (string-benchset): Add it.
26647
26648 * benchtests/bench-memset-walk.c: New file.
26649 * benchtests/Makefile (string-benchset): Add it.
26650
26651 * benchtests/bench-memcpy-walk.c: New file.
26652 * benchtests/Makefile (string-benchset): Add it.
26653
26654 2017-10-05 Florian Weimer <fweimer@redhat.com>
26655
26656 nscd: Eliminate compilation time dependency in the build output.
26657 * nscd/nscd_stat.c (STATDATA_VERSION)
26658 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
26659 (STATDATA_VERSION_FULL): New macro definitions.
26660 (compilation): Remove.
26661 (struct statdata): Adjust version member.
26662 (send_stats): Set version from STATDATA_VERSION_FULL.
26663 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
26664
26665 2017-10-05 Joseph Myers <joseph@codesourcery.com>
26666
26667 * configure.ac (--enable-add-ons): Remove option.
26668 (machine): Do not mention add-ons in comment.
26669 (LIBC_PRECONFIGURE): Likewise.
26670 (add_ons): Remove variable and sanity checks and logic to locate
26671 add-ons.
26672 (add_ons_automatic): Remove variable.
26673 (configured_add_ons): Likewise.
26674 (add_ons_sfx): Likewise.
26675 (add_ons_pfx): Likewise.
26676 (add_on_subdirs): Likewise.
26677 (sysnames_add_ons): Likewise. Remove loop over add-ons and
26678 consideration of add-ons in Implies handling.
26679 (sysdeps_add_ons): Likewise.
26680 * configure: Regenerated.
26681 * libidn/configure.ac: Remove.
26682 * libidn/configure: Likewise.
26683 * sysdeps/unix/inet/configure.ac: New file.
26684 * sysdeps/unix/inet/configure: New generated file.
26685 * sysdeps/unix/inet/Subdirs: Add libidn.
26686 * Makeconfig (sysdeps-srcdirs): Remove variable.
26687 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
26688 ($(common-objpfx)config.status): Do not depend on add-on files.
26689 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
26690 comment.
26691 (all-subdirs): Do not include $(add-on-subdirs).
26692 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
26693 * config.make.in (add-ons): Remove variable.
26694 (add-on-subdirs): Likewise.
26695 (sysdeps-add-ons): Likewise.
26696 * manual/Makefile (add-chapters): Remove.
26697 ($(objpfx)texis): Do not depend on $(add-chapters).
26698 (nonexamples): Do not handle $(add-chapters).
26699 (examples): Do not handle $(add-ons).
26700 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
26701 libc-texinfo.sh.
26702 * manual/install.texi (Installation): Do not mention add-ons.
26703 (--enable-add-ons): Do not document configure option.
26704 * INSTALL: Regenerated.
26705 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
26706 * manual/maint.texi (Hierarchy Conventions): Do not mention
26707 add-ons.
26708 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
26709 --enable-add-ons.
26710 * scripts/gen-sorted.awk: Do not handle Subdirs files from
26711 add-ons.
26712 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
26713 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
26714
26715 2017-10-05 Andreas Schwab <schwab@suse.de>
26716
26717 [BZ #15142]
26718 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
26719 (_IO_flush_all_lockp): Always lock list_all_lock.
26720 (_IO_flush_all_linebuffered): Likewise.
26721 (_IO_unbuffer_all): Likewise.
26722
26723 2017-10-05 Florian Weimer <fweimer@redhat.com>
26724
26725 [BZ #15436]
26726 Do not flush stdio streams on abort.
26727 * stdlib/abort.c (fflush): Remove macro definition.
26728 (abort): Remove stages related to stdio flushing.
26729
26730 2017-10-05 Florian Weimer <fweimer@redhat.com>
26731
26732 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
26733
26734 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
26735
26736 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26737
26738 2017-10-05 Florian Weimer <fweimer@redhat.com>
26739
26740 * support/support_format_hostent.c (support_format_hostent): Add
26741 more error information for NETDB_INTERNAL.
26742
26743 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26744
26745 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
26746 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
26747 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
26748 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
26749 AC_DEFINE if multi-arch is enabled.
26750 * sysdeps/i386/configure: Regenerated.
26751
26752 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26753
26754 * Makeconfig (+link-static-before-libc): Use
26755 $(DEFAULT-LDFLAGS-$(@F)).
26756 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
26757 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
26758 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
26759
26760 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26761
26762 * elf/Makefile (tests): Add tst-main1.
26763 (modules-names): Add tst-main1mod.
26764 ($(objpfx)tst-main1): New.
26765 (CRT-tst-main1): Likewise.
26766 (LDFLAGS-tst-main1): Likewise.
26767 (LDLIBS-tst-main1): Likewise.
26768 (tst-main1mod.so-no-z-defs): Likewise.
26769 * elf/tst-main1.c: New file.
26770 * elf/tst-main1mod.c: Likewise.
26771
26772 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
26773
26774 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
26775
26776 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26777
26778 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
26779 (fma): Define using libm_alias_double.
26780 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
26781 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
26782 <math_ldbl_opt.h>.
26783 (fmal): Do not define as compat symbol here.
26784 * sysdeps/alpha/fpu/s_fma.c: New file.
26785
26786 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26787
26788 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
26789
26790 2017-10-04 Joseph Myers <joseph@codesourcery.com>
26791
26792 [BZ #22229]
26793 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26794 <math_ldbl_opt.h>
26795 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26796 and libc.
26797 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
26798 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26799 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
26800 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
26801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26802 Include <math_ldbl_opt.h>
26803 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
26804 and libc.
26805 (compat_symbol): Undefine and redefine.
26806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26807 <math_ldbl_opt.h>
26808 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26809 (compat_symbol): Undefine and redefine.
26810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
26811 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
26812 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
26813 GLIBC_2_1 for libm.
26814 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
26815 GLIBC_2.0 copysignl symbol.
26816 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
26817 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
26818
26819 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
26820
26821 2017-10-04 Florian Weimer <fweimer@redhat.com>
26822
26823 * scripts/check-local-headers.sh: Ignore nspr4 header file
26824 directory in addition to nspr.
26825
26826 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
26827
26828 [BZ #17956]
26829 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
26830 * configure: Regenerate.
26831 * crypt/Makefile (nss-cpp-flags): New variable.
26832 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
26833 (CPPFLAGS-md5-crypt.c): Use it.
26834 * scripts/check-local-headers.sh: Ignore nspr header file
26835 directory.
26836
26837 2017-10-04 Andreas Schwab <schwab@suse.de>
26838
26839 * nis/Makefile (services): Remove compat.
26840 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
26841 ($(objpfx)libnss_compat.so): Remove rule.
26842 * nis/Versions (libnss_compat): Remove.
26843 * nss/Makefile (services): Add compat.
26844 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
26845 * nss/Versions (libnss_compat): Define.
26846 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
26847 Don't include <rpc/types.h>. Replace bool_t by bool.
26848 * nss/nss_compat/compat-initgroups.c: Likewise.
26849 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
26850 instead of <rpcsrv/ypclnt.h>.
26851 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
26852 yp_get_default_domain.
26853 * nss/nss_compat/compat-pwd.c: Likewise.
26854 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
26855 yp_get_default_domain.
26856 * nss/nss_compat/nisdomain.c: New file.
26857 * nss/nss_compat/nisdomain.h: Likewise.
26858
26859 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26860
26861 [BZ #22244]
26862 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
26863 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26864
26865 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
26866
26867 [BZ #22243]
26868 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
26869 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
26870
26871 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26872
26873 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
26874 "movl main@GOTOFF(%ebx), %eax".
26875
26876 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26877
26878 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
26879 allow undefined _DYNAMIC in PIE libc.a.
26880 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26881 Likewse.
26882
26883 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26884
26885 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
26886 check _DYNAMIC.
26887
26888 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26889
26890 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
26891 check _DYNAMIC.
26892
26893 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26894
26895 * math/test-math-iscanonical.cc (error): Replace bool with int.
26896
26897 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26898
26899 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
26900 (modf): Define using libm_alias_double, only if [!__modf].
26901 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
26902 <libm-alias-double.h>.
26903 (modf): Define using libm_alias_double, only if [!__modf].
26904 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
26905 compat symbol here.
26906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
26907 (weak_alias): Do not undefine and redefine.
26908 (strong_alias): Likewise.
26909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
26910 (weak_alias): Likewise.
26911 (strong_alias): Likewise.
26912
26913 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
26914 (logb): Define using libm_alias_double, only if [!__logb].
26915 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
26916 <libm-alias-double.h>.
26917 (logb): Define using libm_alias_double, only if [!__logb].
26918 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
26919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
26920 (weak_alias): Do not undefine and redefine.
26921 (strong_alias): Likewise.
26922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
26923 (weak_alias): Likewise.
26924 (strong_alias): Likewise.
26925
26926 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
26927
26928 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
26929 Check SHARED instead PIC.
26930
26931 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26932
26933 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
26934 [!__fmaf] (fmaf): Define using libm_alias_float.
26935
26936 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
26937 (frexp): Define using libm_alias_double.
26938 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
26939 <libm-alias-double.h>.
26940 (frexp): Define using libm_alias_double.
26941 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
26942 compat symbol here.
26943
26944 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26945
26946 [BZ #22235]
26947 * math/math.h: Trivial fix for unbalanced parentheses in comment.
26948 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
26949 (CFLAGS-test-math-iscanonical.cc): New variable.
26950 * math/test-math-iscanonical.cc: New file.
26951 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
26952 Provide a C++ implementation based on function overloading,
26953 rather than using __MATH_TG, which uses C-only builtins.
26954 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
26955 Likewise.
26956 * sysdeps/powerpc/powerpc64le/Makefile
26957 (CFLAGS-test-math-iscanonical.cc): New variable.
26958
26959 2017-10-03 Joseph Myers <joseph@codesourcery.com>
26960
26961 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
26962 (ceil): Define using libm_alias_double.
26963 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
26964 (floor): Define using libm_alias_double.
26965 * sysdeps/ieee754/dbl-64/s_llround.c: Include
26966 <libm-alias-double.h>.
26967 (llround): Define using libm_alias_double.
26968 * sysdeps/ieee754/dbl-64/s_lround.c: Include
26969 <libm-alias-double.h>.
26970 (lround): Define using libm_alias_double.
26971 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
26972 <libm-alias-double.h>.
26973 (nearbyint): Define using libm_alias_double.
26974 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
26975 <libm-alias-double.h>.
26976 (remquo): Define using libm_alias_double.
26977 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
26978 (rint): Define using libm_alias_double.
26979 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
26980 (round): Define using libm_alias_double.
26981 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
26982 (trunc): Define using libm_alias_double.
26983 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
26984 <libm-alias-double.h>.
26985 (ceil): Define using libm_alias_double.
26986 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
26987 <libm-alias-double.h>.
26988 (floor): Define using libm_alias_double.
26989 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
26990 <libm-alias-double.h>.
26991 (llround): Define using libm_alias_double.
26992 [_LP64] (lround): Likewise.
26993 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
26994 <libm-alias-double.h>.
26995 [!_LP64] (lround): Define using libm_alias_double.
26996 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
26997 <libm-alias-double.h>.
26998 (nearbyint): Define using libm_alias_double.
26999 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27000 <libm-alias-double.h>.
27001 (remquo): Define using libm_alias_double.
27002 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27003 <libm-alias-double.h>.
27004 (rint): Define using libm_alias_double.
27005 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27006 <libm-alias-double.h>.
27007 (round): Define using libm_alias_double.
27008 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27009 <libm-alias-double.h>.
27010 (trunc): Define using libm_alias_double.
27011 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27012 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27013 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27014 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27015 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27016 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27017 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27018 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27019 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27020
27021 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27022
27023 * math/w_remainder.c: New file.
27024 * math/w_remainderf.c: New file.
27025 * math/w_remainderl.c: New file.
27026
27027 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27028
27029 * elf/rtld.c (BOOTSTRAP_MAP): New.
27030 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27031 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27032 Likewise.
27033 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27034 Likewise.
27035 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27036 Likewise.
27037
27038 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27039
27040 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27041 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27042 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27043 rtld_hidden_data_ver): Define to empty.
27044 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27045 __assert_perror_fail): Likewise.
27046 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27047 (__rewinddir): Likewise.
27048 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27049 (__profile_frequency): Likewise.
27050 * include/setjmp.h (__sigsetjmp): Likewise.
27051 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27052 __libc_sigaction): Likewise.
27053 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27054 not set hidden attribute.
27055 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27056 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27057 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27058 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27059 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27060 __fxstatat64): Likewise.
27061 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27062 (__uname): Likewise.
27063 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27064 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27065 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27066 (NO_RTLD_HIDDEN): Set.
27067 * sysdeps/mach/hurd/configure: Refresh.
27068 * config.h.in: Refresh.
27069
27070 2017-10-02 Joseph Myers <joseph@codesourcery.com>
27071
27072 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27073 (atan): Define using libm_alias_double.
27074 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27075 (tan): Define using libm_alias_double.
27076 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27077 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27078
27079 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27080 define as weak alias of __atan. Do not define any aliases if
27081 [__atan].
27082 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27083 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27084 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27085 as weak alias of __tan. Do not define any aliases if [__tan].
27086 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27087 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27088 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27089 __atan.
27090 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
27091 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
27092 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
27093 and define as weak alias of __atan.
27094 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
27095 __atan.
27096 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
27097 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
27098 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
27099 define as weak alias of __tan.
27100
27101 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27102
27103 * math/w_lgamma.c: New file.
27104 * math/w_lgammaf.c: New file.
27105 * math/w_lgammal.c: New file.
27106
27107 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27108
27109 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
27110 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
27111 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
27112 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
27113 * sysdeps/ieee754/flt-32/w_logf.c: New file.
27114 * sysdeps/ieee754/flt-32/w_powf.c: New file.
27115 * sysdeps/i386/fpu/w_log2f.c: New file.
27116 * sysdeps/i386/fpu/w_logf.c: New file.
27117 * sysdeps/i386/fpu/w_powf.c: New file.
27118 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
27119 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
27120 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
27121
27122 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27123 H.J. Lu <hongjiu.lu@intel.com>
27124
27125 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
27126 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
27127 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
27128 * sysdeps/ieee754/flt-32/w_expf.c: New file.
27129 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
27130 the new expf code.
27131 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
27132 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
27133 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
27134 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
27135 * sysdeps/i386/fpu/w_exp2f.c: New file.
27136 * sysdeps/i386/fpu/w_expf.c: New file.
27137 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
27138 * sysdeps/x86_64/fpu/w_expf.c: New file.
27139
27140 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27141
27142 * math/Versions (logf): New libm symbol at GLIBC_2.27.
27143 (log2f): Likewise.
27144 (powf): Likewise.
27145 * math/w_log2f.c: New file.
27146 * math/w_logf.c: New file.
27147 * math/w_powf.c: New file.
27148 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
27149 * math/w_logf_compat.c (__logf_compat): Likewise.
27150 * math/w_powf_compat.c (__powf_compat): Likewise.
27151 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
27152 * sysdeps/ia64/fpu/e_logf.S: Likewise.
27153 * sysdeps/ia64/fpu/e_powf.S: Likewise.
27154 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27155 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27156 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27157 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27158 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27159 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27160 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27161 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27162 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27163 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27164 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27165 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27167 Likewise.
27168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27169 Likewise.
27170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27171 Likewise.
27172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27173 Likewise.
27174 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27175 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27176 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27177 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27178 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27180 Likewise.
27181 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27182 Likewise.
27183 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27184 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27185 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27186
27187 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27188
27189 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27190 (sysdep_routines): Add memrchr_power8.
27191 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27192 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27193 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27194 New file.
27195 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27196 (memrchr): Add __memrchr_power8 to ifunc list.
27197 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27198
27199 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27200
27201 [BZ #18822]
27202 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27203 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27204 libc_hidden_def.
27205 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27206 (__posix_fallocate64_l64): Likewise.
27207
27208 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27209
27210 [BZ #18822]
27211 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27212 (__sched_setaffinity_new): Add libc_hidden_proto and
27213 libc_hidden_def.
27214
27215 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27216
27217 [BZ #18822]
27218 * include/glob.h (__glob64): Add libc_hidden_proto.
27219 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27220 libc_hidden_def.
27221
27222 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27223
27224 [BZ #18822]
27225 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27226 attribute_hidden.
27227
27228 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27229
27230 [BZ #18822]
27231 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27232
27233 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27234
27235 [BZ #18822]
27236 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27237 libc_hidden_def.
27238
27239 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27240
27241 [BZ #18822]
27242 * csu/version.c (__libc_print_version): Add attribute_hidden.
27243
27244 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27245
27246 [BZ #18822]
27247 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27248
27249 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27250
27251 [BZ #18822]
27252 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27253
27254 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27255
27256 [BZ #18822]
27257 * nscd/nscd_helper.c (__nis_hash): New prototype.
27258
27259 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27260
27261 [BZ #18822]
27262 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27263 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27264 libc_hidden_def.
27265 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27266 * termios/tcgetattr.c (__tcgetattr): Likewise.
27267
27268 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27269
27270 [BZ #18822]
27271 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27272 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27273 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27274 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27275 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27276
27277 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27278
27279 [BZ #18822]
27280 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27281
27282 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27283
27284 [BZ #18822]
27285 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27286 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27287
27288 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27289
27290 [BZ #18822]
27291 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27292
27293 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27294
27295 [BZ #18822]
27296 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27297 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27298
27299 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27300
27301 [BZ #18822]
27302 * include/ifreq.h: New file.
27303 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27304 (__ifreq): Likewise.
27305 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27306 (__ifreq): Likewise.
27307
27308 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27309
27310 [BZ #18822]
27311 * include/idna.h: New file.
27312 * inet/getnameinfo.c: Include <idna.h> instead of
27313 <libidn/idna.h>.
27314 (__idna_to_unicode_lzlz): Removed.
27315 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
27316 <libidn/idna.h>.
27317 (__idna_to_ascii_lz): Removed.
27318 (__idna_to_unicode_lzlz): Likewise.
27319
27320 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27321
27322 [BZ #18822]
27323 * include/plural-exp.h: New file.
27324 * intl/plural-exp.c: Include <plural-exp.h> instead of
27325 "plural-exp.h".
27326
27327 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27328
27329 [BZ #18822]
27330 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27331 "getsourcefilter.h".
27332 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
27333 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
27334 "getsourcefilter.h".
27335 (__get_sol): Removed.
27336
27337 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27338
27339 [BZ #18822]
27340 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
27341 to ...
27342 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
27343
27344 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27345
27346 [BZ #18822]
27347 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
27348 attribute_hidden.
27349
27350 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27351
27352 [BZ #18822]
27353 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
27354
27355 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27356
27357 [BZ #18822]
27358 * include/search.h (__tdestroy): Add libc_hidden_proto.
27359 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
27360
27361 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27362
27363 [BZ #18822]
27364 * include/assert.h (__assert_fail_base): Add attribute_hidden.
27365
27366 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27367
27368 [BZ #18822]
27369 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
27370 attribute_hidden.
27371
27372 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27373
27374 [BZ #18822]
27375 * include/signal.h (__kill): Add libc_hidden_proto.
27376 (__sigblock): Likewise.
27377 (__sigprocmask): Likewise.
27378 (__sigaltstack): Likewise.
27379 * signal/kill.c (__kill): Add libc_hidden_def.
27380 * signal/sigblock.c (__sigblock): Likewise.
27381 * signal/sigprocmask.c (__sigprocmask): Likewise.
27382 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
27383 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27384 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27385 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27386 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
27387 Likewise.
27388 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27389 Likewise.
27390 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27391 (__sigprocmask): Likewise.
27392 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
27393 Likewise.
27394 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27395 (__sigprocmask): Likewise.
27396 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27397 Likewise.
27398
27399 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27400
27401 [BZ #18822]
27402 * include/string.h (__strsep): Add libc_hidden_proto.
27403 * string/strsep.c (__strsep): Add libc_hidden_def.
27404
27405 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27406
27407 [BZ #18822]
27408 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
27409 attribute_hidden.
27410 (__spawni): Likewise.
27411
27412 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27413
27414 [BZ #18822]
27415 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
27416 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
27417 libc_hidden_def.
27418
27419 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27420
27421 [BZ #18822]
27422 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
27423
27424 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27425
27426 [BZ #18822]
27427 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
27428 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
27429 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
27430 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
27431 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
27432 Likewise.
27433 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
27434 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
27435
27436 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27437
27438 [BZ #18822]
27439 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
27440 (__dcigettext): Likewise.
27441
27442 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27443
27444 [BZ #18822]
27445 * include/sys/sysinfo.h (__get_nprocs_conf): Add
27446 libc_hidden_proto.
27447 (__get_nprocs): Likewise.
27448 (__get_phys_pages): Likewise.
27449 (__get_avphys_pages): Likewise.
27450 (__get_child_max): Add attribute_hidden.
27451 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
27452 (__get_nprocs): Likewise.
27453 (__get_phys_pages): Likewise.
27454 (__get_avphys_pages): Likewise.
27455 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
27456 libc_hidden_def.
27457 (__get_nprocs): Likewise.
27458 (__get_phys_pages): Likewise.
27459 (__get_avphys_pages): Likewise.
27460 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
27461 libc_hidden_def.
27462 (__get_nprocs_conf): Likewise.
27463 (__get_phys_pages): Likewise.
27464 (__get_avphys_pages): Likewise.
27465
27466 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27467
27468 [BZ #18822]
27469 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
27470 attribute_hidden.
27471 (__netlink_close): Likewise.
27472 (__netlink_free_handle): Likewise.
27473 (__netlink_request): Likewise.
27474
27475 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27476
27477 [BZ #18822]
27478 * include/rpc/rpc.h (__rpc_thread_variables): Add
27479 attribute_hidden.
27480 (__rpc_thread_svc_cleanup): Likewise.
27481 (__rpc_thread_clnt_cleanup): Likewise.
27482 (__rpc_thread_key_cleanup): Likewise.
27483
27484 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27485
27486 [BZ #18822]
27487 * include/sys/uio.h (__readv): Add libc_hidden_proto.
27488 (__writev): Likewise.
27489 * misc/readv.c (__readv): Add libc_hidden_def.
27490 * misc/writev.c (__writev): Likewise.
27491 * sysdeps/posix/readv.c (__readv): Likewise.
27492 * sysdeps/posix/writev.c (__writev): Likewise.
27493 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
27494 (__readv): Likewise.
27495 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
27496 (__writev): Likewise.
27497
27498 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27499
27500 [BZ #18822]
27501 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
27502 (__regcomp): Add libc_hidden_proto.
27503 (__regexec): Likewise.
27504 (__regfree): Likewise.
27505 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
27506 (__regfree): Likewise.
27507 * posix/regexec.c (__regexec): Likewise.
27508
27509 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27510
27511 [BZ #18822]
27512 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
27513 (__getutent): Likewise.
27514 (__getutid): Likewise.
27515 (__getutline): Likewise.
27516 (__pututline): Likewise.
27517 (__getutent_r): Likewise.
27518 (__getutid_r): Likewise.
27519 (__getutline_r): Likewise.
27520 (__utmpname): Add attribute_hidden.
27521 (__setutent): Likewise.
27522 (__endutent): Likewise.
27523 * login/getutent.c (__getutent): Add libc_hidden_def.
27524 * login/getutent_r.c (__getutent_r): Likewise.
27525 (__pututline): Likewise.
27526 * login/getutid.c (__getutid): Likewise.
27527 * login/getutid_r.c (__getutid_r): Likewise.
27528 * login/getutline.c (__getutline): Likewise.
27529 * login/getutline_r.c (__getutline_r): Likewise.
27530 * login/updwtmp.c (__updwtmp): Likewise.
27531
27532 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27533
27534 [BZ #18822]
27535 * include/dirent.h (__opendir): Always add attribute_hidden.
27536 (__fdopendir): Likewise.
27537 (__closedir): Likewise.
27538 (__readdir): Likewise.
27539 (__readdir64): Add libc_hidden_proto.
27540 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
27541 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
27542 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
27543 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
27544 New alias.
27545
27546 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27547
27548 [BZ #18822]
27549 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
27550 * include/netdb.h (__gethostbyaddr_r): Likewise.
27551 (__gethostbyname_r): Likewise.
27552 (__gethostbyname2_r): Likewise.
27553 (__getnetbyaddr_r): Likewise.
27554 (__getnetbyname_r): Likewise.
27555 (__getservbyname_r): Likewise.
27556 (__getservbyport_r): Likewise.
27557 (__getprotobyname_r): Likewise.
27558 (__getprotobynumber_r): Likewise.
27559 (__getnetgrent_r): Likewise.
27560 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
27561 (__getrpcbynumber_r): Likewise.
27562 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
27563
27564 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27565
27566 [BZ #18822]
27567 * include/stdio.h (__fcloseall): Add attribute_hidden.
27568 (__getline): Likewise.
27569 (__path_search): Likewise.
27570 (__gen_tempname): Likewise.
27571 (__libc_message): Likewise.
27572 (__flockfile): Likewise.
27573 (__funlockfile): Likewise.
27574 (__fxprintf): Likewise.
27575 (__fxprintf_nocancel): Likewise.
27576
27577 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27578
27579 [BZ #18822]
27580 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
27581 (__sgetsgent_r): Likewise.
27582
27583 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27584
27585 [BZ #18822]
27586 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
27587 (__statfs64): Likewise.
27588 (__fstatfs64): Likewise.
27589 * include/sys/statvfs.h (__statvfs64): Likewise.
27590 (__fstatvfs64): Likewise.
27591 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
27592 (__statfs_filesize_max): Likewise.
27593 (__statfs_symlinks): Likewise.
27594 (__statfs_chown_restricted): Likewise.
27595
27596 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27597
27598 [BZ #18822]
27599 * include/time.h (__tzstring): Add attribute_hidden.
27600 (__tzfile_read): Likewise.
27601 (__tzfile_compute): Likewise.
27602 (__tzfile_default): Likewise.
27603 (__tzset_parse_tz): Likewise.
27604 (__offtime): Likewise.
27605 (__asctime_r): Likewise.
27606 (__tzset): Likewise.
27607 (__tz_convert): Likewise.
27608 (__getdate_r): Likewise.
27609 (__getclktck): Likewise.
27610
27611 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27612
27613 [BZ #18822]
27614 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
27615 (__nscd_unmap): Likewise.
27616 (__nscd_cache_search): Likewise.
27617 (__nscd_get_nl_timestamp): Likewise.
27618 (__nscd_getpwnam_r): Likewise.
27619 (__nscd_getpwuid_r): Likewise.
27620 (__nscd_getgrnam_r): Likewise.
27621 (__nscd_getgrgid_r): Likewise.
27622 (__nscd_gethostbyname_r): Likewise.
27623 (__nscd_gethostbyname2_r): Likewise.
27624 (__nscd_gethostbyaddr_r): Likewise.
27625 (__nscd_getai): Likewise.
27626 (__nscd_getgrouplist): Likewise.
27627 (__nscd_getservbyname_r): Likewise.
27628 (__nscd_getservbyport_r): Likewise.
27629 (__nscd_innetgr): Likewise.
27630 (__nscd_setnetgrent): Likewise.
27631
27632 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27633
27634 [BZ #18822]
27635 * include/gmp.h: Declare internal functions only if _ISOMAC is
27636 undefined.
27637 (__mpn_extract_double): Add attribute_hidden.
27638 (__mpn_extract_long_double): Likewise.
27639 (__mpn_extract_float128): Likewise.
27640 (__mpn_construct_float): Likewise.
27641 (__mpn_construct_double): Likewise.
27642 (__mpn_construct_long_double): Likewise.
27643 (__mpn_construct_float128): Likewise.
27644 (mpn_add_1): Likewise.
27645 (mpn_addmul_1): Likewise.
27646 (mpn_add_n): Likewise.
27647 (mpn_cmp): Likewise.
27648 (mpn_divrem): Likewise.
27649 (mpn_lshift): Likewise.
27650 (mpn_mul): Likewise.
27651 (mpn_mul_1): Likewise.
27652 (mpn_rshift): Likewise.
27653 (mpn_sub_1): Likewise.
27654 (mpn_submul_1): Likewise.
27655 (mpn_sub_n): Likewise.
27656
27657 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27658
27659 [BZ #18822]
27660 * include/wchar.h (__wcsnlen): Add attribute_hidden.
27661 (__wcscat): Likewise.
27662 (__btowc): Likewise.
27663 (__wcrtomb): Likewise.
27664 (__mbsrtowcs): Likewise.
27665 (__wcsrtombs): Likewise.
27666 (__mbsnrtowcs): Likewise.
27667 (__wcsnrtombs): Likewise.
27668 (__wcsncpy): Likewise.
27669 (__wcpncpy): Likewise.
27670 (__wmemcpy): Likewise.
27671 (__wmempcpy): Likewise.
27672 (__wmemmove): Likewise.
27673 (__wcschrnul): Likewise.
27674 (__vfwscanf): Likewise.
27675 (__vswprintf): Likewise.
27676 (__fwprintf): Likewise.
27677 (__vfwprintf): Likewise.
27678
27679 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27680
27681 [BZ #18822]
27682 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
27683 (__getgrgid_r): Likewise.
27684 (__getgrnam_r): Likewise.
27685 * include/pwd.h (__getpwuid_r): Likewise.
27686 (__getpwnam_r): Likewise.
27687 (__fgetpwent_r): Likewise.
27688 * include/shadow.h (__getspnam_r): Likewise.
27689 (__sgetspent_r): Likewise.
27690 (__fgetspent_r): Likewise.
27691
27692 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27693
27694 [BZ #18822]
27695 * include/unistd.h (__access): Add attribute_hidden.
27696 (__lseek64): Likewise.
27697 (__libc_pread64): Likewise.
27698 (__pipe2): Likewise.
27699 (__sleep): Likewise.
27700 (__chdir): Likewise.
27701 (__fchdir): Likewise.
27702 (__getcwd): Likewise.
27703 (__rmdir): Likewise.
27704 (__execvpe): Likewise.
27705 (__execve): Likewise.
27706 (__setsid): Likewise.
27707 (__getuid): Likewise.
27708 (__geteuid): Likewise.
27709 (__getgid): Likewise.
27710 (__getegid): Likewise.
27711 (__getgroups): Likewise.
27712 (__group_member): Likewise.
27713 (__ttyname_r): Likewise.
27714 (__isatty): Likewise.
27715 (__readlink): Likewise.
27716 (__unlink): Likewise.
27717 (__gethostname): Likewise.
27718 (__profil): Likewise.
27719 (__getdtablesize): Likewise.
27720 (__brk): Likewise.
27721 (__ftruncate): Likewise.
27722 (__ftruncate64): Likewise.
27723
27724 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27725
27726 [BZ #18822]
27727 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
27728 * argp/argp-fs-xinl.c: Likewise.
27729 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
27730 * argp/argp-parse.c: Include <argp.h>.
27731 * argp/argp-xinl.c: Likewise.
27732 * include/argp-fmtstream.h: New file.
27733 * include/argp.h (__argp_error): Add attribute_hidden.
27734 (__argp_failure): Likewise.
27735 (__argp_input): Likewise.
27736 (__argp_state_help): Likewise.
27737
27738 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27739
27740 [BZ #18822]
27741 * include/wchar.h (____wcstof_l_internal): New prototype.
27742 (____wcstod_l_internal): Likewise.
27743 (____wcstold_l_internal): Likewise.
27744 (____wcstol_l_internal): Likewise.
27745 (____wcstoul_l_internal): Likewise.
27746 (____wcstoll_l_internal): Likewise.
27747 (____wcstoull_l_internal): Likewise.
27748 (____wcstof128_l_internal): Likewise.
27749 * sysdeps/ieee754/float128/wcstof128.c
27750 (____wcstof128_l_internal): Removed.
27751 * sysdeps/ieee754/float128/wcstof128_l.c
27752 (____wcstof128_l_internal): Likewise.
27753 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
27754 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
27755 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
27756 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
27757 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
27758 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
27759 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
27760 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
27761 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
27762 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
27763
27764 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27765
27766 [BZ #18822]
27767 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
27768 instead of <sys/statvfs.h>.
27769 (__internal_statvfs): Removed.
27770 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
27771 instead of <sys/statvfs.h>.
27772 (__internal_statvfs64): Removed.
27773 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
27774 "internal_statvfs.h" instead of <sys/statvfs.h>.
27775 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
27776 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
27777 instead of <sys/statvfs.h>.
27778 (__internal_statvfs): Removed.
27779 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
27780 instead of <sys/statvfs.h>.
27781 (__internal_statvfs64): Removed.
27782
27783 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27784
27785 [BZ #18822]
27786 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
27787 (__gconv_close): Likewise.
27788 (__gconv): Likewise.
27789 (__gconv_find_transform): Likewise.
27790 (__gconv_lookup_cache): Likewise.
27791 (__gconv_compare_alias_cache): Likewise.
27792 (__gconv_load_cache): Likewise.
27793 (__gconv_get_path): Likewise.
27794 (__gconv_close_transform): Likewise.
27795 (__gconv_release_cache): Likewise.
27796 (__gconv_find_shlib): Likewise.
27797 (__gconv_release_shlib): Likewise.
27798 (__gconv_get_builtin_trans): Likewise.
27799 (__gconv_compare_alias): Likewise.
27800 * include/dlfcn.h (_dlerror_run): Likewise.
27801 * include/stdio.h (__fortify_fail_abort): Likewise.
27802 * include/time.h (__tz_compute): Likewise.
27803 (__strptime_internal): Likewise.
27804 * intl/gettextP.h (_nl_find_domain): Likewise.
27805 (_nl_load_domain): Likewise.
27806 (_nl_find_msg): Likewise.
27807 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
27808 (EXTRACT_PLURAL_EXPRESSION): Likewise.
27809 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
27810 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
27811 (__gai_find_request): Likewise.
27812 (__gai_remove_request): Likewise.
27813 (__gai_notify): Likewise.
27814 (__gai_notify_only): Likewise.
27815 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27816 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
27817 (_dl_non_dynamic_init): Likewise.
27818 (_dl_aux_init): Likewise.
27819 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
27820 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27821 Likewise.
27822 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
27823 (__wcsmbs_clone_conv): Likewise.
27824 (__wcsmbs_named_conv): Likewise.
27825
27826 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27827
27828 [BZ #18822]
27829 * include/stdlib.h (__random): Add attribute_hidden.
27830 (__random_r): Likewise.
27831 (__srandom_r): Likewise.
27832 (__initstate_r): Likewise.
27833 (__setstate_r): Likewise.
27834 (__erand48_r): Likewise.
27835 (__nrand48_r): Likewise.
27836 (__jrand48_r): Likewise.
27837 (__srand48_r): Likewise.
27838 (__seed48_r): Likewise.
27839 (__lcong48_r): Likewise.
27840 (__drand48_iterate): Likewise.
27841 (__setenv): Likewise.
27842 (__unsetenv): Likewise.
27843 (__clearenv): Likewise.
27844 (__ptsname_r): Likewise.
27845 (__posix_openpt): Likewise.
27846 (__add_to_environ): Likewise.
27847 (__realpath): Add libc_hidden_proto.
27848 (__ecvt_r): Likewise.
27849 (__fcvt_r): Likewise.
27850 (__qecvt_r): Likewise.
27851 (__qfcvt_r): Likewise.
27852 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
27853 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
27854
27855 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27856
27857 [BZ #18822]
27858 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
27859 * include/time.h (__mktime_internal): Likewise.
27860 * libio/iolibio.h (__fopen_internal): Likewise.
27861
27862 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
27863
27864 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
27865 pointer in frame.
27866 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
27867 Correct offset used to restore PIC register.
27868
27869 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
27870
27871 [BZ libc/22165]
27872 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
27873 code to load address of __getcontext_ret when generating PIC code.
27874
27875 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
27876
27877 * elf/Makefile (tests-static-internal): Add
27878 tst-tls1-static-non-pie.
27879 (LDFLAGS-tst-tls1-static-non-pie): New.
27880 * elf/tst-tls1-static-non-pie.c: New file.
27881
27882 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27883
27884 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
27885 (asinh): Define using libm_alias_double.
27886 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
27887 (cbrt): Define using libm_alias_double.
27888 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
27889 <libm-alias-double.h>.
27890 (copysign): Define using libm_alias_double.
27891 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
27892 (erf): Define using libm_alias_double.
27893 (erfc): Likewise.
27894 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
27895 (expm1): Define using libm_alias_double.
27896 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
27897 (fabs): Define using libm_alias_double.
27898 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
27899 libm_alias_double.
27900 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
27901 <libm-alias-double.h>.
27902 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
27903 libm_alias_double.
27904 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
27905 <libm-alias-double.h>.
27906 (getpayload): Define using libm_alias_double.
27907 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
27908 <libm-alias-double.h>.
27909 (llrint): Define using libm_alias_double.
27910 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
27911 (lrint): Define using libm_alias_double.
27912 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
27913 <libm-alias-double.h>.
27914 (nextup): Define using libm_alias_double.
27915 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
27916 <libm-alias-double.h>.
27917 (roundeven): Define using libm_alias_double.
27918 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
27919 libm_alias_double.
27920 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
27921 <libm-alias-double.h>.
27922 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
27923 using libm_alias_double.
27924 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
27925 (cos): Define using libm_alias_double.
27926 (sin): Likewise.
27927 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
27928 <libm-alias-double.h>.
27929 (sincos): Define using libm_alias_double.
27930 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
27931 (tanh): Define using libm_alias_double.
27932 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
27933 <libm-alias-double.h>.
27934 (totalorder): Define using libm_alias_double.
27935 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
27936 <libm-alias-double.h>.
27937 (totalordermag): Define using libm_alias_double.
27938 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
27939 libm_alias_double.
27940 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
27941 libm_alias_double.
27942 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
27943 <libm-alias-double.h>.
27944 (getpayload): Define using libm_alias_double.
27945 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
27946 <libm-alias-double.h>.
27947 (roundeven): Define using libm_alias_double.
27948 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
27949 <libm-alias-double.h>.
27950 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
27951 <libm-alias-double.h>.
27952 (totalorder): Define using libm_alias_double.
27953 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
27954 <libm-alias-double.h>.
27955 (totalordermag): Define using libm_alias_double.
27956 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
27957 libc compat symbol here.
27958 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
27959 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
27960 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
27961 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
27962 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
27963 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
27964 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
27965 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
27966 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
27967 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
27968
27969 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27970
27971 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
27972 _dl_relocate_static_pie instead of _dl_start to compute load
27973 address in static PIE. Return 0 if _DYNAMIC is undefined for
27974 static executable.
27975
27976 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27977
27978 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
27979 _DYNAMIC is undefined for static executable.
27980
27981 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
27982
27983 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
27984
27985 2017-09-29 Joseph Myers <joseph@codesourcery.com>
27986
27987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27988
27989 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
27990
27991 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27992 (__ieee754_lgamma_r): Use fabs rather than __fabs.
27993 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27994 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27995 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27996 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
27997 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
27998 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
27999 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28000 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28001 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28002 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28003 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28004 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28005 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28006 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28007 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28008
28009 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28010
28011 * math/bits/cmathcalls.h (cimag): Remove inline.
28012 (creal): Remove inline.
28013 (conj): Remove inline.
28014
28015 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28016
28017 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28018 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28019 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28020 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28021 (issignalingf_inline): Likewise.
28022 (POWF_LOG2_TABLE_BITS): Likewise.
28023 (POWF_LOG2_POLY_ORDER): Likewise.
28024 (POWF_SCALE_BITS): Likewise.
28025 (POWF_SCALE): Likewise.
28026 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28027 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28028 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28029
28030 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28031
28032 * math/Makefile (type-float-routines): Add e_log2f_data.
28033 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28034 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28035 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28036 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28037 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28038 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28039 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28040
28041 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28042
28043 * math/Makefile (type-float-routines): Add e_logf_data.
28044 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28045 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28046 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28047 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28048 * sysdeps/i386/fpu/e_logf_data.c: New file.
28049 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28050 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28051
28052 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28053
28054 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28055 undefined _DYNAMIC in PIE libc.a.
28056 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28057 Likewse.
28058
28059 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28060
28061 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28062 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28063 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28064 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28065 (__signbit): Remove.
28066 (__signbitl): Remove.
28067 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28068 (__signbit): Remove.
28069 (__signbitl): Remove.
28070 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28071 (__signbit): Remove.
28072 (__signbitl): Remove.
28073 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28074 (__signbit): Remove.
28075 (__signbitl): Remove.
28076 * sysdeps/tile/bits/mathinline.h: Delete file.
28077 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28078 (__signbit): Remove.
28079 (__signbitl): Remove.
28080
28081 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28082
28083 * math/math.h: Improve handling of C99 isgreater macros.
28084 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28085 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28086 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28087 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28088 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28089
28090 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
28091
28092 * sysdeps/aarch64/libm-test-ulps: Update.
28093
28094 2017-09-28 Joseph Myers <joseph@codesourcery.com>
28095
28096 [BZ #22225]
28097 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28098 math_opt_barrier on argument when doing arithmetic on it.
28099 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28100 Likewise. Use math_force_eval not math_opt_barrier after
28101 arithmetic.
28102 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
28103 math_opt_barrier on argument when doing arithmetic on it.
28104 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28105 Likewise.
28106
28107 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
28108
28109 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
28110 libc_hidden_def.
28111 (__freeifaddrs): Likewise.
28112
28113 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28114
28115 * include/dirent.h (__dirfd): New declaration.
28116 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
28117 alias.
28118 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
28119 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
28120 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
28121 * include/unistd.h (__revoke): New declaration.
28122 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
28123 alias.
28124 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28125 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
28126 revoke.
28127 * include/dirent.h (__seekdir): New declaration.
28128 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
28129 redefine as weak alias.
28130 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
28131 of seekdir.
28132 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
28133 and use libc_hidden_def on them.
28134 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
28135 them.
28136 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
28137 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
28138 instead of getifaddrs and freeifaddrs.
28139
28140 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28141
28142 [BZ #18822]
28143 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
28144 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
28145 (__dso_handle): Remove declaration.
28146 * dlfcn/tstatexit.c (__dso_handle): Removed.
28147 (main): Don't check __dso_handle.
28148 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
28149 (main): Don't check __dso_handle.
28150 * include/dso_handle.h: New file.
28151 * malloc/mtrace.c: Include <dso_handle.h>.
28152 (mtrace): Pass __dso_handle directly.
28153 * nptl/pthread_atfork.c: Include <dso_handle.h>.
28154 (__dso_handle): Remove declaration.
28155 (__pthread_atfork): Pass __dso_handle directly.
28156 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
28157 (__dso_handle): Removed.
28158 * posix/wordexp-test.c: Include <dso_handle.h>.
28159 (__dso_handle): Remove declaration.
28160 (__app_register_atfork): Pass __dso_handle directly.
28161 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
28162 (__dso_handle): Remove declaration.
28163 (at_quick_exit): Pass __dso_handle directly.
28164 * stdlib/atexit.c: Include <dso_handle.h>.
28165 (__dso_handle): Remove declaration.
28166 (atexit): Pass __dso_handle directly.
28167 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
28168 (__dso_handle): Removed.
28169
28170 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28171
28172 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28173 using VDSO.
28174
28175 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28176
28177 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28178 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28179 values to correct default value for given type.
28180
28181 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28182
28183 [BZ #22101]
28184 * elf/Makefile (tests): Add tst-debug1.
28185 ($(objpfx)tst-debug1): New.
28186 ($(objpfx)tst-debug1.out): Likewise.
28187 ($(objpfx)tst-debug1mod1.so): Likewise.
28188 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28189 with p_filesz == 0.
28190 * elf/tst-debug1.c: New file.
28191
28192 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28193
28194 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28195 Define using __ifunc.
28196
28197 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28198
28199 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28200 exp2f() values.
28201
28202 2017-09-26 Joseph Myers <joseph@codesourcery.com>
28203
28204 [BZ #22156]
28205 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28206
28207 2017-09-26 Florian Weimer <fweimer@redhat.com>
28208
28209 * resolv/Makefile (tests-internal): Fix typo in comment.
28210
28211 2017-09-26 Florian Weimer <fweimer@redhat.com>
28212
28213 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28214
28215 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28216
28217 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28218 Use an union instead of a max_align_t array for __space,
28219 so that __space is the same size on all platforms.
28220 * malloc/scratch_buffer_grow_preserve.c
28221 (__libc_scratch_buffer_grow_preserve): Likewise.
28222
28223 [BZ #22183]
28224 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28225 version to 2.
28226 * posix/Makefile (routines): Add glob-lstat-compat and
28227 glob64-lstat-compat.
28228 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28229 * posix/glob-lstat-compat.c: New file.
28230 * posix/glob64-lstat-compat.c: Likewise.
28231 * posix/tst-glob_lstat_compat.c: Likewise.
28232 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28233 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28234 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28235 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28236 Likewise.
28237 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28238 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28239 * posix/glob.c (glob_lstat): New function.
28240 (glob): Rename to __glob and add versioned symbol to 2.27.
28241 (glob_in_dir): Use glob_lstat.
28242 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28243 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28244 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28245 2.27.
28246 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28247 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28248 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28249 gl_lstat on glob call.
28250 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28251 and glob64 symbols.
28252 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28253 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28254 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28255 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28256 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28257 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28258 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28259 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28260 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28261 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28262 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28263 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28265 Likewise.
28266 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28268 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28269 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28270 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28271 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28272 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28274 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28275 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28276 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28277 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28278
28279 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28280
28281 * configure.ac (AS): Require binutils 2.25 or later.
28282 * configure: Regenerated.
28283
28284 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28285
28286 [BZ #22207]
28287 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28288 VM size.
28289
28290 2017-09-25 DJ Delorie <dj@redhat.com>
28291
28292 [BZ #22161]
28293 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28294 resetting timeout.
28295
28296 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28297
28298 * sysdeps/ieee754/dbl-64/sincos32.h
28299 [SINCCOS32_H]: Remove define.
28300 [SINCOS32_H]: Define.
28301
28302 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28303
28304 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28305 (exp2f): Likewise.
28306 * math/w_exp2f.c: New file.
28307 * math/w_expf.c: New file.
28308 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28309 * math/w_expf_compat.c (__expf_compat): Likewise.
28310 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28311 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28312 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28313 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28314 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28315 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28316 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28317 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28318 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28319 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28320 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28321 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28322 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28323 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28325 Likewise.
28326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28327 Likewise.
28328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28329 Likewise.
28330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28331 Likewise.
28332 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28333 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28334 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28335 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28336 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28338 Likewise.
28339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28340 Likewise.
28341 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28342 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28343 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28344
28345 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28346
28347 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
28348 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
28349 (roundtoint, converttoint): Likewise.
28350 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
28351 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
28352 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
28353 * sysdeps/ieee754/flt-32/math_config.h: New file.
28354 * sysdeps/ieee754/flt-32/math_errf.c: New file.
28355 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
28356 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
28357 * sysdeps/i386/fpu/math_errf.c: New file.
28358 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
28359 * sysdeps/ia64/fpu/math_errf.c: New file.
28360 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
28361 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
28362
28363 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
28364
28365 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
28366 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
28367 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
28368 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
28369 to make sure that these symbols are defined.
28370 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
28371 of <limits.h>
28372 (__need_NULL): Do not define.
28373 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
28374 alignment.
28375 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
28376 CMGROUP_MAX, cmsgcred): Do not define.
28377 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
28378 NULL.
28379 * bits/socket.h: Likewise.
28380 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
28381 __gettimeofday instead of gettimeofday.
28382 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
28383 instead of settimeofday.
28384
28385 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28386
28387 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
28388 (asinhf): Define using libm_alias_float.
28389 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
28390 (atanf): Define using libm_alias_float.
28391 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
28392 (cbrtf): Define using libm_alias_float.
28393 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
28394 (ceilf): Define using libm_alias_float.
28395 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
28396 <libm-alias-float.h>.
28397 (copysignf): Define using libm_alias_float.
28398 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
28399 (cosf): Define using libm_alias_float.
28400 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
28401 (erff): Define using libm_alias_float.
28402 (erfcf): Likewise.
28403 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28404 (expm1f): Define using libm_alias_float.
28405 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
28406 (fabsf): Define using libm_alias_float.
28407 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
28408 (floorf): Define using libm_alias_float.
28409 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
28410 (frexpf): Define using libm_alias_float.
28411 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
28412 libm_alias_float.
28413 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
28414 <libm-alias-float.h>.
28415 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
28416 libm_alias_float.
28417 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
28418 <libm-alias-float.h>.
28419 (getpayloadf): Define using libm_alias_float.
28420 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
28421 <libm-alias-float.h>.
28422 (llrintf): Define using libm_alias_float.
28423 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
28424 <libm-alias-float.h>.
28425 (llroundf): Define using libm_alias_float.
28426 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
28427 (logbf): Define using libm_alias_float.
28428 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
28429 (lrintf): Define using libm_alias_float.
28430 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
28431 (lroundf): Define using libm_alias_float.
28432 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
28433 (modff): Define using libm_alias_float.
28434 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
28435 <libm-alias-float.h>.
28436 (nearbyintf): Define using libm_alias_float.
28437 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
28438 <libm-alias-float.h>.
28439 (nextafterf): Define using libm_alias_float.
28440 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
28441 <libm-alias-float.h>.
28442 (nextupf): Define using libm_alias_float.
28443 * sysdeps/ieee754/flt-32/s_remquof.c: Include
28444 <libm-alias-float.h>.
28445 (remquof): Define using libm_alias_float.
28446 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
28447 (rintf): Define using libm_alias_float.
28448 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
28449 <libm-alias-float.h>.
28450 (roundevenf): Define using libm_alias_float.
28451 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
28452 (roundf): Define using libm_alias_float.
28453 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
28454 using libm_alias_float.
28455 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
28456 <libm-alias-float.h>.
28457 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
28458 Define using libm_alias_float.
28459 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
28460 <libm-alias-float.h>.
28461 (sincosf): Define using libm_alias_float.
28462 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
28463 (sinf): Define using libm_alias_float.
28464 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
28465 (tanf): Define using libm_alias_float.
28466 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
28467 (tanhf): Define using libm_alias_float.
28468 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
28469 <libm-alias-float.h>.
28470 (totalorderf): Define using libm_alias_float.
28471 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
28472 <libm-alias-float.h>.
28473 (totalordermagf): Define using libm_alias_float.
28474 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
28475 (truncf): Define using libm_alias_float.
28476 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
28477 libm_alias_float.
28478 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
28479 libm_alias_float.
28480
28481 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28482
28483 [BZ #22146]
28484 math/math.h: Let fpclassify use the builtin in C++ mode, even
28485 when optimazing for size.
28486
28487 2017-09-22 Joseph Myers <joseph@codesourcery.com>
28488
28489 * csu/Makefile (generated): Do not add version-info.h.
28490 (before-compile): Likewise.
28491 (all-Banner-files): Remove variable.
28492 ($(objpfx)version-info.h): Remove rule.
28493 * csu/version.c (banner): Do not include "version-info.h".
28494 * libidn/Banner: Remove.
28495 * manual/contrib.texi (Simon Josefsson): New entry.
28496
28497 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28498
28499 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28500 Remove conditionals on LDBL_MANT_DIG.
28501 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28502 (__ieee754_lgammal_r): Likewise.
28503
28504 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28505
28506 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
28507 _Float128 and L().
28508 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
28509 _Float128 and L(). Replace _Float128 with long double and L(x)
28510 with xL, throughout the file.
28511 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28512 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28513 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28514 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28515
28516 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28517
28518 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
28519 sysdeps/ieee754/ldbl-128ibm.
28520 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
28521 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
28522 of including it. Keep _Float128 and L() intact. These will be
28523 reviewed by a separate patch.
28524 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28525 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28526 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28527 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28528
28529 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28530
28531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
28532 (__finitef128): Define to __redirect___finitef128.
28533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
28534 (__isinff128): Define to __redirect___isinff128.
28535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
28536 (__isnanf128): Define to __redirect___isnanf128.
28537
28538 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28539
28540 * sysdeps/powerpc/powerpc64le/Makefile
28541 (CFLAGS-tst-strtod-nan-locale.c): New variable.
28542 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
28543
28544 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
28545 Carlos O'Donell <carlos@redhat.com>
28546
28547 [BZ #22180]
28548 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
28549 * stdlib/test-dlclose-exit-race.c: New file.
28550 * stdlib/test-dlclose-exit-race-helper.c: New file.
28551 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
28552
28553 2017-09-21 Joseph Myers <joseph@codesourcery.com>
28554
28555 * crypt/Banner: Remove file.
28556 * nptl/Banner: Likewise.
28557 * resolv/Banner: Likewise.
28558 * soft-fp/Banner: Likewise.
28559 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
28560 ($(objpfx)version.d): Remove dependency on banner.h.
28561 ($(objpfx)version.os): Likewise.
28562 * nptl/version.c (banner): Do not include banner.h.
28563 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
28564 Jelinek and BIND code.
28565
28566 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28567 Carlos O'Donell <carlos@redhat.com>
28568
28569 * support/xdlfcn.h: New file.
28570 * support/xdlfcn.c: New file.
28571 * support/Makefile (libsupport-routines): Add xdlfcn.
28572 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
28573
28574 2017-09-20 Joseph Myers <joseph@codesourcery.com>
28575
28576 [BZ #20142]
28577 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28578 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
28579 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
28580 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
28581 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
28582 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
28583 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
28584 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
28585
28586 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
28587 Ricky Zhou <rickyz@google.com>
28588 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
28589
28590 [BZ #14333]
28591 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
28592 Remove atomics.
28593 (__new_exitfn): Fail registration when we finished at_exit processing.
28594 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28595 * stdlib/on_exit.c (__on_exit): Likewise.
28596 * stdlib/exit.c (__exit_funcs_done): New variable.
28597 (__run_exit_handlers): Use __exit_funcs_lock.
28598 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
28599 declarations.
28600 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
28601 (test-cxa_atexit-race, test-on_exit-race): New tests.
28602 * stdlib/test-atexit-race-common.c: New file.
28603 * stdlib/test-atexit-race.c: New file.
28604 * stdlib/test-at_quick_exit-race.c: New file.
28605 * stdlib/test-cxa_atexit-race.c: New file.
28606 * stdlib/test-on_exit-race.c: New file.
28607
28608 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
28609
28610 * benchtests/Makefile: Add exp2f and log2f benchmarks.
28611 * benchtests/exp2f-inputs: Copy of expf-inputs.
28612 * benchtests/log2f-inputs: Copy of logf-inputs.
28613
28614 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28615
28616 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
28617 Explicitly take address of first element of array arguments in
28618 call to INLINE_SYSCALL.
28619
28620 2017-09-19 Andreas Schwab <schwab@suse.de>
28621
28622 [BZ #22134]
28623 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
28624 execveat first.
28625 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
28626 unimplemented.
28627 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
28628 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
28629 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28630 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
28631 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28632 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28633 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28634 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
28635 * posix/Makefile (tests): Add tst-fexecve.
28636 * posix/tst-fexecve.c: New file.
28637
28638 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28639
28640 * benchtests/Makefile: Add logf benchmark.
28641 * benchtests/logf-inputs: Add reduced trace from wrf_r.
28642
28643 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28644
28645 * benchtests/Makefile: Add expf benchmark.
28646 * benchtests/expf-inputs: Add reduced trace from wrf_r.
28647
28648 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
28649
28650 * csu/Makefile: Add -funwind-tables to libc-start.c.
28651 * debug/Makefile: Add -funwind-tables to backtrace.c.
28652 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
28653 * sysdeps/arm/Makefile: Likewise.
28654 * sysdeps/i386/Makefile: Likewise.
28655 * sysdeps/m68k/Makefile: Likewise.
28656 * sysdeps/mips/Makefile: Likewise.
28657 * sysdeps/nios2/Makefile: Likewise.
28658 * sysdeps/sh/Makefile: Likewise.
28659 * sysdeps/sparc/Makefile: Likewise.
28660
28661 2017-09-19 Joseph Myers <joseph@codesourcery.com>
28662
28663 * benchtests/Makefile (bench-math): Add trunc and truncf.
28664 (CFLAGS-bench-trunc.c): New variable.
28665 (CFLAGS-bench-truncf.c): Likewise.
28666 * benchtests/trunc-inputs: New file.
28667 * benchtests/truncf-inputs: Likewise.
28668
28669 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28670
28671 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
28672
28673 2017-09-18 Joseph Myers <joseph@codesourcery.com>
28674
28675 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
28676 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
28677 redefine.
28678 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
28679 (exp10l): Define as weak alias.
28680 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
28681 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
28682 and redefine.
28683 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
28684 (remainderl): Define as weak alias.
28685
28686 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
28687 (fmal): Define using libm_alias_ldouble.
28688 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
28689 (acoshl): Define using libm_alias_ldouble.
28690 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
28691 (acosl): Define using libm_alias_ldouble.
28692 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
28693 (asinl): Define using libm_alias_ldouble.
28694 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
28695 (atan2l): Define using libm_alias_ldouble.
28696 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
28697 (atanhl): Define using libm_alias_ldouble.
28698 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
28699 (coshl): Define using libm_alias_ldouble.
28700 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
28701 (exp10l): Define using libm_alias_ldouble.
28702 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
28703 (exp2l): Define using libm_alias_ldouble.
28704 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
28705 (expl): Define using libm_alias_ldouble.
28706 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
28707 (fmodl): Define using libm_alias_ldouble.
28708 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
28709 (hypotl): Define using libm_alias_ldouble.
28710 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
28711 (j0l): Define using libm_alias_ldouble.
28712 (y0l): Likewise.
28713 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
28714 (j1l): Define using libm_alias_ldouble.
28715 (y1l): Likewise.
28716 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
28717 (jnl): Define using libm_alias_ldouble.
28718 (ynl): Likewise.
28719 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
28720 (log10l): Define using libm_alias_ldouble.
28721 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
28722 (log2l): Define using libm_alias_ldouble.
28723 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
28724 (logl): Define using libm_alias_ldouble.
28725 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
28726 (powl): Define using libm_alias_ldouble.
28727 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
28728 (remainderl): Define using libm_alias_ldouble.
28729 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
28730 (sinhl): Define using libm_alias_ldouble.
28731 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
28732 (sqrtl): Define using libm_alias_ldouble.
28733 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
28734 (tgammal): Define using libm_alias_ldouble.
28735 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
28736 (exp10l): Do not use long_double_symbol here.
28737 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
28738 [LIBM_SVID_COMPAT] (remainderl): Likewise.
28739 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
28740 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
28741 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
28742 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
28743 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
28744 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
28745 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
28746 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
28747 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
28748 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
28749 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
28750 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
28751 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
28752 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
28753 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
28754 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
28755 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
28756 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
28757 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
28758 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
28759
28760 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
28761
28762 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
28763 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
28764
28765 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
28766
28767 * io/read.c (read): Add libc_hidden_weak.
28768 * sysdeps/mach/hurd/read.c (read): Likewise.
28769 * io/write.c (write): Likewise.
28770 * sysdeps/mach/hurd/write.c (write): Likewise.
28771 * io/pread64.c (__pread64): Likewise.
28772 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
28773 * posix/pread64.c (__pread64): Add libc_hidden_def.
28774
28775 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
28776
28777 * benchtests/scripts/compare_strings.py: New option -g.
28778 (draw_graph): Print a message that a graph is being generated.
28779 (process_results): Generate graph only if -g is passed.
28780 (main): Process option -g.
28781
28782 * benchtests/scripts/compare_strings.py (process_results):
28783 Better spacing for output.
28784
28785 * benchtests/scripts/compare_strings.py: Use argparse.
28786 * benchtests/README: Document existence of compare_strings.py.
28787
28788 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28789
28790 * math/s_fma.c: Include <libm-alias-double.h>.
28791 (fma): Define using libm_alias_double.
28792 * math/s_nextafter.c: Include <libm-alias-double.h>.
28793 (nextafter): Define using libm_alias_double.
28794 * math/w_acos_compat.c: Include <libm-alias-double.h>.
28795 (acos): Define using libm_alias_double.
28796 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
28797 (aocsh): Define using libm_alias_double.
28798 * math/w_asin_compat.c: Include <libm-alias-double.h>.
28799 (asin): Define using libm_alias_double.
28800 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
28801 (atan2): Define using libm_alias_double.
28802 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
28803 (atanh): Define using libm_alias_double.
28804 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
28805 (cosh): Define using libm_alias_double.
28806 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
28807 (exp10): Define using libm_alias_double.
28808 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
28809 (exp2): Define using libm_alias_double.
28810 * math/w_exp_compat.c: Include <libm-alias-double.h>.
28811 (exp): Define using libm_alias_double.
28812 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
28813 (fmod): Define using libm_alias_double.
28814 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
28815 (hypot): Define using libm_alias_double.
28816 * math/w_j0_compat.c: Include <libm-alias-double.h>.
28817 (j0): Define using libm_alias_double.
28818 (y0): Likewise.
28819 * math/w_j1_compat.c: Include <libm-alias-double.h>.
28820 (j1): Define using libm_alias_double.
28821 (y1): Likewise.
28822 * math/w_jn_compat.c: Include <libm-alias-double.h>.
28823 (jn): Define using libm_alias_double.
28824 (yn): Likewise.
28825 * math/w_log10_compat.c: Include <libm-alias-double.h>.
28826 (log10): Define using libm_alias_double.
28827 * math/w_log2_compat.c: Include <libm-alias-double.h>.
28828 (log2): Define using libm_alias_double.
28829 * math/w_log_compat.c: Include <libm-alias-double.h>.
28830 (log): Define using libm_alias_double.
28831 * math/w_pow_compat.c: Include <libm-alias-double.h>.
28832 (pow): Define using libm_alias_double.
28833 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
28834 (remainder): Define using libm_alias_double.
28835 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
28836 (sinh): Define using libm_alias_double.
28837 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
28838 (sqrt): Define using libm_alias_double.
28839 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
28840 (tgamma): Define using libm_alias_double.
28841 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
28842 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
28843 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
28844 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
28845 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
28846 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
28847 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
28848 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
28849 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
28850 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
28851 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
28852 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
28853 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
28854 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
28855 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
28856 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
28857 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
28858 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
28859 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
28860 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
28861 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
28862 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
28863 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
28864 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
28865 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
28866
28867 * math/e_acoshl.c: Remove.
28868 * math/e_acosl.c: Likewise.
28869 * math/e_asinl.c: Likewise.
28870 * math/e_atan2l.c: Likewise.
28871 * math/e_atanhl.c: Likewise.
28872 * math/e_coshl.c: Likewise.
28873 * math/e_expl.c: Likewise.
28874 * math/e_fmodl.c: Likewise.
28875 * math/e_gammal_r.c: Likewise.
28876 * math/e_hypotl.c: Likewise.
28877 * math/e_j0l.c: Likewise.
28878 * math/e_j1l.c: Likewise.
28879 * math/e_jnl.c: Likewise.
28880 * math/e_lgammal_r.c: Likewise.
28881 * math/e_log10l.c: Likewise.
28882 * math/e_log2l.c: Likewise.
28883 * math/e_logl.c: Likewise.
28884 * math/e_powl.c: Likewise.
28885 * math/e_rem_pio2l.c: Likewise.
28886 * math/e_sinhl.c: Likewise.
28887 * math/e_sqrtf128.c: Likewise.
28888 * math/e_sqrtl.c: Likewise.
28889 * math/k_cosl.c: Likewise.
28890 * math/k_sinl.c: Likewise.
28891 * math/k_tanl.c: Likewise.
28892 * math/s_asinhl.c: Likewise.
28893 * math/s_atanl.c: Likewise.
28894 * math/s_cbrtl.c: Likewise.
28895 * math/s_erfl.c: Likewise.
28896 * math/s_expm1l.c: Likewise.
28897 * math/s_log1pl.c: Likewise.
28898 * math/s_tanhl.c: Likewise.
28899
28900 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28901
28902 [BZ #21745]
28903 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
28904 [$(subdir) = math] (sysdep_calls): New variable. Has the
28905 previous contents of sysdep_routines, but re-sorted..
28906 [$(subdir) = math] (sysdep_routines): Re-use the contents from
28907 sysdep_calls.
28908 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
28909 defined in sysdep_calls and replace by the respective m_* names.
28910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
28911 (compat_symbol): Undefine to avoid duplicated compat symbols in
28912 libc.
28913
28914 2017-09-15 Joseph Myers <joseph@codesourcery.com>
28915
28916 * math/s_fmaf.c: Include <libm-alias-float.h>.
28917 (fmaf): Define using libm_alias_float.
28918 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
28919 (acosf): Define using libm_alias_float.
28920 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
28921 (acoshf): Define using libm_alias_float.
28922 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
28923 (asinf): Define using libm_alias_float.
28924 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
28925 (atan2f): Define using libm_alias_float.
28926 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
28927 (atanhf): Define using libm_alias_float.
28928 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
28929 (coshf): Define using libm_alias_float.
28930 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
28931 (exp10f): Define using libm_alias_float.
28932 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
28933 (fmodf): Define using libm_alias_float.
28934 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
28935 (hypotf): Define using libm_alias_float.
28936 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
28937 (j0f): Define using libm_alias_float.
28938 (y0f): Likewise.
28939 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
28940 (j1f): Define using libm_alias_float.
28941 (y1f): Likewise.
28942 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
28943 (jnf): Define using libm_alias_float.
28944 (ynf): Likewise.
28945 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
28946 (log10f): Define using libm_alias_float.
28947 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
28948 (log2f): Define using libm_alias_float.
28949 * math/w_logf_compat.c: Include <libm-alias-float.h>.
28950 (logf): Define using libm_alias_float.
28951 * math/w_powf_compat.c: Include <libm-alias-float.h>.
28952 (powf): Define using libm_alias_float.
28953 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
28954 (remainderf): Define using libm_alias_float.
28955 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
28956 (sinhf): Define using libm_alias_float.
28957 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
28958 (sqrtf): Define using libm_alias_float.
28959 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
28960 (tgammaf): Define using libm_alias_float.
28961
28962 2017-09-14 Joseph Myers <joseph@codesourcery.com>
28963
28964 * include/math.h (roundeven): Change hidden_proto call to
28965 __roundeven.
28966 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
28967 alias.
28968 [NO_LONG_DOUBLE] (__j0l): New strong alias.
28969 (y0): Rename to __y0 and define as weak alias.
28970 [NO_LONG_DOUBLE] (__y0l): New strong alias.
28971 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
28972 alias.
28973 (y0f): Rename to __y0f and define as weak alias.
28974 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
28975 alias.
28976 [NO_LONG_DOUBLE] (__j1l): New strong alias.
28977 (y1): Rename to __y1 and define as weak alias.
28978 [NO_LONG_DOUBLE] (__y1l): New strong alias.
28979 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
28980 alias.
28981 (y1f): Rename to __y1f and define as weak alias.
28982 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
28983 alias.
28984 [NO_LONG_DOUBLE] (__jnl): New strong alias.
28985 (yn): Rename to __yn and define as weak alias.
28986 [NO_LONG_DOUBLE] (__ynl): New strong alias.
28987 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
28988 alias.
28989 (ynf): Rename to __ynf and define as weak alias.
28990 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
28991 (fromfp): Define as weak alias.
28992 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
28993 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
28994 (fromfpx): Define as weak alias.
28995 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
28996 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
28997 __getpayload and define as weak alias.
28998 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
28999 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29000 __roundeven and define as weak alias.
29001 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29002 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29003 __setpayload.
29004 (setpayload): Define as weak alias.
29005 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29006 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29007 __setpayloadsig.
29008 (setpayloadsig): Define as weak alias.
29009 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29010 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29011 __totalorder and define as weak alias.
29012 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29013 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29014 to __totalordermag and define as weak alias.
29015 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29016 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29017 (ufromfp): Define as weak alias.
29018 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29019 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29020 __ufromfpx.
29021 (ufromfpx): Define as weak alias.
29022 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29023 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29024 Rename to __getpayload and define as weak alias.
29025 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29026 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29027 Rename to __roundeven and define as weak alias.
29028 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29029 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29030 Rename to __totalorder and define as weak alias.
29031 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29032 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29033 (totalordermag): Rename to __totalordermag and define as weak
29034 alias.
29035 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29036 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29037 macro.
29038 (__roundevenl): Likewise.
29039 (__totalorderl): Likewise.
29040 (__totalordermagl): Likewise
29041 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29042 __fromfpf128.
29043 (fromfpf128): Define as weak alias.
29044 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29045 __fromfpxf128.
29046 (fromfpxf128): Define as weak alias.
29047 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29048 __setpayloadf128.
29049 (setpayloadf128): Define as weak alias.
29050 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29051 __setpayloadsigf128.
29052 (setpayloadsigf128): Define as weak alias.
29053 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29054 __ufromfpf128.
29055 (ufromfpf128): Define as weak alias.
29056 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29057 __ufromfpxf128.
29058 (ufromfpxf128): Define as weak alias.
29059 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29060 (fromfpf): Define as weak alias.
29061 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29062 __fromfpxf.
29063 (fromfpxf): Define as weak alias.
29064 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29065 __getpayloadf and define as weak alias.
29066 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29067 __roundevenf and define as weak alias.
29068 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29069 __setpayloadf.
29070 (setpayloadf): Define as weak alias.
29071 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29072 __setpayloadsigf.
29073 (setpayloadsigf): Define as weak alias.
29074 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29075 __totalorderf and define as weak alias.
29076 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29077 Rename to __totalordermagf and define as weak alias.
29078 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29079 __ufromfpf.
29080 (ufromfpf): Define as weak alias.
29081 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29082 __ufromfpxf.
29083 (ufromfpxf): Define as weak alias.
29084 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29085 __fromfpl.
29086 (fromfpl): Define as weak alias.
29087 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29088 __fromfpxl.
29089 (fromfpxl): Define as weak alias.
29090 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
29091 to __getpayloadl and define as weak alias.
29092 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
29093 __roundevenl and define as weak alias.
29094 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
29095 __setpayloadl.
29096 (setpayloadl): Define as weak alias.
29097 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
29098 __setpayloadsigl.
29099 (setpayloadsigl): Define as weak alias.
29100 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
29101 to __totalorderl and define as weak alias.
29102 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
29103 Rename to __totalordermagl and define as weak alias.
29104 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
29105 __ufromfpl.
29106 (ufromfpl): Define as weak alias.
29107 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
29108 __ufromfpxl.
29109 (ufromfpxl): Define as weak alias.
29110 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
29111 __fromfpl.
29112 (fromfpl): Define as weak alias.
29113 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
29114 __fromfpxl.
29115 (fromfpxl): Define as weak alias.
29116 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
29117 Rename to __getpayloadl and define as weak alias.
29118 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
29119 to __roundevenl and define as weak alias. Call __roundeven
29120 instead of roundeven.
29121 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
29122 __setpayloadl.
29123 (setpayloadl): Define as weak alias.
29124 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
29125 __setpayloadsigl.
29126 (setpayloadsigl): Define as weak alias.
29127 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
29128 Rename to __totalorderl and define as weak alias.
29129 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
29130 Rename to __totalordermagl and define as weak alias.
29131 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
29132 __ufromfpl.
29133 (ufromfpl): Define as weak alias.
29134 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
29135 __ufromfpxl.
29136 (ufromfpxl): Define as weak alias.
29137 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
29138 __fromfpl.
29139 (fromfpl): Define as weak alias.
29140 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
29141 __fromfpxl.
29142 (fromfpxl): Define as weak alias.
29143 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
29144 __getpayloadl and define as weak alias.
29145 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
29146 __roundevenl and define as weak alias.
29147 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
29148 __setpayloadl.
29149 (setpayloadl): Define as weak alias.
29150 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
29151 __setpayloadsigl.
29152 (setpayloadsigl): Define as weak alias.
29153 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
29154 __totalorderl and define as weak alias.
29155 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
29156 Rename to __totalordermagl and define as weak alias.
29157 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
29158 __ufromfpl.
29159 (ufromfpl): Define as weak alias.
29160 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
29161 __ufromfpxl.
29162 (ufromfpxl): Define as weak alias.
29163
29164 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
29165
29166 * benchtests/bench-string.h (realloc_bufs): New function.
29167 (test_init): Call it.
29168 * benchtests/bench-memset-large.c (do_test): Likewise.
29169 * benchtests/bench-memset.c (do_test): Likewise.
29170
29171 * benchtests/bench-memset-large.c: Print output in JSON
29172 format.
29173 * benchtests/bench-memset.c: Likewise.
29174
29175 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29176
29177 [BZ #21084]
29178 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29179 * iconvdata/Makefile: Add IBM858.
29180 * iconvdata/gconv-modules: Likewise.
29181 * iconvdata/tst-tables.sh: Likewise.
29182 * iconvdata/ibm858.c: New file.
29183 * localedata/charmaps/IBM858: Likewise.
29184
29185 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
29186
29187 [BZ #22023]
29188 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29189 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29190
29191 2017-09-14 Mike FABIAN <mfabian@redhat.com>
29192
29193 [BZ #22112]
29194 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29195 and add tel_int_fmt.
29196
29197 2017-09-14 Joseph Myers <joseph@codesourcery.com>
29198
29199 * sysdeps/generic/libm-alias-float128.h: New file.
29200 * sysdeps/generic/math-type-macros-float128.h: Include
29201 <libm-alias-float128.h>.
29202 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29203
29204 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29205
29206 * sysdeps/generic/libm-alias-ldouble.h: New file.
29207 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29208 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29209 * sysdeps/generic/math-type-macros-ldouble.h: Include
29210 <libm-alias-ldouble.h>.
29211 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29212 libm_alias_ldouble.
29213
29214 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29215
29216 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29217 * math/w_exp_compat.c: ... here.
29218 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29219 * math/w_expf_compat.c: ... here.
29220 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29221 * math/w_expl_compat.c: ... here.
29222 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29223 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29224 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29225 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29226
29227 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29228
29229 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29230 redefine.
29231 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29232 macro.
29233 (ldexpl): Only define as compat symbol for libc, not libm.
29234 (scalbnl): Define as compat symbol for libc here.
29235 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29236 define for [IS_IN (libc)].
29237 (__ldexpl_2): Remove alias.
29238 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29239 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29240 name in long_double_symbol call.
29241 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29242 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29243 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29244 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29245 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29246 Remove macro.
29247 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29248 Define as compat symbol.
29249
29250 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29251
29252 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29253 * sysdeps/unix/sysv/linux/alpha/Makefile
29254 [$(subdir) = csu] (sysdep_routines): Remove rule.
29255
29256 2017-09-13 Joseph Myers <joseph@codesourcery.com>
29257
29258 * sysdeps/generic/libm-alias-double.h: New file.
29259 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29260 * sysdeps/generic/math-type-macros-double.h: Include
29261 <libm-alias-double.h>.
29262 [declare_mgen_alias] (declare_mgen_alias): Define to use
29263 libm_alias_double.
29264 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29265 (M_LIBM_NEED_COMPAT): Remove macro.
29266 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29267 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29268 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29269 code.
29270 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29271 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29272 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29273 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29274 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29275 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29276 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29277 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29278 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29279 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29280 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29281 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29282 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29283 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29284 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29285 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29286 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29287 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29288 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29289 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29290 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29291 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29292 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29293 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29294 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29295 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29296 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29297 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29298 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29299 macro.
29300 (declare_mgen_alias): New macro.
29301 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29302 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29304 (M_LIBM_NEED_COMPAT): Remove macro.
29305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29306 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29307 <first-versions.h>.
29308 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29309 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29310
29311 2017-09-12 Joseph Myers <joseph@codesourcery.com>
29312
29313 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
29314 (declare_mgen_alias_2): Remove.
29315 * sysdeps/generic/math-type-macros-double.h
29316 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
29317 Likewise.
29318 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
29319 alias.
29320 (ldexp): Define with declare_mgen_alias.
29321 (scalbn): Likewise.
29322
29323 2017-09-12 Steve Ellcey <sellcey@cavium.com>
29324
29325 * grp/initgroups.c: Include config.h.
29326 (DEFAULT_CONFIG): New macro.
29327 (internal_getgrouplist): Use DEFAULT_CONFIG.
29328 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29329 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29330 (DEFAULT_DEFCONFIG): New macro.
29331 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
29332 * nss/grp-lookup.c: Include config.h
29333 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
29334 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
29335 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
29336 * manual/nss.texi: Update default values section.
29337
29338 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
29339
29340 [BZ #21967]
29341 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
29342 New.
29343 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
29344 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29345 Handle MathVec_Prefer_No_AVX512.
29346 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
29347 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
29348 is set.
29349
29350 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
29351
29352 * posix/sched_primax.c (__sched_get_priority_max): Add
29353 libc_hidden_def.
29354 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
29355 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29356 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29357 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
29358 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
29359 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
29360 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
29361 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
29362 Add aliases.
29363
29364 2017-09-11 Joseph Myers <joseph@codesourcery.com>
29365
29366 * sysdeps/generic/libm-alias-float.h: New file.
29367 * sysdeps/generic/math-type-macros-float.h: Include
29368 <libm-alias-float.h>.
29369 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29370
29371 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
29372
29373 [BZ #22093]
29374 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
29375 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
29376 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
29377 (HWCAP_IMPORTANT): Likewise.
29378 (HWCAP_X86_64): New enum.
29379 (HWCAP_X86_AVX512_1): Updated.
29380 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
29381 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
29382 (modules-names): Add x86_64/tst-x86_64mod-1.
29383 (LDFLAGS-tst-x86_64mod-1.so): New.
29384 ($(objpfx)tst-x86_64-1): Likewise.
29385 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
29386 (tst-x86_64-1-clean): Likewise.
29387 * sysdeps/x86_64/tst-x86_64-1.c: New file.
29388 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
29389
29390 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29391
29392 * po/sv.po: Update translations.
29393 * po/fr.po: Likewise.
29394
29395 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29396
29397 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
29398 seconds.
29399 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
29400 seconds.
29401 * elf/rtld-Rules: Fix $(error) use.
29402
29403 2017-09-09 Mike FABIAN <mfabian@redhat.com>
29404
29405 [BZ #14925]
29406 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
29407 * locale/iso-639.def: Change “Bengali” to “Bangla”.
29408 * localedata/locales/bn_BD: “Bengali” was still used in some
29409 comments. Change it to “Bangla”.
29410
29411 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
29412
29413 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
29414
29415 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29416
29417 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
29418 thunderx2t99p1 to list of cpu names.
29419 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29420 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
29421
29422 2017-09-08 Steve Ellcey <sellcey@cavium.com>
29423
29424 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29425 Use strcmp instead of tunable_is_name.
29426
29427 2017-09-08 Joseph Myers <joseph@codesourcery.com>
29428
29429 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29430 (F_GET_RW_HINT): New macro.
29431 [__USE_GNU] (F_SET_RW_HINT): Likewise.
29432 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
29433 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
29434 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
29435 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
29436 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
29437 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
29438 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
29439 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
29440
29441 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29442 (F_ADD_SEALS): New macro.
29443 [__USE_GNU] (F_GET_SEALS): Likewise.
29444 [__USE_GNU] (F_SEAL_SEAL): Likewise.
29445 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
29446 [__USE_GNU] (F_SEAL_GROW): Likewise.
29447 [__USE_GNU] (F_SEAL_WRITE): Likewise.
29448
29449 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29450
29451 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
29452 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
29453 * posix/glob_internal.h (__glob_pattern_type):
29454 * posix/glob.c (glob):
29455 * posix/glob_pattern_p.c (__glob_pattern_p):
29456 Use them.
29457
29458 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
29459 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29460 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
29461 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
29462 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
29464 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
29465 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
29466 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29467 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29468 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29469 * sysdeps/wordsize-64/glob.c: Likewise.
29470 * sysdeps/wordsize-64/glob64.c: Likewise.
29471 * sysdeps/wordsize-64/globfree.c: Likewise.
29472 * sysdeps/wordsize-64/globfree64.c: Likewise.
29473 * sysdeps/unix/sysv/linux/glob.c: New file.
29474 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
29475 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
29476 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
29477 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29478 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
29479 adds !GLOB_NO_OLD_VERSION as an extra condition.
29480 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
29481 using relative path instead of absolute one.
29482 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
29483 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29484 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29485 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
29486 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
29487 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
29488
29489 [BZ #1062]
29490 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
29491 (glob): Use the same scratch buffer for both getlogin_r and
29492 getpwnam_r. Don’t require preallocation of the login name. This
29493 simplifies storage allocation, and corrects the handling of
29494 long login names.
29495
29496 [BZ #1062]
29497 * posix/glob.c (glob): Port recent patches to platforms
29498 lacking getpwnam_r.
29499 (glob): Fix longstanding misuse of errno after getpwnam_r, which
29500 returns an error number rather than setting errno.
29501
29502 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
29503 instead of GCC extension.
29504 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
29505 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
29506 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
29507
29508 [BZ #866]
29509 [BZ #1062]
29510 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
29511 * posix/bug-glob1.c: Remove file.
29512 * posix/tst-glob_symlinks.c: New file.
29513 * posix/glob.c (__lstat64): New macro.
29514 (is_dir): New function.
29515 (glob, glob_in_dir): Match symlinks even if they are dangling.
29516 (link_stat, link_exists_p): Remove. All uses removed.
29517
29518 [BZ #1062]
29519 [BZ #19971]
29520 * posix/glob.c (struct readdir_result): Remove skip_entry member.
29521 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
29522 All uses removed.
29523
29524 [BZ #1062]
29525 CVE-2017-15671
29526 * posix/Makefile (routines): Add globfree, globfree64, and
29527 glob_pattern_p.
29528 * posix/flexmember.h: New file.
29529 * posix/glob_internal.h: Likewise.
29530 * posix/glob_pattern_p.c: Likewise.
29531 * posix/globfree.c: Likewise.
29532 * posix/globfree64.c: Likewise.
29533 * sysdeps/gnu/globfree64.c: Likewise.
29534 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
29535 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29536 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
29537 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29538 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29539 * sysdeps/wordsize-64/globfree.c: Likewise.
29540 * sysdeps/wordsize-64/globfree64.c: Likewise.
29541 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
29542 [NDEBUG): Remove comments.
29543 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
29544 (dirent_type): New type. Use uint_fast8_t not
29545 uint8_t, as C99 does not require uint8_t.
29546 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
29547 (struct readdir_result): Use dirent_type. Do not define skip_entry
29548 unless it is needed; this saves a byte on platforms lacking d_ino.
29549 (readdir_result_type, readdir_result_skip_entry):
29550 New functions, replacing ...
29551 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
29552 these functions, which were removed. This makes the callers
29553 easier to read. All callers changed.
29554 (D_INO_TO_RESULT): Now empty if there is no d_ino.
29555 (size_add_wrapv, glob_use_alloca): New static functions.
29556 (glob, glob_in_dir): Check for size_t overflow in several places,
29557 and fix some size_t checks that were not quite right.
29558 Remove old code using SHELL since Bash no longer
29559 uses this.
29560 (glob, prefix_array): Separate MS code better.
29561 (glob_in_dir): Remove old Amiga and VMS code.
29562 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
29563 separate files.
29564 (glob_in_dir): Do not rely on undefined behavior in accessing
29565 struct members beyond their bounds. Use a flexible array member
29566 instead
29567 (link_stat): Rename from link_exists2_p and return -1/0 instead of
29568 0/1. Caller changed.
29569 (glob): Fix memory leaks.
29570 * posix/glob64 (globfree64): Move to separate file.
29571 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
29572 (globfree64): Remove hidden alias.
29573 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
29574 oldglob.
29575 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
29576 separate file.
29577 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
29578 define.
29579 Move compat code to separate file.
29580 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
29581 separate file.
29582
29583 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
29584
29585 * resolv/tst-resolv-qtypes.c (domain): Changed to
29586 "const char domain[] =".
29587
29588 2017-09-07 Joseph Myers <joseph@codesourcery.com>
29589
29590 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
29591 version to 3.1.6.
29592
29593 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
29594 (TCP_MD5SIG_EXT): Likewise.
29595 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
29596 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
29597 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
29598
29599 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
29600
29601 2017-09-07 Mike FABIAN <mfabian@redhat.com>
29602
29603 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
29604
29605 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
29606
29607 [BZ #22100]
29608 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
29609
29610 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29611
29612 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
29613 before assuming that the file is empty. Avoid testing buffer content
29614 when nread == 0.
29615
29616 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29617
29618 [BZ #18858]
29619 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29620 Remove define.
29621 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
29622 Likewise.
29623 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
29624 Likewise.
29625 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
29626 Likewise.
29627 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
29628 Likewise.
29629 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
29630 Likewise.
29631 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
29632 Likewise.
29633
29634 2017-09-06 Florian Weimer <fweimer@redhat.com>
29635
29636 * malloc/dynarray_emplace_enlarge.c
29637 (__libc_dynarray_emplace_enlarge): Add missing else.
29638
29639 2017-09-06 Florian Weimer <fweimer@redhat.com>
29640
29641 [BZ #22096]
29642 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
29643 case of failure to obtain the global conf object.
29644
29645 2017-09-06 Florian Weimer <fweimer@redhat.com>
29646
29647 [BZ #22095]
29648 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
29649 dynarray allocation failure.
29650
29651 2017-09-06 Florian Weimer <fweimer@redhat.com>
29652
29653 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
29654 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
29655 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
29656 New functions.
29657 (response): Call them. Add 'p', '6' flag processing.
29658 (test_reverse): New function.
29659 (test_get2_any): Call it.
29660 (test_no_inet6): Add 'p' test.
29661 (test_inet6): Likewise.
29662
29663 2017-09-06 Florian Weimer <fweimer@redhat.com>
29664
29665 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
29666 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
29667 the QNAME.
29668 (test_gai): Adjust query names. Add additional tests.
29669 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
29670 test_get2. Adjust query names. Add additional tests.
29671 (test_no_inet6): New function, extracted from threadfunc.
29672 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
29673 Add additional tests.
29674
29675 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29676
29677 [BZ #22070]
29678 * localedata/unicode-gen/utf8_gen.py: Set the width for
29679 characters with Prepended_Concatenation_Mark property to 1
29680 * localedata/charmaps/UTF-8: Updated using the improved script.
29681
29682 2017-09-06 Mike FABIAN <mfabian@redhat.com>
29683
29684 [BZ #21750]
29685 * localedata/unicode-gen/utf8_gen.py: Improve the script to
29686 use the range notation for all ranges of neighbouring characters
29687 with the same width.
29688
29689 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29690
29691 * sysdeps/generic/math-type-macros-double.h: Include
29692 <math-svid-compat.h>.
29693 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29694 * sysdeps/generic/math-type-macros-float.h: Include
29695 <math-svid-compat.h>.
29696 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29697 * sysdeps/generic/math-type-macros-ldouble.h: Include
29698 <math-svid-compat.h>.
29699 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
29700 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
29701 condition.
29702 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
29703 * math/w_acosf_compat.c: Likewise.
29704 * math/w_acosh_compat.c: Likewise.
29705 * math/w_acoshf_compat.c: Likewise.
29706 * math/w_acoshl_compat.c: Likewise.
29707 * math/w_acosl_compat.c: Likewise.
29708 * math/w_asin_compat.c: Likewise.
29709 * math/w_asinf_compat.c: Likewise.
29710 * math/w_asinl_compat.c: Likewise.
29711 * math/w_atan2_compat.c: Likewise.
29712 * math/w_atan2f_compat.c: Likewise.
29713 * math/w_atan2l_compat.c: Likewise.
29714 * math/w_atanh_compat.c: Likewise.
29715 * math/w_atanhf_compat.c: Likewise.
29716 * math/w_atanhl_compat.c: Likewise.
29717 * math/w_cosh_compat.c: Likewise.
29718 * math/w_coshf_compat.c: Likewise.
29719 * math/w_coshl_compat.c: Likewise.
29720 * math/w_exp10_compat.c: Likewise.
29721 * math/w_exp10f_compat.c: Likewise.
29722 * math/w_exp10l_compat.c: Likewise.
29723 * math/w_exp2_compat.c: Likewise.
29724 * math/w_exp2f_compat.c: Likewise.
29725 * math/w_exp2l_compat.c: Likewise.
29726 * math/w_fmod_compat.c: Likewise.
29727 * math/w_fmodf_compat.c: Likewise.
29728 * math/w_fmodl_compat.c: Likewise.
29729 * math/w_hypot_compat.c: Likewise.
29730 * math/w_hypotf_compat.c: Likewise.
29731 * math/w_hypotl_compat.c: Likewise.
29732 * math/w_j0_compat.c: Likewise.
29733 * math/w_j0f_compat.c: Likewise.
29734 * math/w_j0l_compat.c: Likewise.
29735 * math/w_j1_compat.c: Likewise.
29736 * math/w_j1f_compat.c: Likewise.
29737 * math/w_j1l_compat.c: Likewise.
29738 * math/w_jn_compat.c: Likewise.
29739 * math/w_jnf_compat.c: Likewise.
29740 * math/w_jnl_compat.c: Likewise.
29741 * math/w_lgamma_r_compat.c: Likewise.
29742 * math/w_lgammaf_r_compat.c: Likewise.
29743 * math/w_lgammal_r_compat.c: Likewise.
29744 * math/w_log10_compat.c: Likewise.
29745 * math/w_log10f_compat.c: Likewise.
29746 * math/w_log10l_compat.c: Likewise.
29747 * math/w_log2_compat.c: Likewise.
29748 * math/w_log2f_compat.c: Likewise.
29749 * math/w_log2l_compat.c: Likewise.
29750 * math/w_log_compat.c: Likewise.
29751 * math/w_logf_compat.c: Likewise.
29752 * math/w_logl_compat.c: Likewise.
29753 * math/w_pow_compat.c: Likewise.
29754 * math/w_powf_compat.c: Likewise.
29755 * math/w_powl_compat.c: Likewise.
29756 * math/w_remainder_compat.c: Likewise.
29757 * math/w_remainderf_compat.c: Likewise.
29758 * math/w_remainderl_compat.c: Likewise.
29759 * math/w_sinh_compat.c: Likewise.
29760 * math/w_sinhf_compat.c: Likewise.
29761 * math/w_sinhl_compat.c: Likewise.
29762 * math/w_sqrt_compat.c: Likewise.
29763 * math/w_sqrtf_compat.c: Likewise.
29764 * math/w_sqrtl_compat.c: Likewise.
29765 * math/w_tgamma_compat.c: Likewise.
29766 * math/w_tgammaf_compat.c: Likewise.
29767 * math/w_tgammal_compat.c: Likewise.
29768 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
29769 [LIBM_SVID_COMPAT].
29770 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
29771 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
29772 [LIBM_SVID_COMPAT].
29773 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
29774 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
29775 [LIBM_SVID_COMPAT].
29776 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
29777 * sysdeps/i386/fpu/w_sqrt.c: New file.
29778 * sysdeps/ia64/fpu/w_acos.c: Likewise.
29779 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
29780 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
29781 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
29782 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
29783 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
29784 * sysdeps/ia64/fpu/w_asin.c: Likewise.
29785 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
29786 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
29787 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
29788 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
29789 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
29790 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
29791 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
29792 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
29793 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
29794 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
29795 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
29796 * sysdeps/ia64/fpu/w_exp.c: Likewise.
29797 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
29798 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
29799 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
29800 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
29801 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
29802 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
29803 * sysdeps/ia64/fpu/w_expf.c: Likewise.
29804 * sysdeps/ia64/fpu/w_expl.c: Likewise.
29805 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
29806 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
29807 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
29808 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
29809 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
29810 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
29811 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
29812 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
29813 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
29814 * sysdeps/ia64/fpu/w_log.c: Likewise.
29815 * sysdeps/ia64/fpu/w_log10.c: Likewise.
29816 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
29817 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
29818 * sysdeps/ia64/fpu/w_log2.c: Likewise.
29819 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
29820 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
29821 * sysdeps/ia64/fpu/w_logf.c: Likewise.
29822 * sysdeps/ia64/fpu/w_logl.c: Likewise.
29823 * sysdeps/ia64/fpu/w_pow.c: Likewise.
29824 * sysdeps/ia64/fpu/w_powf.c: Likewise.
29825 * sysdeps/ia64/fpu/w_powl.c: Likewise.
29826 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
29827 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
29828 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
29829 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
29830 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
29831 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
29832 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
29833 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
29834 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
29835 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
29836 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
29837 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
29838 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
29839 [LIBM_SVID_COMPAT].
29840 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29841 * sysdeps/ieee754/k_standard.c: Likewise.
29842 * sysdeps/ieee754/k_standardf.c: Likewise.
29843 * sysdeps/ieee754/k_standardl.c: Likewise.
29844 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29845 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29846 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29847 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
29848 long_double_symbol call on [LIBM_SVID_COMPAT].
29849 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29850 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29851 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29852 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29853 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29854 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29855 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29856 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29857 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29858 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29859 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29860 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
29861 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29862 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29863 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29864 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29865 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
29866 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29867 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29868 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29869 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
29870 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
29871
29872 2017-09-05 Steve Ellcey <sellcey@cavium.com>
29873
29874 * include/shlib-compat.h (TEST_COMPAT): New Macro.
29875 * malloc/tst-mallocstate.c: Convert from test-skeleton
29876 to test-driver. Ifdef code using TEST_COMPAT macro.
29877 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
29878 * math/test-matherr.c: Likewise.
29879
29880 2017-09-05 Joseph Myers <joseph@codesourcery.com>
29881
29882 [BZ #22086]
29883 * debug/pcprofiledump.c (main): Use byte-swapped mask when
29884 comparing word with byte-swapped constant.
29885
29886 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
29887
29888 [BZ #20498]
29889 * locale/iso-639.def: add Miskito.
29890 * localedata/SUPPORTED: Add miq_NI/UTF-8.
29891 * localedata/locales/miq_NI: New file.
29892
29893 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
29894
29895 [BZ #18822]
29896 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
29897 (__mkdir): Likewise.
29898 * io/chmod.c (__chmod): Add libc_hidden_def.
29899 * io/mkdir.c (__mkdir): Likewise.
29900 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
29901 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
29902 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
29903 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
29904
29905 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29906
29907 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
29908 version to 4.13.
29909
29910 [BZ #22082]
29911 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
29912 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
29913
29914 2017-09-04 Florian Weimer <fweimer@redhat.com>
29915
29916 * math/math.h: Issue warning if log is defined.
29917
29918 2017-09-04 Joseph Myers <joseph@codesourcery.com>
29919
29920 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
29921 kernel version to 4.13.
29922
29923 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
29924
29925 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
29926 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
29927 parameter.
29928 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
29929 just <bits/types.h>.
29930 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
29931 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
29932 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
29933 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
29934 * misc/preadv2.c: Include <errno.h>.
29935 * misc/preadv64v2.c: Include <errno.h>.
29936 * misc/pwritev2.c: Include <errno.h>.
29937 * misc/pwritev64v2.c: Include <errno.h>.
29938 * sysdeps/posix/preadv2.c: Include <errno.h>.
29939 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
29940 Fix <unistd.h> inclusion.
29941 * sysdeps/posix/pwritev2.c: Include <errno.h>.
29942 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
29943 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
29944 __strtoul_internal): New functions.
29945 * sysdeps/posix/pause.c: Include <sigsetops.h>.
29946 * sysdeps/posix/system.c: Include <sigsetops.h>.
29947 * sysdeps/mach/hurd/i386/Makefile
29948 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
29949 [$(subdir) = csu] (sysdep-only-routines): Likewise.
29950 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
29951 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
29952 __feraiseexcept_renamed to feraiseexcept instead of
29953 __GI_feraiseexcept.
29954 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
29955 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
29956 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
29957 RWF_NOWAIT): Define to 0 if undefined already.
29958 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
29959 boils down to 0.
29960 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
29961 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
29962
29963 2017-09-01 Joseph Myers <joseph@codesourcery.com>
29964
29965 * manual/math.texi (pow10): Do not document.
29966 (pow10f): Likewise.
29967 (pow10l): Likewise.
29968 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
29969 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
29970 * math/libm-test-exp10.inc (pow10_test): Remove.
29971 (do_test): Do not call pow10.
29972 * math/w_exp10_compat.c (pow10): Make into compat symbol.
29973 [NO_LONG_DOUBLE] (pow10l): Likewise.
29974 * math/w_exp10f_compat.c (pow10f): Likewise.
29975 * math/w_exp10l_compat.c (pow10l): Likewise.
29976 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
29977 (pow10): Make into compat symbol.
29978 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
29979 (pow10f): Make into compat symbol.
29980 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
29981 (pow10l): Make into compat symbol.
29982 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
29983 pow10.
29984 (CFLAGS-nldbl-pow10.c): Remove variable..
29985 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
29986 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
29987 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
29988 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
29989 Undefine and redefine.
29990 (pow10l): Make into compat symbol.
29991 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
29992 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29993 * sysdeps/arm/libm-test-ulps: Likewise.
29994 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
29995 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29996 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29997 * sysdeps/microblaze/libm-test-ulps: Likewise.
29998 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29999 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30000 * sysdeps/nios2/libm-test-ulps: Likewise.
30001 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30002 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30003 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30004 * sysdeps/sh/libm-test-ulps: Likewise.
30005 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30006 * sysdeps/tile/libm-test-ulps: Likewise.
30007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30008
30009 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30010
30011 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30012
30013 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30014
30015 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30016 "../ChangeLog.old/ChangeLog.8".
30017 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30018 "../ChangeLog.old/ChangeLog.14".
30019
30020 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30021
30022 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30023 Threads Library.
30024
30025 2017-09-01 Joseph Myers <joseph@codesourcery.com>
30026
30027 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30028
30029 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30030
30031 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30032 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30033
30034 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30035
30036 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30037 32 atexit handlers.
30038
30039 2017-09-01 Zack Weinberg <zackw@panix.com>
30040
30041 * math/math.h (HUGE_VAL): Improve commentary.
30042
30043 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30044 Andreas Schwab <schwab@suse.de>
30045
30046 [BZ #21530]
30047 * include/stdio.h (__gen_tempfd): New function.
30048 * stdio-common/Makefile (routines): Add gentempfd.
30049 * stdio-common/gentempfd.c: New file.
30050 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30051 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30052 unnamed file first.
30053
30054 2017-09-01 Florian Weimer <fweimer@redhat.com>
30055
30056 [BZ #21915]
30057 [BZ #21922]
30058 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30059 result to determine success or failure, not the errno value.
30060 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30061 (tst-nss-files-hosts-erange): Link with -ldl.
30062 * nss/tst-nss-files-hosts-erange.c: New file.
30063 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30064 (do_test): Add NO_DATA tests.
30065 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30066 (do_test): Call it.
30067
30068 2017-09-01 Florian Weimer <fweimer@redhat.com>
30069
30070 [BZ #21922]
30071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30072 coming from gethostbyname2_r.
30073
30074 2017-09-01 Florian Weimer <fweimer@redhat.com>
30075
30076 * support/namespace.h (struct support_chroot_configuration): Add
30077 hosts, host_conf.
30078 (struct support_chroot): Add path_hosts, path_host_conf.
30079 * support/support_chroot.c (write_file): New function.
30080 (support_chroot_create): Call it to process /etc/resolv.conf,
30081 /etc/hosts, /etc/host.conf.
30082 (support_chroot_free): Update.
30083
30084 2017-09-01 Florian Weimer <fweimer@redhat.com>
30085
30086 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30087 status indicates it is set.
30088
30089 2017-09-01 Florian Weimer <fweimer@redhat.com>
30090
30091 [BZ #20532]
30092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
30093 function lookup failures more reliable.
30094
30095 2017-09-01 Florian Weimer <fweimer@redhat.com>
30096
30097 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
30098 (getcanonname): Likewise.
30099 (gaih_inet): Likewise.
30100
30101 2017-09-01 Florian Weimer <fweimer@redhat.com>
30102
30103 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
30104 (getcanonname): Likewise.
30105 (gaih_inet): Likewise.
30106
30107 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30108 Richard Henderson <rth@twiddle.net>
30109
30110 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
30111 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
30112 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
30113 (IREG_SIZE, OREG_SIZE): New macros.
30114 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
30115 (IREG_SIZE, OREG_SIZE): New macros.
30116 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
30117 (IREG_SIZE): New macro.
30118 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
30119 (IREG_SIZE): New macro.
30120 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
30121 New includes.
30122 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
30123 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30124 (__CONCATX): Handle exceptions correctly on large values that may
30125 set FE_INVALID.
30126 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
30127 Initialize if not already set.
30128 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30129
30130 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30131
30132 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
30133 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
30134 Likewise.
30135 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
30136 Likewise.
30137 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
30138 Likewise.
30139 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
30140 Likewise.
30141 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
30142 Likewise.
30143 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
30144 Likewise.
30145 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
30146 Likewise.
30147 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
30148 (NO_CANCELLATION): Likewise.
30149 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
30150 Likewise.
30151 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
30152 Likewise.
30153 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
30154 Likewise.
30155 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
30156 (NO_CANCELLATION): Likewise.
30157 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
30158 (NO_CANCELLATION): Likewise.
30159 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
30160 Likewise
30161 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
30162 Likewise.
30163 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
30164 Likewise.
30165 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
30166 Likewise.
30167 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
30168 hidden prototype.
30169 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
30170 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
30171
30172 2017-08-31 Steve Ellcey <sellcey@cavium.com>
30173
30174 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30175 in resolver call.
30176
30177 2017-08-31 Florian Weimer <fweimer@redhat.com>
30178
30179 * include/libc-symbols.h (internal_function): Remove.
30180
30181 2017-08-31 Florian Weimer <fweimer@redhat.com>
30182
30183 * stdlib/fmtmsg.c (internal_addseverity): Remove
30184 internal_function.
30185
30186 2017-08-31 Florian Weimer <fweimer@redhat.com>
30187
30188 * stdio-common/printf_fp.c (group_number): Remove
30189 internal_function.
30190 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30191
30192 2017-08-31 Florian Weimer <fweimer@redhat.com>
30193
30194 * posix/fnmatch.c (internal_function): Remove definition.
30195 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30196 * posix/regcomp.c (peek_token, init_word_char)
30197 (duplicate_node_closure, fetch_token, peek_token)
30198 (peek_token_bracket, build_range_exp, build_collating_symbol):
30199 Likewise.
30200 * posix/regex_internal.c (re_string_construct_common)
30201 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30202 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30203 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30204 (re_string_translate_buffer, re_string_reconstruct)
30205 (re_string_peek_byte_case, re_string_fetch_byte_case)
30206 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30207 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30208 (re_node_set_add_intersect, re_node_set_init_union)
30209 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30210 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30211 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30212 (re_acquire_state_context): Likewise.
30213 * posix/regex_internal.h (internal_function): Remove definition.
30214 (re_string_realloc_buffers, build_wcs_buffer)
30215 (build_wcs_upper_buffer, build_upper_buffer)
30216 (re_string_translate_buffer, re_string_context_at)
30217 (re_string_char_size_at, re_string_wchar_at)
30218 (re_string_elem_size_at): Likewise.
30219 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30220 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30221 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30222 (re_search_internal, re_search_2_stub, re_search_stub)
30223 (re_copy_regs, prune_impossible_nodes, check_matching)
30224 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30225 (free_fail_stack_return, sift_states_iter_mb)
30226 (sift_states_backward, build_sifted_states)
30227 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30228 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30229 (check_subexp_limits, sift_states_bkref, merge_state_array)
30230 (find_recover_state, transit_state, merge_state_with_log)
30231 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30232 (transit_state_mb, transit_state_bkref, get_subexp)
30233 (get_subexp_sub, find_subexp_node, check_arrival)
30234 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30235 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30236 (check_node_accept_bytes, find_collation_sequence_value)
30237 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30238 (acquire_init_state_context, check_halt_node_context)
30239 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30240 (sub_epsilon_src_nodes): Likewise.
30241 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30242 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30243 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30244 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30245 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30246 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30247 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30248 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30249 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30250 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30251 (PREADV): Likewise.
30252 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30253 (PREADV): Likewise.
30254 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30255 (PWRITEV): Likewise.
30256 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30257 (PWRITEV): Likewise.
30258 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30259 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30260
30261 2017-08-31 Florian Weimer <fweimer@redhat.com>
30262
30263 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30264 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30265 Remove internal_function.
30266 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30267 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30268 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30269 (__deallocate_stack, __libc_pthread_init)
30270 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30271 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30272 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30273 Likewise.
30274 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30275 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30276 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30277 Likewise.
30278 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30279 (__pthread_mutex_unlock_usercnt): Likewise.
30280
30281 2017-08-31 Florian Weimer <fweimer@redhat.com>
30282
30283 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30284 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30285 (fts_safe_changedir): Remove internal_function.
30286 * io/ftw.c (internal_function): Remove definition.
30287 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30288
30289 2017-08-31 Florian Weimer <fweimer@redhat.com>
30290
30291 * inet/deadline.c (__deadline_current_time)
30292 (__deadline_from_timeval, __deadline_to_ms): Remove
30293 internal_function.
30294 * inet/getnameinfo.c (nrl_domainname): Likewise.
30295 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30296 * inet/inet6_option.c (add_pad): Likewise.
30297 * inet/net-internal.h (__deadline_current_time)
30298 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30299 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30300 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30301 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30302
30303 2017-08-31 Joseph Myers <joseph@codesourcery.com>
30304
30305 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30306 include <bits/nan.h>.
30307 * math/Makefile (headers): Remove bits/nan.h.
30308 * bits/nan.h: Remove.
30309 * sysdeps/ieee754/bits/nan.h: Likewise.
30310 * sysdeps/mips/bits/nan.h: Likewise.
30311
30312 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30313 not include <bits/inf.h>.
30314 * math/Makefile (headers): Remove bits/inf.h.
30315 * bits/inf.h: Remove.
30316 * sysdeps/ieee754/bits/inf.h: Likewise.
30317
30318 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
30319 bits/huge_vall.h or bits/huge_val_flt128.h.
30320 (HUGE_VAL): Define directly here.
30321 [__USE_ISOC99] (HUGE_VALF): Likewise.
30322 [__USE_ISOC99] (HUGE_VALL): Likewise.
30323 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30324 (HUGE_VAL_F128): Likewise.
30325 * math/Makefile (headers): Remove bits/huge_val.h,
30326 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30327 * bits/huge_val.h: Remove.
30328 * bits/huge_val_flt128.h: Likewise.
30329 * bits/huge_valf.h: Likewise.
30330 * bits/huge_vall.h: Likewise.
30331 * sysdeps/ia64/bits/huge_vall.h: Likewise.
30332 * sysdeps/ieee754/bits/huge_val.h: Likewise.
30333 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
30334 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
30335 * sysdeps/sh/bits/huge_val.h: Likewise.
30336 * sysdeps/sparc/bits/huge_vall.h: Likewise.
30337 * sysdeps/x86/bits/huge_vall.h: Likewise.
30338
30339 2017-08-31 Florian Weimer <fweimer@redhat.com>
30340
30341 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
30342 internal_function.
30343 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
30344 Likewise.
30345 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
30346 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30347 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
30348 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
30349 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30350 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30351 * elf/dl-libc.c (dlerror_run): Likewise.
30352 * elf/dl-load.c (add_name_to_object, decompose_rpath)
30353 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
30354 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
30355 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
30356 Likewise.
30357 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
30358 (_dl_higher_prime_number, _dl_strtoul): Likewise.
30359 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
30360 * elf/dl-profile.c (_dl_start_profile): Likewise.
30361 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
30362 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
30363 Likewise.
30364 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
30365 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
30366 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
30367 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
30368 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
30369 (_dl_allocate_tls_storage): Likewise.
30370 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
30371 (_dl_check_all_versions): Likewise.
30372 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
30373 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
30374 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
30375 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30376 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
30377 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
30378 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
30379 internal_function from __dl_start.
30380 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
30381 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
30382 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
30383 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
30384 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
30385 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
30386 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
30387 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
30388 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
30389 (_dl_next_ld_env_entry, _dl_important_hwcaps)
30390 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
30391 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
30392 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
30393 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
30394 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
30395 Likewise.
30396 (struct rtld_global_ro): Remove internal_function from the
30397 _dl_lookup_symbol_x member.
30398 (_dl_symbol_value): Remove. No longer defined anywhere.
30399 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
30400 internal_function.
30401 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30402 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30403 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
30404 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
30405 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
30406 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
30407 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
30408 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
30409 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
30410 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
30411 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30412 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30413
30414 2017-08-31 Florian Weimer <fweimer@redhat.com>
30415
30416 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
30417 Remove internal_function.
30418 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30419 Likewise.
30420 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30421 Likewise.
30422
30423 2017-08-31 Florian Weimer <fweimer@redhat.com>
30424
30425 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
30426 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
30427 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
30428
30429 2017-08-31 Florian Weimer <fweimer@redhat.com>
30430
30431 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
30432 (__gai_enqueue_request): Remove internal_function.
30433 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
30434 (__gai_remove_request, __gai_notify, __gai_notify_only)
30435 (__gai_sigqueue): Likewise.
30436 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
30437 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
30438 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
30439 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30440 Likewise.
30441
30442 2017-08-31 Florian Weimer <fweimer@redhat.com>
30443
30444 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
30445 * include/dirent.h (__opendirat, __getdents, __getdents64)
30446 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
30447 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
30448 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30449 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30450 Likewise.
30451 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
30452
30453 2017-08-31 Florian Weimer <fweimer@redhat.com>
30454
30455 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
30456 internal_function.
30457 (GETCWD_RETURN_TYPE): Likewise.
30458
30459 2017-08-31 Florian Weimer <fweimer@redhat.com>
30460
30461 * include/time.h (__tz_compute, __strptime_internal): Remove
30462 internal_function.
30463 * time/strptime_l.c (__strptime_internal): Likewise.
30464 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
30465
30466 2017-08-31 Florian Weimer <fweimer@redhat.com>
30467
30468 * iconv/gconv.c (__gconv): Remove internal_function.
30469 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
30470 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
30471 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
30472 (__gconv_release_cache): Likewise.
30473 * iconv/gconv_close.c (__gconv_close): Likewise.
30474 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
30475 (read_conf_file, __gconv_get_path): Likewise.
30476 * iconv/gconv_db.c (derivation_lookup, add_derivation)
30477 (__gconv_release_step, gen_steps, increment_counter)
30478 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
30479 (__gconv_close_transform, free_modules_db): Likewise.
30480 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
30481 Likewise.
30482 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
30483 (__gconv_find_transform, __gconv_lookup_cache)
30484 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
30485 (__gconv_close_transform, __gconv_release_cache)
30486 (__gconv_loaded_object, __gconv_release_shlib)
30487 (__gconv_compare_alias): Likewise.
30488 * iconv/gconv_open.c (__gconv_open): Likewise.
30489 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
30490 * iconv/iconvconfig.c (add_module): Likewise.
30491 * intl/dcigettext.c (plural_lookup, guess_category_value)
30492 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
30493 * intl/eval-plural.h (plural_eval): Likewise.
30494 * intl/finddomain.c (_nl_find_domain): Likewise.
30495 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
30496 (_nl_load_domain, _nl_find_msg): Likewise.
30497 (internal_function): Remove definition.
30498 * intl/loadinfo.h (internal_function): Likewise.
30499 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
30500 internal_function.
30501 * intl/localealias.c (internal_function): Remove definition.
30502 (read_alias_file): Remove internal_function.
30503 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
30504 * intl/plural-exp.h (internal_function): Remove definition.
30505 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
30506 internal_function.
30507 * intl/plural.c: Regenerate.
30508 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
30509 * locale/coll-lookup.c (__collidx_table_lookup)
30510 (__collseq_table_lookup): Likewise.
30511 * locale/coll-lookup.h (__collidx_table_lookup)
30512 (__collseq_table_lookup): Likewise.
30513 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
30514 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30515 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
30516 (_nl_unload_locale): Likewise.
30517 * locale/localeinfo.h (struct __locale_data): Remove
30518 internal_function from cleanup member.
30519 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
30520 (_nl_remove_locale, _nl_load_locale_from_archive)
30521 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
30522 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
30523 (_nl_cleanup_time): Remove internal_function.
30524 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
30525 (_nl_parse_alt_digit): Likewise.
30526 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
30527 (_nl_select_era_entry): Likewise.
30528 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
30529 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30530 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30531 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30532 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
30533
30534 2017-08-31 Florian Weimer <fweimer@redhat.com>
30535
30536 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
30537 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30538 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
30539 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
30540 Likewise.
30541 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
30542 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
30543 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
30544 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30545 Likewise.
30546 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
30547
30548 2017-08-31 Florian Weimer <fweimer@redhat.com>
30549
30550 * misc/getttyent.c (skip, value): Remove internal_function.
30551 * misc/syslog.c (openlog_internal): Likewise.
30552 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
30553
30554 2017-08-31 Florian Weimer <fweimer@redhat.com>
30555
30556 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
30557 (__nss_rewrite_field): Remove internal_function.
30558 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30559 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30560 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30561 * nss/nsswitch.c (nss_parse_file, nss_getline)
30562 (nss_parse_service_list, nss_new_service): Likewise.
30563 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
30564 * nss/valid_field.c (__nss_valid_field): Likewise.
30565 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30566
30567 2017-08-31 Florian Weimer <fweimer@redhat.com>
30568
30569 * malloc/arena.c (__malloc_fork_lock_parent)
30570 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
30571 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
30572 internal_function from defintions.
30573 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
30574 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
30575 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
30576 internal_function from declarations.
30577 * malloc/malloc.c (internal_function): Do not define.
30578 (mem2mem_check): Remove internal_function from declaration.
30579 (munmap_chunk, mremap_chunk): Remove internal_function.
30580 * malloc/mtrace.c (tr_where): Likewise.
30581
30582 2017-08-31 Florian Weimer <fweimer@redhat.com>
30583
30584 * include/rpc/pmap_clnt.h (__get_socket): Remove
30585 internal_function.
30586 * sunrpc/auth_des.c (synchronize): Likewise.
30587 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
30588 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
30589 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
30590 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
30591 (key_call): Likewise.
30592 * sunrpc/pm_getport.c (__get_socket): Likewise.
30593 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
30594 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
30595 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
30596 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
30597 (invalidate): Likewise.
30598 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
30599 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
30600 (set_input_fragment, get_input_bytes): Likewise.
30601
30602 2017-08-31 Florian Weimer <fweimer@redhat.com>
30603
30604 * malloc/malloc.c (_int_free): Remove locked variable and related
30605 asserts.
30606
30607 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
30608
30609 [BZ #22051]
30610 * Makerules (build-module-helper-objlist): Filter out
30611 $(elf-objpfx)sofini.os.
30612 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
30613 needed.
30614
30615 2017-08-31 Florian Weimer <fweimer@redhat.com>
30616
30617 * libio/fcloseall.c: Assume weak_alias is defined.
30618 * libio/feof.c: Likewise.
30619 * libio/fileno.c: Likewise.
30620 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
30621 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30622 definitions.
30623 (_IO_file_open): Call __open directly.
30624 (_IO_new_file_sync): Assume ESPIPE is defined.
30625 (_IO_file_seekoff_maybe_mmap): Call __read directly.
30626 (_IO_new_file_write): Call __write directly.
30627 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
30628 * libio/ftello64.c (__ftello64): Assume EIO is defined.
30629 * libio/genops.c: Assume _LIBC is defined.
30630 (save_for_backup): Remove internal_function.
30631 * libio/getc.c: Assume weak_alias is defined.
30632 * libio/getwc.c: Likewise.
30633 * libio/iofclose.c: Assume _LIBC is defined.
30634 * libio/iofdopen.c: Likewise.
30635 (_IO_fcntl): Remove macro definition.
30636 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
30637 Call __fcntl directly.
30638 * libio/iofflush.c: Assume weak_alias is defined.
30639 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
30640 defined.
30641 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
30642 * libio/iofgets.c: Likewise.
30643 * libio/iofopen.c: Assume _LIBC is defined.
30644 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
30645 * libio/iofputs.c: Assume weak_alias is defined.
30646 * libio/iofread.c: Likewise.
30647 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
30648 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
30649 * libio/ioftell.c: Assume weak_alias is defined.
30650 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
30651 * libio/iofwide.c: Assume _LIBC is defined.
30652 (_IO_fwide): Drop SHARED conditional because it is implied by
30653 SHLIB_COMPAT.
30654 * libio/iofwrite.c: Assume weak_alias is defined.
30655 * libio/iogetdelim.c: Likewise.
30656 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
30657 * libio/iogetwline.c (wmemcpy): Remove macro definition.
30658 (_IO_getwline): Call __wmemcpy directly.
30659 * libio/iopopen.c: Assume _LIBC is defined.
30660 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30661 (_IO_close): Remove macro definitions.
30662 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
30663 _exit directly.
30664 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
30665 directly.
30666 * libio/ioputs.c: Assume weak_alias is defined.
30667 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
30668 * libio/iosetbuffer.c: Assume weak_alias is defined.
30669 * libio/iosetvbuf.c: Likewise.
30670 * libio/ioungetc.c: Likewise.
30671 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
30672 libc_hidden_def, libc_hidden_weak, NULL are defined.
30673 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
30674 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
30675 defined.
30676 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
30677 definitions.
30678 (_IO_old_file_init_internal): Drop SHARED conditional because it
30679 is implied by SHLIB_COMPAT.
30680 (_IO_old_file_fopen): Call __open directly.
30681 (_IO_old_file_sync): Assume ESPIPE is defined.
30682 (_IO_old_file_write): Call __write directly.
30683 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
30684 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
30685 Call __fcntl directly.
30686 * libio/oldiofgetpos.c: Assume weak_alias is defined.
30687 (_IO_old_fgetpos): Assume EIO is defined.
30688 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
30689 (_IO_old_fgetpos64): Assume EIO is defined.
30690 * libio/oldiofsetpos.c: Assume weak_alias is defined.
30691 (_IO_old_fsetpos): Assume EIO is defined.
30692 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
30693 (_IO_old_fsetpos64): Assume EIO is defined.
30694 * libio/oldiopopen.c: Assume _LIBC is defined.
30695 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
30696 (_IO_close): Remove macro definitions.
30697 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
30698 directly.
30699 (_IO_old_proc_close): Call __close, __waitpid directly.
30700 * libio/put.c: Assume weak_alias is defined.
30701 * libio/stdfiles.c: Assume _LIBC is defined.
30702 * libio/stdio.c: Likewise.
30703 * libio/wfileops.c: Likewise.
30704 (_IO_wfile_sync): Assume ESPIPE is defined.
30705 * libio/wgenops.c: Assume _LIBC is defined.
30706 (save_for_wbackup): Remove internal_function.
30707
30708 2017-08-31 Florian Weimer <fweimer@redhat.com>
30709
30710 * malloc/malloc.c (top_check): Change return type to void. Remove
30711 internal_function.
30712 * malloc/hooks.c (top_check): Likewise.
30713 (malloc_check, realloc_check, memalign_check): Adjust.
30714
30715 2017-08-30 Joseph Myers <joseph@codesourcery.com>
30716
30717 [BZ #21457]
30718 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30719 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
30720 sigcontext and namespace requirements.
30721 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
30722 * sysdeps/m68k/sys/ucontext.h: Likewise.
30723 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
30724 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
30725 <bits/sigcontext.h>.
30726 (__ctx): Define earlier.
30727 (mcontext_t): Define structure contents rather than using struct
30728 sigcontext.
30729 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
30730 __glibc_reserved1 instead of __reserved.
30731 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
30732 <bits/sigcontext.h>.
30733 (__ctx): Define earlier.
30734 (mcontext_t): Define structure contents rather than using struct
30735 sigcontext.
30736 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
30737 mcontext_t instead of struct sigcontext.
30738 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
30739 <bits/sigcontext.h>.
30740 (__ctx): Define earlier.
30741 (mcontext_t): Define structure contents rather than using struct
30742 sigcontext.
30743 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
30744 <bits/sigcontext.h>.
30745 (__ctx): Define earlier.
30746 (mcontext_t): Define structure contents rather than using struct
30747 sigcontext.
30748 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
30749 mcontext_t instead of struct sigcontext.
30750 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
30751 mcontext_t instead of struct sigcontext.
30752 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
30753 <bits/sigcontext.h>.
30754 (__ctx): New macro.
30755 (struct __ia64_fpreg_mcontext): New type.
30756 (mcontext_t): Define structure contents rather than using struct
30757 sigcontext.
30758 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
30759 (uc_sigmask): Define using __ctx.
30760 (uc_stack): Likewise.
30761 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
30762 <bits/sigcontext.h>.
30763 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30764 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
30765 <bits/sigcontext.h>.
30766 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
30767 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
30768 <bits/sigcontext.h>.
30769 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
30770 <bits/sigcontext.h>.
30771 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
30772 <bits/sigcontext.h>.
30773 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
30774 <bits/sigcontext.h>.
30775 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
30776 <bits/sigcontext.h>.
30777 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
30778 <bits/sigcontext.h>.
30779 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
30780 <bits/sigcontext.h>.
30781 (__ctx): Define earlier.
30782 (mcontext_t): Define structure contents rather than using struct
30783 sigcontext.
30784 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
30785 <bits/sigcontext.h>. Include <bits/types.h>.
30786 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
30787 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
30788 (test-xfail-XPG42/ucontext.h/conform): Likewise.
30789 (test-xfail-UNIX98/signal.h/conform): Likewise.
30790 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30791 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30792 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30793 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30794 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30795 (test-xfail-POSIX2008/signal.h/conform): Likewise.
30796 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30797 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30798 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30799
30800 2017-08-30 Florian Weimer <fweimer@redhat.com>
30801
30802 * malloc/dynarray_emplace_enlarge.c
30803 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
30804 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
30805 * malloc/tst-dynarray.c (test_long_overflow): New function.
30806 (do_test): Call it.
30807
30808 2017-08-30 Florian Weimer <fweimer@redhat.com>
30809
30810 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
30811 (set_arena_corrupt): Remove definitions.
30812 (mtrim): Do not check for corrupt arena.
30813 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
30814 Likewise.
30815
30816 2017-08-30 Florian Weimer <fweimer@redhat.com>
30817
30818 [BZ #21754]
30819 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
30820 check_action.
30821 (ptmalloc_init): Do not set or use check_action.
30822 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
30823 call to malloc_printerr. Remove return statement.
30824 (free_check): Likewise. Remove arena unlock.
30825 (top_check): Update comment. Adjust call to malloc_printerr.
30826 Remove heap repair code.
30827 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
30828 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
30829 (sysmalloc): Adjust call to malloc_printerr.
30830 (munmap_chunk, __libc_realloc): Likewise. Remove return
30831 statement.
30832 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
30833 Remove errout label and corresponding gotos.
30834 (_int_free): Likewise. Remove arena unlock.
30835 (do_set_mallopt_check): Do not set check_action.
30836 (malloc_printerr): Adjust parameter list. Do not mark arena as
30837 corrupt.
30838 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
30839 comment.
30840 * manual/probes.texi (Memory Allocation Probes): Remove
30841 memory_mallopt_check_action.
30842
30843 2017-08-30 Steve Ellcey <sellcey@cavium.com>
30844
30845 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
30846 Use pointer to uint64_t instead of long int for sp.
30847
30848 2017-08-30 Florian Weimer <fweimer@redhat.com>
30849
30850 [BZ #21754]
30851 * malloc/malloc.c (malloc_printerr): Always terminate the process,
30852 without printing a backtrace. Do not leak any information in the
30853 error message.
30854 * manual/memory.texi (Heap Consistency Checking): Update.
30855 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
30856
30857 2017-08-30 Florian Weimer <fweimer@redhat.com>
30858
30859 Do not scale NPTL tests with available number of CPUs.
30860 * nptl/tst-cond16.c (count): Set to constant value of 8.
30861 * nptl/tst-cond18.c (count): Likewise.
30862
30863 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30864
30865 [BZ #22035]
30866 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
30867 Define to take a second argument that is a macro that
30868 concatentates a suffix, not the suffix itself.
30869 (__CONCAT_d): New macro.
30870 (__CONCAT_f): Likewise.
30871 (__CONCAT_l): Likewise.
30872
30873 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
30874
30875 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
30876 by child.
30877
30878 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30879 Aurelien Jarno <aurelien@aurel32.net>
30880 Maciej W. Rozycki <macro@imgtec.com>
30881
30882 [BZ #21956]
30883 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
30884 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
30885 `mips16-syscall6' and `mips16-syscall7'.
30886 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
30887 (CFLAGS-mips16-syscall7.c): Remove.
30888 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
30889 Remove `__mips16_syscall5', `__mips16_syscall6' and
30890 `__mips16_syscall7'.
30891 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
30892 (__mips16_syscall0): Rename `__mips16_syscall_return' to
30893 `__mips_syscall_return'.
30894 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
30895 (__mips16_syscall1): Likewise.
30896 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
30897 (__mips16_syscall2): Likewise.
30898 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
30899 (__mips16_syscall3): Likewise.
30900 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
30901 (__mips16_syscall4): Likewise.
30902 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
30903 Remove.
30904 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
30905 Remove.
30906 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
30907 Remove.
30908 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
30909 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
30910 `__mips16_syscall5'. Remove prototype.
30911 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
30912 `__mips16_syscall6'. Remove prototype.
30913 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
30914 `__mips16_syscall7'. Remove prototype.
30915 (__nomips16, __mips16_syscall_return): Move to...
30916 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
30917 (__nomips16, __mips_syscall_return): ... here.
30918 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
30919 `__mips16_syscall_return' to `__mips_syscall_return'.
30920 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
30921 `internal_syscall##nr'.
30922 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
30923 `internal_syscall##nr'.
30924 (FORCE_FRAME_POINTER): Remove.
30925 (__mips_syscall5): New prototype.
30926 (internal_syscall5): Rewrite to call `__mips_syscall5'.
30927 (__mips_syscall6): New prototype.
30928 (internal_syscall6): Rewrite to call `__mips_syscall6'.
30929 (__mips_syscall7): New prototype.
30930 (internal_syscall7): Rewrite to call `__mips_syscall7'.
30931 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
30932 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
30933 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
30934 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
30935 (sysdep_routines): Add libc-do-syscall.
30936 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
30937 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
30938
30939 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30940
30941 [BZ #21672]
30942 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
30943 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
30944 (advise_stack_range): New function.
30945 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
30946 stack non required to advise_stack_range at allocatestack.c
30947
30948 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
30949
30950 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
30951
30952 2017-08-29 Florian Weimer <fweimer@redhat.com>
30953
30954 [BZ #22026]
30955 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
30956 __end_fct. Mangle __end_fct after setting it to NULL.
30957 * iconv/Makefile (tests): Add tst-gconv-init-failure.
30958 (modules-names, modules-names-tests): Add
30959 tst-gconv-init-failure-mod.
30960 (gconv-modules): New target.
30961 (tst-gconv-init-failure-mod.so): Link against libsupport.
30962 (tst-gconv-init-failure): Depend on gconv-modules,
30963 tst-gconv-init-failure-mod.so.
30964 * iconv/tst-gconv-init-failure-mod.c: New file.
30965 * iconv/tst-gconv-init-failure.c: Likewise.
30966 * iconv/test-gconv-modules: Likewise.
30967
30968 2017-08-29 Florian Weimer <fweimer@redhat.com>
30969
30970 [BZ #22025]
30971 * iconv/gconv_db.c (free_derivation): Remove redundant
30972 parentheses.
30973 (gen_steps): Unconditionally mangle __btowc_fct after
30974 initialization.
30975 (increment_counter): Likewise. Do not call init_fct for internal
30976 modules.
30977
30978 2017-08-29 Joseph Myers <joseph@codesourcery.com>
30979
30980 [BZ #22028]
30981 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30982 (_MSUF_): Remove macro.
30983 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
30984 Likewise.
30985 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
30986 (__REDIRFROM_X): New macro.
30987 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
30988 Likewise.
30989 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
30990 (__REDIRTO_X): Likewise.
30991 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
30992 arguments.
30993 (__MATH_REDIRCALL_2): Likewise.
30994 (__MATH_REDIRCALL_INTERNAL): Likewise.
30995 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
30996 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
30997 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
30998 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
30999 * math/test-finite-macros.c: New file.
31000 * math/Makefile (tests): Add test-finite-macros.
31001 (CFLAGS-test-finite-macros.c): New variable.
31002
31003 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
31004 Jeff Law <law@redhat.com>
31005
31006 [BZ #22025]
31007 Mangle NULL pointers in iconv/gconv.
31008 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31009 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31010 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31011 is non-NULL before demangling the end_fct. Check for NULL
31012 end_fct after demangling.
31013 (__gconv_release_step): Demangle the end_fct before checking
31014 it for NULL. Remove assert on __shlibc_handle != NULL.
31015 (gen_steps): Don't check btowc_fct for NULL before mangling.
31016 Demangle init_fct before checking for NULL.
31017 (increment_counter): Likewise.
31018 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31019 end_fct for NULL before mangling.
31020 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31021 for NULL.
31022
31023 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
31024
31025 [BZ #21971]
31026 * locale/iso-639.def: add Morisyen.
31027
31028 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31029
31030 [BZ #21930]
31031 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31032 (iszero): New C++ implementation that does not use
31033 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31034 signaling nans are enabled, since __builtin_types_compatible_p
31035 is a C-only feature.
31036 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31037 defined, include ieee754_float128.h for access to the union and
31038 member ieee854_float128.ieee.
31039 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31040 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31041 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31042 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31043 options of test-math-zero on powerpc64le.
31044
31045 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31046
31047 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31048 Change double to float.
31049
31050 2017-08-28 Joseph Myers <joseph@codesourcery.com>
31051
31052 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31053 unconditional.
31054 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31055 conditional code; define contents only for [LIBM_SVID_COMPAT].
31056
31057 2017-08-28 Florian Weimer <fweimer@redhat.com>
31058
31059 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31060 (abi-lp64_be-options): Remove.
31061 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31062 (abi-hard-options): Likewise.
31063 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31064 (abi-o32_hard-options, abi-o32_soft_2008-options)
31065 (abi-o32_hard_2008-options, abi-n32_soft-options)
31066 (abi-n32_hard-options, abi-n32_soft_2008-options)
31067 (abi-n32_hard_2008-options, abi-n64_soft-options)
31068 (abi-n64_hard-options, abi-n64_soft_2008-options)
31069 (abi-n64_hard_2008-options): Likewise.
31070 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31071 (abi-64-v1-options, abi-64-v2-options): Likewise.
31072 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31073 (abi-64-options): Likewise.
31074 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31075 (abi-64-options): Likewise.
31076 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31077 (abi-64-options): Likewise.
31078 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31079 (abi-64-options, abi-x32-options): Likewise.
31080
31081 2017-08-28 Florian Weimer <fweimer@redhat.com>
31082
31083 Store supported list of SYS_* system calls in the source tree.
31084 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31085 (bits/syscall.h): Generate from list file.
31086 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31087 [$(subdir) = misc] (tests): Add tst-syscall-list.
31088 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31089 [$(subdir) = misc] (tst-syscall-list-macros.list)
31090 [$(subdir) = misc] (tst-syscall-list-nr.list)
31091 (tst-syscall-list-sys.list): Helper targets for new
31092 tst-syscall-list test.
31093 [$(subdir) = misc] (tst-syscall-list.out): Run test script
31094 tst-syscall-list.sh.
31095 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
31096 target. Do not include bits/syscall.d.
31097 [$(subdir) = misc] (generated): Do not update.
31098 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
31099 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
31100 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
31101 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
31102
31103 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31104
31105 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
31106 (tst-cxa_atexit, tst-on_exit): Likewise.
31107 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
31108 tst-cxa_atexit, and tst-on_exit.
31109 * stdlib/tst-atexit-common.c: New file.
31110 * stdlib/tst-atexit.c: New file.
31111 * stdlib/tst-at_quick_exit.c: New file.
31112 * stdlib/tst-cxa_atexit.c: New file.
31113 * stdlib/tst-on_exit.c: New file.
31114
31115 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31116
31117 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
31118 * mach/stack_chk_fail_local.c: New file.
31119 * hurd/stack_chk_fail_local.c: New file.
31120 * mach/Machrules ($(interface-library)-routines): Add
31121 stack_chk_fail_local.
31122 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
31123 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
31124 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
31125 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
31126 * hurd/Makefile (CFLAGS-hurdstartup.o,
31127 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
31128
31129 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
31130
31131 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31132 (index_cpu_*, index_arch_*): Removed.
31133
31134 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31135
31136 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
31137 Use uint64_t instead of unsigned long.
31138
31139 2017-08-25 Joseph Myers <joseph@codesourcery.com>
31140
31141 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
31142 [__HAVE_DISTINCT_FLOAT128].
31143
31144 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
31145 of <bits/math-finite.h>.
31146 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
31147 inclusion of <bits/math-finite.h>.
31148 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31149 conditionally on [__MATH_DECLARING_LDOUBLE && defined
31150 __NO_LONG_DOUBLE_MATH].
31151 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
31152 (__MATH_REDIRCALL_2): Likewise.
31153 (__MATH_REDIRCALL_INTERNAL): Likewise.
31154 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31155 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
31156 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31157
31158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
31159 Remove file.
31160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
31161 Likewise.
31162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
31163 Likewise.
31164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
31165 Likewise.
31166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
31167 Likewise.
31168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
31169 Likewise.
31170 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31171 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31172 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31173 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31175 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31176 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31177 w_sqrtf_compat-ppc32.
31178
31179 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31180
31181 * math/math.h [defined __cplusplus] (issignaling): In the long
31182 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31183 is not defined. Call __issignaling, otherwise.
31184
31185 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31186
31187 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31188 syscall definitions and replace __builtin_expect with __glibc_likely.
31189 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31190 syscall.
31191 (SYSCALL_CANCELLABLE): Removedefinition
31192 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31193 definition.
31194 (PSEUDO_END): Likewise.
31195 [IS_IN (libpthread)] (CENABLE): Likewise.
31196 [IS_IN (libpthread)] (CDISABLE): Likewise.
31197 [IS_IN (libc)] (CENABLE): Likewise.
31198 [IS_IN (libc)] (CENABLE): Likewise.
31199 [IS_IN (librt)] (CDISABLE): Likewise.
31200 [IS_IN (librt)] (CDISABLE): Likewise.
31201 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31202 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31203 definition.
31204 (PSEUDO_END): Likewise.
31205 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31206 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31207 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31208 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31209 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31210 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31211 (CENABLE): Likewise.
31212 (CDISABLE): Likewise.
31213 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31214 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31215 defintion.
31216 (PSEUDO_END): Likewise.
31217 [IS_IN (libpthread)] (CENABLE): Likewise.
31218 [IS_IN (libpthread)] (CDISABLE): Likewise.
31219 [IS_IN (libc)] (CENABLE): Likewise.
31220 [IS_IN (libc)] (CENABLE): Likewise.
31221 [IS_IN (librt)] (CDISABLE): Likewise.
31222 [IS_IN (librt)] (CDISABLE): Likewise.
31223 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31224 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31225 definition.
31226 (PSEUDO_END): Likewise.
31227 [IS_IN (libpthread)] (CENABLE): Likewise.
31228 [IS_IN (libpthread)] (CDISABLE): Likewise.
31229 [IS_IN (libc)] (CENABLE): Likewise.
31230 [IS_IN (libc)] (CENABLE): Likewise.
31231 [IS_IN (librt)] (CDISABLE): Likewise.
31232 [IS_IN (librt)] (CDISABLE): Likewise.
31233 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31234 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31235 definition.
31236 (PSEUDO_END): Likewise.
31237 [IS_IN (libpthread)] (CENABLE): Likewise.
31238 [IS_IN (libpthread)] (CDISABLE): Likewise.
31239 [IS_IN (libc)] (CENABLE): Likewise.
31240 [IS_IN (libc)] (CENABLE): Likewise.
31241 [IS_IN (librt)] (CDISABLE): Likewise.
31242 [IS_IN (librt)] (CDISABLE): Likewise.
31243 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31244 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31245 definition.
31246 (PSEUDO_END): Likewise.
31247 [IS_IN (libpthread)] (CENABLE): Likewise.
31248 [IS_IN (libpthread)] (CDISABLE): Likewise.
31249 [IS_IN (libc)] (CENABLE): Likewise.
31250 [IS_IN (libc)] (CENABLE): Likewise.
31251 [IS_IN (librt)] (CDISABLE): Likewise.
31252 [IS_IN (librt)] (CDISABLE): Likewise.
31253 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31254 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31255 definition.
31256 (PSEUDO_END): Likewise.
31257 [IS_IN (libpthread)] (CENABLE): Likewise.
31258 [IS_IN (libpthread)] (CDISABLE): Likewise.
31259 [IS_IN (libc)] (CENABLE): Likewise.
31260 [IS_IN (libc)] (CENABLE): Likewise.
31261 [IS_IN (librt)] (CDISABLE): Likewise.
31262 [IS_IN (librt)] (CDISABLE): Likewise.
31263 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31264 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
31265 definition.
31266 (PSEUDO_END): Likewise.
31267 [IS_IN (libpthread)] (CENABLE): Likewise.
31268 [IS_IN (libpthread)] (CDISABLE): Likewise.
31269 [IS_IN (libc)] (CENABLE): Likewise.
31270 [IS_IN (libc)] (CENABLE): Likewise.
31271 [IS_IN (librt)] (CDISABLE): Likewise.
31272 [IS_IN (librt)] (CDISABLE): Likewise.
31273 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31274 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
31275 Remove definition.
31276 (PSEUDO_END): Likewise.
31277 [IS_IN (libpthread)] (CENABLE): Likewise.
31278 [IS_IN (libpthread)] (CDISABLE): Likewise.
31279 [IS_IN (libc)] (CENABLE): Likewise.
31280 [IS_IN (libc)] (CENABLE): Likewise.
31281 [IS_IN (librt)] (CDISABLE): Likewise.
31282 [IS_IN (librt)] (CDISABLE): Likewise.
31283 (SINGLE_THREAD_P): Likewise.
31284 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31285 definition.
31286 (PSEUDO_END): Likewise.
31287 [IS_IN (libpthread)] (CENABLE): Likewise.
31288 [IS_IN (libpthread)] (CDISABLE): Likewise.
31289 [IS_IN (libc)] (CENABLE): Likewise.
31290 [IS_IN (libc)] (CENABLE): Likewise.
31291 [IS_IN (librt)] (CDISABLE): Likewise.
31292 [IS_IN (librt)] (CDISABLE): Likewise.
31293 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31294 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31295 definition.
31296 (PSEUDO_END): Likewise.
31297 [IS_IN (libpthread)] (CENABLE): Likewise.
31298 [IS_IN (libpthread)] (CDISABLE): Likewise.
31299 [IS_IN (libc)] (CENABLE): Likewise.
31300 [IS_IN (libc)] (CENABLE): Likewise.
31301 [IS_IN (librt)] (CDISABLE): Likewise.
31302 [IS_IN (librt)] (CDISABLE): Likewise.
31303 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31304 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31305 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31306 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31307 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
31308 definition.
31309 (PSEUDO_END): Likewise.
31310 [IS_IN (libpthread)] (CENABLE): Likewise.
31311 [IS_IN (libpthread)] (CDISABLE): Likewise.
31312 [IS_IN (libc)] (CENABLE): Likewise.
31313 [IS_IN (libc)] (CENABLE): Likewise.
31314 [IS_IN (librt)] (CDISABLE): Likewise.
31315 [IS_IN (librt)] (CDISABLE): Likewise.
31316 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31317 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
31318 definition.
31319 (PSEUDO_END): Likewise.
31320 [IS_IN (libpthread)] (CENABLE): Likewise.
31321 [IS_IN (libpthread)] (CDISABLE): Likewise.
31322 [IS_IN (libc)] (CENABLE): Likewise.
31323 [IS_IN (libc)] (CENABLE): Likewise.
31324 [IS_IN (librt)] (CDISABLE): Likewise.
31325 [IS_IN (librt)] (CDISABLE): Likewise.
31326 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31327 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
31328 definition.
31329 (PSEUDO_END): Likewise.
31330 [IS_IN (libpthread)] (CENABLE): Likewise.
31331 [IS_IN (libpthread)] (CDISABLE): Likewise.
31332 [IS_IN (libc)] (CENABLE): Likewise.
31333 [IS_IN (libc)] (CENABLE): Likewise.
31334 [IS_IN (librt)] (CDISABLE): Likewise.
31335 [IS_IN (librt)] (CDISABLE): Likewise.
31336 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31337 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
31338 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31339 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
31340 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
31341 definition.
31342 (PSEUDO_END): Likewise.
31343 [IS_IN (libpthread)] (CENABLE): Likewise.
31344 [IS_IN (libpthread)] (CDISABLE): Likewise.
31345 [IS_IN (libc)] (CENABLE): Likewise.
31346 [IS_IN (libc)] (CENABLE): Likewise.
31347 [IS_IN (librt)] (CDISABLE): Likewise.
31348 [IS_IN (librt)] (CDISABLE): Likewise.
31349 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31350 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
31351 definition.
31352 (PSEUDO_END): Likewise.
31353 [IS_IN (libpthread)] (CENABLE): Likewise.
31354 [IS_IN (libpthread)] (CDISABLE): Likewise.
31355 [IS_IN (libc)] (CENABLE): Likewise.
31356 [IS_IN (libc)] (CENABLE): Likewise.
31357 [IS_IN (librt)] (CDISABLE): Likewise.
31358 [IS_IN (librt)] (CDISABLE): Likewise.
31359 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31360
31361 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31362
31363 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
31364
31365 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31366
31367 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31368
31369 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31370
31371 [BZ #21982]
31372 * string/stratcliff.c (do_test): Declare size, nchars, inner,
31373 middle and outer with size_t instead of int. Repleace %d and
31374 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
31375 "MAX (outer, nchars - 64)" to support unsigned outer and
31376 nchars. Also exit loop when outer == 0.
31377
31378 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31379
31380 * include/fcntl.h (__fcntl_nocancel): Remove definition.
31381 * include/signal.h (__sigsuspend_nocancel): Likewise.
31382 * include/time.h (__nanosleep_nocancel): Likewise.
31383 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
31384 * login/utmp_file.c: Include non cancellable syscall header.
31385 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
31386 prototype.
31387
31388 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31389
31390 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
31391 .byte sequences with AVX512F instructions.
31392 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
31393 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
31394 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31395 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
31396 Likewise.
31397 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
31398 Likewise.
31399
31400 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
31401 Steve Ellcey <sellcey@cavium.com>
31402
31403 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
31404 Use PTR_REG macro in cmp instruction.
31405
31406 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31407
31408 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
31409 Change the return type of the ifunc resolver to match the return
31410 type of the target function.
31411
31412 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31413
31414 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
31415 (preadv64): Likewise.
31416 (pwrite64(: Likewise.
31417 (pwritev64): Likewise.
31418
31419 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31420 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
31421 (LOAD_ARGS_0): Likewise.
31422 (LOAD_ARGS_1): Likewise.
31423 (LOAD_ARGS_2): Likewise.
31424 (LOAD_ARGS_3): Likewise.
31425 (LOAD_ARGS_4): Likewise.
31426 (LOAD_ARGS_5): Likewise.
31427 (LOAD_ARGS_6): Likewise.
31428 (LOAD_REGS_0): Likewise.
31429 (LOAD_REGS_1): Likewise.
31430 (LOAD_REGS_2): Likewise.
31431 (LOAD_REGS_3): Likewise.
31432 (LOAD_REGS_4): Likewise.
31433 (LOAD_REGS_5): Likewise.
31434 (LOAD_REGS_6): Likewise.
31435 (ASM_ARGS_0): Likewise.
31436 (ASM_ARGS_1): Likewise.
31437 (ASM_ARGS_2): Likewise.
31438 (ASM_ARGS_3): Likewise.
31439 (ASM_ARGS_4): Likewise.
31440 (ASM_ARGS_5): Likewise.
31441 (ASM_ARGS_6): Likewise.
31442 (LOAD_ARGS_TYPES_1): Likewise.
31443 (LOAD_ARGS_TYPES_2): Likewise.
31444 (LOAD_ARGS_TYPES_3): Likewise.
31445 (LOAD_ARGS_TYPES_4): Likewise.
31446 (LOAD_ARGS_TYPES_5): Likewise.
31447 (LOAD_ARGS_TYPES_6): Likewise.
31448 (LOAD_REGS_TYPES_1): Likewise.
31449 (LOAD_REGS_TYPES_2): Likewise.
31450 (LOAD_REGS_TYPES_3): Likewise.
31451 (LOAD_REGS_TYPES_4): Likewise.
31452 (LOAD_REGS_TYPES_5): Likewise.
31453 (LOAD_REGS_TYPES_6): Likewise.
31454 (TYPEFY): New define.
31455 (ARGIFY): Likewise.
31456 (internal_syscall0): Likewise.
31457 (internal_syscall1): Likewise.
31458 (internal_syscall2): Likewise.
31459 (internal_syscall3): Likewise.
31460 (internal_syscall4): Likewise.
31461 (internal_syscall5): Likewise.
31462 (internal_syscall6): Likewise.
31463 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
31464 (INTERNAL_SYSCALL_NCS): Remove define.
31465 (internal_syscall1): Add define.
31466
31467 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31468
31469 * math/w_remainder_compat.c: Remove duplicate inclusion of
31470 math-svid-compat.h.
31471 * math/w_remainderf_compat.c: Likewise.
31472 * math/w_remainderl_compat.c: Likewise.
31473
31474 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31475
31476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31477
31478 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31479
31480 [BZ #21684]
31481 * math/tgmath.h (__floating_type): Simplify definitions.
31482 (__real_integer_type): New macro.
31483 (__complex_integer_type): Likewise.
31484 (__expr_is_real): Likewise.
31485 (__tgmath_real_type_sub): Update comment to describe handling of
31486 complex types.
31487 (__tgmath_complex_type_sub): New macro.
31488 (__tgmath_complex_type): Likewise.
31489 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31490 (__TGMATH_CF128): Use __expr_is_real.
31491 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
31492 __expr_is_real.
31493 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31494 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
31495 * math/gen-tgmath-tests.py (Type.create_type): Create complex
31496 integer types.
31497
31498 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31499
31500 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
31501 macro.
31502 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
31503 alias.
31504 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
31505 Likewise.
31506
31507 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
31508 nanosleep_not_cancel with __nanosleep_nocancel.
31509 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
31510 (__nanosleep_nocancel): New macro.
31511 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
31512 function.
31513 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
31514 macro.
31515 (__nanosleep_nocancel): New prototype.
31516
31517 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
31518 pause_not_cancel with __pause_nocancel.
31519 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
31520 (__pause_nocancel): New macro.
31521 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
31522 macro.
31523 (__pause_nocancel): New prototype.
31524 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
31525
31526 2017-08-22 Martin Sebor <msebor@redhat.com>
31527
31528 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
31529 to return a pointer to the same type as the target function.
31530
31531 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31532
31533 [BZ #18822]
31534 [BZ #21986]
31535 * include/printf.h (__printf_fphex): Add attribute_hidden.
31536 (__guess_grouping): New prototype.
31537 * stdio-common/printf_fp.c (__guess_grouping): Removed.
31538 * stdio-common/reg-printf.c (__register_printf_specifier): Add
31539 libc_hidden_proto and libc_hidden_def.
31540 * stdlib/strfmon_l.c (__guess_grouping): Removed.
31541 (__vstrfmon_l): Remove the third argument passed to
31542 __guess_grouping.
31543
31544 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31545
31546 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
31547 definition for issignaling that does not rely on __MATH_TG,
31548 since __MATH_TG uses __builtin_types_compatible_p, which is only
31549 available in C mode.
31550 (CFLAGS-test-math-issignaling.cc): New variable.
31551 * math/Makefile [CXX] (tests): Add test-math-issignaling.
31552 * math/test-math-issignaling.cc: New test for C++ implementation
31553 of type-generic issignaling.
31554 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31555 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
31556 options of test-math-issignaling on powerpc64le.
31557
31558 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31559
31560 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31561 building libc.a.
31562 (hidden_proto): Likewise.
31563 (hidden_tls_proto): Likewise.
31564 (__hidden_proto): Likewise.
31565
31566 2017-08-22 Florian Weimer <fweimer@redhat.com>
31567
31568 math: Statically link tests of internal functionality.
31569 * math/Makefile (tests): Remove atest-exp, atest-sincos,
31570 atest-exp2.
31571 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
31572 (gmp-objs): Remove assignment.
31573 (atest-exp, atest-sincos, atest-exp2): Remove targets.
31574
31575 2017-08-22 Joseph Myers <joseph@codesourcery.com>
31576
31577 [BZ #21987]
31578 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
31579 and copy to ...
31580 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
31581 ... here.
31582 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
31583 ... and here.
31584
31585 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
31586 variable definitions above inclusion of ../Rules.
31587
31588 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31589
31590 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
31591 case calling __builtin_unreachable.
31592
31593 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31594
31595 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
31596 __waitpid_nocancel.
31597 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
31598 (__waitpid_nocancel): New macro.
31599 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
31600 macro.
31601 (__waitpid_nocancel): Replace macro with a function.
31602 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
31603 function.
31604
31605 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
31606 __fcntl_nocancel.
31607 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
31608 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
31609
31610 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
31611 __writev_nocancel_nostatus.
31612 (write_call_graph): Likewise.
31613 (write_bb_counts): Likewise.
31614 * resolv/herror.c (herror): Likewise.
31615 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
31616 macro.
31617 (__writev_nocancel_nostatus): New macro.
31618 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
31619 Remove macro.
31620 (__writev_nocancel_nostatus): New function.
31621
31622 2017-08-21 Joseph Myers <joseph@codesourcery.com>
31623
31624 Revert:
31625 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31626
31627 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31628 building libc.a.
31629 (hidden_proto): Likewise.
31630 (hidden_tls_proto): Likewise.
31631 (__hidden_proto): Likewise.
31632
31633 [BZ #21973]
31634 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
31635 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31637 Likewise.
31638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
31639 Likewise.
31640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31641 Likewise.
31642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
31643 Likewise.
31644 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
31645 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31646 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31647 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31648 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31649 GLIBC_2.0 sqrtl symbol.
31650
31651 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
31652 [__USE_MISC] (_LIB_VERSION): Likewise.
31653 [__USE_MISC] (struct exception): Likewise.
31654 [__USE_MISC] (matherr): Likewise.
31655 [__USE_MISC] (DOMAIN): Likewise.
31656 [__USE_MISC] (SING): Likewise.
31657 [__USE_MISC] (OVERFLOW): Likewise.
31658 [__USE_MISC] (UNDERFLOW): Likewise.
31659 [__USE_MISC] (TLOSS): Likewise.
31660 [__USE_MISC] (PLOSS): Likewise.
31661 [__USE_MISC] (HUGE): Likewise.
31662 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
31663 * math/math-svid-compat.h: New file.
31664 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
31665 and matherrl.
31666 * include/math.h [!_ISOMAC] (__matherr): Remove.
31667 * manual/arith.texi (FP Exceptions): Do not document matherr.
31668 * math/Makefile (tests): Change test-matherr to test-matherr-3.
31669 (tests-internal): New variable.
31670 (install-lib): Do not add libieee.a.
31671 (non-lib.a): Likewise.
31672 (extra-objs): Do not add libieee.a and ieee-math.o.
31673 (CPPFLAGS-s_lib_version.c): Remove variable.
31674 ($(objpfx)libieee.a): Remove rule.
31675 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
31676 * math/ieee-math.c: Remove.
31677 * math/libm-test-support.c (matherr): Remove.
31678 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
31679 and license notices. Include <math-svid-compat.h> and
31680 <shlib-compat.h>.
31681 (matherr): Undefine as macro. Use compat_symbol_reference.
31682 (_LIB_VERSION): Likewise.
31683 * math/test-matherr-2.c: New file.
31684 * math/test-matherr-3.c: Likewise.
31685 * sysdeps/generic/math_private.h (__kernel_standard): Remove
31686 declaration.
31687 (__kernel_standard_f): Likewise.
31688 (__kernel_standard_l): Likewise.
31689 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
31690 <math_private.h>. Include <math-svid-compat.h>.
31691 (_LIB_VERSION): Undefine as macro.
31692 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
31693 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
31694 [LIBM_SVID_COMPAT], use compat_symbol.
31695 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
31696 <math_private.h>. Include <math-svid-compat.h>.
31697 (matherr): Undefine as macro.
31698 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
31699 compat_symbol.
31700 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
31701 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
31702 compat_symbol_reference.
31703 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
31704 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
31705 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
31706 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
31707 (MATHERR_D): Remove declaration.
31708 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
31709 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
31710 [LIBM_BUILD] (pmatherrf): Likewise.
31711 [LIBM_BUILD] (pmatherr): Likewise.
31712 [LIBM_BUILD] (pmatherrl): Likewise.
31713 (DOMAIN): Likewise.
31714 (SING): Likewise.
31715 (OVERFLOW): Likewise.
31716 (UNDERFLOW): Likewise.
31717 (TLOSS): Likewise.
31718 (PLOSS): Likewise.
31719 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
31720 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
31721 compat_symbol.
31722 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
31723 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
31724 compat_symbol.
31725 * math/lgamma-compat.h: Include <math-svid-compat.h>.
31726 * math/w_acos_compat.c: Likewise.
31727 * math/w_acosf_compat.c: Likewise.
31728 * math/w_acosh_compat.c: Likewise.
31729 * math/w_acoshf_compat.c: Likewise.
31730 * math/w_acoshl_compat.c: Likewise.
31731 * math/w_acosl_compat.c: Likewise.
31732 * math/w_asin_compat.c: Likewise.
31733 * math/w_asinf_compat.c: Likewise.
31734 * math/w_asinl_compat.c: Likewise.
31735 * math/w_atan2_compat.c: Likewise.
31736 * math/w_atan2f_compat.c: Likewise.
31737 * math/w_atan2l_compat.c: Likewise.
31738 * math/w_atanh_compat.c: Likewise.
31739 * math/w_atanhf_compat.c: Likewise.
31740 * math/w_atanhl_compat.c: Likewise.
31741 * math/w_cosh_compat.c: Likewise.
31742 * math/w_coshf_compat.c: Likewise.
31743 * math/w_coshl_compat.c: Likewise.
31744 * math/w_exp10_compat.c: Likewise.
31745 * math/w_exp10f_compat.c: Likewise.
31746 * math/w_exp10l_compat.c: Likewise.
31747 * math/w_exp2_compat.c: Likewise.
31748 * math/w_exp2f_compat.c: Likewise.
31749 * math/w_exp2l_compat.c: Likewise.
31750 * math/w_fmod_compat.c: Likewise.
31751 * math/w_fmodf_compat.c: Likewise.
31752 * math/w_fmodl_compat.c: Likewise.
31753 * math/w_hypot_compat.c: Likewise.
31754 * math/w_hypotf_compat.c: Likewise.
31755 * math/w_hypotl_compat.c: Likewise.
31756 * math/w_j0_compat.c: Likewise.
31757 * math/w_j0f_compat.c: Likewise.
31758 * math/w_j0l_compat.c: Likewise.
31759 * math/w_j1_compat.c: Likewise.
31760 * math/w_j1f_compat.c: Likewise.
31761 * math/w_j1l_compat.c: Likewise.
31762 * math/w_jn_compat.c: Likewise.
31763 * math/w_jnf_compat.c: Likewise.
31764 * math/w_jnl_compat.c: Likewise.
31765 * math/w_lgamma_main.c: Likewise.
31766 * math/w_lgamma_r_compat.c: Likewise.
31767 * math/w_lgammaf_main.c: Likewise.
31768 * math/w_lgammaf_r_compat.c: Likewise.
31769 * math/w_lgammal_main.c: Likewise.
31770 * math/w_lgammal_r_compat.c: Likewise.
31771 * math/w_log10_compat.c: Likewise.
31772 * math/w_log10f_compat.c: Likewise.
31773 * math/w_log10l_compat.c: Likewise.
31774 * math/w_log2_compat.c: Likewise.
31775 * math/w_log2f_compat.c: Likewise.
31776 * math/w_log2l_compat.c: Likewise.
31777 * math/w_log_compat.c: Likewise.
31778 * math/w_logf_compat.c: Likewise.
31779 * math/w_logl_compat.c: Likewise.
31780 * math/w_pow_compat.c: Likewise.
31781 * math/w_powf_compat.c: Likewise.
31782 * math/w_powl_compat.c: Likewise.
31783 * math/w_remainder_compat.c: Likewise.
31784 * math/w_remainderf_compat.c: Likewise.
31785 * math/w_remainderl_compat.c: Likewise.
31786 * math/w_scalb_compat.c: Likewise.
31787 * math/w_scalbf_compat.c: Likewise.
31788 * math/w_scalbl_compat.c: Likewise.
31789 * math/w_sinh_compat.c: Likewise.
31790 * math/w_sinhf_compat.c: Likewise.
31791 * math/w_sinhl_compat.c: Likewise.
31792 * math/w_sqrt_compat.c: Likewise.
31793 * math/w_sqrtf_compat.c: Likewise.
31794 * math/w_sqrtl_compat.c: Likewise.
31795 * math/w_tgamma_compat.c: Likewise.
31796 * math/w_tgammaf_compat.c: Likewise.
31797 * math/w_tgammal_compat.c: Likewise.
31798 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
31799 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31800 * sysdeps/ieee754/k_standard.c: Likewise.
31801 * sysdeps/ieee754/k_standardf.c: Likewise.
31802 * sysdeps/ieee754/k_standardl.c: Likewise.
31803 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31804 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31805 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31806 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31807 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31808 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31809 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31810 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
31811 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
31812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
31813 Likewise.
31814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
31815 Likewise.
31816 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
31817 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
31818 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
31819 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
31820
31821 2017-08-21 Florian Weimer <fweimer@redhat.com>
31822
31823 [BZ #21864]
31824 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
31825 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
31826 Move before inclusion of ../Rules.
31827
31828 2017-08-21 Florian Weimer <fweimer@redhat.com>
31829
31830 [BZ #21972]
31831 * assert/assert.h (assert): Use static_cast (bool) for C++.
31832 Use the ternary operator in the warning branch for GNU C.
31833 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
31834 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
31835 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
31836 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
31837 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
31838
31839 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31840
31841 [BZ #18822]
31842 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31843 (__syscall_clock_gettime): Add attribute_hidden.
31844 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
31845 (__start_context): Likewise.
31846
31847 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31848
31849 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
31850 building libc.a.
31851 (hidden_proto): Likewise.
31852 (hidden_tls_proto): Likewise.
31853 (__hidden_proto): Likewise.
31854
31855 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31856
31857 * include/libc-symbols.h (attribute_hidden): Enable hidden
31858 visibility in libc.a compiled with PIE.
31859
31860 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31861
31862 [BZ #18822]
31863 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
31864 Add attribute_hidden.
31865
31866 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31867
31868 [BZ #21864]
31869 * Makerules (all-nonlib): Add $(others-extras).
31870 * catgets/Makefile (others-extras): New.
31871 * elf/Makefile (others-extras): Likewise.
31872 * nss/Makefile (others-extras): Likewise.
31873
31874 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31875
31876 [BZ #18822]
31877 * csu/libc-start.c (__libc_multiple_libcs): Removed.
31878 * elf/dl-open.c: Include <libc-internal.h>.
31879 (__libc_multiple_libcs): Removed.
31880 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
31881 <hp-timing.h>.
31882 * include/libc-internal.h (__libc_multiple_libcs): New.
31883 * misc/sbrk.c: Include <libc-internal.h>.
31884 (__libc_multiple_libcs): Removed.
31885
31886 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
31887
31888 [BZ #18822]
31889 * grp/initgroups.c (__nss_group_database): Removed.
31890 (__nss_initgroups_database): Likewise.
31891 * nscd/gai.c (__nss_hosts_database): Likewise.
31892 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
31893 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
31894 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
31895 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
31896 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
31897 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
31898 attribute_hidden.
31899 * nss/nsswitch.c (__nss_database_custom): Define only if
31900 USE_NSCD is defined.
31901 (__nss_configure_lookup): Use __nss_database_custom only if
31902 USE_NSCD is defined.
31903 * nss/nsswitch.h (__nss_database_custom): Declare only if
31904 USE_NSCD is defined. Add attribute_hidden.
31905 (__nss_setent): Add attribute_hidden.
31906 (__nss_endent): Likewise.
31907 (__nss_getent_r): Likewise.
31908 (__nss_getent): Likewise.
31909 (DEFINE_DATABASE): Declare __nss_##arg##_database.
31910
31911 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31912
31913 [BZ #18822]
31914 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
31915 libc_hidden_proto and libc_hidden_def.
31916
31917 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31918
31919 [BZ #18822]
31920 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
31921 Add libc_hidden_proto.
31922 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
31923 Add libc_hidden_def.
31924
31925 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31926
31927 [BZ #21974]
31928 * gmon/Makefile (routines): Remove bb_init_func and
31929 bb_exit_func.
31930 (elide-routines.os): Removed.
31931 * gmon/bb_exit_func.c: Likewise.
31932 * gmon/bb_init_func.c: Likewise.
31933 * include/sys/gmon.h (__bb): Likewise.
31934 (__bb_init_func): Likewise.
31935 (__bb_exit_func): Likewise.
31936 * sysdeps/alpha/bb_init_func.S: Likewise.
31937
31938 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
31939
31940 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
31941 * include/setjmp.h (____longjmp_chk): Here. Add
31942 attribute_hidden.
31943
31944 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
31945
31946 [BZ #18822]
31947 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
31948 attribute_hidden.
31949 (__strspn_sse2): Likewise.
31950
31951 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31952
31953 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
31954 (close_not_cancel_no_status): Likewise.
31955 (__close_nocancel): New macro.
31956 (__close_nocancel_nostatus): Likewise.
31957 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
31958 macro.
31959 (close_not_cancel): Likewise.
31960 (close_not_cancel_no_status): Likewise.
31961 (__close_nocancel): New prototype.
31962 (__close_nocancel_nostatus): New function.
31963 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
31964 * catgets/open_catalog.c (__open_catalog): Replace
31965 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
31966 * gmon/gmon.c (write_gmon): Likewise.
31967 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31968 * intl/loadmsgcat.c (close): Likewise.
31969 * io/ftw.c (open_dir_stream): Likewise.
31970 (ftw_startup): Likewise.
31971 * libio/fileops.c (_IO_file_open): Likewise.
31972 (_IO_file_close_mmap): Likewise.
31973 (_IO_file_close): Likewise.
31974 * libio/iopopen.c (_IO_dup2): Likewise.
31975 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31976 * locale/loadlocale.c (_nl_load_locale): Likewise.
31977 * login/utmp_file.c (pututline_file): Likewise.
31978 (endutent_file): Likewise.
31979 * misc/daemon.c (daemon): Likewise.
31980 * nscd/nscd_getai.c (__nscd_getai): Likewise.
31981 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31982 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31983 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31984 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31985 * nscd/nscd_helper.c (open_socket): Likewise.
31986 (__nscd_open_socket): Likewise.
31987 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31988 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
31989 (__nscd_innetgr): Likewise.
31990 * nss/nss_db/db-open.c (internal_setent): Likewise.
31991 * resolv/res-close.c (__res_iclose): Likewise.
31992 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
31993 * sysdeps/posix/closedir.c (__closedir): Likewise.
31994 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
31995 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
31996 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
31997 (opendir_tail): Likewise.
31998 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
31999 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32000 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32001 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32002 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32003 (gethostid): Likewise.
32004 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32005 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32006 Likewise.
32007 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32008 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32009 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32010 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32011 Likewise.
32012 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32013 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32014 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32015 Likewise.
32016 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32017 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32018 Likewise.
32019 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32020 Likewise.
32021 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32022 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32023 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32024 __close_nocancel.
32025
32026 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32027 (openat_not_cancel_3): Likewise.
32028 (openat64_not_cancel_3): Likewise).
32029 (openat_not_cancel_3): Likewise).
32030 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32031 macro.
32032 (openat_not_cancel_3): Likewise.
32033 (openat64_not_cancel): Likewise.
32034 (openat64_not_cancel_3): Likewise.
32035 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32036 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32037 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32038 __open{64}_nocancel.
32039 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32040 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32041 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32042
32043 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32044
32045 [BZ #18822]
32046 * include/argz.h (__argz_create_sep): New function prototype.
32047 (__argz_append): Likewise.
32048 (__argz_add): Likewise.
32049 (__argz_add_sep): Likewise.
32050 (__argz_delete): Likewise.
32051 (__argz_insert): Likewise.
32052 (__argz_replace): Likewise.
32053 * string/argz.h (__argz_create_sep): Removed.
32054 (__argz_append): Likewise.
32055 (__argz_add): Likewise.
32056 (__argz_add_sep): Likewise.
32057 (__argz_delete): Likewise.
32058 (__argz_insert): Likewise.
32059 (__argz_replace): Likewise.
32060
32061 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32062
32063 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32064 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32065 (GNU_PROPERTY_STACK_SIZE): Likewie.
32066 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32067 (GNU_PROPERTY_LOPROC): Likewise.
32068 (GNU_PROPERTY_HIPROC): Likewise.
32069 (GNU_PROPERTY_LOUSER): Likewise.
32070 (GNU_PROPERTY_HIUSER): Likewise.
32071 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32072 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32073 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32074 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32075 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32076 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32077 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32078 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32079 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32080 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32081 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32082 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32083 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32084 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32085 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32086 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32087 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32088 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32089 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32090 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
32091 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
32092 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
32093 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
32094
32095 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32096
32097 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
32098 in C++ mode.
32099
32100 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32101
32102 [BZ #21930]
32103 * math/math.h (isinf): Check if in C or C++ mode before using
32104 __builtin_types_compatible_p, since this is a C mode feature.
32105
32106 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32107
32108 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
32109 (__write_nocancel): New macro.
32110 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
32111 Rewrite as a function prototype.
32112 (write_not_cancel): Remove macro.
32113 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
32114 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
32115 (write_gmon): Likewise.
32116 * libio/fileops.c (_IO_new_file_write): Likewise.
32117 * login/utmp_file.c (pututline_file): Likewise.
32118 (updwtmp_file): Likewise.
32119 * stdio-common/psiginfo.c (psiginfo): Likewise.
32120 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32121 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32122 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32123 Likewise.
32124 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32125 Likewise.
32126
32127 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
32128 (__read_nocancel): New macro.
32129 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32130 __read_nocancel.
32131 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
32132 macro.
32133 (__read_nocancel): New prototype.
32134 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
32135 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
32136 with __read_nocancel.
32137 * intl/loadmsgcat.c (read): Likewise.
32138 * libio/fileops.c (_IO_file_read): Likewise.
32139 * locale/loadlocale.c (_nl_load_locale): Likewise.
32140 * login/utmp_file.c (getutent_r_file): Likewise.
32141 (internal_getut_r): Likewise.
32142 (getutline_r_file): Likewise.
32143 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32144 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32145 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32146 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32147 Likewise.
32148 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
32149 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32150 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32151 Likewise.
32152 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32153 Likewise.
32154 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32155 Likewise.
32156 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32157 Likewise.
32158 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32159
32160 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32161
32162 [BZ #21966]
32163 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
32164 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
32165 usable.
32166
32167 2017-08-17 DJ Delorie <dj@redhat.com>
32168
32169 * bug17079.c: Update to new test harness.
32170 * test-digits-dots.c: Likewise.
32171 * test-netdb.c: Likewise.
32172 * tst-field.c: Likewise.
32173 * tst-nss-getpwent.c: Likewise.
32174 * tst-nss-static.c: Likewise.
32175 * tst-nss-test1.c: Likewise.
32176 * tst-nss-test2.c: Likewise.
32177 * tst-nss-test3.c: Likewise.
32178 * tst-nss-test4.c: Likewise.
32179 * tst-nss-test5.c: Likewise.
32180
32181 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32182
32183 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32184 (open_not_cancel_2): Likewise.
32185 (open_nocancel): New macro.
32186 (open64_nocancel): Likewise.
32187 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32188 (open_not_cancel_2): Likewise.
32189 (__open_nocancel): New prototype.
32190 (__open64_nocancel): Likewise.
32191 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32192 __open_nocancel.
32193 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32194 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32195 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32196 with __open_nocancel.
32197 * csu/check_fds.c (check_one_fd): Likewise.
32198 * gmon/gmon.c (write_gmon): Likewise.
32199 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32200 * intl/loadmsgcat.c (open): Likewise.
32201 * libio/fileops.c (_IO_file_open): Likewise.
32202 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32203 * locale/loadlocale.c (_nl_load_locale): Likewise.
32204 * login/utmp_file.c (setutent_file): Likewise.
32205 * misc/daemon.c (daemon): Likewise.
32206 * nss/nss_db/db-open.c (internal_setent): Likewise.
32207 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32208 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32209 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32210 (__opendir): Likewise.
32211 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32212 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32213 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32214 (gethostid): Likewise.
32215 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32216 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32217 Likewise.
32218 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32219 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32220 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32221 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32222 Likewise.
32223 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32224 Likewise.
32225 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32226 Likewise.
32227 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32228 Likewise.
32229 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32230 Likewise.
32231 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32232 Likewise.
32233 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32234 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32235
32236 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32237
32238 * benchtests/bench-skeleton.c (main): Add support for
32239 latency benchmarking.
32240 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32241
32242 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32243
32244 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32245 the startup object.
32246
32247 2017-08-17 Florian Weimer <fweimer@redhat.com>
32248
32249 * include/sys/socket.h (__opensock): Remove internal_function.
32250 * socket/opensock.c (__opensock): Likewise.
32251 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32252
32253 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32254
32255 [BZ #21944]
32256 * signal/bits/types/__sigval_t.h: New file.
32257 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32258 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32259 and define sigval_t using __sigval_t.
32260 * include/bits/types/__sigval_t.h: New file.
32261 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32262 instead of <bits/types/__sigval_t.h>.
32263 (struct sigevent): Use __sigval_t instead of sigval_t.
32264 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32265 instead of <bits/types/__sigval_t.h>.
32266 (siginfo_t): Use __sigval_t instead of sigval_t.
32267 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32268 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32269 (struct sigevent): Use __sigval_t instead of sigval_t.
32270 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32271 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32272 (siginfo_t): Use __sigval_t instead of sigval_t.
32273 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32274
32275 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32276
32277 * NEWS: Remove "[Add new features here]" for 2.27.
32278
32279 2017-08-16 Joseph Myers <joseph@codesourcery.com>
32280
32281 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32282 libc.so.
32283
32284 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32285
32286 * NEWS: Mention x86-64 FMA optimization.
32287
32288 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32289
32290 [BZ #21912]
32291 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32292 Add e_expf-fma.
32293 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32294 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32295 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32296
32297 2017-08-16 Andreas Schwab <schwab@suse.de>
32298
32299 [BZ #16750]
32300 CVE-2009-5064
32301 * elf/ldd.bash.in: Never run file directly.
32302
32303 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32304
32305 [BZ #21955]
32306 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32307 (L(SP_INF_0)): Likewise.
32308
32309 2017-08-15 Florian Weimer <fweimer@redhat.com>
32310
32311 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32312 run-built-tests.
32313
32314 2017-08-15 Florian Weimer <fweimer@redhat.com>
32315
32316 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
32317 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
32318 BROKEN_THREAD_SIGNALS code.
32319 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
32320 request_list): Remove caller_pid member used for
32321 BROKEN_THREAD_SIGNALS.
32322 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
32323 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32324 Remove BROKEN_THREAD_SIGNALS support.
32325 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32326 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32327
32328 2017-08-15 Florian Weimer <fweimer@redhat.com>
32329
32330 * gmon/Makefile (tests): Add tst-gmon.
32331 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
32332 Set.
32333 (tests-special): Add tst-gmon-prof.out.
32334 (tst-gmon.out): Depend on clean-tst-gmon-data.
32335 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
32336 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
32337 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
32338 startup object.
32339 * aclocal.m4 (GPROF): Set and substitute.
32340 * config.amke.in (GPROF): Set.
32341 * configure: Regenerate.
32342
32343 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
32344
32345 * elf/elf.h A (NT_PPC_TAR): New macro.
32346 (NT_PPC_PPR): Likewise.
32347 (NT_PPC_DSCR): Likewise.
32348 (NT_PPC_EBB): Likewise.
32349 (NT_PPC_PMU): Likewise.
32350 (NT_PPC_TM_CGPR): Likewise.
32351 (NT_PPC_TM_CFPR): Likewise.
32352 (NT_PPC_TM_CVMX): Likewise.
32353 (NT_PPC_TM_CVSX): Likewise.
32354 (NT_PPC_TM_SPR): Likewise.
32355 (NT_PPC_TM_CTAR): Likewise.
32356 (NT_PPC_TM_CPPR): Likewise.
32357 (NT_PPC_TM_CDSCR): Likewise.
32358
32359 2017-08-15 Florian Weimer <fweimer@redhat.com>
32360
32361 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
32362 regparm (2) instead of internal_function.
32363 (_MCOUNT_DECL): Adjust.
32364
32365 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32366
32367 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
32368 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32369
32370 2017-08-14 Joseph Myers <joseph@codesourcery.com>
32371
32372 * conform/data/sys/wait.h-data (si_value): Do not expect for
32373 XPG42.
32374
32375 2017-08-14 Florian Weimer <fweimer@redhat.com>
32376
32377 [BZ #21962]
32378 NSS: Create stubs for accidentally exported lookup functions.
32379 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
32380 Remove declaration.
32381 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
32382 (ether_hostton): Call __nss_ethers_lookup2 instead.
32383 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
32384 (ether_ntohost): Call __nss_ethers_lookup2 instead.
32385 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
32386 (setup): Call __nss_netgroup_lookup2 instead.
32387 * nss/Makefile (routines): Add compat-lookup.
32388 * nss/Versions (GLIBC_2.27): Add symbol version.
32389 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
32390 (DB_COMPAT_FCT): Remove.
32391 * nss/compat-lookup.c: New file.
32392 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
32393 from databases.def.
32394 * nss/service-lookup.c (NO_COMPAT): Remove definition.
32395 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
32396 (netname2user): Call __nss_publickey_lookup2 instead.
32397 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
32398 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
32399 instead.
32400
32401 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32402 Sergei Trofimovich <slyfox@inbox.ru>
32403
32404 [BZ #21908]
32405 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
32406 Rename to MMAP2_PAGE_UNIT.
32407 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
32408 __OFF_T_MATCHES_OFF64_T is not defined.
32409 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
32410 uint64_t.
32411 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
32412 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
32413
32414 2017-08-14 Florian Weimer <fweimer@redhat.com>
32415
32416 i386: Do not set internal_function.
32417 * config.h.in (USE_REGPARMS, internal_function): Remove.
32418 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
32419 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
32420
32421 2017-08-14 Florian Weimer <fweimer@redhat.com>
32422
32423 * elf/dl-init.c (_dl_init): Remove internal_function.
32424 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
32425 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
32426
32427 2017-08-14 Florian Weimer <fweimer@redhat.com>
32428
32429 * elf/rtld.c (_dl_start): Remove internal_function.
32430 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
32431 _dl_start.
32432
32433 2017-08-14 Florian Weimer <fweimer@redhat.com>
32434
32435 * elf/dl-fini.c (_dl_fini): Remove internal_function
32436 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32437
32438 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
32439
32440 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
32441 (bit_cpu_SHSTK): Likewise.
32442 (index_cpu_IBT): Likewise.
32443 (index_cpu_SHSTK): Likewise.
32444 (reg_IBT): Likewise.
32445 (reg_SHSTK): Likewise.
32446 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32447 Handle index_cpu_IBT and index_cpu_SHSTK.
32448
32449 2017-08-14 Mike FABIAN <mfabian@redhat.com>
32450
32451 [BZ #19982]
32452 * po/fr.po: Fix spelling mistake.
32453
32454 2017-08-13 Florian Weimer <fweimer@redhat.com>
32455
32456 * elf/dl-addr.c (_dl_addr): Remove internal_function.
32457 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
32458 (_dl_catch_error, _dl_receive_error): Likewise.
32459 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
32460 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
32461 (_dl_deallocate_tls): Likewise.
32462 * include/dlfcn.h (_dl_addr): Likewise.
32463 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
32464 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
32465 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
32466 Likewise.
32467
32468 2017-08-13 Florian Weimer <fweimer@redhat.com>
32469
32470 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
32471 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
32472 internal_function.
32473 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
32474
32475 2017-08-13 Florian Weimer <fweimer@redhat.com>
32476
32477 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
32478 internal_function.
32479 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
32480 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
32481 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
32482 internal_function from _dl_make_stack_executable_hook member.
32483 (_dl_make_stack_executable): Remove internal_function.
32484 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
32485 Likewise.
32486 * sysdeps/unix/sysv/linux/dl-execstack.c
32487 (_dl_make_stack_executable): Likewise.
32488
32489 2017-08-13 Florian Weimer <fweimer@redhat.com>
32490
32491 * sysdeps/unix/sysv/linux/netlinkaccess.h
32492 (__netlink_assert_response): Remove internal_function.
32493 * sysdeps/unix/sysv/linux/netlink_assert_response.c
32494 (__netlink_assert_response): Likewise.
32495
32496 2017-08-13 Florian Weimer <fweimer@redhat.com>
32497
32498 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
32499 internal_function.
32500 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
32501
32502 2017-08-13 Florian Weimer <fweimer@redhat.com>
32503
32504 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
32505 internal_function.
32506 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
32507 * inet/netgroup.h (__internal_setnetgrent)
32508 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32509 * inet/getnetgrent_r.c (__internal_setnetgrent)
32510 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32511 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
32512 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
32513 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
32514 * nss/nsswitch.h (db_lookup_function): Likewise.
32515
32516 2017-08-13 Florian Weimer <fweimer@redhat.com>
32517
32518 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
32519 Remove internal_function.
32520 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
32521 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
32522 message argument on the stack.
32523 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
32524 Likeweise.
32525
32526 2017-08-12 Mike FABIAN <mfabian@redhat.com>
32527
32528 Adapt test case data to the changes in the thousands
32529 separators.
32530
32531 [BZ #20756]
32532 * localedata/tst-langinfo.sh: Adapt test case data.
32533 * stdlib/tst-strfmon_l.c: Likewise.
32534 * stdlib/tst-strtod4.c: Likewise.
32535 * stdlib/tst-strtod5i.c: Likewise.
32536
32537 2017-08-11 Florian Weimer <fweimer@redhat.com>
32538
32539 [BZ #21242]
32540 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
32541 Suppress pedantic warning resulting from statement expression.
32542 (__ASSERT_FUNCTION): Add missing __extension__.
32543
32544 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32545
32546 * benchtests/bench-memmove-large.c: Print output in JSON
32547 format.
32548 * benchtests/bench-memmove.c: Likewise.
32549
32550 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
32551 * benchtests/bench-memchr.c (do_one_test): Likewise.
32552 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
32553 * benchtests/bench-memcpy.c (do_one_test): Likewise.
32554 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
32555 * benchtests/bench-memmove.c (do_one_test): Likewise.
32556 * benchtests/bench-memset-large.c (do_one_test): Likewise.
32557 * benchtests/bench-memset.c (do_one_test): Likewise.
32558 * benchtests/bench-string.h (test_init): Remove memsets.
32559
32560 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32561
32562 * manual/lang.texi
32563 (Computing the Width of an Integer Data Type): Rename section to
32564 "Width of an Integer Type". Remove inaccurate statement regarding
32565 lack of C language facilities for determining width of integer
32566 types, and reorder content to improve flow and context of
32567 discussion.
32568
32569 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
32570
32571 * lang.texi (va_copy): Change standard from ISO to C99.
32572 (__va_copy): Add standard and header annotation.
32573 Update description for clarity of origins and current use.
32574
32575 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32576
32577 [BZ #21941]
32578 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
32579 xssqrtqp requires operands to be in Vector Registers
32580 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
32581 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
32582 (__ieee754_sqrtf128): Likewise.
32583
32584 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
32585
32586 * sysdeps/aarch64/memcmp.S (memcmp):
32587 Rewrite of optimized memcmp.
32588
32589 2017-08-10 Florian Weimer <fweimer@redhat.com>
32590
32591 Introduce ld.so exceptions.
32592 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
32593 (_dl_exception_create, _dl_exception_create_format)
32594 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
32595 (_dl_catch_exception): Declare.
32596 (_dl_catch_error): Update comment.
32597 * elf/dl-error-skeleton.c (struct catch): Replace objname,
32598 errstring, malloced members with exception member.
32599 (_dl_out_of_memory): Remove.
32600 (fatal_error): New function, extracted from _dl_signal_error.
32601 (_dl_signal_exception, _dl_signal_cexception): New functions.
32602 (_dl_signal_error): Call _dl_exception_create to allocate an
32603 exception object.
32604 (_dl_catch_exception): New function, based on _dl_catch_error.
32605 (_dl_catch_error): Implement using _dl_catch_exception.
32606 * elf/dl-exception.c: New file.
32607 * elf/Makefile (dl-routines): Add dl-exception.
32608 (elide-routines.os): Likewise.
32609 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
32610 _dl_exception_create_format, _dl_exception_free.
32611 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
32612 _dl_signal_exception.
32613 * elf/dl-lookup.c (make_string): Remove.
32614 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
32615 _dl_signal_cexception, _dl_exception_free.
32616 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
32617 _dl_signal_exception.
32618 * elf/dl-sym.c (do_sym): Likewise.
32619 * elf/dl-version.c (make_string): Remove.
32620 (match_symbol): Use _dl_exception_create_format,
32621 _dl_signal_cexception, _dl_exception_free.
32622 (_dl_check_map_versions): Likewise.
32623 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
32624 _dl_catch_exception.
32625 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
32626 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
32627 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
32628 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
32629 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
32630 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
32631 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
32632 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
32633 Likewise.
32634 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
32635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
32636 (ld.so): Likewise.
32637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
32638 (ld.so): Likewise.
32639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
32640 Likewise.
32641 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
32642 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
32643 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
32644 Likewise.
32645 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
32646 Likewise.
32647 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
32648
32649 2017-08-10 Florian Weimer <fweimer@redhat.com>
32650
32651 * inet/net-internal.h (__inet6_scopeid_pton): Remove
32652 attribute_hidden, internal_function.
32653 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
32654 internal_function.
32655
32656 2017-08-10 Florian Weimer <fweimer@redhat.com>
32657
32658 * malloc/malloc.c (get_max_fast): Reimplement as an inline
32659 function which calls __builtin_unreachable.
32660
32661 2017-08-10 Mike FABIAN <mfabian@redhat.com>
32662
32663 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
32664 Indian monetary formatting
32665 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
32666 test cases.
32667
32668 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
32669
32670 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
32671 Fix typo in comment.
32672
32673 [BZ #21928]
32674 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
32675 PTRACE_SEIZE_DEVEL): Remove.
32676 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
32677 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32678 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32679 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32680 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32681
32682 2017-08-09 Joseph Myers <joseph@codesourcery.com>
32683
32684 * posix/bits/types.h (__qaddr_t): Remove.
32685
32686 [BZ #21457]
32687 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
32688 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32689 __glibc_reserved1.
32690 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
32691 (ucontext_t): Use __ctx with uc_flags.
32692 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
32693 (__ctxt): Likewise.
32694 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32695 __glibc_reserved1.
32696 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
32697 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32698 __glibc_reserved1.
32699 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
32700 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32701 __glibc_reserved1.
32702 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
32703 macro.
32704 (ucontext_t): Use __ctx with uc_flags.
32705 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
32706 (ucontext_t): Use __ctx with uc_flags.
32707 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
32708 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
32709 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
32710 (ucontext_t): Use __ctx with uc_flags.
32711 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
32712 undefine further down.
32713 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
32714 __glibc_reserved1.
32715 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
32716 undefine further down.
32717 (ucontext_t): Use __ctx with uc_flags.
32718 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
32719 undefine further down.
32720 (ucontext_t): Use __ctx with uc_flags.
32721 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
32722 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
32723 Rename uc_pad to __glibc_reserved1.
32724 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
32725 undefine further down.
32726 (ucontext_t): Use __ctx with uc_flags.
32727 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
32728 further down.
32729 (ucontext_t): Use __ctx with uc_flags.
32730 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
32731 __ctx with uc_flags.
32732 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
32733 (ucontext_t): Use __ctx with uc_flags.
32734 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
32735 __ctx with uc_flags.
32736
32737 2017-08-09 Florian Weimer <fweimer@redhat.com>
32738
32739 [BZ #21932]
32740 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
32741 before early return.
32742
32743 2017-08-09 Andreas Schwab <schwab@suse.de>
32744
32745 [BZ #21041]
32746 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
32747 renamed alias.
32748
32749 [BZ #21041]
32750 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
32751 tst-compat-forwarder.
32752 (modules-names): Add tst-compat-forwarder-mod.
32753 ($(objpfx)tst-compat-forwarder): Depend on
32754 $(objpfx)tst-compat-forwarder-mod.so.
32755 * nptl/tst-compat-forwarder.c: New file.
32756 * nptl/tst-compat-forwarder-mod.c: New file.
32757
32758 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
32759
32760 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
32761 comments.
32762
32763 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
32764 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
32765 memcpy_falkor.
32766 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
32767 Bump.
32768 (__libc_ifunc_impl_list): Add __memcpy_falkor.
32769 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
32770 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
32771 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
32772 Add falkor.
32773 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
32774 New macro.
32775
32776 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32777
32778 [BZ #759]
32779 * manual/setjmp.texi (getcontex): Document uc_stack value
32780 compatibility differences.
32781
32782 2017-08-08 Joseph Myers <joseph@codesourcery.com>
32783
32784 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
32785 (old_malloc_hook): Likewise.
32786 (old_memalign_hook): Likewise.
32787 (old_realloc_hook): Likewise.
32788 (struct hdr): Likewise.
32789 (flood): Likewise.
32790 (freehook): Likewise.
32791 (mallochook): Likewise.
32792 (memalignhook): Likewise.
32793 (reallochook): Likewise.
32794 (mprobe): Likewise.
32795 * malloc/mtrace.c (mallwatch): Likewise.
32796 (tr_old_free_hook): Likewise.
32797 (tr_old_malloc_hook): Likewise.
32798 (tr_old_realloc_hook): Likewise.
32799 (tr_old_memalign_hook): Likewise.
32800 (tr_where): Likewise.
32801 (lock_and_info): Likewise.
32802 (tr_freehook): Likewise.
32803 (tr_mallochook): Likewise.
32804 (tr_reallochook): Likewise.
32805 (tr_memalignhook): Likewise.
32806 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
32807 * misc/mmap.c (__mmap): Likewise.
32808 * misc/mmap64.c (__mmap64): Likewise.
32809 * misc/mprotect.c (__mprotect): Likewise.
32810 * misc/msync.c (msync): Likewise.
32811 * misc/munmap.c (__munmap): Likewise.
32812 * posix/posix_madvise.c (posix_madvise): Likewise.
32813 * socket/send.c (__send): Likewise.
32814 * socket/sendto.c (__sendto): Likewise.
32815 * socket/setsockopt.c (__setsockopt): Likewise.
32816 * string/memcmp.c (__ptr_t): Remove macro.
32817 (MEMCMP): Use void * instead of ptr_t.
32818 * string/memrchr.c (__ptr_t): Remove macro.
32819 (__memrchr): Use void * instead of ptr_t.
32820 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
32821 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
32822 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
32823 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
32824 * sysdeps/mach/msync.c (msync): Likewise.
32825 * sysdeps/mach/munmap.c (__munmap): Likewise.
32826 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
32827 Likewise.
32828 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32829 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
32830 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
32831 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
32832 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
32833 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32834 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
32835 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
32836 Likewise.
32837 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32838 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
32839 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
32840 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
32841 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
32842 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
32843 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
32844 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
32845 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
32846 Likewise.
32847 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
32848 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
32849 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
32850 (MEMCMP): Use void * instead of ptr_t.
32851 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
32852 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
32853
32854 2017-08-08 Florian Weimer <fweimer@redhat.com>
32855
32856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
32857 return statement.
32858
32859 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
32860
32861 [BZ #21913]
32862 * csu/libc-tls.c: Include <startup.h> first.
32863 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
32864 * elf/dl-tunables.c: Include <startup.h> first.
32865 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
32866 * sysdeps/generic/startup.h: New file.
32867 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
32868 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
32869 (I386_USE_SYSENTER): New. Defined to 0.
32870
32871 2017-08-08 Andreas Schwab <schwab@suse.de>
32872
32873 [BZ #21041]
32874 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
32875 * nptl/pt-system.c (system): Likewise.
32876
32877 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32878
32879 [BZ #21780]
32880 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
32881 EOPNOTSUPP.
32882 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
32883 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
32884 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
32885 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
32886 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
32887 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
32888 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
32889
32890 2017-08-07 Joseph Myers <joseph@codesourcery.com>
32891
32892 [BZ #21899]
32893 * bits/sigaction.h (struct sigaction): Define sa_handler and
32894 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
32895 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32896 [__USE_XOPEN_EXTENDED].
32897 (SA_RESTART): Likewise.
32898 (SA_NODEFER): Likewise.
32899 (SA_RESETHAND): Likewise.
32900 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
32901 (struct sigaction): Define sa_handler and sa_sigaction using union
32902 also for [__USE_XOPEN_EXTENDED].
32903 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32904 [__USE_XOPEN_EXTENDED].
32905 (SA_RESTART): Likewise.
32906 (SA_NODEFER): Likewise.
32907 (SA_RESETHAND): Likewise.
32908 * sysdeps/unix/sysv/linux/bits/sigaction.h
32909 (struct sigaction): Define sa_handler and sa_sigaction using union
32910 also for [__USE_XOPEN_EXTENDED].
32911 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32912 [__USE_XOPEN_EXTENDED].
32913 (SA_RESTART): Likewise.
32914 (SA_NODEFER): Likewise.
32915 (SA_RESETHAND): Likewise.
32916 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
32917 (struct sigaction): Define sa_handler and sa_sigaction using union
32918 also for [__USE_XOPEN_EXTENDED].
32919 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32920 [__USE_XOPEN_EXTENDED].
32921 (SA_RESTART): Likewise.
32922 (SA_NODEFER): Likewise.
32923 (SA_RESETHAND): Likewise.
32924 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
32925 (struct sigaction): Define sa_handler and sa_sigaction using union
32926 also for [__USE_XOPEN_EXTENDED].
32927 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32928 [__USE_XOPEN_EXTENDED].
32929 (SA_RESTART): Likewise.
32930 (SA_NODEFER): Likewise.
32931 (SA_RESETHAND): Likewise.
32932 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32933 (struct sigaction): Define sa_handler and sa_sigaction using union
32934 also for [__USE_XOPEN_EXTENDED].
32935 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32936 [__USE_XOPEN_EXTENDED].
32937 (SA_RESTART): Likewise.
32938 (SA_NODEFER): Likewise.
32939 (SA_RESETHAND): Likewise.
32940 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32941 (struct sigaction): Define sa_handler and sa_sigaction using union
32942 also for [__USE_XOPEN_EXTENDED].
32943 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32944 [__USE_XOPEN_EXTENDED].
32945 (SA_RESTART): Likewise.
32946 (SA_NODEFER): Likewise.
32947 (SA_RESETHAND): Likewise.
32948 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32949 (struct sigaction): Define sa_handler and sa_sigaction using union
32950 also for [__USE_XOPEN_EXTENDED].
32951 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32952 [__USE_XOPEN_EXTENDED].
32953 (SA_RESTART): Likewise.
32954 (SA_NODEFER): Likewise. Define directly rather than as alias.
32955 (SA_RESETHAND): Likewise.
32956 (SA_INTERRUPT): Define only for [__USE_MISC].
32957 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
32958 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
32959 [__USE_MISC].
32960 (SA_STACK): Define only for [__USE_MISC].
32961 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
32962 (struct sigaction): Define sa_handler and sa_sigaction using union
32963 also for [__USE_XOPEN_EXTENDED].
32964 (SA_ONSTACK): Change [__USE_UNIX98] condition to
32965 [__USE_XOPEN_EXTENDED].
32966 (SA_RESTART): Likewise.
32967 (SA_NODEFER): Likewise.
32968 (SA_RESETHAND): Likewise.
32969 (SA_NOPTRACE): Define only for [__USE_MISC].
32970
32971 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
32972 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
32973 (struct catalog_info): Likewise.
32974 * inet/htontest.c (lo): Likewise.
32975 (foo): Likewise.
32976 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32977 * inet/inet_net.c (inet_network): Likewise.
32978 * inet/inet_netof.c (inet_netof): Likewise.
32979 * inet/rcmd.c (__ivaliduser): Likewise.
32980 (iruserok): Likewise.
32981 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
32982 * locale/programs/locale-spec.c (locale_special): Likewise.
32983 * nis/nis_findserv.c (struct findserv_req): Likewise.
32984 (__nis_findfastest_with_timeout): Likewise.
32985 * nss/test-netdb.c (test_network): Likewise.
32986 * resolv/inet_neta.c (inet_neta): Likewise.
32987 * resolv/ns_date.c (ns_datetosecs): Likewise.
32988 (SECS_PER_DAY): Likewise.
32989 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
32990 Likewise.
32991 * resolv/res_comp.c (__putlong): Likewise.
32992 (__putshort): Likewise.
32993 (_getlong): Likewise.
32994 (_getshort): Likewise.
32995 * resolv/res_debug.c (p_time): Likewise.
32996 (precsize_ntoa): Likewise.
32997 (precsize_aton): Likewise.
32998 (latlon2ul): Likewise.
32999 (loc_aton): Likewise.
33000 (loc_ntoa): Likewise.
33001 * resolv/res_hconf.c (struct netaddr): Likewise.
33002 (_res_hconf_reorder_addrs): Likewise.
33003 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33004 (clnttcp_control): Likewise.
33005 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33006 (clntudp_control): Likewise.
33007 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33008 (clntunix_control): Likewise.
33009 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33010 * sunrpc/rpc/auth.h (union des_block): Likewise.
33011 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33012 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33013 (xdrrec_create): Likewise.
33014 (xdrrec_endofrecord): Likewise.
33015 (flush_out): Likewise.
33016 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33017 (xdrstdio_putlong): Likewise.
33018 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33019 Likewise.
33020
33021 * misc/sys/cdefs.h (__long_double_t): Remove.
33022 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33023 instead of __long_double_t,
33024 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33025
33026 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33027
33028 * benchtests/scripts/compare_strings.py: Avoid display error when
33029 running on a text terminal.
33030
33031 * benchtests/scripts/compare_strings.py (main): Add an
33032 optional -base option.
33033 (process_results): New argument base_func.
33034
33035 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33036 hardcoding memcpy.
33037 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33038 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33039
33040 2017-08-07 Andreas Schwab <schwab@suse.de>
33041
33042 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33043 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33044 * intl/Makefile ($(objpfx)tst-gettext.out)
33045 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33046 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33047 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33048 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33049 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33050 * posix/Makefile ($(objpfx)globtest.out)
33051 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33052 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33053 ($(objpfx)tst-printf.out): Likewise.
33054 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33055 ($(objpfx)tst-setcontext3.out): Likewise.
33056
33057 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33058
33059 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33060 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33061 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33062 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33063 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33064 and mptan-fma.
33065 (CFLAGS-doasin-fma.c): New.
33066 (CFLAGS-dosincos-fma.c): Likewise.
33067 (CFLAGS-e_asin-fma.c): Likewise.
33068 (CFLAGS-e_atan2-fma.c): Likewise.
33069 (CFLAGS-e_exp-fma.c): Likewise.
33070 (CFLAGS-e_log-fma.c): Likewise.
33071 (CFLAGS-e_pow-fma.c): Likewise.
33072 (CFLAGS-halfulp-fma.c): Likewise.
33073 (CFLAGS-mpa-fma.c): Likewise.
33074 (CFLAGS-mpatan-fma.c): Likewise.
33075 (CFLAGS-mpatan2-fma.c): Likewise.
33076 (CFLAGS-mpexp-fma.c): Likewise.
33077 (CFLAGS-mplog-fma.c): Likewise.
33078 (CFLAGS-mpsqrt-fma.c): Likewise.
33079 (CFLAGS-mptan-fma.c): Likewise.
33080 (CFLAGS-s_atan-fma.c): Likewise.
33081 (CFLAGS-sincos32-fma.c): Likewise.
33082 (CFLAGS-slowexp-fma.c): Likewise.
33083 (CFLAGS-slowpow-fma.c): Likewise.
33084 (CFLAGS-s_sin-fma.c): Likewise.
33085 (CFLAGS-s_tan-fma.c): Likewise.
33086 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33087 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33088 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33089 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33090 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
33091 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
33092 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
33093 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
33094 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
33095 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
33096 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
33097 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
33098 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
33099 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
33100 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
33101 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
33102 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
33103 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
33104 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
33105 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
33106 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
33107 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
33108 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
33109 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
33110 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33111 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33112 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33113 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33114 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33115 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33116 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33117
33118 2017-08-04 Joseph Myers <joseph@codesourcery.com>
33119
33120 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
33121 (min_of_type_f): New macro.
33122 (min_of_type_): Likewise.
33123 (min_of_type_l): Likewise.
33124 (min_of_type_f128): Likewise.
33125 (min_of_type): Define using __MATH_TG and taking an expression
33126 argument.
33127 (math_check_force_underflow): Pass expression instead of type to
33128 min_of_type.
33129 (math_check_force_underflow_nonneg): Likewise.
33130
33131 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33132
33133 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33134 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
33135 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
33136
33137 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33138
33139 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33140 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
33141 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
33142 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
33143 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
33144 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
33145 memcpy_chk-nonshared, mempcpy_chk-nonshared,
33146 memmove_chk-nonshared and memset_chk-nonshared
33147 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
33148 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
33149 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
33150 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
33151 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
33152 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
33153 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
33154 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
33155 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
33156 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
33157 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
33158 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
33159 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
33160 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
33161 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
33162 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
33163 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
33164 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
33165 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
33166 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
33167 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
33168 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
33169 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
33170 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
33171 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
33172 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33173 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33174 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33175 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33176 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33177 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33178 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33179 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33180 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33181 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33182 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33183 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33184 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33185 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33186 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33187 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33188 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33189 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33190 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33191 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33192 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33193 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33194 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33195 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33196 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33197 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33198 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33199 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33200 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33201 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33202 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33203 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33204 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33205 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33206 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33207 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33208 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33209 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33210 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33211 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33212 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33213 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33214 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33215 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33216 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33217 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33218 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33219 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33220 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33221 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33222 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33223 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33224 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33225 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33226 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33227 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33228 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33229 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33230 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33231 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33232 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33233 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33234 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33235 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33236 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33237 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33238 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33239 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33240 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33241 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33242 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33243 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33244 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33245 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33246 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33247 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33248 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33249 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33250 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33251 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33252 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33253 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33254 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33255
33256 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33257
33258 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33259 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33260 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33261 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33262 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33263 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33264 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33265 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33266 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33267 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33268 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33269 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33270 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33271 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33272 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33273 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33274 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33275 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33276 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33277 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33278 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33279 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33280 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33281 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33282 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33283 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33284 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33285 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33286 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33287 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33288 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33289 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33290 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33291 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33292 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33293 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33294 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33295 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33296 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33297 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33298 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33299 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33300 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33301 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33302 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33303 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33304 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33305 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33306 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33307 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33308 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33309 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33310 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33311 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33312 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33313 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
33314 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
33315 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
33316 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
33317 ...
33318 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
33319 Don't include <sysdep.h> nor <init-arch.h>.
33320 (_ZGVbN2v_cos): Removed.
33321 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
33322 ...
33323 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
33324 Don't include <sysdep.h> nor <init-arch.h>.
33325 (_ZGVdN4v_cos): Removed.
33326 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33327 ...
33328 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33329 Don't include <sysdep.h> nor <init-arch.h>.
33330 (_ZGVeN8v_cos): Removed.
33331 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
33332 ...
33333 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
33334 Don't include <sysdep.h> nor <init-arch.h>.
33335 (_ZGVbN2v_exp): Removed.
33336 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
33337 ...
33338 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
33339 Don't include <sysdep.h> nor <init-arch.h>.
33340 (_ZGVdN4v_exp): Removed.
33341 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
33342 ...
33343 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
33344 Don't include <sysdep.h> nor <init-arch.h>.
33345 (_ZGVeN8v_exp): Removed.
33346 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
33347 ...
33348 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
33349 Don't include <sysdep.h> nor <init-arch.h>.
33350 (_ZGVbN2v_log): Removed.
33351 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
33352 ...
33353 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
33354 Don't include <sysdep.h> nor <init-arch.h>.
33355 (_ZGVdN4v_log): Removed.
33356 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
33357 ...
33358 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
33359 Don't include <sysdep.h> nor <init-arch.h>.
33360 (_ZGVeN8v_log): Removed.
33361 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
33362 ...
33363 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
33364 Don't include <sysdep.h> nor <init-arch.h>.
33365 (_ZGVbN2vv_pow): Removed.
33366 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
33367 ...
33368 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
33369 Don't include <sysdep.h> nor <init-arch.h>.
33370 (_ZGVdN4vv_pow): Removed.
33371 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
33372 ...
33373 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
33374 Don't include <sysdep.h> nor <init-arch.h>.
33375 (_ZGVeN8vv_pow): Removed.
33376 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
33377 ...
33378 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
33379 Don't include <sysdep.h> nor <init-arch.h>.
33380 (_ZGVbN2v_sin): Removed.
33381 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
33382 ...
33383 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
33384 Don't include <sysdep.h> nor <init-arch.h>.
33385 (_ZGVbN4v_sin): Removed.
33386 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
33387 ...
33388 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
33389 Don't include <sysdep.h> nor <init-arch.h>.
33390 (_ZGVbN8v_sin): Removed.
33391 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
33392 ...
33393 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
33394 Don't include <sysdep.h> nor <init-arch.h>.
33395 (_ZGVbN2vvv_sincos): Removed.
33396 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
33397 ...
33398 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
33399 Don't include <sysdep.h> nor <init-arch.h>.
33400 (_ZGVdN4vvv_sincos): Removed.
33401 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
33402 ...
33403 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
33404 Don't include <sysdep.h> nor <init-arch.h>.
33405 (_ZGVeN8vvv_sincos): Removed.
33406 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
33407 ...
33408 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
33409 Don't include <sysdep.h> nor <init-arch.h>.
33410 (_ZGVeN16v_cosf): Removed.
33411 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
33412 ...
33413 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
33414 Don't include <sysdep.h> nor <init-arch.h>.
33415 (_ZGVbN4v_cosf): Removed.
33416 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
33417 ...
33418 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
33419 Don't include <sysdep.h> nor <init-arch.h>.
33420 (_ZGVdN8v_cosf): Removed.
33421 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
33422 ...
33423 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
33424 Don't include <sysdep.h> nor <init-arch.h>.
33425 (_ZGVeN16v_expf): Removed.
33426 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
33427 ...
33428 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
33429 Don't include <sysdep.h> nor <init-arch.h>.
33430 (_ZGVbN4v_expf): Removed.
33431 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
33432 ...
33433 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
33434 Don't include <sysdep.h> nor <init-arch.h>.
33435 (_ZGVdN8v_expf): Removed.
33436 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
33437 ...
33438 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
33439 Don't include <sysdep.h> nor <init-arch.h>.
33440 (_ZGVeN16v_logf): Removed.
33441 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
33442 ...
33443 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
33444 Don't include <sysdep.h> nor <init-arch.h>.
33445 (_ZGVbN4v_logf): Removed.
33446 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
33447 ...
33448 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
33449 Don't include <sysdep.h> nor <init-arch.h>.
33450 (_ZGVdN8v_logf): Removed.
33451 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
33452 ...
33453 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
33454 Don't include <sysdep.h> nor <init-arch.h>.
33455 (_ZGVeN16vv_powf): Removed.
33456 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
33457 ...
33458 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
33459 Don't include <sysdep.h> nor <init-arch.h>.
33460 (_ZGVbN4vv_powf): Removed.
33461 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
33462 ...
33463 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
33464 Don't include <sysdep.h> nor <init-arch.h>.
33465 (_ZGVdN8vv_powf): Removed.
33466 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
33467 ...
33468 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
33469 Don't include <sysdep.h> nor <init-arch.h>.
33470 (_ZGVeN16vvv_sincosf): Removed.
33471 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
33472 ...
33473 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
33474 Don't include <sysdep.h> nor <init-arch.h>.
33475 (_ZGVbN4vvv_sincosf): Removed.
33476 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
33477 ...
33478 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
33479 Don't include <sysdep.h> nor <init-arch.h>.
33480 (_ZGVdN8vvv_sincosf): Removed.
33481 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
33482 ...
33483 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
33484 Don't include <sysdep.h> nor <init-arch.h>.
33485 (_ZGVeN16v_sinf): Removed.
33486 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
33487 ...
33488 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
33489 Don't include <sysdep.h> nor <init-arch.h>.
33490 (_ZGVbN4v_sinf): Removed.
33491 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
33492 ...
33493 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
33494 Don't include <sysdep.h> nor <init-arch.h>.
33495 (_ZGVdN8v_sinf): Removed.
33496
33497 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33498
33499 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33500 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
33501 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
33502 s_rint-sse4_1 and s_rintf-sse4_1.
33503 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
33504 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
33505 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
33506 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
33507 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
33508 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
33509 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
33510 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
33511 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
33512 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
33513 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
33514 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33515 (__ceil): Removed.
33516 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
33517 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
33518 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33519 (__ceilf): Removed.
33520 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
33521 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
33522 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33523 (__floor): Removed.
33524 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
33525 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
33526 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33527 (__floorf): Removed.
33528 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
33529 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
33530 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33531 (__nearbyint): Removed.
33532 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
33533 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
33534 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33535 (__nearbyintf): Removed.
33536 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
33537 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
33538 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33539 (__rint): Removed.
33540 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
33541 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
33542 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33543 (__rintf): Removed.
33544
33545 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33546
33547 * sysdeps/i386/start.S (_start): Check Check PIC instead of
33548 SHARED. Avoid dynamic relocation against main in static PIE.
33549
33550 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33551
33552 [BZ #21815]
33553 * elf/Makefile (CFLAGS-tst-prelink.c): New.
33554 (LDFLAGS-tst-prelink): Likewise.
33555
33556 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33557
33558 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
33559 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
33560 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
33561 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
33562 (INTERNAL_SYSCALL_NCS): Likewise.
33563 (LOADARGS_1): Likewise.
33564 (LOADARGS_5): Likewise.
33565 (RESTOREARGS_1): Likewise.
33566 (RESTOREARGS_5): Likewise.
33567
33568 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33569
33570 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
33571 (MEMPCPY_SYMBOL): Likewise.
33572 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33573 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
33574 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
33575 in libc.a.
33576 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33577 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
33578 Likewise.
33579 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
33580 (__hidden_ver1): Don't use in libc.a.
33581 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
33582 (__mempcpy): Don't create a weak alias in libc.a.
33583 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
33584 libc.a.
33585 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
33586 (__hidden_ver1): Don't use in libc.a.
33587
33588 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33589
33590 * config.make.in (have-insert): New.
33591 * configure.ac (libc_cv_insert): New. Set to yes if linker
33592 supports INSERT in linker script.
33593 (AC_SUBST(libc_cv_insert): New.
33594 * configure: Regenerated.
33595 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
33596 if $(have-insert) == yes.
33597
33598 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33599
33600 * elf/Makefile (tests): Add vismain only if
33601 $(have-protected-data) == yes.
33602 (tests-pie): Likewise.
33603
33604 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33605
33606 [BZ #21871]
33607 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
33608 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
33609
33610 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33611
33612 [BZ #21790]
33613 * sysdeps/i386/i586/memset.S
33614 (__memset_zero_constant_len_parameter): Removed.
33615 * sysdeps/i386/i686/memset.S
33616 (__memset_zero_constant_len_parameter): Likewise.
33617 * sysdeps/i386/i686/multiarch/memset_chk.S
33618 (__memset_zero_constant_len_parameter): Likewise.
33619 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
33620 Likewise.
33621
33622 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33623
33624 * stdlib/getentropy.c (getentropy): Change return type to int.
33625
33626 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
33627
33628 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
33629
33630 2017-08-03 Joseph Myers <joseph@codesourcery.com>
33631
33632 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
33633 u_intN_t.
33634 * math/s_nexttowardf.c (__nexttowardf): Likewise.
33635 * sysdeps/generic/math_private.h (ieee_double_shape_type):
33636 Likewise.
33637 (ieee_float_shape_type): Likewise.
33638 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
33639 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
33640 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33641 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33642 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
33643 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
33644 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
33645 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33646 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
33647 Likewise.
33648 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33649 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33650 (__ieee754_yn): Likewise.
33651 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33652 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33653 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
33654 Likewise.
33655 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33656 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
33657 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
33658 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
33659 (__erfc): Likewise.
33660 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
33661 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
33662 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
33663 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
33664 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
33665 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
33666 Likewise.
33667 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
33668 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
33669 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
33670 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
33671 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33672 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
33673 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
33674 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
33675 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
33676 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
33677 (__issignaling): Likewise.
33678 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
33679 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
33680 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
33681 Likewise.
33682 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33683 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
33684 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
33685 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
33686 Likewise.
33687 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
33688 Likewise.
33689 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
33690 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
33691 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
33692 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
33693 (__erfcf): Likewise.
33694 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
33695 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
33696 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
33697 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
33698 Likewise.
33699 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
33700 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
33701 Likewise.
33702 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
33703 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
33704 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
33705 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
33706 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
33707 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33708 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
33709 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
33710 Likewise.
33711 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
33712 Likewise.
33713 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
33714 Likewise.
33715 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
33716 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
33717 Likewise.
33718 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33719 Likewise.
33720 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33721 (__ieee754_ynl): Likewise.
33722 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
33723 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
33724 Likewise.
33725 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
33726 Likewise.
33727 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
33728 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
33729 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33730 Likewise.
33731 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
33732 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
33733 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
33734 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
33735 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
33736 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
33737 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
33738 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
33739 Likewise.
33740 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
33741 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
33742 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
33743 Likewise.
33744 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
33745 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
33746 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
33747 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
33748 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
33749 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33750 Likewise.
33751 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33752 Likewise.
33753 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33754 Likewise.
33755 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33756 Likewise.
33757 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
33758 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33759 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33760 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
33761 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
33762 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
33763 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
33764 Likewise.
33765 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33766 Likewise.
33767 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33768 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33769 Likewise.
33770 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
33771 (__ieee754_remainderl): Likewise.
33772 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33773 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33774 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33775 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33776 Likewise.
33777 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33778 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33779 Likewise.
33780 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33781 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
33782 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
33783 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
33784 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33785 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33786 Likewise.
33787 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
33788 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
33789 (__ieee754_y0l): Likewise.
33790 (pzero): Likewise.
33791 (qzero): Likewise.
33792 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33793 (__ieee754_y1l): Likewise.
33794 (pone): Likewise.
33795 (qone): Likewise.
33796 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33797 (__ieee754_ynl): Likewise.
33798 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
33799 (__ieee754_lgammal_r): Likewise.
33800 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
33801 Likewise.
33802 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
33803 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
33804 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
33805 (__erfcl): Likewise.
33806 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
33807 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
33808 Likewise.
33809 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
33810 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
33811 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
33812 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
33813 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
33814 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33815 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33816 Likewise.
33817 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
33818 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33819 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
33820 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
33821 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33822 Likewise.
33823 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
33824 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
33825 Likewise.
33826 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
33827 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
33828 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
33829 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33830 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
33831
33832 2017-08-03 Florian Weimer <fweimer@redhat.com>
33833
33834 [BZ #21885]
33835 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
33836 on memory allocation failure.
33837
33838 2017-08-03 Alan Modra <amodra@gmail.com>
33839
33840 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
33841 tst-tlsopt-powerpc.c with function name change and no test harness.
33842 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
33843 Call tls_get_addr_opt_test.
33844 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
33845 (modules-names): Add mod-tlsopt-powerpc.
33846 (mod-tlsopt-powerpc.so-no-z-defs): Define.
33847 (tst-tlsopt-powerpc): Depend on .so.
33848 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
33849 define. Expand use in TLS_GD and TLS_LD.
33850
33851 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33852
33853 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
33854 function.
33855 * sysdeps/posix/shm_open.c: Include <pthread.h>.
33856
33857 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33858
33859 [BZ #21686]
33860 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
33861 comparing size with that of double.
33862 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33863 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33864 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33865 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33866 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33867 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
33868 unsigned __int128 types.
33869
33870 2017-08-02 Steve Ellcey <sellcey@cavium.com>
33871
33872 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
33873 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
33874 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
33875 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
33876 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
33877
33878 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33879
33880 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
33881
33882 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33883
33884 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
33885 of SHARED.
33886 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33887 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33888 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33889 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33890 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33891 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33892 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33893
33894 2017-08-02 Joseph Myers <joseph@codesourcery.com>
33895
33896 [BZ #21685]
33897 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
33898 bit-field expressions passed to sizeof or typeof.
33899 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33900 (__TGMATH_F128): Likewise.
33901 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33902 (__TGMATH_CF128): Likewise.
33903 (__TGMATH_UNARY_REAL_ONLY): Likewise.
33904 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
33905 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
33906 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
33907 (__TGMATH_BINARY_REAL_ONLY): Likewise.
33908 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
33909 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
33910 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
33911 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
33912 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
33913 (__TGMATH_UNARY_REAL_IMAG): Likewise.
33914 (__TGMATH_UNARY_IMAG): Likewise.
33915 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
33916 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33917 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
33918 type.
33919 (define_vars_for_type): Handle bit_field type specially.
33920 (Tests.__init__): Declare structure with bit-field element.
33921
33922 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
33923
33924 [BZ #21791]
33925 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
33926 (MEMCPY_CHK): Define only if SHARED is defined.
33927 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
33928 Likewise.
33929 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
33930 Likewise.
33931
33932 See ChangeLog.18 for earlier changes.